0
movieClip.prototypeでsetIntervalを使用するにはどうすればよいですか? このコードの増加numの値だけで1時間...MovieClip.prototypeのsetInterval
MovieClip.prototype.testFunc = function(num) {
var num = isNaN(num) ? 0 : num;
trace(num);
clearInterval(this.slideDelay);
num++;
this.slideDelay = setInterval(this.testFunc, 4000,num);
};
var testMc = _root.createEmptyMovieClip("testMc", 1);
testMc.testFunc(0);