13 Replies Latest reply on Sep 10, 2007 11:50 AM by kglad

    problem with accessing properties on extended classes

      Hi there,

      Why can't I access new properties in a created class with a parent statement ?

      i have classes A and B that both extend flash.display.Sprite
      B is a child of A (this.addChild(B) at B instanciation in A)

      I can access inherited properties of A from B with no effort (such as parent.x or parent.height, eg) but i can't access new properties I have created in A this way (parent.myNewProp won't work)...

      Can someone help me please ?