Calendar

May 2006
S M T W T F S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Tag Cloud

Categories

Archives

Recent Posts

Recent Comments


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

Cairngorm 2 (Flex 2 Beta 3)

By Rich Tretola | May 10, 2006
1,896 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.

Topics: Announcements, Cairngorm | No Comments »

Comments