Yes, as Harish told we can use <img src ...>
Here is the one i have wrote

*<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">
<mx:Script>
    <![CDATA[
    [Bindable]
        public var Str:String = '<img src="assets/allBtn_hover.png"/>'
    ]]>
</mx:Script>
    <mx:RichTextEditor id="rte" x="33" y="27" title="Title"
htmlText="{Str}">
    </mx:RichTextEditor>
    <mx:Text x="397" y="27" text="{Str}" width="270" height="238"/>
</mx:Application>*

@Harish
Is there any method to wrap the text in mxml? Something like *<![CDATA[*
for script.


On Mon, Aug 10, 2009 at 2:58 PM, [email protected] <
[email protected]> wrote:

>
> an <img src ...> should work - but it is known to have issues with
> text wrapping.
>
> On Aug 6, 5:24 pm, rajh <[email protected]> wrote:
> > I want to insert a image(url image ) in the rich text editor .How to
> > do it.Is there any sample code
> >
>


-- 
Regards,
Preetham Hegde


_______________________________________________
We are here to add what we can to life, not to get what we can from life.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to