Link to home
Create AccountLog in
Avatar of pencil123
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-AE6D-11cf-96B8-444553540000" 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-shockwave-flash" menu="false" name="gm"></embed>
  </object>

urgent....i got a demo and i cant show this to my client.
Avatar of blue-genie
blue-genie
Flag of South Africa image

are u using an absolute or relative path to your xml?
Avatar of pencil123
pencil123

ASKER

relative path

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
Avatar of trevorhartman
trevorhartman
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
if you are trying to load xml from another domain, it wont work because of cross domain policy.