Page 1 of 1

CSS + Flash

Posted: Sat Sep 13, 2003 1:55 pm
by nigma
Hey, in CSS you can specify a background-image. Can you specify a background animation? Specifically flash?

Thanks guys / gals.

Posted: Sat Sep 13, 2003 7:51 pm
by Vincent Puglia
Hi,

Don't know since I'm not a flasher ;)

Why don't you try it --

background-image : url('somepic.gif')

or something like that

Vinny

Posted: Sun Sep 14, 2003 12:49 am
by trollll
You can set the background to an animated gif image, but not a flash animation. But you could create a flash animation and export it to an animated gif and have it work (just no ActionScript, obviously).

Posted: Sun Sep 14, 2003 3:25 am
by Nay
If you're using DIV layers, you can place the flash movie on a layer behind the text or anything.

Example:

Code: Select all

<div style="position:absolute;left:0;top:0;z-index:1">
<embed src="somflash.swf"></embed>
</div>

<div style="position:absolute;left:0;top:0;z-index:2">
The text on top of the DIV
</div>
-Nay

Posted: Sun Sep 14, 2003 7:24 am
by igoy
Flash have friggin probs with DIV... i've been in vein while working of DIV's and flash.... it's like flash doesn't give any respect to DIVs it overrides them..or overlap whatever u prefer to call it...

this was my experience on win2k and XP with IE 5.x as well as IE6 and 6 with SP1 browsers.. netscape have bigger troubles with FLASH and DIVs....

Posted: Sun Sep 14, 2003 7:52 am
by Vincent Puglia
Hi,

Flash, java, selection list elements, and a few other objects override normal elements on a page. Zindex does nothing. AFAIK, it is because those objects are rendered via the OS and not the browser. Any rate, if you really wish to learn more, msdn.microsoft.com and assorted other sites have articles on the phenonemon.

I like trollll's option.

Vinny

Posted: Sun Sep 14, 2003 10:36 am
by McGruff
Flash? Flush!

Posted: Sun Sep 14, 2003 11:10 am
by igoy
lol... don't flush it so fast Mac... Flash is my bread and butter... :)

Posted: Sun Sep 14, 2003 11:41 am
by nigma
Alright guys, thanks for the help.