6 Replies Latest reply on Feb 6, 2007 9:50 AM by Newsgroup_User

    the stage or window

    Level 7
      Pardon my brain fade but how can I determine if the movie I'm working in is
      in a window or if it's the stage?



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

      www.wordofmouthpros.com


        • 1. Re: the stage or window
          duckets Level 1
          Could you check its position in the windowList? I think in Dir MX 04, the stage is always the first item in the windowlist. Maybe you could use 'getPos' to do this.

          - ben
          • 2. Re: the stage or window
            Level 7
            You can use the activeWindow property to find out which window is, well,
            active.

            put the activeWindow
            -- (window "stage")
            • 3. Re: the stage or window
              Level 7
              Thanks Mike.

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

              www.wordofmouthpros.com
              "Mike Blaustein" <mblaustein@gmail.com> wrote in message
              news:eqa434$rt0$1@forums.macromedia.com...
              > You can use the activeWindow property to find out which window is, well,
              > active.
              >
              > put the activeWindow
              > -- (window "stage")


              • 4. Re: the stage or window
                Level 7
                The windowList is empty if no MIAW's are open so the stage is not in the
                windowList

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

                www.wordofmouthpros.com
                "duckets" <webforumsuser@macromedia.com> wrote in message
                news:eqa3u0$rr4$1@forums.macromedia.com...
                > Could you check its position in the windowList? I think in Dir MX 04, the
                > stage is always the first item in the windowlist. Maybe you could use
                > 'getPos' to do this.
                >
                > - ben
                >


                • 5. the stage or window
                  duckets Level 1
                  quote:

                  Originally posted by: Newsgroup User
                  The windowList is empty if no MIAW's are open so the stage is not in the
                  windowList



                  This is true for earlier versions of director, but for Dir MX 04, the stage is the first item in the windowList. That is, unless you've opened a project authored in an earlier version in MX 04, in which case Director automatically preserves the old behaviour of omitting the stage from the windowlist, so as not to break your project!

                  - Ben


                  • 6. Re: the stage or window
                    Level 7
                    Thanks. I have yet to embrase 2004 because it takes about 2 x longer to
                    open and I have yet to work on a project that required any of the couple of
                    new features.

                    Regards,

                    Dinosaur

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

                    www.wordofmouthpros.com
                    "duckets" <webforumsuser@macromedia.com> wrote in message
                    news:eqaf0m$c3a$1@forums.macromedia.com...
                    >
                    quote:

                    Originally posted by: Newsgroup User
                    > The windowList is empty if no MIAW's are open so the stage is not in the
                    > windowList
                    >

                    >
                    > This is true for earlier versions of director, but for Dir MX 04, the
                    > stage is
                    > the first item in the windowList. (unless you've opened a project authored
                    > in
                    > an earlier version in MX 04, in which case director automatically sticks
                    > with
                    > the old behaviour of omitting the stage from the windowlist).
                    >
                    > - Ben
                    >
                    >
                    >
                    >