Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why won't something like this work.

Status
Not open for further replies.

janet24

Technical User
Jul 22, 2003
161
US
Why won't something like this work...

inputone is the instance name of input type
DTSS would be what they would type in but nothing happens when I type it in.

Should I be using the variable...when I name the variable and put it in the code it doesn't work either.



on (release) {

if (inputone == "DTSS")
{
_root.onecorrect._alpha = 100;
_root.oneincorrect._alpha = 0;
gotoAndPlay(10);
}
}
 
never mind...it just worked when I used the variable. I tried it before and it didn't work. I guess I was using = instead of == at that point..

Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top