
06.08.2003, 23:16
|
|
|
"человек"
Регистрация: Nov 2002
Адрес: +-
Сообщений: 1,807
|
onClipEvent (enterFrame) {
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
if (totalBytes >= 1) {
if (_parent.lessonPreloader._visible == false) {
_parent.lessonPreloader._visible = true;
}
_parent.lessonPreloader.Indicator._width = Math.floor( (loadedBytes / totalBytes) * 100 );
}
if ( loadedBytes >=1 and totalBytes >= 1 and loadedBytes == totalBytes) {
_parent.lessonPreloader._visible = false;
_parent.nextFrame();
}
}
попробуй так
__________________
flash it
|