The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 6 of 6

Thread: take control of the mouse? possible?

  1. #1

    take control of the mouse? possible?

    Hi! I've searched the forums, but can't find no way of controlling the mouse position.
    What I need to do is this:

    Take control of the mouse, move it from it's relative position to another position, and then give the user back control.

    Any ideas?

  2. #2
    This has come up before and I may be wrong but I don't think its possible.
    The only way that im aware of that might give the effect your looking for is to hide the cursor and take its place with a movie clip and move that arround.
    But then the mouse wouldn't be in that spot when control is restored.

  3. #3
    lewi-p's Avatar
    952
    posts
    Say "NO" to Scenes!
    There's noway of taking control of the users mouse but here's an alternative...

    I was gonna write out a list of things you could do but seen as I'm such a nice guy and I'm having a slow day, I took the liberty of making a very basic example. I've commented the code to briefly explain whats goin on...enjoy!

    lewi-p
    Attached Files Attached Files

  4. #4
    Hehe...I like it
    2006-11 GlosRFC - Searching 8,168,684,336 brain cells

  5. #5
    lewi-p: I couldn't find any code in there but:

    Code:
    stop();
    //Hide the mouseMc
    mouseMc._visible = false;
    //Show the users mouse
    Mouse.show();
    where is the stuff that makes it work?

  6. #6
    figured it out. just had to change "current selection". thanks a lot! amazing how differently people use this programs.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012