1 Reply Latest reply on Apr 3, 2008 9:47 PM by kglad

    swapDepths

    hushdavidtoo
      Hello,

      I searched for the topic on the forum and didn't find anything related. I am pretty green with flash and still learning the ropes, so please bear with me.

      I have a .png file loading dynamically into a movieclip holder I created at authoring time. Now I have another movieclip I created at authoring time that rests behind the first movieclip. I wanted to swap those movie clips, but when I use:
      instanceName.swapDepths(instance2Name)
      it doesn't seem to work. Am I having issues with the depth fields because its loading that .png file dynamically?
      Should I just manually set the depth with instanceName.swapDepths(10000)?
      The code is at work so I can't post it until tomorrow - but I was just hoping for some general feedback.

      thanks!