# Cursor problem

**URL:** <https://forum.kirupa.com/t/cursor-problem/6049>\
**Category:** flash\
**Created:** [September 28, 2002, 7:43am UTC](https://forum.kirupa.com/t/cursor-problem/6049 "2002-09-28T07:43:04Z")\
**Posts on this page:** 10\
**Page:** 2

<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:** [September 28, 2002, 2:06pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/21 "2002-09-28T14:06:55Z")

</div>

so lemme get this straight.  
i go into actions and i put the stuff under the PHP. What do i click on, the frame or the button?

---

<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:** [September 28, 2002, 2:17pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/22 "2002-09-28T14:17:20Z")

</div>

Make the button. Click on it. Press F9. Put in the code under PHP. You’ll have to change the stuff after // to what you want.

You should get a grasp of actions on buttons normally, before using mcs as buttons.

Look around for actionscript tutorials. Try and grasp the basics. I can post the code or a fla - but you won’t learn anything.

---

<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:** [September 28, 2002, 3:11pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/23 "2002-09-28T15:11:13Z")

</div>

WHen i hit F9 it gave me an accesibilty menu?  
What do i do with that?

---

<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:** [September 28, 2002, 4:16pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/24 "2002-09-28T16:16:25Z")

</div>

If you select a movieclip and press F9 it should bring up the actions window. Select it and right click if you want and go to actions.

---

<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:** [September 28, 2002, 5:08pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/25 "2002-09-28T17:08:09Z")

</div>

most of those commands I cant find in the actions menu

---

<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:** [September 28, 2002, 6:06pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/26 "2002-09-28T18:06:37Z")

</div>

Try not to use the normal mode - it’s actually quicker and easier with the expert mode - when entering the commands.

---

<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:** [September 28, 2002, 6:14pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/27 "2002-09-28T18:14:37Z")

</div>

wait expert mode? I have to do all this by hand?

---

<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:** [September 28, 2002, 6:17pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/28 "2002-09-28T18:17:13Z")

</div>

Well that’s the way the rest of us do it. It’s not automatic. And besides, trust me, once you get used to it, it’s much easier, but hey - it’s up to you.

Anyway - just copy and past the code if you want and double check it - at least get to see if it’s working.

---

<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:** [September 28, 2002, 8:15pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/29 "2002-09-28T20:15:55Z")

</div>

onClipEvent(enterFrame) {  
if (this.hitTest(\_root.\_xmouse, \_root.\_ymouse, true)) {  
// code, could be nextFrame or could be gotoAndPlay(wherever)  
// for the rollover  
}  
}

which part of this am i supposed to edit out

---

<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:** [September 28, 2002, 9:00pm UTC](https://forum.kirupa.com/t/cursor-problem/6049/30 "2002-09-28T21:00:16Z")

</div>

```php

onClipEvent(enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
// code, could be nextFrame or could be gotoAndPlay(wherever)
// for the rollover
}
}

```

// and what’s after them. Add your rollover action.

[Previous page](https://forum.kirupa.com/t/cursor-problem/6049.md?page=1)
