Skip to main content
August 25, 2006
Question

Unwanted HTML in Input Text

  • August 25, 2006
  • 2 replies
  • 313 views
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?



This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
August 30, 2006
post a link to your fla and specify the location of your textfield and its code.
kglad
Community Expert
Community Expert
August 26, 2006
your textfield is html-enabled. if you created your textfield in the authoring environment make sure you're not enabling html, kerning is zero and you're not using a system font.
August 29, 2006
Well, it doesn't appear to have HTML-enabled turned on, there's no kerning, and it's in Arial. Is that the issue?

If so, how can I get just the text out of there, as it's got to remain Arial to match the screen it's simulating being on?

Thanks again.