[flexcoders] expanding Tree Nodes

2006-06-27 Thread Mike Wertheim



According to
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0611.html
,
the following code used to work in Flex Beta 2 but stopped working in
Beta 3. :

![CDATA[function initTree(){tree1.setIsOpen(tree1.getNodeDisplayedAt(0), true);}]]/mx:Scriptmx:Tree id=tree1 ... creationComplete=initTree(); 
.../mx:Tree

What is the correct way to do this in the latest version?


__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] expanding Tree Nodes

2006-06-27 Thread Deepa Subramaniam










You now want to use Tree.expandItem() to
open or close a branch node. 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Wertheim
Sent: Tuesday, June 27, 2006 1:02
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] expanding
Tree Nodes





According to http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0611.html
, the following code used to work in Flex Beta 2 but stopped working in
Beta 3. :

![CDATA[
 function initTree(){
 tree1.setIsOpen(tree1.getNodeDisplayedAt(0), true);
 }
 ]]
/mx:Script

mx:Tree id=tree1 ... creationComplete=initTree(); 
 ...
/mx:Tree


What is the correct way to do this in the latest version?







__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___