Topic: Movie Clip Depths |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: 1393 |
posted 03-31-2008 19:48
On this article it states that "Depth values for movie clips can range from -16384 to 1048575". I have a problem where I have 4 movie clips created at runtime that I want to be behind anything created within the movie. If I place those 4 movie clips starting at -16384, -16383 etc. they seem to overwrite the first few movie clips that aren't created at runtime. I'm going to have any number of objects within the movie so I don't want to have to use swapDepths() for everthing... I'd rather just throw the 4 I know of behind everything and not worry about it. I tried putting in a lower range like -17000 and it works... I'm just unclear as to why it's working and what problems that may cause. Any insight would be much appreciated... thanks! |
Paranoid (IV) Inmate From: 1393 |
posted 03-31-2008 20:45
Ok, I got it working by placing everything I wanted on top of the 4 clips in it's own movie clip... then calling it with attachMovie which allows me to set the depth... seems to be working. If anybody has any other insights/tips on depths please share. Thanks! |
Paranoid (IV) Inmate From: London |
posted 03-31-2008 22:50
What was the reason they had to be the lowest depths? |
Paranoid (IV) Inmate From: 1393 |
posted 04-02-2008 07:03
The 4 clips are the "background" of the entire movie... a dynamic box will adjust in size and position based off of vars passed to it... then the content will fill in (which was originally showing behind the box until I made the above adjustment). |
Paranoid (IV) Inmate From: London |
posted 04-02-2008 10:46
Oh ok, in which case your method is probably the way I would have gone with it. |
Paranoid (IV) Inmate From: 1393 |
posted 04-02-2008 17:33
Cool, very re-assuring. |