State switch

Alright, here's how to make a state switch by using an action.

What you're going want to do is go to your action. Make another layer, and go to the AS part of it, and enter this code:

_ctrl.setState("StateNameHere");

Replace "StateNameHere" with the name of the state you want the action to switch to.

And that should do it. Enjoy your state swtiches to your heart's content.