Solved

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

Posted on 2008-10-14
6
266 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
  • 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
 

Author Comment

by:jrmcintosh
ID: 22713458
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now