You could try in your logic to use a case switch. Then "break" on error.
------Original Message------ From: Fahim Akhter Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] How to hault execution and raise a error flag Sent: Apr 29, 2010 7:13 AM Hi, I was wondering how can I put the execution of a application to a hault and raise a error flag ( maybe quite everything) so it does not move anywhere further. I have some logical errors which do not cause troubles in the execution, but I still want to stop execution when they occur. For debugging purposes. Fahim Akhter Game Developer | White Rabbit Studios | http://apps.facebook.com/feline-frenzy/ _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders