, 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
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
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
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
4 matches
Mail list logo