Hi,
 
you can define a handleEvent(..) function in your application(mail.mxml),
this method would be called whenever an event happen.
 
Look at the "Defining the handleEvent() method"  section in Flex docs for
more: http://livedocs.macromedia.com/flex/15/flex_docs_en/00000503.htm

Hope that helps

-abdul
 
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 23, 2005 3:38 AM
To: [email protected]
Subject: [flexcoders] About single methd handling mutiple events.



Hey.

 

What's the best way to have a single method respond to both a clic event
from a button, and a cellPress event from a DataGrid?

Both components are inside the mail mxml.

 

Thanks for your help.

 

J.


________________________________

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]
<mailto:[EMAIL PROTECTED]> 
          
*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 





 
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