> Is there a way I can retrieve several objects from the array at one > time? > For example, I want to know whats on myPets[1], myPets[3] and myPets > [5] at one time. > Is there anithing like > trace (myPets[1,3,5]) ?? > > ... > I want to retrieve > things in a non-linear way... >
There isn't. If you want to retrieve objects in a non-linear way, consider using a different data structure. You could try an Object (as an associative array) or a Dictionary (http://livedocs.macromedia.com/flex/2/langref/flash/utils/Dictionary.html). Ali -- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/