0 Replies Latest reply on Jan 24, 2011 8:27 PM by lmanasa

    Programmatically change border of a container

    lmanasa

      Hi,

       

      I need to draw a border (say something fancy like a convex hull) around a border container. This border needs to change as and when objects are added and removed from the container.

       

      For example :

      DynamicBorder.JPG

       

      Ok, this doesnt look so good but hope you got the idea of what I want to do.. a prettier version of this image!

       

      I am not sure which of these to use :

      1. extend layoutbase
      2. custom skin
      3. draw it using this.graphics

       

      I am very new to flex and am yet to learn what all I can do with say a layout or a skin ..

       

      Any pointer would be great..

      thanks in advance