i am not sure what you are asking, but any way
the following link will help you
Setstyles[
^]
use the double buffer option it will reduce the flickering,
but again it is purely depend on your code, i am just give a suggestion based on your question