I have created a simple plugin for Spotlight search on Mac OS X 10.4 (Tiger), that allows Spotlight to index ActionScript files. This will allow you to use Spotlight to search for terms / functions / code, etc within ActionScript files on your system.
NOTE, THIS CODE AND PLUGIN IS NOT SUPPORTED BY MACROMEDIA. USE AT YOUR OWN RISK.
This is a very Alpha version of the plugin.
You can download the plugin from here
I added a page to the Flash / JavaScript Integration Kit project documents that shows how to get return values from JavaScript when calling JavaScript functions from Flash.
The same technique works when calling Flash function from JavaScript, by just reversing the code.
You can view the code / example here.
You can find out more about the Flash / JavaScript Integration Kit here.
Danny Patterson has put together the best tutorial yet on how to use the Flash / JavaScript Integration kit. I have created a tutorials page at the kit’s wiki and added it.
You can read the tutorial here.
You can find more information about the kit here.
Just a quick fyi, but if you have been having problems compiling the Flash / JavaScript Integration Kit, we have fixed the issue.
The release hasn’t been updated yet, but you can pull the updated file from subversion.
You can find more info here.
Last night on the Flash / JavaScript Integration Kit mailing list, a couple of people were reporting that data sent from JavaScript to Flash was not being serialized correctly (coming through as undefined).
After some sleuthing, I discovered that the JavaScriptFlashGateway.swf had been compiled incorrectly (apparently it could not find the JavaScriptSerialization class, but did not give a compile error). I then checked the release zip and realized this the JavaScriptFlashGateway.swf in it was also not compiled correctly.
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:
Here is a simple code example that show a call to a JavaScript function from within Flash:
If you would like to be considered for the 8Ball (next version Flash Authoring) and / or Maelstrom (next version of Flash Player) betas, you can find information on how to apply here.
FYI, I have created a temporary Flash Platform Smart Category at the Macromedia XML News Aggregator (MXNA). This will make it easy to keep up will all of the buzz and discussions around our Flash Platform announcements today.
You can view the Smart Category here.
We also have an RSS feed for the Smart Category which you can grab here.
I will post more on this in the morning, but I wanted to get a quick post up before I go to bed.
First, we just announced that we have joined the Eclipse foundation and are working on an Eclipse based IDE for creating rich internet applications (code-named Zorn).
Second, we have launched a new section of our website focused on the Flash Platform. Tons of info here. For starters, make sure to check out the Flash Platform white paper written by Kevin Lynch.