Hi all, I don't know if this is the right place for this question. One of my friend gave me this action script. But he gave it in word format having some font that I did not have. I am not getting which function is used in place for those boxes on line 4. Can Anyone help me with this. I am completely new with it. " // Action script... // [Action in Frame 1] function () { \x03 = 2431 % 511 * true; return (eval("\x03")); } // End of the function var \x01 = -327 + \x04\x05(); for (\x01 = eval("\x01") + 79; eval("\x01") == 75; \x01 = eval("\x01") - 608) { \x01 = eval("\x01") + 600; if (false) { continue; } // end if } // end of for \x01 = eval("\x01") + 416; if (eval("\x01") == 675) { \x01 = eval("\x01") - 608; } // end if \x01 = eval("\x01") - 178; if (eval("\x01") == 937) { \x01 = eval("\x01") - 244; } // end if \x01 = eval("\x01") - 643; if (eval("\x01") == 889) { \x01 = eval("\x01") + 48; if (false) { } else { \x01 = eval("\x01") - 244; } // end else if } // end if if (eval("\x01") == 67) { \x01 = eval("\x01") - 48; } // end if if (eval("\x01") == 139) { \x01 = eval("\x01") + 242; if (false) { } else { \x01 = eval("\x01") + 340; } // end else if } // end if \x01 = eval("\x01") + 288; if (eval("\x01") == 881) { \x01 = eval("\x01") - 862; } // end if if (eval("\x01") == 381) { \x01 = eval("\x01") + 340; } // end if if (eval("\x01") == 765) { \x01 = eval("\x01") - 335; } // end if if (eval("\x01") == 962) { \x01 = eval("\x01") - 199; } // end if \x01 = eval("\x01") + 418; if (eval("\x01") == 160) { \x01 = eval("\x01") + 269; } // end if if (eval("\x01") == 339) { \x01 = eval("\x01") + 90; } // end if \x01 = eval("\x01") + 562; if (eval("\x01") == 689) { \x01 = eval("\x01") - 216; } // end if if (eval("\x01") == 848) { \x01 = eval("\x01") + 114; if (!eval(true)) { } else { \x01 = eval("\x01") - 199; } // end else if } // end if if (eval("\x01") == 721) { \x01 = eval("\x01") - 291; } // end if if (eval("\x01") == 729) { \x01 = eval("\x01") - 29; } // end if \x01 = eval("\x01") + 546; if (eval("\x01") == 447) { \x01 = eval("\x01") - 194; } // end if if (eval("\x01") == 763) { \x01 = eval("\x01") - 63; } // end if if (eval("\x01") == 779) { \x01 = eval("\x01") - 526; } // end if \x01 = eval("\x01") - 164; var true = "\x0f"; if (eval("\x01") == 57) { \x01 = eval("\x01") + 659; if (!1) { } else { \x01 = eval("\x01") - 377; } // end else if } // end if if (eval("\x01") == 54) { \x01 = eval("\x01") + 725; } // end if if (eval("\x01") == 991) { \x01 = eval("\x01") - 937; if (!"\x0f") { } else { \x01 = eval("\x01") + 725; } // end else if } // end if if (eval("\x01") == 716) { \x01 = eval("\x01") - 377; } // end if if (eval("\x01") == 693) { \x01 = eval("\x01") + 41; } else { if (eval("\x01") == 734) { \x01 = eval("\x01") - 734; } // end if } // end else if " Regards Shaliwahan
The function can be renamed to whatever you want so long as it's not a reserved word that Flash already uses. All those \ are syntax errors too. Also that function makes no sense, it would always return 387 and why is it then being multiplied by a boolean? What is this script supposed to do?
this is actually not a script at all, it's garbage code injected by an obfuscator to confuse decompilers, this will not compile or do anything. The swf from which this script has been extracted has been protected by an obfuscator. (if you have the swf, I can investigate the name of the obfuscator and the technique used in obfuscation.
I can post the link to the target file that is required. Can anyone make just like that. I'll be really thankful as I have no idea how to make it.
Here is the link to the swf file. Would be really thankful if anything could be done. http://sites.google.com/site/jussclicks/index/samplemenu.zip
Hi again, a quick look at the menu and I can immediately say that there is no fancy coding in there, just plain old rollOver effects done nicely... It would be a breeze replicating this for any flash designer with minimum knowledge of flash... If you have Adobe flash, I can send you a sample fla you can alter as per your needs.