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

**URL:** <https://forum.kirupa.com/t/why-cant-i-use-this-class-inside-my-movieclip/326075>\
**Category:** flash\
**Created:** [November 21, 2011, 4:33pm UTC](https://forum.kirupa.com/t/why-cant-i-use-this-class-inside-my-movieclip/326075 "2011-11-21T16:33:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![learner\_7n](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Post date:** [November 21, 2011, 4:33pm UTC](https://forum.kirupa.com/t/why-cant-i-use-this-class-inside-my-movieclip/326075/1 "2011-11-21T16:33:46Z")

</div>

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.
