RemoveChild in maintimeline

Hi there,

I want to remove an instance called ´dinges´ from te stage. I have this code inside a function of a movieclip:

if (MovieClip(parent).ene == MovieClip(parent).andere)
trace (“MATCH”);
MovieClip(root).removeChild (dinges);
The trace command works fine, but i don’t know how to approach the ‘dinges’ instance on te main timeline. When I make the alpha of ‘dinges’ 0.5 from whithin the function it works okay. But removeChild won’t work.

please help and save my day.