'ActionScript'에 해당되는 글 2건

  1. 2010/10/15 Flex/actionscript 생성된 객체 사이즈 확인
  2. 2010/02/16 Flex horizontalAlign style
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 싸구려코드

Trackback Address :: http://sarangsai.com/trackback/280 관련글 쓰기

댓글을 달아 주세요


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


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

가끔 생각이 안남...


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

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

참고페이지
http://www.adobe.com/devnet/flex/quickstart/styling_components/#section1


저작자 표시
Posted by 싸구려코드

Trackback Address :: http://sarangsai.com/trackback/254 관련글 쓰기

댓글을 달아 주세요