Make Folder Download
Please help!
How can I get a folder with a .pdf in it - from a server to a web user's desktop, via flash 5? using getURL("folder/mydoc.pdf"); just tries to open the pdf, I want it to download to the computer.
My situation is that I've been asked to use a .pdf to show a portfolio online. problem is - sometimes it takes a while on a dial up connection to actually view the .pdf in the browser - so I would rather find out how to get a folder to dowload from a server to the desktop where a user can open and view the .pdf fassster.
if the Download Manager pops up or something, the viewer will know something is happening.
if someone can help shed some light it would be awesome.
jaso
FlashKit > Flash Help > Flash ActionScript
Posted on: 11-02-2002, 05:06 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Download Folder?
Hi,
I can download single files with FileReference, no problem, but could I download an entire Folder or ZIP Folder?
I get an IO Error.
Thank you for your help.
Luciewong
How To Download A File On Server To Selected Folder On Pc
hi everybody my question is this, i want to make a simple updater script, i have two swf file, first of it is read.swf, second one is doc.swf, doc.swf is loading in second keyframe of the read.swf, read.swf's first frame has two buttons, start and update, thats what i want; is when i press the update button, let start downloading doc.swf file on my server and replace the old one on my comp. how can i do that, i hope u understand me excuse for bad english
Can Flash Download Files To A Folder Of User's Choice?
I'm using Flash MX to build an on-line training course which uses .MP3 audio narration. Since some users may have slow connections to the Internet, I decided to make users take the hit up front and download the files to their hard drive to a folder of their choosing.
Since I'm familiar with InstallShield, I know I can build an installer to accomplish this, but there seems to be no easy way to tell my Flash program where the files get installed to.
Is there a way to accomplish this entirely in Flash so that my program knows where the files get downloaded to?
Thanks much.
Creating Path Or Link To Folder In .AS To Download Hi-res Image
Hello everyone, your help is greatly appreciated!
Summary: How do I create a new path to a folder in an actionscript file?
URL:http://www.linkshare.org/flashgallery/
external AS file:http://www.linkshare.org/flashgallery/cbgallery.as
NOTE: actionscript file is external to SWF file, not sure if that matters or not in coding.
Current link:http://www.linkshare.org/flashgaller...0aeroplane.jpg
Future link:http://www.linkshare.org/flashgaller...0aeroplane.psd
Problem: A photo is displayed in a Flash photo gallery and if you press the 'download image' button, it links to the JPG directly for viewing.
Goal: I want a link to a Hi-Res image for printing, so the link would not be same as the image viewed in the Flash gallery. The actionscript code would link to a 300DPI Hi-Res image located in a "hi-res" folder.
=======
I'm no AS expert, but I think the relevant code is:
var imageNameSplit:Array=String(thumbLoader.content["gal"+whichPic].myImage).split("/");
imagePath = imageNameSplit.join("/");
if(enableViewImageBtn){
downloadImageBtn.onRelease=function(){
getURL(imagePath,"_blank");
trace("word: "+imagePath);
}
Can You Make A Variable Out Of A Folder Name?
There is probably a better way to do this but what I want but here's what I'm looking at.
I'm doing an image viewer for an Art gallery and they will feature as many as thirty artists. I created a general image viewer that works to draw all the images and info from a certain folder. What I want to do is just create thirty folders with different names when some one clicks on the artist name it assigns a folder name to certain variable that the image viewer uses to load up the images and the info. Can I do it? Is it a stupid way to do it? What's the better way then?
zago, a.k.a. RobotLOVE <coming soon>
Drop In Pix In Folder To Make Gallery?
Can i make a flash site that that takes pictures ive uploaded that are named 001, 002, 003, etc. and puts them into different movieclips to make a gallery??? I want it so i can just drop the pictures into a folder in my site to load in a gallery. Any help would be GREAT.
oh and btw im trying to create something like this: http://www.collages.net/ConsumerSite...l=aus@bags.com
thanks!
austin
.FLV Files : 1-where Are They On Int Temp Folder ? 2-how To Make Flvs Movies ?
Quote:
1-
My question concerns about the video streaming flash files , extension .flv , which cannot be retrieved directly from the IE7 temporary Internet files ;
I´ve turned that folder head over heel but couldn´t find any .flv file as I am used to scavenge the browser cache and do with other extensions ;
What can be found are very long urls like :
(http://youtube.com/player2.swf?hl=en...utube.com/&vid eo_id=IOd_5ZRPmFs&l=179&t=OEgsToPDskJKFyDOavZ1s58f 8VnMwNU7&soff=1&sk=ZklGzv2kMbUjj_Qrv588rwU ) ;
I noticed that a recently visualized flv by means YOUTUBE , 4 days after visualization , when I got back to that URL was played at once , without the need of downloading it again;
That means the file was already somewhere on my disk.
In order to retrieve the files I have to paste URL at retrieve sites like http://kej.tw/flvretriever/ , or use Orbit Downloader ;
I got really curious where are the files and how work such sites .
Quote:
2- where can I find tutorials on how to make flv movies ??
Thank you very much
Read Folder Directory Via PHP, And Make Clickable Links To Each File
I'd like Flash to read a directory via PHP. (That part i have done). But I want each file name in that directory to be displayed in flash, and each of those file name need to be clickable so the user can then navigate to that file in the browser.
Any ideas?
Thanks!
Scott
How Do I Make An Mp3 Download In Flash?
How do I link an mp3 file to some static text in Flash so that when clicked the file downloads as apose to opens/streams in the embedded windows media player.
Any help would be greatly appreciated.
To Make Cd Download To Computer
I need to put an oppening page on my project that allows the user to run from the cd or to download the cd to their hard drive can this be done in flash
How Can I Make/download A Very Simple..
guestbook for my website, the only difference being that instead of typing messages you use a very simple 'Paint' type thing to graffiti a wall.. Just something a bit different! Unfortunately I do not have a server, so this might be impossible.. Forgive my ignorance, I am very new to flash and I am not very good with computers!
[CS3][AS2] How Do I Make A Download Button?
I've been trying to find a tutorial on how to make a button that when you click, it downloads a file to your hard drive but I can't find any and I even posted a thread in another forum yesterday but still no responses. Can someone please help me?
Make .swf File Available For Download?
I cannot seem to find an answer to this question. Any help would be GREATLY appreciated.
How can I make my .swf file available for download from the click of a button within the movie? I read that it could be done in AS 1.0 with the fscommand - so surely there must be a way in 2.0?
If not, is there any way I can use JavaScript or PHP to do it?
Ultimately, I'm creating Flash Paper files (originated in Flash 8), but I would like to add a "save" button to the movie.
My company wants to replace PDFs with FlashPaper, but users can't save the .swf file from within the FlashPaper UI!
Mason
How To Make A Download Link.
I want to make it so people can download a mp3 from my website but I cannot figure out how to make this work in flash. Right now i'm hyperlinking to the mp3 but that just opens it in a media player and does not let the user download the file to there comptuers. Can anybody point me in the right direction?
Thanks
Sith
How To Make A Download Link.
I want to make it so people can download a mp3 from my website but I cannot figure out how to make this work in flash. Right now i'm hyperlinking to the mp3 but that just opens it in a media player and does not let the user download the file to there comptuers. Can anybody point me in the right direction?
Thanks
Sith
Buttons That Make A Download Happen
I have a simple website up. I am having trouble. I want a button click to reult in a download. I have no HTML experiene. I created my simple website in flash and published it with basic interactivity. spirarecogita.com. I want a button click to download a flash portfolio standalone? any advice?
thanks in advance!
Does Anyone Know How To Make A .mov File Auto Download?
I have a link in my flash movie that links directly to a .mov file. I want the file to be downloadable to the viewers computer.
How can I code my flash link to do this?
I am currently using "getURL" to link directly to the file, but all it does is open a new window (i am using "_blank") and begin playing the movie. Am I on the right path?
Thanks!
R.
How To Make A PDF Download To User's Desktop
I am trying to figure out how to make a PDF download to user's desktop by clicking an icon on my website. I'm sure its just a matter of applying a certain "action script/code" to the button - but I don't know what that script is. Can anyone help me? Thanks. - Steve H
How Do I Make A Button To Download A File?
Hi,
I know this is probably incredibly simple, and while i have used flash for animation for about 2 years, i really know absolutely nothing about webpages or how to make a flash site (this is my first).
What i want is a button, that when it is clicked will activate a file download...similar to right clicking and choosing "save as" on a hyper-link in html to download a file. My file structure looks like this...
not the actual website==> http://website.com/images/video.mp4
I made a hyperlink to this with the button already, but what happens is it changes the whole flash browser into the quicktime window, then waits for the DL..then plays. What i would like is for it to keep the flash site up as is...but open a "save as" screen or something similar so the user can actually DL it to a place on their harddrive.
Any help will be greatly appreciated, thanks ahead of time!
How Do I Make A Button To Download A File?
How do i make a button to download a file?
--------------------------------------------------------------------------------
Hi,
I know this is probably incredibly simple, and while i have used flash for animation for about 2 years, i really know absolutely nothing about webpages or how to make a flash site (this is my first).
What i want is a button, that when it is clicked will activate a file download...similar to right clicking and choosing "save as" on a hyper-link in html to download a file. My file structure looks like this...
not the actual website==> http://website.com/images/video.mp4
I made a hyperlink to this with the button already, but what happens is it changes the whole flash browser into the quicktime window, then waits for the DL..then plays. What i would like is for it to keep the flash site up as is...but open a "save as" screen or something similar so the user can actually DL it to a place on their harddrive.
Any help will be greatly appreciated, thanks ahead of time!
Make User Download File
Hi there
I believe this is an easy one but I cant figure it out. I have mp3s on a site that I want the user to be able to download when clicking on a button. Is there an easy way of doing this in flash MX?
thanx
Loading Movies From A Folder Located In Root Folder?
hello.
I want to organize my root folder on the server better. How would I write the code to load a movie that is located in a folder called slideshow, for example? Basically, how do I target that movie located in root/slideshow/...
I hope you understand.
Linking To Files That Are In The Folder That Hold The Folder Where Ur File Is
i'm trying to get my website to run as it would on the internet but not actually on the internet for a college exhibition. most of my website is in one flash doc but a few pages are seperate that hold some media. all the pages are in one folder (except one) and link to each other with this code:
on (release) {
getURL("whateverfile.htm");
}
the other page is my music page, which is in a folder within the folder that all the other pages are in. to get to the music page from the rest of my website, i did this:
on (release) {
getURL("musicfolder/mymusic.htm");
}
if you even know what im talking about how to i get back out of that folder to the main folder with a link to the main website page?
this is what i tried:
on (release) {
getURL("websitefolder/mywebsite.htm");
}
it didnt work.
i'm quite new to action scrpiting, as in i started learning 3 days ago. im more of an animator to be honest. thanks
How To Make Password Dialogue Box And Automatic Download
Hello everyone.
I have been usng Flash 5 for about a year now, mainly for making movies (for friends) and simple NON-CODE menus.
Now I am working on a big intro/logo for a website. At the end of my logo movie, I have 2 options (buttons): MEMBERS and GUESTS. I would like to make it so that when you click MEMBERS a dialogue box appears telling you to write your password. I have no problem making the dialogue box appear IF the button is clicked. But how do I make a place to write in the box, a way to write, a way to check if it is right, and a link to url if it is right?
I have never used code for Flash but I have 2 years experiance (good) with C++. From all the code I have seen so far in Flash, such as loops and variables, it seems extremely similar to C++. Can anyone tell me how to make the dialogue/password box. Can you use strings and if statements? If so, when should I use them?
My Idea so far: (not real code, so you can understand)
Right-Click the button, say IF CLICKED, go to some frame with the box visible (maybe use ALPHA for this one). How would I make the area for writing the password, how would I allow the keyboard to write in this line I make? What code should I use?
P.S.
How can I make a Flash movie automatically send a file to be downloaded. After so many seconds a DO YOU WISH TO DOWNLOAD (from IE or Netscape) will apear. How can I do this?
Please help me.
Too long, sorry.
I would SUPER appriciate your help.
Thanks.
How To Make A Projector Download And Play On Both Platforms
I am creating a flash projector for a small presentation. How can I make the projector download and automaticaly play from a link on a page. I've tried the zip-it that makes it download but you then have to go through unzipping it and then doubleclicking it to get it to play. I've tried telling it to place itself in and open a new window and I get a text/code that is globbly goop starting with the word Joy! (Makes me laugh!) The reason I want to use a projector (rather than an swf in a pop up window) is that you don't have to have the most recent Flash Player in order to play it. I also want to be able to serve both a .exe to PC users and a projector to Mac users also. Please help!
QUESTION: How To Make Swf Download Time Faster?
Hi there people
am hoping someone can help me out. I have a swf file of size 309k and am now running into problems with download times. For obvious reasons when I download using a DSL connection then its fast. But the majority of people who will be viewing the swf on the Internet will have a 56K modem connection. Really need some help!!
Thanks in advance
How Can You Make Flash Download Media Files?
How can someone make a flash movie link download a media file rather allowing them to open and play in a browser?
I have always used up until now the clumsy way of zipping the files so the browser prompts you to save the files on your disk but I'm looking for a more elegant way of doing it through flash code.
Any thougths?
Text Scroller Download Can You Make Smoother Scrol
If I give you this text scroller download can you make it scroll smoother? Thats the challenge I havent seen one roll smoothe yet. Can you apply some code to make it scrol in small pixel amounts and speed as well? So that it rolls up or down the screen the same as movie words scrol on the TV screen?
http://www.geocities.com/jaffasoft2/texscroller.fla
Xml Loads When Path Is To The Same Folder,but Not From The Folder I Need To Load Fro
hey there! here is my problem if anyone is so kind to point me in the right direction:
i have a Part2_Resources.swf that loads assets/resources.swf into a container on it's root timeline. no problem. assets/resources.swf then loads in config.xml for its content. i think the problem comes in relation to my file structure even though I have already made sure that my path is relative to my root swf.
this presentation will be on cdom so i want to keep my main projector file out in the open and then store all the other files into an 'assets' folder. so here is my file structure:
cd / Part2_Resources.swf (will end up being a projector file)
assets folder / resources.swf and config.xml
when i play my resources.swf by itself with the config.xml loaded directly it works perfectly (ie path: configxml.load("config.xml")
but when i play the Part2_Resources.swf, which then loads assets/resources.swf, wich in turn loads config.xml from the assets folder (ie: path to xml file in resources.swf changed to configxml.load("assets/config.xml") the data doesnt load, or isn't visible for some reason. I am not getting any errors, just no content from the xml file.
i can't figure out where im going wrong except that i might need to use absolute paths which i don't know how to do from a cdRom!
maybe it is another problem altogether?? i attached my files if anyone wants to give it a go!
Help please!!!
Much appreciated!!!
Actionscript That Will Make A Flash Graphic "folder" Change If The Mc It Opens Closes
i am creating a pseudo desktop for my webpage. i have little folder icons that u can drag around and thats fine, but, i want them to have 2 states. one is closed and when u click on them it changes to an open folder. i think i can do this easily with the button state "down" but i want it to stay open until the person closes the mc "looks like a floating folder" is closed or "unloaded". i really really need help with this.
How Do I Make A Video Position Slider And Download Progress Indicator?
My flash video files have to be on a separate server to my website files due to server space. The flash files are on a big server and the web files are on a small apache server. Flv files wouldn’t work across servers, so I’ve had to embed the flvs’ in the swfs’ and put them on the big server.
The problem now is that there is no ready made slider, and download progress indicator, provided when you embed. I’ve put pause/play, frame step, go-to-start and go-to-end buttons on, but I don’t know how to make a position slider with progress indicator. Could someone please point me in the right direction?
How Do I Make A Video Position Slider And Download Progress Indicator?
My flash video files have to be on a separate server to my website files due to server space. The flash files are on a big server and the web files are on a small apache server. Flv files wouldn’t work across servers, so I’ve had to embed the flvs’ in the swfs’ and put them on the big server.
The problem now is that there is no ready made slider, and download progress indicator, provided when you embed. I’ve put pause/play, frame step, go-to-start and go-to-end buttons on, but I don’t know how to make a position slider with progress indicator. Could someone please point me in the right direction?
Shared Folder, Resource Folder ...
This is a bit of an open question, but in terms of application development, project development, systems architecture, etc, in what situation would you have a 'Resource Folder' and a 'Shared Folder'. I believe these are common, so where are they used. Anyone heard of these terms before ?
Open A Folder Not A Web Browser Folder.
I need help openning a folder with flash.
I'm creating a Projector App. When I click on the btn I need to open a folder in my computer. I tried the fscommand by no luck.
Make A "Download Button" - Maybe Stupid Question?
I have an audio player that plays an mp3 with the loadSound( .. );
I want onSoundComplete for a button to appear - I have this part covered easily.
My silly question is this:
If I create a direct link to the mp3 that plays...How can I have this "by default" not require a "Save Target As" type user interaction.
On some websites I visit...thier links take me straight to my downloads window, and some the file will play within the browswer....
Is there a way (for people like my dad, who don't know the internet well...)for my button to have
getURL("http://directlink to my file . mp3") BUT not open their media player within the browswer, but save it to their default download location or even better, to their desktop.
I am sensing javascript...which is an ok option I guess...
I want this to be within flash.swf file also - - - not an html solution.
But the below example is sort of what I am talking about...click on the mp3 blue links, and quicktime or windows media will open automatically...and then you need to know how to save from that applicatin (which seems easy, but not for everyone....)
so is there a way to have that link just open the downloads window and go....like when you download a zip file or dmg or sit file (for mac guys..)
Thanks.
Audio Download Link From Flash To Download Dialog
I am defining a URL to an MP3 file and then having a button use getURL onPress to open it. On my computer, this opens a dialog box to save the file.
However, on some computers, it opens the file in Quicktime in browser, I'm guessing just because Quicktime is configured to do so for them.
I want the link to always go to the regular save dialog box, so that it doesn't go away from my full screen Flash site, and so the user can download the file instead of just listening in browser.
Any ideas on how to do this, either by using a different link or a different method?
Download Window Or Forced Download Instead Of Quicktime / Wmp
Hello Forum!-
I have been building my website in flash and have a simple question that I cannot figure out for some reason (maybe its too simple) . Anyhow I have uploaded my mp3 songs of my music and used the geturl and _blank so that when someone clicks on my link the music opens right into thier quicktime player (if on mac) or windows media player (if on pc). I want the user to be able to download the mp3 to there computer (ie like a normal download window appears stating "do you want to download this file to disk" is there some other code or line I need to add ???? It seems so simple? I would really appreciate the help as I have tried a number of things with no success. I have seen that I have to use FileReference but I do not completely understand it
here is what i currently have which is not working... I have a button that I created and placed this in the action within the button
import flash.net.FileReference;
var gettheFile = "http://www.someURL.com/someFolder/mysong.mp3";
var fileRef:FileReference = new FileReference();
function givemetheFile(){
fileRef.download(gettheFile, 'mysong.mp3')
}
yourButton_mc.onRelease = function(){
givemetheFile();
}
any suggestions help or solutions would really help me thanks!
Matt
|