topical media & game development
#graphic-flex-image-effects-02-Flex-BlurFilterTest.ax
#graphic-flex-image-effects-02-Flex-BlurFilterTest.ax
[swf]
[flash]
flex
package {
import flash.filters.BitmapFilterQuality;
import flash.filters.BlurFilter;
[SWF(width=550, height=400, backgroundColor=0xEEEEEE)]
Tests application of the BlurFilter to a rectangle shape.
public class @ax-graphic-flex-image-effects-02-Flex-BlurFilterTest extends graphic_flex_image_effects_02_Flex_BitmapFilterTest {
Applies bitmap filter to rectangle shape.
override protected function applyFilter():void {
var filter:BlurFilter = new BlurFilter(2, 150, BitmapFilterQuality.HIGH);
_shape.filters = [filter];
_shape.rotation = 45;
}
}
}
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.