Question
Unwanted HTML in Input Text
I'm working on an existing Flash document that has a button
that contains an input text field who var is set to
descriptionInput. The following ActionScript is attached to the
button:
on (keypress "<Enter>")
{
if (descriptionInput == "girl looking")
{
gotoAndPlay("002-08");
}
else
{
comment = "Please type girl looking and press Enter.";
}
}
Since it wasn't working, I did some tracing and found that descriptionInput is being returned as quoted below. In other locations with the exact same structure, there no HTML coming back. What freaky little setting am I just missing here?
on (keypress "<Enter>")
{
if (descriptionInput == "girl looking")
{
gotoAndPlay("002-08");
}
else
{
comment = "Please type girl looking and press Enter.";
}
}
Since it wasn't working, I did some tracing and found that descriptionInput is being returned as quoted below. In other locations with the exact same structure, there no HTML coming back. What freaky little setting am I just missing here?