12.3. Linking Cairngorm to a Project

While Cairngorm is included in the sample project, knowing how to associate it with a project will be useful for future projects. I'll discuss several methods of doing so in this section. If you would rather skip ahead to the next chapter, you can safely do so; you can always come back to this section as a reference when you need to include Cairngorm in one of your projects.

Cairngorm comes packaged as a SWC file. If you have never used a SWC file before, a SWC is a compiled archive containing Flex components or other assets. You can find a detailed description of them at http://livedocs.adobe.com/flex/3/html/help.html?content=building_overview_5.html or for a screen cast version see http://www.theflexshow.com/blog/index.cfm/2009/3/2/The-Flex-Show--Creating-Flex-Components--Episode-1-Project-Setup.

You can get the latest version of Cairngorm at http://opensource.adobe.com/wiki/display/cairngorm/Downloads.

There are two versions of Cairngorm: standard and enterprise. The standard version contains the core Cairngorm classes. The enterprise version contains additional classes for working with LiveCycle Data Services, so unless you will be working with these the standard edition should meet your needs.

Download the binary zip for the latest version under Latest Milestone Release Builds. Once it has downloaded, unzip it to a location on your hard drive that you can remember.

If you have never worked with a SWC file before, associating a SWC file ...

Get Professional Cairngorm™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.