When I launch a Flex application in a debug flash player, I get an exception as soon as something unexpected happens. However, when the client uses the application, it does not use the debug flash player. In this case, it does not receive a popup exception, but the user interface does not work.
So, for support reasons, I would like to get any exception that might happen anywhere in the Flex interface and present an error message in the Flex internal popup. Using Java, I would just encapsulate all the user interface code in a try / catch block, but with MXML applications in Flex I don't know where I could execute such a common try / catch.
flex exception error-handling
Yaba Sep 19 '08 at 12:43 2008-09-19 12:43
source share