0 Replies Latest reply on Jul 7, 2010 8:24 PM by kolban1

    Removal of flicker with loaded modules

    kolban1 Level 1

      I have a framework that hosts dynamically loaded Flex modules.  Imagine that I dynamically load a module and then add that module is an element to an existing spark container.  Prior to adding the loaded module (cast to an IVisualElement) to the container, I remove all children from the container.  Later on, I repeat this process to load a different dynamically loaded module.

       

      What I am finding is that when I hit the load button, there is a noticable flicker as the container first has its elements removed and then immediately has a new element added.

       

      Is there any way to avoid/remove this flicker?  Can I ask Flex to double buffer the drawing?

       

      Neil