17 Replies Latest reply on May 25, 2007 8:09 PM by Rothrock

    swapdepths problems

    Bittasweet
      another problem cropping up!
      in another movieclip on my main timeline "casefile"
      I again have smaller movieclips inside. however, these movieclips have an empty first frame, only 'appearing' by checking for a declared variable which sends it to the second frame. on the second frame, an invisible button allows the user to see a magnified version of the small movieclip. In essence it is an inventory, the objects only appearing when they are 'found' elsewhere in the project.

      Again, I have stacking problems, but this time I am having problems applying the swapDepth script. I can only apply it to the invisible button in the second frame as the movieclip's first frame is empty and not meant to be clicked by the user. i have tried targetting;

      on(release)
      {gotoAndPlay(3);
      _root.casefile.casen1.swapDepths(20000);
      }

      but this doesn't appear to work.
      any thoughts?