1 Reply Latest reply on Jun 4, 2007 6:13 PM by Newsgroup_User

    Getting Relative Mouse Loc Without Tell

    McFazstp Level 1
      If the tell command is obsolete, is there a way to get the mouse loc in a window from the stage without it?

      ie.
      Can this be updated?
      tell window( "some window" ) to set win_mouseLoc = ( _mouse.mouseLoc )
        • 1. Re: Getting Relative Mouse Loc Without Tell
          Level 7
          > If the tell command is obsolete..
          And if it isn't?
          Seems that 'obsolete' in this case probably means 'we'd rather you use the
          new syntax'.. that was never included in the release.. And so, the tell
          command is obsolete in the docs only.
          Thankfully, unlike with timer objects (what were they thinking????), the
          tell command seems to be working on 2004, as it used to in previous
          versions.
          Lets hope that killing the tell command won't be a 'hot new feature' of the
          next release.

          tell (the windowList)[2] to put the mouseLoc


          "McFazstp" <webforumsuser@macromedia.com> wrote in message
          news:f41pop$67p$1@forums.macromedia.com...
          > If the tell command is obsolete, is there a way to get the mouse loc in a
          > window from the stage without it?
          >
          > ie.
          > Can this be updated?
          > tell window( "some window" ) to set win_mouseLoc = ( _mouse.mouseLoc )
          >
          >