CHAPTER 3
C-Level Extensibility
The C-level extensibility mechanism lets you implement Macromedia Flash extensibility files
using a combination of JavaScript and custom C code. You define functions using C, bundle
them in a dynamic linked library (DLL) or a shared library, save the library in the appropriate
directory, and then call the functions from JavaScript using the Macromedia Flash
JavaScript API.
For example, you might want to define a function that performs intense calculations more
efficiently than JavaScript does, which improves performance, or when you want to create
more advanced tools or effects.
This extensibility mechanism is a subset of the Macromedia Dreamweaver API. If you are
familiar with that API, you might recognize the functions in this API. However, this API
differs from the Dreamweaver API in the following ways:
This API does not contain all the commands in the Dreamweaver API.
All declarations of type
declarations in this API, to support Unicode when strings are passed.
unsigned short
The
JSVal JS_BytesToValue()
Dreamweaver API.
The location where DLL or shared library files must be stored is different (see
C functions" on page
and
in the Dreamweaver API are implemented as
wchar_t
char
function in this API is not part of the
534).
3
"Integrating
533
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers