This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > April 2006 > Integrating HTML





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Integrating HTML
bB_

2006-04-05, 6:46 pm

i nd help integrating html into flash. I want to load a html page...into a
flash .swf to make the website i am designing all in the one window. Is it
possible to do this? any help would be appreciated!

Optyx_Productions

2006-04-06, 6:44 pm

this situation doesn't appear to be feasible inside of flash. Flash does not
apparently support viewing html in side of it but you can set up your html or
other page source that you might be using to make flash actively affect the
page. Try using frames without borders and you should see results

bB_

2006-04-07, 6:31 pm

thanks for the help. maybe this is a feature macromedia should think about
incorporating into flash. it would make sense considering HTML is a major part
of creating websites!!! I know what your getting on about with no
frames...thanks for the assist.

Ruben

2006-04-08, 6:32 pm

I can absolutely understand why macromedia hasn't integrated a
html-engine into the flashplayer. First, the flashplayer-plugin is made
so that browsers can interpret flash-files, not the other way around.
Second, it'd bloat the plugin-size like crazy, I don't even wanna think
about it.

That being said you do have two alternatives:

A) If the html-code you want to display in your swf is really really
really basic (as in <b>, <u>, <i> and <a href> basic) you can use the
XML-object and display it in a dynamic textfield. Check it out:
http://www.nwebb.co.uk/nw_htmlsite/...ial=css1&part=1
http://www.nwebb.co.uk/nw_htmlsite/...htmlcss1&part=1
Note that the table-tag isn't allowed, but there have been created
several really good workarounds for that.

B) Assuming your html isn't that simple I would recommend using layers
(<div> ). Place your swf on one layer, and the html you originally
wanted in your swf on another layer. The latter would need to be placed
on top of the swf-layer, I think you can figure out how to do that
yourself..


Good luck!

- Ruben

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews