0 Replies Latest reply on Sep 9, 2009 4:08 PM by hrabinowitz

    Cannot convert type to same type!



      I get this error when porting my app from Flex 3 to Flex 4.  The code works fine in Flex 3. 


      1067: Implicit coercion of a value of type mx.rpc:IResponder to an unrelated type mx.rpc:IResponder


      The code is unremarkable.  I'm extending a delegate class:



      import mx.rpc.IResponder;


      public class MeetingDelegate extends MyBaseDelegate


      private var mtg:MeetingVO;



      /** constructor */

      public function MeetingDelegate(responder:IResponder, mtg:MeetingVO)



      this.mtg = mtg;





      Is it because the approach to doing HttpService has changed in Flex 4?


      The only other thing I can think might cause this is that the base class, MyBaseDelegate, comes from a library that is included in the Project's Build Path, and somehow has a different notion of what mx.rpc.IResponder is.