Download File
hi,
i like to know is it possible to include a button to download file directly, so when user click on the button, the "save file" pop-up will show.
many thanks
Lawrence
FlashKit > Flash Help > Flash ActionScript
Posted on: 07-13-2005, 12:16 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Open File After Download OnComplete (File.reference)
I would like to be able to open a file after it downloads using File.reference. Has anybody done this? I know when I download files from other sites I am prompted to either save or to open, I would like to be able to do this.
Any thoughts?
Thanks!
John
Download File
I have a projector file I have made that I want people to be able to down load from my web site any ideas. have posted this in standalone and no responses from there so hope some action wizard will be able to help me out.
Download File
I have a wallpaper section in my flash website. Instead of the user clicking on it to enlarge. Is it possible for them to click on the link and the download process begins? I appreciate any help.
Vince
Download A File ?
If my files look like this:
page.html
page.swf
application.exe
What code do I have to apply to a button in the Flash movie (page.swf) so that when a user clicks the button, the application.exe file is downloaded ?
Thanks.
Download File?
My portfolio is done in Flash and i need to have a button that allows a click for downloading an 3D animation.
question: what is the code that allows files to be downloaded?
How To Download A File...
Hi there,
I want to download an mp3 file when someone press one of the buttons on my webpage, how do I do that?, I mean, what code do I have to write on the "on(press)" action of the button?
thank you very much, in advance...
Download Zip File
Greetings
i have a button, when clicked the user should be able to download a zip file with the documents enclosed.
what code goes under the button?
on release {?????};
Download File
How can I make an option available, by clicking a button, to download an .mp3? This can be done using windows media player or quicktime or something in html...can it be done it flash, and how?
Thanks
Mp3 File Download
hi i got a couple of (legal !) mp3s which i want to offer for download in a swf
is there a possibility in flash or thru javascript in flash to force a file to open
dialog box "save as.."
because when i only add the link to the mp3 it is temporarily downloaded to play in the users default player, which i dont want.
thanx for any suggestions
cheers jakob
How To Download A File?
Hi there,
Can somebody please tell me the script that enables the user to download a file?
I think I need to use getURL, but I don't know the proper scripting?
The web site is hosted on my local hard drive and the file is in the same location as the swf.
C:InetpubwwwrootWeb
Thanks
Jonnie
Download A File
Hy all together!
One "hot" question to all of you: Ok i have a button and on release i want to download an external file(zip or mp3) to harddisk but it doesn't work????Why?
gmiadlicha - sense.mp3 is the file and i want to download on harddisk, not opening in browser.
What is the problem?
greetings mario
Download File
hi,
I like to include a link to download a file, so that when the user click, the "save file" pop-up will appear.
I'm trying to let user download a JPG file, but instead of opening a new broswer window, I let them save it straight away.
many thanks
Lawrence
File Download
I would like to create a button that will download an mpeg file to the end users computer. I don't want to play the file, I just want it to download to their computer. Help will be met with MUCHO appreciation.
File Download
I need help trying to download a file using flash.
I have tried using this:
[code]var request:URLRequest = new URLRequest("index.xml");
var fileRef:FileReference = new FileReference();
fileRef.download(request);/CODE]
But when the window comes up to save the file to you hard drive and I click save it saves nothing. The File is on the server and it is pointed to the right file. It just won't save anything.
Is there a different way to do this? Or should I use XML and flash? What is the easiest way to do this?
Thanks,
Tony
How Can I Download A File?
Hello, I am designing a website that i would like to add some download links, how can i make the "save as" through the flash site??
Please help.
Thanks in advance.
Download A File In AS3
Hi guys,
I'm trying to do a very simple thing. To create a button that when pressed, a file is downloaded, a zip file for example. How do I do this in AS3??
I'm building an application using AIR, so I must use AS3... Browsers won't be used.
Thank you very much
Kin
Please Help Me Regarding File Download
hello
please help me out...
I have to develop an application that will download afolder from the server to the client and I am not able to even download a file please help me out and tell how to first download afile and then the folder itself.....I am using red5 as server
thank you in advance
Please Help Me Regarding File Download
hello
please help me out...
I have to develop an application that will download afolder from the server to the client and I am not able to even download a file please help me out and tell how to first download afile and then the folder itself.....I am using red5 as server
thank you in advance
Please Help Me Regarding File Download
hello
please help me out...
I have to develop an application that will download afolder from the server to the client and I am not able to even download a file please help me out and tell how to first download afile and then the folder itself.....I am using red5 as server
thank you in advance
File Download
I'm trying to download a zip file through Flash via a php file using this code:
FLASH:
getURL("download.php?filename=TheFileName.zip");
PHP:
<?php
// download.php
$file = $_GET['filename'];
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=$file");
readfile($file);
?>
Trouble is when I run Flash, the dialog box for the download just picks up the php file and not the zip file. I have searched all forums for the answer to this problem without success but have found numerous examples using the above code so I just can't see what I am doing wrong.
Thanks for your help.
Download A File
can anyone give me the actionscript 2 code to enable the user to download a pdf from my site? thanks.
How To Download A Swf File
Hi good evening, I'm new here. Can I download a swf file to put it on my own Web site? If so how can I download it?
Thanks for your help!
How To Download Doc File?
I'm a newbie in flash so start using flash 5 first. Can someone tell me how can I hyperlink a button so that it can download a doc file?? Really urgent.
Download File
I have a link that when you click it I want to download a .MOV file. But the standard getURL function just plays it in the same/new window. Is there a particular javascript or something I can do?
Download File
Hi everyone,
I have a question. How do i get flash to "download" a file. I would like a button to link to a zip file. Upon clicking the button the zip file loads to my desktop how do i do that. Its the same effect one sees when a person downloads a screensaver onto the desktop. How is this done? Help!
Eclaire
Download File Help
what do i need to do if i want users to be able to download files directly from a flash site.
like a bands mp3s
any help would mean alot
x
Download A File In AS3
Hi guys,
I'm trying to do a very simple thing. To create a button that when pressed, a file is downloaded, a zip file for example. How do I do this in AS3??
I'm building an application using AIR, so I must use AS3... Browsers won't be used.
Thank you very much
Kin
Air Download File
Is there wa way to use AS3 in Air to download a file or a series of files from a server without a prompt? I understand the inherint risk down download without prompt, but in an air application it should be able to, right?
I can download with prompt using
flash.net.FileReference
Is there an alternative way?
Download File
Hi,
I am making a site for a client.
They want to be able to upload videos and also have the viewer be able to download the video.
But...they want to be able to add the videos / files to download themselves.
I was going to use an xml video player component, so I figure it will be fairly easy for the client to add or take away videos.
But I'm not sure how to set it up so that the client can add a link that will automatically download a file?
Any ideas?
Download File
I have a link that when you click it I want to download a .MOV file. But the standard getURL function just plays it in the same/new window. Is there a particular javascript or something I can do?
How To Download File Off Cd?
I'm making an Multimedia CD that allows users to browse throu over 1000 stock music tracks.
I need them to be able to download the mp3 from the cd, or have the CD open an explorerwindow to the appropriate directory on the CD
getURL doesn't work
I also have mdm's Zinc, but am unsure what mdm script commands that will allow me to do it.
Please Please Help.
Jake
Download File...
I'm making my site, and there's a zone where u can download any file, but i dont know how to do it using flash. (there's no "SAVE FILE AS"). Please help me.
choviquez@msn.com
Thank's...
How To Download A File....
plain and simple... i have a website, with a button that once the user clicks i would like it to open a .txt file in a new window... how can this be done..
all help is greatly appreciated..
thank you.
Download A File ?
If my files look like this:
page.html
page.swf
application.exe
What code do I have to apply to a button in the Flash movie (page.swf) so that when a user clicks the button, the application.exe file is downloaded ?
Thanks.
How Do I Create A File Download?
hi everyone!!!
i need to create a file downloads to allow people to get files from my site from the buttons i´ve made. i´ve tried with the "get URL" command but it doesn´t work.
can anyone tell me the right commands???
thanxx.... :-)
Download A Zip-file From My Page
Hi everybody,
almost a quite easy question for you to answer I guess:
how can I let the user of my page download a zipped file from my flash-site.
I want to offer a certain song, that I have zipped. Now the user should be able to download that file from a certain point of my site.
How do I do this?
Thanx in advance
Easy One How To Download A File With AS
Hi all,
this must be really easy, but I can't make it work.
What's the code I should use in Flash5 to download a file?
I've tried with getURL, but it attempts to open a new site which of course doesn't work...
Ta
Corrupt FLA Zip File Download In FK....can Someone Help Me?
Does anybody have the FLA that comes with this tutorial?
http://www.flashkit.com/tutorials/Sp...51/index.shtml
I was able to download the zip file but the zip that contained the FLA was corrupt. If anybody has this FLA, could you email it to me or tell me where to download an "uncorrupt" one? My address is:
drumdesigner2001@hotmail.com
I really wanted to look at the FLA!!! Thanks in Advance!
Corrupt FLA Zip File Download In FK...can Anyone Help Me?
Does anybody have the FLA that comes with this tutorial?
http://www.flashkit.com/tutorials/Sp...51/index.shtml
I was able to download the zip file but the zip that contained the FLA was corrupt. If anybody has this FLA, could you email it to me or tell me where to download an "uncorrupt" one? My address is:
drumdesigner2001@hotmail.com
I really wanted to look at the FLA!!! Thanks in Advance!
Swf File In Netscape And It Wants To Download
Newbie question here.
I just created a html file use frames, in my frames I point to a swf file to play my Flash item. While testing in different browsers, it works fine in IE, but when I view it in Netscape 4.7 and 6.1, I get an window that states "You have chosen to download a file of the: "Flash Player Movie" [application/x-shockwave-flash] from..." It then gives me the option to "open using ShockwaveFlash" or to "Save to Disk". I chose open and it plays my file in a Flash player window.
Is there any additional html code that I can add to my file to be sure that it plays fine in both browsers?
It works fine when I point to the html code that was created when I published my file, as my source file for my frame. The only problem here is that it does not scale when the browser is scaled.
Thank you in advance.
Download An External Jpg File?
anyone know how to allow the user to download an external jpg file triggered by hitting a button within a swf?
the site is: http://www.clusterbomb.net/brett
and i want people to be able to download external jpg/gif files of the online backrounds for use on their computer.
i am aware that i could open a new html window with the file in it, but I would rather that the file be directly downloaded by hitting a button within flash!
I am a fairly advanced web designer, so don't be afraid to give complex answers!
brett@clusteromb.net
Button To Download A File
I have an excel file I want to have users be able to download from my flash site via a button press. Does anyone know what action script I would put in my button to do this. the file name is data.xls
thanks
Jason
Download .xls File From Browser
Download .xls file from browser
HI all,
heres the deal , i have a page where there are 2 links and the 2nd link is to call a pop up window from flash, I use Javascript to call it from flash wit the function being defined in the HTml file, here a sample -
html file contains -
<HTML>
<HEAD>
<TITLE>Movie1</TITLE>
<script language="Javascript">
function openNewWindowpf(URLtoOpen, windowName, windowFeatures) {
newWindowpf=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
</HEAD>
<BODY bgcolor="#FFFFFF">
<A HREF=javascript:openNewWindowpf('Trust1.html','the winpf','height=500,width=700,toolbar=no,scrollbars =yes,menubar=no,left=20,top=20')></A>
<!-- the rest of the code for the swf-->
Now my fla contains the folloing code on the button from where Im calling my Pop up window--
on (release) {
getURL ("javascript:openNewWindowpf('PFTrust1.htm','thewi npf','height=500,width=700,toolbar=no,scrollbars=y es,menubar=no,left=20,top=20')", "_self");
}
n for the excel download i use te folowing
on (release) {
getURL ("MinimumWages.xls");
}
well when i first clik on the xls download button he .xls downloads n works fine n then when i click on the button for the popup window
i get an Object expected, runtime error, but if i first click on the pop window btn it works fine n the pop up opne, but doesnt the other way round, think anybody can help me out.
Cheers !
? Save/download File ?
Hi,
can someone help me with this one ?
I want to make a button in flash which does the same as a right-click "save-target as" on a href link.
I have tried the following code:
Code:
on (press) {
getURL (_root.Url=("http://www.???.com/???"));
}
However, this code does not show a messagebox for downloading the file (instead, it tries to embed the file in the browserwindow).
Has anyone experience in this matter ?
Thanks in advance,
j
Help With Download A Zip File, For Fhash MX
I have Flash MX and SWiSH, When I Download a Flash MX Zip file and doble click this file to opened with Flash MX Try to open with SWiSH, But I get an error, How can I fix it
I'm using WinZIP
Link To Download .jpg File
how do I provide link in flash file so when the user clicks on it he gets a chance to save it to the hard disk. I am NOT using flash file for web page. to be given on CD.
thanks
External File Download
Hello everybody.
I was wondering whats the best way for say if I´ve got some mp3 files that I want people to download from my site. I´ve tried using getUrl but it´s a bit boring cause it opens the mp3 file in a new window. What I want is that window that asks you if you want to open or save the file to your harddrive. Thx a million.
(im waiting for you answer old newbie)
|