I have a button that uses roll over and roll out commands to animate a mouse over. Problem I have now is when the button is clicked I would like to keep the mouse over state and disable the button function so that it cannot lose the mouse over state.
The buttons are not technical they are very easy but the issue I am having is when you click on the button flash registers it as a mouse out command and animates the button out and loses the mouse over state.
This is what my AS looks like.
myBtn.myMC.addEventListener ('click', function() {
actionFunctionClick();
actionFunctionOver();
});
myBtn.myMC.addEventListener ('mouseOver', function() {
actionFunctionOver();
});
myBtn.myMC.addEventListener ('mouseOut', function() {
actionFunctionOut();
});
Does anyone know of a work around for this?