Monday, June 4, 2012

[Action Script] help me with this code June,2012

hello, please help me with this little issue so i try to use encrypt, this is code i put

Quote: package
{
import flash.utils.ByteArray;
import flash.utils.*;

public dynamic final class _SafeStr2
{


public static function _SafeStr1(_arg1:int):String
{
var _local2:* = new Array(13592206, 1912114, 13592199, 3417894, 6710357, 2369076, 1320485, 13592203, 7962490, 7366772, 2693241, 13592196, 7696501, 7562616, 1533298, 13592203, 8093562, 7828599, 2693226, 13592220, 6454125, 8020330, 7823469, 7240318, 8087139, 6492022, 13592218, 6585707, 8152940, 7431787, 6847608, 8216677, 8145776, 6716797, 592231, 13592207, 7170174, 13592203, 7958619, 8222326, 2693236, 13592198, 7634294, 7371643, 7429241, 1381672, 13592193, 5667189, 7958909, 8157023, 7359847, 3281510, 13592206, 1923413, 13592200, 6050387, 1776467, 13592201, 8091506, 1718137, 13592235, 5000272, 1507912, 5856023, 6115419, 6118422, 6114900, 5004630, 4872015, 1461075, 5592923, 4933655, 1530647, 1509710, 13592220, 2256485, 4731185, 4418637, 3567204, 7169840, 6491995, 13592221, 8288612, 7827298, 4422763, 6777451, 6773359, 944995, 13592216, 8092769, 7498343, 5994862, 7498343, 7889511, 8340095, 747118, 13592218, 7962211, 7366757, 6257516, 8285280, 6650959, 6978149, 7105659, 592231, 13592207, 4936528, 13592207, 8355441, 13592196, 7632250, 7502137, 1521763, 13592207, 5790033, 13592196, 7565946, 6190718, 1518195, 13592196, 6513272, 8091764, 1533304, 13592197, 7561337, 7959908, 6584698, 13592207, 5780300, 13592207, 2654062, 13592200, 3102793, 1776401, 13592200, 7761769, 1776491, 13592220, 6700380, 6235179, 5710679, 2305641, 5337914, 6491959, 13592207, 8221807, 13592202, 7893354, 3091499, 13592196, 3826786, 7627894, 1539710, 13592192, 7830117, 5340278, 4286330, 7759730);
var _local3:* = new ByteArray();
var _local4:* = 0;
if (_local4 >= ((_local2[_arg1] ^ 13592211) ^ 31))
{
return (_local3);
};
_local3.writeByte((((_local2[((_arg1 + 1) + ((_local4 - (_local4 % 3)) / 3))] >>> (8 * (_local4 % 3))) & 0xFF) ^ (_local2[_arg1] ^ 13592211)));

}
}
}//package

// _SafeStr1 = "\x04\x05\x04\x05" (String#410)
// _SafeStr2 = "\x02\x03\x02\x03" (String#409)
well everything goes fine but when i try compile it gave me error Function does not return a value. please help me with it thank you
help me with this code

Related Post



0 comments: