# I Have MAJOR Question

**URL:** <https://forum.kirupa.com/t/i-have-major-question/1598>\
**Category:** flash\
**Created:** [June 11, 2002, 7:56pm UTC](https://forum.kirupa.com/t/i-have-major-question/1598 "2002-06-11T19:56:28Z")\
**Posts on this page:** 5\
**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:** [June 11, 2002, 7:56pm UTC](https://forum.kirupa.com/t/i-have-major-question/1598/1 "2002-06-11T19:56:28Z")

</div>

I need a tutorial or some one to tell me how to to make this in flash:

I need to know the action script and where it goes for:

(example) someone puts ABC in the first text field. Then in another text field, it comes out backwards so it would say CBA when someone presses a button

---

<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 12, 2002, 12:45pm UTC](https://forum.kirupa.com/t/i-have-major-question/1598/2 "2002-06-12T12:45:00Z")

</div>

Well, i was working on something, but my computer froze and Flash shut down. Its been doin that a lot lately. Anyway, I won’t have a file up for you. But take a look at this tutorial:

[http://www.kirupa.com/developer/actionscript/ascript\_text\_animation.asp](http://www.kirupa.com/developer/actionscript/ascript_text_animation.asp)

read the duplication code. Understand it. and then you should have a pretty decent understanding of how to do what you want to do. The only tricky part that I couldn’t quite get, was putting them in the reverse order…

---

<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 12, 2002, 2:01pm UTC](https://forum.kirupa.com/t/i-have-major-question/1598/3 "2002-06-12T14:01:19Z")

</div>

you should take this one to the Actionscript forum…

but, here is your answer.

on(release){

* * *

\_ \_ \_ \_ mystring=inputa; //inputa is the name of inputbox  
\_ \_ \_ \_ i=mystring.split("");//take input and split each word  
\_ \_ \_ \_ i.split(",",i.length);//make an array from each word  
\_ \_ \_ \_ i.reverse();//reverse the array  
\_ \_ \_ \_ myvar=i.join("");//join array itms together in string  
\_ \_ \_ \_ //myvar is var for dynamic text box  
}

Hope it helps!

---

<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 12, 2002, 2:18pm UTC](https://forum.kirupa.com/t/i-have-major-question/1598/4 "2002-06-12T14:18:23Z")

</div>

never new about the reverse()

where did you get that code from?

---

<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 12, 2002, 7:11pm UTC](https://forum.kirupa.com/t/i-have-major-question/1598/5 "2002-06-12T19:11:21Z")

</div>

reference in MX. 🙂
