# Senocular says no, i say maybe? swapDepths

**URL:** <https://forum.kirupa.com/t/senocular-says-no-i-say-maybe-swapdepths/156734>\
**Category:** Uncategorized\
**Created:** [July 27, 2005, 5:50pm UTC](https://forum.kirupa.com/t/senocular-says-no-i-say-maybe-swapdepths/156734 "2005-07-27T17:50:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdzines](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@kdzines](https://forum.kirupa.com/u/kdzines)\
**Post date:** [July 27, 2005, 5:50pm UTC](https://forum.kirupa.com/t/senocular-says-no-i-say-maybe-swapdepths/156734/1 "2005-07-27T17:50:42Z")

</div>

Hi,

i am stuck with swapDepth over a timeline. i have 20 frames with labels inside an mc (called ‘site’) on the stage. i have a nav that jumps to the different labels inside site. on the keyframes, i have a some swapDepth stuff for sorting cards on the keyframe.

Problem is, i can’t clear the the mcs that have swapped depth when i jump to a frame before the current frame.

According to Sen, there is no fix for this!!! here is the link:

> **[kirupa.com - Depths in Flash](https://www.kirupa.com/developer/actionscript/depths2.htm)**
>
> Find out more about how Flash vertically arranged objects on screen.

and the paragraph:

> Another problem, which may not be so obvious, is that concerning depth-swapped timeline instances. If you use swapDepths to bring a movieclip which was placed on the timeline in Flash out of the timeline zone and into a\*\* depth above 0\*\*, then in a timeline refresh, that **clip will not be removed** in Flash’s clearing of the timeline instances and a new instance of that clip will be placed on the screen at its original depth, effectively duplicating it. **Similarly, to avoid this, don’t do it**. Again, its safe in controlled timelines, but otherwise, its risky. Something to be aware of nonetheless.

does anyone know a workaround? i can fix it i think by putting everything on 1 frame, but this is a LOT of work late in the project.

any help is really appreciated!

thanks
