# Trouble accessing newly created MC

**URL:** <https://forum.kirupa.com/t/trouble-accessing-newly-created-mc/97874>\
**Category:** Uncategorized\
**Created:** [December 30, 2003, 4:00pm UTC](https://forum.kirupa.com/t/trouble-accessing-newly-created-mc/97874 "2003-12-30T16:00:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daw0lverine](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@daw0lverine](https://forum.kirupa.com/u/daw0lverine)\
**Post date:** [December 30, 2003, 4:00pm UTC](https://forum.kirupa.com/t/trouble-accessing-newly-created-mc/97874/1 "2003-12-30T16:00:35Z")

</div>

Hi everybody, this is my first post here so I’ll try to be brief

I created a MC with a simple createMovieClip, in which I load a movie. This works.

[AS]  
\_root.createEmptyMovieClip(“pmpPlay”, 2);  
loadmovie(“play.jpg”, pmpPlay);  
pmpPlay.\_x = “20”;  
pmpPlay.\_y = “20”;  
pmpPlay.\_alpha = “100”;  
[/AS]

Now when I try to access it’s onMouseDown event, nothing is triggered.

[AS]  
\_root.pmpPlay.onMouseDown = function () {  
trace(“pmpplay click”);  
}  
[/AS]

Any idea ? I guess it’s all about the level on the createEmptyMovie function but I’m not sure.

Thanks in advance !
