all groups > macromedia flash sitedesign > april 2006 >
You're in the

macromedia flash sitedesign

group:

Integrating HTML


Integrating HTML bB_
4/5/2006 5:30:37 PM
macromedia flash sitedesign:
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!
Re: Integrating HTML Optyx_Productions
4/6/2006 10:27:05 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
Re: Integrating HTML bB_
4/7/2006 4:01:32 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.
Re: Integrating HTML Ruben
4/8/2006 4:59:30 AM
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/index.php?page=browse_tutorial&tutorial=css1&part=1
http://www.nwebb.co.uk/nw_htmlsite/index.php?page=browse_tutorial&tutorial=xmlhtmlcss1&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
AddThis Social Bookmark Button