Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is the Flash movie (within Macromedia Flash MX) not connecting?

0
Posted

Is the Flash movie (within Macromedia Flash MX) not connecting?

0

• It is recommended that you include the NetServices.as class in the first frame of the movie, and the connection to the gateway in the same frame. If you have chosen not to put them in the first frame, then make sure they are defined before you use the connection in your movie. To check this do the following: • Select Window > Actions (or press F9). • From the pop-up menu, select “Actions for frame 1 of Layer Name Layer 1”. “Layer 1” will be the name of your layer. • Make sure that the code connecting your movie to Flash Remoting is in this frame, (or defined before using it). • Make sure to include the NetServices.as class file, again in the first frame: #include “NetServices.as” • The actual connection ActionScript should look like the following: #include “NetServices.as” #include “NetDebug.as” #include “DataGlue.as” if (inited != true) { inited = true; NetServices.setDefaultGatewayUrl (“http://localhost:8200/flashservices/gateway”); gatewayConnection = NetServices.createGatewayConn

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123