PDA

View Full Version : swapDepth with attachMovie


liz_80
04-12-2005, 06:33 PM
Hello.
I am working on a Ferris wheel project and have run into two obstacles.

1. I can’t figure out how to get the depths correct. The Ferris wheel bars should always be in the front along with the outer wheel. The depths seem to keep changing. I have tried unsuccessfully using swapDepths but apparently I am not swapping correctly.

2. I would like the bars to rotate along with chairs in an accurate way. I have come up with an approach but it certainly is not accurate or elegant.

I have cut the files down to the basics and would appreciate any advice (or solutions) you Actionscript experts may have. :)

-Also why does the chair appear in the top left of the stage just before it is placed?

Thanks.