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

Developing media applications
Table of Contents

Advertisement

To compile server-side scripts to bytecode:
1.
Open your operating system's command shell.
Enter far -compile with the desired options at the prompt.
2.
Add the location of the FAR utility to the PATH environment variable. This addition
lets you run the FAR utility without having to specify the full path to the executable.
The syntax for running the archive compiler utility to create a script package is as follows:
c:\> far -compile [-v <version>] [-fv <version>] [-e <date>] [-hdr
<header>] [-n] [-h [<command>]] <file1> [<file2> ... <fileN>]
The following table describes the command-line options available for the
command:
Option
-v <version>
-fv <version>
-e <date>
-hdr <header>
90
Application Development Tips and Tricks
Description
Optional. Specifies the version that is encoded into the version
field of the 12-byte signature. If unspecified, this option defaults
to 1.0. This option is also added as an optional header that looks
like, "version:1.0\n".
Optional. Specifies the recommended version of Flash Media
Server to use with this file. This version number is encoded into
the fms_version field of the 36-byte header. If unspecified, this
defaults to 1.6. This option is also added as an optional header
that looks like, "fcsver:1.6\n".
This option adds content to the ASE file, but the Flash
Note:
Media Server does not use the content at this time.
Optional. Specifies the expiration date of this file. The date is
specified as mm/dd/yyyy. After this date, the file is no longer
readable. If unspecified, this option defaults to 0, which means
the file will never expire. This option may be useful if you want to
give the file out for a time-limited trial. If set (for example, 12/31/
2003), this date is also added as an optional header and the
date is formatted to look like, "expires:Sat Dec 31 00:00:00
2003\n".
This option adds content to the ASE file, but the Flash
Note:
Media Server does not use the content at this time.
Optional. Specifies a user-defined header to embed in the
output file. A header is specified in the form Name:Value. To
specify more than one header, you must specify the header
using another -h <header> option. For example, casc -h
name1:value1 -h name2:value2.
This option adds content to the ASE file, but the Flash
Note:
Media Server does not use the content at this time.
-bytecode

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents