2 Replies Latest reply on Jun 18, 2007 5:11 AM by Newsgroup_User

    updateStage - command

    Level 7
      Hi,

      i try to find a way to manually update/refresh/render of the stage.

      I believe that Flash has a command like this. Something like
      updateStage().

      But I can not find a simelar command in flex.


      I have an Script like this:
      =================================
      myPleaseWaitMovieClip.visible = true;
      while(x<100000){
      // needs 5 seconds
      }
      myPleaseWaitMovieClip.visible = false;
      ===================================


      Now i search something like updateStage();
      =================================
      myPleaseWaitMovieClip.visible = true;
      updateStage();
      while(x<100000){
      // needs 5 seconds
      }
      updateStage();
      myPleaseWaitMovieClip.visible = false;
      ===================================


      Thanks

      Jan