# Problem with classes

**URL:** <https://forum.kirupa.com/t/problem-with-classes/155554>\
**Category:** Uncategorized\
**Created:** [July 18, 2005, 8:35pm UTC](https://forum.kirupa.com/t/problem-with-classes/155554 "2005-07-18T20:35:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crtvgrndwrks](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@crtvgrndwrks](https://forum.kirupa.com/u/crtvgrndwrks)\
**Post date:** [July 18, 2005, 8:35pm UTC](https://forum.kirupa.com/t/problem-with-classes/155554/1 "2005-07-18T20:35:37Z")

</div>

anybody else have the following problem when making classes in actionscript?

when i convert my scripts to a class, i have a problem accessing objects’ properties from within methods. the code works fine when i simply attach it to the timeline, but when i make it a class, it stops working.
