How to make 9 slice and guidelines accuratein flash

שישי 19 דצמבר 2008

I was a bit disappointed when I found out that in flash CS4 Adobe did not fixed (yet) the accuracy of the 9 slice (aka 9 scale) nor the accuracy of any guide line. In most reasonable software one would guess that there will be an option to type the coordinates of guidelines (9slice is a case of a general guide line as I see it). But not in flash …
Why would this accuracy so important? Well usually it doesn’t and if you zoom in to 2k and make it more or less on a round pixel – it will be fine. However – If you have tried to make an accurate flex component skin – any glitch might grow within flex and this really needs an accurate placement.
So – what’s my solution?  Grid!
If you turn on the grid and make the flash snap to it – all guidelines (including 9slice) will also be snapped to the grid. If you work in “blind man zoom” as I do (sometime) you could define the grid to 1 pixel width and height and your guides would snap only to round pixels.
PS. This snapping thing does not work if you use “snap to pixel”.

עדיין אין תגובות.

לכתוב תגובה