Now when I put the code on the 2nd button and change the name of the moviec clip, new movieclip name, and depth the button wont work.
I tried copying the same code from the 1st button to the 2nd and it worked. Of course its still playing the same movieclip.For some reason it wont play another movie clip. I am not really sure about the whole depth thing, but I changed that multiple times too and nothing helped. Any ideas why this isn't working? Thanks in adavance!
Try to ensure that you have exported (Linkage..) the clip in library, for the script to be able to access it.
I mean that the "attachMovie" command requires the symbol to have been exported for action script access.
Open the library, right click the movie clip you want, select "Linkage..." and check the "Export for ActionScript" (and "Export in first frame") options.
Seems that the problem is this, but of course can be anything else..
Bookmarks