![]() |
|
| • All Online Courses • New Courses • QuickTips • Word Definitions • Submit a Tutorial • Links • |
|
Adding Behaviors to Buttons in Flash Tutorial Adding Behaviors to ButtonsIn Flash, behaviors are pre-written scripts that you can add to object instances in your movie. They appear in the Behaviors panel:
To add a behavior to the button you just created:
A movie clip is essentially an animation that’s been converted to a symbol and resides on its own Timeline. We’ll demonstrate movie clips later in the tutorial, but for now, it’s enough to know that you can use this behavior to target a frame in either a self-contained movie clip or the Main Timeline. We’ll use the Main Timeline. Selecting this behavior opens the Goto and Play at frame or label dialog:
If you had added movie clips from the library, their instances would appear in the list beneath _root, which represents the Main Timeline of the movie. Notice that “this” appears in the field above the list. The “this” keyword indicates the current object. When you select a target location from the list, Flash fills in the field with a relative path, if Relative is selected in the dialog, starting with the current object (“this”). If Absolute is selected in the dialog, Flash fills in an absolute path, starting with _root. We’ll describe this method of targeting objects in more detail later in the tutorial.
by Summer Doucet Find more free Software tutorials from Learnthat.com. More Information:
Help us by rating this tutorial: [---] [--] [+] [++] [+++] [---] lowest; [+++] highest
|
|
||||||
![]() |
Learn: Free
Tutorials - Links
to Free Tutorials
Understand: Free Technical Definitions
- ExplainThat Whitepapers
Use: Certification Section -
Discussion Forum
Visit Our Network Sites:
About Us : Contact Us : Advertise : Privacy Information