Cant use Signal StateMachine

thexeb's Avatar


17 Jun, 2015 08:25 PM

Hello there,
I am trying to use State-machine with RL2. I have successfully tested the state-machine by Joel Hooks , which is Event based. I followed this discussion . But this does not have exiting and entering gaurds.
Then I found this in resources and i like the features mentioned on the extension repo page. I am trying to test a simple example but cant. I used all the dependencies mentioned. It seemed that the SignalXMLStateDecoder at lines 283 and 299 uses, stateName) , whereas ISignalCommandMap has different signature for map method... How can i use this Signal State-Machine?? Or some other library/extension (preferably using Events instead of Signals) which uses guards for entering/exiting a state?
I hope its not too late with all the Flash stuff fading away :(.

  1. Support Staff 1 Posted by Ondina D.F. on 18 Jun, 2015 08:18 AM

    Ondina D.F.'s Avatar


    You're right, the libraries used in those projects might be old.
    I suggest to contact the authors directly, either on github or on twitter.

    I'm sure Neil will be willing to help you. Try @neilmanuell on twitter.
    I'll also try to contact him and let him know about your questions.

    I don't know of any other StateMachine extensions for robotlegs 2.


  2. 2 Posted by neil on 18 Jun, 2015 08:51 AM

    neil's Avatar

    I'm afraid I'm no longer maintaining those repos, due as you say to the fading of AS3.

    however Joels state-machine (which is a straight port of my pureMVC original) does have entering and exiting guards

    Take a look at the pureMVC docs here:

    I think it explains how to cancel a transition

    get back to me if you have problems

  3. 3 Posted by thexeb on 19 Jun, 2015 01:35 PM

    thexeb's Avatar

    Thanks Odina.
    Neil, i'll look these and will bother you about it :) some year ago my colleagues used puremvc +statemachine to animate a character.but i canot access that code before 1 month.

  4. 4 Posted by Neil Manuell on 19 Jun, 2015 03:11 PM

    Neil Manuell's Avatar

    Just to confirm, use Joel Hooks' until, but as it is a straight port you
    can use the documentation from pure MVC

  5. 5 Posted by thexeb on 22 Jun, 2015 11:57 AM

    thexeb's Avatar

    I got it working just fine :) I have commit some changes to both extensions
    Signal StateMachine and Signal CommandMaps

    Thanks for your support.
    Long Live AS3.0 ;) :P

  6. Support Staff 6 Posted by Ondina D.F. on 24 Jun, 2015 01:33 PM

    Ondina D.F.'s Avatar

    I have commit some changes to both extensions


    Long Live AS3.0 ;) :P


    I guess this is resolved?

  7. 7 Posted by thexeb on 24 Jun, 2015 05:10 PM

    thexeb's Avatar

    Yes Odina, Thanks for the support :)

  8. thexeb closed this discussion on 24 Jun, 2015 05:10 PM.

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

Keyboard shortcuts


? 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