Flash

flash 로딩

OJR 2009. 8. 19. 10:08

onClipEvent(load){
 this._parent.gotoAndStop(1);
 //this._x = Stage.width/2;
 //this._y = Stage.height/2;
 this.onEnterFrame = function(){
  if( _root.getBytesLoaded() == _root.getBytesTotal() ){
   this._parent.gotoAndPlay(2);
  }else{
   this._parent.gotoAndStop(1);
  }
 }
}

'Flash' 카테고리의 다른 글

flash 로딩 090824  (0) 2009.08.24
flash loading 090820  (0) 2009.08.20
startDrag 의 문제점  (0) 2009.08.17
change MovieClip color  (0) 2009.08.13
flv 를 뽑아내준다.  (0) 2009.08.12