i have two buttons, each half the width of the screen and both the entire height of the stage. So one button would be on the left of screen and the other, the right. I have eventlisteners for both when the buttons are pressed and released.
My problem is that if i click one button and drag to the other side, the event take it that the mouse is not released.
For example the right button should make my character fly, so when i click on it, it flies and if i drag my mouse to the left button and release, my character continues flying. I believe this is due to the right button being unable to detect the mouse up when its off the button shape. Is there any way around it?
I want to link some images into a swc library in pure actionscript 3 - is this possible?