Hi.
i have movieclip instance on stage. Instance name qwe type of Ship.
I want to access it within other class EnemyShip.as.
i tried this.
MovieClip(this.parent).getChildByName("qwe")
.
but got
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Stage@26d03041 to flash.display.MovieClip.
I have not any document class.
On publish settings checked on Automatically declare stage instances.
is there any way access qwe within EnemyShip.as?
And here is link to my flash project: