2 Replies Latest reply on Sep 2, 2009 9:41 PM by Flex harUI

    UIComponent height/width

    phil1943 Level 1

      Hello, I have a custom UIComponent that directly contains graphic statements which draw a line.


      I am now trying to call the width and height properites of the UIComponent however they read as 0.


      Can someone please explain why width and height are still 0, even though I have drawn a graphics line within this UIComponent ?


      Thanks kindly


      package customComponents
          import mx.core.UIComponent;


          public class LineUIComponent extends UIComponent {
              public function LineUIComponent()