I have a custom component that works pretty well. When I change the dataProvider while the application is running it gets slower and slower. The more I change it the worse it gets.
In my updateDisplayList I call graphics.clear(); . Do i need to override the dataprovider function and call graphics.clear(); there? If so could someone show me how? I also call invalidateDisplayList on my component(s) from my main application. Im guessing this is bad practice and it should be called some where inside (perhaps when I set the dataprovider?) If not, what do you think is wrong?
