Awe man... just tested and it works like a charm; this binding stuff is too 
easy.  I guess I owe Roger a beer now...!


----- Original Message ----- 
From: "Abdul Qabiz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, June 17, 2005 4:11 PM
Subject: RE: [flexcoders] Emitting Events in MXML Components


Hi Jesse,

No you can do it in MXML components also using Metadata tag. For
example:



##MyComponent.mxml##

<mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml";>
<mx:Metadata>

[Event("clear")]

</mx:Metadata>

<!-- Rest of code //-->
</mx:VBox>


-abdul

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Saturday, June 18, 2005 1:25 AM
To: Flexcoders
Subject: [flexcoders] Emitting Events in MXML Components

It seems I can use the meta-tags used for ActionScript components in
MXML?\

[Event("clear")]

I've put that everywhere, and Flex always refuses to compile it.  Must
my
MXML component be fully AS?

--JesterXL





Yahoo! Groups Links









Yahoo! Groups Links









 
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