This content has been marked as final. Show 10 replies
One way to accomplish that would be to simply add more frames between your keyframes. If your frame rate is 30 frames per second, just space your keyframes, you'll need to add 300 frames between each keyframe for a ten second pause. And adding frames between keyframes isn't going to affect your file size.
you can use setInterval() to effect a timeline pause. simply add a stop() to the frame and a setInterval() scheduled to call a function that directs your timeline to play after 30 seconds (and clears your interval - clearInterval() ).
Thanks vonblonderbelt, but I was trying to avoid that situation (adding all those frames).
kglad, thanks for taking the time to respond. Like I stated, I am not very skilled in the ways of scripting. I see how to add setInterval() to my script, but not sure what variables to put in there. The site I am talking about is hersheybears.com. I want to cycle through the news area automatically. I have tried to search for a solution that I can cut, paste, and tweak, but can't find anything. If you can help, I would appreciate it.
attach the following to any frame on which you want to pause for 10 seconds:
Thanks for your help kglad, I appreciate your time.
Okay, but I think you should add this line:
Otherwise you will get the function being called every 10 seconds. Maybe you want that for this specific purpose, but it could become a problem – especially if your movie loops around and the setInterval gets called again.
PS: Just a personal note. I am also a designer and that isn't a synonym for "loser" or "moron." I am continuously amazed at the folks who come here and hold that designation up as some kind of badge that explains why they don't know something. You don't know because you haven't learned yet. There is absolutely no reason that you should know and there is certainly nothing wrong with asking for help.
you're welcome (and check rothrock's addition of clearInterval() - it's crucial to stop pauseF() from repeatedly executing.)
Thanks for your comment Rothrock...there is a part of me that feels 'guilty' about playing with Flash since I can't do it all. I don't want it to seem like I didn't look for the answer first, because I did. I appreciate anyone who would take the time to teach on this board. Again, 'thank you'.
Also, here's another (very similar) way to pause: