Re: [Flashcoders] addEventListener - MovieClip wants to pass event to containing class

2006-02-14 Thread Steve Warren
Thanks for the tips Moses! I'm gonna download and check out CallbackDispatcher 2.0 now... Where are you from? I'm living in NJ, working in Manhattan. -steve On 2/12/06, Moses Gunesch <[EMAIL PROTECTED]> wrote: > > Steve - > > Yes there are 2 things available for this. MM added that > functiona

Re: [Flashcoders] addEventListener - MovieClip wants to pass event to containing class

2006-02-12 Thread Moses Gunesch
Steve - Yes there are 2 things available for this. MM added that functionality in some event classes that are pretty much undocumented and a little tough to learn - UIEventDispatcher and LowLevelEvents. Secondly, I wrote a class called CallbackDispatcher that makes it really easy to use e

Re: [Flashcoders] addEventListener - MovieClip wants to pass event to containing class

2006-01-19 Thread Lanny McNie
Thats not how EventDispatcher works. Firstly, you need a movieclip whose class has EventDispatcher tied into it (like the v2 components do). Once that's working, the correct syntax is: mc.addEventListener("click", this); function click() { // do stuff } On 1/19/06, Steve Warren <[EMAIL PROT

[Flashcoders] addEventListener - MovieClip wants to pass event to containing class

2006-01-19 Thread Steve Warren
Hey folks, I'm having a little trouble getting addEventListener to work. I've tried a bunch of combinations, but have yet to find the right one. I'm trying to assign onRelease functions to a bunch of buttons in my LanguageChooser class. All I want to do is call a function inside LanguageChooser