It's about the same as in ActionScript... I was just
doing this today... the MXMO below is clipped from the
flex docs... notice the implements attribute and the
corresponding implementation in the Script element.

hope that helps,

~harris


<mx:ComboBox
xmlns:mx="http://www.macromedia.com/2003/mxml";
implements="SuperBox">
   <mx:Script>
      function selectSuperItem():String {
         return "Super Item was selected";
      }
      function removeSuperItem():Boolean {
         return true;
      }
      function addSuperItem():Boolean {
         return true;
      }
   </mx:Script>
   <mx:dataProvider>
      <mx:Array>
         <mx:String>AK</mx:String>
         <mx:String>AL</mx:String>
      </mx:Array>
   </mx:dataProvider>
</mx:ComboBox>

--- JesterXL <[EMAIL PROTECTED]> wrote:
> How do you use an interface in MXML?  In
> ActionScript it's "implements 
> ISomeInterface". 
> 
> 


                
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to