# Inside Class

**URL:** <https://forum.kirupa.com/t/inside-class/209151>\
**Category:** flash\
**Created:** [December 6, 2006, 12:57pm UTC](https://forum.kirupa.com/t/inside-class/209151 "2006-12-06T12:57:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fshuja](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@fshuja](https://forum.kirupa.com/u/fshuja)\
**Post date:** [December 6, 2006, 12:57pm UTC](https://forum.kirupa.com/t/inside-class/209151/1 "2006-12-06T12:57:58Z")

</div>

i am creating my own component. in the Class of the component how can i access the

movieClips i am creating at runtime. inorder to access these movieClips i have to

follow the syntax  
\_root.myComponentName.myMovieClip

how can i avoid the name of the component in the class file.

Faraz
