PDA

View Full Version : Time Delay?


morphius3263
10-29-2001, 08:51 PM
Is there an action that tells something to wait a given length of time (e.g. 1 second) before it does something?

Billy T
10-29-2001, 09:34 PM
I am SURE there are better ways of doing this but anyway....

make a movie on your stage and give it an instance name of "box"

apply this action to the movie

onClipEvent (load) {
StartTime = 1;
}
onClipEvent (enterFrame) {
StartTime = StartTime+1
if (StartTime>40) {
setProperty ("_root.box", _alpha, "40");
}
}

Jesse
10-30-2001, 01:26 AM
Also see the Delaying EVents tutorial.