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 |
Tags
- Alpha
- Lifefilm
- Movieplayer
- FlashDevelop
- FLVPlayback
- complie
- papervision3d
- publish setting
- ios
- SWFObject
- FLV Player
- 가로
- Renewal
- red5
- 비트맵리사이즈
- debuger
- 단말 테스트
- flashplayer
- smoothing
- Demo
- TweenMax
- ubuntu touch
- fd3
- android studio
- wireless keyboard
- os x
- cocos2d-x
- ExteranlInterface
- javascript
- flash
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