|
Post by yoshipros on Jan 8, 2006 14:25:16 GMT
Okay heres probley one of the most simpleist ways of making a preloader
step by step 1. make a textbox and make it Dymatic! 2. Then put this code inside the actions panel!
var bytes = _root.getBytesTotal(); var bytes_loaded = _root.getBytesLoaded(); percent = int((bytes_loaded)/(bytes)*100) + "%"; if (bytes_loaded == bytes) {gotoAndPlay(3)}
This Code tells flash to load the movie before letting it play! also it makes it think your movie starts at frame 3 so make sure it does also in the Varibles put percent otherwise it wont work propley!
Hope this helped!
|
|