Aha, fantastic, that does the job.
Thanks :-) Giles Roadnight _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Angus Johnson Sent: 14 December 2006 13:16 To: [email protected] Subject: Re: [flexcoders] LoaderInfo Class Can you use ApplicationComplete event instead?? On 14/12/06, z4guyuk <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> name> wrote: Hi I have a class that is set up in the creationComplete handler of my main App. In this class I set up url's to be used when loading data from the server. When I am testing locally I need to use different url's than when the swf is on a server. To determine weather the swf is running on a server or locally I want to look at the LoaderInfo.url property to see if it begins with file:// However, in the creating complete even the loaderInfo property of the application is null. It only seems to be populated with data later. Is there any way around this? Thanks

