Question

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.

Was it helpful?

Solution

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

import flash.filters.BlurFilter;

Check it again, please.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top