MX // Attachmovie, Keystrokes

Hi, iam having some troubles on using this attachmovie command:
This is just the start just for example: _root.attachMovie(“movie”,“movie1”,1,
My question is on how to auto increment the depth of the command everytime it is played.

anwsered my other question searching forums :smiley:

Thanks alot in advance… :tb:

_root.attachMovie("movie","movie1",_root.depth++);