Set Flash as background of a website .?

  • zz-man
  • Born
  • Born
  • zz-man
  • Posts: 4
  • Loc: Lahore-Pakistan

Post 3+ Months Ago

OK its a weired question... can we set flash movie file as a background of an HTML document ... if yes HOW ?? and if NO why and how can we ??
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Heart
  • Expert
  • Expert
  • User avatar
  • Posts: 633
  • Loc: Welcome To, Crazy World!

Post 3+ Months Ago

why would you want to? It would take a butt load of time to load.. Why don't you just program the html in Flash?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

As the background attribute itself I don't think so.
As a layer under everything else yes, as long as you set the window mode to opaque when publishing.

Code: [ Select ]
<div style="position:absolute; left:0px; top:0px;>
.......FLASH.........
</div>

<div id="content">
........content
</div>
  1. <div style="position:absolute; left:0px; top:0px;>
  2. .......FLASH.........
  3. </div>
  4. <div id="content">
  5. ........content
  6. </div>
  • neilio_omnipotent
  • Born
  • Born
  • neilio_omnipotent
  • Posts: 4
  • Loc: ENGLAND! - and I don't like football/soccer...

Post 3+ Months Ago

I tried something similar in dreamweaver (*looks down in shame*)
I put everything on the site in a layer over a flash movie (some fancy spinning stars) but the flash movie always got shown over the text, I didn't look at the script though, still I prefer to load the text into the flash movie these days, then I can do more with it... :D
  • zz-man
  • Born
  • Born
  • zz-man
  • Posts: 4
  • Loc: Lahore-Pakistan

Post 3+ Months Ago

well thanks all i did find the answer to it
and 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, and after the code for your flash project, put


<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.

here is the url of the person who told me and has done it ]

http://www.window.auckland.ac.nz/onlineproposal.php

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.