2 Replies Latest reply on May 4, 2007 12:21 PM by Newsgroup_User

    WindowType

    Marksman_Ash
      I am following a tutorial from the web where the first line of code is . . .

      (the activeWindow).windowType = member ("test 1 bit mask")

      only WindowType does not seem to be recognised. I think the tutorial is for Director 6 or 7 and I'm using 10.1

      So I need to know if there is an alternative?
        • 1. Re: WindowType
          Level 7
          I believe your example is showing you how to create a mask for creating your
          own shape in an MIAW. You need to have a 1 bit bitmap in your cast with the
          name "test 1 bit mask" in the shape which you want your window to be.

          Craig



          --
          Craig Wollman
          Lingo Specialist
          Word of Mouth Productions
          212-928-9581

          www.wordofmouthpros.com
          "Marksman Ash" <webforumsuser@macromedia.com> wrote in message
          news:f1fhrn$49b$1@forums.macromedia.com...
          >I am following a tutorial from the web where the first line of code is . .
          >.
          >
          > (the activeWindow).windowType = member ("test 1 bit mask")
          >
          > only WindowType does not seem to be recognised. I think the tutorial is
          > for
          > Director 6 or 7 and I'm using 10.1
          >
          > So I need to know if there is an alternative?
          >


          • 2. Re: WindowType
            Level 7
            With Director MX2004 you now set the mask for a window using the Display
            Template tab of the Property Inspector.
            Under Appearance Options there is a Mask drop-down that will allow you
            to choose a bitmap, or you could use code to do this:
            --
            on prepareMovie
            _player.activeWindow.appearanceOptions.mask = member("test 1 bit mask")
            end