I would like to be able to pass in a string like “plot12” as the plotNumber so I can remove the movieclip of the same name from the moive. How do I create a variable so I can address the movieclip using the varaible passed in to the function???
function getSold(plotNumber)
{
currentID = parseInt(plotNumber);
unloadMovie ("_root.plot17");//THIS WORKS
_root.currentID.unloadMovie();//THIS DOES NOT
}