# Using Object Literals

**URL:** <https://forum.kirupa.com/t/using-object-literals/156961>\
**Category:** flash\
**Created:** [July 29, 2005, 2:49am UTC](https://forum.kirupa.com/t/using-object-literals/156961 "2005-07-29T02:49:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cki](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@cki](https://forum.kirupa.com/u/cki)\
**Post date:** [July 29, 2005, 2:49am UTC](https://forum.kirupa.com/t/using-object-literals/156961/1 "2005-07-29T02:49:52Z")

</div>

Hi,

I’m attemtpting to consolidate this:

```auto

v.createEmptyMovieClip("container_mc", this.getNextHighestDepth());
	v.container_mc._x = 100;
	v.container_mc._y = 50;

```

with this:

```auto

v.createEmptyMovieClip("container_mc", this.getNextHighestDepth(),{this:_x:100,this:_y:50});

```

The \_X and \_y properties are ignored, what did I goof?
