投稿者:野中 文雄 | 投稿日:2010.05.09 | [AS 3][ActionScript][Tips][野中ゼミ] MovieClipシンボルのフレームアクションで親のタイムラインからインスタンスを消すには、つぎのようにDisplayObjectContainer.removeChild()メソッドを呼出します[*1][*2]。ただし、このとき気をつけなければならないことがあります。 var parent_mc:MovieClip = MovieClip(parent); parent_mc.removeChild(this); 表示リストからの削除 このフレームアクションが、ループするフレームアニメーションの中のひとつのフレームに書かれていたとします。すると、つぎのようなランタイムエラー#1009が起こります。 TypeError: Error #1009: nullのオブジェク