# Hello, another quick problem

**URL:** <https://forum.kirupa.com/t/hello-another-quick-problem/2973>\
**Category:** flash\
**Created:** [February 22, 2002, 8:45pm UTC](https://forum.kirupa.com/t/hello-another-quick-problem/2973 "2002-02-22T20:45:24Z")\
**Posts on this page:** 6\
**Page:** 1

<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:** [February 22, 2002, 8:45pm UTC](https://forum.kirupa.com/t/hello-another-quick-problem/2973/1 "2002-02-22T20:45:24Z")

</div>

ok i have these buttons i’m working on, and i’m using telltarget to make mouse rollover and rollout effects. But how can i make it, so when i push something, that button slides in and stays, and when i hit another button, THAT button slides out, and a new one slides in?

---

<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:** [February 23, 2002, 5:57am UTC](https://forum.kirupa.com/t/hello-another-quick-problem/2973/2 "2002-02-23T05:57:53Z")

</div>

not really sure wut you mean…can you be more clear and maybe someone will have an answer. show an example…having a button slide in then out and another one slide in…not all that clear ya know?

---

<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:** [February 23, 2002, 1:35pm UTC](https://forum.kirupa.com/t/hello-another-quick-problem/2973/3 "2002-02-23T13:35:36Z")

</div>

ok ummm… i have a box at the top, and the buttons at the bottom. When i click the “News” button i want news text to animate it’s way in the box. i have like 6 buttons, so when i click say “Contact” i want the news text in the box to animate out, and the contact text animate in the box after that. I can make it so they can animate in, but i cannot make it so the text that is currently in the box animates out, and the new one i just clicked animates in. I cannot find an example, but i think this is a little bit more clear.

---

<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:** [February 23, 2002, 2:31pm UTC](https://forum.kirupa.com/t/hello-another-quick-problem/2973/4 "2002-02-23T14:31:33Z")

</div>

thats clear…i understand now…the only way i can think of is with Tell Targets and movie clips. have a rollOver command and a tell target command on the buttons to have the text (thats in a Movie Clip) animate in, and a rollover command to animate out.\r\rI’m not sure if theres another way to do this. someone else might have an idea.

---

<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:** [February 23, 2002, 4:19pm UTC](https://forum.kirupa.com/t/hello-another-quick-problem/2973/5 "2002-02-23T16:19:10Z")

</div>

um, yes thats SORTA what i’m asking, i have my movie doing that right now. but what i want to do is make the text that is currently in the box animate out once i click on something, and the thing i clicked animates in… it’s more complicated than rollover and rollout

---

<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:** [February 24, 2002, 9:00am UTC](https://forum.kirupa.com/t/hello-another-quick-problem/2973/6 "2002-02-24T09:00:42Z")

</div>

You can load different movies in different levels, or simply use a flag : if you press button number 6, set \_root.flag = 6 ; Then when you’ll pres another button, test all the possibilities :

```auto
 if (_root.marker == 1) {\r\r tellTarget("firstclip&quot;) {\r\r gotoAndPlay ("out&quot;) ;\r\r }\r\r}

```

or something like that.\rpom 0]
