Re: Embedd Image into html to display in richText

2018-04-09 Thread chris_flex
Sorry... just pasted the code...

Here as raw text...





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


Re: Embedd Image into html to display in richText

2018-04-07 Thread Carlos Rovira
No icon.png in code right? I think you missed some code in the code

2018-04-07 13:46 GMT+02:00 chris_flex :

> I found this example:
>
> http://www.java2s.com/Code/Flex/Development/Embedimageintohtmlanddisplayit
> withRichText.htm
>
>  xmlns:mx="http://www.adobe.com/2006/mxml";
>
> xmlns:s="library://ns.adobe.com/flex/spark">
>
> 
>
> import spark.utils.TextFlowUtil;
>
> [Bindable]
> public var txt:String = "" +
> " " +
> "this is a test" + "bold" +
> "";
>
> 
> 
>  columnCount="4"
> fontFamily="Helvetica"
> textFlow="{TextFlowUtil.importFromString(txt)}"
> />
> 
>
> 
>
> Where in the project structure should the folder assets with the icon.png
> be
> located?
>
>
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>



-- 
Carlos Rovira
http://about.me/carlosrovira


Embedd Image into html to display in richText

2018-04-07 Thread chris_flex
I found this example:

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

http://www.adobe.com/2006/mxml"; 
 
xmlns:s="library://ns.adobe.com/flex/spark">



import spark.utils.TextFlowUtil;

[Bindable]
public var txt:String = "" +
" " +
"this is a test" + "bold" +
"";
  







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





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