PDA

View Full Version : Setting text from input box to dynamic...



emeX
July 15th, 2003, 08:29 PM
Is there a way to display text in a dynamic text field taken from a input text field?

Danneman
July 15th, 2003, 08:45 PM
Im pretty sure that would work, but youll need to update the flash-file after having put in the text (ex. use an "update"-button).

Ex:

on (press){
txtBoxDynamic.txt = txtBoxInput.text;
}

claudio
July 15th, 2003, 08:51 PM
You want it to be syncronized? (as you type in the input text it will appear in the dynamic textfield?)

emeX
July 15th, 2003, 08:52 PM
it would be better but not necessary

claudio
July 15th, 2003, 08:58 PM
Here

kode
July 15th, 2003, 09:41 PM
inputTextField.onChanged = function() {
dynamicTextField.text = this.text;
};
http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary752.html