Share Posted June 23, 2011 function errorHandler(event:LoaderEvent):void { trace("******error loading " + event.target.filePath + "******"); } Obliviously it's not filePath. Just wondering what should go there to trace the file name that failed to load... Thanks! Link to comment Share on other sites More sharing options...
Share Posted June 23, 2011 this will give you the url of the asset that you passed into the loader: function errorHandler(event:LoaderEvent):void { trace("******error loading " + event.target.url + "******"); } Link to comment Share on other sites More sharing options...
Author Share Posted June 23, 2011 That worked like a champ! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now