3 Replies Latest reply on Aug 21, 2006 1:25 PM by MAJeff

    Need 2 options; one for fullscreen and other for window

      I have an application that needs to run fullscreen if the monitor's resolution is set to 1024x768, and in a standard window if the resolution is any larger. For the fullscreen mode, it needs to take up the entire 1024x768 space - so the taskbar needs to go. The problem I'm having is that when I enter fullscreen mode, the movie won't take over the entire screen, it leaves a space at the bottom eventhough I've hidden the taskbar.

      What I need is for it to function just as it would if I selected "fullscreen" from the publisher settings. Any idea? Here's the code I'm using now:

      if baScreenInfo("width") = 1024 then
      displayType = "fullscreen"

      _movie.displayTemplate.titlebarOptions.visible = false
      _movie.displayTemplate.resizable = false

      _movie.stage.drawRect = rect(0, 0, 1024, 768)
      _movie.stage.rect = rect(0, 0, 1024, 768)
      displayType = "window"
      _movie.displayTemplate.titlebarOptions.visible = true
      _movie.displayTemplate.resizable = true
      end if