1 Reply Latest reply on Apr 18, 2007 7:43 AM by jdzemmer

    Projector problems

    jdzemmer
      When I am testing my director project it opens the PDF just fine. But when I create a projector the button will not open the PDF.

      Here is the code I am using?

      on mouseWithin me
      sprite(32).visible = TRUE
      end

      on mouseLeave me
      sprite(32).visible = FALSE
      end

      on mouseUp me
      sprite(32).visible = FALSE
      open the moviePath & "test_timeline.pdf" with the moviePath & "Preview"
      end

      Any suggestions?

      Thanks

      zem

        • 1. Re: Projector problems
          jdzemmer Level 1
          Gosh I'm such an idoit.

          To solve my problem I used BuddyAPI with the following script. I still don't know why I couldn't get the open command to work, but Buddy API solved my problem.

          on mouseUp me
          sprite(32).visible = FALSE
          -- opens specified file.
          -- Note you must embed budyapi extra in your projector
          -- Go to the menu bar MODIFY--Moivie--Xtras and choose add then select BuddyAPI
          baOpenFile(the moviePath&"test_timeline.pdf", "Normal")
          end