{"id":43,"date":"2005-01-14T22:19:22","date_gmt":"2005-01-15T05:19:22","guid":{"rendered":"http:\/\/newsfeed.fatorcaos.com.br\/wp\/?p=43"},"modified":"2006-07-13T12:17:10","modified_gmt":"2006-07-13T19:17:10","slug":"flash-8-at-a-glance","status":"publish","type":"post","link":"https:\/\/labs.zeh.com.br\/blog\/?p=43","title":{"rendered":"Flash 8 at a glance"},"content":{"rendered":"<p>2005 is here, and this will be the year Macromedia releases the next version of Flash &#8211; Flash MX 2005 (codenamed &#8216;8ball&#8217;) &#8211; and the new Flash Player &#8211; Flash 8 (codenamed &#8216;Maelstrom&#8217;).<\/p>\n<p>As has been largely covered by the blogging media, 8ball\/Flash 8 will have some cool new features aimed at making designers happy. We&#8217;re still waiting for Macromedia to release some more information related to that (<a href=\"http:\/\/www.markme.com\/md\/archives\/006797.cfm\">they will actually do that next week<\/a>, so if you&#8217;re on the Los Angeles area, be sure to be there) but we know a bit and I&#8217;d like to talk about what is publicly known. While I don&#8217;t present any new information here, I&#8217;ll try to cover what will be possible with the features already announced &#8211; the new possibilities are immense.<br \/>\n<!--more--><br \/>\nAmong (probably) many other unannounced features, 8ball\/Flash 8 will have some key ones that will prove to be real breakthroughs for Flash Developers &#8211; specially for people still unsatisfied with the visual capabilities the player currently has. Here&#8217;s what we know, in a digested and easy way (I hope).<\/p>\n<table width=\"250\" border=\"0\" align=\"right\" cellpadding=\"6\" cellspacing=\"0\" bgcolor=\"#dddddd\">\n<tr>\n<td><img decoding=\"async\" loading=\"lazy\" src=\"\/blog\/i\/43_saffron.jpg\" width=\"250\" height=\"153\" border=\"1\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><em><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">As you cannot see here, Saffron makes text easier to read on screen and it adds hinting information for low resolutions <\/font><\/em><\/td>\n<\/tr>\n<\/table>\n<p><strong>A new text rendering engine<\/strong><\/p>\n<p>While text rendering has received a significant improvement on Flash MX 2004\/Flash Player 7 &#8211; with <a href=\"http:\/\/newsfeed.fatorcaos.com.br\/000021.html\">the ability to export the hinted, on-screen version of the font as the actual font, emulating the so-called &quot;bitmap&quot; fonts<\/a> &#8211; Flash still lacked the ability to actually export hinting information for used fonts. This is understandable: a font rendering engine that uses hinting is actually quite a feat, and hinting information can be so bigger than the font information itself that it wouldn&#8217;t be practical to add hinting information to a compiled SWF movie in almost all cases. However, 8ball will have a new text rendering engine &#8211; called <a href=\"http:\/\/www.merl.com\/projects\/ADF-Saffron\/\">Saffron<\/a> &#8211; that not only supports hinting on a bandwidth-friendly way, but also adds support for some rendering techniques similar to what <a href=\"http:\/\/www.microsoft.com\/typography\/cleartype\/\">ClearType<\/a> does, that is, renders sharp text by augmenting the contrast of the pixels surrounding the text.<\/p>\n<p><strong>Performance improvement<\/strong><\/p>\n<p>This wouldn&#8217;t be an update to 8ball\/Flash 8 if more performance improvements weren&#8217;t on the way. Flash Player 7 did a good deal of speeding things up when it comes down to processing &#8211; let&#8217;s face it, Flash 6 was lethargic &#8211; but there&#8217;s still a lot to be desired. It&#8217;s great to see another performance boost coming, although we still don&#8217;t know what or how much will change just yet.<\/p>\n<table width=\"250\" border=\"0\" align=\"right\" cellpadding=\"6\" cellspacing=\"0\" bgcolor=\"#dddddd\">\n<tr>\n<td><img decoding=\"async\" loading=\"lazy\" src=\"\/blog\/i\/43_fx.jpg\" width=\"250\" height=\"153\" border=\"1\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><em><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Effects on the Flash Conference 2004 in Tokyo demo (left) and on 8ball itself from the MAX 2004 presentation (right)<\/font><\/em><\/td>\n<\/tr>\n<\/table>\n<p><strong>Realtime bitmap effects<\/strong><\/p>\n<p>Oh, boy, where do I start.<\/p>\n<p>Anyway, it&#8217;s like this: 8ball\/Flash 8 will add the ability to have stackable effects added to MovieClips at runtime. These effects will be used to create fancy visual tricks &#8211; the kind of tricks you needed images created on Photoshop to do. Right now, a few effects like &quot;glow&quot; and &quot;drop shadow&quot; were demonstrated &#8211; in the future, however, a few more will be available, including a &quot;blur&quot; one which is probably the only real effect available anyway &#8211; the rest is just a mix of a duplicated blur and coloring.<\/p>\n<p>The thing with this apparently stupid effect is that it will allow a plethora of features to be created &#8211; features that could only be created before with the painful use of several imported images. I can easily picture people creating menus which blur while not rolled over, and windows that blur when out of focus: no more tricks for simulating depth, real time blur will make it a snap.<\/p>\n<p>Also, remember these effects can also be added by code, so expect to see methods like &quot;blurTo()&quot; added to <a href=\"http:\/\/hosted.zeh.com.br\/mctween\">MC Tween<\/a> and many other public tweening extensions as soon as Flash 8 is released.<\/p>\n<table width=\"250\" border=\"0\" align=\"right\" cellpadding=\"6\" cellspacing=\"0\" bgcolor=\"#dddddd\">\n<tr>\n<td><img decoding=\"async\" loading=\"lazy\" src=\"\/blog\/i\/43_blend.jpg\" width=\"250\" height=\"154\" border=\"1\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><em><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Blending modes combo box <\/font><\/em><\/td>\n<\/tr>\n<\/table>\n<p><strong>Blending modes<\/strong><\/p>\n<p>Now this is something I think I&#8217;ve wanted on Flash since version 3: blending modes. For nondesigner people, &quot;blending modes&quot; is what you&#8217;d use on Photoshop (or any other semi-serious graphic program) to dictate how an object (or layer) color will blend with the underlying layers. On such programs, it&#8217;s not like one object is simply on top of other: you can have different types of calculations done and make the top object invert the colors below it, or add to them, or subtract to them, or shift them, or many other effects. On Photoshop, we have modes like &quot;Screen&quot; (uses only the light information from a layer), &quot;Multiply&quot; (uses only the dark information of a layer), &quot;Overlay&quot; (extrapolates colors), among many others. And now they are coming to Flash.<\/p>\n<p>It&#8217;s as if Flash, nowadays, featured only one blending mode: &quot;Normal&quot;, that is, the top object replaces the color of the objects below. It can have opacity, but that&#8217;s about it. Flash has never featured advanced blending modes probably because performance was a huge issue on the Player and it couldn&#8217;t have the luxury of doing a few more calculations, specially when it can&#8217;t even do the normal calculations correctly, but thankfully it looks like this will be a thing of the past soon. With new blending modes, Flash developers will be able to create some pretty weird rendering effects. Bizarre slideshow fades will never be the same.<\/p>\n<p>Granted, on the video they have shown of 8ball on MAX 2004 they have only presented one blending mode &#8211; &quot;invert&quot;, something that inverts the colors of the underlying objects with a fixed value (the color of the current object wasn&#8217;t taken into account). This effect can easily be done on Flash 4+ with some simple use of masking and special coloring &#8211; real blending modes, on the other hand, can never be done on Flash, no matter how many tricks or additional images you use. Even so, I believe this is due to the fact that they were still developing the tool and the player and they will show real blending soon. After all, the video does show some familiar-sounding blending modes from an 8ball combo box.<\/p>\n<p><strong>Bitmap caching<\/strong><\/p>\n<p>There&#8217;s no such thing as a magical update that makes code run ultra fast or movies performance at lightspeed. There is, however, new concepts and tricks that can greatly improve performance on certain specific situations. The new bitmap caching feature is one of such tricks.<\/p>\n<p>In a nutshell, Flash Player 8 will have the ability to cache the contents of a MovieClip as a bitmap image &#8211; in real time, with no image at all, of course. By caching &#8211; or &quot;freezing&quot; its contents &#8211; it stops worrying about recalculating pixels inside of the MovieClip, so it can use its resources elsewhere. With this, you can create an ultra-complex MovieClip on your movie &#8211; as soon as it&#8217;s rendered and it doesn&#8217;t have to be redrawn, you don&#8217;t have to worry about what&#8217;s on top of your complex MovieClip. Since the MovieClip below is cached as an image, your movie will render as if it was just an static bitmap. I can think of a lot of situations from my daily work where it would have helped a lot, and I can&#8217;t wait to see that in action.<\/p>\n<table width=\"250\" border=\"0\" align=\"right\" cellpadding=\"6\" cellspacing=\"0\" bgcolor=\"#dddddd\">\n<tr>\n<td><img decoding=\"async\" loading=\"lazy\" src=\"\/blog\/i\/43_videoalpha.jpg\" width=\"250\" height=\"153\" border=\"1\"\/><\/td>\n<\/tr>\n<tr>\n<td align=\"center\"><em><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Flash movie below a video rendered with alpha masking support<\/font><\/em><\/td>\n<\/tr>\n<\/table>\n<p><strong>Alpha layers in movies<\/strong><\/p>\n<p>Flash will now support transparency in movies, allowing developers to create movies with alpha masks that can be superimposed to Flash content or event to other movies. This could be done before &#8211; if you had a transparent movie in, say, After Effects, you could export it to a sequence of PNGs and then import the image sequence on Flash and create a Flash movie oldschool style &#8211; but the results were far from ideal, giving the final movie size. With native video transparency support on Flash, Macromedia once again shows they&#8217;re committed to make Flash the #1 video solution for the web.<\/p>\n<p><strong>New bitmap pixel control<\/strong><\/p>\n<p>We don&#8217;t know much about it yet. However, with 8ball\/Flash 8, we will be able to control pixels in some way&#8230; maybe.<\/p>\n<p><strong>Editing changes<\/strong><\/p>\n<p>We will also be able to control gradients a bit more (like setting the position of the radius of a radial gradient in relation to its circle), add gradient to lines, set caps and joins of strokes (like on Illustrator or Freehand), toggle editing mode between the old Flash vector drawing mode and a new object mode (again, like Illustrator or Freehand) and so on. We don&#8217;t know much about that yet, although it has been shown or talked about a bit.<\/p>\n<p>While this may seem just a bunch of fancy additions for some &#8211; except for the performance improvement parts &#8211; the truth is, this will be a real breakthrough in Flash. Visually, it will probably be the biggest of all updates &#8211; the new effects, blending modes, and bitmap caching, all put together, will allow an infinite set of new tricks to be done. I can only begin to think about what guys like <a href=\"http:\/\/void.andre-michelle.com\/\">Andr&eacute; Michelle<\/a>, <a href=\"http:\/\/www.bit-101.com\/\">Keith Peters<\/a> and <a href=\"http:\/\/www.yugop.com\/\">Yugo Nakamura<\/a> will be able to do with this new version. Be afraid. Be very afraid.<\/p>\n<p>Read more about 8ball\/Maelstrom\/Flash 8\/Flash MX 2005\/Flash 8 Player:<\/p>\n<p><a href=\"http:\/\/www.markme.com\/md\/archives\/006797.cfm\">Mike Downey: Maelstrom demo at next week&#8217;s Los Angeles MM User Group meeting<\/a><\/p>\n<p><a href=\"http:\/\/www.moock.org\/blog\/archives\/000146.html\">Moockblog: nextgen flash player demo in tokyo<\/a><\/p>\n<p><a href=\"http:\/\/www.joshdura.com\/archives\/flash\/sneak_peeks_video_flash_8_authoring_preview_and_more.php#369\">Josh Dura: Sneak Peeks Video: Flash 8 Authoring Preview and more<\/a><\/p>\n<p><a href=\"http:\/\/www.markme.com\/flashteam\/archives\/006391.cfm\">Flashteam: 8ball and Maelstrom sneaks<\/a><\/p>\n<p><a href=\"http:\/\/www.peterjoel.com\/blog\/index.php?archive=2004_10_01_archive.xml#109866524254140805\">Peter Hall: Saffron font engine in 8Ball<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2005 is here, and this will be the year Macromedia releases the next version of Flash &#8211; Flash MX 2005 (codenamed &#8216;8ball&#8217;) &#8211; and the new Flash Player &#8211; Flash 8 (codenamed &#8216;Maelstrom&#8217;). As has been largely covered by the blogging media, 8ball\/Flash 8 will have some cool new features aimed at making designers happy. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/43"}],"collection":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=43"}],"version-history":[{"count":0,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/43\/revisions"}],"wp:attachment":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}