6 Replies Latest reply on Jan 23, 2009 9:49 PM by Someonewhere

    interface not found in implements-attribute for MXML component

    mavdzee
      Hi,

      I am trying to use the "implements" attribute for an MXML-component in order to implement an interface from a library like below (Flex 3). I get the error "Interface IClonable not found". The compiler does not complain about " import com.yworks.support.IClonable;", so the library is installed correctly. I use the library in many places in my project, it just does not find it in the "implements" tag. How can I fix this without reimplementing the component in ActionScript?


      <?xml version="1.0" encoding="utf-8"?>
      <mx:VBox xmlns:mx=" http://www.adobe.com/2006/mxml"
      implements="com.yworks.support.IClonable">

      <mx:Script>
      <![CDATA[

      import com.yworks.support.IClonable;

      ]]>
      </mx:Script>

      </mx:VBox>