Forum Moderators: not2easy

Message Too Old, No Replies

Flash and CSS

         

moussa854

9:13 pm on May 26, 2007 (gmt 0)

10+ Year Member



I would like to ask you to help me in adding the flash in my header to a CSS. I really will appreciate to help.

[edited by: SuzyUK at 9:29 pm (utc) on May 26, 2007]
[edit reason] Please no URI's per TOS #13 [WebmasterWorld.com] [/edit]

Xapti

10:14 pm on May 26, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What do you mean? you'll have to explain yourself better.

If you mean to include a flash object on multiple pages, such a thing can't be, and shouldn't be done with CSS, it's not what it's for.

[edited by: Xapti at 10:17 pm (utc) on May 26, 2007]

moussa854

11:54 am on May 27, 2007 (gmt 0)

10+ Year Member



I would like to move the following code to an external CSS file:

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://example.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="936" height="195"><param name="movie" value="images/banner.swf"/><param name="quality" value="Medium"/> <object data="http://example.com/images/banner.swf" codebase="http://www.example.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="936" height="195"/> <param name="quality" value="Medium"/></object></object>

[edited by: SuzyUK at 7:10 pm (utc) on May 27, 2007]
[edit reason] examplified [/edit]

Robin_reala

8:32 pm on May 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not possible I'm afraid. CSS's background images must have browser-native support, not be reliant on plugins (like Flash).

Setek

6:08 am on May 29, 2007 (gmt 0)

10+ Year Member



Hmm... if the animation is simple enough (assuming there's no interactivity) you could convert the
.swf
to a
.gif
, and then use that as a background image.

Just a suggestion :)