A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: This should be simple...but it's not: fields & levels

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    11

    RESOLVED: clearing fields & buttons within movies

    I tried creating a 'clear' button by assigning a movie a button's properties then entering the following code:

    onClipEvent (load) {
    clear.onRelease = function() {
    name_txt.text=""
    email_txt.text=""
    phone_txt.text=""
    message_txt.text=""
    }
    }

    I then tried placing a _parent at the beginning, and that didn't work either.

    Now I am wondering if it has something to do with levels - not sure how to use them though.

    NB: the movieclip/button is contained within another movieclip (movie1), the fields are also in movie1. If that helps at all...

    any ideas would be greatly appreciated xx
    Last edited by exanegotium; 12-17-2004 at 12:51 AM.

  2. #2
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    Hi exanegotium ..
    Put a button within the movie
    Check this fla i made ....it should help you ....

  3. #3
    Junior Member
    Join Date
    Oct 2004
    Posts
    11
    Originally posted by hum
    Hi exanegotium ..
    Put a button within the movie
    Check this fla i made ....it should help you ....
    Thank you I will look at it now!
    xx

  4. #4
    Junior Member
    Join Date
    Oct 2004
    Posts
    11

    Hooorahhhh!

    It worked - thank you so much!

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