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
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
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
Post a Comment