dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: How to make the mouse cursor start at a specific coordinate upon enterig a scene?

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    2

    Question How to make the mouse cursor start at a specific coordinate upon enterig a scene?

    I'm sorry if this is a repeat/in the wrong section. I'm new here

    I'm trying to make a game of sorts. I have a button that you need to click that is in the center of the screen. Upon clicking it, it goes to the next scene.

    What I need here is for the mouse cursor to start in the upper right-hand corner of the stage of the second scene whenever said button is clicked. Not just a movieclip of a cursor, but the actual mouse itself, since it needs to be able to click a button on the other side.

    Below I've included an example of what needs to be done (not my actual game, but it shows the problem that I'm having. IT IS AN MX2004 FLA FILE.

    http://filesmelt.com/dl/mouse_position1.fla

    Any help would be appreciated. Thanks for your time!

  2. #2
    var x:Number = 1; x /= 0;
    Join Date
    Dec 2004
    Posts
    549
    There is no way to move the mouse cursor using flash.

  3. #3
    Senior Member
    Join Date
    Apr 2001
    Posts
    260
    Yep, ZippyDee is right. The only way you could do this is to fake it using an image of a mouse - there is no way to move the actual mouse cursor using flash.
    Just starting out on the long road that is AS3 - and already want to turn back!!!
    FrApple - get a free iPad

  4. #4
    Junior Member
    Join Date
    Jun 2010
    Posts
    1
    This was a problem, even for me!

Tags for this Thread

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