3 Replies Latest reply on Sep 5, 2009 10:34 PM by ^^GOUST^^

    create titleWindow  inside a canvas

    ^^GOUST^^ Level 1

      doubt as to create a titleWindow a component canvas

       


      the code to create out I already have

       

      private function newTitleWindow(window:Class):void
                  {
                        var desktop:TitleWindow = new TitleWindow();
                      desktop= PopUpManager.createPopUp(this, window, false) as TitleWindow;
                      PopUpManager.centerPopUp(desktop);
                  }

       

      now I do not know how to put it within the space limitations of the canvas

       

      help me