On Tue, Jan 13, 2009 at 1:51 AM, Eric E. Dolecki <edole...@gmail.com> wrote: > I have forgotten how to do this... I'd like to set some variables like this > a var exists... > zAmt > > now I'd like to set the value in a method... > [ stringValue + "Amt"] = someValue; > > How do I compose that?
That would be: obj[stringValue + "Amt"] = someValue; where obj is the object that holds the property. Manish _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders