# Text box roll in

**URL:** <https://forum.kirupa.com/t/text-box-roll-in/118343>\
**Category:** Uncategorized\
**Created:** [August 4, 2004, 5:08pm UTC](https://forum.kirupa.com/t/text-box-roll-in/118343 "2004-08-04T17:08:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaxies](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jaxies](https://forum.kirupa.com/u/jaxies)\
**Post date:** [August 4, 2004, 5:08pm UTC](https://forum.kirupa.com/t/text-box-roll-in/118343/1 "2004-08-04T17:08:45Z")

</div>

I’m trying to find a tutorial that will show me how to have a text box roll in after a button is pressed. I haven’t been able to find one. I was hoping that someone could point me in the right direction. Thanks!

---

<div class="post-metadata">

**Author:** ![Carixpig](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/carixpig/32/304_2.png) [@Carixpig](https://forum.kirupa.com/u/Carixpig)\
**Post date:** [August 6, 2004, 9:37am UTC](https://forum.kirupa.com/t/text-box-roll-in/118343/2 "2004-08-06T09:37:03Z")

</div>

Are you including “textfield” in your keywords when searching? The movement you require is more commonly used on movieclips, so broaden your search and think in terms of making movieclips roll in after a button is pressed. Also chekc out kirupas tute on movement with AS: [http://www.kirupa.com/developer/mx/ASmovement.htm](http://www.kirupa.com/developer/mx/ASmovement.htm)

---

<div class="post-metadata">

**Author:** ![jaxies](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jaxies](https://forum.kirupa.com/u/jaxies)\
**Post date:** [August 6, 2004, 9:51pm UTC](https://forum.kirupa.com/t/text-box-roll-in/118343/3 "2004-08-06T21:51:10Z")

</div>

I haven’t been including “textfield”, but I will. Thanks. Where can I find that tutorial on making movieclips roll in after a button is pressed?

---

<div class="post-metadata">

**Author:** ![bigbadmilkman](https://avatars.discourse-cdn.com/v4/letter/b/9fc348/32.png) [@bigbadmilkman](https://forum.kirupa.com/u/bigbadmilkman)\
**Post date:** [August 7, 2004, 1:27am UTC](https://forum.kirupa.com/t/text-box-roll-in/118343/4 "2004-08-07T01:27:05Z")

</div>

If you want to get a textbox to move on click of a button, then…

1. make a textbox and convert it into a movie

2. Do your tweening or animation or whatever u want to do with it, make sure theres a stop action on the first and last frame.

3. Drag the textbox onto stage, and give it an instance name of textbox.

4. Create a button and add the following actions

on (release) {  
textbox.gotoAndPlay (2);  
}

Heres an example, hope it helps.

---

<div class="post-metadata">

**Author:** ![jaxies](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jaxies](https://forum.kirupa.com/u/jaxies)\
**Post date:** [August 15, 2004, 10:56pm UTC](https://forum.kirupa.com/t/text-box-roll-in/118343/5 "2004-08-15T22:56:18Z")

</div>

Thank you!
