4 Replies Latest reply on Jun 19, 2007 2:31 PM by ntsiii

    building reusable components

    rwtemple
      I've built a few classes that extend from UIComponent, These components do some custom drawing in updateDisplayList and properly implement the measure method.

      When I give the class to others to use, it shows up in their toolbox in the designer, but when they drag it into a container, it is sized 0x0 by default and never draws itself. How do I give it a default size that is not 0x0 and how do I make it paint itself in the designer?

      Looking back at the forums, I see a few other people have had this question but they never got an answer. So please, if you from Adobe and know what the answer is, even if the answer is "its not possible", please answer the question.

      Thanks,
      Robert Temple
      Sr. Director Advanced Development
      ESPN.com