The classes are not derived from anything. However if I type import mx.event. and wait, Eclipse does not offer EventDispatcher. There seems to be no EventDispatcher in that package…

 

Ralf Rottmann | Director Sales & Marketing | VoicInt Telecommunications GmbH
m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e:
[EMAIL PROTECTED]
-------------------------------------------------------------------------------------------------------


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Freitag, 2. Dezember 2005 19:18
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

 

Did you extend EventDispatcher?

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann
Sent: Friday, December 02, 2005 10:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

 

Hi there,

 

I get a compile time “Access of undefined property dispatchEvent” error in a .as class file. I have imported flash.events.*; and mx.events.*;

dispatchEvent is available in MXML files but I want to fire an event from an ActionScript class.

 

Please help!

 

Ralf Rottmann

 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to