animate a button state


To make our button more interesting, we're going to add a small animation to the Over state and add a slight offset to the Down state.

With the Selection tool, double-click the button instance to edit it.

Press to preview the animation.

Click btn_gallery in the Edit bar to exit symbol-editing mode for the movie clip.

We're done editing the button, so exit symbol-editing mode.

The Enable Simple Buttons feature won't show us the animated Over state, so we'll have to preview our buttons in the Flash Player. Choose Control > Test Movie, or press (Windows) or (Mac).



    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

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net