# Can't access class member

**URL:** <https://forum.kirupa.com/t/cant-access-class-member/211642>\
**Category:** flash\
**Created:** [January 3, 2007, 9:16pm UTC](https://forum.kirupa.com/t/cant-access-class-member/211642 "2007-01-03T21:16:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RysChwith](https://avatars.discourse-cdn.com/v4/letter/r/a4c791/32.png) [@RysChwith](https://forum.kirupa.com/u/RysChwith)\
**Post date:** [January 3, 2007, 9:16pm UTC](https://forum.kirupa.com/t/cant-access-class-member/211642/1 "2007-01-03T21:16:31Z")

</div>

Anyone have any thoughts on why the loadImage() method of the attached class (SmartImage.as) can’t access the class’s loadListener property? I have a suspicion that it has something to do with the funky way the object is instantiated (necessitated by the fact that the class is extending MovieClip).

Rys
