View Single Post
  #1 (permalink)  
Old Dec 6th, 2007, 02:49
tcpodg tcpodg is offline
New Member
Join Date: Sep 2007
Location: Gaffney, Alabama
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Help with preloader

I am trying to configure a pre-loader to work with a simple page. No animations just as soon as it loads I want it to display the page with no animations. I have the code attached to the preloader movie clip here is the code:

Code: Select all
onClipEvent (load) {
    total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
    loaded = _root.getBytesLoaded();
    percent = int(loaded/total*100);
    text = percent+"%";
    gotoAndStop(percent);
    if (loaded == total) {
        _root.gotoAndPlay(2);
    }
}
My problem is that when I test it or I even tried uploading it to the site it loads to 75% then finally displays the preloader and then loads the rest so you really have no time to look at it. The preloader should display as soon as the person goes to that page if he or she has dsl? Its not a big preloader. So im not sure. Please reply. Thanks.

Last edited by karinne; Dec 6th, 2007 at 12:16. Reason: Please use vBcode when adding code in your post.
Reply With Quote