경로 : http://bbatta.tistory.com/category/AS3

액션스크립트 3.0이나 플래시 OOP관련 서적이 적은 상황에서 나 같은 OOP 무식자들은 설자리가 없어지고 있습니다.

봐도 쓸수는 없겠지만, 도움이 되네요.

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

상수 const  (0) 2011.01.09
1180:call to a possibly undefined method addChild.  (0) 2010.12.07
flash : if(stage) init();  (0) 2010.11.24
xml loading  (0) 2008.09.23
rewind  (0) 2008.09.23



원문 출처 : http://stackoverflow.com/questions/2985921/what-if-stage-init-means-in-actionscript

actually means that if stage != null, run initialization. 라고 합니다.

만약 스테이지가 널이 아니라면 initialization 실행.

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

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

urlXML = new XML();
urlXML.onLoad = convertXML;
urlXML.load("company.xml");

'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
rewind  (0) 2008.09.23
html과 연계하지 않은 flash 만의 새 창 띄우기  (0) 2008.09.23


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

1. function openWin(url, name, wd, ht, f, s, r) {
getURL("javascript:void(window.open('"+url+"','"+name+"','width="+wd+",height="+ht+",fullscreen="+f+",scrollbars="+s+",resizable="+r+"'))");
}


2. on (release) {
openWin(http://empas.com, "customwin", 400, 400, 0, 0, 0);
}

'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
rewind  (0) 2008.09.23

+ Recent posts