Jsval Js_Integertovalue(); Jsval Js_Objecttovalue(); Unsigned Short *Js_Objecttype() - 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

The
argument is the number of bytes to be converted.
sz
The
argument is the JavaScript value.
vp
Returns
A Boolean value:

JSVal JS_IntegerToValue()

Usage
jsval JS_IntegerToValue(long lv);
Description
Method; converts a long integer value to
Arguments
lv
The
argument is the long integer value that you want to convert to a
lv
Returns
A
structure that contains the integer that passed to the function as an argument.
JSVal

JSVal JS_ObjectToValue()

Usage
jsval JS_ObjectToValue(JSObject *obj);
Description
Method; stores an object return value in a
object; use
JS_SetElement()
Arguments
JSObject *obj
The
argument is a pointer to the
obj
structure.
Returns
A
structure that contains the object that you passed to the function as an argument.
JSVal

unsigned short *JS_ObjectType()

Usage
unsigned short *JS_ObjectType(JSObject *obj);
Description
Method; given an object reference, returns the class name of the object. For example, if the object
is a DOM object, the function returns "
function returns "
382
Chapter 4: C-Level Extensibility
indicates success;
JS_TRUE
to define its contents.
". For an array object, the function returns "
Element
indicates failure.
JS_FALSE
structure.
JSVal
. Use
JSVal
JS_ NewArrayObject()
object that you want to convert to a
JSObject
". If the object is a node in the document, the
Document
structure.
jsval
to create an array
JSVal
".
Array

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