Flash / JavaScript Integration Kit (with Open License)
Well, as many noticed last week from the Flash Platform whitepaper, we have released a beta of the Flash / JavaScript Integration kit. The kit allows you to call functions from Flash to JavaScript and JavaScript to Flash, all while working cross browser, and supporting passing complex data types.
Here is a list of the data types that the kit supports:
- Object
- Array
- String
- Number
- Boolean
- Date
- null
- undefined
Related Entries
- Encapsulating Ajax XMLHTTPRequest Calls within JavaScript classes
- Flash and Web 2.0
- Macromedia Developer Relations Podcast #1
- Getting Return values when calling JavaScript Functions from ActionScript / Flash
- Community MX Tutorial on Flash / JavaScript Integration Kit
Comments
-
chrisSounds pretty cool! Will this also work on MAC? Now and in the future (Intel)? Hopefully. Keep up the good work Mike. regards
-
Mike Chambers>Will this also work on MAC? Yes. It works on Firefox, Safari and Opera on Mac. mike chambers mesh@macromedia.com
-
PaulCOh happy day! Now to re-write my SCORM API to Flash communication!
-
GregThis is great stuff! Can't wait to get my hands into it. A quick question, this differs from Flash Methods because you can call custom functions and send various data types? Cheers!
-
JackVery cool. When will it leave beta?
-
JamesWill this work cross-domain (swf coming from one domain and the the js files that communicate with the swf coming from another domain)? If not, is there a work-around without having to use policy files/shims?
-
boboi get 403 html error massage. please,fix it
-
mike chambers>i get 403 html error massage. I posted about 10 links in the post, which one is giving you a 403. mike chambers mesh@macromedia.com
-
Mike, We've just added the Flash / JavaScript Integration Kit to the MochiBot.com Dashboard. You can see it in action by going to http://mochibot.com and logging in under the demo account. Use the "Demo" link at the top of the page to get in.
-
MikeMike, Are there any known issues/updates with Firefox 2.0... it seems that code that I have written no longer works within 2.0 when it worked in the previous version. Here is our development link to illustrate the issue (works in i.e. 6.0 but not in Firefox 2.0) Clicking the arrows or nav items should switch out content: http://soft-litedev.liggett.com/windows/elements/DoubleHung.asp?features
-
Hey Mike, I am enjoying your integration kit, however I am having trouble getting JS talking back to Flash in Firefox 2 on Windows. Do you know of any solutions? Here's an example: http://www.royallmedia.com/royallmedia/stage/