I'm pulling my hair out on this problem which seems to me to be a problem with the main framework not my code. I have a tree and then viewstacks on the right side when a user clicks on a nav option in the tree the viewstack appears on the right.
I keep getting a ReferenceError: Error #1065: Variable is not defined. getDefinitionByName() I'm using a call to get the child by name from the XML source mainviewstack.selectedChild = Container(mainviewstack.getChildByName([email protected]())); But the viewstack works fine then on some occasions it randomly throws that error issue? So I resorted to also I've trying to use a simple mainviewstack.selectedIndex = selected_number; but still sometimes the error gets thrown? I've uploaded my code to for full source if anyone has a moment please tell me what might be the issue http://www.megaupload.com/?d=E4A1X14T

