English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

You can defiantly move the text without the box. Heres the overall process (what should happen at runtime) you'll need:

1) put whatever text box you want the text to start in on the stage [you can put both if you want, its your choice.. you need at least 1 though]

2) declare a string but dont set it

3) Im guessing you want to capture user input so make your text box hold dynamic text and format it as an input box.

/** its good to stop after small steps so that youre not trying to debug everything at once. So this is a good place to stop and make sure your swf file has a text box that accepts user input at runtime.

4) get your program to read the input after its been put in the text box. Text boxes have a value just like any other variable. You can declare that value while writing the code or you can have it determined at runtime. This is the key. You capture whatever value that the text box has (maybe textField.text or something similar) and ...

5) Store this value into that empty string you declared earlier.

6) as you have probably already guessed.... set your other text box to the value of the string you have declared ( which holds the value that the text field has.... which is the string that was put into it.)

7) this should transfer the value between text boxes like you want.



By the way I hope you like actionscript because thats what you need in order to do all this.


remember, treat the text that is in a text field as the value for that field. thats what makes it possible to do something like this fairly easily.

2007-02-14 07:36:17 · answer #1 · answered by bonesawosu 2 · 0 0

do you mean during animation?
Not sure but i think you can only move the actual text boxes not the text inside them.

2007-02-07 11:00:42 · answer #2 · answered by Brady 3 · 0 0

fedest.com, questions and answers