on(release){
    _root.onEnterFrame = function(){
        trace(_root._currentframe);
        if(_root._currentframe == 1){
            _root.gotoAndStop(_root._totalframes);
        }else{
            _root.gotoAndStop(_root._currentframe - 1);
        }
    }
}

----

_root.onEnterFrame = null;

or

on(release){
    _root.onEnterFrame = null;
}

'tech > FLASH' 카테고리의 다른 글

1180:call to a possibly undefined method addChild.  (0) 2010.12.07
flash oop 구조 정리 잘 된 곳~  (0) 2010.12.03
flash : if(stage) init();  (0) 2010.11.24
xml loading  (0) 2008.09.23
html과 연계하지 않은 flash 만의 새 창 띄우기  (0) 2008.09.23

+ Recent posts