How are you trying to navigate?
What I understand from your requirement below.. using simple mxml and binding
you can achieve the same navigation.
Bind the selectedIndex property of the tree to the selectedIndex property of
the viewstack if you want a simple linear navigation. that is if you click on
node 1 it should navigate to panel 1 of viewstack ... else you may keep a
bindable variable and set the value of this variable on itemClick event of the
tree nodes and bind this variable to the selectedIndex or selectedChild.. as
required.
Regards,
Paromita
pirvulescu_adrian <[EMAIL PROTECTED]> wrote:
Hello ! Since 5 days a have a problem and I am unable to handle
it. S this Is what I have:
A tree menu with 5 static nodes. I use the tree to navigate 5
panels contained into a viewStack. when I am trying to change the
viewstack to the 3-rd panel I get in the browser the error shown down
of the page.
But this happens only sometimes. There are cases when everything
works fine without changing anything in the code (Only rebuid it).
"Variable _ is not defined". There is no variable name.
Please help me !!
:(
ReferenceError: Error #1065: Variable is not defined.
at global/flash.utils::getDefinitionByName()
at mx.utils::DescribeTypeCache$/describeType()
at mx.utils::ObjectUtil$/getClassInfo()
at mx.controls::DataGrid/::generateCols()
at mx.controls::DataGrid/mx.controls:DataGrid::collectionChangeHandler()
at mx.controls.listClasses::ListBase/set dataProvider()
at mx.controls::DataGrid/set dataProvider()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.containers::Panel/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.containers::Panel/mx.containers:Panel::createChildren()
at
no.Instore.Components::ToolboxPanel/no.Instore.Components:ToolboxPanel::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at no.Instore.PlayerManagement.PlayerDetails::PlayerDetails/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com