R – How to pass custom variables to Flex applications

actionscript-3apache-flexflashflashvarsflex3

I'm trying to write an application where parameters have to be passed to the application. In Flex builder I modified the and tags in the index.template.html, but when debugging I still don't see the variables passed (using from as3 the Application.application.parameters object)…

Best Answer

after reading a post i found that I had made a stupid mistake. I had added the "flashvars", "var1=blah&var2=blah..." to the first AC_FL_RunContent() which installs the Flash Player. My bad. As soon as I modified the index.template.html to add the "flashVars" to the 2nd AC_FL_RunContent(), it worked like a charm.

Related Topic