its not so hard
let me explain :)
first of all youll need to figur out how long the movie is (in bytes)
and how much has loaded so far (also in bytes)
fot that youll use getBytesTotal(); and getBytesLoaded(); respectavely
then youll need to find out the percentage of how much is loaded of the total
total/loaded*100;
then there u can let ur imagination run wild..
u can scale a bar
use percent text etc..
heres an example for a bar preloader
place this in the first frame(preferably in a movie clip)
_root.stop();//stops main timeline
_root.onEnterFrame=function(){//every frame..
if(Dled!=100){//if not dled yet..
Total=_root.getBytesTotal();//get total
Loaded=_root.getBytesTotal();//get loaded
Dled=Total/Loaded*100;//get your percentage
bar._xscale=Dled;//scale the "bar" mc's x
}else{
_root.play();//if done play
}
}
you have to make an mc and give it an instance name of "bar"
this should work.. :P
havent tested it but yea.. that the main idea behind all of this..
if u didnt understand something , post here so we can clear things up for you :D
good luck