pause an animation

The animation looks great, but it all flies by too fast. We want to add a pause after the text zooms in and before it zooms back out, holding the word in place long enough for it to register with the viewer. (See extra bits on Page 78.)

 stop(); pauseAnim = setInterval(this,"nextFrame",5000); 

This code stops the animation, creates a timer, and moves to the next frame after 5 seconds (5000 milliseconds).

 clearInterval(pauseAnim) ;play(); 

    Creating a Web Site with Flash. Visual QuickProject Guide
    Creating a Web Site with Flash: Visual QuickProject Guide
    ISBN: 0321321251
    EAN: 2147483647
    Year: 2005
    Pages: 113
    Authors: David Morris © 2008-2017.
    If you may any questions please contact us: