Saturday 15 May 2010

arrays - AS3 How to add multiple user input in a textfield -



arrays - AS3 How to add multiple user input in a textfield -

i have movieclip called (ps1) input textfields within i.e.( name, address, phone number... etc)

and have textfield box called (newtext) receive user input input textfields.

1.how can save multiple user inputs newtext?

thank you

you can that:

name.addeventlistener(event.change, onupdate); address.addeventlistener(event.change, onupdate); phone.addeventlistener(event.change, onupdate); function onupdate(e:event):void { newtext.text = "name: " + name.text + " adress: " + address.text + " phone: " + phone.text; }

arrays actionscript-3 text input

No comments:

Post a Comment