RE: [flexcoders] Events again...

2005-12-05 Thread Dirk Eismann
urday, 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

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

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- F

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 flash.events.EventDispatc

[flexcoders] Events again...

2005-12-02 Thread Ralf Rottmann
Again an Event question with desperate need for help:   Talking about Flex 2.0 Alpha. Two custom classes: ClassA and ClassB. Both .as files, so no MXML, no Component, not derived from any other built-in class.   In ClassA you find something like that:   public ClassA {