PDA

View Full Version : Need to create special URL link Button in Flash


Rabbits
10-11-04, 03:44 AM
I am trying to find a way to be able to allow my website vistors to be able to download content from a Flash webpage. Right now, all my download pages are in HTML becuase the links (when clicked on) will give the option to download the files to their computers (Save Target As...) & ('Open or Save File' Dialogue Box). But I would much rather have all my pages 'Flash Pages'.

There must be some sort of Actionscript or something that, when attached to a 'Button Object' in a flash file, will enable the 'Download File' Dialogue Box to appear when a visitor clicks on the button link - giving them the option to 'Open or Save file'. Does anyone now how to do this? Any help is very much appreciated. Thank you.

BerksWebGuy
10-11-04, 09:35 AM
Just make it a URL, like you would on a webpage.

On release, get URL.

Rabbits
10-11-04, 03:41 PM
Thanks for the response, but that's not quite what I ment. Using getURL on a file works for linking to the file, yes... But when it is clicked on by a vistor the browser only wants to open the file... I want to be able to give the visitor the option to 'Open or Save' the file. Does anyone know how to make it so a browser will prompt the visitor with the 'File Download Dialogue Box' or enable 'Save Target As...' when link is right clicked?

Rabbits
10-11-04, 05:15 PM
Sorry BerkWebGuy,

You are right... I just tried creating a link once agian to an .EXE file I have and it gave me the 'Open or Save Dialogue box' when trying to download. I must have messed up before.

However, it still doesn't seem to work with my video files... When I chick on their links in a browser it automatically plays the video file without giving the option to save it. Any suggestions on that?

Thanks again!