I found this example:

http://www.java2s.com/Code/Flex/Development/EmbedimageintohtmlanddisplayitwithRichText.htm

<mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml"; 
     
    xmlns:s="library://ns.adobe.com/flex/spark">
    
    <mx:Script>
        
            import spark.utils.TextFlowUtil;
            
            [Bindable]
            public var txt:String = "<div>" +
                " " +
                "<p>this is a test" + "bold" +
                "</p></div>";
      
    </mx:Script>
    <s:Graphic x="10" y="10">
        <s:RichText width="400" height="60" 
                    columnCount="4"
                    fontFamily="Helvetica"
                    textFlow="{TextFlowUtil.importFromString(txt)}"
                    />
    </s:Graphic>
    
</mx:Application>

Where in the project structure should the folder assets with the icon.png be
located? 





--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/

Reply via email to