-
keep button down
hi!
does anyone know how to keep a button in it's "down" state when it's pressed...
so people can see where they are?
or is there a way to change it's appearance when it's down?
-
Put the button in a 2 frames mc, with stop(); actions on both frames. When the button is pressed, send the playhead to the second frame, where the button only has it's down state appearance.
Send it back to the first frame, when another button is pressed.
-
ok...but how do I tell it to go to the 1st framehead when another button is pressed?
-
When you send it to frame 2, also set a variable...
_global.currentDown = _level0.but1_mc;
//indicating that the the but1_mc is presently on it's down state...
Then on all buttons(including button 1), start the script with...
_global.currentDown.prevFrame();
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|