all groups > flash (macromedia) > december 2006 >
You're in the

flash (macromedia)

group:

'Layering' html/css over a flash file (flash aplet as background)


'Layering' html/css over a flash file (flash aplet as background) swedemily
12/28/2006 10:17:46 PM
flash (macromedia):
so i know VERY little about website design and html/css/flash blah blah - but i
was wondering if anyone knew if it's possible to create a .swf flash file and
use it as a background on a webpage - i.e. put links and text over it using
html and such rather than creating them in flash. am i talking crazy?
Re: 'Layering' html/css over a flash file (flash aplet as background) urami_
12/29/2006 8:35:36 AM


[quoted text, click to view]

not talking crazy just talking impossible :)
You just can't make Flash as html background.

--
Best Regards

Urami


--

!!!!!!! Merry Christmas !!!!!!!
&
Happy New Year


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
Re: 'Layering' html/css over a flash file (flash aplet as background) swedemily
12/29/2006 3:51:40 PM
Re: 'Layering' html/css over a flash file (flash aplet as background) cinemaguy
12/29/2006 5:17:23 PM
Actually I have to disagree with urami_ on this one. <div
id="flashcontent"></div><div id="maincontent"></div>

Set the two divs to have either a postion of relative or absolute. Set the
z-index of the maincontent to 1 and set the z-index of flashcontent to 2 and
you have now layered your maincontent on top of your flash content.

I'm not sure why you would want to do this but it can be done.

----> dangit! ok, so how hard is it to make a search bar in flash that will
search an otherwise html page?

Well to quote urami_ "not talking crazy just talking impossible :)"
Re: 'Layering' html/css over a flash file (flash aplet as background) Thomas Unger
12/29/2006 6:26:23 PM
cinemaguy;
Actually that will not work without also specifying the wmode parameter
& attribute for the swf to be opaque or transparent as well, and it may
bring other problems... If the OP meant to use a flash swf as a background
image for a div or table etc, afaik Urami is quite correct in reporting that
as "impossible"... -Tom Unger

AddThis Social Bookmark Button