Solved

Flash file not working on server, works locally (USA Diamond Map)

Posted on 2008-10-14
6
274 Views
Last Modified: 2012-05-05
I have a flash file app downloaded off of the Internet. It is a map of the USA with connections to xml files. This is working great with all my data locally but I've tried uploading it on multiple servers and it does not work remotely. Is there something glaring that I am missing (code below). I have not renamed any files, I am embedding this code as is from instructions. I have uploaded all html, xml, and swf files (in the same folder area). Thanks for your help.
<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="540" height="400" id="usa_diamond_map" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="usa_diamond_map.swf" />
<param name=FlashVars value="xmlfile1=diamond_map.xml&xmlfile2=data.xml"> 
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="usa_diamond_map.swf?xmlfile1=diamond_map.xml&xmlfile2=data.xml" quality="high" bgcolor="#ffffff" width="540" height="400" name="usa_diamond_map" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

Open in new window

0
Comment
Question by:jrmcintosh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 37

Expert Comment

by:CyanBlue
ID: 22710918
Do you have a URL where we can see it happening???

CyanBlue
0
 
LVL 9

Accepted Solution

by:
Jakob_E earned 250 total points
ID: 22713173
Try changing your embed section
from: <embed src="usa_diamond_map.swf?xmlfile1=diamond_map.xml&xmlfile2=data.xml" ....
to: <embed src="usa_diamond_map.swf" FlashVars="xmlfile1=diamond_map.xml&xmlfile2=data.xml" ....

I recommend you to visit http://code.google.com/p/swfobject/ - the best the way of embedding flash :)

Best,
Jakob E
0
 
LVL 37

Assisted Solution

by:CyanBlue
CyanBlue earned 250 total points
ID: 22721439
You are missing this http://www.underdogwonder.com/testmap/myContent.swf file...  Do you have it in the directory???

CyanBlue
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question