0 Replies Latest reply on Jan 21, 2010 1:21 AM by Francisc

    Put points on RoundRect border

    Francisc Level 3

      Hello!

       

      I have this RoundRect:

       

      var roundr:UIComponent=new UIComponent();
      roundr.graphics.lineStyle(1);
      roundr.graphics.drawRoundRect(217,168,585,220,150);
      roundr.graphics.endFill();
      theParent.addChild(roundr);

       

      I want to place:

       

      var icon:Image=new Image();

      image.source="images/16x16.png";

       

      On the outside perimeter of the round rectangle.

       

      How can I do this please?

       

      Thank you!