Problems with flash embedding

mfdc's picture

They have: 160 posts

Joined: Aug 2004

Hi guys

hope your all well!? I have attached a stylesheet, within the sheet, theres a reference to picture.gif in the way of background:url(images/picture.gif)
and it works loveley. I have created a flash object the same dimensions and what to replace the static gif with the flash.

What is the correct syntax? I've been trying all morning and no matter what I do, it wont insert correctly without messing up the formatting!

Help!!!!

AttachmentSize
style.css13.87 KB

He has: 629 posts

Joined: May 2007

To embed Flash files without violating standards, you need a little scripting help. I use SWFObject: Javascript Flash Player detection and embed script. Others had recommended it to me, so hopefully it will work for you, too.

Sample code is included on that page.

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.