pencil123
asked on
Invoking flash(swf) file in jsp, Not working when accessed from external network
hi guys,
i got a flash swf file embeded in my jsp. The flash files reads a xml file and displays a chart based on values retrieved from xml file.
This procedure works fine when accessed from any machine on my local network.
BUT, the flash file doesnt load the xml file to display chart when accessed from a machine in the external network.
Please suggest.
This is how i embed the flash file in my jsp :
<object classid="clsid:D27CDB6E-AE 6D-11cf-96 B8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" name="gm" width="100%" height="100%" id="gm">
<param name="movie" value="chart.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<embed src="chart.swf" width="100%" height="100%" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockw ave-flash" menu="false" name="gm"></embed>
</object>
urgent....i got a demo and i cant show this to my client.
i got a flash swf file embeded in my jsp. The flash files reads a xml file and displays a chart based on values retrieved from xml file.
This procedure works fine when accessed from any machine on my local network.
BUT, the flash file doesnt load the xml file to display chart when accessed from a machine in the external network.
Please suggest.
This is how i embed the flash file in my jsp :
<object classid="clsid:D27CDB6E-AE
<param name="movie" value="chart.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<embed src="chart.swf" width="100%" height="100%" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockw
</object>
urgent....i got a demo and i cant show this to my client.
are u using an absolute or relative path to your xml?
ASKER
relative path
it is located in the jsp files directories itself
it is located in the jsp files directories itself
post the url the xml file to see if we can access it from here
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
if you are trying to load xml from another domain, it wont work because of cross domain policy.