I have a set of custom controls based on SkinnableContainer.
When adding a control during development, I can specify the skin using the skinClass attribute in the tag.
I need to add some of these elements at runtime, and I cannot figure out how to specify skinClass for my controls.
eg.
var something:CustomThing = new CustomThing();
addElement(something);
How to do it?
Thank!
source
share