MACROMEDIA FLASH MEDIA SERVER 2-DEVELOPING MEDIA Develop Manual page 88

Developing media applications
Table of Contents

Advertisement

To understand how to use a FAR file in an application, consider the following example, which
is based on an application called testFAR. The following is the directory of the testFAR
application:.
The main script is called testFAR.asc and is located in the scripts directory:
The testFAR.asc file uses the web services that are provided in the script library directory
(<installdir>\scriptlib). The testFAR developer isn't sure where the applications are going to be
deployed, so they include all of the ASC files inside the webServices folder so that the main
script can always find the web services. When the WebServices.asc file is loaded from the main
script,
is called. It is important to maintain the
load("webServices/WebServices.asc")
same hierarchy inside the FAR file. To maintain the hierarchy, copy the webServices folder
from <installdir>\scriptlib, so that it is at the same level as the main script, as in the following
example:
88
Application Development Tips and Tricks

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Flash media server 2

Table of Contents