Word of warning, I'm not the only person to experience problems in IE with the Movieclip loader class under certain caching conditions:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w whelp.htm?context=LiveDocs_Parts&file=00002538.html Cheers M > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Holth, Daniel C. > Sent: 12 February 2007 13:03 > To: Flashcoders mailing list > Subject: RE: [Flashcoders] Trace: level of details? > > > If you are using the MovieClipLoader class you could call an > onLoadError event. It seems to work well, but you still get > the "Error opening URL..." message under your custom error message. > > __mclListener = new Object(); > __mcl = new MovieClipLoader(); > > > __mclListener.onLoadError = function(target_mc:MovieClip, > errorCode:String, httpStatus:Number) { > trace(">> mclListener.onLoadError()"); > trace(">> =========================="); > trace(">> errorCode: " + errorCode); > trace(">> httpStatus: " + httpStatus); } > > __mcl.addListener(__mclListener); > __mcl.loadClip("long_url_of_jpg", holder_mc); > > > Traces out: > > >> mclListener.onLoadError() > >> ========================== > >> errorCode: URLNotFound > >> httpStatus: 0 > Error opening URL "Error opening URL file:///.....long_url_of_jpg" > > > I tried putting it in a try-catch loop with no better > results. One could possibly write a custom class that would > throw errors though. > > Hope that helps! > -Dan ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of the company. It is private and confidential and may be legally privileged. It is intended solely for those authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or action taken in reliance on its contents is strictly prohibited and may be unlawful. If you have received this email in error, please telephone us immediately on 01964 672000 or email a reply to highlight the error and then delete it from your system. This email may contain links to web-sites, the contents of which ECM Systems Ltd have no control over and can accept no responsibility for. Any attachments have been virus-checked before transmission; however, recipients are strongly advised to carry out their own virus checking as ECM Systems Ltd do not warrant that such attachments are virus-free. Please note that this email has been created in the knowledge that Internet email is not a secure communications medium. We advise that you understand and observe this lack of security when emailing us. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com