Hi all

I have a question regarding the use of variable identifiers when using SharedObjects, I will explain.

I want to have the identifiers of a SharedObject as variable names, so:

I create a variable:
var destinationLoc = ["destination"+mySharedObject.data.numRuns];

I write to SharedObject:
mySharedObject.data.destinationLoc=destination;

Unfortunately the above script does not see the variable, destinationLoc as a variable and instead views destinationLoc as a "hard-coded" identifier

Is there a way to create a variable sharedObject identifier?

Any help will be greatly appreciated, thanks