I'm using the Utility_AS3_MultiCore_StateMachine_1_1.swc and learning to use state machine utility I've been mainly using the PureMVC TV slides...
I'm thinking there may be an error on this slide describing the StateMachine.CHANGED notification, or in the state machine itself (v1.1) or in my understanding...
PureMVC TV :
http://puremvc.tv/#P003/T360States that Notification body (from the ACTION notificatation) is passed through the body of the StateMachine.CHANGED notification. But I see a State object not my data object...
notification org.puremvc.as3.multicore.patterns.observer.Notification (@193cc831)
body org.puremvc.as3.multicore.utilities.statemachine.State (@3031f701)
changed null
entering null
exiting null
name "VideoComponent/states/configureFaulting"
transitions Object (@1943e449)
name "StateMachine/notes/changed"
type "VideoComponent/states/configureFaulting" and pertinent extract from the transitionTo method of class StateMachine...
*** begin extract ***
// Notify the app generally that the state changed and what the new state is
sendNotification( CHANGED, currentState, currentState.name );*** end extract ***
Of course I can work around this using a state specific changed announcement.
VERSIONS - Should the current version information and SWCs be updated to 1.2 ?
Download page states current version 1.1. The download zip expands to (trimmed)...
Utility_AS3_StateMachine_1_2
|-- asdoc-multicore
|-- asdoc-standard
|-- bin
| |-- Utility_AS3_MultiCore_StateMachine_1_1.swc
| `-- Utility_AS3_StateMachine_1_1.swc
|-- lib-multicore
|-- lib-standard
|-- license.txt
|-- src-multicore
|-- src-standard
`-- version.txtin which version.txt reads Version: 1 Revision: 2, and so i guess the source is v1.2?
Thanks
--
Paul Evans
http://www.creative-cognition.co.uk/http://blog.creacog.co.uk/