2 Replies Latest reply on Feb 15, 2007 9:08 PM by Papa Rabbit

    Dynamic XML URL via HTML Param (not working)

    Papa Rabbit
      The idea is to use PHP and it's variables returned from a form to change the URL path of the XML feed to Flash...

      The HTML output from PHP is simple and works...

      Here's the PHP snip:

      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="800" title="Gatherer">
      <param name="movie" value="flash/gatherer.swf">
      <param name="quality" value="high">
      <param name="Continent" value="Continent=<?php echo("$Continent");?>">
      <param name="Zone" value="Zone=<?php echo("$Zone"); ?>">
      <embed src="flash/gatherer.swf" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="800"></embed>
      </object>

      So as an example I would get:

      <param name="Continent" value="Continent=1">
      <param name="Zone" value="Zone=5">

      But it doesn't appear to be working...