A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: clearing a textfield

  1. #1
    Member
    Join Date
    Nov 2001
    Posts
    35

    Smile

    Hi
    How do I clear a textfield.
    Should be simple.
    I just want the scripting on the CLEAR button.
    tx
    jan@unwembi.co.za

  2. #2
    Senior Member
    Join Date
    Feb 2002
    Posts
    159
    Make sure its a dynamic textfield with a suitable name. You can then place an action on your "Clear" button which sets the value of the text field ( by variable name ) to "" eg.

    onClick() {
    _root.text_field_name = "";
    }

    . . .

  3. #3
    Member
    Join Date
    Nov 2001
    Posts
    35
    thanx to APS

    i ended up using:

    onClick() {
    _root.text_field_name = _blank;
    }



    j

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center