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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 369
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 158
Application Development Tips and Tricks 81
If you are having problems understanding how your shared object is behaving, it helps to put
some debug code in your
SharedObject.onSync handler:
so.onSync = function(list) {
for (var k in list) {
trace("name = " + list[k].name + ", event = " + list[k].code);
}
// do whatever else you want to do here
}
Using shared object slots effectively
The decision to encapsulate shared object data in a single slot (
SharedObject.data property) or
to spread it among multiple slots depends partially on how your application posts changes to the
object. For example, if your application needs to send an entire array of strings to all of the
connected clients at specific intervals, you can store the entire array in a single slot.
On the other hand, if your application needs to send only information that has changed, then you
should divide the data among multiple slots. This implementation reduces network traffic and
thus enhances the performance of your application. It also minimizes the need for conflict
resolution code, as multiple slots can be updated simultaneously without data collision.
Flushing remote shared objects
Flash Communication Server automatically flushes remote shared objects to the disk, on both the
client and the server, when all users disconnect from the shared object or when the server shuts
down. At any other time, if you want the shared object to be updated on disk, you must call the
client-side
SharedObject.flush method.
However, calling
SharedObject.flush in the client-side ActionScript flushes only the local copy
of the shared object. To manually flush the server copy of the shared object, you must call
SharedObject.flush in a server-side script:
// Sample server-side code for flushing a persistent shared object
// to the server
// Get the shared object when the application is loaded.
application.onAppStart = function()
{
application.mySO = SharedObject.get("SharedObjName", true);
}
// When a user disconnects, flush the shared object.
application.onDisconnect = function(client)
{
application.mySO.flush();
}
Avoiding shared object synchronization problems
If more than one client (or a server application) can change the data in a single slot of your shared
object at the same time, you must implement a conflict resolution strategy. Here are some
examples:
Use different slots The simplest strategy is to use a different slot for each user that might change
data in the object. For example, in a shared object that keeps track of users in a chat room,
provide one slot per user and have users modify only their own slots.
Vista de página 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 368 369

Comentários a estes Manuais

Sem comentários

Midland BTX1 FM manuali

Manuali dei proprietari e guide per l'utente per Interfoni per motociclismo Midland BTX1 FM.
We fornisce 1 manuali pdf Midland BTX1 FM per scaricare gratuitamente in base al tipo di documento: Specifiche


Midland BTX1 FM Specifiche (88 pagine)


Marchio: Midland | Categoria: Motorcycle intercoms | Dimensione: 5.93 MB |

      

Indice

BASIC INTERCOM SYSTEM

1

Sommario

2

Ricarica delle batterie

4

Modalità operative

5

Midland BTX1 FM - 5

6

Funzione Background

7

Midland BTX1 FM - 7

8

Utilizzo del Navigatore GPS

9

Midland BTX1 FM - 9

10

Configurazioni speciali

11

Garanzia

12

Midland BTX1 FM - 13

14

MIDLAND BTX1 FM

15

Midland BTX1 FM - 15

16

Operative “mode”

17

How to pair two BTX1 FM units

18

18 - Midland BTX1 FM

19

Midland BTX1 FM - 19

20

GPS Navigator

21

How to listen to the FM Radio

21

Midland BTX1 FM - 21

22

22 - Midland BTX1 FM

23

Setup and Firmware update

24

Warranty

24

FCC Compliance Information

25

Midland BTX1 FM - 25

26

Aufladen des Akkus

28

29

Betriebsarten

29

Midland BTX1 FM - 29

30

Gerät anderer Marken

31

Hintergrund“-Funktion

31

Midland BTX1 FM - 31

32

Wiedergabe Vom UKW-Radio

33

Midland BTX1 FM - 33

34

34 - Midland BTX1 FM

35

Benutzung auf eigene Gefahr

36

Gewährleistung

36

36 - Midland BTX1 FM

37

Midland BTX1 FM - 37

38

Midland BTX1 FM

39

Midland BTX1 FM - 39

40

Encender y apagar el BTX1 FM

41

Modos de operación

41

Cómo sincronizar otro BTX1 FM

41

Función “Background”

43

Midland BTX1 FM - 43

44

Uso della función Radio FM

45

Configuraciones especiales

46

46 - Midland BTX1 FM

47

Certificaciones Europeas CE

48

48 - Midland BTX1 FM

49

Sommaire

50

Rechargement des batteries

52

“Mode” de fonctionnement

53

Midland BTX1 FM - 53

54

Midland BTX1 FM - 55

56

56 - Midland BTX1 FM

57

Midland BTX1 FM - 57

58

58 - Midland BTX1 FM

59

Garantie

60

60 - Midland BTX1 FM

61

Midland BTX1 FM - 61

62

Carregar as baterias

64

“Modo” de operação

65

Midland BT

66

Midland BTX1 FM - 67

68

68 - Midland BTX1 FM

69

Midland BTX1 FM - 69

70

70 - Midland BTX1 FM

71

Garantia

72

72 - Midland BTX1 FM

73

Περιεχόμενα

74

Midland BTX1 FM - 75

76

Καταστάσεις λειτουργίας

77

Midland BTX1 FM - 77

78

78 - Midland BTX1 FM

79

Midland BTX1 FM - 79

80

80 - Midland BTX1 FM

81

Πώς να ακούσετε ραδιόφωνο FM

82

82 - Midland BTX1 FM

83

Midland BTX1 FM - 83

84

84 - Midland BTX1 FM

85

EC Certificate of Conformity

86





Più prodotti e manuali per Interfoni per motociclismo Midland

Modelli Tipo di Documento
BTX2 FM Specifiche         Midland BTX2 FM, 100 pagine