Draw rectangle wit开发者_开发问答h dashed border in flex ?
There is no built-in method for this in the drawing API unfortunately. You can Google for some workarounds like this one: http://www.getw3help.com/2009/10/dashed-rectangle-border-in-flash.html
Hopefully helps, Rob
Personally, if you're using Flex4, I would create a new Skin for whichever component you're trying to style (or just BorderContainer if you just want a blank rectangle). And from within the skin, I would pogrammically add the 4 dashed lines.
精彩评论