PDA

View Full Version : Actionscript on different frames


JerryRowe
02-04-2003, 08:48 PM
I've figured out why I keep having trouble with some tutorials.

How do I get actionscript on different frames? Like, I want this on the first frame:


q = 1;

text = "sometext";

stop();



This on the second frame:

if (q < text.length) {
textbox = text.substring(0, q);
q++
} else {
textbox = text;
gotoAndStop(1);
}



And this on the third frame:

gotoAndPlay(2);






How do I do that? Thanks!

toke
02-04-2003, 08:49 PM
easy :D just add key frame (press F6)

JerryRowe
02-04-2003, 09:00 PM
I feel like an idiot.




An idiot whose script now WORKS! Ahahaha!