statemachine-as3

Statemachine-as3 is lightweight state machine based on closures. The library comes with two state machine flavours: StateMachine (where transitions are triggered directly) and EventStateMachine (where transitions are triggered by Event and EventDispatcher). Sample //StateMachine var sm : StateMachine…

State machine
1 Comment

ActionScript State Machine

ActionScript State Machine is a state machine that optionally supports (using the decorator design pattern) history and event dispatching. Sample public function actionExists(checkAction:String):Boolean public function addAction(fromState:String, toState:String, action:String, handler:Function…

State machine
4 Comments

AS3 State Machine

AS3 State Machine allows you to create simple and hierarchical StateMachines. State Machines are composed of states, and each state has (optional) callbacks for entering and exiting state. It’s…

State machine
Leave a comment