all groups > macromedia flash sitedesign > september 2007 >
You're in the

macromedia flash sitedesign

group:

how to attach pdf file?


how to attach pdf file? meesh meesh
9/19/2007 5:35:36 AM
macromedia flash sitedesign:
Hi all,

Just wondering if anyone knows how to create a button action that will open a pdf file in a separate window?

Re: how to attach pdf file? GAMBRKER
9/19/2007 4:10:03 PM
You can actually use this actionscript for any url (.html,.pdf,.jpg,etc.).
Just add this to your button:

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

The quotes contain the URL you are wanted to hit. If your pdf is in the root
folder, leave the location as is. If it is elsewhere, for example, you would
need to put "http://www.thiswebsite.com/folder/anotherdocument.pdf" The
"_blank" is telling the event to load in a new (blank) window.

GAMBRKER

Re: how to attach pdf file? meesh meesh
9/19/2007 10:16:10 PM
Re: how to attach pdf file? maxinak
9/20/2007 4:01:55 AM
hi,
AddThis Social Bookmark Button