• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

NetServices.createGatewayConnection( ) M... > NetServices.createGatewayConnection(...

Name

NetServices.createGatewayConnection( ) Method

Synopsis

NetServices.createGatewayConnection(url)

Arguments

url

An optional string containing the URL of a Flash Remoting connection.

Returns

A NetConnection object.

Description

The createGatewayConnection( ) method is the best way to create a new NetConnection object. You can set up a default URL in the ActionScript code and then override it with a URL passed from the HTML page that houses the Flash movie. The newly created NetConnection object is used connect to the Flash Remoting adapter on the server. You also call remote methods through the NetConnection object. The NetConnection object also handles the service results.

Example


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint