RE: [Flashcoders] Calling Event methods and Other Classes methods.

2008-03-24 Thread Cor
: Re: [Flashcoders] Calling Event methods and Other Classes methods. Even if myButton is not static? and even so, if in main myButton.addEventListener(MouseEvent.CLICK, fun); and in other Class Main.myButton. now what? On Sun, Mar 23, 2008 at 3:52 PM, Cor [EMAIL PROTECTED] wrote: I noticed

RE: [Flashcoders] Calling Event methods and Other Classes methods.

2008-03-23 Thread Cor
I noticed I didn't answer your question. In another class file you can trigger the button like this: Main.myButton.whatever... -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Omar Fouad Verzonden: zondag 23 maart 2008 14:28 Aan: Flash Coders List

Re: [Flashcoders] Calling Event methods and Other Classes methods.

2008-03-23 Thread Omar Fouad
Even if myButton is not static? and even so, if in main myButton.addEventListener(MouseEvent.CLICK, fun); and in other Class Main.myButton. now what? On Sun, Mar 23, 2008 at 3:52 PM, Cor [EMAIL PROTECTED] wrote: I noticed I didn't answer your question. In another class file you can