I'm going to do the best I can to explain this without showing code
(legal reasons). Here is an example of my states "layout":

BaseState
StateOne
--StateOneA (based on StateOne)
--StateOneB (based on StateOne)
--StateOneC (based on StateOne)
StateTwo
--StateTwoA (based on StateTwo)
--StateTwoB (based on StateTwo)
--StateTwoC (based on StateTwo)
StateThree


And now the issue:
If I go from BaseState to StateOne, StateTwo, or StateThree, ( or
StateOne to StateTwo, etc) everything works great. However, once I go
to any state that's based on another state (StateOneA for example), I
can't get that state to go away when I try to leave it. What happens
is that the new state I'm trying to get to just shows up on top of the
old state. After that, the entire app is busted and has to be closed.

What I've tried:
I've removed the transitions to see if that was causing any problems.
I've done RemoveChild on everything in the state which I'm trying to
leave.
I've removed all of the states and tried rebuilding them from scratch.
And I've tried a few other things that I can't remember right now.

So, without being able to actually show the code, does this sound
familiar to anyone or does anyone have any shot-in-the-dark ideas I
might be able to try?

Thanks in advance!
FlashCanon

Reply via email to