FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

HTML documents in Flash

 


RoughitforGreen247
I've been looking around and I haven't seen anything on this.

Is there any way to display entire HTML webpages in Flash? Or is there a way to pass enough into a Flash document to make a substantial content page?

Thanks in advance.
LukeakaDanish
Of course it is possible to do your entire page in flash, however it i very much recomend NOT doing it. Flash may look good but from a SEO point of view, it sucks - this means less visitors...

Also flash sites usually take longer to load than HTML and many users may not be able to view them properly. (my old school had computers without flash...Sad)
Kaneda
RoughitforGreen247 wrote:
I've been looking around and I haven't seen anything on this.

Is there any way to display entire HTML webpages in Flash? Or is there a way to pass enough into a Flash document to make a substantial content page?

Thanks in advance.


Flash has some (mediocre) support for displaying HTML with a tiny bit of CSS, by setting a text field to HTML, and assigning the HTML as a string to TextField.htmlText. It supports something like: <p>, <br>, <i>, <b>, <u>, <span>, <li>, <img>, and not much else. Pretty much no attributes, and only a few css properties (text-align, font-size, text-decoration, margin-left, margin-right, font-weight, font-style, text-indent, font-family, color and display).

If you want to display "real" XHTML (and XML), have a look at DENG:

http://claus.packts.net/

Has much better support for CSS than IE6.

But, in any event, it's usually better to combine plain old HTML/CSS with embedded flash for the spots where you need it. Even Flash 8 with its "improved text rendering" makes inferior, less readable text, than any browser.
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.