win = window().new("New Window") w = 320 h = 240 firstScreen = _system.deskTopRectList[1] x = firstScreen.width/2 - w/2 y = firstScreen.height/2- h/2 win.rect = rect(x,y,x+w,y+h) -- Director needs a binary movie file (*.dir) for opening new windows. But this -- movie file can be totally empty, and if it's write protected in the filesystem, -- it can be re-used for multiple windows. win.filename = _movie.path & "empty.dir" win.open()