2 Replies Latest reply on Jan 22, 2010 3:16 PM by Francisc

    Call Alert.show from inside AS3 Class

    Francisc Level 3



      I have an AS3 Class that informs user of different stuff via the show method of the Alert class which is imported by Flex Builder 3.

      FB3 doesn't say there are errors, but at run time the application stops and gives me an error saying the Alert class cannot be called.


      TypeError: Error #1009: Cannot access a property or method of a null object reference.
            at mx.controls::Alert$/show()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\contr ols\Alert.as:483]