Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : using loadMovie with levels



~J
3/16/2004 11:55:02 PM
how do I control the position of an external file when I load it into the main
movie on a certain level?

for example, If I use:

loadMovie("video.swf", 1);

it will always appear top/left of the screen but i'd like to be able control
where it appears.
kglad
3/17/2004 2:49:06 AM
if you load into a _level you should use loadMovieNum(). and AFTER loading is
complete you can control the position of your loaded clip (and everything else)
by referencing _level1. for example, after loading:

_level1._x=100;
~J
3/17/2004 5:52:48 AM
Thanks. I thought i tried that but i tink i may have enter _level01 instead of level1.

kglad
3/17/2004 4:38:23 PM
AddThis Social Bookmark Button