Setting up the hardware and software

To write Flash Media Server applications, you must install the Macromedia Flash authoring software, Flash Media Server, and the latest Flash Player. To write applications that capture audio or video, you also need to install a microphone or camera. Additionally, if your application requires server-side scripts for your Flash Media Server applications, you'll need a UTF-8 JavaScript editor, such as the Script window in Flash Professional. Each of these elements of the development environment is discussed in this section.

Flash authoring software If you haven't already installed Macromedia Flash, see the Flash documentation.

Flash Media Server software If you haven't already installed the server, see Installing Flash Media Server, available as a PDF on the product CD.

Flash Player Make sure that you are using the latest version of Flash Player. You can download Flash Player from the Macromedia website at www.macromedia.com/go/getflashplayer.

NOTE

 

If you are running Flash Media Server on Linux, you'll need a Windows or Macintosh computer with Flash to create your media applications, and you'll need to install the authoring extensions on your authoring computer. You'll also want to install Flash Player on your UNIX server computer to use the administration tools.

Camera and microphone To install a camera or microphone, follow the instructions that accompany your device. For a list of cameras that are known to be compatible with Flash Media Server, see the documentation on camera compatibility on the Macromedia website. Cameras that aren't on that list may be compatible with Flash Media Server, but haven't been tested by Macromedia.

Many cameras contain a built-in microphone. You can also install a separate microphone, or for best results, a microphone-headset combination.

After you've installed your devices, you can specify which camera or microphone Flash should use by default. Right-click (Windows) or Control-click (Macintosh) while any Flash application is playing, select Settings from the context menu, click the Microphone or Camera panel, and select your preferred device from the pop-up menu.

Using a JavaScript editor You can use any text editor to write server-side ActionScript code, which you'll store in files with an extension of .asc or .js. You may prefer to use software specifically designed for writing web-based applications, such as Flash Professional or Dreamweaver. To create an .asc file in Flash, choose New > ActionScript Communication File.

To include non-ASCII text in your server-side scripts, such as double-byte characters used in Asian languages, you must use an editor that supports UTF-8 encoding. Flash Media Server requires UTF-8-encoded ASC files to pass double-byte characters from one client to another. For more information, see Writing double-byte applications.


 

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

Current page: http://livedocs.adobe.com/fms/2/docs/00000022.html