Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there some way to show HTML content inside Flash?

I want to show HTML content inside Flash. Is there some way to do this? I am talking about full blown HTML (with JavaScript if possible).

like image 751
Niyaz Avatar asked Aug 22 '08 17:08

Niyaz


4 Answers

flashQuery supports HTML tags and CSS rules for Flash. It transforms flash into a really browser. Here it is: http://www.flashquery.org/

like image 106
Alex Kondrashov Avatar answered Nov 19 '22 22:11

Alex Kondrashov


You could also try http://motionandcolor.com/

Wrapper is a cross-browser compliant HTML/CSS rendering engine written in ActionScript that sits on top of your standards compliant HTML page.

Javascript might be tricker though.

like image 43
grapefrukt Avatar answered Nov 19 '22 20:11

grapefrukt


Here is a decent article on how to accomplish that.

@Flubba: I didn't say "great" article, I said "decent" - there is a big difference. Besides, no one else had answered and it had been around a while. I figured a "decent" answer was better than none. I am no Flash expert, so...

like image 1
Jason Bunting Avatar answered Nov 19 '22 21:11

Jason Bunting


How complex HTML are we talking about? Simple HTML, like <b> and <i> is supported in text fields if you use the htmlText property. You can also attach a CSS style sheet to the text field for more styling. Have a look at TextField in the Flash API documentation (I'm sure you can just google it).

like image 1
Theo Avatar answered Nov 19 '22 21:11

Theo