|
MENI
|
Main /
FlashMovieAsBackgroundMain.FlashMovieAsBackground HistoryHide minor edits - Show changes to markup Added lines 1-37:
Flash Movie As Background? - - Is it possible? Flash Movie As Background? yes, it is possible. the way you do it is through css layers. With css you can specify content to be on different 'layers' and those layers can overlap. so, publish your flash project as per normal, then in the html code of your page, if you want you can set your flash file's background to transparent, that would be good. Just add a new parameter to the flash object code in your HTML document: <param name = "wmode" value="transparent"/> then again in your embed tag: <embed src="1.Swf" width="500" height="400" quality="high" wmode="transparent"> keep in mind that setting your flash movie to transparent requires more video processing power, so users with slower computers may have problems with it. Personally I'd just live with the white box. It would only be there for a fraction of a second (make sure when you publish your flash file you publish it to load "top - down" otherwise the white box will stay there until your entire movie's loaded. ok after that <div id="layer" style="position:absolute; width:'100%'; height:'100%'; z-index:100; left: 1px; top: 1px"> content goes here including tables, images, all sorts etc </div> Of course, you'd want to publish your flash project with the settings 'exactfit', 100% width and 100% height. To fill the screen completely. And then, to make the flash project extend to the margins of the page change the <body> tag to include these bits: <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginheight="0" marginwidth="0"> the only issue is with mac os 9 or earlier, where you get the content overtop and the flash layer below madly fighting it out. but in newer ver. It's working fine. http://www.Thesquarefestival.Com/ |