| Re: preloader on my website won't stop looping by Pieter Helsen on Aug 2, 2008 at 9:59:22 am |
In the actionscript code for the progressbar there is supposed to be a line that will look like this:
loader_mc.addEventListener(Event.COMPLETE, functionName);
Then, there should also be a block of code with that same function name, starting like this:
function functionName() {
// Code goes here
}
Add this line of code to that function block:
removeChild(theNameOfMyAnimation);
Kind regards,
Pieter
General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.
Respond to this post • Return to posts index | |