tag:blogger.com,1999:blog-8050418680029196683.post4574608275983992325..comments2016-08-11T05:38:52.881-07:00Comments on YASOB - Yet Another SOftware Blog: Accessing HTTP Request/Header parameter in FlexNashhttp://www.blogger.com/profile/17767867087152794725noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8050418680029196683.post-85523527121655011152009-06-07T04:24:01.938-07:002009-06-07T04:24:01.938-07:00Thanks Chris for letting me my typo error of param...Thanks Chris for letting me my typo error of parameter in Var parameterA=Application.application.parameters.parameterA<br /><br />Code is uploaded now, You can try that.Nashhttps://www.blogger.com/profile/17767867087152794725noreply@blogger.comtag:blogger.com,1999:blog-8050418680029196683.post-70314117822859698632009-06-04T13:29:19.740-07:002009-06-04T13:29:19.740-07:00Hi there,
I'm a bit confused by your example. ...Hi there,<br />I'm a bit confused by your example. The AC_FL_RunContent function that you listed above is the one that gets run to install the latest version of flash player (see how the "src" is "playerProductInstall"?) I thought that it might redirect you back to the correct html/jsp page if the flash version if correct, but when I tried it out it didn't work for me (I got a blank page).<br /><br />Also, you aren't accessing the parameterA correctly in Flex, when I try this "trace(Application.application.parameterA);" I get an error saying that there is no property "parameterA" defined on the application. The correct way to reference the parameter is "Application.application.parameters.parameterA". Your example might work because you defined your variable to also be called "parameterA", and so in fact the line "var parameterA:String = Application.application.parameterA;" does nothing because you are assigning parameterA to itself (assuming you write that code in your mxml application)! <br /><br />Cheers,<br />ChrisChris Callendarhttps://www.blogger.com/profile/14461038089756851470noreply@blogger.com