Subclass, Superclass issue

Hey Gang,

I have a superclass called “BaseWindow” that all my smaller windows in my flash app are extending.

All these windows have a movieclip as their background (basically just white with an orange border).

I want to be able to access the size of these backgrounds. I have given them all the name “window_mc” and in my BaseWindow class, in the constructor I added the line _bg = this.getChildByName(“window_mc”) as MovieClip;

So there shouldn’t be an issue, but now when I compile I get a load of errors, the first being:
1152: A conflict exists with inherited definition windows:BaseWindow.window_mc in namespace public.

That error occurs on one of my windows. If I remove the “window_mc” from that instance of the window, the same error will come from another of the windows…

Can someone explain this to me?

Thanks,

–d