I apologize, I forgot all about "this" and remembered it right after sending
the email to the list.
Thanks all :)

On Mon, Jan 12, 2009 at 3:36 PM, Nate Beck <n...@tldstudio.com> wrote:

> this[stringValue + "Amt"] if you're trying to do it within the same class.
> On Mon, Jan 12, 2009 at 12:28 PM, Manish Jethani
> <manish.jeth...@gmail.com>wrote:
>
> > 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
> >
>
>
>
> --
>
> Cheers,
> Nate
> ----------------------------------------
> http://blog.natebeck.net
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
http://ericd.net
Interactive design and development
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to