[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

Clear text input boxes

I am very new to Flash.  I downloaded a template and am modifying it as best I can.  There are some text input boxes on the screen that have a "clear" and "send" graphic.

I can't seem to get the code right for the clear button to actually clear anything.  I have tried some helpful code that I found here on EE, but I guess that I just don't know enough about Flash yet.  Please walk me thru with baby steps..

The source file is

http://www.fiberfilmfestival.com/film5.fla

Thank you very much,
Kevin
0
Kevin
Asked:
Kevin
  • 3
  • 2
1 Solution
 
KevinAuthor Commented:
Oops, sorry about the link.  It is

http://www.fiberfilmfestival.com/page5.fla


0
 
BillystyxCommented:
well, this works on the button,
on(release){
      _level0.instance34.realname="";

}
but I am trying to figure out why you can't reference it with its instance name ...

Billystyx
0
 
BillystyxCommented:
you can go into your emailform mc, and change the variables names to
_root.realname etc
then on the button ...
on(release){
    realname="";
//and the rest
}

Billystyx
0
 
KevinAuthor Commented:
Thanks very much.  Since you are on a roll (and familiar with the file), I just posted another question about the "send" button and problems that I am having with it...
0
 
BillystyxCommented:
glad to help:)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now