# Duplicating mc's with keys

**URL:** <https://forum.kirupa.com/t/duplicating-mcs-with-keys/121701>\
**Category:** Uncategorized\
**Created:** [September 5, 2004, 11:19pm UTC](https://forum.kirupa.com/t/duplicating-mcs-with-keys/121701 "2004-09-05T23:19:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevemyster](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@stevemyster](https://forum.kirupa.com/u/stevemyster)\
**Post date:** [September 5, 2004, 11:19pm UTC](https://forum.kirupa.com/t/duplicating-mcs-with-keys/121701/1 "2004-09-05T23:19:02Z")

</div>

hi, im looking for some help on duplicating mc’s with keys instead of the mouse. ive been working with flash for quite some time, and i think im pretty good. i have about 13 submissions on newgroundw with descent scores, and 2 of them are even in an archive. im kinda new with actionscript though, ive been learning for about a month now. but im kinda on and off. so can anyone help me on duplicating mc’s with keys?

this is wat i have.

onClipEvent (keyDown) {  
if (Key.isDown(SPACE)) {  
i = i + 1;  
duplicateMovieClip (\_root.box, “box” + i, i);  
}

thnx ahead of time.
