Re: [flexcoders] how can i access an object in a for

2008-04-06 Thread Agustin Cavilliotti
Alex, thanks for the reply, so you mean that I¹ve to write:

this[³name_²+i].property.

Or how?

Thanks

On 4/5/08 11:30 PM, Alex Harui [EMAIL PROTECTED] wrote:

  
  
 
 That syntax should still work.  Note that there are no _levels anymore.
  
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of cavi21
 Sent: Saturday, April 05, 2008 4:47 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] how can i access an object in a for
  
 
 Hello, i'm new in this group and in flex too but i've been an actionscript
 programmer for a while. The question is, how can i access an object that part
 of the name is the control variable of a for?. For example in flash, i have
 this: for (i=0;i5;i++){ _level[name_+i].property ..
 
 
 
 how can i access the same way in flex? is for an AIR application.
 
 
 
 Thanks in advance for your time and sorry for my english, is not my native
 language.
  
 




[flexcoders] how can i access an object in a for

2008-04-05 Thread cavi21
Hello, i'm new in this group and in flex too but i've been an
actionscript programmer for a while. The question is, how can i access
an object that part of the name is the control variable of a for?.  For
example in flash, i have this: for (i=0;i5;i++){
_level[name_+i].property ..
how can i access the same way in flex? is for an AIR application.
Thanks in advance for your time and sorry for my english, is not my
native language.


RE: [flexcoders] how can i access an object in a for

2008-04-05 Thread Alex Harui
That syntax should still work.  Note that there are no _levels anymore.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cavi21
Sent: Saturday, April 05, 2008 4:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how can i access an object in a for

 

Hello, i'm new in this group and in flex too but i've been an
actionscript programmer for a while. The question is, how can i access
an object that part of the name is the control variable of a for?. For
example in flash, i have this: for (i=0;i5;i++){
_level[name_+i].property .. 





how can i access the same way in flex? is for an AIR application.





Thanks in advance for your time and sorry for my english, is not my
native language.