2 Replies Latest reply on Oct 20, 2008 4:11 PM by americancuervo

    swapDepths

    americancuervo Level 1
      Hello,
      I am having a problem while using swapDepths.

      In my Flash Application,
      You can choose objects and they are placed on the stage.
      When you choose one object while there are two objects on the stage, it brings it to the front using swap depths.

      My problem is when there are more than three objects on the stage, the chosen object is brought to the front, but it also brings another object forward with it.
      It only seems to happen after the third object is brought to the stage.

      Here is a link to the application.
      http://www.americancuervo.com/cookiebuilder/index.html

      Attached below is the code I am using to swapDepths.

      How do I prevent this from happening?

      Thank you for any help you can provide