help! dynamic variables/method question for LoadVars()

  • randomtamara
  • Born
  • Born
  • randomtamara
  • Posts: 1

Post 3+ Months Ago

genVarObj = new LoadVars();
serverScript ="http://itp.nyu.edu/~tjo230/shoppinglist/inventory2.php";
genVarObj.load(serverScript);
genVarObj.onLoad = function()
{
dynamicVariable = "serverData" + i;
nameofvariable = genVarObj.dynamicVariable;
}

help! how do i make "dynamicVariable" DYNAMIC and call:
"serverData" + 1
of my LoadVars() object
rather than
"dynamicVariable"

Does that make sense?
Any ideas?

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 23 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.