;

PDA

Click to See Complete Forum and Search --> : Creating a Link for a Photo or Text!


pushplay
12-12-2005, 08:48 PM
How do you make a link to a file. Like say for instance if I had a pdf file or a file created from word and I wanted to create a link from a photo or text!

I know how to link to a swf movie, a webpage, and a email! But I want to link to a file, what actionscript should I use! Any suggestions??

tmoore935
12-12-2005, 10:51 PM
Just put the name of the file in the link. The user will be asked to download it if they approve.
below is a real example that if you make a button in koolmoves it will ask you if you want to download an exe as a file download warning. The same for a document or pdf.

on (release) {
getURL("http://www.diversioncentral.com/games/techclub1.exe");
}