5 Replies Latest reply on Apr 29, 2009 7:07 PM by Peter Farland

    mx:method name="delete" not allowed in flex3?

    wouter99999

      Hi, I've the following code:

       

      <mx:RemoteObject

       

      showBusyCursor="true" destination="amfphp" source="node" id="node" >

       

       

      <mx:method name="save" result="onSaved(event)" fault="onFault(event)" />

       

       

      <mx:method name="delete" result="onDeleted(event)" fault="onFault(event)"/>

       

       

      </mx:RemoteObject>

       

      But flexbuilder is  complaining about the name="delete" (the save method works fine). I cannot change the remote method name to something else. What to do? Is this a bug in Flex? it is also complaing about the corresponding node.delete(nid) in the actionscript (delete turns blue and it gives a syntax error).