Support - Forum aa
« Back to Support» Flash player 11.2 mouselock
Posted on 02.04.2012 by newaxekub, newaxekub
mouseLock is not at the center.
But it is at the top left corner.
I can not use the EventClick.
Because it is not in the center.
http://u1.popcornfor2.com/show/eaQ19976.jpg
But it is at the top left corner.
I can not use the EventClick.
Because it is not in the center.
http://u1.popcornfor2.com/show/eaQ19976.jpg
Reply By Nehmad, Ariel 02.04.2012
Reply By newaxekub, newaxekub 02.04.2012
"you need to use the MouseCollision class in this case.
you can find an example here." Ariel N.
But my mouse is lock on top left corner.
Reply By newaxekub, newaxekub 02.04.2012
FPS game will need to lock mouse.
It is usually the center lock.
But Flash Player 11 lock the upper left corner.
The cursor to the upper left corner. Instead of centering.
If you want to click it, you have to scroll to the top left corner.
The Mouse Event is can not used.
Because the mouse is to lock in the corner.
It is usually the center lock.
But Flash Player 11 lock the upper left corner.
The cursor to the upper left corner. Instead of centering.
If you want to click it, you have to scroll to the top left corner.
The Mouse Event is can not used.
Because the mouse is to lock in the corner.
Reply By Nehmad, Ariel 02.04.2012
the mouse collision class takes an x, y position...so you can pass to it the center of the screen.
Popular
- 1. Question of Alpha sorting system
- 2. Rndering issue on AIR Mobile build
- 3. Problems with bone position?
- 4. Is it possible to make a primitive...
- 5. Messed up textures in Flare 3d Studio
- 6. Moving "by hand" the corners of a Plane
- 7. Shapes, splines and knots
- 8. Diferencia entre Flare3D Studio y...
- 9. Transform between two states
- 10. ReferenceError: Error #1074
