Forum Moderators: open

Message Too Old, No Replies

XML Flash Gallery not work

         

miramax

1:15 pm on Sep 22, 2007 (gmt 0)

10+ Year Member



Question about XML Flash Gallery - it works when I tested it as offline html page (all files is on desktop), but not work when i put it on web server. Does this may be connected with path issue? should be specified absolute, or relative path?

<BODY>
<script src="AC_RunActiveContent.js" type="text/javascript"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

<!-- begin flash gallery -->
<tr>
</tr></table>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','767','height','550','id','Gallery','align','middle','src','Gallery?xmlPath=gallery.xml','quality','high','wmode','opaque','bgcolor','#ffffff','name','Gallery','allowscriptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','Gallery?xmlPath=gallery.xml' ); //end AC code
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="767" height="550" id="Gallery" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Gallery.swf?xmlPath=gallery.xml" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="wmode" value="opaque" />
<embed src="Gallery.swf?xmlPath=gallery.xml" quality="high" wmode="opaque" bgcolor="#ffffff" width="767" height="550" name="Gallery" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></noscript>
</tr>

<!-- end gallery code -->

</BODY>

-----

xml code:

<?xml version="1.0"?>

<slideShow>
<image>
<path>picture1.jpg</path>
<caption>Picture 1</caption>
</image>
<image>
<path>picture2.jpg</path>
<caption>Picture 2</caption>
</image>
... ...
</slideShow>