diff --git a/flex/DecodingGenerator.as b/flex/DecodingGenerator.as index 869fd77..774de8d 100644 --- a/flex/DecodingGenerator.as +++ b/flex/DecodingGenerator.as @@ -27,8 +27,6 @@ package { { gateway = new NetConnection(); - gateway.connect(gw_url); - build(); } @@ -38,8 +36,9 @@ package { var responder:Responder = new Responder(onResult, onFault); gateway.objectEncoding = encodings[encoding]; - + gateway.connect(gw_url); gateway.call(operations[op] + '-' + numbers[num], responder, param); + gateway.close(); } // Result handler method @@ -78,4 +77,4 @@ package { onResult(null); } } -} \ No newline at end of file +} diff --git a/flex/DecodingGenerator.swf b/flex/DecodingGenerator.swf index a0c9fc5..a95e255 100644 Binary files a/flex/DecodingGenerator.swf and b/flex/DecodingGenerator.swf differ