This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > June 2004 > embedding html pages into flash





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 embedding html pages into flash
abrazendale

2004-06-17, 12:15 pm

Hi folks,
I was wondering if there was anyway to embed html files into a flash file. For
example, im designing a site that has several sections, and for the content
would like the flash show to display a web page within the movie itself. Can
the flash movie call an external .html file and display it within the movie,
not in a new window? or is this not possible?

Thanks for your time,

Alan

privatenews.microsoft.com

2004-06-17, 12:15 pm

simply No, if you require flash to be present constanly you can cheat and
use frames!

flash supports a very limited set of html tags,

"abrazendale" <webforumsuser@macromedia.com> wrote in message
news:cas0r2$ska$1@forums.macromedia.com...
> Hi folks,
> I was wondering if there was anyway to embed html files into a flash

file. For
> example, im designing a site that has several sections, and for the

content
> would like the flash show to display a web page within the movie itself.

Can
> the flash movie call an external .html file and display it within the

movie,
> not in a new window? or is this not possible?
>
> Thanks for your time,
>
> Alan
>



anishu

2004-06-17, 12:15 pm

i don't think inside the flash movie u can open an html file.
better integrate ur movie with an XML file, flash can read XML files and also
able to display contents.
http://www.multidmedia.com/software/flashstudio/

abrazendale

2004-06-17, 12:15 pm

thanks guys, think i'll go down the XML road..

Thanks for your time!
Retroboy_mx

2004-06-20, 12:14 pm

Hi!!

You only need work with Flash MX 2004 html textfield and a little function to
this,

Example:

Remenber that the textfields not work with all the html tags. But now in Flash
MX 2004 img tag are suported and css styles works fine

;-D

Happy Retro Flash.



function loadPage(page:String){
var pageHTML = new XML();
pageHTML.ignoreWhite = true;
pageHTML.onLoad = function(){
window_txt.htmlText = this;
}
pageLoader.load(page);
}


loadPage("home.htm");

Sponsored Links


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