Actionscript 3 :: Limit On FileReference Uploads?

Jun 17, 2010

I am currently uploading files in ActionScript 3 using the upload() method of the FileReference class.I built an uploader than can do simultaneous or parallel uploads, having a variable set the number of maximum uploads at a time.I noticed that for Internet Explorer I could be uploading 10 or more files simultaneously, but FireFox and Safari seems to cap the number of uploads to 2. That is, when I call the upload method on per say, 3 files, only 2 will get events back (such as ProgressEvent.PROGRESS). Only when one of the 2 uploads finishes, then the 3rd one will start. This behavior does not happen for Internet Explorer. I have tried with a large number of files, and some big files, to make sure this behavior was consistent.

View 1 Replies


Similar Posts:


Flex :: FileReference.load() Not Populating FileReference.data?

Nov 11, 2009

I am trying to use the load method of FileReference object to load the data and use it to display a thumbnail of the selected image.However, after calling fr.load(), fr.data remains null.I'm using Flex Builder 3.0.2 on Windows 7 with Flex SDK 3.4 and Flash Player 10 Debug. If I evaluate fr.load() in Eclipse's watch variables list, I get an error reading "No such variable: load."

View 4 Replies

Php :: Large File Uploads From Webpages?

Apr 27, 2010

I code primarily in PHP and Perl. I have a client who is insisting on seeking video submissions (any encoding) from the public via one of their pages rather than letting YouTube do its job.Server in question is a virtual machine and I can adjust ini settings for max post, max upload size etc as needed.My initial thought is to use a Flash based uploader with PHP on the back end but I wondered if someone might have useful advice and experience on the subject?

View 6 Replies

Php :: Multiple HTTP File Uploads?

Jan 6, 2012

I'm looking for a tool to facilitate mulitple webpage file uploads from a single file browse dialogue. I know this has been asked previously, but I can't find anything current.I'd like to check file size prior to upload, and I gather Flash is still the only way to do that cross-browser? Ideally, I'd like an upload progress metre.I'll be using Linux and Apache servers, but don't have access to install add-ons such as PHP APC. Again, I assume something flash-based is the only option there?

I've looked at SWFUpload, but that appears to be another of these projects where the developers have become quite zealous and turned a simple concept into a full suite of tools for the masses.It seems quite cumbersome and I don't think I want to use it for my purpose.I'd prefer not to have to write something from scratch for this.suggest a non-Flash alternative if there is one? I do need full cross-browser compatibility without too many layers of degradation, so anything HTML 5 probably isn't what I want.

View 1 Replies

ActionScript 2.0 :: Knowing When All Uploads In FileReferenceList Are Done?

Aug 28, 2007

the onComplete listener tells me when the individual file uploads are done in a multi file select upload...but how could I know when they're all done?

View 2 Replies

ActionScript 3.0 :: Multiple Files Uploads Goes To Fast?

Feb 19, 2010

I have been uploading MUltiple files locally and on the server for testing. When i push the button, i start the upload. All files are uploading, thats not the problem, A The problem is i am showing the progress bar and %. i think because of the loop, all are displaying/loading crisscross eachother...

is there a way to wait with the loop, till 1 file is completed upload, then update then start the next one in the array? B also the eventListener for COMPLETE is not working for some reason... the completeHandler after tracing show no results. i have tried to add the listener when i am adding the referencefile into an array, and tried to add when calling back... what is the proper way to add the completeHandler for fileReference?

[Code]....

View 3 Replies

Php :: Why Are Multiple File Uploads Not Simple Without Flash/.NET

Nov 26, 2009

The only tools/plugins I've seen online that allow for multiple files to be selected for upload through one single dialog box using a SHIFT or CTRL click action (as opposed to clicking on a single file per for file uploads) exist for controls made in Flash/.NET/Java, not just straight Javascript/HTML/PHP.

Why is that the case? I'd imagine that if possible, site developers would look to having less dependencies on different technologies rather than more.

View 3 Replies

Actionscript 3 :: Air Flex Uploads URLRequest Maximum Simultaneous

Sep 24, 2009

I'm trying to upload to amazon s3 using FileStream and UrlRequest.

But it seems I can only upload 2 files simultaneously.

Is there a reason for this? How can I work around this?

Also would this affect web service calls to a SOAP web service on the same domain?

View 2 Replies

Php :: Adding Unobtrusive Progress Bar To Old-school File Uploads

Oct 30, 2009

You all know the new generation of fancy, mostly Flash-based file uploaders like SWFUpload that can show a progress bar while uploading - a great improvement especially for shaky and low-bandwidth connections.

However, these uploaders all bring their own logic of how to handle uploads on the client side. I am looking for an unobtrusive way to "fancify" existing, classical file uploads, i.e. introducing a progress bar to normal file upload forms.

Due to the architecture of uploading files, this is most likely not possible without some tweaking on the client side.

I am looking for a solution that keeps the tweaking to an absolute minimum, e.g. a component that adds itself to the onsubmit event of a normal form, performs the file upload, displays a nice progress bar, puts the resulting temporary (server side) file path into the form, and submits it. On the server side, I just have to modify my script to use the file path provided by the flash uploader, instead of $_FILES and consorts, and think about security for a moment.

This is not exactly what all the Flash-based uploaders do: They can use data from a form, but they do not provide possibilities to submit the form as is, what is what I'm looking for. I am looking for a (probably) Flash based upload function taken a step further.

View 6 Replies

Flash :: Uploads Not Being Processed By Upload.aspx When Using Firefox

Feb 3, 2010

Using SWFUpload v2.2, Firefox 3, IE 8, Flash 10In my ASP.NET application all uploads are being processed by upload.aspx (I have the correct upload_url set in the settings object). Can anyone tell me why (in Firefox) the uploads never hit the upload.aspx page? [code]...

View 2 Replies

Javascript :: Handling File Uploads With Google Gears?

Feb 18, 2010

I've been using this method of file uploading for a bit, but it seems that Google Gears has poor support for the newer browsers that implement the HTML5 specs. I've heard the word deprecated floating around a few channels, so I'm looking for a replacement that can accomplish the following tasks, and support the new browsers. I can always fall back to gears / standard file POST's but these following items make my process much simpler:

Users MUST to be able to select multiple files for uploading in the dialog.I MUST be able to receive status updates on the transmission of a file. (progress bars)I would like to be able to use PUT requests instead of POST I would like to be able to easily attach these events to existing HTML elements using JavaScript. I.E. the File Selection should be triggered on a <button> click. I would like to be able to control response/request parameters easily using JavaScript.

An example of uploading code using gears:

// select some files:
var desktop = google.gears.factory.create('beta.desktop');
desktop.openFiles(selectFilesCallback);

[code]....

Edit: apparently flash isn't capable of using PUT requests, so I have changed it to a "like" instead of a "must".

View 2 Replies

Asp.net :: Session Is Different If Flash Uploads Photo To The Aspx Page

Mar 17, 2011

I have a aspx called user-photo-upload.aspx and another aspx called get-photo.aspx. I set the Session["PhotoId"] in the page_load method of user-photo-upload.aspx.

If I visit the user-photo-upload.aspx through the browser normally, the session can be retrieved in get-photo.aspx. But if the flash uploads photo to the user-photo-upload.aspx page, I can't get the Session["PhotoId"] in get-photo.aspx.

I discover that the Session ID is different when visiting the page using browser normally or by flash. I don't know why flash uses another session.

View 1 Replies

Jquery :: Uploadify - Single Progress Bar For Multiple Uploads

Mar 25, 2011

Is it possible to have a single upload progress bar with multiple file uploads using uploadify?

View 2 Replies

Flash :: Player 10 Security Model For File Uploads?

Feb 18, 2012

I've been reading about the security restrictions for file uploads in Flash Player 10.According to the FileReference docs for upload(), the upload does not have to be triggered by a user-initiated action (the browse() does, but that's another story). If it did, that would force an awkward user experience for multi-file uploads, since only one upload can occur at once -- so the user would have to click (or press a button) once per file to initiate the upload, but only when the previous file had finished uploading.

[Code]...

View 2 Replies

Flex :: Component That Uploads Multiple Files In A Multipart / Form-data

Aug 5, 2010

Is there a FLEX component that uploads multiple files in a multipart/form-data POST request?

View 3 Replies

Actionscript :: Flash Builder Network Monitor Not Recording File Uploads?

Jul 31, 2011

I'm uploading an image file with upload() of a FileReference object however the network monitor in Flash Builder doesn't report anything. Is that normal behavior? A google search didn't return anything.

View 1 Replies

ActionScript 3.0 :: Make A Frame Around A Picture That The User Uploads Using Only 1 Image Repeating It?

Dec 3, 2010

I am trying to make a frame around a picture that the user uploads using only 1 image repeating it and scaling it accordingly so that it is as big as it should be in reality arround that picture. My problem is that when I scale the result until some point all is well and than it smears somehow. I've been trying to fix this for 6 days now and I am desperate. I am posting the code that I use tho create the frame parts and a picture of the result after I scale it with scaleX and scaleY.

Code:
public class frame_part extends MovieClip {
public function frame_part(duplicationBitmap_org:Bitmap, neede_pcs_num_height:Number, order:String, rotation_num:int) {
super();

[code]....

P.S. The image that I use for the frame is 400x500 px and is duplicated 208 times.

View 4 Replies

ActionScript 2.0 :: Resizing Uploads - When Each Picture Loads The Loading Frame Resizes To The New Picture Size?

Jan 5, 2005

I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.It must be some sort of actionscripting but how is it done?

View 3 Replies

ActionScript 3.0 :: Uploads As "application/octet-stream"?

Jan 7, 2010

I have a flex multifile uploader which is great, it uses a php page to 'catch' the uploads. I get the file information on the php page using things like this:

Code:
//Name:
basename($_FILES['file']['name'])
//Size:
$_FILES['file']['size'][code]..........

View 1 Replies

Looking For Gallery Component W/ User Sign In & User Uploads

Nov 8, 2009

Id like to find a gallery with user sign in , and user uploads but how difficult would it be to put in a gallery component ,and make a button to allow users to upload straight to a folder on the server? once th epicture is on the server the gallery will do the rest auto

View 1 Replies

FileReference OnUploadCompleteData?

Feb 19, 2008

I've built a flash file upload and have it working very well in AS 2. Now I am tweaking and adding new features to it, and one thing I want to do is rename a file on the event it exists. I'd like to send this back to flash, and looked and saw onUploadCompleteData available for AS 2 in fp9. So I added this event, and it fires as it should, but all data seems to show is "<br />" that is what I trace.

Now I am a little confused, adobe's documentation is, a wee bit scant on this with no examples of usage, and I googled the heck out of it. Adobe's docs says it returns 'raw' data. So, am I mistaken in thinking I can echo name/value pairs in php ad retrieve these? are there other was the get values back from php after the file upload php file is done moving the file?

View 3 Replies

IDE :: Creating It With CS4 But The Filereference?

May 5, 2009

I've got a DVD style project where I need to be able link to files such as PDFs, JPGs and WMVs giving the user the ability to save these to their local drive.

I'm creating it with CS4 but the Filereference.save doesn't work as it needs a HTTP or HTTPS address.

View 5 Replies

IDE :: Using The New Filereference Methods?

Dec 6, 2009

I am trying to make a file upload program using as3 and amfphp. Instead of using the upload method I am instead calling an amfphp function and passing the filereference.data as one of the paramaters. This works well and good, however, i have no way to track the progress of the file upload, other then when it completely finishes uploading. I've decided to chunk up the bytearray in flash before i pass it so that i can get more progress information during the upload. The problem is when I try to take the data from filereference and put it into a bytearray it gives me an End of file was encountered error.

[Code]...

View 2 Replies

ActionScript 3.0 :: Send Filereference To Php?

Apr 9, 2009

I use filereference to browse for a file, when I then send that filereference name to a php for uploading to ftp it says it can't recognize the name.I have this now but I'm guessing the php can't understand the path to the file.[code]...

View 3 Replies

ActionScript 3.0 :: FileReference ProgressEvent?

Nov 17, 2010

After scratching my head for months about a ProgressEvent issue I decided to post my problem.I've been searching the web for a long time about my problem and all I could find was people with similar problems..But none of them had a solution.I've created a SWF file to upload files to the web server.The even triggers the progressEvent.PROGRESS to let a javascript function know when the progress has changed.When it's done uploading it triggers Event.COMPLETE.When I test my code at first it doesn't seem to work.The progress is event 2 or 3 times and then claims it's finished (While the Event.COMPLETE isn't fired yet).When the file is actually uploaded flash triggers Event.COMPLETE accordingly.o Event.COMPLETE is correct.. but ProgressEvent.PROGRESS is not.At least, thats what I thought, when I tested it on another pc (With windows XP 64bit) it worked (Magically?) tried it on a Mac and it, again, worked...why it behaves like this?
Below is my code as it is right now.
 
package
{
import flash.display.MovieClip;

[code].....

View 14 Replies

Flash - Set Wav File To Filereference?

Feb 8, 2011

I'm building a little recorder in flash and I have a little problem with sending the file that is recorded to php. Is there a way to simply send it with a var of do I need to set it to a file reference, but how can I do that because the only way I see that is that you need to browse or load is from somewhere.

View 1 Replies

Flash :: FileReference Won't Accept PNG On Mac?

Mar 24, 2011

I only allow PNG and JPEG files to be uploaded which I defined for all windows computers using the FileFilter via the constructor. The problem is that mac systems (or unix in generell) don't only use the file extension but also read some file type in the header of a file I think.

[Code]...

View 1 Replies

ActionScript 2.0 :: FileReference With FF & Safari On Mac?

Mar 6, 2008

Having an enormously irritating problem with the filereference class. Everything works well on a pc, with when trying it out on a mac the file seems to upload (it reaches 100%) but then throws an HTTP 404 error in my face. What can be done.

Have been browsing the web quite a bit to figure this out and some say that the .htaccess file can be edited to make this work. However It seems like I cant edit the .htaccess file. This is the content of the .htaccess file:

[Code]...

View 1 Replies

ActionScript 3.0 :: Using FileReference Without Uploading?

Jun 10, 2009

I was wondering if it is possible to use files the user selected through browse() in flash, without actually uploading them. For example displaying a local image after the user selected it from their computer.

View 2 Replies

ActionScript 3.0 :: Pdf Download Via FileReference?

Nov 24, 2009

Attempting for the first time to code a pdf download. Here is the code I'm using:

Code:
pdfBtn.addEventListener(MouseEvent.CLICK, dothis);
function dothis(e:MouseEvent):void {
var fr:FileReference = new FileReference();

[code]....

View 1 Replies







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