A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Download Image Button Action? Please Help!

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    26
    Greetings Flash Denizens,

    I am working with Flash 4.
    I want the user to be able to download wallpaper images. I have two buttons 800x600 and 1024x768.

    What actions do I use to call the download dialogue box?

    I work with PC my images are jpegs. If Mac users download these jpegs will they be able able to see them alright?

    Please advise me or point me to the appropriate tutorials.

    Thank you
    max crisp

  2. #2
    Firmly Fastened to the Milk Sac of Misanthropy
    Join Date
    Aug 2000
    Posts
    463
    On the button, place this AS:

    on (release) {
    getURL ("http://www.yourdomain.com/folder/filename.jpg");
    }

    Yep, it's that easy.

    Sem.

  3. #3
    Junior Member
    Join Date
    Mar 2001
    Posts
    26
    Well thank you Sem.

    I will try this. I supposed there is no way of testing this until I upload it, right? I leave the WINDOW box empty no 'Blank' or anything?

    I did not think it was so simple.

    cheers
    max

  4. #4
    Firmly Fastened to the Milk Sac of Misanthropy
    Join Date
    Aug 2000
    Posts
    463
    Oops, I was wrong. Apparently the browser will process a jpeg without offering the save box. You may have to compress it into a zip file. I'm positive that will work...

    Sorry if this didn't help.

    Richard.

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