What are MyCustomMdoule (Spelling?) and moduleContent ?
The following works for me:
Application:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
creationComplete=onCreationComplete()
mx:Script
![CDATA[
, August 18, 2009 6:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Module and Application Communication.
Hey Alex,
I set it up so the event is dispatching when I clickity click a button. So I
know for sure the event is being dispatched.
--- In flexcoders
Hi valdhor,
Thanks for making a sample! I went back and looked at my code again and
realized I was trying to catch an event that was being dispatched via a Popup
inside the module!
Application:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
System Manager is the handler for popup windows. So, either add the event
listener to the system manager of the application or add it to the system
manager of the module.
systemManager.addEventListener('customEventDispatchedByModule', onEvent);
--- In flexcoders@yahoogroups.com, cuttenv
not sure. How could I test that? They are both on the same domain (locahost)
and even in the same directory. Wouldn't it throw a sandbox violation error if
it was that?
--- In flexcoders@yahoogroups.com, Rick Winscot rick.wins...@... wrote:
Have you tested to see if this is a security / app
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of cuttenv
Sent: Tuesday, August 18, 2009 3:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Module and Application Communication.
not sure. How could I test that? They are both on the same domain
Of cuttenv
Sent: Tuesday, August 18, 2009 3:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Module and Application Communication.
not sure. How could I test that? They are both on the same domain (locahost)
and even in the same directory. Wouldn't it throw a sandbox violation
...@yahoogroups.com] On Behalf
Of cuttenv
Sent: Tuesday, August 18, 2009 6:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Module and Application Communication.
Hey Alex,
I set it up so the event is dispatching when I clickity click a button. So I
know for sure the event is being
8 matches
Mail list logo