August 22, 2006

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.

Posted by cantrell at 11:47 AM. Link | Comments (4) | References

October 18, 2005

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.

Posted by cantrell at 02:19 PM. Link | Comments (3) | References

October 17, 2005

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.

Posted by cantrell at 09:41 AM. Link | Comments (1) | References