|
-
...and the law won
Pause command
I have the following code placed in an empty frame on my main timeline
//Pauses the movie
function playMovieClip(mc){
clearInterval(animate);
mc.play();
}
Then on other frame on the maintime line I have this code
//
_root.animate = setInterval(_root.playMovieClip, 10000, this);
stop();
This pause function works fine. An animation plays in frame 1, stops, then once the pause command hits it mark, the movie goes to the next frame and duplicates the process.
My problem is I have buttons that I use to go to specific frames on my main timeline. When I use the buttons to go to say frame 4 the timing is all off. Instead the time that I have defined in the above script, it jumps ahead to the next frame much faster. Anyone see something in the code that can be throwing me off?
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
|