Skip to main content
Participating Frequently
November 20, 2006
Question

better precision on _x

  • November 20, 2006
  • 3 replies
  • 380 views
Hello
How can I get better precision on a movieclip _x property than a tenth's pixel?

Or isn't that possible?!?

Regards Toben
This topic has been closed for replies.

3 replies

tobenAuthor
Participating Frequently
November 21, 2006
You guys don't have to worry about my problem. I solved it in a quite strange way ; )

Regards Toben
Inspiring
November 20, 2006
Flash stores pixel locations in twips (a twip is 1/20th of a pixel = 0.05
pixel). That is the most accurately you can get positions.
--
Jeckyl


tobenAuthor
Participating Frequently
November 21, 2006
Thats strange because when I debug my movie I see that it round it down to i tenth's pixel?!?

What can I do to work around this problem?

Regards Toben
2m91_2
Inspiring
November 20, 2006
If you mean in display - the answer is no. And to be honest, as computer display only can use full pixels to display things, that wouldn't really help.
If you mean in calculation for internal reasons, or for displaying if scaled to a larger size, you should be able to work around, but it wont be to easy I guess.