I'm making a chemistry tutorial where students would perform
tests on elements.
When a student clicks on a "Next Element" button, I would
like the current element on the stage to be replaced with a new
The elements all look exactly the same, I only need their
instance names to change so I'm using the same symbol named
"Element" and only changing the instance name ("ElementFe_mc,
I've selected the "Element" symbol and set it's Linkage in
Then in ActionScript, I've attempted to create an array where
the instance name of the Element mc changes each time the student
clicks on "Next Element" and the current element is removed and
replaced by the next element in the array...however, it's not
working....here's the code...