Groups | Blog | Home
all groups > flash actionscript > january 2004 >

flash actionscript : On(click) to clear a several TextInput fields


xj1inatl
1/12/2004 10:28:10 PM
Version: Flash MX 2004

I am new to Flash but using examples on the Macromedia site I have build a Webservice client to work with a search and find SOAP service. I have two buttons, one "Submit" and the other "Clear". The "Submit" button works great using the "On(click)" function. What I want to do now is clear all of the fields (both inbound and outbound) when the user presses the "Clear" button. I have looked in the archives but I didn't see one that used the "On(click)" function.


Thanks in Advance,

Frank

-A Flash newbie-

kglad
1/13/2004 7:20:33 AM
attached to your clear button you can use:
textfieldinstancename.text="";

AddThis Social Bookmark Button