NetServices.getVersion( )

NetServices.getVersion( ) MethodFlash 6

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


A version number, currently 1.0.


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.


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

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

    Part III: Advanced Flash Remoting