|
Resolvi assim: var scale:Number; if (zoomImg.contentWidth>zoomImg.contentHeight) scale=180/zoomImg.contentWidth; else scale=180/zoomImg.contentHeight; var mat:Matrix = new Matrix(); mat.scale(scale, scale); mini.source=new Bitmap(ImageSnapshot.captureBitmapData(zoomImg.content,mat, null,null ,null , true)); João Saleiro CTO @ Webfuel Adobe Community Expert Co-founder of the Portuguese RIA Community Terroso Costa wrote: Se fizeres isso por AS e meteres o addchild depois do mini.source= new Bitmap(ImageSnapshot.captureBitmapData(zoomImg.content)); vai dar ao mesmo?On 4 Set, 15:53, João Saleiro <[EMAIL PROTECTED]> wrote: |
- [riapt] ScaleContent não é aplicado ao Image imedi atament... João Saleiro
- [riapt] Re: ScaleContent não é aplicado ao Image i me... Terroso Costa
- [riapt] Re: ScaleContent não é aplicado ao Image ... João Saleiro
- [riapt] Re: ScaleContent não é aplicado ao Im... João Fernandes
- [riapt] Re: ScaleContent não é aplicado a... Ricardo Neves
- [riapt] Re: ScaleContent não é aplicado a... Terroso Costa
- [riapt] Re: ScaleContent não é aplic... João Fernandes
- [riapt] Re: ScaleContent não é a... Terroso Costa
