-
Senior Member
I am in serious need of help!! Please can someone help me out by directing or posting for me a simple .fla that is a timer that counts to 0. Then goes to frame 2. I'm sorry 4 this question. I've looked everwere and nothing worx! any help would b great!
-
Flash Developer on a break
Just make a mc.
Put for example a '3' on the first frame. A '2' on the 12th, a '1' on the 24th and a '0' on the 36th frame(in case of a 12fps movie)
Now put a _root.gotoAndPlay(1); on frame 36.
..
-
I worked out a nice solution for this and will post it when I get home from work.
-
Frame One yoou have one movie clip and one dynamic text box.
Your dynamic text box is named countDown this code goes on your movieclip.
happy flashing
onClipEvent(load) {
//This tells the timeline above your movieclip to stop
_parent.stop()
}
onClipEvent(enterFrame) {
elapsed_timer = Math.ceil(getTimer()/1000)
_root.countDown = 11 - elapsed_timer;
//This code goes on a movieclip on the frame in the maintimeline you want to pause
onClipEvent(load) {
//This tells the timeline above your movieclip to stop
_parent.stop()
//This creates a variable named ini_timer and converts it to seconds
//ini_timer = Math.ceil(getTimer()/1000)
}
onClipEvent(enterFrame) {
elapsed_timer = Math.ceil(getTimer()/1000)
_root.countDown = 11 - elapsed_timer;
}
[Edited by mfweiland on 04-18-2002 at 12:27 AM]
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
|