Thanks for all the replies. Yeah I thought about it over lunch and it
occurred to me that I might only get the params when I reference the
.swf file directly. I think I will stick with my current
implementation using swfobject. 


--- In flexcoders@yahoogroups.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