I’d like to use animated flash buttons in my Flash Builder AS3 project.
I have a couple of buttons with onRollOver and onRollOut events on the button swf in Flash. There is no onRelease event on these buttons.
I thought that I could embed it in my Flash Builder AS3 class using Embed Source. Then adding it to the stage and add a mousevent click to it.
But this doesn’t work. It adds to the stage fine and the rollover and rollout works fine, it just doesn’t add the mouse click event to it. No errors or anything, just isn’t clickable at all.
What I tried was removing the animation in the button and then it does actually work.
Anyone knows how to include animated swf buttons in AS3 projects with mouse events added to them?