Hello,
I have created a movie clip loader in my main movie and once I click on the button in main movie it loads external swf files accordingly.
I have also added script so that the external swf will be scaled from “0” to “1” on both the X and Y axis. it works sometimes.
But sometimes it scales movie not upto 100% it scales it around 20 to 30 %.
I am not getting why? My code is correct or what?
Please guide…
my code is;
btn1.addEventListener(MouseEvent.CLICK, loadExMovie);
function loadExMovie(e:MouseEvent):void
{
myContentLoader.unloadAndStop();
myContentLoader.load(new URLRequest("4.swf"));
var myTween1 = new Tween(myContentLoader,"scaleX",Strong.easeOut,0,1,1,true);
var myTween2 = new Tween(myContentLoader,"scaleY",Strong.easeOut,0,1,1,true);
}