StateMachine not passing Data

kyle's Avatar

kyle

05 Nov, 2009 08:10 AM

Hi Guys,

This could just be because i have an older/incorrect version of the StateMachine.

StateMachine was not passing data on CHANGED event.
Looking in StateMachine.as line 40 [handleStateAction]

i changed:
transitionTo( newState, event.stateTarget),
to
transitionTo( newState, event.data)

and all was good.
Cheers
Kyle

  1. Support Staff 1 Posted by Joel Hooks on 08 Nov, 2009 09:18 PM

    Joel Hooks's Avatar

    Thanks for the catch Kyle. I've pushed this to the repository. Cheers.

  2. Joel Hooks closed this discussion on 08 Nov, 2009 09:18 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac