RE: [flexcoders] Dynamically referencing arbitrarily deep arrays?

2009-06-05 Thread Yves Riel
Hughitt Sent: Thursday, June 04, 2009 2:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamically referencing arbitrarily deep arrays? Does anyone know a method to dynamically index an arbitrarily deep array or object-literal? e.g. Given an object t, and the string one.two, how can

[flexcoders] Dynamically referencing arbitrarily deep arrays?

2009-06-04 Thread Keith Hughitt
Does anyone know a method to dynamically index an arbitrarily deep array or object-literal? e.g. Given an object t, and the string one.two, how can you access t.one.two? Here is some sample code to demonstrate the problem: ?xml version=1.0 encoding=utf-8? mx:Application