3 Replies Latest reply on Oct 20, 2007 8:49 AM by ntsiii

    creating a custom component

    shikozel Level 1
      I am creating a custom component that is based on Canvas.
      I am trying to add this component as a child of another component like that:

      myCanvas.addChild(myCustomComponent)

      addChild function expect ObjectDisplay in its argument and not a Class. I am little confused. If I am creating a component that base on Canvas isnt it inherited from ObjectDisplay?

      please help.