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

Developing media applications
Table of Contents

Advertisement

Connecting the management console to a server . . . . . . . . . . . . . . 66
About the View Applications panel . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
About the Live Log panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
About the Clients panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
About the Shared Objects panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
About the Streams panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
About the Performance panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
Using a debug connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
About onStatus event handlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Where to use onStatus handlers in a script . . . . . . . . . . . . . . . . . . . . . 77
About overriding the onStatus handler . . . . . . . . . . . . . . . . . . . . . . . . . 77
About the System.onStatus handler . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Tracing the properties of an object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
About file types and paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
About shared object files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Portability across servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Client-server script interdependence. . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Using multiple script files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Archiving and compiling server-side script files . . . . . . . . . . . . . . . . . . 86
Compiling scripts to bytecode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Forcing the Player Settings panel to appear . . . . . . . . . . . . . . . . . . . . . . 91
Managing bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Writing double-byte applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
About unloading and reloading applications . . . . . . . . . . . . . . . . . . . . . 94
Implementing dynamic access control . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Developing secure applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Protecting scripts from third-party code . . . . . . . . . . . . . . . . . . . . . . . . . 96
Simple-system call example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Synchronous system calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Asynchronous system calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Coding conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Following naming guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Naming variables to support code hinting . . . . . . . . . . . . . . . . . . . . .102
Commenting your code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Initializing applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
Using var for local variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
5

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents