1 Reply Latest reply on Sep 30, 2009 10:16 PM by Sreelash

    Getting value from coldfusion

    Sreelash Level 1

      Hi,

                In my flash application, I need to get a value from coldfusion. For this purpose, I have used flashvars. But I am not getting the value. Can anybody help me regarding this.

       

      Thanks and Regards,

                                  Sreelash

        • 1. Re: Getting value from coldfusion using flashvars.
          Sreelash Level 1

          I am trying to get value from coldfusion using flashvars. I have used the following way. But its not working.

           

          In the html side

           

          <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="550" height="400" id="flashvar" align="middle">
              <param name="allowScriptAccess" value="sameDomain" />
              <param name="allowFullScreen" value="false" />
              <param name="movie" value="flashvar.swf?Value='gd'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />    <embed src="flashvar.swf?Value='gd'" quality="high" bgcolor="#ffffff" width="550" height="400" name="flashvar" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
              </object>

           

          I am trying to get value assigned to the variable "Value" from the flash.

           

          In the flash side,using actionscript 2, I am trying to access the value of Variable "Value" using the following code.

           

          _root.Value.

           

          Can anybody help me.Its very urgent