tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/7-statemachine-not-passing-dataRobotlegs: Discussion 2013-04-28T10:03:28Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/5418172009-11-05T08:10:36Z2009-11-05T08:10:36ZStateMachine not passing Data<div><p>Hi Guys,</p>
<p>This could just be because i have an older/incorrect version of
the StateMachine.</p>
<p>StateMachine was not passing data on CHANGED event.<br>
Looking in StateMachine.as line 40 [handleStateAction]</p>
<p>i changed:<br>
transitionTo( newState, event.stateTarget),<br>
to<br>
transitionTo( newState, event.data)</p>
<p>and all was good.<br>
Cheers<br>
Kyle</p></div>kyletag:robotlegs.tenderapp.com,2009-10-18:Comment/5418172009-11-08T21:18:52Z2009-11-08T21:18:52ZStateMachine not passing Data<div><p>Thanks for the catch Kyle. I've pushed this to the repository.
Cheers.</p></div>Joel Hooks