Do you use transparent PNGs in Flash, Flex or AIR? Want to cut your application file size in half? Problem: Embedding transparent PNGs dramatically increases the size of your Flash, Flex and AIR applications. Photoshop and Fireworks dot not have any compression available for transparent PNGs (that I am aware of). Solution: Import your PNGs [...]
Compress Transparent PNGs with Flash
posted by Chris Black on July 24th, 2009 under AIR, ActionScript, Flash, Flex
Paint Algorithm for ActionScript
posted by Chris Black on July 9th, 2009 under ActionScript
I bet you can't fill the canvas with paint using the bad painting algorithm below (keep an eye on the frame rate counter). Now check out your paint skills using the good paint algorithm. What's the difference? Check out the answer after the examples. Bad Paint: // Alternate Page. (pretend your cursor is a paint [...]









