try using Math.round() on your position values...
  ----- Original Message ----- 
  From: laurent 
  To: Flash Coders List 
  Sent: Wednesday, December 17, 2008 7:39 AM
  Subject: [Flashcoders] Pixel precise


  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

Reply via email to