Name

NetServices.getVersion( ) Method

Synopsis

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);

Get Flash Remoting: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.