Movie Clip Loader question


hi,

trying use movieclip loader load swf file specific (x) , (y) location in flash movie following code:

stop();
mymcl.loadclip("mymovie.swf", 4);

but since loaded swf smaller parent movie loads upper left-hand corner... prefer
that show in center of screen how can write action script specifies specific x , y value destination of swf file.... please , thank you...

elizabeth

hello:

try load swf inside movieclip not inside levels

look example

var container:movieclip = createemptymovieclip("container", getnexthighestdepth());
var mcloader:moviecliploader = new moviecliploader();
mcloader.loadclip("yourimage.jpg", container);

//=== position container

container._x= yourxposition;
container._y= youryposition;

wish

firas darweesh


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support