User manual MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE

DON'T FORGET : ALWAYS READ THE USER GUIDE BEFORE BUYING !!!

If this document matches the user guide, instructions manual or user manual, feature sets, schematics you are looking for, download it now. Diplodocs provides you a fast and easy access to the user manual MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE. We hope that this MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE user guide will be useful to you.


MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE : Download the complete user guide (1607 Ko)

Manual abstract: user guide MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE

Detailed instructions for use are in the User's Guide.

[. . . ] Server-Side ActionScript Language Reference Trademarks 1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central, ColdFusion, Contribute, Database Explorer, Director, Dreamweaver, Fireworks, Flash, FlashCast, FlashHelp, Flash Lite, FlashPaper, Flash Video Encoder, Flex, Flex Builder, Fontographer, FreeHand, Generator, HomeSite, JRun, MacRecorder, Macromedia, MXML, RoboEngine, RoboHelp, RoboInfo, RoboPDF, Roundtrip, Roundtrip HTML, Shockwave, SoundEdit, Studio MX, UltraDev, and WebHelp are either registered trademarks or trademarks of Macromedia, Inc. and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases mentioned within this publication may be trademarks, service marks, or trade names of Macromedia, Inc. or other entities and may be registered in certain jurisdictions including internationally. [. . . ] Static; creates a shared object or returns a reference to an existing shared object. shared object. SharedObject. flush() SharedObject. get() SharedObject. getProperty() SharedObject. getPropertyNames() Returns an array of all the current valid properties in the SharedObject. lock() Locks the shared object instance. Prevents any changes to this object by clients until the SharedObject. unlock() method is called. Delivers all change events to a subscribing client as a single message. Causes the server to remove all deleted properties that are older than the specified version. Unlocks a shared object instance that was locked with SharedObject. lock(). SharedObject. mark() SharedObject. purge() SharedObject. send() SharedObject. setProperty() SharedObject. size() SharedObject. unlock() Server-Side ActionScript Language Reference Property summary for the SharedObject class Property SharedObject. autoCommit Description A Boolean value indicating whether the server periodically commits all persistent shared objects to be stored (true) or not (false). A Boolean value indicating whether the persistent SharedObject has been modified since the last time it was stored (true) or not (false). The depth that indicates when the deleted values of a shared object should be permanently deleted. The current version number of a shared object. SharedObject. isDirty SharedObject. name SharedObject. resyncDepth SharedObject. version Event summary for the SharedObject class Event SharedObject. handlerName Description A placeholder for an event handler; the handler is invoked when a shared object receives a broadcast message with the same name. Invoked when a shared object changes. SharedObject. onStatus SharedObject. onSync SharedObject. autoCommit Availability Flash Media Server 2. Usage mySO. autoCommit Description Property; a Boolean value indicating whether the server periodically stores all persistent shared objects (true) or not (false). If autoCommit is false, the application must call SharedObject. commit() to save the shared object; otherwise, the data is lost. SharedObject class 119 This property is true by default. This can be overridden by specifying the initial state using the following configuration key in the Application. xml file, as shown in the following example: <SharedObjManager> <AutoCommit>false</AutoCommit> </SharedObjManager> SharedObject. clear() Availability Flash Communication Server MX 1. 0. Usage mySO. clear() Parameters None. Returns Returns true if successful; false otherwise. Description Method; deletes all the properties of a single shared object and sends a clear event to all clients that subscribe to a persistent shared object. The persistent data object is also removed from a persistent shared object. Example The following example calls the clear() method on the shared object myShared: var myShared = SharedObject. get("foo", true); var len = myShared. clear(); See also Application. clearSharedObjects() SharedObject. close() Availability Flash Communication Server MX 1. 0. Usage mySO. close() 120 Server-Side ActionScript Language Reference Parameters None. Returns Nothing. Description Method; detaches a reference from a shared object. A call to the SharedObject. get() method returns a reference to a shared object instance. The reference is valid until the variable that holds the reference is no longer in use and the script is garbage-collected. To destroy a reference immediately, you can call SharedObject. close(). You can use SharedObject. close() when you don't want to proxy a shared object any longer. Example In the following example, mySO is attached as a reference to shared object foo. When you call mySO. close you detach the reference mySO from the shared object foo. mySO = SharedObject. get("foo"); // Insert code here. mySO. close(); See also SharedObject. get() SharedObject. commit() Availability Flash Media Server 2. Usage SharedObject. commit([name]) Parameters name A string indicating the name of the persistent shared object instance to store. If no name is specified or an empty string is passed, all persistent shared objects are stored. This parameter is optional. Returns A Boolean value indicating success (true) or failure (false). SharedObject class 121 Description Method (static); stores either a specific persistent shared object instance or all persistent shared object instances with an isDirty property whose value is true. Use this method if the SharedObject. autoCommit property is false and you need to manage when a shared object is stored locally. Example The following code commits all dirty shared objects to local storage when the application stops: application. onAppStop = function (info){ // Insert code here. [. . . ] You can define the following global function at the top of your main. asc file to display all the status messages for the parameters that you pass to the function. You need to place this code in the main. asc file only once. function showStatusForClass(){ for (var i=0;i<arguments. length;i++){ arguments[i]. prototype. onStatus = function(infoObj){ trace(infoObj. code + " (level:" + infoObj. level + ")"); } } showStatusForClass(NetConnection, Stream); A For more information about information objects, see the appendix of the Client-Side Communication ActionScript Language Reference for Flash Media 2. An information object has the following properties: level, code, description, and details. All information objects have level and code properties, but only some have the description and/or details properties. [. . . ]

DISCLAIMER TO DOWNLOAD THE USER GUIDE MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE




Click on "Download the user Manual" at the end of this Contract if you accept its terms, the downloading of the manual MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE will begin.

 

Copyright © 2015 - manualRetreiver - All Rights Reserved.
Designated trademarks and brands are the property of their respective owners.