Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
pass a value out of a mx:Component   Message List  
Reply | Forward Message #109433 of 151036 |
Hi,

I have a mxml class that extends ComboBox but using a tree instead of the usual list to show the data

<mx:dropdownFactory>
     <mx:Component className="comboTreeComponent">
        <mx:Tree creationComplete="outerDocument.expandTree(event);" change="outerDocument.updateLabel(event)" height="300" width="500" />
     </mx:Component>
    </mx:dropdownFactory>

now my expandTree function is not able to talk to the tree, how do i call into this component from the containing class?  i added the ID for the classReference and read a bunch of docs on the subject but I still have no idea how to reference into an item renderer.

btw, the goal here is to expand all items in the tree when the tree loads- if there's an easier way than this- i'm all ears :)

thanks,
d.


Wed Apr 9, 2008 7:51 pm

andersonwebs...
Offline Offline
Send Email Send Email

Forward
Message #109433 of 151036 |
Expand Messages Author Sort by Date

Hi, I have a mxml class that extends ComboBox but using a tree instead of the usual list to show the data <mx:dropdownFactory> <mx:Component...
Derrick Anderson
andersonwebs...
Offline Send Email
Apr 9, 2008
7:51 pm

Tree(combobox.dropdown) should be the Tree. ________________________________ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of...
Alex Harui
alex_harui
Offline Send Email
Apr 9, 2008
8:37 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help