I've got a problem with MenuNavigation.
Is it possible to use MenuNavigation without SectionsController ? I
want to use it for switching thumbnails and showing employees
description on the page. The code is simple:
In a for loop:
var mc:MovieClip =
this.thumbnailsContainer.attachMovie("TeamThumbnail","TeamThumbnail"+i,this.thumbnailsContainer.getNextHighestDepth());
this.thumbnailsContainer.addSubItem(NavigationButton(mc),"TeamThumbnail"+i);
where thumbnailsContainer ia a gugga.navigation.MenuNavigation, and
thumbnails are NavigationButtons
and after that items are invisible.
Without the "..addSubitem.." line thumbnails are visible.
I tried to make:
this.thumbnailsContainer.show();
but nothing happens;
this.thumbnailsContainer.visible is true and
this.thumbnailsContainer.getItem() shows that everything is ok, but i
can't see any item.
I've got two other menus working on that page, but every time I use
"setNavigationInstance" for SectionsController. Is it necessary ? Or
maybe problem is somhere else ?
this.thumbnailsContainer.selectSubItem(ev.id);
in "navigate(ev)" handler
Thanks for great work once again.
If I can have a suggestion. It should be helpful if You write in docs
f.e. in gugga.navigation.MenuItemsController something like "use
rather MenuNavigation or extend this class". Also events should be
useful in docs.
I've got another quesion about navigaion.
I've got my own accordion component. I'd like to make it work as
MenuNavigation. Where should I start? Should I extend MenuNavigation
or better MenuItemsController ? Or maybe I should make something like
tree or dropdnown (menu->submenu) ?? Where would You recommend to
start?
To be clear.
I've got all the opnenig/closing animation stuff and want to make it
work with sections controller.
By the way, where can I find some gugga.navigation.TreeNavigation
examples?