Hello guys, the problem is:
Im loading some swfs with loadmovie technique to my mainmovie.
Thereis a mc_container layer and transitions layer, while the movie is loading,
the transation layers alpha increase to 100% and mask the loading area with some animation, and during that animation I wanna show the % percentage of the movie. Howcan I do that ?
The mc_container code is:
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
LB = this.getBytesLoaded();
TB = this.getBytesTotal();
PC = Math.floor((LB/TB)*100);
_root.transition.pc = PC;
trace("yuzde:"+PC);
//trace(LB);
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
Thanks