Skip to main content
Known Participant
February 21, 2010
Question

Unicode syntax

  • February 21, 2010
  • 4 replies
  • 701 views

Hi,

I'd like to use a diamond symbol in the text property of s:Label in Script block; i.e. 'labelID.text ='. The Unicode reference for this symbol is 'F0A8'. How do I enter such Unicode?

Thanks,

FTQuest

This topic has been closed for replies.

4 replies

Adobe Employee
February 22, 2010

Try this:

labelID.text='\uF0A8';

- robin

FTQuestAuthor
Known Participant
February 22, 2010

Thank you, Robin.

This syntax is recognized as Unicode, but it renders just an empty square.

Thank you anyway.

FTQuest

Participating Frequently
February 22, 2010

The empty square probably indicates that whatever font you're using doesn't contain a glyph for that Unicode character.

Gordon Smith

Adobe Flex SDK Team