Netconnection.uri; Setinterval - MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manual

Server-side communication actionscript dictionary
Table of Contents

Advertisement

Example
This example defines a function for the
whether the NetConnection was successful:
nc = new NetConnection();
nc.onStatus = function(info){
if (info.code == "NetConnection.Connect.Success") {
_root.gotoAndStop(2);
} else {
if (! nc.isConnected){
_root.gotoAndStop(1);
}
}
};

NetConnection.uri

Availability
Flash Communication Server MX.
Usage
myNetConnection.uri
Description
Property (read-only); A string indicating the URI that was passed by the
NetConnection.connect
NetConnection.connect

setInterval

Availability
Flash Communication Server MX.
Usage
setInterval(function, interval[, p1, ..., pN]);
setInterval(object, methodName, interval[, p1, ..., pN]);
Parameters
The name of a defined ActionScript function or a reference to an anonymous
function
function.
An object derived from the ActionScript Object object.
object
The name of the method to call on
methodName
The time (interval) between calls to
interval
Optional parameters passed to
p1, ..., pN
Returns
A unique ID for this call. If the interval is not set, the method returns -1.
40
onStatus
method. This property is set to
or after
NetConnection.close
function
function
handler that outputs messages to indicate
before a call to
null
is called.
.
object
, in milliseconds.
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash communication server mx

Table of Contents