dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Downloadable files from Flash?

  1. #1
    Member
    Join Date
    Sep 2000
    Posts
    60
    I would like to add a button to the C.V. section of my site that will automatically download either a Word or Simpletext file to the users desktop depending on which icon they choose. What script do I need to attach to the button? I take it it's a Get URL and the directory path to the necessary files on the server. Could someone who has managed to get it working on their site please tell me how to do it! An example can be found at http://www.tomnulens.be/

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    243
    Simple.

    Flash 4
    On (Release, Key: 4)
    Get URL ("http://WWW.SITENAME.com/folder/filename.ext")
    End On

    or

    On (Release, Key: 4)
    Get URL ("/folder/filename.ext")
    End On


    Flash 5
    on (release, keyPress "0")
    {getURL ("http://WWW.SITENAME.com/folder/filename.ext");
    }



  3. #3
    Member
    Join Date
    Sep 2000
    Posts
    60
    That's great thank's a lot!

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