A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] 43%. .. .. . (yet another preloader problem)

  1. #1
    Apollo Becate
    Guest

    resolved [RESOLVED] 43%. .. .. . (yet another preloader problem)

    Okay..

    my preloader doesn't become visuable until its at 43%. What is that all about.

    I guess my question is. . what am I looking for to change in order to make the preloader visuable from 0% to 100%.

    action frames look like this:

    FRAME 1

    loadpercent = "0%";
    loadBytes = "0 of "+Math.round((_root.getBytesTotal()/1024)*1000)/1000+" Kb";

    FRAME 2

    loadPercent = (Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100)+"%");
    loadBytes = "Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + \" Kb of \" + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + \" Kb total Loaded.\");\r\n";
    if ((_root.getBytesLoaded() == _root.getBytesTotal())) {
    loadPercent = "100%";
    loadBytes = "(Math.round((_root.getBytesLoaded() / 1024) * 1000)\\r\\n/ 1000 + \\\" Kb of \\\" + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000\\r\\n+ \\\" Kb total Loaded.\\\")";
    gotoAndPlay ("introduction", "1");
    }


    Thanks for any help. . ..

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    180
    If you have exported symbols (ie- movieclips, audio, etc...) than those symbols will load before even the first frame is rendered.

    Work around would be to find a way to not export those symbols, or you can put just those exported symbols in seperate flash movie, and load that movie at the start of your main movie. Make sense?

    -jweaver

  3. #3
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center