Posts in Category "Adobe Labs"

How to Use the AIR 3 Beta SDK

The AIR 3 runtime has been out in beta for some time, and now the AIR 3 SDK is available, as well. If you’re interested in checking it out, you can find it over on Adobe Labs.

If you’ve downloaded the SDK and want to give it a try, you’ll need to know how to set it up. There are really only two things you need to know:

  1. How to overlay the SDK. Although these instructions are a little old, I just reviewed them, and they’re still valid. Of course, SDK versions are different now, but in general, the instructions are still accurate.
  2. How to access the new AIR 3 APIs. Once you have the AIR 3 SDK properly overlaid, you’ll need to make one simple change in Flash Builder in order to be able to access the new APIs. Once you’ve created a new project and selected the correct SDK (the one you just created), you need to go to "Project Properties," then "Flex Compiler." In the "Additional compiler arguments" box, add "-swf-version=13". 13 is the SWF version that corresponds to AIR 3, so you need to tell the runtime what version of the APIs you want to use.

That’s about all you need to do to get started building AIR 3 (beta) applications.

New Version of Squiggly Released

Adobe’s Linguistic Services Team (what a great name for a team) recently released a new version of Squiggly — a free spell checking engine for the Flash platform. This update includes the following features:

  • Support for Spanish, Italian, and Portuguese.
  • Support for Hunspell (i.e. OpenOffice and Firefox) format dictionaries.
  • Ability to translate or customize context menu strings.
  • Bug fixes.

As platforms like OS X (which has built-in universal spell checking), and browsers like Firefox and Chrome become more popular, I think more and more people are expecting applications to have spell checking built-in. It’s great to see that Squiggly is providing a low-barrier solution.

How To Get Code From Adobe Labs

I’ve recently seen some confusion about how to get code from Adobe Labs. Whenever I post about code in the Adobe Labs source code repository, I usually link into the source code browser. For instance, if I’m talking about the ActionScript 3 PNG encoder, I’ll usually link to this. Copying and pasting from the source code repository is definitely not the recommended way to grab this code. The source code repository is only for reading the code online. Trying to copy and paste from it will result in horrible formatting and line numbers which will take you a fair amount of time to fix (and these libraries are all about letting you build apps quickly).

There are three good ways to grab the Labs source code. They are all described on this page on the Labs wiki, but I’ll go over them here, too:

  1. You can check it out using an SVN client. If you want to be able to keep grabbing the latest and greatest, and you already use SVN as part of your development workflow, this option should work well for you. Just run: "svn checkout http://labs.adobe.com/subversion/flashplatform/".
  2. Get the daily build. I have a cron job that builds a zip file of all the code every night. You can download the zip file here.
  3. If you insist on using the source code browser, when you find a class that you want, click on the "text" link rather than the class name to get a text version. The text version preserves the original formatting and doesn’t add line numbers.

There’s some good code in there, so enjoy it.

Macromedia Labs Source Code

I put a page up on the Macromedia Labs wiki the other day about how to get the Labs source code repository. We have Subversion running on the Labs server for things like ActionScript libraries, examples, etc. Right now, we have about 57 small examples of the Flex Framework checked in, and we’re working on a ton of other stuff. (We don’t have the examples linked to their source yet, but we’re working on that.) The best part is that we’re releasing all the code under an extremely liberal license.

I’ll make another post when we check in the next batch of code.

Macromedia Labs is Live

It hasn’t been officially announced in the keynote yet, but Macromedia Labs is live and ready to go. I have to head out to the conference, so I don’t have a lot of time to write about it, but I think it’s pretty self-explanatory. If you want to get your hands on new Macromedia technologies very early (like Zorn and Flash Player 8.5), and you want access to tons of resources, then you’ll want to check out Macromedia Labs.