MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 50

Server-side actionscript language reference
Table of Contents

Advertisement

Event handler summary for the Client class
Event handler
Client."commandName"
Client.agent
Availability
Flash Communication Server MX 1.0.
Usage
clientObject.agent
Description
Property (read-only); contains the version and platform information of the Flash client.
Example
The following example checks the
different code depending on whether they match. This code is written in an
function.
function onConnect(newClient, name){
if (newClient.agent.indexOf("WIN") > -1){
trace ("Window user");
} else {
trace ("non Window user.agent is" + newClient.agent);
}
}
Client.call()
Availability
Flash Communication Server MX 1.0.
50
Server-Side ActionScript Language Reference
Description
Invoked when
NetConnection.call(commandName)
client-side script.
property against the string
agent
is called in a
and executes
"WIN"
onConnect

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents