[Flashcoders] Event bubbling in Flash like in Flex
Hi list, a question that's in my mind since for a little while now : how can you get event bubbling (cfr. Flex) in Flash? I have a menu with nested bullet-movieclips. A click on a bullet dispatches an event and my menu does not automatically forward that event to the listeners on the menu (sample : http://www.novio.be/downloads/showReel/showReel.zip) What I usually do is add an event handler at the level of the menu and then re-dispatch the event in that handler. This is a bit silly indeed, but how to do better? Thanks, Hans. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Event bubbling in Flash like in Flex
personally i use a different mechanism, but this one by ralf bokelberg is good http://www.helpqlodhelp.com/blog/archives/000144.html On 9/28/06, Van De Velde Hans [EMAIL PROTECTED] wrote: Hi list, a question that's in my mind since for a little while now : how can you get event bubbling (cfr. Flex) in Flash? I have a menu with nested bullet-movieclips. A click on a bullet dispatches an event and my menu does not automatically forward that event to the listeners on the menu (sample : http://www.novio.be/downloads/showReel/showReel.zip) What I usually do is add an event handler at the level of the menu and then re-dispatch the event in that handler. This is a bit silly indeed, but how to do better? Thanks, Hans. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Event bubbling in Flash like in Flex
Great, thanks! I've updated the sample with the static function initializeBubbling in a separate class all is well ! (sample : http://www.novio.be/downloads/showReel/showReel.zip) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: donderdag 28 september 2006 16:59 To: Flashcoders mailing list Subject: Re: [Flashcoders] Event bubbling in Flash like in Flex personally i use a different mechanism, but this one by ralf bokelberg is good http://www.helpqlodhelp.com/blog/archives/000144.html On 9/28/06, Van De Velde Hans [EMAIL PROTECTED] wrote: Hi list, a question that's in my mind since for a little while now : how can you get event bubbling (cfr. Flex) in Flash? I have a menu with nested bullet-movieclips. A click on a bullet dispatches an event and my menu does not automatically forward that event to the listeners on the menu (sample : http://www.novio.be/downloads/showReel/showReel.zip) What I usually do is add an event handler at the level of the menu and then re-dispatch the event in that handler. This is a bit silly indeed, but how to do better? Thanks, Hans. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Event bubbling in Flash like in Flex
I've updated the sample with the static function initializeBubbling in a separate class all is well ! Actionscript 3.0 will have event bubbling. Just FYI, not to burst your bubble. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Event bubbling in Flash like in Flex
Hello :) you can use my event model implementation in my AS2 / SSAS openSource : project : http://osflash.org/vegas svn : http://svn1.cvsdude.com/osflash/vegas/ example : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/events/ (EventDispatcher 12 - BubblingEvent.flahttp://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/vegas/events/EventDispatcher%2012%20-%20BubblingEvent.fla ) EKA+ :) 2006/9/28, Van De Velde Hans [EMAIL PROTECTED]: Great, thanks! I've updated the sample with the static function initializeBubbling in a separate class all is well ! (sample : http://www.novio.be/downloads/showReel/showReel.zip) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: donderdag 28 september 2006 16:59 To: Flashcoders mailing list Subject: Re: [Flashcoders] Event bubbling in Flash like in Flex personally i use a different mechanism, but this one by ralf bokelberg is good http://www.helpqlodhelp.com/blog/archives/000144.html On 9/28/06, Van De Velde Hans [EMAIL PROTECTED] wrote: Hi list, a question that's in my mind since for a little while now : how can you get event bubbling (cfr. Flex) in Flash? I have a menu with nested bullet-movieclips. A click on a bullet dispatches an event and my menu does not automatically forward that event to the listeners on the menu (sample : http://www.novio.be/downloads/showReel/showReel.zip) What I usually do is add an event handler at the level of the menu and then re-dispatch the event in that handler. This is a bit silly indeed, but how to do better? Thanks, Hans. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Event bubbling in Flash like in Flex
but this is as2. On 9/28/06, Merrill, Jason [EMAIL PROTECTED] wrote: I've updated the sample with the static function initializeBubbling in a separate class all is well ! Actionscript 3.0 will have event bubbling. Just FYI, not to burst your bubble. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Event bubbling in Flash like in Flex
It's because event bubbling is so great in Flex 2, that I started looking for a slick solution in ActionScript 2... By the way, are you a moderator for this list? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: donderdag 28 september 2006 18:33 To: Flashcoders mailing list Subject: RE: [Flashcoders] Event bubbling in Flash like in Flex I've updated the sample with the static function initializeBubbling in a separate class all is well ! Actionscript 3.0 will have event bubbling. Just FYI, not to burst your bubble. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Event bubbling in Flash like in Flex
but this is as2. Some people have no sense of humor. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Thursday, September 28, 2006 12:37 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Event bubbling in Flash like in Flex but this is as2. On 9/28/06, Merrill, Jason [EMAIL PROTECTED] wrote: I've updated the sample with the static function initializeBubbling in a separate class all is well ! Actionscript 3.0 will have event bubbling. Just FYI, not to burst your bubble. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Event bubbling in Flash like in Flex
By the way, are you a moderator for this list? No, why do you ask? Or if that were sarcasm, write me offlist and explain the reason for it. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Van De Velde Hans Sent: Thursday, September 28, 2006 12:29 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Event bubbling in Flash like in Flex It's because event bubbling is so great in Flex 2, that I started looking for a slick solution in ActionScript 2... By the way, are you a moderator for this list? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: donderdag 28 september 2006 18:33 To: Flashcoders mailing list Subject: RE: [Flashcoders] Event bubbling in Flash like in Flex I've updated the sample with the static function initializeBubbling in a separate class all is well ! Actionscript 3.0 will have event bubbling. Just FYI, not to burst your bubble. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com