A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to Launch a PDF in Director?

  1. #1
    Sun Devil asun2art's Avatar
    Join Date
    Feb 2001
    Location
    Maui, Hawaii
    Posts
    572

    How to Launch a PDF in Director?

    Off topic. Couldn't find any Director forums. Does anyone knows where I can get an answer to this?

    I have a PDF file "movieline.PDF" inside a folder on the CD called PDFs I have a button on the Director stage. When clicked I want it to open a PDF file. How can this be done?

    This button code doesn't seem to work:

    on mouseUp me
    baOpenFile( the moviePath & "pdfs\movieline.pdf", "normal" )
    end mouseUp me


    what is the flash code? Maybe it's similar?

  2. #2
    Junior Member
    Join Date
    Jan 2008
    Posts
    6

    I use this script to open PDF files with a button on the stage

    I have all my PDF files located on the root of the CD rom, then on the stage i place any type of button, and when clicked it opens a browser window displaying the pdf...works great for me.

    on mouseDown me
    goToNetPage "OHS-2007StateStrategy.pdf"
    end


    Hope you find this helpfull
    Anthony

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center