# Help - Duplicating Symbol Instances Through AS 3.0 Code

**URL:** <https://forum.kirupa.com/t/help-duplicating-symbol-instances-through-as-3-0-code/305721>\
**Category:** flash\
**Created:** [March 2, 2010, 4:57pm UTC](https://forum.kirupa.com/t/help-duplicating-symbol-instances-through-as-3-0-code/305721 "2010-03-02T16:57:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sakibi15](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sakibi15](https://forum.kirupa.com/u/sakibi15)\
**Post date:** [March 2, 2010, 4:57pm UTC](https://forum.kirupa.com/t/help-duplicating-symbol-instances-through-as-3-0-code/305721/1 "2010-03-02T16:57:16Z")

</div>

Hey fellas’. Plain and simply put, I have 10 different map symbols on the stage. I have 1 class called ContinentView which is linked as the base class to each of these 10 map symbols. All I want to do is duplicate the same map symbol and miniaturize it when the map symbol is clicked upon. Thus, 2 symbols will be on stage prior to clicking, 1 large and 1 small. The 10 different map symbols have names such as zone1, zone2, zone3…etc. all the way up to 10. I know that I can do var mini:MovieClip = new zone1() as MovieClip; but thats ONLY if I click on the 1st map symbol and vice versa. This means I would have to do an if tree or several cases in a switch statement to check the id or name of the clicked symbol (e.currentTarget.name or something)…I want to avoid that and be dynamic. Any help would be appreciated.

- Sakib I.
