views:

254

answers:

3

Hi I'm building an as3 only web application and want to be able to include external html content within a flash 'window'. In AIR there is the flash.html.HTMLLoader class which makes this possible.

Can anyone point to an example of this being done in a flash as opposed to AIR application?

A: 

I know the Dynamic Text object in the visual editor has a property to support HTML formatting. You will just use URLRequest and URLLoader classes to get your data, then stuff it in the textbox. I don't know if this is robust enough for you, but I can't find any other way to do this. Please let us know if you do.

iandisme
A: 

Eco_bach,

I try to do the same think as you : inculde an external html content within a flash window. I wanted to know if you have succed this ? And if yes, could you like to show me your as3 script ? Thank you

matewstqr
A: 

For loading the HTML content, i really recommend you BulkLoader.

To display the html, just use TextField with htmlText. But please, be aware that just some tags are supported.

Frangossauro