help! dynamic variables/method question for LoadVars()

  • randomtamara
  • Born
  • Born
  • No Avatar
  • Joined: Dec 03, 2007
  • Posts: 1
  • Status: Offline

Post December 3rd, 2007, 2:27 pm

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?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 3rd, 2007, 2:27 pm

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 24 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.