Jump to content
UBot Underground

Action Script 3 ( help)


Recommended Posts

if there is a possibility to write the following function (action script 3) in Ubot 

 

  public function decode (_arg1: String): String {

             var _local2: * = new ByteArray (); 

             _local2 = Base64.decodeToByteArray (_arg1); 

             _local2.uncompress (); 

             var _local3 * = _local2.readUTFBytes (_local2.length); 

             return (_local3); 

         } 

var _local4: * = decode (unescape (_local3.msg));

Link to post
Share on other sites

not directly with ubot.  but with javascript yes.

using the javascript inside of a $eval function that is placed inside of a set variable

http://updates.html5rocks.com/2012/06/How-to-convert-ArrayBuffer-to-and-from-String

 

shows how to do it with regular javascript.

but as3 might be possible as well.  havent tested.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...