You are right. It works in Version 8! Thanks ! > -----Ursprüngliche Nachricht----- > Von: Christoph Diefenthal > Gesendet: Freitag, 30. September 2005 10:42 > An: '[email protected]' > Betreff: RE: [flexcoders] mouse-right-click-event? > > Thanks everybody, > > This example is pretty cool, but it still does not work with dynamic > created components (not even within the Application Tag), like > > ... > var test = canTest.createChild(mx.containers.Canvas,"canTestChild", > { width : 50 , height : 50 , backgroundColor : "#ee0000"}); > > test["menu"] = my_cm; // <----- no effect > ... > > > > To bad.... > > > So I probably have to do it by setting the _root.menu by > checking mouseOver/mouseOut on my dynamic components. > > Or is there any other idea? > > > Cheers > Christoph > > > > > > > > > > -----Ursprüngliche Nachricht----- > > Von: [email protected] [mailto:[EMAIL PROTECTED] Im > > Auftrag von Philippe Maegerman > > Gesendet: Freitag, 30. September 2005 09:38 > > An: [email protected] > > Betreff: RE: [flexcoders] mouse-right-click-event? > > > > Been fixed in player 8 :) > > Couldn't find the example that was posted a few weeks ago > > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" > > creationComplete="myInit()"> > > <mx:Script> > > <![CDATA[ > > function myInit(){ > > var my_cm = new ContextMenu(); > > my_cm.hideBuiltInItems() > > my_cm.customItems.push(new ContextMenuItem("Top Button context menu", > > function(){})); > > btn_1['menu'] = my_cm; > > > > var my_cm2 = new ContextMenu(); > > my_cm2.customItems.push(new ContextMenuItem("Bottom Button context > > menu", function(){})); > > btn_2['menu'] = my_cm2; > > } > > ]]> > > </mx:Script> > > <mx:Button id="btn_1" label="Context Menu without built-in items" > > click="alert('rightClick on me')"/> > > <mx:Button id="btn_2" label="ContextMenu" click="alert('rightClick on > > me')"/> > > </mx:Application> > > > > > > Philippe Maegerman > > > > ________________________________ > > > > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf Of David Harris > > Sent: jeudi 29 septembre 2005 20:47 > > To: [email protected] > > Subject: Re: [flexcoders] mouse-right-click-event? > > > > > > The other thing to remember... > > The right click can only be used on the Main MXML file, and not any > nested > > views. > > Limitations in the flash player.... > > has this changed for flash 8, any one know? > > > > > > On 9/30/05, Tracy Spratt <[EMAIL PROTECTED]> wrote: > > > > Here is a solution from Manish: > > > > http://www.cflex.net/showfiledetails.cfm?ObjectID=195 > > > > Tracy > > > > > > > > > > ________________________________ > > > > > > From: [email protected] [mailto:[EMAIL PROTECTED] > > On Behalf Of Clint Modien > > Sent: Thursday, September 29, 2005 2:40 PM > > To: [email protected] > > Subject: Re: [flexcoders] mouse-right-click-event? > > > > > > > > I've seen a work around for this somewhere in this group.... it > > involved catching using the mouseOver event to determine which component > > the mouse is over and editing the context menu before the menu is > shown... > > never done it but it might be something to try? > > > > > > > > Can search this group here... *no wildcards tho*... kind of > > sucks... but it's better than anything else i've seen... > > > > http://www.mail-archive.com/[email protected]/ > > > > > > > > > > > > > > > > On 9/29/05, Tracy Spratt < [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]> > wrote: > > > > http://www.cflex.net/showfaq.cfm?Object=faq&channelID=1&faqtype=&def > > ault > > fields=&defaultValues=#Question396 > > > > Tracy > > > > -----Original Message----- > > From: [email protected] [mailto: [email protected] > > <mailto:[email protected]> ] On > > Behalf Of Christoph Diefenthal > > Sent: Thursday, September 29, 2005 11:05 AM > > To: '[email protected]' > > Subject: [flexcoders] mouse-right-click-event? > > > > Hi people, > > > > Is there a possibility to process a mouse-right-click-event instead > > of > > opening the flash-menu? > > > > Cheers > > Christoph > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor -------------------- > > ~--> > > Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet > > Life. > > http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM > > -------------------------------------------------------------------- > > ~-> > > > > -- > > Flexcoders Mailing List > > FAQ: > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail- > > archive.com/flexcoders%40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail- > > archive.com/flexcoders%40yahoogroups.com > > > > > > > > > > > > SPONSORED LINKS > > Web site design development > > > <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+si > > > te+design+development&w2=Computer+software+development&w3=Software+design+ > > > and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c > > =5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development > > > <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+ > > > site+design+development&w2=Computer+software+development&w3=Software+desig > > > n+and+development&w4=Macromedia+flex&w5=Software+development+best+practice > > &c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and > development > > > <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=We > > > b+site+design+development&w2=Computer+software+development&w3=Software+des > > > ign+and+development&w4=Macromedia+flex&w5=Software+development+best+practi > > ce&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> > > Macromedia flex > > > <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+de > > > velopment&w2=Computer+software+development&w3=Software+design+and+developm > > > ent&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.si > > g=OO6nPIrz7_EpZI36cYzBjw> Software development best practice > > > <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1 > > > =Web+site+design+development&w2=Computer+software+development&w3=Software+ > > > design+and+development&w4=Macromedia+flex&w5=Software+development+best+pra > > ctice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> > > > > > > ________________________________ > > > > YAHOO! GROUPS LINKS > > > > > > > > * Visit your group "flexcoders > > <http://groups.yahoo.com/group/flexcoders> " on the web. > > > > * To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] <mailto:flexcoders- > > [EMAIL PROTECTED]> > > > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/> . > > > > > > ________________________________ > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail- > archive.com/flexcoders%40yahoogroups.com > > > > > > > > > > SPONSORED LINKS > > Web site design development > > > <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+si > > > te+design+development&w2=Computer+software+development&w3=Software+design+ > > > and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c > > =5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development > > > <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+ > > > site+design+development&w2=Computer+software+development&w3=Software+desig > > > n+and+development&w4=Macromedia+flex&w5=Software+development+best+practice > > &c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and > development > > > <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=We > > > b+site+design+development&w2=Computer+software+development&w3=Software+des > > > ign+and+development&w4=Macromedia+flex&w5=Software+development+best+practi > > ce&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> > > Macromedia flex > > > <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+de > > > velopment&w2=Computer+software+development&w3=Software+design+and+developm > > > ent&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.si > > g=OO6nPIrz7_EpZI36cYzBjw> Software development best practice > > > <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1 > > > =Web+site+design+development&w2=Computer+software+development&w3=Software+ > > > design+and+development&w4=Macromedia+flex&w5=Software+development+best+pra > > ctice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> > > > > ________________________________ > > > > YAHOO! GROUPS LINKS > > > > > > > > * Visit your group "flexcoders > > <http://groups.yahoo.com/group/flexcoders> " on the web. > > > > * To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] <mailto:flexcoders- > > [EMAIL PROTECTED]> > > > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service > > <http://docs.yahoo.com/info/terms/> . > > > > > > ________________________________ > > > > ------------------------------------------------------------------ > > **STATEMENT OF CONFIDENTIALITY** > > > > This e-mail and any attached files are confidential and intended solely > > for the use of the individual to whom it is addressed. If you have > > received this email in error please send it back to the person that sent > > it to you. Any views or opinions presented are solely those of author > and > > do not necessarily represent those the Emakina Company. Unauthorized > > publication, use, dissemination, forwarding, printing or copying of this > > email and its associated attachments is strictly prohibited. > > > > We also inform you that we have checked that this message does not > contain > > any virus but we decline any responsability in case of any damage caused > > by an a non detected virus. > > ------------------------------------------------------------------
------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

