1 Reply Latest reply on Jul 3, 2006 2:55 PM by Flex harUI

    Scrollbars for subclass of uicomponent ?

    David Golds (@dgolds)
      I've defined a compoent which is a subclass of UIComponent, and most things make sense, but I'm stuck on scrolling. in my createChildren() override I have the code:

      myBitmap = new Bitmap(myBitmapData);
      scrollRect = new Rectangle(0, 0, width, height);

      ...this correctly just shows the intended width/height part of the bitmapdata (hurrah), but I don't get any scroll bars to let me move around.

      Any suggestions?