I have an old code of using glowfilter & would like to upgrade it to the latest version but, I am facing performance issues(draw counts > 100)
old code
some_Img.filter = BlurFilter.createGlow(0x9900FF, 3);
new code
some_Img.filter = new GlowFilter(0x9900FF,1, 3);
I also remember using cache in the old code, but its not helping to bring the draw counts down.
if (some_Img.filter != null) {
some_Img.filter.cache();
}
Can someone help and tell me what am I missing or doing it wrong!