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
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
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
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
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
{
5 matches
Mail list logo