ActionScript 2.0 :: Allow Visitors To Download Some Files On Site?
Oct 14, 2003
I would like to put some files on my site that can be downloaded by visitors... So, what's the code I've to put on my "download" button ? And where do I have to put the file that should be downloaded ?
View 11 Replies
Similar Posts:
May 27, 2007
I would like to allow visitors to download flash files from my website.
I have the following code one my first button:
Code:
download_btn.onRelease = function(){
getURL("blankWebsite.exe");
}
This works fine and opens a 'Save', 'Open' or 'Cancel' pop-up box.
For button two (the xml file which visitors can use to populate the blank website they have downloaded) I have used the following code:
Code:
download2_btn.onRelease = function(){
getURL("template.xml");
}
However, rather than giving the option of saving the file (which is what I want) the file opens in a new browser window.
way to offer the 'Save', 'Open' or 'Cancel' options for the xml file rather than it opening immediately in a new browser window?
View 2 Replies
Jun 9, 2010
i would like to put some files on my site that can be downloaded by visitors. what's the code I've to put on my "download" button ?and where do I have to put the file that should be downloaded ?
View 2 Replies
Jul 27, 2010
My website allows users to upload photographs which I store on Amazon's S3. I store the original upload as well as an optimized image and a thumbnail. I want to allow users to be able to export all of their original versions when their subscription expires. So I am thinking the following problems arise.Could be a large volume of data (possibly around 10GB)How to manage the download process - eg make sure if it gets interrupted where to start from again, how to verify successful download of files.Should this be done with individual files or try and zip the files and download as one file or a series of smaller zipped files.Are there any tools out there that I can use for this? I have seen Fzip which is an Actionscript library for handling zip files. I have an EC2 instance running that handles file uploads so could use this for downloads also - eg copy files to EC2 from S3, Zip them then download them to user via Flash downloader, use Fzip to uncompress the zip folder to user's hard drive.
View 1 Replies
Jul 30, 2010
Can I make a user control system for my website based of visitor's computer's MAC addresses?Is it possible to get MAC address of visitors of my site in FLASH?
View 2 Replies
Feb 22, 2011
I generate a HTML page with VB.Net which stores several pinks to files. These links are formatted with JavaScript looking like the Windows-Explorer with folders and files. The problem: There are only download links for the files, not for Folders. A folder can contain Subfolders ,a List of Files or a combination of both. So if I want to download a folder, I have to click manually on every file-link. I have not the possibility to insert PHP or another Server-side language. my question now is: Is there a client side way to Download them by click on a Folder? I prefer Javascript but If it isn't possible Flash will be ok also.
View 2 Replies
Nov 4, 2009
the flash4 published set of files, with a variety of skins tried, works well on the local drive, even when moved to a different folder structure. when index.html is opened on the remote web site, the browser (firefox3 and ie7) displays the player conrols and a rotating horizontal barber pole, green and black, but no flash video.some of the skins i've used are: SkinOverPlaySeekFullscreen.swf, nOverPlayStopSeekCaptionVol.swf and SkinUnderPlay.swf. all work locally but do not play the .flv file on the web site. no problem playing flv movies on the remote web site if the file set is created by dreamweaver.
View 8 Replies
Mar 22, 2009
Basically I created a flash site and uploaded it onto the server provider the client chose using cute ftp. That's all fine but now they want to add a link enabling the viewer to download a PDF straight to their desktop. As I can't upload a PDF file to the Flash library, was wondering if anyone had any tips on creating this function?
View 2 Replies
Jun 25, 2010
However, I need to protect them in several ways... customers should not be able to download and play them anywhere off my site, or on their hard drives, and they should not be able to decompile them and grab the contents (jpegs).I realize that a first rate hacker can probably hack through anything, but they don't worry me. Second-rate hackers worry me more, as there are many more of them, and they tend to go after smaller stuff like this
View 1 Replies
Sep 10, 2010
Another question, how or what do I do to enable a user to download a PDF file?
View 3 Replies
Jan 21, 2009
actionscript 2 code to enable the user to download a pdf from my site?
View 3 Replies
Mar 14, 2007
I'm trying to give users the ability to download icons from my site. Thus, when the user clicks an icon, I need aim to launch and have that particular icon downloaded for the user to use. I know how to launch aim from Flash, but I'm uncertain how to launch aim and have icons from my sited downloaded directly to the users aim screen name.
View 1 Replies
Dec 17, 2009
I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.
editCode sample taken from other post. Warning: it's a huuuge chunk o'code.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"
[code]....
View 2 Replies
May 12, 2010
I'm starting a blog with a hosted wordpress instance and i would like to be able to stream music using a flash player on some posts.The problem is that every player i find uses a simple param to get the file url which makes it very easy for someone to find that url and just download the file.I know that it's probably impossible to prevent this all together, but i at least don't want it to be obvious.
View 4 Replies
Mar 30, 2009
I'm working on a cd presentation and I want to download some files from the cd.
View 3 Replies
Feb 5, 2009
I am trying to prevent users from viewing my site and then simply going into their "temporary internet files" and stealing my swfs and XML files. I have been using a great .PHP code to stop this but now I am working on a server server that only uses .aspx files. Does anybody know of a way that I can stop files from being stored in the "temporary internet files" folder. I have encrypted the files but this is not good enough.
View 0 Replies
Oct 4, 2011
Right now, if someone types in a popup window comes up asking if they want to download the file.I want my swf files (I'm building a site on the Gaia flash framework) to have access to all of my flv's/videos, but I don't want people to be able to download them.e Flash IDE to 'protect' your swfs (though I know there are ways around that) - but for flv's do those have to go in some type of special folder with a .htaccess file to protect them - and if so, how do I let my swf's communicate with the flv's and load them when necessary.
View 8 Replies
Jan 29, 2010
I'm not so good a AS3 and i think i've made a mess of things. I am trying to write script to download from a server on a website and have been getting nowhere. [code]...
View 0 Replies
Nov 17, 2008
Free flash files.[URL]
View 3 Replies
Feb 24, 2009
is there any way to rename a download file/link to our custom name. For example: I use URLLoader to call a download link: http:[url].... then a download popup shows a save as dialog with the name my_file.mp3. Now I want the dialog to show another name that I define like my_song.mp3
View 3 Replies
Feb 24, 2009
I am working on a web app and need help to be pointed in the right direction: I want to download a file (they are mp3s). choose directory to save as I want flash to meter the download, showing the progress. When the file is downloaded, it is deleted off of the server (using php, i know how to do this, but how can i tell from flash when the file is downloaded?)
View 6 Replies
Aug 26, 2009
Tell me the code for "how to upload and download" files from server using flash cs3/flash 8.0.
View 2 Replies
Dec 10, 2006
I can't seem to download the flash files from the address.i click on page info and find the embeded flash,but can't download it. Another, how can I convert flash files from youtube to my ipod? I found an excellent flv converter, but not knew if it could convert flash from youtube.How to make flash suitalbe for youtube?
View 4 Replies
May 27, 2011
if you can do with the files that were loaded through the Loader class (or another class) remain permanently on the computer of who uploaded the application. That is, even if the person closes the browser or shut down the computer, the files remain on your computer. So when the person is running the same application will not need to wait until the files have been loaded (via download).
The person will enter in the browser page where the application is already included and you can use this application, without waiting any time since the necessary files are not on the computer. If any new files later arose in the application, this would be the only file to be loaded (downloadable) for the computer, which already found the other files that have already been loaded at another time. I can do this in actionscript 3.0? Note: Do not bother with my English because I'm using the google translator.
View 6 Replies
Nov 24, 2011
Is there a good tool can asily download SWF files from internet?
View 2 Replies
Dec 16, 2010
i have some files swf files that i want to prevent downloading them.is there a solution that the IIS can have a passord for downloading the file swf file and i can provide this password in some situations on the server that i can pass this password in the code.so that the swf file can be viewed from my page only as provide the password.
View 3 Replies
Jan 19, 2012
How do I download multiple files at once from a browser without combining them into single file? I found all kinds of multiple file uploaders, but downloaders are missing. There is only JUpload, but it's old and became buggy recently. I believe both Java and Flash can do this: select a folder at client's HD and download everything there.
View 1 Replies
Aug 26, 2009
Tell me the code for "how to upload and download" files from server using flash cs3/flash 8.0.
View 2 Replies
Aug 11, 2009
I've built an audio player that is fed via an xml file. Users can use a 'previous' or 'next' button to select which track to listen to and then play it and this is all fine and works as it should. The problem I have is with the file reference class. I want users to be able to have the option of downloading the track. I can get this function to work once but once you download a track, choose another, then click the download button again I get the error message below:
[Code]....
View 6 Replies
Jan 15, 2010
I know some functions like navigateToURL but I would like to let users download some files from my website.
I don't need to secure transfer but just hidden the path when user click on my flash asset.
Do I have to employ php script?
Or this code is it sufficient ?
Code: Select allvar request:URLRequest = new URLRequest("http://path/picture.JPG");
var localRef:FileReference = new FileReference();
try
[Code]....
View 2 Replies