'ActionScript'에 해당되는 글 2건

  1. 2010.10.15 :: Flex/actionscript 생성된 객체 사이즈 확인
  2. 2010.02.16 :: Flex horizontalAlign style
Computer_IT/FLEX_AIR 2010.10.15 17:22
trace('ArrayCollection : ' +  getSize( new ArrayCollection ) );
trace('XMLListCollection : ' +  getSize( new XMLListCollection ) );
trace('String : ' +  getSize( new String ) );
trace('Array : ' +  getSize( new Array ) );
trace('Number : ' +  getSize( new Number ) );
trace('RemoteObject : ' +  getSize( new RemoteObject ) );
trace('Group : ' +  getSize( new Group ) );
trace('VGroup : ' +  getSize( new VGroup ) );
trace('HGroup : ' +  getSize( new HGroup ) );
trace('Button : ' +  getSize( new Button ) );
trace('UIComponent : ' +  getSize( new UIComponent ) );
trace('MovieClip : ' +  getSize( new MovieClip ) );
trace('Sprite : ' +  getSize( new Sprite ) );


ArrayCollection : 60
XMLListCollection : 60
String : 24
RemoteObject : 104
Number : 4
Group : 1224
VGroup : 1224
HGroup : 1224
Button : 1248
posted by 고급코드 고급코드
Computer_IT/FLEX_AIR 2010.02.16 16:52

MXML
<mx:VBox  horizontalAlign="center" />


Actionscript
setStyle("horizontalAlign", "center");

가끔 생각이 안남...


MXML
<mx:VBox paddingTop="12" />

Actionscript
.setStyle("paddingTop", 12);.setStyle("paddingBottom", 12);

참고페이지


posted by 고급코드 고급코드