home *** CD-ROM | disk | FTP | other *** search
- if(_global.a == "playing")
- {
- setProperty(_global.sli, _X, Math.round(_global.mov._currentframe / _global.mov._totalframes * 520) + 60);
- _global.fra.text = _global.mov._currentframe;
- }
- if(_global.mov._currentframe <= 1)
- {
- _global.pla.gotoAndStop(1);
- }
- if(_global.mov._currentframe >= _global.mov._totalframes)
- {
- _global.pla.gotoAndStop(10);
- }
- _global.sec = Math.ceil((_global.mov._totalframes - _global.mov._currentframe) / 12);
- if(_global.sec % 60 < 10)
- {
- _global.clock.text = "-" + Math.floor(_global.sec / 60) + ":" + "0" + _global.sec % 60;
- }
- else
- {
- _global.clock.text = "-" + Math.floor(_global.sec / 60) + ":" + _global.sec % 60;
- }
-