# Attach Movie

**URL:** <https://forum.kirupa.com/t/attach-movie/17492>\
**Category:** Uncategorized\
**Created:** [April 5, 2003, 11:12pm UTC](https://forum.kirupa.com/t/attach-movie/17492 "2003-04-05T23:12:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BullDog\_Flash](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@BullDog\_Flash](https://forum.kirupa.com/u/BullDog_Flash)\
**Post date:** [April 5, 2003, 11:12pm UTC](https://forum.kirupa.com/t/attach-movie/17492/1 "2003-04-05T23:12:56Z")

</div>

Ok for my tile based game there is alot of attaching mvoies.

cont.attachMovie(“mario”,“mario”,90000);  
cont.mario.\_x = 3_tile\_width;  
cont.mario.\_y = 8_tile\_height;

That is one code i do no understand

I mean the depth is 90000 thats crazy i dont understand.

Please explin it for me.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 5, 2003, 11:17pm UTC](https://forum.kirupa.com/t/attach-movie/17492/2 "2003-04-05T23:17:56Z")

</div>

It is to ensure that no matter what, that object will always stay on top of everything else.

I do that a lot, but I usually set it to 1000 or something.
