Rick,

 

Can you explain your last comment please? 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Winscot
Sent: Wednesday, March 26, 2008 8:45 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Get the Domain the Flex app is running in

 

If BrowserManager is initialized without a trailing fragment (i.e.
http://www.mydomain.com/myapp.html#frament) you will get empt-ies.

 

Rick Winscot

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Christian
Sent: Wednesday, March 26, 2008 6:09 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Get the Domain the Flex app is running in

 

<- SNIP ->
I instantiate an instance of it in the initialize event of the 
application. All it's properties are null.
<- SNIP ->

I think this might be your problem. I remember trying to use Application.url
some time back in the application initalize event, only to find that it was
null. But once I moved the code to to the creationComplete event, it worked
fine, so it might be that when the initalize event is fired, the application
has not yet set all the required url information. So perhaps you could try
accessing it in the applications creationComplete rather than the initalize.

Just a thought, I could be way wrong.

-- 

"Every child has many wishes. Some include a wallet, two chicks and a cigar,
but that's another story."

 

Reply via email to