case01
private function imageLoad(event:ProgressEvent):void{var _loaded:Number = event.bytesLoaded;var _total:Number = event.bytesTotal;mv.yFrom = parentApplication.topBar.y;mv.yTo = 0;mv.end();mv.play();parentApplication.topBar.setProgress(_loaded, _total);}
private function topBarOut():void{mv.yFrom = parentApplication.topBar.y;mv.yTo = -6;mv.end();mv.play();}
case02
private function setTopBar(event:ProgressEvent):void{var _loaded:Number = event.target.bytesLoaded;var _total:Number = event.target.bytesTotal;parentApplication.topBar.setProgress(_loaded, _total);parentApplication.topBar.visible = _loaded<_total;}
한 방에 그냥 끝. 오동작도 없고 훨씬 안정적. 사람은 머리를 써야 한다.
아무래도 머리는 못 박으라고 있는 것이 아닌듯.