Question

Draw rectangle with dashed border in flex ?

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top