The Macromedia Flash MX 2004 Help has been updated to include documentation for the Flash JavaScript API. You can use the Update feature in the Flash help panel to install this help update; to do so, click the Update button while displaying the Help panel. If you have problems using the Update button, the JSAPI update is also available for download in an extension package.
Note: In Chapter 3, “C-Level Extensibility,” the path in which DLL files should be saved is incorrect. The “\Templates” directory is not part of the path.
Download it from here:
http://download.macromedia.com/pub/documentation/en/flash/mx2004/flash_jsapi_help.mxp