123Jack
11-23-2002, 09:27 PM
Is there any way to get the ActionScript to load the variable then act on a matching instance name? For example I am creating a dbase driven gaming site. When a review is from Gamecube I want a gamecube logo to pop up in the graphic. I have the logo named "gamecube" as the instance, and the variable read in also is "gamecube" from the systems table in the database. Now I wanted to link the String to the instance, IE "system"._visible = true; Is there any way to do this, because there are many system logos, and instead of having 10+ if statements, I wanted just one that would just turn on the visibility of the instance that matches the String. If anyone can help I would greatly appreciate it.