Adobe Extending Flash Professional CS5 Manual de usuario Pagina 561

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 560
539
EXTENDING FLASH PROFESSIONAL
C-Level Extensibility
Last updated 5/2/2011
JSVal JS_BooleanToValue()
Usage
jsval JS_BooleanToValue(JSBool bv);
Description
Method; stores a Boolean return value in a jsval structure.
Arguments
JSBool bv
The bv argument is a Boolean value: JS_TRUE indicates success; JS_FALSE indicates failure.
Returns
A JSVal structure that contains the Boolean value that passes to the function as an argument.
JSVal JS_BytesToValue()
Usage
JSBool JS_BytesToValue(JSContext *cx, unsigned short *bytes, uint sz, jsval *vp);
Description
Method; converts bytes to a JavaScript value.
Arguments
JSContext *cx, unsignedshort*bytes, uintsz, jsval *vp
The cx argument is the JavaScript context.
The bytes argument is the string of bytes to convert to a JavaScript object.
The sz argument is the number of bytes to be converted.
The vp argument is the JavaScript value.
Returns
A Boolean value: JS_TRUE indicates success; JS_FALSE indicates failure.
JSVal JS_IntegerToValue()
Usage
jsval JS_IntegerToValue(long lv);
Description
Method; converts a long integer value to JSVal structure.
Arguments
lv
The lv argument is the long integer value that you want to convert to a jsval structure.
Vista de pagina 560
1 2 ... 556 557 558 559 560 561 562 563 564 565

Comentarios a estos manuales

Sin comentarios