Flash® 8 - flash.filters.BlurFilter Explorer
This example uses flash.filters.BlurFilter to decorate the IFBIN logo. The example exposes all of the properties of the BlurFilter class using V2 components. This is one of the Filter Explorers included with Flash® By Example.
Understanding the properties of the filter classes is essential in creating dynamic effects. Although these can be set as properties within the Flash® IDE, using them with ActionScript exposes the full potential of filters at runtime. Although this is a good example of filters, it is also worth a look from a components perspective. The BlurFilter is only updated when valid events are broadcast allowing player performance to remain very high. Guy Watson, pointed out to me that cacheAsBitmap property is automatically set to true when a filter is applied. After the filter has rendered, the player does not continue to do additional work unless the filter array is set again.
This example is available with full source and documentation within Flash® by Example.
More to come.
Ted :)
0 Comments:
Post a Comment
<< Home