1 Reply Latest reply on Mar 4, 2010 3:37 PM by Sean_Wilson

    Open not working as expected

    Dignified_Dude Level 1

      Why does this code work in the Director development environment but not from a projector on the root of a DVD on windows OS? I get no response when the user clicks it, however it works fine in Director when I test the movie. Note: The same code with "Finder.app" opens Macintosh's file browser on a Macintosh from a projector.

       

       

      on mouseUp(me)

      open the moviePath with "Explorer.exe"

      end mouseUp

        • 1. Re: Open not working as expected
          Sean_Wilson Adobe Community Professional
          Why does this code work in the Director development environment but not from a projector on the root of a DVD on windows OS?

          Because Director's 'open()' command is known to be flaky - as you've just discovered. You are supposed to supply full paths to both the file to open and the associated application. This is why the use of Buddy API is advised instead - it will return you an error code that you can use to determine what went wrong in the case of failure.