How can I manually add or remove a "child" from being registered in the navigation system?
I mean, I have a viewstack container( working as a waypoint ) such as:
<s:NavigatorContent automationName="1" />
<s:NavigatorContent automationName="2" />
<s:NavigatorContent automationName="3" />
Navigation works here "out-of-the-box" but I imagine I want, at some stage, to remove( programatically ) the second child so that the automationName="2" is never a navigation point anymore.
On the other hand, I also need to, at some point, add new navigation points to this viewstack container:
Let's say I want to add:
var newNavContent: NavigatorContent = new NavigatorContent();
wizard.addChildAt( newNavContent, 1 );
So that the new navigation point( child ) is available for the navigation system.
How can I do that?
I asked a similar question not long ago you can find the thread here:-
I'd suggest you register your interest on this thread so people can see more than one of us is interested in a solution to this problem