2 Replies Latest reply on Jun 21, 2007 4:50 AM by Ratnabharati

    How do I use lingo script in director to open a pdf

    anders2
      I am trying to create a button that, when pressed, will open a pdf file. I have scripted the button as follows

      on mouse up me
      open "flyer.pdf"
      end

      I have the flyer.pdf file in the root folder, but when I publish the movie and try to test it, on a mac using OS X, it trys to open clasic (I want it to open in OS X or higher), and on a PC, it does nothing. One thing I noticed is that when the CD is put into a PC, it drops the .pdf extention. What am I doing wrong? How can I get this file to open on both a PC and a mac? If it is something simple, can you write me a script that I can copy a paste that will work? Thanks so much.

      Andy