Adobe Flash Media Server

Client-side ActionScript API

Client-side scripts run in Flash Player, AIR, or Flash Lite. You can use Adobe Flash or Adobe Flex to write client-side scripts in ActionScript 2.0 or ActionScript 3.0 that access server resources (such as capturing live audio and video and streaming it to the server, which streams it to all connected clients).

Developers can use any Flash Player classes in a client-side script. The following classes are used to access Flash Media Server resources:

Camera 

Captures video from a camera attached to a computer running Flash Player or AIR. Use the NetConnection and NetStream classes to transmit the video to Flash Media Server. Flash Media Server can send the video to other servers and broadcast it to other clients running Flash Player, AIR, or Flash Lite.



Microphone 

Captures audio from a microphone attached to a computer running Flash Player or AIR. Use the NetConnection and NetStream classes to transmit the audio to Flash Media Server. Flash Media Server can send the audio to other servers and broadcast it to other clients running Flash Player, AIR, or Flash Lite.



NetConnection 

A two-way connection between the client and Flash Media Server or between Flash Media Server and Flash Remoting.



NetStream 

A one-way stream between the client and Flash Media Server through a connection made available by a NetConnection object.



SharedObject 

Share data between multiple SWF files. You can also share data between multiple Flash Media Server application instances.



Video 

Displays live or recorded video in an application without embedding the video in a SWF file. A Video object is a display object on the application's display list and represents the visual space in which the video runs in a user interface.



For more information, see ActionScript 3.0 Language and Components Reference and Adobe Flash Media Server ActionScript 2.0 Language Reference.

 

Send me an e-mail when comments are added to this page | Comment Report