Hi there,
I am using a loading bar with % (percentage) . Everything seems to be working properly but its giving a little problem , it load 25% and then shows the loading bar. That mean while loading till 25% of the movie the is completely blank. Which is quite annoying and recognized as a bug. Required help from the actionscripting expertise. Just little help or hint will be appreciated. Thanks.
For further reference I have uploaded the site on this address : [color=#22229c]http://vazbo.net/client/shems/html/main.htm[/color]
The script I am using
**1st frame **
txtPercentage = Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100) add "% Loaded";
tellTarget ("loader") {
gotoAndPlay(Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100));
}
2nd frame
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
nextScene();
} else {
gotoAndPlay(1);
}
And a instance name : [color=darkorange]loader[/color] with containing 100 frames loading bar animation.