RE: [Flashcoders] AS3: How can I target an object from a dot-sytax string?

2008-06-11 Thread Kerry Thompson
Ali Drongo wrote: > Hello, I'm being passed a string that has a reference to an object in > dot-syntax like this: "myOb.property.property2.property3" > > The object targeted may be a varying number of levels inside of the > top-level object. > > I have tried to write this by turning the string

[Flashcoders] AS3: How can I target an object from a dot-sytax string?

2008-06-11 Thread Ali Drongo
Hello, I'm being passed a string that has a reference to an object in dot-syntax like this: "myOb.property.property2.property3" The object targeted may be a varying number of levels inside of the top-level object. I have tried to write this by turning the string into an array and then cr