天天寫程式
html5,javascript,css3,php,objectiveC,actionscript,node
2007/10/5
flex放入as的displayObject
先載入mx.core.UIComponent,再定義一個UIComponent,透過此Component將已寫好的as class罝入即可
import mx.core.UIComponent;
…
var c:UIComponent = new UIComponent();
c.addChild(new Sprite);
panel1.addChild(c);
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言