I'm not sure that works in MXML.  It is standard XML, not XHTML.

Try using the number format instead.  See [1]

[1] 
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_referenc
es

On 2/13/14 5:53 PM, "bgoldnyxnet" <[email protected]> wrote:

>I'm compiling a project that includes a script that controls the game
>progress.  The simplest way I could figure out of putting the script where
>it can be processed at runtime was to store it in a non-displayed mx:Text
>control.
>
>But my text includes character entities like &nbsp; and the compiler
>doesn't
>like that:
>C:\home\barry\flex\GHens\src\GHens.mxml(69): col: 11 Error: The entity
>"nbsp" was referenced, but not declared.
>
>What is the magic spell for putting a non-breaking space (and other
>character entities I may want, like &mdash;) into a text control?
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/How-do-I-put-character-enti
>ties-into-my-text-control-tp4975.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to