I need some help getting a State to essentially reset as if it was loading for the first time, where creationComplete will execute each time. The state is like a results view of queries and criteria on other states. I would like to have the Back button (which just changes states) allow the change of queries/criteria and then when the state in question is traversed to the creationComplete event does not fire. I am passing data to the state, so I was thinking that exitState may be the best place to "reset" it. If it is easier to add/remove the child component then that may work too, but I also don't know how to do that yet. The state needed refreshed has a large complex component from a different namespace on it, and I am hoping that every component/function/variables in the state would also be reset. I have tried executeBindings(true); invalidateDisplayList(); validateNow(); on enter and exit, but they are not working as I thought they might. All help is appreciated. Thanks.
IF each state represents a 'page/form' you could simply remove the 'form' then re add it its a very fast way to reset the data. The following is a quick example I did earlier for someone wanting a similar thing but using viewstacks instead of states. In your case each state would be the reference to the 'page'