[flexcoders] Is there any event to handle a right click in flex?

2005-05-25 Thread nithya karthik



hai,
 I have a tree which on right click should open a pop-up window.. How do i handle the right click event?

thanks,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







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 the Yahoo! Terms of Service.










RE: [flexcoders] Is there any event to handle a right click in flex?

2005-05-25 Thread Alistair McLeod





Hi Nithya,

Flex (or, more correctly, the Flash Player)does have 
the notion of a context menu that can be configured - check the docs for 
details:

http://livedocs.macromedia.com/flex/15/flex_docs_en/1276.htm


However, there is a limitation of the current player where 
the context menu can only be shown on componentsinside the root container 
(ie. mx.core.Application.application). You can get around this by having the 
context menu on the root object and changing its dynamically at runtime 
depending on which component the mouse is over, but its a bit more work for 
you.

Cheers,

Ali




--
Alistair 
McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 
6108

This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately.Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of nithya 
karthikSent: 25 May 2005 11:20To: 
flexcodersSubject: [flexcoders] Is there any event to handle a right 
click in flex?

hai,
 I have a tree which on right click should open a 
pop-up window.. How do i handle the right click event?

thanks,
nithya


Yahoo! 
Messenger - Communicate instantly..."Ping" your friends today! Download 
Messenger Now 







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 the Yahoo! Terms of Service.