how to postion a movie loaded thru loadmovienum action to the centre of the main movie.
_level<B>#</B>._x = 100;
_level<B>#</B>._y = 300;
Obviously <B>#</B> is the level number you are loading to.
loadMovie(“xyz.swf”, 1 );
_level1._x = 100;
_level1._y = 100;
this is my code, but still it doesn’t work. Can you help me out by some other code.
You can’t manipulate a movie until after it is fully loaded in. Being that the movie doesn’t get called in at the same time you call it, you can’t set it’s position yet.
My suggestion is to add [AS]_level1._x = 100;
_level1._y = 100;[/AS] to the first frame of the movie you are loading in, that way the code gets fired after the movie is loaded in.