Feeds:
Posts
Comments

Archive for October, 2007

Try this program to display Trademark and Copyright symbol in Flex. 
<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.macromedia.com/2006/mxml”>
    <mx:Script>
        var trademarkSymbol = “\u2122″;
        var copyrightSymbol = “\u00A9″;
    </mx:Script>
 
    <mx:Label text=”Macromedia™”/>
    <mx:Label text=”Macromedia™”/>
    <mx:Label text=”Macromedia{trademarkSymbol}”/>
    <mx:Label text=”Macromedia©”/>
    <mx:Label text=”Macromedia©”/>
    <mx:Label text=”Macromedia{copyrightSymbol}”/>
</mx:Application>
Note that you always have to have 4 hex digits following \u. This isn’t
the case with XML &#x escaping because [...]

Read Full Post »