Use an Object.
function thisThat():Void {var thisObject:Object = new Object();thisObject.param1 = "test1";thisObject.param2 = "test2";}
etc etc etc
Then do the passin