-
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.
-
just animate the letters to change on the rollover state
-
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
-
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");
-
I can send you the .fla they used if it is any help.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|