NetServices.getVersion( )

NetServices.getVersion( ) MethodFlash 6

returns the version of the NetServices object
NetServices.getVersion( )

Returns

A version number, currently 1.0.

Description

The getVersion( ) method returns the current version number of the NetServices object (currently 1.0). It can be used to ensure backward compatibility and compatibility with future versions if the methods or properties of the object change in future implementations.

Example

The following code shows the basic syntax of the getVersion( ) method:

#include "NetServices.as"
var netServ_version = NetServices.getVersion( );
trace("NetServices object version: " + netServ_version);


    Part III: Advanced Flash Remoting