Jsbool Js_Doubletovalue(); Jsval Js_Booleantovalue(); Jsval Js_Bytestovalue() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

JSBool JS_DoubleToValue()

Usage
JSBool JS_DoubleToValue(JSContext *cx, double dv, jsval *vp);
Description
Method; stores a floating-point number return value in a
Arguments
JSContext *cx
The
argument is the opaque
cx
The
argument is an 8-byte floating-point number.
dv
The
argument is a pointer to the
vp
should be copied.
Returns
A Boolean value:

JSVal JS_BooleanToValue()

Usage
jsval JS_BooleanToValue(JSBool bv);
Description
Method; stores a Boolean return value in a
Arguments
JSBool bv
The
argument is a Boolean value:
bv
Returns
A
structure that contains the Boolean value that passes to the function as an argument.
JSVal

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
The
argument is the JavaScript context.
cx
The
argument is the string of bytes to convert to a JavaScript object.
bytes
,
,
double dv
jsval *vp
JSContext
indicates success;
JS_TRUE
unsigned short bytes
jsval
pointer that passes to the JavaScript function.
structure into which the contents of the double
jsval
indicates failure.
JS_FALSE
structure.
jsval
indicates success;
JS_TRUE
,
,
*
uint sz
jsval
vp
structure.
indicates failure.
JS_FALSE
The C-level API
381

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents