# mouseyMove

**URL:** <https://forum.kirupa.com/t/mouseymove/106688>\
**Category:** Uncategorized\
**Created:** [April 7, 2004, 10:59pm UTC](https://forum.kirupa.com/t/mouseymove/106688 "2004-04-07T22:59:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimhere](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jimhere/32/137_2.png) [@jimhere](https://forum.kirupa.com/u/jimhere)\
**Post date:** [April 7, 2004, 10:59pm UTC](https://forum.kirupa.com/t/mouseymove/106688/1 "2004-04-07T22:59:51Z")

</div>

Would the oft mentioned “hit test” be of use for this?  
I’m working on a demo movie where various screen shots are shown in Flash with fake mouse actions like “then you click here to print a report” type things.  
I figured out a good way to control the fake mouse cursor via AS (see attached), but I’m wondering if there’s a better way?  
Right now I have x and y coordinated in frames along the time line. Is there a way to make an MC that would say “Ease to HERE, mouse pointer!” That way I could drop instances of those MCs on the stage rather than figuring out the exact x and y for every movement.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2004, 2:48am UTC](https://forum.kirupa.com/t/mouseymove/106688/2 "2004-04-08T02:48:36Z")

</div>

something like this should work:

\_root.cursorPosx = \_root.dot1.\_x;  
\_root.cursorPosy = \_root.dot1.\_y;

Adam

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2004, 3:15am UTC](https://forum.kirupa.com/t/mouseymove/106688/3 "2004-04-08T03:15:20Z")

</div>

you could create a new movie clip called comeHere, on the first frame put

```auto

_root.cursorPosx = this._x;
_root.cursorPosy = this._y;

```

Now just put that on the stage where you want your cursor to go.  
The only bug is that you need to make sure there is an empty keyFrame between different instances of comeHere or it doesn’t seem to work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2004, 12:45pm UTC](https://forum.kirupa.com/t/mouseymove/106688/4 "2004-04-08T12:45:30Z")

</div>

Thanks, guys. Poifect.
