O'Reilly logo

Professional Cairngorm™ by Jeremy Wischusen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

27.3. Cairngorm Project Nature

To use the Cairngorm tooling, you will need to add the Cairngorm Project Nature to your Flex project. To do this, right-click your Flex project and choose Add Cairngorm Project Nature, as shown in (Figure 27-15).

Figure 27.15. Figure 27-15

According to the online instructions, the two dialogs seen in Figure 27-16 and Figure 27-17 (if you have an existing controller) should appear; however, they may not do so. If they do not appear you can still use the plug-in, but you will need to manually add the beta version of the Cairngorm SWC to your project (see Chapter 12 for instructions).

In the Add Cairngorm Nature dialog (Figure 27-16), select the Cairngorm location that you created in the previous section and the library path to which you would like the Cairngorm SWC copied. Once you have done this, click Finish.

Figure 27.16. Figure 27-16

If you have any existing controllers in the project, the plug-in may detect this and ask you which one you would like to use as the default controller. This is the controller to which the plug-in will add your command and event classes. Click the checkbox next to the desired controller and click Finish.

Figure 27.17. Figure 27-17

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required