beautypg.com

Adobe Extending Flash Professional CS4 User Manual

Page 559

background image

537

EXTENDING FLASH CS4 PROFESSIONAL

C-Level Extensibility

The sz argument is the size of the string, in bytes. If sz is 0, the length of the null-terminated string is computed
automatically.

The rval argument is a pointer to a single

jsval

structure. The function’s return value is stored in

*rval

.

Returns
A Boolean value:

JS_TRUE

indicates success;

JS_FALSE

indicates failure.