Preloader question

Yes, indeed, you can do it… Follow me!!!

I hope you are having the basic idea about movieclips and timelines.

I explain the details in terms of the attachment with the thread.

Inorder to accomplish this we’ve two scenes.

The first scene is "preloader"
second scene is “memories”

In the first scene you can see the two frame with the status bar and other frame containing the sctipt.

The script on the first frame is,

[COLOR=Sienna]totalbytes= _root.getBytesTotal();
loadedbytes = _root.getBytesLoaded();

_root.percentdone = int ((loadedbytes/totalbytes)*100); //Calculate the percent done

_root.bar.gotoAndStop(percentdone); //The timeline moves to the value out of 100

ifFrameLoaded (“memories”, 1){ //Check the memories frame loaded or not; if loaded goto and Stop to the first frame of memories
gotoAndStop(“memories”, 1);
}[/COLOR]


In the memories scene we’ve converted to objects to reduce the main timeline into a single frame

Hope this will helpful for you… Cheers :p: