I have done this twice before and apparently I am forgetting something.. 1) Create a main app with add a ModuleLoader and a button to load module. 2) Create Module - added some text field to display data.. 3) Run app and click button to load module.. I click the button and nothing happens...
What have I forgotten to do? Am I not importing something I need to declaring something? I have looked at the other code and don't see any difference other than lots more stuff... <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ public function doItClick():void{ pissOff.url = "modules/loaded.swf"; } ]]> </mx:Script> <mx:Canvas> <mx:ModuleLoader id="pissOff" width="227" height="156"/> </mx:Canvas> <mx:Button click="doItClick()" label="click me" x="235" y="134"/> </mx:Application> <?xml version="1.0" encoding="utf-8"?> <mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="400" height="300"> <mx:Canvas> <mx:Text text="Will it work?" x="123" y="29"/> </mx:Canvas> </mx:Module> Eric W Dunn Adaption Technologies 281-465-3326 [email protected]

