Archive for the ‘Flash’ Category

Flash : Native Image Compression Stats

Wednesday, December 23rd, 2009
flashHead Flash : Native Image Compression Stats

For those looking to optimize file-size inside (and outside) of your Flash movie, I have done a fairly in-depth amount of research into which formats Flash handles best once loaded into the main time-line. While I know that many no longer do this, it is ideal for those of us who still do animated presentations on the time-line. I was always under the impression that PNG-24 was the smallest file-size on publish, but I was wrong.

After extensive testing, a flattened LZW TIF with default Photoshop settings seemed to compress the best for images without transparency & take up the least amount of file-size on disk. But, for those transparent image needs PNG-24 (using the Save for Web dialog) won out.

I also noticed, just switching the AS library from 2 – 3 barely increased file-size on publish as well. The same was true with activating JPG de-blocking.

Obviously, if you are remotely loading your images, the smallest file-size image wins that test.

Get the PDF of the breakdown here.

Sharing is fun!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Faves
  • Twitter

Flash : Pre-loading Issues

Wednesday, December 16th, 2009
flashHead Flash : Pre loading Issues

I recently ran into a perplexing issue. I had used my standard pre-loading code in AS3 (using .bytesTotal) in a media loading project. This had never been an issue before, but at work we recently moved to a new server solution. All of the sudden, IE (of course) stopped loading a value into the .bytesTotal. My loader was returning NaN. It still completed its ‘loaded’ actions, but wouldn’t track the active loading. Then I tested it in Chrome & Safari, and it was happening there too! Firefox was fine however. Now I was really confused. So I did a bit of research…

Apparently, I’m not alone. The issue seeming stems from files being served up with GZIP compression before being sent to the Flash Player. We had the server solution turn off GZIP compression & Voila! It worked.

Hope this helps someone, like it did me!

Sharing is fun!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Faves
  • Twitter

Flash: Preferred Tween Engine

Tuesday, July 22nd, 2008
flashHead Flash: Preferred Tween Engine

tweenmax Flash: Preferred Tween EngineThere are quite a few tweening engines out there, but I haven’t found any as useful, speedy or efficient as TweenLite (~3k), and its more robust brother TweenMax(~8k). I’ve been using this one for about 3 months solidly over a year now & have no complaints. If you haven’t decided on a tweening engine for yourself yet, I would check it out.

Sharing is fun!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Faves
  • Twitter

Flash : Extremely Useful Swiss-Army Animation Extension

Tuesday, July 22nd, 2008
flashHead Flash : Extremely Useful Swiss Army Animation Extension

Ajar Productions » Queasy Tools Panel v1.5.0

I’ve recently run across this very easy to use & awesome Flash animation extension. It has easily doubled my animation work speed! Thanks for this sweet extension!

queasytools v1 5 0 screencap Flash : Extremely Useful Swiss Army Animation Extension

Sharing is fun!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Faves
  • Twitter

Flash: Saving Filesize When Embedding Fonts

Sunday, June 29th, 2008
flashHead Flash: Saving Filesize When Embedding Fonts

I’ve noticed some massive bloat recently in my Flash files & have found my newest culprit. Font embedding. Curses! Thankfully it’s really easy to correct. Here are some tips.

1. Flash auto embeds every font symbol used in static text fields. So if a button using Tahoma Bold says “Click Here” it will embed ClickHer. But keep in mind if you use Tahoma Italic on another “Click Here” button it will re-import those font symbols again.

2. When embedding fonts in a movie, make sure you ONLY embed what you need. If you know a field will only have lowercase fonts, embed only those.

3. _sans, _serif, & _typewriter are built into the Flash Player itself. So there is MINIMAL filesize (around 100 bytes) increase when using these fonts. HOWEVER, they cannot be rasterized, or animated well & will dissappear under masks.

4. When embedding a font, take a look at your fonts folder on your hard-drive & sort by filesize. Which ones have the lowest filesize? Which ones look the best? The filesize of a font is a DIRECT reflection on the file bloat added to your Flash movie.

PS:  A great looking, free, low filesize font is AM Sans. It can be found here. It’s also a great Futura substitute. Also LucidiaMAC is a great for embedding. I’ve embedded the entire alphabit (upper & lower), numbers & select symbols for a file size increase of ~7kb.

Happy Flashing!

Sharing is fun!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Faves
  • Twitter