Skip to main content
September 10, 2013
Answered

Less than character in strings not showing?

  • September 10, 2013
  • 2 replies
  • 703 views

Hi

Maybe I'm forgetting something about strings here, but I cannot get the < character to appear in a string. Also, any characters after the < in the string don't show. I have tried escaping it like \<, but no go.

I have punctuation embedded in the font.

Anyone know?

Thanks for taking a look.

This topic has been closed for replies.
Correct answer Rothrock

I think this has been around for a long time. I usually end up replacing it with &lt;

2 replies

RothrockCorrect answer
Inspiring
September 10, 2013

I think this has been around for a long time. I usually end up replacing it with &lt;

Adobe Employee
September 10, 2013

Hey,

I work on the flash Runtime team and we'd like to investigate your problem further.

Could you please open a new bug report on this over at https://bugbase.adobe.com/ ? When adding the bug, please include sample code so we can quickly test this out internally.

If you would like to keep this private, feel free to eail the attachment to me directly and I will attach it to the bug for internal use only.

September 11, 2013

After reading Rothrock's answer, I realised I'm specifying myfield.htmlText = "...

So naturally, the < will break it, due to it being htmlText

Using &lt; in it's place fixed to the problem.

Thanks to both of you!