On 4/18/05, Mercer, Dustin <[EMAIL PROTECTED]> wrote:

> I am not sure if this is what you are asking… but here goes: 

> 
> Var myString:String; 

> myString = "FistrName"; 

> var zingerManufacturingData = [ 
> 
>             {differentVar : myString,            anotherVar:885202,       
> Blinkies: 184454,           monthIdx:1}, 

No, he wants the names to be dynamic, not the values.

I think the only way to do that is by building it, er, dynamically?

  zingerManufacturingData = [ {}, {}, {} ]; // 3 objects
  zingerManufacturingData[0][myString] = myValue;
  zingerManufacturingData[0][myString2] = myValue2;
  zingerManufacturingData[1][myString] = myValue_1;
  zingerManufacturingData[1][myString2] = myValue2_1;

That way.

-- 
[EMAIL PROTECTED]
http://manish.revise.org/


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to