RE: [flexcoders] Events again...

2005-12-05 Thread Dirk Eismann
, December 03, 2005 12:34 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Events again... Just wanted to let you know: Solved the issue. Deriving my AS3 class from EventDispatcher did the trick. However I wonder why Flex Builder does not offer

Re: [flexcoders] Events again...

2005-12-02 Thread Jeff Tapper
Ralf - dispatchEvent and addEventListener are methods of the EventDispatcher class. EventDispatcher is the superclass to most (all?) built in flex components, but is not inherently available to all AS3 classes. If you modify ClassB to instead be public ClassB extends

Re: [flexcoders] Events again...

2005-12-02 Thread Ralf Rottmann
Title: Re: [flexcoders] Events again... Thanks. I'll give it a try. How about my second question: how can I propagate the event up to ClassA (fired in ClassB)? Regards RR -- mobile: +49-(0)170-914-5495 email: [EMAIL PROTECTED] -Original Message- From: flexcoders

RE: [flexcoders] Events again...

2005-12-02 Thread Ralf Rottmann
Title: Re: [flexcoders] Events again... Just wanted to let you know: Solved the issue. Deriving my AS3 class from EventDispatcher did the trick. However I wonder why Flex Builder does not offer EventDispatcher as tooltip help when you type import flash.events. it offers everything