A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: how do I link a button to a pdf?

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    4

    how do I link a button to a pdf?

    I have created a basic website with flash. What actionscript do I use to make the button link to a pdf?

  2. #2
    foo to you foo2's Avatar
    Join Date
    Nov 2006
    Location
    Germany,Europe
    Posts
    180
    PHP Code:
    yourButton.onPress = function() {
        
    getURL("http://www.yoursite.de/yourPdf.pdf""_blank");
    }; 
    Sorry for my bad english. Feel free to correct my mistakes

  3. #3
    Junior Member
    Join Date
    Jan 2007
    Location
    S.Miguel (Azorean Islands)
    Posts
    3
    Quote Originally Posted by foo2
    PHP Code:
    yourButton.onPress = function() {
        
    getURL("http://www.yoursite.de/yourPdf.pdf""_blank");
    }; 
    Is that a php code or a actionscript code?
    looks like an actionscript code bro

  4. #4
    foo to you foo2's Avatar
    Join Date
    Nov 2006
    Location
    Germany,Europe
    Posts
    180
    Yes, it's actionscript. Why?
    Sorry for my bad english. Feel free to correct my mistakes

  5. #5
    Junior Member
    Join Date
    Oct 2006
    Posts
    2
    hi,
    is it possible to make Acrobat Reader open the pdf file instead of web browser?

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