# Cannot access Variables inside movieclip classes

**URL:** <https://forum.kirupa.com/t/cannot-access-variables-inside-movieclip-classes/318752>\
**Category:** Uncategorized\
**Created:** [January 29, 2011, 5:21am UTC](https://forum.kirupa.com/t/cannot-access-variables-inside-movieclip-classes/318752 "2011-01-29T05:21:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjmci](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rjmci](https://forum.kirupa.com/u/rjmci)\
**Post date:** [January 29, 2011, 5:21am UTC](https://forum.kirupa.com/t/cannot-access-variables-inside-movieclip-classes/318752/1 "2011-01-29T05:21:36Z")

</div>

when I define a class I can access all functions and variables until I give the object from the library the same class name. Then I cannot get the values anymore. Can some one please tell me why and/or if there is a work around?
