0 Replies Latest reply on Jun 26, 2007 7:55 AM by vinu_mit

    error message activations

    vinu_mit
      hi i have an errormessage fuction like this in actionscript
      private function errorHandler(e:ModuleEvent):void {
      Alert.show("There was an error loading the module." +
      " Please contact the Help Desk.");
      trace(e.errorText);
      }

      i want to activate this error message

      in the example i found like this

      <mx:ModuleLoader id="chartModuleLoader" error="errorHandler(event)"/>

      but i want to use some other instead of ModuleLoader , because i want to activate this error if any error occurs when i execute thte program, can any one tell what are the possible object i can use instead of " ModuleLoader "
      thanks in advance

      vinod