RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-03 Thread Ralf Rottmann
PROTECTED] On Behalf Of Matt Chotin Sent: Samstag, 3. Dezember 2005 00:31 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class   flash.events.EventDispatcher, it’s now built into the Player.   From: flexcoders

Re: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-03 Thread Sreejith Unnikrishnan
Try flash.events.EventDispatcher Ralf Rottmann wrote: Re: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class Thanks. Part of the problem is that there is no EventDispatcher class. importing mx.events.* does not help. The popup typeahead in Eclipse does

Re: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Ralf Rottmann
Title: Re: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class Thanks. Part of the problem is that there is no EventDispatcher class. importing mx.events.* does not help. The popup typeahead in Eclipse does not bring it up either. Is extending Sprite an option

RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Matt Chotin
otin 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

RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Ralf Rottmann
ders@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 A

Re: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Martin Wood
your class has to either extend EventDispatcher or if you are already inheriting from something else and cant put EventDispatcher in the class heirarchy you will have to implement the IEventDispatcher interface yourself. thanks, Martin Ralf Rottmann wrote: > Hi there, > > > > I get a com

RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Matt Chotin
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

[flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Ralf Rottmann
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