# Extending class, not seeing updated variables

**URL:** <https://forum.kirupa.com/t/extending-class-not-seeing-updated-variables/313833>\
**Category:** flash\
**Created:** [September 10, 2010, 10:34pm UTC](https://forum.kirupa.com/t/extending-class-not-seeing-updated-variables/313833 "2010-09-10T22:34:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jany](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jany](https://forum.kirupa.com/u/jany)\
**Post date:** [September 10, 2010, 10:34pm UTC](https://forum.kirupa.com/t/extending-class-not-seeing-updated-variables/313833/1 "2010-09-10T22:34:59Z")

</div>

Hi,

In classA I have an object constantly moving around (Event.ENTER\_FRAME).  
classB extends classA.

From classB, I am trying to trace the object coordinates(or even the object itself) from classA while it moves. The coordinates are constantly returning 0.

I know I am extending correctly, cause I can trace classA variables. Any variable change though, and it will not allow classB to see it. I even tried to “super.method()” and it still doesn’t see the classA object moving around.

Any ideas? :puzzle: ty
