8 Replies Latest reply on Oct 21, 2008 7:22 PM by Production Monkey

    MIAW Menu BAR

    sarah louise water Level 1
      Hi

      Can anyone please help - I cannot get rid of the title bar of an miaw - I have tried using "titleVisible" within the script, I have also set the properties in the movie of the miaw to not display the minimise, close and maximise buttons.

      Kind Regards
      S Waterfield
        • 1. Re: MIAW Menu BAR
          robdillon Most Valuable Participant
          In the Display Options tab of the Property Inspector window, you should see 4 options for the Titlebar. Turn them all off.
          • 2. Re: MIAW Menu BAR
            sarah louise water Level 1

            Hi I did that I also tried with code -

            on OPENEX

            gEX = window().new("L1T1EX.dir")
            gEX.open()


            window("L1T1EX.dir").titlebarOptions.maximizebox = false
            window("L1T1EX.dir").titlebarOptions.minimizebox = false
            window("L1T1EX.dir").titlebarOptions.closebox = false
            END

            kind regards
            • 3. Re: MIAW Menu BAR
              Level 7
              > on OPENEX
              >
              > gEX = window().new("L1T1EX.dir")
              > gEX.open()
              >
              >
              > window("L1T1EX.dir").titlebarOptions.maximizebox = false
              > window("L1T1EX.dir").titlebarOptions.minimizebox = false
              > window("L1T1EX.dir").titlebarOptions.closebox = false

              For some reason you missed the one that will hide the titlebar altogether:
              windowRef.titlebarOptions.visible = FALSE
              Having hidden the titlebar you don't need to bother with
              close/maximise/minimise buttons as they aren't visible, and you might
              want to set this /before/ opening your MIAW.

              on mOpenWindow
              gEX = window().new("example")
              gEX.filename = "@/L1T1EX"
              gEX.titlebarOptions.visible = FALSE
              gEX.open()
              end
              • 4. Re: MIAW Menu BAR
                sarah louise water Level 1
                HI
                Many Thanks

                I tried your script, but it still displays the title bar.

                Heres what I used -

                on mOpenWindow
                gEX = window().new("example")
                gEX.filename = "@/L1T1EX"
                gEX.titlebarOptions.visible = FALSE
                gEX.open()
                end

                I am at a loss????

                Many Thanks

                • 5. Re: MIAW Menu BAR
                  Level 7
                  > I am at a loss????

                  Try opening the file you use as a MIAW ("L1T1EX.dir") and uncheck the
                  'visible' box under Titlebar Options on the Display Template tab of the
                  Property Inspector - though Rob already suggested this.
                  • 6. Re: MIAW Menu BAR
                    Production Monkey Level 3
                    The Title Bar is always present in Authoring mode. Try creating an executable.
                    • 7. Re: MIAW Menu BAR
                      sarah louise water Level 1
                      Hi

                      Many thanks for everyones help.

                      Yes the miaw in publish mode worked - however, the sprite was no longer draggable and it messed up my scripts as I have user tracking and linking movies with a database.

                      This is really frustrating as all I needed was a dragable sprite with a follow sprite on top that comes outside the stage.
                      • 8. Re: MIAW Menu BAR
                        Production Monkey Level 3
                        "...the sprite was no longer draggable ..."

                        Do you mean the MIAW is no longer draggable? If so, then set the drag mask under the Display Template tab in the property inspector.

                        From Director's help:

                        Drag Mask lets you use a bitmap cast member as a mask to determine which areas of the window a user can click on to move the window. You can use this to create your own custom nonrectangular title bars or to make the entire window draggable if you wish.