Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- papervision3d
- fd3
- flash
- complie
- ios
- FLV Player
- Renewal
- SWFObject
- wireless keyboard
- os x
- TweenMax
- 단말 테스트
- ubuntu touch
- publish setting
- flashplayer
- debuger
- cocos2d-x
- smoothing
- Lifefilm
- 비트맵리사이즈
- javascript
- Demo
- 가로
- FLVPlayback
- Movieplayer
- FlashDevelop
- ExteranlInterface
- android studio
- red5
- Alpha
Archives
- Today
- Total
목록정렬 (1)
ALL ABOUT ME
Flash :: 가로, 세로 정렬!!
.Variable var colSpacing:uint = 233; /// 무비클립 한개의 넓이 (간격포함) var rowSpacing:uint = 134; /// 무비클립 한개의 높이 (간격포함) var totalCols:uint = 3; /// 행 갯수 var totalRows:uint = 3; /// 열 갯수 .Code for(var i:uint = 0; i < totalCols * totalRows; i++){ DisplayObject.x = (i % totalCols) * colSpacing; DisplayObject.y = Math.floor((i) / totalCols) * rowSpacing; }
Lab
2009. 4. 28. 15:12