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 | 29 |
30 | 31 |
Tags
- 단말 테스트
- android studio
- ubuntu touch
- publish setting
- papervision3d
- Renewal
- FlashDevelop
- ExteranlInterface
- flashplayer
- Lifefilm
- flash
- Demo
- 가로
- Movieplayer
- FLVPlayback
- ios
- wireless keyboard
- SWFObject
- fd3
- smoothing
- complie
- Alpha
- javascript
- FLV Player
- TweenMax
- red5
- debuger
- cocos2d-x
- os x
- 비트맵리사이즈
Archives
- Today
- Total
목록비트맵리사이즈 (1)
ALL ABOUT ME
Flash :: Bitmap Resize
비율로 맞추기 (가로,세로 모두 영역안에) .Variable e.currentTarget - 로더 bmp - 비트맵 container - 로드이미지 넣을 컨테이너 .Code if (e.currentTarget.width >= e.currentTarget.height) { bmp.width = container.width; bmp.height = container.width * ( e.currentTarget.height / e.currentTarget.width); }else { bmp.height = container.height; bmp.width = container.height * (e.currentTarget.width / e.currentTarget.height); } -------------..
Lab
2009. 4. 17. 17:42