Я знаю, что могу сделать это в MXML:
<s:CheckBox label="Some Text" lineThrough="true" />
Но как я могу сделать то же самое программно? Следующее не работает:
var newCheckBox:CheckBox = new CheckBox;
newCheckBox.label = "Some Text";
newCheckBox.lineThrough = "true"; // Flex code help doesn't see "lineThrough"
dummyContainer.addElement(newCheckBox); // Just some dummy container to add the element to.