====== Flash JavaScript Integration Kit ====== {{tag>project flashjs}} ==== **NOTE!** For users of Flash 8 and above, what you really might want to be looking at is the [[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002200.html |ExternalInterface API]] ==== ===== Summary ===== The Flash JavaScript Integration Kit allows developers to get the best of the Flash and HTML worlds by enabling JavaScript to invoke ActionScript functions, and vice versa. All major data types can be passed between the two environments (you can view a complete list [[projects:flashjs:documentation:datatypes|here]]). The Flash JavaScript Integration Kit works across all major browsers and operating systems. It is released under an open license derived from the Apache 1.1 license which you can find [[http://weblogs.macromedia.com/flashjavascript/license.txt|here]]. MustardLab also has some good [[http://www.mustardlab.com/developer/flash/jscommunication/|tutorials and code examples]] on some of the techniques used in the kit (they were one of the first to come up with the JavaScript to Flash technique). For Flash 8 and up, it's much easier to use the native ExternalInterface. Examples can be found on OSFlash: [[http://osflash.org/flashcoders/undocumented/flash8#externalinterface_api]]. ===== Tutorials ===== [[projects:flashjs:tutorials|Tutorials]] ===== Documentation ====== * [[projects:flashjs:documentation:installation|Installation]] * [[projects:flashjs:documentation:getsource|How to get the Current Source]] * How to Use * [[projects:flashjs:tutorials:astojs|Calling an ActionScript function from JavaScript]] * [[projects:flashjs:tutorials:recfjs|Receiving a function call from Flash within JavaScript]] * [[projects:flashjs:tutorials:jstoas|Calling a JavaScript function from ActionScript]] * [[projects:flashjs:tutorials:recjsf|Receiving a function call from JavaScript within Flash]] * [[projects:flashjs:tutorials:simreturn|Getting Return Values from Function Calls]] * [[projects:flashjs:tutorials:jsinfo2flash|Retrieving JavaScript Browser Info from ActionScript]] * [[projects:flashjs:documentation:requirements|Requirements]] * [[projects:flashjs:documentation:issues|Known Issues]] * [[projects:flashjs:tutorials|Tutorials]] ===== Download ===== You can download the most current release from [[http://www.macromedia.com/go/flashjavascript/|here]].