This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > June 2005 > Loading my entire Movie





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Loading my entire Movie
WorM - AeA

2005-06-10, 7:57 pm

Hi all,

I've got a similar problem like the post on "Progress Bar" on 05/25/2005.

Although, I've done my Progres bar/loader, But I'm struggling to insert it
into my flash movie. It consists of about 25 Scenes and I want to put it to the
web.

How would I go about it to let the loader load the swf file. I can't import
the swf file, and know it's something simple that I'm not doing..!! Hope you
understand so far..!!

Here is what I've done with my loader..!!

totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes
percentDone = int((loadedBytes/totalBytes)*100);
bar.gotoAndStop(percentDone);
if (_framesloaded == _totalframes) {
gotoAndPlay("Home", 1);
}

/*ifFrameLoaded (3) { //change number up or down to make movie start faster,
depending on how many frames in timeline.
gotoAndPlay("Home", 1);
}*/

Now, I put this into the first scene of my movie, and want it to load the
whole movie, then start to play Scene "Home" Frame 1. I tried it to load an
image that I put on frame 3, and it worked, but now that I tell it to go to
"Home" Frame 1, it doesn't..!!

Help me please..!!

Regards,
Werner

chall3ng3r

2005-06-23, 11:18 pm

totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes
percentDone = int((loadedBytes/totalBytes)*100);
bar.gotoAndStop(percentDone);
//
if (percentDone == 100) {
gotoAndPlay("Home", 1);
}

try this code.

// chal3ng3r //

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews