michanagel
Technical User
Hi,
I have a preloader here that works great, but I would like to change one part
of the code...
I am using 'onLoadInit' to declare some actions as soon as the movie is loaded, but I want those actions to start when the movie is loaded to 80 % because the movie has an intro that will gain me some time to load the rest...
here's the part of code that I want to change:
Code:
myListener.onLoadInit = function (target:MovieClip){
_root.gotoAndPlay("sections");
_root.container.play();
trace ("Loaded!!!!");
loader_2.loadbar._visible = false;
}
What are my options to replace 'onLoadInit' with something that I have more control over the load progress ?
As always, thanx for your help in advance !!!
Mike
I have a preloader here that works great, but I would like to change one part
of the code...
I am using 'onLoadInit' to declare some actions as soon as the movie is loaded, but I want those actions to start when the movie is loaded to 80 % because the movie has an intro that will gain me some time to load the rest...
here's the part of code that I want to change:
Code:
myListener.onLoadInit = function (target:MovieClip){
_root.gotoAndPlay("sections");
_root.container.play();
trace ("Loaded!!!!");
loader_2.loadbar._visible = false;
}
What are my options to replace 'onLoadInit' with something that I have more control over the load progress ?
As always, thanx for your help in advance !!!
Mike