Thanks very much for your reply.

I suspected smoothing too and tried using a SmothImage class we use for
resizing external JPG's, however it did not help.

If I understand correctly the smoothing of the PNG would need to be
performed when creating the graphic, not at runtime
in Flash, is this correct?



On Fri, Oct 2, 2009 at 1:04 PM, ag_rcuren <[email protected]>wrote:

>
>
> Smoothing should solve your problem. I have done a very similar thing and
> by smoothing the images it fixed the pixelization.
>
> You may have to create a new Bitmap from the image and set that Bitmap's
> smoothing to true. I do not believe you can directly smooth a .png image I
> think smoothing only applies to bitmaps.
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, Greg
> Hess <flexeff...@...> wrote:
> >
> > Hi All,
> >
> > I am trying to apply a roll over/out resize or zoom effect on a Button
> > with graphical skins. When the mouse is over the image I want it to
> > grow and shrink on exit(currently using roll over/out events). My png
> > skins are transparent and have round shapes, when I resize/zoom up or
> > down the image quality is poor and shows pixelization on the round
> > edges.
> >
> > I have tried swapping the images (large vs small) when the effects end
> > but it feels clunky. I have tried using a straight image vs a button
> > component but get the same result. I also tried just specifying the
> > large image as the over, down skins and applying a resize effect to
> > the button but it also is clunky. Cache as bitmap, smoothing, maintain
> > aspect ratio, scale content seem to have no effect on my resizing of
> > these transparent pngs.
> >
> > Not sure what I am doing wrong, any help is much appreciated.
> >
> > Thanks,
> >
> > Greg
> >
>
>  
>

Reply via email to