On 2/27/13 8:01 AM, "Michael A. Labriola" <labri...@digitalprimates.net>
wrote:
>> Graphic primitives are more lightweight. Right?
>
>> Line is not really a replacement for HRule and VRule, because you need to add
>> stroke every time you add one. That's at least four lines of mxml to one for
>> HRule and VRule.
>
> There is nothing wrong with making it a line, and then simply wrapping the
> Line associated stroke in a new class named VRule and HRule... You don't
> literally need to type those lines every time to base this on the graphics.
> So, make a class that is a line pre-configured the way you want it.
>
> Mike
I'm ok with that, but just for fun: should a Spark Vrule be skinnable? Or
at minimum, should it allow for a replaceable stroke and just default to
SolidColorStroke?
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui