# RollOut

**URL:** <https://forum.kirupa.com/t/rollout/15799>\
**Category:** Uncategorized\
**Created:** [March 18, 2003, 5:38am UTC](https://forum.kirupa.com/t/rollout/15799 "2003-03-18T05:38:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cheez00](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@Cheez00](https://forum.kirupa.com/u/Cheez00)\
**Post date:** [March 18, 2003, 5:38am UTC](https://forum.kirupa.com/t/rollout/15799/1 "2003-03-18T05:38:39Z")

</div>

[http://www.kirupa.com/developer/flash5/advroll.htm](http://www.kirupa.com/developer/flash5/advroll.htm)

can somone put those codes in MX for me please

---

<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:** [March 18, 2003, 5:40am UTC](https://forum.kirupa.com/t/rollout/15799/2 "2003-03-18T05:40:26Z")

</div>

Well it should all still work in Flash MX as is.

But starting with Flash 5 (urks me that this tutorial still uses it) tellTarget has been deprecated (fazed out).

[AS]tellTarget ("/rollover") {  
gotoAndPlay (“1text”);  
}[/AS]

Should be…  
[AS]rollover.gotoAndPlay(“1text”);[/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:** [March 18, 2003, 5:54am UTC](https://forum.kirupa.com/t/rollout/15799/3 "2003-03-18T05:54:00Z")

</div>

woot thanks!

---

<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:** [March 18, 2003, 5:55am UTC](https://forum.kirupa.com/t/rollout/15799/4 "2003-03-18T05:55:09Z")

</div>

No problem.

---

<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:** [March 18, 2003, 6:13am UTC](https://forum.kirupa.com/t/rollout/15799/5 "2003-03-18T06:13:16Z")

</div>

sorry im not too good at action script can you copy the whole code for the first button please

---

<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:** [March 18, 2003, 6:17am UTC](https://forum.kirupa.com/t/rollout/15799/6 "2003-03-18T06:17:50Z")

</div>

```auto

on(release){
    rollover.gotoAndPlay("1text");
}

```

🙂

on(release){} is an event handler. What that means is that anything inside it’s “{}” gets fired when that event occurs. You can place as many or as few commands in there as you like. The “rollover.gotoAndPlay(“1text”);” is just a call to an object with a method attached to it. broken down it is like so.

“rollover” the name of the object you’re calling to  
“.gotoAndPlay();” a method telling the object to do something  
“1text” the name of a frame.

---

<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:** [March 18, 2003, 7:05am UTC](https://forum.kirupa.com/t/rollout/15799/7 "2003-03-18T07:05:41Z")

</div>

ahh ic, so does it mater where the {} are? as long as ther ein front and after

---

<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:** [March 18, 2003, 8:13am UTC](https://forum.kirupa.com/t/rollout/15799/8 "2003-03-18T08:13:39Z")

</div>

ok i put those exact aciton in the first buton and the effect works when the mouse is released, like on release as noted in the code, but not when the mouse goes over it, and the fade away text doesnt work when the mouse leaves, if somone could download the fla and put that code in and check it it would be reall helpful thanks

---

<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:** [March 18, 2003, 8:17am UTC](https://forum.kirupa.com/t/rollout/15799/9 "2003-03-18T08:17:07Z")

</div>

w0 ta tha izoot i got it!! haha im the man… 😉 thanks guys so much you guys are the best I LOVE YOU1!!!

---

<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:** [March 18, 2003, 8:21am UTC](https://forum.kirupa.com/t/rollout/15799/10 "2003-03-18T08:21:06Z")

</div>

Congrats on solving the problem on your own 🙂 Doesn’t it make you feel all warm and fuzzy inside 🙂

Glad we could help in the first place.
