ah not at the pc with it on atm, i already tried the .text thing and that didnt work but im pretty sure the instance name doesnt store the value, its the variable which does this . . running trace like i said has my variable with data in it, just not the entered data, it seems to be storing the box's formatting properties :S
thanks for reply, will get back to pc in next hr and give it another go with the instance name to be sure ,thanks!
edit: putting the .text doesnt display all of the formatting code but running atrace now says that its undefined. using instance names give me the _level0.input
this is based on a textfield with instance name and var name of "inputstring", which in my opinion isn't a good idea to have the same names, maybe alter one of them just slightly.
A 747 was halfway across the Atlantic when the captain got on the loud speaker, "Attention, passengers. We have lost one of our engines, but we can certainly reach London with the three we have left. Unfortunately, we will arrive an hour late as a r esult." http://www.mmomesos.com/mesos/Maple-Story-NX-US.html
Shortly thereafter, the passengers heard the captain's voice again, "Guess what, folks. We just lost our third engine, but please be assured we can fly with only one. We will now arrive in London three hours late."
At this point, one passenger became furious. "For Pete's sake," he shouted, "If we lose another engine, we'll be up here all night!" http://www.mmohome.com
Erm . . thanks for the replys guys but i dont want to initialise the string manually or hard code it. the user will enter their text string into an input box, i want this string to be stored as a variable to be saved in the program for later. when i do this and assign the string to a variable this is actually stored in the tempvariable i create
So its actually storing the "3" i typed into the box BUT storing all this formatting junk as well. this is actually working but of couse when i say if(text = "3") for example its always going to be false as text is actually equal to <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="29" COLOR="#000000" LETTERSPACING="0" KERNING="0">3</FONT></P></TEXTFORMAT>
Now there is a cheap work around and i say if(text ="<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="29" COLOR="#000000" LETTERSPACING="0" KERNING="0">3</FONT></P></TEXTFORMAT>") it works . . but that is crazy!
EDIT: NM the above actually works but i didnt think id have to initialise the code elese where.
thank you once again flash kit! I can carry on my development of a good idea i think i have for work. I will be posting more as its been a while since i programmed properly! .
ive figured it out, thanks beard! im using the instance name thing and initialising the boxes in frame 1 of the file and then using a button to verify the data, working pretty good!
Ill be opening up a new post about reading files from a notepad into flash next, ill just do at leasta days worth of searching the net before i start spamming questions.
thanks again people . . just need a kick start back into this kind of work, as ive said above, its been a while!