Thanks it did solve the Script issue. But another problem
came up... The Remoting cannot find the Java Service. Then I get
this exception: status:
flashgateway.adapter.NoSuchServiceException: No service named
JavaPrinter is known to Flash Remoting MX.
I'm using Tomcat on the 8081 port, the context name is
PrintService and the Java Class is called JavaPrinter... The
flashgateway.jar is in the lib directory.
So there may be some mistake in the following code?
http://localhost:8081/PrintService/gateway"); gatewayConnnection = NetServices.createGatewayConnection();