Calendar

May 2006
M T W T F S S
« Apr   Jun »
1234567
891011121314
15161718192021
22232425262728
293031  

Tag Cloud

Categories

Archives

Highest Rated

Most Viewed

Recent Posts

Recent Comments


« Flex in JDJ | Main | StatPods Update Yahoo Mapping »

Cairngorm 2 (Flex 2 Beta 3)

By Rich Tretola | May 10, 2006Print This Post Print This Post
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
496 views

Steven and the Cairngorm team have released the newest version of Cairngorm for Flex 2 beta 3 and there are 2 key changes that will break your Cairngorm 2 alpha code.

	     addCommand( MyController.EVENT_LOGIN,  LoginCommand );      ***CORRECT***

	     while the previous version accepted an Object and looked like this:

	     addCommand( MyController.EVENT_LOGIN,  new LoginCommand() );   ***INCORRECT***

public function onResult( event : ResultEvent=null): void       ***CORRECT***
public function onFault( event : FaultEvent=null) : void
while the previous version looked like this:
public function onResult( event : ResultEvent): void     ***INCORRECT***

public function onFault( event : FaultEvent) : void

Just install the new swc in the user_classes folder and make these 2 small changes and you should be ready to compile.

You can read more about Cairngorm here and download the latest version here.

Share/Save/Bookmark

Topics: Announcements, Cairngorm |

Comments