Thanks Helen, great info! Jason Merrill Bank of America Learning & Organizational Effectiveness
>>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Helen Triolo >>Sent: Friday, February 16, 2007 10:41 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] Events for custom classes? >> >>If you use dispatchEvent from any class, any other class >>that's listening for it can respond. No scope issues that I >>can see. I have a simple example of two classes talking to >>each other using EventDispatcher at >>http://flash-creations.com/notes/sample_emailer.php >>if you want it -- click the free download on the right. >> >>Helen >> >>Merrill, Jason wrote: >> >>>Helen, >>> >>>Great, thank you. However, I'm a little confused on how I >>apply that >>>to my code I posted. All the MM docs on Event Dispatcher >>show using it >>>with Adove classes or components. And how about the scope with my >>>Webservice event? That scope is outside of my custom class, >>so how do >>>I fire the event in my custom class? I can add a property to the >>>listener object which is the AdminData class instance, but >>that seems kludgy. >>> >>>Jason Merrill >>>Bank of America >>>Learning & Organizational Effectiveness >>> >>> >>> >> >>_______________________________________________ >>[email protected] >>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 >> _______________________________________________ [email protected] 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

