ConvolutionFilter Demo : ConvolutionFilter : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » ConvolutionFilter »

 

ConvolutionFilter Demo


 
package{
  import flash.display.Sprite;
  import flash.filters.*;
  public class Main extends Sprite{
    public function Main(){
        var box:Sprite = new Sprite(  );
        box.graphics.lineStyle(  );
        box.graphics.beginFill(0xFFFFFF);
        box.graphics.drawRect(00100100);
        box.graphics.endFill(  );
        var boxShadow:Sprite = new Sprite(  );
        boxShadow.graphics.lineStyle(  );
        boxShadow.graphics.beginFill(0xFFFFFF);
        boxShadow.graphics.drawRect(00100100);
        boxShadow.graphics.endFill(  );
        addChild(boxShadow);
        addChild(box);
        box.filters = [new GlowFilter(  )];
        boxShadow.filters = [new ConvolutionFilter(33[000010000])];
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Graphics
» ConvolutionFilter


Warning: Unknown: open(/var/lib/php/session/sess_gvt9dup5rntdatsq7lisej0ju7, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0