Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Embedded Flash Map - Will not work! Why and how do I fix it? WordPress

  • REFUNDED

My website: http://www.dkpipe.com/ - The very first slide on my website is Pipeline Coverage Nation Wide, in which there is an interactive flash map embedded. I purchased the interactive map from http://www.fla-shop.com/us_states/usa_locator.php.

Everything worked fine when I set the site up on my local machine. Now that I've uploaded everything to my hosting, only the map will not work. Here's the code I used to embed the map:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="locator_map" /><param name="bgcolor" value="#FFFFFF" /><param name="src" value="http://www.dkpipe.com/wp-content/locator_map.swf?xmlfile1=http://www.dkpipe.com/wp-content/locator_map.xml&amp;datafile=http://www.dkpipe.com/wp-content/data.swf" /><param name="wmode" value="transparent" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="500" height="350" src="http://www.dkpipe.com/wp-content/locator_map.swf?xmlfile1=http://www.dkpipe.com/wp-content/locator_map.xml&amp;datafile=http://www.dkpipe.com/wp-content/data.swf" quality="high" wmode="transparent" bgcolor="#FFFFFF" name="locator_map"></embed></object>

All of the files are located in http://www.dkpipe.com/wp-content/. The original files sent to me from the website Fla-Shop are located in http://www.dkpipe.com/wp-content/usa-locator/.

I really need to get this map to work by Sunday (tomorrow). I'm paying $20 to the person(s) who can get me up and running. If you need any other information that will help you solve this problem, you can e-mail me at Cunningham/dot/Tory/at/gmail.com.

Thanks!

Answers (3)

2010-08-21

MagoryNET answers:

Shoudn't the code look like that:


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="locator_map" /><param name="bgcolor" value="#FFFFFF" /><param name="src" value="http://www.dkpipe.com/wp-content/locator_map.swf?xmlfile1=/wp-content/locator_map.xml&amp;datafile=/wp-content/data.swf" /><param name="wmode" value="transparent" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="500" height="350" src="http://www.dkpipe.com/wp-content/locator_map.swf" flashvars="xmlfile1=/wp-content/locator_map.xml&amp;datafile=/wp-content/data.swf" quality="high" wmode="transparent" bgcolor="#FFFFFF" name="locator_map"></embed></object>


I moved params in embed code to flashvars attribute and changed links in params to local (without http). I don't know much about flash, so it's a shot in the dark. ;)

2010-08-21

Dan | gteh answers:

Hi,

I think this is the problem:

The flash file is not working properly. When you hit http:/www.dkpipe.com/wp-content/data.swf directly, I get a flash video with nothing but a white screen. So it appears it is doing what it should do. Showing a white screen inside the flash video.

Try replacing that flash video with another example one and see if it works.

2010-08-21

Nilesh shiragave answers:

Hi

try this code



<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="500" height="350" id="europe_locator_b" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.dkpipe.com/wp-content/locator_map.swf" />
<PARAM NAME=FlashVars VALUE="xmlfile1=locator_map.xml&datafile=data.swf">
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="locator_map.swf?xmlfile1=locator_map.xml&datafile=data.swf" quality="high" bgcolor="#ffffff" width="500" height="350" name="europe_locator_b" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


Nilesh shiragave comments:

<strong>Or this
</strong>
<strong>Try Code that i sent in my previous answer or try this code.</strong>

I think your problem will be sloved.



<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="500" height="350" id="europe_locator_b" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.dkpipe.com/wp-content/locator_map.swf" />
<PARAM NAME=FlashVars VALUE="xmlfile1=locator_map.xml&datafile=data.swf">
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://www.dkpipe.com/wp-content/locator_map.swf?xmlfile1=locator_map.xml&datafile=data.swf" quality="high" bgcolor="#ffffff" width="500" height="350" name="europe_locator_b" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


Nilesh shiragave comments:

I think problem is with the wordpress relative path structure. I think you have to add src to swf using abolute path.

What is absolute path of your website?


Nilesh shiragave comments:

If you try the code on local server it works but when you add it on a domain where wordpress server it stops working. let me know absolute path up to your public-html folder. So i can give you exact code to add. Or move all the flash map files to root of your domain and call them. directly.

like



<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="500" height="350" id="europe_locator_b" align="middle">

<param name="allowScriptAccess" value="sameDomain" />

<param name="movie" value="http://www.dkpipe.com/locator_map.swf" />

<PARAM NAME=FlashVars VALUE="xmlfile1=locator_map.xml&datafile=data.swf">

<param name="quality" value="high" />

<param name="bgcolor" value="#ffffff" />

<embed src="http://www.dkpipe.com/locator_map.swf?xmlfile1=locator_map.xml&datafile=data.swf" quality="high" bgcolor="#ffffff" width="500" height="350" name="europe_locator_b" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

</object>


Tory Cunningham comments:

The issue was with the licensing. Fla-Shop.com sent me a new licensed version and now it works.

Thanks to all who attempted to answer my call for help.


Nilesh shiragave comments:

Great. So question is solved now.