Skip navigation
WilsonUD
Currently Being Moderated

How to set mouse cursor location?

Oct 27, 2011 9:30 PM

our group want to develop a 3D FPS game on flash 11, but how could we make same user experience as Conter-Strike or those classic FPS games without set mouse cursor location?

as I know, both ShockWave and Unity Web Player can lock or set location of  mouse cursor.

 

we may considering some sercurity issues of open this API, but we are talking about things that desktop apps can do and web apps can not do. If it will be open in the futue, why dont we just open it now?

 
Replies
  • kglad
    72,261 posts
    Jul 21, 2002
    Currently Being Moderated
    Oct 28, 2011 6:32 AM   in reply to WilsonUD

    use a custom cursor and hide (Mouse.hide() ) the real one.

     
    |
    Mark as:
  • kglad
    72,261 posts
    Jul 21, 2002
    Currently Being Moderated
    Oct 28, 2011 9:23 PM   in reply to WilsonUD

    i have no idea what you're saying and i have no idea what you think if funny.  but i can tell you there's no way to control the mouse cursor in flash.  period.

     
    |
    Mark as:
  • Peter Celuch
    505 posts
    Nov 17, 2005
    Currently Being Moderated
    Oct 29, 2011 3:07 AM   in reply to WilsonUD

    wilson, a little courtesy would be nice. you're asking the man for free help with insufficient explanation and in turn you laugh in his face. not cool man, not cool. I had no idea from the first post either.

     

    now I think you want continuous mouse-controlled rotation of the camera, even if your system mouse cursor reaches edge of the swf / screen in fullscreen mode - the cursor stops moving, flashplayer stops dispatching MouseEvents and camera stops rotating. I believe system cursor jumping is not possible due to security issues. imagine annoying banner where your system cursor jumps all over the place. event if they added functionality to jump cursor to  the opposite edge, the user couldnt ever leave the flashplayer area the only possible way is to add it to fullscreen mode.. that might work. but I'm not sure when it will be, maybe flashplayer 15?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 29, 2011 5:37 AM   in reply to WilsonUD

    If you want to ask Adobe to consider doing anything, these user-to-user forums are not the place for it.

     

    Adobe - Wishlist & Bug Report
    -----------------------------

    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points