How to create custom container for non-visual elements?
I don't want to extend eny classes, I can implement some interfaces but I don't know what exactly. I've tried I IList but I got error when tried following:
Received following error:
"Component declarations are not allowed here."
Actually it was in declaration teg:
Ok, I found solution by myself .
Custom container should have following methods:
public function get children():Array
public function set children(value:Array):void
_children = value;
And also should have methadata under class: