12 Replies Latest reply on May 11, 2007 12:03 AM by einnep

    How does " bringToFront()"  work?

    einnep
      I have a movie clip in a game I am making, that replaces the mouse. I need it to be infront of everything else on the stage, and some things are attached from the library (so I can't controll their depth with layers anymore). I thought I had worked it out when I found the bringToFront(); function, but I don't think I am using it properly, because it doesn't turn blue like I thought it should, and it doesn't effect the depth of the movieclip. This is what i wrote:

      var d = my_mc.bringToFront();

      I would be greatful for any help. Thanks.
      P