Hi,
I don't do much of this outside of a framework that handles this for me but I believe if you follow my suggestions it will work.
1. When you are instantiating the module you may be facing race conditions. The TextArea inside the module may not be created before you are trying to reference it externally. So in this case you will want to give myMod an event handler to run lines 2 and 3 once the module is properly initialised.
2. I'm not sure about referencing properties using square brackets with modules. I know this works with objects and should therefore work with everything however I use the period method e.g myMod.transcript.
I would also take a look at http://livedocs.adobe.com/
If these suggestions aren't working then I would like to see the code where you define your parentApplication and use the ModuleManager to load in the swf.
Main Topics
Browse All Topics





by: virgewestPosted on 2009-08-17 at 16:02:27ID: 25119120
Increase points - please help!