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

<*> 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