the attachement wont download but try this code:
frame 1:
On stage: a preloader bar containing 100 frames with on them:
layer 1: the edges.
layer 2: a bar with the same width with the right side touching the _x = 0 on frame 1, and left side touching _x = 0 on frame 100. Tween it.
layer 3: a mask with the bar with left side touching _x = 0.
a dynamic text field called bytes_loaded, one called bytes_total and onecalled getPercent. Place a static forward slash ('/') between loaded and total.
on the frame type:
Code:
bytes_loaded = Math.round(getBytesLoaded());
bytes_total = Math.round(getBytesTotal());
getPercent = Math.round((bytes_loaded / bytes_total) * 100);
if (_root._framesloaded>= _root._totalframes) {
gotoAndPlay("FrameLableMovie");
}
frame = int(bytes_loaded/(bytes_total/100));
tellTarget (_root.PRELOADERBAR) {
gotoAndStop(_root.frame);
}
Press F6 to make another keyframe with code:
Then frame 3 can be the movie.
~Senshi