1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Which function is used in this script below

Discussion in 'Graphics & Multimedia' started by shaliwahan.pati, Jan 8, 2010.

  1. #1
    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
     
    shaliwahan.pati, Jan 8, 2010 IP
  2. BossBozz

    BossBozz Peon

    Messages:
    78
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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?
     
    BossBozz, Jan 9, 2010 IP
  3. wassim

    wassim Well-Known Member

    Messages:
    322
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #3
    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.
     
    wassim, Jan 9, 2010 IP
  4. shaliwahan.pati

    shaliwahan.pati Peon

    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    shaliwahan.pati, Jan 12, 2010 IP
  5. wassim

    wassim Well-Known Member

    Messages:
    322
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #5
    Post it, if I get some free time this weekend I will clone it.
     
    wassim, Jan 12, 2010 IP
  6. shaliwahan.pati

    shaliwahan.pati Peon

    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    shaliwahan.pati, Jan 12, 2010 IP
  7. wassim

    wassim Well-Known Member

    Messages:
    322
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #7
    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.
     
    wassim, Jan 12, 2010 IP
  8. shaliwahan.pati

    shaliwahan.pati Peon

    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    WOW thats great then. I do have flash installed. An fla would be realls great.
     
    shaliwahan.pati, Jan 12, 2010 IP
  9. wassim

    wassim Well-Known Member

    Messages:
    322
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #9
    Check your pm, sent you a download link.
     
    wassim, Jan 15, 2010 IP