A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: anyone know where i can find this script??

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    3

    anyone know where i can find this script??

    I've seen this effect before on many sites but can't seem to find a script for it..

    http://www.amorphicdesign.com/

    It's that random scroll in effect for his intro, nav and sub sections..
    Thanks

    Inked.

  2. #2
    Member
    Join Date
    Jul 2004
    Posts
    40
    just animate the letters to change on the rollover state

  3. #3
    Junior Member
    Join Date
    Apr 2006
    Posts
    3

    actually...

    That's not tha answer I was looking for - but thanks spot222

    Can anyone make sense of this and get the same effect as in that website?

    .................................................. ..................

    function decode( frase) {
    loopNumber = frase.length;

    i = 0;
    this.onEnterFrame = function() {
    //this sets up a line of randomly generated code to fill the spaces
    codeScramble = "";
    if (i<=loopNumber) {
    for (n=0; n<loopNumber; n++) {
    codeScramble += String.fromCharCode((random(42)+48));
    }
    temp2 = frase.substr(0, i);
    this.myTextBox = temp2+codeScramble.substring(i, loopNumber);

    } else {
    delete this.onEnterFrame;

    }
    i++;
    };
    }

    .................................................. ..................

    Thanks in advanced!

    Inked

  4. #4
    newayblue.com
    Join Date
    Jan 2002
    Location
    Leicester, UK
    Posts
    971
    A function is used for this effect:

    function decode(frase)
    {
    loopNumber = frase.length;
    largodemo = loopNumber;
    i = 0;
    this.onEnterFrame = function ()
    {
    codeScramble = "";
    if (i <= loopNumber)
    {
    for (n = 0; n < loopNumber; n++)
    {
    codeScramble = codeScramble + String.fromCharCode(random(42) + 48);
    } // end of for
    temp2 = frase.substr(0, i);
    this.decodeText = temp2 + codeScramble.substring(i, loopNumber);
    }
    else
    {
    delete this["onEnterFrame"];
    } // end if
    i++;
    };
    } // End of the function



    Then the function is called:

    decode("Welcome to Amorphic Design");

  5. #5
    newayblue.com
    Join Date
    Jan 2002
    Location
    Leicester, UK
    Posts
    971
    I can send you the .fla they used if it is any help.

  6. #6
    Junior Member
    Join Date
    Apr 2006
    Posts
    3

    thanks!

    if you can send me the fla that would be great! but how did you get the fla? just email it to info@inkburst.com

    Thanks again neway

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center