0

I am trying to apply filter to BitmapData, but one error is 1180: Call to a possibly undefined method BlurFilter.

this is my code:-

bmpData.applyFilter(bmpData,cropRect,new Point(),new BlurFilter( 10, 10, 1 ));

i am using flash.filters any one help thanks.

Rajkamal
  • 425
  • 1
  • 7
  • 19

1 Answers1

0

Most likely you have forgotten to import the package into your project:

import flash.filters.BlurFilter;

Check it again, please.

Vesper
  • 18,599
  • 6
  • 39
  • 61