Flex IVisualElement add DisplayObject
Quick dirty.
Script:
MXML:
Script:
import mx.core.UIComponent;
private function init():void { //initialize
var ui:UIComponent = new UIComponent();
ui.addChild(youDisplayObject); // <-- there
}
MXML:
<s:Group id="slayout"></s:Group>
Komentar
Posting Komentar
Komentar ...