3 Replies Latest reply on Oct 23, 2006 2:42 AM by ggshow

    attachmovie: why wont this code work?

      Here is the code I'm using:

      _root.b.attachMovie("p"+_root.i, "pb", this.getNextHighestDepth());

      trace("p"+_root.i) = p0

      * _root.b is a movie that contains nothing. When this script is run, nothing is attached.

      I have a movieclip in the library that has the identifier "p0" and is exported in the first frame for actionscript. I have used this numerous times for other projects and it has worked fine. Is there something wrong with my syntax that I'm not seeing.

      Thanks for any help,