macromedia flash sitedesign:
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
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 //
Don't see what you're looking for? Try a search.
|