PDA

View Full Version : FW resizes image? or is decimal allowed?



lunatic
January 28th, 2004, 08:03 PM
Howdy all,

I am relatively new to Fireworks (I have MX). I am using it to slice an image into little tiles - 6 rows, 5 columns. The original file was 700 x 846 pixels. By slicing it into a 5 x 6 grid each tile is 140 x 141 pixels.

Then I am running a script (created in FW) to take each tile and scale it by 25% and rename it.

Then in Flash I am putting the image back together by creating an empty MC for each tile and loading them in. I then have to scale each tile (_xscale * 4) to get it back to the original image size. However, there seems to be lines of space between each ROW (note, not column) of tiles. When I open up the scaled tile in FW and look at it's size it says it is 35 x 35. However, 140/4 = 35 and 141/35 is 35.25. So each scaled tile SHOULD be 35.25.

My question is - does FW drop the decimal? Or just not display it when I check on image size? Because there is space in between rows it seems like each tile is just a little too short - making me suspect that the .25 is being dropped from the height of the tile.

So is there any way to prevent this in FW (a setting or preference I have to set?) or do I have to go into Photoshop and make each tile the height I want? 30 tiles - that's a pain! And I may be using this process again in the future.

Thanks for any advice! :love:

.soulty
January 29th, 2004, 12:59 AM
hmmm... I suggest to you if no one hear knows here, to run a search at google.com for decimal scaling in FW or something like that. or maybe check out the help files ,or macromedia support.

lunatic
January 29th, 2004, 01:42 PM
Actually I'm totally a bone head. You can't (as far as I know) fraction a pixel in PS or FW. It has to be set to an integer. So now I'm trying to figure out how to load an external image into an empty movie clip but scale the image down when it loads because right now it is huge! Argh!