using value of a variable as a variable name
i am trying to find a way in which i can use the value of a variable as a variable name for storing data.
how i got in this mess
i am trying to make a calculator for cross country run scoring. The scoresheet contains variable corresponding to the bib number of each runner (a1, a2 ...). The calculator also has two input text fields called 'bibnumber' and 'finalposition' which the user can use to enter the bib number of a runner and his position as he completes the race.
once the user enters a bib number and his position (e.g. a1 and 23) i want that particular variable (a1 in this case) to store the position (23).
so the calculator has to read the bib number entered by the user and decide which variable to update.
is there any way to do this?
any help will be much appreciated.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Editing Template error(convert from .fla to .swf)||Travi$18||Flash CS3 / Flash 9||2||09-03-2008 06:43 PM|
|2D Physics Engine||Scottae||Members Cafe||11||07-24-2008 04:36 PM|
|Dynamic Text - change text box variable on click||kenisswell||Flash MX ActionScript||10||11-01-2005 09:20 PM|
|variable from a text file into a text field????||damienschaefer||Flash 5 Actionscript||2||04-05-2005 10:18 AM|
|variable loaded from asp trouble||force||Flash MX ActionScript||8||12-09-2003 05:45 PM|