PDA

View Full Version : Pixel problem



neo_philiac
05-23-2008, 03:34 PM
Its a little bit unique. I have a flash program that draws a rectangle. But the problem is, whenever I change a monitor, the size is inconsistent. Let me explain a little bit, So what I am actually doing is drawing a rectangle 37.8 X 37.8 Px. Which is equivalent to 1(one) cm. So what I do is, I simply take a ruler and measure the size of the shape (this is the objective of the program - to draw a shape 1cm X1cm in reality). I want the shape size to be consistent regardless of the monitor. Is there a workaround?

My thoughts:

The only way "I" can think is to put an image of size 1cm X 1cm. And then use scaleTO() method to manipulate the size.