I have a component that needs to change states upon clicking a button. The state that it needs to change to is the parent application that the previously mentioned component is imported into. How can this be done? I have tried using
ActionScript Code:
currentState="parentApplication.firstState"
this doesn't seem to be working as I get an error that it cannot find the parentApplication.