Compress Files Using Flash Or HTML5/JS Or Java Before Uploading?

Feb 1, 2012

Using an unobtrusive technology (HTML5, Flash, Java Applet) which runs in the browser, is it possible to handle compressing of files before being uploaded to the server? I'm building software which will be consumed by a lot of slow connections and by non-computer-savvy users and circumventing an application install would be very beneficial for them.

View 1 Replies


Similar Posts:


ActionScript 1/2 :: Compress Files In Zip For Downloading?

Apr 23, 2009

I need to compress some files in a zip or any other wich will be selected for the client for downloading.

View 5 Replies

Playing Local Audio Files With Flash And/or HTML5

Jul 9, 2011

I realize it is possible to play audio with Flash and HTML5 by passing a URL.

However, is it possible to get a reference to an audio file using a file browser (either with HTML5 or Flash), to then play this local file, again using either Flash or HTML5?

Of course, this should happen without the interference of a server. Since the file is already on the local system, it does not make sense to route it through a server only to receive the same file again.

View 1 Replies

Uploading Files In Flash 10 On A Facebook Profile?

Feb 16, 2010

I am developing a facebook application which sits in an application tab.The app is developed in flash and as such must use fb:swf to embed the swf.Therefore it sets allowScriptAccess = never on the swf.There are 3 things that I will need to do, and I am not sure if it will be possible.1) Load external SWF files into the parent swf2) Load dynamic XML from the server3) Upload files to the serverI am using flash 10.

View 1 Replies

Actionscript :: Uploading Multiple Files Via Flash?

Jun 19, 2010

As known, each subsequent time that the FileReferenceList.browse() method is called, the FileReferenceList.fileList property is reset to the file(s) that the user selects in the dialog box. And my question is:

How to manage to "remember" all previously selected files, each subsequent time that the FileReferenceList.browse() method is called? so that to append new ones and upload them all later on.

View 1 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

Flex :: Flash - Uploading Multiple Files Simultaneously?

Feb 3, 2010

I have been working on a flex uploader, where the user can select multiple files.It works fine when the files are uploaded in a queue (one at a time), however as soon as I try to have it upload 2 files at once I run into issues.

It seems that files will often lock up, and either stay at 1% until every other file is uploaded, or just not complete at all. There is never more than one file uploading at a time.Is there some issue with calling .upload on multiple files at once in Flex?

View 7 Replies

Java :: Video Uploading Applet For Users?

Apr 17, 2010

I am working on a small project that I need the ability to let users upload a video to my website or use a webcam to record a video and then upload it. I have seen this done on several sites (youtube,facebook etc) so I know that there is a java or flash applet that supports this. However I have not been able to find one. Any good flash or java based video uploader with these features?

View 2 Replies

Flex :: Flex - Decompress Zlib Files Created With ByteArray.compress?

Dec 21, 2010

I work on a Flex application that creates compressed files and uploads them on a server. The files are created with ByteArray.compress method, which is zlib compression. I can decompress them using Python API on the server but I prefer to keep the files compressed there. I want to be able to download and decompress the files later, however WinZip and WinRar fail to decompress them. When I google for zlib utility, I only find zlib dll library. I need a simple application for Windows (and/or Linux)

View 1 Replies

Actionscript 2 :: Flash - IO Error While Uploading Photo With Low Uploading Internet Speed?

Mar 1, 2010

Actionscript:
System.security.allowDomain("http://" + _root.tdomain + "/");
import flash.net.FileReferenceList;

[code].....

View 2 Replies

Media Server :: FMS4 And HTML5 Failback / Where Should Files Go?

Jun 15, 2011

I have recently purchase and insalled FMS4.I have created several .FLV video files and (.MP4 h264 files for failback for those who would like to view the videos from iOS devices).I have the .FLV files working great on the streaming player (Longtail) using RTMP.My player allows for a failback to .MP4 version of the video for 'Progressive Download' and 'Download'.I understand that HTML5 will not work with RTMP.Is there a way to house these .MP4 files on the FMS and serve them using HTTP from the FMS?Is there an area within FMS that allows HTTP serving?I read something awhile back about setting up Apache Server HTTP to serve the videos.Is this feasble or I'm I better off just putting the files on my web server and linking to them there?Can someone give me some advice on best practices when using failback for HTML5 videos in cases where flash in not available?

View 1 Replies

ActionScript 3.0 :: Uploading Files To PHP?

Oct 8, 2011

Flash Builder 4.5
SDK 4.5.1

The PHP (the // Test part is to check if a script actually reached the php file):

Code:
<?php
$uploaddir = 'C:/Users/XXX/Desktop/UploadTest/';
$uploadfilename = basename($_FILES['userfile']['name']);
$uploadfile = $uploaddir . $uploadfilename;

[Code]....

When I upload a file to "Up_Test.php" via a regular HTTP form, the image ends up in the destination folder and the test file wasHere.txt is created as well.

When uploading with the AS3 function above, only the wasHere.txt file is created, i. e. the AS3 connected to the PHP script, but it did not send the file.

View 3 Replies

Actionscript 3.0 :: Uploading Files From A Mac?

Aug 25, 2009

I made my own Flash CMS where I can upload files to a server via a php-script.It works fine on PC, but stalls on Mac. Well, on Mac it actually upload the file, but somehow don't tell Flash that it's finished uploading the file so the complete-listener never gets the message.

View 2 Replies

Flash :: Way To Embed Flv Files In Java Forms?

Nov 26, 2009

I want to play some flash videos in my desktop application are there any tools (library,jar file, class... etc) to embed flvs in any java forms?

View 2 Replies

.net :: Uploading Large Files With ASP.NET: What Are The Best Practices

Jul 18, 2010

What are, nowadays, the best practices for uploading a large file (which may cause a timeout) with ASP.NET Web Forms and/or MVC? Increase Server.ScriptTimeout (only for the specific POST request); Use some flash client-side uploader like swfupload ([URL]) or plupload ([URL]), but Flash uploads have some issues with proxies; Use some gmail-like javascript (like [URL]

View 2 Replies

Php :: Uploading A Folder Which May Contain Sub Folders Along With Files

May 9, 2011

I'm working on an application where client may upload any folder which may contain sub folders along with files. Is it possible to upload a folder instead of a file?

View 1 Replies

ActionScript 3.0 :: Uploading Files To A Server Through PHP?

Jul 2, 2009

I want to upload my images to server,But i have no idea.pl share if u have any good sample.

View 1 Replies

ActionScript 3.0 :: Uploading Multiple Files To Server

Feb 3, 2011

I'm building an app that needs to upload multiple files to my server. Ask of these files are in one folder. I was told I carnot directly tell a fileReference which files to upload, they would have to be selected manually through browse ().

View 2 Replies

ActionScript 3.0 :: Uploading/emailing/deleting Files?

Sep 10, 2011

I wish users to be able to email me files. I know AS3 you can upload files (PDFs up to 25Mb). Is the best way to:1. Upload the file in flash, and get PHP to then directly email it to me2. Upload the file in flash, get PHP to save the file on a server, then email it to me3. Upload the file in flash, get PHP to save the file on a server, then email a link to me for me to download If it saves the file on the server (options 2 and 3), what happens about deleting the files as after a while they will take up lots of space.

View 4 Replies

ActionScript 3.0 :: Uploading Files Without Using Browse Function?

Jan 11, 2009

IS there a way to upload files using the FileReference Class without using the browse() function? I would like to just tell Flash what classes to upload without the browse box popping up.

View 10 Replies

ActionScript 2.0 :: Uploading Files Using FileReference Tutorial?

Feb 6, 2007

I've done the tutorial "Uploading Files using FileReference" he actionscript is this:

import flash.net.FileReference;
var progressBar:MovieClip;
var reference:FileReference = new FileReference();

[code].....

View 5 Replies

Flex :: Can Enterprise Apps Requiring HTML5's New Feature(s) Support Non-HTML5 Browsers

Nov 16, 2011

I'm just trying to understand how once HTML5 enters the picture, the current concerns about browser incompatibility and other issues go away? Wouldn't HTML5 simply add another set of browsers to the large list of current browsers that the application must target?

That is, assuming the enterprise web app requires one of these new HTML5 features (e.g. playing audio and/or video, integrating SVG or vector graphics, etc.). If such a feature isn't critical then graceful degradation may be acceptable and then my question is moot.

But for those apps that require one of these new HTML5 features, are you planning to support older browsers, or expecting it's acceptable to restrict to HTML5 browsers because the enterprise in question has made one of them their new corporate standard (or other scenario, etc.)?

View 1 Replies

Actionscript 3 :: AMF Type & Other Errors When Transfering Files From Flash To Java?

Nov 3, 2011

I'm using a Flash tool to transfer data to Java. I'm having problems when it comes to sending multiple objects at once. The objects being sent are just generic Object objects, so it's not a case of needed to register a class alias or anything.

Sending one object works fine. Once I start sending multiple objects (putting the same Objects in an Array and sending that), it starts getting weird. Up to three objects in an Array seems to work fine. More than that I get different errors in the readObject() function, such as:

[code]...

If it's going to crash with an "unknown AMF type error", it does so immediately i.e. when we try to read the object, and not when it's trying to read a subobject. In stepping through the read code, it seems when I pass an array of objects, if the length is <= 4, it reads the length right. If the length is bigger than that, it reads it's length as 4.

View 2 Replies

ActionScript 3.0 :: FileReference.upload Freeze While Uploading Big Files

Aug 26, 2008

I'm writing a webbased flash application to upload big files (up to 750MB) on a server using PHP (Version 4). For small files it will work, but for large one the upload process seems to freeze. The upload "freeze" at different times and loaded MegaBytes.

[Code]...

View 1 Replies

Java - Upload Image Thumbnail To Server Without Uploading Whole Image?

Aug 27, 2009

As far as I know, what I ask here isn't possible, but I thought I'd ask anyway in case I'm missing something.

Suppose you want to let users upload JPG images, and these images are scaled into smaller icons and the original images are always discarded and never required again. Is there any way that would commonly work in most modern browsers that would let the user select a single image on their hard drive, have that LOCALLY turned into a thumbnail and upload the created thumbnail to a server?

In a case where the server just needs a small image, it would be wasteful both in user time and server resources to proceed uploading the whole image, only to immediately discard it. It would be much better to just scale it on the client.

I can imagine three options. Just plain HTML/Javascript, using Flash or using Java. If this were possible with Flash, that would seem like the best option. But reading flash.net.FileReference documentation, it seems that you can upload a file from the HD yes, but you cannot look inside the file you are uploading. On the other hand, if you enable "can access local files" in Flash publishing options, it seems that you can then no longer access the net, so that doesn't work.

With HTML/Javascript, it is possible to load images and display them on a <canvas>, but if you try to access the pixels of these images, you get security violations, so that doesn't seem to work.

Java I hesitate to use, because only 96.52% of my users have it installed, and the file upload dialogs I have seen implemented in Java (at Facebook for example) have not worked well (unresponsive interface). I wonder though if Java is the only thing allowing resizing images from local HD?

View 5 Replies

ActionScript 3.0 :: Uploading Multiple Large Image Files Times Out?

Jun 28, 2010

I coded a multiple file uploader using the FileReferenceList and PHP. It works great for me all the time on my Fios internet connection, which is by far faster then DSL, etc... So my issue kinda went unnoticed until I got on a DSL connection. Now, many of the files I was uploading seem to be timing out, but there is no indication of this. No errors, etc... just stops its progress and NEVER finishes. Tried bumping up the script execution time on the server

View 6 Replies

ActionScript 3.0 :: Compress An Embedded PNG (FLASH)

Feb 24, 2011

I'm using this code to embed an image into my flash file:[Embed(source="images/grass01.png")]As you all know, if you embed an image, it comes in without any compression at all.Is there any way to compress this image without having to do it manually? (I have hundreds of images that will be embedded).I came across this link URL...but I assume this is a flex only thing, as I get an error if I try putting the compression variable in my embed tag.

View 1 Replies

.net :: Compress A String In .net C# And Decompress It In Flash?

Jun 23, 2010

I have to load a large xml in flash and I'm trying to send it compressed. To do that I tried to zlib compress the string and send it base64 encoded. In flash I turn the string into a byte array and use its uncompress() method. So far I tried:ZLIB.NET

byte[] bytData = System.Text.Encoding.UTF8.GetBytes(str);
MemoryStream ms = new MemoryStream();
Stream s = new zlib.ZOutputStream(ms, 3);

[code]....

View 2 Replies

Flex :: Read Content Of The Uploading Files Without Using FileReference.load() Method ?

Nov 24, 2011

I'm going to implement a file uploading application using flex 3.5 and php. In the flex code I need to read the content of the uploaded file without calling the FileReference.load() method (Since it is a big issue when uploading large files). I checked many online articles and didn't find a way to do this in flex.access the content of this file without using FileReference.load() method?

View 1 Replies

Flash 9 :: Sound Sometimes Doesn't Compress To Mp3 Properly

Aug 7, 2008

The keyword is "sometimes".

I recompiled a Flash 8 project in Flash CS3 recently and noticed that some of the sound effects sounded like a painful chippy mess. It sounded like the mp3 bitrate was at the lowest Flash outputs (16kbps). I compiled again, and all the problems went away. Then I compiled again and different sounds went chippy!

Fine, whatever. Maybe it's a glitch between project versions.

This week I built a project from the ground up in Flash CS3 with AS 3.0 . The chippy compression is still there and happens most of the time. Both my global and local compression settings for sound clips are mp3, 160kbps, Stereo.

View 8 Replies







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