Carving a cutout (a circle or ellipse) out of a large dark shadow: once a sub-shape cache has been built, bitmap channel subtraction is cheaper than drawing a Shape with blend mode ERASE — but building that cache is costly, and the cost scales with the area of the region. So the two approaches each fit different cases. For large-area cutouts like drawing the border of a sphere of influence, blend-mode draw is probably the better choice.
Related Posts
ActionScript for Multiplayer Games and Virtual Worlds[Download]ActionScript for Multiplayer Games and Virtual Worlds Book Overview
The demand for multiplayer games and virtual worl...Passing parameters to addEventListener event listenersIn AS3, an addEventListener listener automatically passes an event object argument to the handler function, but it ca...Adobe AIR 1.5 Cookbook!The Adobe AIR 1.5 Cookbook is out.
In addition to AIR 1.5 being released today, the Adobe AIR 1.5 Cookbook is also b...Sharing Practical Code for Minimizing an AIR App to the System Tray (Windows)Fanfou 1.7 released, sharing part of the code for the newly added minimize-to-system-tray feature:2011.3.27 Tiandixing Beijing StopLatest Events2011 RIA Tian Di Xing Beijing City Elite Forum
Event Time: 2011.3.27
Registration Period: 2011.3.7-2011....
Join the discussion