12 Replies Latest reply on Jan 22, 2008 3:26 PM by Mister Peanut

    getNextHighestDepth

    Mister Peanut
      Hello,

      I need some guidance on getting getNextHighestDepth to work for my file. I have a deck of cards that I want the user to be able to flip through. When the user clicks on a card, it flips over. I have tried using
      myCard.onRelease=function(){
      this.getNextHighestDepth();
      }

      I'm wondering if I need to dynamically place instances of myCard onto the stage to get this to work, or if all my cards can be placed on the same layer on the main timeline, and they can be controlled from there.

      Here are my swf and fla files.

      Any help greatly appreciated. If you look at the files, you will see that they are somewhat complex with the way they are set up to animate properly. This, I think, is what's confusing me when it comes to writing my code so that it affects the proper place.

      Cheers,

      P