Halaman

Rabu, 22 Januari 2014

loadMovie swf - as1

stop();
mcVideo.loadMovie("Video"+no+".swf");
this.onEnterFrame = function() {
//trace(_level1._currentframe+" / "+_level1._totalframes);
var persen = mcVideo._currentframe/mcVideo._totalframes;
trace(persen);
if (persen>=1) {
play();
delete this.onEnterFrame;
}
};

Tidak ada komentar:

Posting Komentar