Deploying applications and application instances
15
5.
Publish the SWF file for your application in a directory accessible to your clients but that
Flash Media Server does not use.
For example, you could put your SWF file in the web root directory that will serve your
application to your clients, or you could e-mail the SWF file to your clients and store the
SWF file in some other directory.
Depending on your application, additional steps are required; however, these steps are
necessary for all applications, regardless of their functionality.
The rest of this chapter describes what’s involved in setting up your applications, introduces
the objects and files used in Flash Media Server applications, and shows you how to create and
connect to your first Flash Media Server application.
Deploying applications and application
instances
This section discusses where you must place application data that you want the server to find,
and also explains how and why to run application instances.
Storing server-side and client-side files
The default location for server-side application files is C:\Program files\Macromedia\Flash
Media Server 2\applications on Windows or /opt/macromedia/fms/applications on UNIX.
This location is referred to as the applications directory. When you create a media application,
you must create a registered application directory, which is a subdirectory for your application
in the applications directory.
You can store your client-side files (SWF and HTML) in any location; most likely, you will
store them in your web server publishing directory. The FLA files for your applications can
remain with the SWF and HTML files until deployment; at production time, remove the
FLA files and place them in a secure location.
TI
P
Macromedia recommends that you use all lowercase letters and no spaces when you
name directories and files used with Flash Media Server and its applications. This
practice helps to ensure that, during development, your applications will work if you
move files to different computers on different platforms.
Summary of Contents for FLASH MEDIA SERVER 2-DEVELOPING MEDIA
Page 1: ...Developing Media Applications ...
Page 6: ...6 ...
Page 10: ...10 About This Manual ...
Page 36: ...36 Flash Media Server Architecture ...
Page 80: ...80 Debugging and Monitoring Applications ...
Page 106: ...106 Application Development Tips and Tricks ...
Page 114: ...114 ...