What is the difference between "Track as Button" and "Track as Menu Item"?
When creating an instance of a button, the button instance's properties can be set to either "Track as Button" or "Track as Menu Item." The default Track as Button setting means the button's events are independent of other buttons. With this setting, the button cannot be affected by a mouse event while mouse activity is going on which was started, but not finished on another button event. The Track as Menu Item setting will allow the button instance to be influenced by a mouse event which started on another button. Seeing these concepts in action will further demonstrate the distinction between the two settings.
Example of Track as Button
The default setting in Macromedia Flash is Track as Button. All of the buttons in this first example are set to Track as Button.
| 1 | Click and hold the mouse button down over button 1. |
| 2 | With the mouse still pressed, drag the mouse over buttons 2 or 3 and then release the button. |
| 3 | Notice that buttons 2 or 3 do not respond to the mouse over. Even if the mouse is released over button 2 or 3 the button will not trigger a change until it is actually clicked. |
Example of Track as Menu Item
All of the buttons in this second example are set to Track as Menu Item.
| 1 | Click and hold the mouse button down over button 1. |
| 2 | With the mouse still pressed, drag the mouse over buttons 2 or 3 and then release the button. |
| 3 | Notice that buttons 2 or 3 change colors as the mouse rolls over them. The release of the mouse over the button triggers the change to happen as if that button had been clicked. |
To set the button instance to one of the above settings, do the following:
| 1 | In Flash, select the button with the arrow tool. |
| 2 | Open the Instance panel by selecting Window > Panels > Instance (CTRL+I on PC or Command+I on MAC). |
| 3 | Choose the desired setting in the Options drop-down menu. |
Additional information
For more information regarding buttons in Flash, see Flash Button Resources (TechNote 14427).
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
