Ezilon.com - Target Your Audience, be Seen in Your Region

Problems with flash embedding

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.
mfdc's picture

They have: 166 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: 343 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
--
"Old web developers don't die, they degrade gracefully..."