• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Pop-Up Window

Add a button called password_btn to your movie.

// Pop-up Window
import mx.managers.PopUpManager;
import mx.containers.Window;

var buttonListener:Object = new Object();
buttonListener.click = function()
{
    var loginWindow = PopUpManager.createPopUp(_root, Window, true);
    loginWindow.setSize(240,210);
    loginWindow.title = "Change Password";
    loginWindow.contentPath = "password";
}

password_btn.addEventListener("click", buttonListener);


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint