PDA

View Full Version : Creating art assets


antun
06-03-2004, 01:50 PM
Developers sometimes experience problems when it comes to creating art assets for their own componenets - the assets don't always line up, or they don't stretch smoothly. Here are some pointers for ensuring that your assets come out right first time:

1) If you plan to stretch any of the assets, then they should be SWFs. You can get away with having some bitmap (PNG, JPEG, GIF) assets mixed in with one or two SWFs, but you may have to experiment with colors.
2) Bitmaps should always be saved at 72pixels/inch.
3) SWFs should be pixel-accurate: If working in the Flash authoring environment, don't make a 40px wide document, and have the contents be 39.7px. You will end up with an alignment problem. Set dimensions of vector objects by entering absolute numeric values rather than using the mouse to draw the objects. Most vector drawing packages that can output SWFs should have this feature.
4) Set the size of views that attach resources (and that don't stretch) to the absolute values that you expect them to be.

See the attached resources (both the SWFs and the FLAs from which they were derived), as well as the LZX file.

Enjoy!