Hi, I am trying to attach a movie to the swf when a function gets executed.
Everything in the function except this is fine, but the movie is not attached.
I used this line to attach the movie.
_root.attachMovie(loader,loader,depth - 1,{_x:(stage._width / 2), _y:(stage._height / 2)});
Here, loader is a variable containing the movie’s name which is to be loaded.
I tried writing the movie’s mane instead of loader but still no luck.
Can anyone tell me what is wrong?