# Nesting clips via createEmptyMovieClip()

**URL:** https://forum.kirupa.com/t/nesting-clips-via-createemptymovieclip/270409
**Category:** flash
**Created:** [September 9, 2008, 4:38pm UTC](https://forum.kirupa.com/t/nesting-clips-via-createemptymovieclip/270409 "2008-09-09T16:38:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wolcotter](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@wolcotter](https://forum.kirupa.com/u/wolcotter)
#### Post date: [September 9, 2008, 4:38pm UTC](https://forum.kirupa.com/t/nesting-clips-via-createemptymovieclip/270409/1 "2008-09-09T16:38:12Z")

</div>

I am attempting to nest a clip inside a clip both created using the createEmptyMovieClip method and then altering the \_x and \_y position of the nested clip like so…

this.createEmptyMovieClip(“orangeMC”, getNextHighestDepth());  
orangeMC.createEmptyMovieClip(“empty04”, getNextHighestDepth());

orangeMC.\_x = 505;  
orangeMC.\_y = 410;

orangeMC.empty04.\_x = -110;  
orangeMC.empty04.\_y = -192;

The content loads just fine and the \_x and \_y positions of the orangeMC clip executes as planned. The \_x and \_y positions of the nested clip (orangeMC.empty04) however are not working. The settings are ignored. Any clues as to what I’m doing wrong here? TIA
