1180: Call to a possibly undefined method BlurFilter. in flex 4.5
-
01-07-2021 - |
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.
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