Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //hide invisible button
- hiddenButton._visible = 0;
- //turn off hand cursor use on hidden button
- hiddenButton.useHandCursor = false;
- //turn off button 2
- button2_btn._visible = 0;
- //button functions
- button1_btn.onRollOver = function() {
- //show button 2 and hidden button
- button2_btn._visible = 1;
- };
- button2_btn.onRollOut = function() {
- //hide button 2 and hidden button
- button2_btn._visible = 0;
- };
- button2_btn.buttonMode = false;
- button2_btn.useHandCursor = false;
Add Comment
Please, Sign In to add comment