0 Replies Latest reply on Sep 5, 2007 5:01 PM by slaingod

    show event not firing when creating a component with AS

    slaingod Level 1
      I'm not seeing the show event being fired when I create a view programatically:
      if(!welcome_view) {
      welcome_view = new views.Welcome;
      welcome_view.visible = false;
      this.addChild(welcome_view);
      }
      welcome_view.visible = true;

      Any ideas? I'm trying to avoid creating all my views at once as it lags performance.