Posted
Filed under Action Script
[ac3.0] 자식 object에서 부모 objec(root)t접근 할 때
ac2.0에서는 this._parent 로 사용 하였지만
ac3.0에서는 MovieClip(this._parent) 한번 케스팅 한 후 접근 해야 한다.
this._parent가 Display Object를 리턴 함으로 missmatch 가 생긴다.
반드시 케스팅을 한 후 사용 해야 한다.
2009/11/11 12:06 2009/11/11 12:06