View Full Version : loading external swf
siLent`skY
05-10-2006, 11:04 AM
when loading external swf how can adjust where to be loaded ?
and is that the proper way to load external swf
on (release) {
loadMovieNum("xxx.swf", 1);
}
oldnewbie
05-10-2006, 12:04 PM
Check your PMs.
MSLourens
05-11-2006, 09:55 AM
when loading external swf how can adjust where to be loaded ?
and is that the proper way to load external swf
on (release) {
loadMovieNum("xxx.swf", 1);
}
You have to use the loadMovie() function instead of the loadMovieNum function. The difference between those two is that loadMovie specifies a movieclip where the new movie has to be loaded, and the loadMovieNum specifies the level in which the new movie has to be loaded. So use this:
loadMovie(url:String, target:Object/String)
Shahzeb
05-11-2006, 04:01 PM
you can load external swf by loader component and your ownmovie clip.
movieinstance.loadMovie("Moviename");
loaderinstancename.load("moviename");
but make both movie size same i mean width and height.
and the swfmovie which u will load in flash. In this movie make put the object and movie according to your requirement.
and keep the loader component size 50 * 50. otherwise loader will show ur object bigger than its orginal size.
:D try it
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.