A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How can I make the program move the mouse?

  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    1

    Question How can I make the program move the mouse?

    I am building a sniper game and I can't figure out how to make the game make the mouse twitch, like in clear vision elite. Any suggestions?

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    you would have to replace the mouse cursor with a movieClip.. (easy enough to do of course)..

    and then when you need to.. write & execute a function that 'shakes' the movieClip (randomly shifting its current positioning a few pixels erratically)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center