FORUMS: list search recent posts

Importing Photoshop layred files and resulting file size?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
onostuff
Importing Photoshop layred files and resulting file size?
on Nov 30, 2006 at 7:36:59 pm

Hi,
I am doing a software simulation using a bunch of screengrabs. Save them as layers in PS, Then usually have a full background plate, and isolate the different changes (such as button hilites or other grapic changes on layers above the background, sometimes ending up with 30+ layers. After much testing betweeb PS, Firework, and Flash, I found the best method was to import the file to Imageready and export / layers as files, in the 24 png format. Then import the pngs to Flash 8. They come in with the correct alignment to the background plate, and with transparency and the layer name (I had given them in PS). (Does this seem the best method to other people?). It is importent for me to retain the layer name, and when I tried doing this through Fireworks, it was giving me generic names in Flash.
My question now is; In flash, the layers with the transparency are now easy to lay out to the background since they all have the same bounding box size, etc. But are these layers with Transparency increasing the over all file size, (and affect the resulting .swf), if so, is there anything I can do to make them smaller. Also always been confused to know if I should break apart all full screen bitmaps after importing, or only if I'm going to be editing or munipulating them some how?


Return to posts index

Matt Klundt
Re: Importing Photoshop layred files and resulting file size?
on Dec 1, 2006 at 3:02:17 pm

To get the smallest size possible, each overlay should be trimmed to the minimum number of pixels. Extra transparent pixels will add to your swf file size.

In Photoshop, you could either take each layer and use Trim to remove transparent pixels, or create slices with the slice tool. Then, when you import these into Flash, you will have to manually position them. Using slices may help this, since you can double click on a slice (with the slice select tool), and it will give you its x and y values. These methods will take more time, but the final product will be much more optimized.

Matt
--------------------
http://www.mcquillendesign.com
http://www.mattfoxgames.com


Return to posts index

onostuff
Re: Importing Photoshop layred files and resulting file size?
on Dec 3, 2006 at 6:04:49 pm

Thanks for that Matt,
I was afaid of that, since doing your suggested method of removing the transparent area and then trying to re align everything in Flash was taking a lot of time and precision. Your idea for recording the x y placements in PS with slice is a good one. I will give it a shot if I need to sqeeze these down some more.
I don't suppose there is any way to get rid of the transparent pixels in Flash is there? That would be great if I could use the trasparency bounding size to lay out the scene in Flash, and then get rid of the xtra transparent pixels. Does breaking apart a bitmap in flash actully get rid of the pixels and make the file smaller, or does it just kind of fake it like it does with symbols?

Thanks
Patrick


Return to posts index


Matt Klundt
Re: Importing Photoshop layred files and resulting file size?
on Dec 4, 2006 at 9:46:46 pm

Breaking Apart a bitmap doesn't reduce the filesize, as it uses the entire image as the fill on the shape it creates.

If your final output is going to be played only locally or delivered on CD, you may consider that the optimization of the images may not be much of an issue.

Good luck.

Matt
--------------------
http://www.mcquillendesign.com
http://www.mattfoxgames.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]