Is it to avoid typo issues and later error
debugging craziness?
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paolo Bernardini
Sent: Thursday, May 19, 2005 2:07
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Cairngorm 0.99
Importance: High
Hi Steven
Could you explain the reason this new way of
passing the command
string in the addCommand in the ShopController:
addCommand( ShopController.EVENT_GET_PRODUCTS, new
GetProductsCommand
() );
....
public static var EVENT_GET_PRODUCTS =
"getProducts";
compare to the old cairngorm 0.95 style:
addCommand( "getProducts", new
GetProductsCommand() );
Yahoo! Groups Links
|
- RE: [flexcoders] Re: Cairngorm 0.99 Jose Lora
-