애니메이트 효과를 일시중지한다.
Type | Description |
---|---|
BOOL | 정상 처리 여부 |
function animate_on_progress(objInst, nStep)
{
var interval, duration, max_step;
interval = animate.geteffectinterval();
duration = animate.geteffectduration();
// 최대 step 구하기
max_step = duration / interval;
// 효과가 절반 진행되었을때 일시정지하기
if (nStep == max_step/2) {
animate.pause();
}
}