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/


Re: Flex Installer - Air 29 - OSMF Fail (Windows)

2018-04-07 Thread Carlos Rovira
Hi search in the list since there's a problem with OSMF downloads, and
various threads.
I think Piotr exposed and alternate way to download in some thread





2018-04-07 19:00 GMT+02:00 Nisaba :

> Hi,
>
> I get the same error, whatever the flex sdk or air version I choose.
> The problem occurs with 2 different PCs and 1 Mac.
>
> Please see Picture.
> I'm not very fluent with Ant, so any help is welcome.
>
> 
>
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>



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


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


Re: Flex Installer - Air 29 - OSMF Fail (Windows)

2018-04-07 Thread Piotr Zarzycki
Exactly. In this thread you have alternate instruction how to download SDK.

There is also a chance that I soon will be working in fixing that stuff in
installer - At least for Windows.

I see that on Mac it almost doesn't occur. Am I right?

Carlos can you try on your Mac download SDK 4.16.1 and Adobe Air 29 using
installer?

Thanks,
Piotr

On Sat, Apr 7, 2018, 20:37 Carlos Rovira  wrote:

> Hi search in the list since there's a problem with OSMF downloads, and
> various threads.
> I think Piotr exposed and alternate way to download in some thread
>
>
>
>
>
> 2018-04-07 19:00 GMT+02:00 Nisaba :
>
> > Hi,
> >
> > I get the same error, whatever the flex sdk or air version I choose.
> > The problem occurs with 2 different PCs and 1 Mac.
> >
> > Please see Picture.
> > I'm not very fluent with Ant, so any help is welcome.
> >
> > 
> >
> >
> >
> >
> > --
> > Sent from: http://apache-flex-users.246.n4.nabble.com/
> >
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>