A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: button action for word and pdf doc

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    10
    Hello,
    I was wondering if anyone can tell me the actions to put on two separate buttons. One that gets a word doc and the other that gets a pdf. I tried getURL, but it wouldn't open the word doc. (Also, I couldn't figure out the extension on the word doc.)
    Thank you!!

  2. #2
    We Hate Ars*nal
    Join Date
    Mar 2001
    Location
    North London!
    Posts
    439
    get url will work for pdf, and the extension for Word Document is just .doc, but I can't test to see if it works coz i don't have word on my pc..

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Posts
    10
    Hi, thanks for answering. I tried with the pdf and it won't open. Here's the code I put on the button:

    on (release) {
    getURL ("resumeFuncChron.pdf", "_blank");
    }

    Both the fla and this pdf are in the same directory. I tried dropping the file into the browser and it'll open up after opening up acorbat. Hmmm...any suggestions?

    Thanks.

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