3 Replies Latest reply on Sep 30, 2011 9:53 AM by Flex harUI

    Fancy alert on fault for remote object

    nikos101 Level 2

      why can't I do this, I get message.operation defined in the debug view

       

      protected function myService_faultHandler(event:FaultEvent):void

                  {

                      // TODO Auto-generated method stub

                      Alert.show(event.fault.message + ' ' + event.token.message.operation);

                  }

       

      Multiple markers at this line:

      -1119: Access of possibly undefined property operation through a reference with static type

      mx.messaging.messages:IMessage.

      -message