# Button Effects

**URL:** https://forum.kirupa.com/t/button-effects/23150
**Category:** flash
**Created:** [June 13, 2003, 5:03pm UTC](https://forum.kirupa.com/t/button-effects/23150 "2003-06-13T17:03:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![SBV](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SBV](https://forum.kirupa.com/u/SBV)
#### Post date: [June 13, 2003, 5:03pm UTC](https://forum.kirupa.com/t/button-effects/23150/1 "2003-06-13T17:03:11Z")

</div>

Two button effects that i would like to know…

I searched…

Anyway, when you take mouse of a button with a movieclip on the over part of the button, how do i make it like fade out or play another movie clip?

On mouse over, how do you make text appear somewhere else on the page, like in a bar.

---

<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: [June 13, 2003, 5:09pm UTC](https://forum.kirupa.com/t/button-effects/23150/2 "2003-06-13T17:09:58Z")

</div>

I’m not sure what you mean in your first question, but for your second you can use this:

[AS]  
on (rollOver){  
\_root.textbox = “Somethingsomething”;  
}  
[/AS]

---

<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: [June 13, 2003, 5:11pm UTC](https://forum.kirupa.com/t/button-effects/23150/3 "2003-06-13T17:11:08Z")

</div>

The first one: Usually requires the use of another movie clip, placed over the button. It’s invisible until triggered by the mouse moving out, whereby the AS tells it to ply, showing the fade…

The second one: Use an onRollOut() action, and inside target the required movie clip using the dot notation, eg: [AS]on (rollOut) {  
\_root.mymovieclip.gotoAndPlay(1);  
}[/AS]

---

<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: [June 13, 2003, 5:27pm UTC](https://forum.kirupa.com/t/button-effects/23150/4 "2003-06-13T17:27:01Z")

</div>

> 

The second one: Use an onRollOut() action, and inside target the required movie clip using the dot notation, eg:  
[AS]on (rollOut) {  
\_root.mymovieclip.gotoAndPlay(1);  
}[/AS]

Wasn’t it on mouse over ? not mouse out ? Or am I just losing my common sense ( could be cuz I just put it in the freezer dumb browser DIE !)

---

<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: [June 13, 2003, 5:31pm UTC](https://forum.kirupa.com/t/button-effects/23150/5 "2003-06-13T17:31:38Z")

</div>

I recomment using the hitTest function, because rollOut or mouseOut (not sure that exists :trout:) are sometimes a pain in the arse…

---

<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: [June 13, 2003, 5:57pm UTC](https://forum.kirupa.com/t/button-effects/23150/6 "2003-06-13T17:57:46Z")

</div>

I mean when i put mouse over button, information comes up in a different box, like at bottom of page…

---

<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: [June 13, 2003, 6:22pm UTC](https://forum.kirupa.com/t/button-effects/23150/7 "2003-06-13T18:22:53Z")

</div>

You’ll have to make a textbox for that, give the var & instance name textbox and apply the code I gave ya to the button for that I think. Right ? Cuz Kit got me all confused.
