I've got a Wordpress site. I wish to embed a Expensive file in a single of my pages, such as this:

<object id="wdmmg" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  
 width="100%" height="100%" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="src" value="/_flash/main.swf" />
<embed id="wdmmg" type="application/x-shockwave-flash" width="100%" height="100%" src="/_flash/main.swf"> 

The Expensive file that I've been given (I am not really a Expensive coder, as will end up obvious) has a couple of extra .zlib and resource files. I've put main.swf and all sorts of its associated files inside a _flash directory within the DocumentRoot.

Basically visit http://mywebsite/_flash/main.swf the Expensive loads all right.

However, from the Wordpress page - say http://mywebsite/flashypage - it doesn't. /_flash/main.swf loads OK, however the browser is searching for all of the associated .zlib along with other files not in /_flash, however in /flashypage (which obviously does not exist like a directory).

My Expensive coder informs me that Expensive will invariably search for its assets inside a directory in accordance with the loading HTML page.

For the reason that situation, given Wordpress's URL routing, can there be in whatever way I'm able to really embed Expensive?

Viz: I can not produce a /flashypage/_expensive subdirectory, or symlink, within the document root and set the Expensive assets inside, because when I attempt to load http://mywebsite/flashypage, I simply visit a directory listing.

And That I can't just put a catalog.html code page within the /flashypage directory to load the Expensive, because I want this site to participate Wordpress, and employ my Wordpress templates.

Any ideas?

I am not strong on expensive myself, but when it is a fact the expensive embed will invariably search for the files within the directory from the page its baked into then why not try an iframe? Embed the expensive file inside a simple html page and save it within the /_flash directory after which embed the html page being an iframe.