[Flashcoders] Can I avoid distorted bitmaps when scaling dynamically?
Hiya, I need to code some tweens that scale movieclips containing bitmaps. At the moment I'm using TweenMax and, when I scale the images they look distorted, the same way they do if you scale bitmaps on the timeline. Does anyone know of a way I can avoid this distortion? Thanks! Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Can I avoid distorted bitmaps when scaling dynamically?
If you mean they lose quality (instead of distort), it's because they don't have interpolation on, and you have to change it. How you do so depends on how the images are featured. If they're single images (featured inside the SWF) you need to turn on smoothing on the bitmap properties on the library. If they're dynamically attached Bitmaps, you need to turn on the antialias option of the Bitmap container. Zeh On Thu, Sep 18, 2008 at 1:26 PM, Ali Drongo [EMAIL PROTECTED]wrote: Hiya, I need to code some tweens that scale movieclips containing bitmaps. At the moment I'm using TweenMax and, when I scale the images they look distorted, the same way they do if you scale bitmaps on the timeline. Does anyone know of a way I can avoid this distortion? Thanks! Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Can I avoid distorted bitmaps when scaling dynamically?
Have you turned the allow smoothing on? If you need to do it for a big number of bitmaps consider doing it with a .jsfl command. Jorge rego On Thu, Sep 18, 2008 at 5:26 PM, Ali Drongo [EMAIL PROTECTED]wrote: Hiya, I need to code some tweens that scale movieclips containing bitmaps. At the moment I'm using TweenMax and, when I scale the images they look distorted, the same way they do if you scale bitmaps on the timeline. Does anyone know of a way I can avoid this distortion? Thanks! Ali ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders