MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Especificações Página 279

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 369
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 278
88
Example
The following example connects to a shared object and initializes it.
function getMaster()
{
trace("getMaster called");
master = SharedObject.getRemote("master", con.uri, true);
connVal = master.connect(con);
if (connVal) print("Connection was successful");
else print("Unable to connect the shared object with the given NetConnection
object");
master.onSync = function (listVal) {
getPlayList();
trace("SO: " + so.data[currentPlaylist]);
}
}
See also
NetConnection (object), SharedObject.getRemote, SharedObject.onSync
SharedObject.data
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
myLocalOrRemoteSharedObject.data
Description
Read-only property; the collection of attributes assigned to the data property of the object; these
attributes can be shared and/or stored. Each attribute can be an object of any of the basic
ActionScript or JavaScript types—Array, Number, Boolean, and so on. For example, the
following lines assign values to various aspects of a shared object:
itemsArray = new Array(101,346,483);
currentUserIsAdmin = true;
currentUserName = "Ramona";
so.data.itemNumbers = itemsArray;
so.data.adminPrivileges = currentUserIsAdmin;
so.data.userName = currentUserName;
All attributes of a shared object’s data property are available to all clients connected to the shared
object, and all of them are saved if the object is persistent.
Note: Do not assign values directly to the data property of a shared object, as in so.data = someValue; Flash
ignores these assignments.
If you assign null or undefined to the attribute of a remote shared object, Flash deletes the
attribute, and
SharedObject.onSync is invoked with a code property of "delete". To delete
attributes for local shared objects, use code like
delete so.data.attributeName; setting an
attribute to
null or undefined for a local shared object does not delete the attribute.
Vista de página 278
1 2 ... 274 275 276 277 278 279 280 281 282 283 284 ... 368 369

Comentários a estes Manuais

Sem comentários

LOEWE 52465U85 manuels

Manuels d'utilisation et guides de l'utilisateur pour Télévisions LED LOEWE 52465U85.
Nous fournissons des manuels en pdf 1 LOEWE 52465U85 à télécharger gratuitement par type de document : Fiche technique






Plus de produits et de manuels pour Télévisions LED LOEWE

Modèles Type de document
51463W90 Fiche technique   LOEWE CONNECT ID 40 DR+ 90 Y 40" Full HD 3D compatibility Wi-Fi Black, 3 pages
51465T44 Fiche technique   LOEWE Connect ID 55 55" Full HD 3D compatibility Wi-Fi Black, White, 3 pages
51464W90 Fiche technique   LOEWE CONNECT ID 46 DR+ 90 Y 46" Full HD 3D compatibility Wi-Fi Black, 3 pages
52434U85 Fiche technique   LOEWE Art 60 60" Full HD 3D compatibility Smart TV Wi-Fi White, 20 pages
52434T85 Fiche technique   LOEWE Art 32 32" Full HD 3D compatibility Smart TV Wi-Fi Silver, 3 pages
52449O80 Fiche technique   LOEWE Xelos 46, 2 pages
52434O85 Fiche technique   LOEWE Art 32 32" Full HD 3D compatibility Smart TV Wi-Fi Black, 3 pages
50414W47 Fiche technique   LOEWE Art 40 LED 200 DR+, 2 pages
50412O45 Fiche technique   LOEWE Art 32, 2 pages
50424W83 Fiche technique   LOEWE Xelos 40 Media, 2 pages
50422W81 Fiche technique   LOEWE Xelos 32 Media, 2 pages
50412T47 Fiche technique   LOEWE Art 32 LED DR+, 2 pages
69415L80 Fiche technique   LOEWE Individual 40 Compose, 6 pages
50431U48 Fiche technique   LOEWE Individual 46 Compose 3d, 2 pages
50416T47 Fiche technique   LOEWE Art 46 LED 200 DR+, 2 pages
BUNDEL I46-10 Fiche technique   LOEWE Individual 40 Compose 3d, 2 pages
50431B48 Fiche technique   LOEWE Individual 46 Compose 3d, 2 pages
50402T42 Fiche technique   LOEWE Connect 32 LED DR+, 2 pages
50413W47 Fiche technique   LOEWE Art 37 LED Dr+ 37" Full HD Brown, 2 pages
51409T42 Fiche technique   LOEWE Connect 40, 2 pages