Flash Buttons
Flash Buttons
Out of context: Reply #7
- Started
- Last post
- 15 Responses
- versa0
make a button MC, and give it several frames labeled according to the different button states ... then use code like below maybe
// ------------------------>
function onPressHandler ()
{
// actions here
}
function onOverHandler ()
{
this.gotoAndStop("over");
}
// ------------------------->
function onOutHandler ()
{
this.gotoAndStop("out");
// any other actions
}// Button State Assignments
//
fooBTMC.onRollOver = onOverHandler;fooBTMC.onRollOut = onOutHandler;
fooBTMC.onPressOut = onPressHandler;