[flexcoders] Re: Module and Application Communication.

2009-08-19 Thread valdhor
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[

[flexcoders] Re: Module and Application Communication.

2009-08-19 Thread cuttenv
, 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

[flexcoders] Re: Module and Application Communication.

2009-08-19 Thread cuttenv
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;

[flexcoders] Re: Module and Application Communication.

2009-08-19 Thread valdhor
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

[flexcoders] Re: Module and Application Communication.

2009-08-18 Thread 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

RE: [flexcoders] Re: Module and Application Communication.

2009-08-18 Thread Alex Harui
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

[flexcoders] Re: Module and Application Communication.

2009-08-18 Thread cuttenv
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

RE: [flexcoders] Re: Module and Application Communication.

2009-08-18 Thread Alex Harui
...@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