That would be equivalent to return preExistingObject["inString"];
For the current object, use this["inString"]. --- In [email protected], "Matt Maher" <[EMAIL PROTECTED]> wrote: > > I have a hard question to ask as I don't know the terms to use for it. > Basically, I want to use a string variable to set what member variable > to pull from another object > > How can I make something like the following work: > > function fun(inString:String):String { > > > return preExistingObject.eval(inString); > } >

