MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Spécifications Page 350

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 369
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 349
50
Example
This example outputs foo to the NetConnection Debugger:
mySO = SharedObject.get("foo");
trace(mySO.name);
SharedObject.onStatus
Availability
Flash Communication Server MX.
Usage
SharedObject.onStatus = function(info) {
// insert code here
};
Parameters
info An information object. For more information, see the Appendix, “Client-Side
Information Objects,” in the Client-Side Communication ActionScript Dictionary.
Returns
Nothing.
Description
Event handler; reports errors, warnings, and status messages associated with either a local instance
of a shared object or a persistent shared object.
Example
The following example defines an onStatus event handler for the shared object soInstance:
soInstance = SharedObject.get("foo", true);
soInstance.onStatus = function(infoObj){
//Handle SO status messages
}
SharedObject.onSync
Availability
Flash Communication Server MX.
Usage
SharedObject.onSync = function(list){
return;
};
Parameters
list An array of objects that contain information about the properties of a shared object that
have changed since the last time the
onSync method was called. The notifications for proxied
shared objects are different than for shared objects that are owned by the local application
instance. The following tables list the descriptions for each type of shared object.
Vue de la page 349
1 2 ... 345 346 347 348 349 350 351 352 353 354 355 ... 368 369

Commentaires sur ces manuels

Pas de commentaire