MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 9

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 155
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 8
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
6
displaying = function(){
trace("Hello World");
}
The previous example calls the displaying() method every 3 seconds and sends the message "Hello World" to
the server log.
See also
clearInterval()
trace()
trace(expression)
Evaluates an expression and displays the value. You can use the trace() function to debug a script, to record
programming notes, or to display messages while testing a file. The
trace() function is similar to the alert()
function in JavaScript.
The expression appears in the Live Log panel of the Administration Console; it is also published to the appli-
cation.xx.log file located in a subdirectory of the RootInstall\logs folder. For example, if an application is called
myVideoApp, the application log for the default application instance would be located here: RootIn-
stall\logs\_defaultVHost_\myVideoApp\_definst_.
Availability
Flash Communication Server 1
Parameters
expression Any valid expression. The values in expression are converted to strings if possible.
Application class
Every instance of a Flash Media Server application has an Application object, which is a single instance of the Appli-
cation class. You dont need to use a constructor function to create an Application object; it is created automatically
when an application is instantiated by the server.
Use the Application object to accept and reject client connection attempts, to register and unregister classes and
proxies, and to manage the life cycle of an application. The Application object has callback functions that are invoked
when an application starts and stops and when a client connects and disconnects.
For more information about the life cycle of an application, see Adobe Flash Media Server Developer Guide.
Availability
Flash Communication Server 1
Vedere la pagina 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 154 155

Commenti su questo manuale

Nessun commento