Download MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Specifications
Transcript
Example
This example defines a function for the onStatus handler that outputs messages to indicate
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 method. This property is set to null before a call to
NetConnection.connect or after NetConnection.close is called.
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.
object
An object derived from the ActionScript Object object.
The name of the method to call on object.
methodName
interval
The time (interval) between calls to function, in milliseconds.
p1, ..., pN
Optional parameters passed to function.
Returns
A unique ID for this call. If the interval is not set, the method returns -1.
40
Related documents
Managing Flash Communication Server Macromedia Flash
Flash Lite 2.x and 3.x ActionScript Language Reference
MG 20 SS-D - Europa Plant Services Ltd
PayPal Digital Goods - 2012 - EC Edition Integration Guide
Agilent Technologies 81689A User`s guide
Polaroid FLM-3201 User's Manual
See Manual
Server-Side Communication ActionScript Dictionary Macromedia
Server-Side ActionScript Language Reference for Adobe® Flash
Wowza Streaming Engine User's Guide
Manual do Usuário do ClaireMeeting
AnaWin User's Guide