Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onClipEvent (enterFrame) {
- _root.barlength = 300;/*CHANGE LENGTH HERE*/
- _root.filetotal = _root.getBytesTotal();
- _root.fileloaded = _root.getBytesLoaded();
- _root.percentageloaded = Math.floor(_root.getBytesLoaded() / _root.getBytesTotal() * 100);
- _root.filepercent = _root.percentageloaded + "%";
- _root.preloaderbar._width = _root.percentageloaded * _root.barlength / 100;
- trace(_root.filepercent)
- if (_root.percentageloaded >= 100)
- {
- _root.play();
- }
- }
Add Comment
Please, Sign In to add comment