Groups | Blog | Home
all groups > flash (macromedia) > march 2004 >

flash (macromedia) : positioning a swf



posted.by(Vern);
3/3/2004 5:36:22 PM
In the movie that is being loaded, place the coordinates in the first frame.

_x = 200;
_y = 150;

or whatever numbers you need.

If that is not an option, you can command the placement from the level0
movie like so:

_level1._y = 200;
_level1._x = 150;

but my testing shows that this should be put on the frame AFTER the
loadMovieNum() command.
--
Regards,
--Vern
===========================
onClipEvent(doSomethingStupid){
setProperty("Face", color, #FF0000);
_root.audio = "uh oh!";
}

WZMark
3/3/2004 10:00:36 PM
I know I can set the placement of a loaded swf by loading it into a target
however I have have a situation where I would like to (need to) use the global
function.... loadMovieNum( ). Is there anyway I can specify the _x, _y
properties of where i would like to place the loaded swf using this function.

on(release){
loadMovieNum("IntroTest.swf",2);

}
AddThis Social Bookmark Button