I currently have a scroll bar with 10 buttons in them. Each button is a symbol and has a roll over animation. On click the buttons change an image on the main stage. What I can't figure out is how to keep the buttons in the clicked state. I can click the button all works but once clicked and I move the mouse it triggers the mouseout action. I want the button to stay clicked. I have unbinded the mouseover action and mouseout action on click which works fine but I want to activate those actions once another button is clicked. Below is a screen shot.
Any help would be greatly appreciated.
It's really difficult to say without actually viewing your file but you might be able to do something like I did for a file that had multiple videos..
I used the z-index to manipulate an else if statement.
Hi Ironman, you can use a variable at Stage.compositionReady, to track the "activeBtn". Then in your mouseout event, add an "if" statement to check that "activeBtn" var, and if it matches the button symbol that's triggering the "mouseout" event, you don't play the mouseout action.