Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: [flasher] Load movie to specific location in a level
From: Helen Triolo
Date: Fri, 16 Mar 2001 19:14:27 -0000

This code loads a movie into level 2 and positions it at x=100, y=100
(movie has to be completely loaded before you can position it):

actions for frame 1
loadMovieNum ("testmovie.swf", 2);

actions for frame 2 (looper)
if (_level2._framesloaded>=1 && _level2._framesloaded ==
_level2._totalframes) {
gotoAndPlay ("starthere");
}

actions for frame 3
gotoAndPlay ("looper");

actions for frame 4 (starthere)
_level2._x = 100;
_level2._y = 100;

(Alternately, you can create a blank movieclip and load into/position
that).

Regards,
Helen
---------------------
http://i-technica.com


"Toenjes, John M." wrote:
>
> I am trying lo load a small movie to a specific location on top of another,
> larger (screen size-wise) movie. Can someome tell me how to do this? I've
> been all over the manual-can't find the answer.



[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]