When I put the preloader's frame2 a picture,it works perfectly!
When I put the preloader in the website file's frame1 and the website begins at frame2, the preloader does not work!!
So, i am wondering whether I need to publish the website to a "symbol" or sth else to put at frame2.
Could somebody teach me how to join the preloader and the website together??? thanks!!!
(sorry if my english is bad.)
THE BELOW SCRIPT OF THE PRELOADER AND THE TIMELINE OF THE WEBSITE ARE FOR REFERENCE~
function loadProgress(my_content:ProgressEvent):void {
var percent:Number = Math.floor( (my_content.bytesLoaded * 100) / my_content.bytesTotal)
percent_txt.text = percent + "%";
preloader.gotoAndStop(percent);
}
function loadComplete(e:Event):void {
currentFrame + 1;
}
loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
loaderInfo.addEventListener(Event.COMPLETE, loadComplete);
Help

















