<- 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.urlsome 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."