Great your code WAS my problem
Bye
Devis

João Fernandes ha scritto:

>Davis,
>
>What I usually do is to set a function that accept those variables as 
>arguments and then build the treeNodes with the information, when any of them 
>changes, the tree is automaticly updated.
>
>Something like this:
>
><mx:tree dataProvider ="{myfunction(amf1Result,amf2Result,amf3Result)}"/>
>
><mx:Script>
>function myfunction(arg1,arg2,arg3) : mx.controls.treeclasses.TreeNode { 
>var rootNode = new mx.controls.treeclasses.TreeNode('my root 
>node',{dataOfNode});
>// Buid the treeNodes where
>...
>Return rootNode;
>}
><mx:Script/>
>
>João Fernandes
>Secção de Desenvolvimento
>Departamento de Informática
>
>
>-----Original Message-----
>From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Devis
>Sent: segunda-feira, 1 de Agosto de 2005 11:06
>To: [email protected]
>Subject: [flexcoders] Tree with 3 different AMF is it possibile?
>
>hi to all, i have this question,
>
>i have 3 AMF that return an array of ActionScript class
>
>1°  COLOR[]
>2°  SIZE[]
>3°  WEIGHT[]
>
>this is my goal:
>
>tree
>   COLOR
>        RED
>        GREEN
>        YELLOW
>   SIZE 
>        10
>         20   
>         20
>  WEIGHT
>       40
>       78
>      90
>/tree
>
>but  i haven't  an xml file, i  have 3 amf function that returns array 
>of ActionScript class, pls can you help me, if you can post some code 
>will be appreciate.
>Thank's in advance
>
>For you it's better to use 3 TREE component?
>Devis
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>Yahoo! Groups Links
>
>
>
> 
>
>
>  
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h1raome/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122901310/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to