Hello folks
I am trying to make a transition in between external .swfs
This is what my actionscrtipt looks like on the main timeline(from gotoandlearn.com). “loader” is refering to a movieclip counting up to a 100%. I would like an animation to play and when finished the percent counter appears, once at 100% I would like another animation to play and then disappear. I have been trying to get this relatively simple problem to work…but I can’t seem to get it…Does any one know how it could be solved…I would really like to avoid having to change the basis of the site, in other words the transition would have to be incorporated in the following:
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProgress = function(target, loaded, total) {
loader.percent.text = Math.round((loaded/total)*100)+“%”;
};
mclL.onLoadInit = function() {
loader._visible = false;
loader.percent.text = “”;
};
mcl.addListener(mclL);
mcl.loadClip(“hjem.swf”, empty_mc);
this.menu_btn1.onPress = function() {
loader._visible = true;
mcl.loadClip(“hjem.swf”, empty_mc);
}
Thank you so much guys
-BonWhis