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