external swf files and relative paths in WordPress

If you use relative paths for Flash in WordPress, for example you have a basic .swf in which you load new shock wave files or images into, you may find that flash is unable to find these external files. The result? A big white space where you expected a fancy, flashy, all singing all dancing design.

An easy way to tell if your suffering from this issue is if your movie works locally but doesn’t when embedded on your site.

To fix this problem you simply need to tell the embedded swf where it is residing using the “base” attribute.

For example:

the code

Hopefully this will solve any issues you may have.

This entry was posted in development and tagged , , , by Rob. Bookmark the permalink.

About Rob

I'm the graphic designer here at inmeres. I studied BA Graphic design with a specialism in advertising at St Martins College in London. After I graduated I worked in a label printers which gave me a huge amount of print experience and most importantly, “what not to send” printers. I then worked for a local magazine designing various adverts ranging from half page to double page spreads and editorials. I then came to inmeres! Woo! Which is a great and i'm continuing to learn a lot. Out of work i'm a bit of a wanna-be photographer. I like to get it right in the camera, i'm not one for massive retouches in Photoshop (though i've been known to break this theory when i get bored and have a bit of a mental Photoshop mash up!) You can view some of my images here
79.48% of all statistics are made up on the spot
John A. Paulos

Comments are closed.