I recently finished reading Flash 8 Essentials, and have found it to be an excellent resource for anyone looking to jump with both feet into the complex world of Flash design. The contributing authors are some of the biggest names in Flash design today. There is so much packed into this book that I am only going to be able to touch briefly on most of the highlights. Of the many new features available in Flash 8, here are the ones I found most exciting:
* Search Engine Compatibility
* Graphics Effects Filters
* On2 VP6 Video Codec
* Improved Text Rendering
* Bitmap Caching
Each of these topics is covered at length throughout the book. What's especially nice is that source code for each example can be downloaded from the website. You don't need to have purchased the book to use these code examples, but they will of course make better sense when accompanied by the text. Without further ado, here is why each of these improvements really matters...
ch.1 - Search Engine Compatibility
This book refers to this momentarily, but I thought it important to mention. One of the biggest complaints against Flash is its lack of accessibility, and implicitly its lack of search engine friendliness. These issues have been put to rest with Flash 8, because it now supports using a version of XML entitled XMP, which stands for Extensible Metadata Platform. In short, this means that Flash can now comply with W3C standards for information accessibility.
This metadata could probably double for usage in subtitles, to aid in viewing Flash movies for those who have hearing impairments. For a good example of this in action, check out the Making of Flash 8. Throughout the video, by using various keypoints the way one would index DVD chapters, there are changes in the text displayed along the bottom of the screen.
Stored as metadata, this could be indexed by Google, and would increase page relevance for the topics covered throughout the video. I never thought the day would come that I would use the word accessibility in reference to Flash, but I think that if designers pick up on this, it will be beneficial to the hearing impaired, as well as your clients. It's smart on both sides of the argument.
ch.3 - Graphics Effects Filters
In fact, all effects and filters can be manipulated via ActionScript. These include the following blending modes: Normal, Darken, Multiply, Lighten, Screen, Overlay, Hard Light, Add, Subtract, Difference, Invert, Layer, Alpha and Erase. Various available effects are: Drop Shadow, Blur, Glow, Bevel, Gradient Glow / Bevel, Adjust Color / Matrix, Displacement Map and Convolution.
Photoshop users will no doubt recognize many of those, and immediately realize the benefit of being able to call these into effect during runtime rather than constantly importing multiple PNG images. If those don't sound familiar then buy the book. I can't just give away everything - This ain't no hand-out!
ch.5 - On2 VP6 Video Codec
Another thing I'm all fired up about is Flash's great new handling of video. Gone is the trusty Sorensen Spark codec, although it still remains as a legacy option. This paves the way for the new On2 VP6 Codec. On2 codecs are also being used in other popular products such as the new Skype video beta.
What this means for Flash is new support for alpha channels within video. For instance, in the fight between Anakin and Obi-Wan in Star Wars Episode III, very little of the surrounding environment were actual props or movie set. Most of it was shot against a green screen, after which the green areas were replaced with digital enhancement. This is now possible to do with Flash.
Also new are the embedded cue points, making subtitles via XML a possibility. Also, with Flash 8 Professional there is a stand-alone video encoder which allows for massive batch file processing. So, if you are a video guru and work in Quicktime format all day, and need to convert many of those MOV over to FLV files, you can batch convert them all overnight, rather than one by one.
ch.6 - Improved Text Rendering
A huge complaint of Flash has always been that text below a certain point size, depending on the font, becomes nearly unreadable. To get around this, many designers would purchase pixel fonts made especially for small scale display. Communities such as Fonts for Flash arose to compensate for this deficiency.
Printed text aficionados can rejoice, because Flash text rendering just got a huge shot in the arm. It's called Saffron, a technology that has been licensed from Mitsubishi Electric Research Labs. It works similarly to Microsoft's ClearType in Windows XP, or the native font smoothing of Apple OSX. Flash pushes Saffron to the edge, with several modes for readability, animation or even custom settings. It nearly allows for creating entirely new font faces.
ch.7 - Bitmap Caching
In the past, if you had multiple vector shapes viewable at once, the Flash player would have to render each and every animation on the fly, increasing strain on the CPU with each additional graphic. Version 8 though, allows for caching of shapes that might animate, but not change. For instance, if a square-shaped object is moving but not rotating, it can be cached as a bitmap.
If it were to rotate slightly, then the rendering engine would need to redraw it, after which it could be cached again as a bitmap until the next rotation. You can think of it this way: Distortions such as rotation, changes in opacity, and zooming - all require re-drawing. Simple things like moving an object from left to right can be cached. This allows Flash Player 8 to be the fastest ever. It should be noted though, that caching should be enabled wisely, because if you are constantly misusing it, it actually increases strain on computer hardware.
Summary: If you're looking for a great place to get a handle on the new improvements in Flash 8, this book is for you. If you don't have a background in previous versions such as MX 2004, you might want to consider Foundation Flash 8, which covers more of the basics.