Build a unique query string for the module loading
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" height="500" width="400"> <mx:Script> public function initModule():void { var s:String = "a.swf?" + "firstName=" + ti1.text + "&lastName=" + ti2.text; m1.url = s; } </mx:Script> <mx:VBox> <mx:TextInput id="ti1" /> <mx:TextInput id="ti2" /> <mx:ModuleLoader id="m1" /> <mx:Button id="b1" label="Submit" click="initModule()" /> </mx:VBox> </mx:Application>