MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Especificaciones Pagina 286

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 369
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 285
Client-Side Communication ActionScript 95
SharedObject.getSize
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
myLocalOrRemoteSharedObject.getSize()
Parameters
None.
Returns
A numeric value specifying the size of the shared object, in bytes.
Description
Method; gets the current size of the shared object, in bytes.
Flash calculates the size of a shared object by stepping through each of its data properties; the
more data properties the object has, the longer it takes to estimate its size. For this reason,
estimating object size can have significant processing cost. Therefore, you may want to avoid
using this method unless you have a specific need for it.
Example
The following example gets the size of the shared object so.
var soSize= this.so.getSize();
SharedObject.onStatus
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
myLocalOrRemoteSharedObject.onStatus = function(infoObject) {
// Your code here
}
Parameters
infoObject A parameter defined according to the status message. For details about this
parameter, see “SharedObject information objects” on page 109.
Returns
Nothing.
Description
Event handler; invoked every time an error, warning, or informational note is posted for a shared
object. If you want to respond to this event handler, you must create a function to process the
information object generated by the shared object. For more information, see the Appendix,
“Client-Side Information Objects,” on page 105.
See also
SharedObject.getLocal, SharedObject.getRemote, SharedObject.onSync
Vista de pagina 285
1 2 ... 281 282 283 284 285 286 287 288 289 290 291 ... 368 369

Comentarios a estos manuales

Sin comentarios