# Mouse over effect

**URL:** <https://forum.kirupa.com/t/mouse-over-effect/4853>\
**Category:** Uncategorized\
**Created:** [August 22, 2002, 7:27pm UTC](https://forum.kirupa.com/t/mouse-over-effect/4853 "2002-08-22T19:27:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessica](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jessica](https://forum.kirupa.com/u/jessica)\
**Post date:** [August 22, 2002, 7:27pm UTC](https://forum.kirupa.com/t/mouse-over-effect/4853/1 "2002-08-22T19:27:37Z")

</div>

how do you create a mouseover effect withought the symbol being a button?  
avalon

---

<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:** [August 22, 2002, 7:47pm UTC](https://forum.kirupa.com/t/mouse-over-effect/4853/2 "2002-08-22T19:47:17Z")

</div>

you can kinda do it with a movie clip. Just add code in the same manner.

on(rollover){

trace(“hello”);  
}

---

<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:** [August 22, 2002, 7:48pm UTC](https://forum.kirupa.com/t/mouse-over-effect/4853/3 "2002-08-22T19:48:12Z")

</div>

Create a new movie clip and give it the instance name fakeButton (for use with the actionscript I am going to give you). Click on the FRAME, \<I\>not\</I\> the movie clip. Hit F2 to open up the actions panel. Add these actions into the frame…

```auto

_root.fakeButton.onRelease = function() {
	gotoAndPlay(1);
};

```

This code will make the movie clip gotoAndPlay frame one after you click it. you can add a getURL action in there or something too. I just used that because it was quick and easy to write.

You can use onPress, onRollOver, onRollOut, basically all the functions of a button.

I hope this helps 🙂
