Macromedia flash 8-flash samples Manuel D’Utilisation
42
Extending Flash
Sample DLL
Advanced users can use the C-level extensibility mechanism to implement
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
JavaScript API.
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
JavaScript API.
A sample DLL implementation is located in the following folder:
■
In Windows, browse to boot drive\Program Files\Macromedia\Flash 8\
Samples and Tutorials\Samples\ExtendingFlash\
dllSampleComputeSum.
Samples and Tutorials\Samples\ExtendingFlash\
dllSampleComputeSum.
■
On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/ExtendingFlash/
dllSampleComputeSum.
Macromedia Flash 8/Samples and Tutorials/Samples/ExtendingFlash/
dllSampleComputeSum.
For information about installing and using this sample, see “Sample DLL implementation” in Chapter 3, “C-Level Extensibility,” in Extending Flash.