3 Replies Latest reply on Sep 14, 2011 11:32 AM by robdillon

    How to pass querystring value to swfobject and set it in adobe flash




      I must tell that I have not much knowledge about flash.

      I have a flash slideshow on my homepage which displays news by a xml file under http://bit.ly/q48UmE and I am using slideshowpro for it. That slideshow xml file path must be set within adobe flash program.


      Xml file path is under http://bit.ly/pBeaUX if you would add ?lang=en, it would output english version.


      What I need in here, when a language is changed from language selector at header, News must be set as selected language respectively. My question is how to get querystring value and pass it to adobe flash so it is changed and set according to the selected language.


            var flashvars = {
            var params = {
              bgcolor: "#000000",  
              allowfullscreen: "true",
            var attributes = {}
                swfobject.embedSWF("swf/slideshowpro.swf", "flashcontent", "550", "400", "10.0.0", false, flashvars, params, attributes);
                //attributes.addVariable("dil", "<%=request.querystring("lang")%>");


      Any help much appreciated