PDA

View Full Version : Input box problem


andrewPage199
09 October 2009, 03:12 AM
I dont know if any of you here can help me.

I have an Input box on my flash app, ive assigned the variable "screenname" to it. But whenever I preview the app, inside the app it says "_level0.screenname".

Is this just a test thing only included in testing or will this export into the final program? And how do i get rid of this.

Thanks.

pinapple
09 October 2009, 03:54 AM
You need to define the variable on the frame. Just put:

_root.variablenamehere = "";

to make it blank or something in it already. Make sure you have the two types of text fields as the same variable name.

andrewPage199
09 October 2009, 04:07 AM
You need to define the variable on the frame. Just put:

_root.variablenamehere = "";

to make it blank or something in it already. Make sure you have the two types of text fields as the same variable name.

Thank you very much!

That worked very well!