# Setting the location of emptyMovieClip... what am I missing?

**URL:** <https://forum.kirupa.com/t/setting-the-location-of-emptymovieclip-what-am-i-missing/210762>\
**Category:** flash\
**Created:** [December 21, 2006, 9:02pm UTC](https://forum.kirupa.com/t/setting-the-location-of-emptymovieclip-what-am-i-missing/210762 "2006-12-21T21:02:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![azukizero](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@azukizero](https://forum.kirupa.com/u/azukizero)\
**Post date:** [December 21, 2006, 9:02pm UTC](https://forum.kirupa.com/t/setting-the-location-of-emptymovieclip-what-am-i-missing/210762/1 "2006-12-21T21:02:37Z")

</div>

I’m clearly not caffinated enough (or too much!) because I can’t seem to place my emptyMovieClips where I want them. I’m sure I’ve done this before but I would really appreciate it if someone would shine the light of understanding on me…

I’ve tried this two ways (from the \_root.):

this.createEmptyMovieClip(“mainHolder”, this.getNextHighestDepth());  
\_root.mainHolder.\_x =0;  
\_root.mainHolder.\_y =61;

and

this.createEmptyMovieClip(“mainHolder”, this.getNextHighestDepth(), {\_x:0, \_y:61});

When published, the swf loaded into ‘mainHolder’ is located at 0,0. What am I not doing right here?

thanks!
