If you call close() on a Loader and it fails for any reason, it will throw a runtime error that you can do nothing about. To avoid this, you should wrap it in a try catch.

The code block comes straight from Flex and it works. If you test it a bunch and close() never fires an error, then you can remove it. It's really not that much overhead to keep it in unless you're doing hundreds of iterations per second.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to