Question
Please Help - Fade on load with preloader
Hi All,
I am loading an external swf into an emply mc when a button is clicked. I have the movie fading in when the button is clicked by the following code on the button:
on(press){
import mx.transitions.Tween;
var alphaTween:Tween = new Tween(_root.loader_mc, "_alpha", null , 0, 100, 2, true);
}
This works great. My problem is, I would like to have a preloader run until the movie is loaded and THEN have the movie fade in. Any help on achieving this would be most appreciated.
Thanks,
Eric
I am loading an external swf into an emply mc when a button is clicked. I have the movie fading in when the button is clicked by the following code on the button:
on(press){
import mx.transitions.Tween;
var alphaTween:Tween = new Tween(_root.loader_mc, "_alpha", null , 0, 100, 2, true);
}
This works great. My problem is, I would like to have a preloader run until the movie is loaded and THEN have the movie fade in. Any help on achieving this would be most appreciated.
Thanks,
Eric