I checked, and "this.foo = 'Jason Lutes';", "this.foo = 'Jason Lutes';", 
and "this.foo = 'Jason Lutes';" all display the non-breaking space just 
fine (foo is my TextField variable).

Note: I included the non-breaking space with the embedded characters via the 
Properties panel, as well as enabled HTML for the field, etc.

Either I misunderstood the trouble you're having, or your issue is apparently 
not whether the text field can display these via the outdated/legacy variable 
mechanism. It can, and very easily/straightforward.

When you trace the value of the htmlText property of the field to the Output 
window, is the nbsp character, or it's entity (encoded equivalent), still in 
the text?

Related: Aside from the five (required) XML-specific character entities, don't 
use the mnemonic entities, use a numeric entity (either decimal or 
hexadecimal). For example, the copyright symbol should be inserted as © or 
© (when using an entity at all), not as ©.


-
Jason
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to