mApplication.checkNetConnection()

Availability

Windows: Flash 8 or 9 AS2.0 SWF + mProjector 3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector 2.0 build 'db';

Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector 2.0; replacing mProjector 1.0 async

Usage

mApplication.checkNetConnection() : Boolean

Parameters

None.

Returns

A boolean.; ;

Description

Method; Checks to see whether the user is connected to the Internet.

Example

The following example returns the status of the computers internet connection.

var isConnection:Boolean = mApplication.checkNetConnection();

See Also

mApplication.getHostAddress()

Code Examples

Check Connection and Download File, mProjector Class Basics -- mApplication