Search code examples
apache-flexairflex4flex4.5

Creating dashed/dotted border around skinnable container flex/air?


Is their any way we can create dashed/dotted around skinnable container in flex/air?

I tried few things to programatically add, but not successful

Please let me know any work around for this.


Solution

  • try this

    <s:Rect width="500" height="1">
    <s:fill>
    <s:BitmapFill source="@Embed('/assets/images/dot.png')" fillMode="repeat"/>
    </s:fill>
    </s:Rect>
    

    create the dot.png (1x1 pixel)