Why can't I use this class inside my MovieClip?

Hi,

The attached [COLOR=#ff0000]SlideshowExample**.as **[/COLOR]file works quite nice when I use it on stage directly. But when I tried to use it in [COLOR=#0000ff]**Gallery_mc **[/COLOR]movie clip, it doesn’t work, Please help me out in resolving this problem.

I am not mentioning the [COLOR=#0000ff]**Gallery_mc **[/COLOR]instance name any where. Don’t know where to mention it.

Thanks.