6 Replies Latest reply on Jul 28, 2009 11:06 AM by Zolotoj

    Flex screen rendering

    Zolotoj Level 3

      I have a question about Flex screen rendering.

      The following code will show some boxes on the screen:

                       for (var i:int=1;i<=lastItem;i++)
                       {
                            var currentItem:String = "boxitem";
                            currentItem = currentItem + String(i);
                            this[currentItem].visible = true;
                       }
      
                          validateDisplayList();
      

      after that code I am calling an external JS function:

      ExternalInterface.call("window.soundScanner");

       

      I dont see the screen being painted till the external function is executed.

      Not big of a deal. But I was thinking that I would see screen before my scanner beeps.

       

      Please help. Thanks