# Anyway to set object in different layer using AS?

**URL:** <https://forum.kirupa.com/t/anyway-to-set-object-in-different-layer-using-as/82998>\
**Category:** flash\
**Created:** [March 15, 2005, 8:46am UTC](https://forum.kirupa.com/t/anyway-to-set-object-in-different-layer-using-as/82998 "2005-03-15T08:46:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lacus](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@Lacus](https://forum.kirupa.com/u/Lacus)\
**Post date:** [March 15, 2005, 8:46am UTC](https://forum.kirupa.com/t/anyway-to-set-object-in-different-layer-using-as/82998/1 "2005-03-15T08:46:07Z")

</div>

I have 2 objects here, A and B  
But i need object B to pass under object A.  
Object A is done by duplicating empty movie clip and  
attach movie clip on it.

I can attach movie clip on B if is needed…

Anyway to solve by using action script?  
Because the empty movie clips are generated by AS as well…

thanks alot 👼
