2 Replies Latest reply on Nov 1, 2006 3:43 AM by millja

    getNextHighestDepth()

    millja
      I've made a dynamic textfield on the stage. Then, i add some mc with actionscript. I want the textfield to stay on top of the movie clip, so i've added this:
      textfield1.swapDepths(this.getNextHighestDepth());
      to my actionscript. Nothing happens :( When i write trace(textfield1.getDepth()); the output is the same as it was before i tried swapping. What am i doing wrong? Thanks for any help!