Flex Mxml and property as string, escaping? Help
2 answers
You can use ActionScipt, for example, in the createComplete event handler and assign the tooltip to you, and you won't have the same limitations as in MXML.
But you can also avoid these limitations in MXML with CDATA:
<mx:Image id="img" source="foo.jpg" width="50" height="50">
<mx:toolTip>
<![CDATA[\foo{\bar} or any usually forbidden characters as <, >, &, "'"...]]>
</mx:toolTip></mx:Image>
+2
source to share