In your caption class do you have the call to dispatchEvent?

try this:

var evt:MeEvent = new MeEvent(MeEvent.STOP);
this.dispatchEvent(MeEvent);

Doug


On 2/27/07, Patrick Lemiuex <[EMAIL PROTECTED]> wrote:

  Flex People... Please help...

I have two classes fully loaded with inheritance... I'm trying to
make an event from one class fire back at the class that called it
like in my example below. Since, AS only supports single level
inheritance, calling super is not available to me.

This has been a real block in understanding how to program events
correctly, I keep running into this issue. I know how to extend the
event Class and I know how to use composition to make a custom Event
Dispatcher. I still can't seem to get my events to work with either
situation.

My class that is adding the event listener is like this :

_caption = new Caption();
this.addEventListener(MeEvent.STOP,pauseStop);

and from my calling class:

var evt:MeEvent = new MeEvent(MeEvent.STOP);

I guess I am missing something fundamental in my approach to event
management in actionscript

Thanks,
Patrick

Reply via email to