Java :: Select Single File Or Multiple Files To Download?

Sep 30, 2011

I'm currently working on a Flex3/blazeDS/Spring/Oracle project. My requirement is display a list of files from an external FTP server in a grid, user can select single file or multiple files to download, and if user selects multiple files I should tar the files on the FTP server and download the tar file from FTP server to user disk. As per my understanding on the File Download in Flex we have 2 ways to do it. 1) File Reference 2) Using navigateURL and call server side JSP/Servlets to download files.

1) For FileReference we need to download the data first and prompt the user to save the file by clicking on some button. We cannot prompt the 'Save' dialogue without the click event for Security reasons in Flex (Workaround). But my client hates this process because its two steps and he want it in one step like normal file download with only 'Save' dialogue. Then I tried the second option.

2) navigateURL. Open a new windows make a post url request for to JSP/Servlets and prompt the 'Save' dialogue. The problem I am facing here is the pop-up window does not close once the download is complete. navigateURL does not return any reference to the window to close the window. I even tried different content types and headers and java script but none seems to work. The window closes when it is a single file and not for the tar or zip file. I would like to download the popup window for any type of downloads. I am using IE7.

View 1 Replies


Similar Posts:


Java :: Download Multiple Files From Browser?

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

Flash :: Single XML File Vs Multiple XML Files?

Jan 30, 2012

I'm working on a Flash project that deals with multiple files. There is a main file that loads in individual SWF files as they click on different buttons. The course has dynamic text Fields that are populated via XML. So right now, my idea is to give each page it's own XML file? Would this be better suited to have one single XML file for all the pages, and the container file or multiple files?

Also, this is going to be a multilingual project. EDIT: The XML files will just be storing text information to populate the text fields, and some links to load in images. Also, the loaded SWFs will never be accessed without the use of the main "container" SWF.

View 1 Replies

ActionScript 3.0 :: Select Multiple Files?

Aug 16, 2011

Any way to browse and select multiple files to upload instead of just one?I'm looking at the ref but all I see is an argument for a filter.

View 1 Replies

Flex :: Convert Multiple SWF Files To Single EXE?

Nov 22, 2010

I have an application in flash, I build in ActionScript 3.0 Flash IDE, my application loads some external swfs which mentioned via XML file. Its working fine at the moment. But I need to compile all these external SWFs and xml file into single exe file. How can I compile like this. or how can I code like this?

EDIT: 1 from here : [URL]

You can see an example, the application is build in .net and it import pdf and publish it as flash projector or web based(swf). How is it compiling all the external SWF files.

View 8 Replies

Actionscript 3.0 :: Using FileReference To Download Multiple Files

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

ActionScript 3.0 :: Loading Multiple XML Files In Single URL Loader

Nov 14, 2009

Is there any way to load a multiple xml files in a single urlloader.

View 2 Replies

XML File Won't Select Other Files?

Apr 1, 2009

Though, on one of the simplest things though I can not have the flash file select the XML files. It will select the first but will not continue with playing the rest of the songshere is my AS and XML files.

Code:
// Load XML Songs
var xml:XML = new XML();

[code].....

View 1 Replies

ActionScript 3.0 :: Loading Multiple Sound Files With A Single Class?

Nov 11, 2009

I am working on a simple game for kids. The game revolves around the alphabet and it is all voiced. So I have a good number of sound files that I need to call on at any given moment.In AS2 I would just link all of the sound files to variables at run-time and have them ready to play when the interaction dictated it.... with the way "linkage" has changed in AS3... I feel like it would be a bad idea to have over 50 different class files (one for each sound file) so I am looking for a cleaner solution... that and I am guessing that having redundant class files misses the point.I haven't had much luck finding a forum post or tutorial that talks directly about this type of issue but the idea is a little foreign right now so I am sure I have stared directly into the gold mine and not noticed. I am very interested any thoughts or links on the subject.

View 1 Replies

Actionscript :: Way Of Combining Multiple Flash Files Into A Single Movie?

Aug 24, 2010

I have 8 flash movies, each with 3 scenes within each one.What is the most effective way (by which I mean, takes the least amount of time to implement and produces a file without each and every object used in the library) to combine these 24 scenes into a single flash file so that they play consecutively and can be exported as a single SWF?EDIT: I know there is a method whereby you select all frames in each scene and convert these frames to a movie clip, however the main document then inherits all the objects from each MC in its library- this seems a cluttered approach. Is there a better way?

View 1 Replies

Actionscript :: Download Multiple Large Files And Saving Locally - URLStream Or URLLoader?

Feb 17, 2011

This is absolutely driving me crazy. While I'm a fan of the availability of asynchronous calls in AIR, I'm finding that being forced to use them for something that should be SUPER simple is a severe limitation. So severe that I may end up abandoning AIR and writing native Android and iOS apps instead of using the shared AIR platform.

OK, now that I have that off my chest, here's what I'm trying to accomplish. I have an app that, when deployed, is relatively small. But once deployed to a user's device that user will log in using a login name/password. Once they log in, content specific to that user needs to be downloaded and saved to the local device. Since the content varies by user I can't include it in the package for deployment.

But I cannot figure out how to accomplish this: say I want to download 10 files and each file is 2-3mb and I want to show a "Downloading, please wait..." view during the download. The application cannot proceed until all 10 files are downloaded. But since from what I've seen URLStream and URLLoader are both async I cannot figure out how to block the app from opening the "View available content" and say on the "Downloading, please wait..." view.

View 1 Replies

Media Server :: FMS4.5 Live Stream With Multiple Video Files As Single Source?

Jan 27, 2012

I am using Flash Media server 4.5 and i read the tutorial if i want to stream the live feed, i may need to use the media live encoder.
but what i found in media encoder is i have to manually setup everything and it only support camera devices. But in my case i have multiple video files keep received from another program and place it on file system (server),my goal is use the Flash Media server to perform a live boardcasting with these video file one by one. That means when client watching a live streaming, they will not notice the server is playing mov1, then mov2, then mov3, then mov4... and so on.
 
You can imagine i am trying to boardcast a live footage say for 60sec, but the video file will not recorded entirely after 60sec, instead for every 10sec i will save a new video file, so that when client watching the live by HLS [URL]when the time reach to 10sec, a mov1 video file available and FMS should boardcast this video on live123.when the time reach to 20sec, a mov2 video file available and FMS should Immediately follow the mov1 boardcast on live123.and so on...Also can FMS dynamically create a new streaming session (invoke by code), so that when client A uploading some video files to the server, the FMS open a new streaming session only stream cilent A video files?the configuration to boardcasting like screen size, bit rate, etc should be pre-defined on the server.  [URL]

View 5 Replies

Flash :: Download Multiple Files From A Remote Location To A Users Hard Drive With FileReference?

Jul 30, 2010

Can I develop a Flash AS3 download swf that will let a user select a location on their hard drive to download files to and then start the download of multiple files (in the same way I can do with upload)? Or should I zip all the multiple files first and download zipped files to local disk. My users will want to download potentially hundreds of images from a server to local disk so I dont want them to have to click save for each one. Will AS3 let me pass an array of filenames and store the location that the user originally chooses? I ask because this sounds like it would have been not allowed for security reasons.

View 3 Replies

Php :: Create Upload Script With Multiple File Select Like Facebook With A Progress Bar?

Mar 31, 2011

I was just wondering that is there a way to create a multiple file select like Facebook (using flash, I think.) and with a progress bar that show every photos progress in one progress bar. Have a clue or a script which can be customized and can be used easily?

View 2 Replies

Flash :: Play Multiple Flv File In Single Swf Object?

Dec 2, 2009

I have one swf object in my site.

I have to read data from database and after fetching data of video names,

I need to play those video in single swf object one by one, means after completion of first video second video will start.

View 3 Replies

Flex :: Datagrid Multiple Rows Single File

May 20, 2010

I have a flex datagrid with 3 columns. The first column contains the image name(unique key). The other two columns have username and size details. I want to split the username into lastname, firstname, address and some other stuff. Can we have multiple rows in the grid for one image? Tried multi-line, it works but we need to keep adding spaces and its cumbersome. Since each row in the flex datagrid is represented by one index in the XMLList which is enumerated, is there a way to have more than one row assigned to one image and shown in the grid? something like this.

View 1 Replies

Flash :: Load Multiple Videos In A Single File?

Jan 25, 2011

I have a swf file, which plays 6 videos one after the other in a loop. This file is very huge so it is taking more than a minute for it to start playing after the page finished loading. I have taken the original video file, and split it into 6 files. I plan to have 6 tiles in the flash file as soon as the page loads, and when some tile is clicked, the video is loaded dynamically only that video or swf file so that it saves the loading time and once this is done, i want it to revert back to the main page with tiles. I am just starting off with flash and I have no clue how this is possible in flash. I am not asking for code, i need some tips to get started.

View 1 Replies

Java :: Add Third-party Jar Files Into Android Application Jar File?

Jan 31, 2012

I have an Adobe AIR application for Android. Using for this AIR 3.0 and Flash Builder 4.6. I need to make MyANEFile.ane - which must include 2 external .jar files: Flurry.jar + Tapjoy.jar. But when I made .ane file - it does not work. How can I add this 2 jar files to my main application jar file to make .ane file properly? It shows me such errors in dalvik:

[Code]...

View 2 Replies

Java :: Multiple File Upload (even Folder)?

Jan 25, 2010

I'm looking for an easy to use (free) "module" that can upload multiple files / folders.
It must:

Support image files
be user-friendly
be customizable

It may be written in:

RoR (Ruby On Rails)
Java
Flash

View 2 Replies

Java :: Multiple File Uploader With Previews

May 27, 2010

I'm trying to find something that will let users upload multiple files to a website. The requirements are that it let them easily select multiple files (preferably with something like check boxes) and that it displays a preview of the images they select.

I'd prefer to only use Javascript or Flash if possible, but Java is also an option (this needs to work on platforms where Silverlight isn't available). So far all I've been able to find are things that use the native file selector (which doesn't show previews on Windows, and makes it unclear that you can select multiple by holding ctrl). I'm not sure if the preview requirement is even possible, but it's the most important.

View 4 Replies

Flash :: Download Multible Files With JavaScript(one Download)?

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

Java :: Create Multiple File Downloader Without ActiveX?

May 18, 2010

I want to create multiple file downloader without Activex on web page.

View 1 Replies

ActionScript 2.0 :: Download Button - Opening The File Rather Than Giving A Download This File Option?

Jun 13, 2008

I have a few buttons rigged up for downloading word.doc, mp3 etc

Problem is its opening the file rather than giving a download this file option.

View 6 Replies

ActionScript 3.0 :: Uploading Local Files Without Requiring User To Select Files?

Feb 3, 2009

My users upload a certain kind of text file that sometimeshas references to images stored locally on their hard drive. I needto check this file either on the server or within a flash app tosee if it has these references and then grab those images in aflash app to upload to my server.So I can use FileReference easily enough to have users uploadlocal images. But FileReference requires users to select their files with a dialog box. I can't have that. Myusers wouldn't know where to look and there are typically way toomany files, sometimes with the same name but in differentdirectories.

I can also just use URLLoader with a local URL, I guess I canprobably just use Loader too? That works great. The problem here isI can't communicate with both the server and the local filesystemin the same flash application due to Flash's security sandboxrestrictions. So I can get out of those security restrictions byplacing or editing a trust file in designated locations on variousOSes. I then need to install this trust file which is more invasiveand confusing to users then I want to be...Java's method of accessing local files from a web applet bysimply signing the applet with a certificate and having a dialogbox popup where the users grants access is ideal. Is there anything

View 4 Replies

ActionScript 3.0 :: Download A File To The PC Through The Normal Browser Download Manager?

Jul 1, 2010

So I basically have used the fileReference class to allow the user to download a determined file if he wants to.

I use the file.download(URL) function and it works well.

However, the file is downloaded and saved to the hard drive using only the flash player. The browser is not aware of the download, and thus, if I want to show the progress of the download I'd have to make some progress bar myself. I know how to do it, but it would become really tedious and take too much UI space.

Isn't there a damn way in Flash to "send" a determined file to the browser so that it prompts the user to download it? It's an image file, so navigateToURL doesn't cut it since it will just display the image, both if I use a new tab or the current one.

View 1 Replies

Android :: Possible To Use Both Java And Flash In Single Application?

Nov 30, 2011

We know that, with Android NDK we can use .C files along with .java files in a single android application. Similarly, is it possible to use Adobe Flash and Java files in a single android application ?

View 2 Replies

ActionScript 2.0 :: Inserting Multiple Swf Files Into An Exe File?

Aug 26, 2011

I have a created an exe file using CS5 Flash, with multiple imports of swf files into the exe. However, the following problems occur:1. While the exe file is open, I import a swf file into the main program (exe), and when I wish to close the swf file, it closes BOTH the exe file and swf file. I have made a button to close the swf file, actionscript as follows:on (release) getURL("FSCommand:quit", true);}Is this wrong or ok? It does close the swf, but closes the exe file as well, and at the same time, and I do not want that.2. While the exe file is open, I import a swf file, and through the opened swf file, I import another sfw file into the existing swf, which is opened in the exe file, and it seems like the first opened swf file disappears or becomes transparent. For importing swf files, the following actionscript was used:

on (release) {
loadMovieNum("Les2Alpes.swf", 12);
}

[code]........

View 1 Replies

Flex :: 'fake' Multiple Series For Single Chart Or Same DateTime Axis For Multiple Charts?

Apr 11, 2011

I want a chart that has several separate series running in rows across. They are largely separate charts and should not overlap, but all share the same horizontal datetimeaxis. They don't share the same y-axis, however and that's where I'm getting stuck.I have tried having a linechart series and then a plotchart series, but it will only allow a single <mx:series> per chart without having them inside the same series which as far as I can tell will place the charts on top of each other in the z-axis. I can stack them and have them completely separate charts, but it was proving to be somewhat irritating having them align correctly.

Is there any reasonable way of combining multiple charts into one like this? Basically having rows in a table where each row is a different chart but the columns are consistent. or am I going to be best served just by stacking separate ones? an illustration of what i'm going for is here: http:[url]........

View 1 Replies

Data Integration :: Merging Multiple Files To One File?

Apr 6, 2007

We are mainly developing On-line web application works on Flash Movie remixer which remixes more than two flash movies (Picture In picture), SWF layers, Run-time special effects (Chroma-key, fire filter, etc.) and sound layers.This site is similar to the [url].... Recently we were having an issue that user should render the remixed movies and layers to one flash movie file (FLV format).

View 2 Replies

Ajax - Making Multiple Asynchronous Calls To Fetch Result From Multiple Services In The Single Click Of A Button In Flex?

Dec 27, 2010

In one of our project we are using flex for front end, blazeds/java in the backend. Its an existing code where services are prewritten. I have to make calls to 3 services in the backend (basically 3 remote objects) and get their result and store the result in an object and show the data of this object in a view.
Now in front end we are using Flex and Parsley Framework. I was thinking of the following approaches.

1) Making commands for each service call and storing the result in a shared object (model) and then displaying this model in the view. In this approach the problem is some services are needed in some other web pages, but they donot need the same model. How should i handle this scenario ? Should i make a asynchronous remote call and fetch the result and then again dispatch and event with the event object storing the result.

2) Making a service call , wait for the result then make another call and wait for the result and then make other call, not sure if this is the right way ?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved