Skip to main content
Participant
October 28, 2010
Question

How to manually manage destinations?

  • October 28, 2010
  • 1 reply
  • 1887 views

Hi all,

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:

<mx:ViewStack id="wizard">

<s:NavigatorContent automationName="1" />

<s:NavigatorContent automationName="2" />

<s:NavigatorContent automationName="3" />

</mx:ViewStack>

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();

newNavContent.automationName="4";

wizard.addChildAt( newNavContent, 1 );

So that the new navigation point( child ) is available for the navigation system.

How can I do that?

A.

This topic has been closed for replies.

1 reply

Participating Frequently
November 10, 2010

I asked a similar question not long ago you can find the thread here:-

http://forums.adobe.com/thread/742796?tstart=0

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

Thanks,

Marc

Participant
November 10, 2010

Done.

Thank you for replying. It's quite obvious that they are working on it right now.