Hi all,
I’ve googled this to death but can’t get any solutions to work!
All I want to do is add preloading onto my main base class for my project. I am simply trying:
package Classes{
import flash.display.MovieClip;
import flash.events.*;
public class loadTest extends MovieClip {
public function loadTest() {
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
}
private function showProgress(myEvent:ProgressEvent):void {
trace("Loading");
}
}
}
I export, then CTRL+RETURN to simulate a download, but my progressUpdate event is not triggered until I reach 100% - obviously that’s not going to make for a very successful preloader. What am I doing wrong?
Many thanks
Lar