티스토리 뷰

ActionScript3.0/Error

TypeError: Error #1009

turfrain 2010. 1. 29. 16:31
참고 : http://blog.actioninside.com/1454

public function DocClass() 

{

if (stage)

{ initialize();

}else { addEventListener(Event.ADDED_TO_STAGE , eventHandler);

}

}

private function initialize():void

{

// start cond

}

/* ======================================================== event */

private function eventHandler($e:Event):void

{

removeEventListner(Event.ADDED_TO_STAGE, eventHandler);

initialize()

}

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday