Modules events

Federico's Avatar

Federico

08 Nov, 2013 06:26 PM

Hi! I'm trying to send messages between modules, using "ModuleExtension" , the problem is when I try to send events between "Module A" and "Module B", "Module A" dispatchs a "XXXEvent" but "Module B" receives the event but "flash.events.Event".

Any tip to solve this issue?

Thanks!

  1. Support Staff 1 Posted by Shaun Smith on 08 Nov, 2013 06:42 PM

    Shaun Smith's Avatar

    Hello!

    When creating a custom event it is highly recommended that you override the clone method. Without this, when the event is bubbled or redispatched, it will become a plain Flash Event.

  2. 2 Posted by Federico on 08 Nov, 2013 08:44 PM

    Federico's Avatar

    You are completely right! It's working now, thanks!

  3. Ondina D.F. closed this discussion on 15 Nov, 2013 11:44 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac