4 Replies Latest reply on Mar 14, 2007 10:41 AM by romanczar

    Modal windows while changing viewstack.selectedindex

    romanczar Level 1
      Hi!
      I have a viewstack and on one view I push a button and call below function. The viewstack changes but the screen freezes without showing me my alert box.

      Using "proper" PopUpManager functionality and a custom component did not solve the problem. So how do you do it?

      I want to click a button, show an Alter or custom popup with further buttons which kan be either "ok" or "cancel". "ok" would trigger another funtcion, but does not have to.

      Any idea?

      public function doit():void {
      //Alert.show("Your changes have been saved","Success");
      pollContainer.selectedIndex = 0;
      }