You should be able to use BrowserManager instead of altering your HTML.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of valdhor
Sent: Monday, December 15, 2008 10:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Application.application.parameters doesn't hold GET 
query parameters


This message may help:

http://tech.groups.yahoo.com/group/flexcoders/message/112989

HTH

Steve

--- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
"ozziegt" <osman.ul...@...> wrote:
>
> I feel kind of stupid asking this, but I have been beating my head
> against the wall and I know I am missing something obvious.
>
> I created a sample app here (you can view source on it):
> http://osmanu.com/flex/UrlParams/UrlParams.html?foo=bar
>
> You will notice there are no URL parameters being reported by the
> application. The code is pretty basic, so I don't know what I am
> missing. This is a brand new sample app...I created it, added a few
> lines of code, and that is it. Any ideas?
>
> Thanks
>
> private function showParams():void
> {
> var params:Object = Application.application.parameters;
> var s:String = "Params: \n";
> params.runtime = "added in code";
> for (var key:String in params)
> {
> s += key +":" + params[key] + "\n";
> }
> txt.text = s;
> }
>

Reply via email to