Make sure to always do Math.round to your x's and y's, so: mc.x = Math.round(xPos); mc.y = Math.round(yPos);
And make sure to do the same to all mc's contained within it. .m On Wed, Dec 17, 2008 at 8:39 AM, laurent <laur...@logiquefloue.org> wrote: > Hi, > > Is there a way to be sure elements are positionned précisely on a Pixel ? > > I have a sprite containing sprites that are positionned on integer > coordinates so they are pixel positionned. > And this sprite is re-positionned when the window resize, so I used int() to > be sure I got x and y as integers but still the content get blury sometimes. > Is there something to do that flash always position element on a pixel not a > pixel and half...? > > thx > L > _______________________________________________ > 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