Chain Events in Cairngorm allow you to chain up a series of Caingorm Events. This is especially useful when you are using a series of webservices and you need the results from the preceding one to execute the next one

Another example will be you need to execute a command that requires a prerequisite, such as authentication. You can use the Chain Event to execute the next command after authentication. It makes your code structured and easier to manage altogether

5 mins Flex video:
In this video, we use Seesmic API to show how we can search for a username existance in Seesmic, and if it exist, we use the result to get his/her videos.
End Product:

Project Files: http://www.box.net/shared/f8w0yk1gkw
Additional Resources: Chain Event: http://cairngormdocs.org/blog/?p=27
API Used:
Seesmic API - http://groups.google.com/group/seesmic-api

The 5 mins Flex - 04. Chain Events in Cairngorm by expertria.com, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.













