Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you create a delay in specific frame? 2

Status
Not open for further replies.

Flapman

Technical User
Jul 6, 2001
18
US
I am trying to create a frame that loops for "x" amount of time before it goes to the next frame. Can this be done? And how. I know it is part of Action Script but am unsure in what combination.

Flapman
 
How's this :

onClipEvent (load) {
var pause;
var time;
}
onClipEvent (enterFrame) {
if (pause == true) {
if (Number(time)>0) {
_root.stop();
time = time-0.05;
} else {
_root.play();
}
}
}

Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
Hum! That looks a lot like some other tutorial I've seen, somewhere else! LOL

Regards,
new.gif
 
Sorry for interupting but i couldn't resist.


LOL Old... Have Fun...

Sharky99 >:):O>
 
So I answer much more questions than I ask Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
I am not out to win tipmaster and all that I am just helping people and if that means leading people to the proper source of the examples then so be it Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
Relax Bad!
After all, you're the one that's started all of this, bashing on somebody else (thread250-257851), that's basicly just trying to help others like yourself, be it pulling stuff from other tutorials or not! I don't see how posting "Sharky got that example from flashkit.com"
(not even posting the actual link!) helps any better than what Sharky had already posted, and is (as this post probably is!) a waist of bandwidth!

What is it with all of you UK Daves? Temperamental bunch aren't you!
Shessssssssssssssssssssssh! Regards,

new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top