A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: loadMovie clips are dissapearing! why!?

  1. #1
    Junior Member
    Join Date
    Dec 2004
    Posts
    24

    loadMovie clips are dissapearing! why!?

    wtf! I am making a webpage but it's heavy so i'm loading the graphix in as separate .swfs. The problem is that when they load they dissapear! When I click the refresh button on my browser they reappear and are fine. why is this? Why are they dissapearing in the first place. here is what I have in the main movie all on the second frame
    Code:
    clip_5.loadMovie("clip5.swf");
    clip_1.loadMovie("clip1.swf");
    clip_2.loadMovie("clip2.swf");
    clip_3.loadMovie("clip3.swf");
    clip_4.loadMovie("clip4.swf");
    clip_6.loadMovie("clip6.swf");
    stop();
    and in each swf that loads i have a preloader that says on the 2nd frame:
    Code:
    iBytesTotal = _root.getBytesTotal();
    iBytesLoaded = _root.getBytesLoaded();
    iBytes = (iBytesLoaded/iBytesTotal)*100;
    and then on the third frame it says:
    Code:
    if (iBytes<100) {
    	gotoAndPlay(2);
    } else {
    	trace("this 3 loaded");
    	gotoAndStop(4);
    }
    the graphics are on frame 4. this way they won't play until fully loaded.

    So! on my desktop the clips load fine and work perfectly but when it's up on the server they just load and then dissapear. When i click refresh everything shows up. What am i doing wrong? I've tried a zillion different things with always the same result.

    Big thanks to anyone who tells me where I'm screwing up. Below is a link to the page. see they dissappear!

    http://www.threebrain.com/bs/sack/sackSite4.html


  2. #2
    Junior Member
    Join Date
    Dec 2004
    Posts
    24
    nevermind i got it. it was the bytes preloaders aaaffffrrrrghh!! i swithched to ifFramesloaded and now it works

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