0 Replies Latest reply on May 20, 2007 3:22 PM by Robert-Flash

    Accepting URL Parameters

    Robert-Flash
      Dear Associates and Guru's,

      I need to pass an xml by file, "XML_File=Test_XML.xml" to a flash movie so that the swf file can open the XML file and use it in the swf movie.

      The XML files will be based on the session variable and uniqe to each user. I am using:

      <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="600"
      height="400"
      title="Movie Flash Player">

      <param name="movie" value="movie.swf" />
      <param name="quality" value="high" />

      <param name="flashvars" value="XML_File=./XML/Test_XML.xml" />

      <embed src="movie.swf"
      quality="high"
      pluginspage=" http://www.macromedia.com/go/getflashplayer"
      type="application/x-shockwave-flash"
      width="600"
      height="400"
      flashvars="XML_File=./XML/Test_XML.xml">
      </embed>

      Which is from what I found on the internet as an example for how to do this operation.

      Is there some way to somply call the swf file --> " http://www.site.com/movie.swf?XML_File=./XML/XML_File.xml". Have a variable in the swf file called XML_File. I want to have the swf file load the XML file that it was passed via the URL? Is there some easy straight forward way to do this. PLEASE HELP!!

      Thanks,
      Robert-Flash