アットウィキロゴ

ムービークリップボタン操作

this.onRollOver = this.normalPlayFunc;
this.onDragOver = this.normalPlayFunc;
this.onRollOut = this.reversePlayFunc;
this.onDragOut = this.reversePlayFunc;
this.onRelease = this.clickFunc;
 
function nextPageFunc () {
	_parent.nextPageFunc();
}
function prevPageFunc () {
	_parent.prevPageFunc();
}
function closeFunc () {
	_parent.fadeOutFunc();
}
 
 
function normalPlayFunc () {
	this.onEnterFrame = this.normalPlayRoutine;
}
function normalPlayRoutine () {
	targetFrame = this._currentframe + 1;
	if (targetFrame >= this._totalframes) {
		delete this.onEnterFrame;
		targetFrame = this._totalframes;
	}
	this.gotoAndStop(targetFrame);
}
 
 
 
 
function reversePlayFunc () {
	this.onEnterFrame = this.reversePlayRoutine;
}
function reversePlayRoutine () {
	targetFrame = this._currentframe - 1;
	if (targetFrame <= 2) {
		delete this.onEnterFrame;
		targetFrame = 2;
	}
	this.gotoAndStop(targetFrame);
}
最終更新:2007年08月25日 09:37