A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Creating a Link for a Photo or Text!

  1. #1

    Creating a Link for a Photo or Text!

    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??
    Last edited by pushplay; 12-12-2005 at 09:27 PM.

  2. #2
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    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");
    }
    Any programming language is at its best before it is implemented and used.

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