Thanks a lot
Jonas, I wasn’t sure the Validation is necessary here! Since my
Tree has several root nodes I changed the code to open all of the nodes … for each (var o:Object in objectTree.dataProvider) { objectTree.expandChildrenOf(o,
true); } Works like a
charm! Thanks again! Sascha From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Windey public function expandTree():void { treeTest.selectedIndex
= 0; treeTest.expandChildrenOf(treeTest.selectedItem
, true); } Remember to call this function after a
validateNow(), so in my case it’s: treeTest.dataProvider = treeData; treeTest.validateNow();
expandTree(); Hope this works for you, Jonas From: I know this had been brought up before and I found
some stuff on it in the
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |