Flash :: Saving An Image As A File On The Client Side?

Feb 1, 2011

I'm rather inexperienced with flash and as3, and I've been given a task of writing a program that downloads images from URLs that are provided, and saves them to a specified location on the user's computer.

The idea is to be able to download multiple images (user selects them) and download them all to a single directory (which the user selects first) so that he doesn't have to download them one by one. Also, putting them in an archive and downloading as one file wasn't an option.The only solution I found is using FileReference.save(), which won't work for me because it opens a save dialog.

View 1 Replies


Similar Posts:


Flash :: Client - Side Image Processing - Creating A PNG Image From A PDF File

Feb 1, 2010

We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Here's the info: Image processing is rasterization from some data. Think like creating a PNG image from a PDF file. We don't have a lot of server power. So client-side processing is a bit of a must.

So, we're considering: Flash - most widespread, but from what i read has lackluster development tools. (and no iPhone/iPad support for now). Silverlight - allows us to use .NET CLR, so a big ++ (a lot of code is in .NET). But is not supported for most mobiles ( rumored android support in the future) HTML5 + Javascript - probably the most "portable" option. The problem is having to rewrite all that image processing code in Javascript.

Clarification: I don't need further ideas on what libraries are available for Silverlight and Javascript. My dilemma is choosing Silverlight means no support for most mobiles choosing Flash means we have to redevelop most of our code AND no iPhone/iPad support HTML5 + Javascript we have to redevelop most of our code and not fully supported yet in all browsers choosing two (Silverlight + Flash) will be too costly Any out-of-the-box or bright ideas / alternatives

View 14 Replies

Javascript :: Image Dimensions = Client Side After File Upload Selection

Feb 8, 2011

I have an upload form for an image. The user clicks browse and selects a file. How can I get the image dimensions the moment the user selects the file (before the file is even uploaded to the server). It obviously has to be something client-side with maybe javascript/jquery or flash/flex (prefer js//jquery though), but can either of them do this? This is the code I'm using to tie into zozo's getImgSize() function, but it gives me 0*0 as size.

[Code]...

View 1 Replies

Flash :: Flex - Client-side Image Processing?

Sep 20, 2011

I'm creating some image uploader in Flex with client-side image processing. Processing consists of two steps:
1. Resizing (solved)

2. Converting resized image (represented by ByteArray in PNG32 with alpha-channel) to gray-scale PNG with bit-depth = 2 and no color-palette. Is there any existing library that is capable of second step? Something like libpng for C++, maybe?Edit:It seem I stumbled upon rarely encountered problem. However my descision was to create an AS3 class that is capable of converting bitmapData to 2bit grayscale PNG. I used standart PNGEncoder and PNG format specification (which is not so good as I expected) as basis.

View 1 Replies

Flash :: Checking Uploaded Image Resolution And Detials At Client Side?

May 30, 2011

In flex, what we do, we normally upload the image from flex end and upload it to the serveri want to know, can we do some details checking, like i want to find out the imageesolution(on the client side) before it is uploaded to the server,There are going to be two profits, first the client doesn't need to wait for long to image get uploaded, and in case if finding the image resolution is on the server end, so it willtake time, even the image to be uploaded is not of expected resolutionsecond, the user interaction & interface with the flex application will be improved,

View 4 Replies

Check If A Certain File Exists On The Client-side Using Flash?

Sep 5, 2009

Don't mind about the file's content, just want to know if it exists or not...

View 3 Replies

Compress Wave File On Server And Decompress In Flash / Client Side?

Sep 8, 2011

im using an open source program called Festival that generates text to speech, and in ubuntu i call its method text2wave that converts text into a wave file. I am looking into converting short paragraphs to wave files, but the problem is that each wave file ends up being approximately 1.2MB in size. The wave file is recorded at 16khz, and while recording at 8khz halves the size of the wave file (sacrificing sound quality), the wave file is just simply too large. These paragraphs have to be served many times to the clients and our server can not support that much bandwidth. Is it possible to compress the file on the server, and decompress it in my flash script (on the client side) and play the wave?

View 1 Replies

Flash :: Flex Building An Application With Client Side And Server Side

Sep 3, 2011

I want to create an application that has these features

- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.

- At server side: Manage images used in client side, I can delete, add new images.

Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?

View 1 Replies

ActionScript 2.0 :: Client Side Image Resizing

May 4, 2006

Is flash capable to resize images in clients computer and then upload them?

View 6 Replies

Javascript :: Implementing A Client-side Image Editor

Aug 13, 2010

We want a web app that allows a user to edit images on the browser and we're trying to decide which technology to use. We want to support simple image customization, such as high-quality resizing, cropping, image merging, and color transformations, as well as the addition of text elements with different fonts and colors.

The current options are: Flash: no worries about cross-browser compatibility; could use same image library on client and server; no iPhone/iPad support. Java (compiled to javascript with GWT): need to find a good image library in pure Java so it can be compiled to JS. Plain old javascript + HTML5: may be a mess due to multiple browsers; may need to write image editing code from scratch. Here's what's most important to us / criteria for choosing:

Image consistency: the image that the client edits on the browser must be exactly the same as the one we'll eventually use on the backend. We can achieve this by (a) having the same library both on the client and server to process images, (b) having the client generate the image and upload it to the server, or (c) use two different image processing libraries on the client/server and hope for the best in terms of consistency.

Option (a) seems best, but it would only be possible if we use Flash or Java/GWT. We don't like option (b) because the images are large; we'd rather save a sequence of operations to perform on a raw image than saving multiple transformed images. And we don't really know if option (c) is safe or not. Scalability: We prefer the client to do as much work as possible to decrease server load. Image quality must be kept high
Cross-platform: We'd like to support as many platforms as possible without rewriting everything (big negative for Flash due to iPhone/iPads).

View 3 Replies

Flex :: Creating Client Side PDF With Image Using AlivePDF

Jan 24, 2011

I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf. I am taking the image inside a canvas. How do I control my images so that they come fit on that pdf file for any image size that I take.

View 1 Replies

PHP :: How To Get File Size At Client Side

Sep 21, 2011

How can I get file size at client side using actionscript and javascript.

View 3 Replies

Php :: Load .swf File Quickly At Client Side

Aug 5, 2010

Any tips or methods(encryption, plugins etc) to load flash files (i.e. swf) as quickly as possible at the client side? consider files size is between 5MB - 10MB....

View 3 Replies

Flex :: Reading Client Side Excel File?

Sep 20, 2011

I need to read a excel file from the client side and show it to data grid. I tried searching but could not find something relevant.

View 1 Replies

Javascript :: File Compression Before Upload On The Client-side

Dec 4, 2011

Basically I'll be working with large XML files (approx. 20 - 50 MB). These files needs to be uploaded on a server.I know it isn't possible to touch the files with javascript, nor to implement HTTP compression on the client-side.

My question is that if any solution exists (flash / action script) that compresses a file and has a javascript API? The scenario is this:

Trying to upload 50 MB XML file Before upload a grab it with Javascript and send it to the compressor.Upload the compressed file instead of the original one.

View 4 Replies

Javascript :: Multiple File Upload (client Side)?

Jan 5, 2012

I'm looking for multiple file upload component with alternative ways.I need HTML5, Flash and normal upload support, depended by device.I don't like FancyUpload, because it uses mootools and mootools is very big library.Also I can't use jQuery, because I'm writing on Ext js and it's not good idea to use two big library like jQuery and Ext js.

View 2 Replies

ActionScript 2.0 :: Play .wav File Located On The Client Side?

Jun 21, 2004

I would like to know whether is it possible that Actionscript play .wav files that are stored on the client side? If yes, how? Otherwise, what are the alternatives to enable playback of wave files on the user's computer? I plan to create a button that will playback pre-recorded speech(mp3 format stored in the server) as well as user recorded speech (.wav format stored on the client side after user recorded the speech). How can I do so? I would want to make it away that it appears like a Q&A conversation session between the computer (mp3) and user (recorded wave).

View 5 Replies

ActionScript 3.0 :: Check When Certain File Exists On Client-side Using A Script?

Sep 5, 2009

Don't really care about reading/writing the file, just want to verify that it exists...

View 3 Replies

Java :: Encrypt Sqlite Db File With Server Side / So Flex / Air Client Can Read It?

Jan 23, 2012

We are trying to create a sqlite db file using java on the server, and encrypt it.Then we send the encrypted db file to a client's pc, which has an Adobe Air desktop app running.The air app then needs to be able to open/read-from the encrypted db file (client is read-only).We are using java 1.6, flex/actionscript 4.5, and Air 3.1.We can create the sqlite db file on the server and send it to the client, and it can be read by the client without issues, when we do not encrypt it.But we are having trouble with the encryption part. We've read quite a lot of documentation about Actionscript's ability to open encrypted sqlite files using AES + CCM (URL...).And we're trying to use java's crypto package to encrypt the sqlite db file.The encryption is important because we don't want the client to be able to open the sqlite db file with any sqlite browser, only with our Air application.

View 1 Replies

Flex :: 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?

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

Flex :: Server Side Alerts For Client Side App

Aug 28, 2009

User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functionality? convert to html? take screenshot? assume something is running client side?...)

View 2 Replies

Flex :: Adobe Client-side Or Server-side?

May 17, 2011

I am writing a thesis and have been able to place all my frameworks under two categories (client-side frameworks and server-side frameworks), but I can't seem to finf where to place Adobe Flex...In which category should I place this or should I place it in some separate catgeory?

View 3 Replies

ActionScript 3.0 :: Better To Thumbnail Client Side Or Server Side?

Apr 17, 2009

I am making an app where people upload a bunch of images and it thumbnails them and saves them to the server. Is it better to create thumbnails from the uploaded images, or to upload them to the server then re-download the thumbnails?

View 1 Replies

Actionscript 3 :: Saving Image File On Flash Without PHP

Jun 28, 2010

Is it posible to save a flash scene into an image and save it on client-side hard drive ? Without PHP. I dont care if user has to change flash security options.

View 1 Replies

Flash :: Use Java On Server And Client Side?

Apr 13, 2010

What technology are better (robust, stable, speed) for rich web app with flash movies, chat, etc. Somebody said that Red5 will drop down if more that 50 users try to suck video stream from it. Is there people who use Java on server side and Flash for client side?

View 1 Replies

Way To Interact With A Flash Object From The Client Side?

Sep 5, 2011

My goal is to build a program trader for the upcoming CNBC porfolio challenge. I need a way to collect quotes, current positions and place orders in the flash object.

View 1 Replies

ActionScript 2.0 :: Swapping - Play The Client Side Mp3 First Then Only Play Server Side Sound Object Alternately

Aug 9, 2004

I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:

[Code].....

View 2 Replies

ActionScript 3.0 :: Flash Client-Side Logging And Debugging

Oct 30, 2009

I got the link for the same but this is for Flex. So how can I use this code for flash CS4. What changes are required for flash (fla) file? I import the MyCustomLogger (as per example given) in flash I am confused how to trace the global trace()in flash.
This is the link [URL].

View 7 Replies

ActionScript 3.0 :: Client-Side Video Compression From Within Flash

Oct 28, 2009

I'm creating an app where users can take a video of themselves with their webcams and upload it to our server. Any way to compress video from within flash before an upload? I found On2's Flix Publisher, but it is ridiculously expensive, and requires an additional plugin.

View 1 Replies

Actionscript 3 :: Can Flash Read Client Side Hardware Information

Sep 28, 2010

Can flash read client side hardware information such as RAM, CPU, Computer unique id hard drive size?

I know it can read the camera and maybe the monitor size but the above is still remain unknown to me.

View 3 Replies







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