2 Replies Latest reply on Jan 24, 2011 5:17 AM by emerson_rm

    Casting ObjectProxy to Object

    emerson_rm

      Hi,

       

      I´m trying to cast ObjectProxy to Objects of my project but the result is always null.

       

      Here is the code:

       

       

      var myObject:MyObject = event.result.object as MyObject;

       

      // myObject = null at this point

       

       

      PS: The event is a result of invoking a WebService.

       

      Tks...

       

      Emerson