PDA

View Full Version : 0.1 pixel issue on sizing and positioning


Ruben
11-19-2005, 02:21 PM
Hey and hi to all,

Now I've twisted my neck over this baby for quite some time and recently a few of my classmates and my housemate also pointed out to me this really weird twitch in flash.

Here's the thing, sometimes when I position an object (shape, movieclip, whatever) on the coordinates of say x:90/y:134, then at the moment I hit enter flash will just increase or decrease the inserted coordinates with 0.1px so the shape or symbol will be at x:89.9/y:134.1
...the same thing goes with adjusting widths and heights.

Now I don't really recall if this was there already when I first started off with Flash5. I'm not sure it was there with FlashMX either, however I do think it was. Currently I'm on FlashMX2004Pro.

Eventhough I don't expect to get a solution (since this is probably just another one of the bugs MM doesn't think needs to be fixed), I'd be really happy if someone could explain to me why the 0.1px gets added every now and again...

Thanks for any input

:) - Ruben

arkanoid2k
11-19-2005, 03:27 PM
Ruben, how did you figured out the 0.1 increase?

Ruben
11-19-2005, 04:40 PM
Erm, I just did the following:

Selected the shape
Typed in (for instance) 70 in the properties-inspector
Hit enter
And then all of a sudden it would say 70.1 or 69.9

...is it just me having this problem over here?

:confused: - Ruben

Flash Gordon
11-19-2005, 05:55 PM
What I normally do is...

Let's say that the _x should be 50 but it currently is 99.9 and the transform is set to 99.9%...
First, select the textField...
Go to Modify - Transform - Remove Transform to reset 99.9% to 100.0%...
Once you have 100% zoom the screen to 2000% which should be the highest you can get...
Make sure that the textField is selected, use your arrow key to move the textField to the left/right and keep your eyes on the Property panel to see the _x value changing... It should increment/decrement by 0.1 everytime you press the arrow keys...
Move it to 50 and you should be good to go... ;)

Wicked, eh??? :(
Does that help?

Ruben
11-19-2005, 06:33 PM
Hey thanks for that one (http://www.actionscript.org/forums/showpost.php3?p=416286&postcount=44) man, what I usually do is just re-enter the value until it stays unchanged.

So now we know the workarounds, anyone knows why this is the way it is or..?

:confused: - Ruben

cxn926
11-19-2005, 07:38 PM
Ah yes. I figured this out long ago. As I was publishing a image with a border it cut of some of the border. Atleast you made a thread :)

Ruben
11-19-2005, 07:41 PM
Yeah I've been having fights with this bitch for ages but never (until now) really bothered to start a thread

- Ruben

CyanBlue
11-19-2005, 08:27 PM
what I usually do is just re-enter the value until it stays unchanged.
Sometimes, it works faster if you put in 70.0000 instead of 70...
So now we know the workarounds, anyone knows why this is the way it is or..?

:confused: - Ruben
Well... Flash develop team did not do the good job on the IDE, if you ask me... and I think this is one of the glitch that has been there since FMX... (Perhaps before then but I am not sure about that cuz I did not care much at the time...)

Ruben
11-19-2005, 08:31 PM
Sometimes, it works faster if you put in 70.0000 instead of 70...Now that's a good one... Never tried it but I will next time I encounter the problem. thanks!

:cool: - Ruben


EDIT: Is there anyone here who knows if this has been fixed in f8? :confused: