Like the title says;
how do I use onPress and onRelease and ReleaseOutSide in AS3?
Please help!
Printable View
Like the title says;
how do I use onPress and onRelease and ReleaseOutSide in AS3?
Please help!
Look in the Flash help for MOUSE_DOWN, MOUSE_UP and there is also MOUSE_CLICK.
I'm not sure about an AS3 version of "outside".
I can fix the outside if I can make this to AS3:
if (!Key.isDown(1)){}
Any ideas how to do that?
Here is a link about Mouse Events in AS3:
http://drawk.wordpress.com/2007/06/0...-user-actions/
There is a MOUSE_OUT event.
If the MOUSE_UP shall work, the mouse need to be inside the movieclip. It doesn't work if it's outside, and that's what I need. :(
Solved:
I just used stage.addEventListener