When I check it, it comes up with no errors. Everything else works fine, but when I go to check....well, no matter what I always lose, even though everything is correct.
Am I missing something? Or does this not actually work in Flash 8?
Thats not correct way to check for equality. You are assigning values with "=" so it always returns true and you never get to lose frame. The code in your first post works, but you need to make sure all the variables are actually strings. Check the values of all those m1v... m11v...ru1v. Also use trace before if statement to make sure one and two are correct:
Tried it with var, trace for each and still no go. now I always end up at "lose" regardless. Trued exporting as AS1, AS2, no difference. Publish as Flash 6 and 7 and it works.
I appreciate your guidance, but still no go in flash 8. File attached
Any other ideas?
TIA
Time for some coffee.........
Last edited by designforce; 09-17-2005 at 11:10 AM.
Reason: attaching file
I used the trace method and this is what it revealed: In flash 6 and 7 it returns the words - maintenance and runway, however using flash 8 it returns: <TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">m</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">a</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">i</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">n</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">t</FONT></P> and more but I cut it off.
What is going on. The input text fields are not set to HTML, so this is rather puzzling and frustrating.
In Flash8 you should not use text field variables, instead you should use text field instance names. This will work (I used toString() to convert undefined values to empty strings):