package org.as3lib.kitchensync.action { /** * A set of commands to be used in conjunction with the ActionController class. * * @see ActionController */ public class lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand { /** start() command. */ public static const START:lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand = new lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand("start"); /** pause() command. */ public static const PAUSE:lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand = new lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand("pause"); /** unpause() command. */ public static const UNPAUSE:lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand = new lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand("unpause"); /** stop() command. */ public static const STOP:lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand = new lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand("stop"); /** kill() command. */ public static const KILL:lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand = new lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand("kill"); /** reset() command. For Tween objects only. */ public static const RESET:lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand = new lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand("reset"); /** The default command will be used if nothing is specified. */ public static var DEFAULT:lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand = START; // The string equivelant of the Command private var _string:String; public function lib_flex_animation_code_10_org_as3lib_kitchensync_action_ActionControllerCommand(string:String = "") { _string = string; } public function toString():String { if (!_string) { return super.toString(); } return _string; } } }