Re: [flexcoders] Tree with 3 different AMF is it possibile?

2005-08-01 Thread Devis
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:
>
>
>
>
>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;
>}
>
>
>João Fernandes
>Secção de Desenvolvimento
>Departamento de Informática
>
>
>-Original Message-
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devis
>Sent: segunda-feira, 1 de Agosto de 2005 11:06
>To: flexcoders@yahoogroups.com
>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 ~--> 
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!.
~-> 

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





RE: [flexcoders] Tree with 3 different AMF is it possibile?

2005-08-01 Thread João Fernandes
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:




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


João Fernandes
Secção de Desenvolvimento
Departamento de Informática


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devis
Sent: segunda-feira, 1 de Agosto de 2005 11:06
To: flexcoders@yahoogroups.com
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



 




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hen4nuj/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122900601/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

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





[flexcoders] Tree with 3 different AMF is it possibile?

2005-08-01 Thread Devis
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



 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hrelog3/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122898033/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

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