[RESOLVED] Unwanted HTML Markup in Text Box Value
I've inherited a Flash MX 2004 document that has some text entry points that verify you've entered the right text before continuing or provide you a warning message and urge you to try hard. They're set up like so:
Code:
on (keypress "<Enter>")
{
if (titleInputText == "hoped-for text entry")
{
gotoAndPlay("someNamedTarget");
}
else
{
comment = "Hey--enter hoped-for text entry to continue!";
}
}
Some of them just weren't behaving at all correctly. With some handy-dandy trace() statements, I found that a few of them were returning values that included HTML formating of the text. Instead of getting
I was getting
Code:
<FONT = "Arial">something entered</FONT>
which is causing me all sorts of problems. How on earth can I turn off the HTML tags? Where did it come from?
(Why, yes, I do know just enough to get myself in trouble. Why do you ask?)
Any help would be greatly appreciated on this.