1 Reply Latest reply on Oct 20, 2006 1:09 PM by Newsgroup_User

    How to avoid multiple clips overlapping?

    kikibian
      I have many movie clips (thumbnails) on the same layer and they are placed very close each other, so what happen is, onRollOver, the enlarged thumbnail were "eating up" the ones underneath it, looks horrible.... how can I setup the z-index / depth in the following codes?

      Thanx!!
      =======================================================
        • 1. Re: How to avoid multiple clips overlapping?
          Level 7
          kikibian,

          > I have many movie clips (thumbnails) on the same layer and
          > they are placed very close each other, so what happen is,
          > onRollOver, the enlarged thumbnail were "eating up" the
          > ones underneath it, looks horrible....

          Do the enlarged thumbnails reduce again in size onRollOut? If so, it
          shouldn't be a problem, right?

          > how can I setup the z-index / depth in the following codes?

          If the enlarged thumbnails do not again reduce in size, I'm not sure how
          z-index might help. Even if you brought the small thumbnails in front of
          the larger ones, obstruction of some kind would occur.

          That said, take a look at the MovieClip.swapDepths() method in the
          ActionScript 2.0 Language Reference. That provides a way to literally swap
          one movie clip's depth with another or set the depth of a movie clip
          explicitly.


          David Stiller
          Adobe Community Expert
          Dev blog, http://www.quip.net/blog/
          "Luck is the residue of good design."