3
votes
2answers
852 views

How to determine mouse position outside stage, and center the cursor?

I was wondering if it is possible to have my flash game determine the position of the mouse, even when the cursor is not inside the stage. My movie clip should move horizontally between x = 100 and ...
-1
votes
1answer
328 views

Help needed throwing a ball in AS3

I'm working on a flash game, coding on the time line. What I'm trying to accomplish is the following: With the mouse you swing and throw/release a ball which bounces against the walls and eventualy ...
0
votes
2answers
265 views

AS3 Stage3D Mouse click problem?

I have a problem with Mouse interaction and Stage3D. The only way I found to register to listen to mouse clicks and interact with Stage3D, is to add a mouse eventListener directly to the .stage. ...
1
vote
2answers
500 views

What is the best way to handle MouseEvents in AS3?

What is the best way to handle MouseEvents? Should I add an event on each MovieClip I want to work with, or a general Event at a holder MovieClip (or even at the stage) with internal control from the ...
0
votes
2answers
937 views

How to set blur on mouse over and remove on mouse out in AS3?

How can I do it? I want to active glow when the mouse is over a Sprite and remove it when the mouse is out. Is it possible? I have the following code: var myGlow:GlowFilter = new GlowFilter(); ...
0
votes
2answers
2k views

AS3 > Mouse Event not happening?

Background: Trying to make a ball appear in the same location the mouse is positioned. Using Box2D Library. Working on a class file (.as) Issue: The mouse event does not work (I click but nothing ...
0
votes
1answer
417 views

How can I respond to mouse events in AS3?

Background: Trying to make a simple "drop the ball" game. The code is located inside the first frame of the timeline. Nothing more is on the stage. Issue: Using QuickBox2D I made a simple If ...