Actionscript 3 :: Uploadify Progress Bar Only Updates Two Times?
Apr 18, 2011
I am using uploadify in a project and I threw a console.log statement in my onProgress callback... It seems to only be executed when starting the upload, and when completing the upload. Even with a very large file upload, that is the behavior I get.The progress bar is based off of Flash sending data, not off of the server-side reporting back what it's received.[code]and then a big long pause while the file is uploading... Then onAllComplete gets hit.I am wondering if this is somehow related to me running my app in development mode on localhost, and if it were hosted on a real server if the result would be different.. But I have no way of knowing that.
I have an SWF movie (1375 frames) and created a progress bar (248px wide) with a slider that moves according to the movie progress. I'm doing that next way:Calculating the distance for the slider to be moved each frame (248 / 1375) On each ENTER_FRAME moving the slider for the calculated distance The problem is - the movie ends far before the slider reaches the end of the progress bar.
I'm thinking that the distance (Step 1) is is somehow ends floored by Flash and the actual distance it moves the slider is smaller than required. That's why the movie ends, but the timeline control just passed the 2/3 of its way. My question is - is there any solution for the problem? Or any other way to go, if it's a wrong one?
i'm new to AS3. how do i go about executing a custom function n number of times and then executing another function n number of times repeatedly?
eg.
function firstOne():void { }
function secondOne():void { }
i need firstOne() executed say 3 times and then secondOne() 3 times and then firstOne 3 times again and so on. i'm trying to move a movieclip 3 times to the left and then 3 times to the right continuously.
I have been using Uploadify in my PHP application for the last couple months, and I've been trying to track down an elusive bug. I receive emails when fatal errors occur, and they provide me a good amount of details. I've received dozens of them. I have not, however, been able to reproduce the problem myself. Some users (like myself) experience no problem, while others do. Before I give details of the problem, here is the flow.
I'm writing an application which uses cookie-based sessions for authentication. All was well until I tried to integrate the uploadify jQuery plugin into my site. I need uploadify to send the files to my upload.php file. When I check the existence of any preknown session variables in that upload.php script, I get nothing. I've tried print_r($_SESSION) and got an empty array.
I'm not sure if this a problem with my php sessions code or my jquery uploadify code. I'm somewhat new at both.
I have successfully implemented a copy of uploadify into my site. The SWF button shows, I can click on it and browse my files. However, the rubber meets the road whenever it comes to file files showing the queue.For some reason, when I select a file, there isn't any queue, even though I have followed uploadify directions. on how to overcome this? Here are the relative parts of my code:
I am working on a page which uses uploadify to upload several images. The requires the user to upload these files. Is there a way to validate these field(s) on the client-side, such as with jQuery or JavaScript, prior to submission? I am comfortable with doing the server-side validation, such as with PHP.
I'm trying to change the way an Uploadify button looks using the solutions posted here. Instead of changing the Flash file, I want to do it with CSS.
What this involves is wrapping the file input and flash object in a div:
[Code]...
It shows a bizarre blue rectangle over the top of my background-image. Does anyone know why this is appearing? I've tried fiddling with the CSS properties of the object (visibility and hidden) - both hide the entire swf object (and so the blue rectangle), which is useless since it needs to be visible for users to click on.
I created a page with an uploader. As uploader I use Uploadify 3. The code is working on all browsers except for IE9. When I turn IE 9 in compat mode it is working. In IE9, I can't push the upload button. It shows, but there is no reaction to the click. So no file select dialog is opened. In Opera, chrome and FF the button works and when I click the file open dialog is showed.
Flash is running in IE9. (version 11,0,1,152) (youtube is working) When I rightclick the button I don't get flash info. When I do this in all other browsers I get flash info. When I rightclick in youtube (in ie9) I also get flash info.
[Code]...
Did I made a mistake? Is this a flash bug? Or something else?
I'm trying to use uploadify to upload images to a remote server. I've have done everything I can think of for the cross scripting issue or whatever. Here is what i've done. scriptAccess to 'Always' in the uploadify function. I have a crossdomain.xml on my ww2 server with uploadify.swf in the root as well. I have uploaded my javascript jquery lib file to the remote ww2 server and put it in the header I put the jquery.uploadify.js and the swfobject.js in the root directory as well.
If I try to click the X to cancel a file I get the error: Error calling method on NPObject Or uploads don't work either. If anyone can help with this that would be great. If there are any other good flash based or non flash based multi uploaders that will do remote files with no issue please let me know.
I use the JQuery plugin Uploadify for uploading files. It works fine in all browsers. If however I imlement a passwort protection via .htaccess like this
AuthType Basic AuthName "Restricted Files" AuthUserFile /my/path/to/.htpasswd AuthPGAuthoritative Off Require user dev
uploadify stops working in Firefox. In Chrome it still works.
In Firefox the file select box works, but after I selected a file the progress bar does stay at 0% and the file is not uploaded to the server.
I guess the issue is somewhere with flash on password protected sites. how I can fix this, without removing the password protection?
I'm using the update function of Adobe Media Encoder and see that an update is available. I click on download and install it. Everything works fine and I get the message that the update was installed successfully. But when I start AME again it still shows 4.0.0.374 instead of 4.1.0 - what's wrong? I never had this problem before. I also tried to download and install the update by hand. Same result.especially when I see that the contact form of Adobe's customer support portal is offline.
I've used jqUploader for a while but I find that it will occasionally fail to work on certain browsers on certain machines or will not work properly when using HTTP Basic authentication. I've tired of trying to get this to work properly and am considering switching to another (hopefully) less buggy uploader. I've looked into Uploadify and it so far seems promising. Have you experience with any alternatives to jqUploader including possibly Uploadify? If so, what are your thoughts and recommendations?I would prefer that configuring any such uploader require knowledge of JavaScript and/or jQuery, and that it not be totally reliant on any one specific back-end technology. Built-in PHP compatibility is a plus.
I'm running into an issue with Uploadify. I have put Uploadify into my app and all works fine in dev (using the VS web server). All worked fine and checked until I deployed the app into my test environment which uses Integrated Windows Authentication. When I actually go to upload the file, the browser brings up a login prompt. At this point, even if you type in the correct username and password, the request seems not to complete and even if you tell the browser to remember the password it still brings up the login prompt.
When this started to occur, I decided to spin up Fiddler and see what was going on. But guess what, when ever Fiddler is running the issue doesn't occur. Unfortunately I can't make running Fiddler a reuqierment for running the app. I know there are some issues with Uploadify/flash when using forms authentication but I didn't think they carried across to Integrated Windows Authentication.
I'm using Uploadify to allow for multi file uploading in my web application. It has always worked across IE 7,8, 9, FF 3.6, Safari and Chrome. Today I discovered by accident that it was working in each browser yet not in Chrome. I'm currently on Chrome 10.0.648.82 beta. The issue there is that I can select files to upload, yet after that nothing happens. I put alerts in all Uploadify events and non get fired. Then I went to the official demo site: [URL]
...and discovered that it does not work for Chrome there anymore either. I am running Chrome as default as can be, so it updated to this version itself. I have all default settings intact and no popup-blockers, ad blockers or any other add-in installed. I tried to debug using HTTP Fiddler, only to conclude no HTTP request is made at all after selecting files to upload.
I have an HTML form with a file upload element, which is based on Uploadify. Unfortunately, if the browser doesn't have flash installed/enabled (I tested on Chrome and Safari), then the file upload element is completely disappearing, while I would have expected to have at least plain, regular, file upload html element as a fallback.
You can see this behavior even in Uploadify official demo (as of today, 28.2.2011):
none of these work in the situation that flash is installed, but is disabled ! for example, this line:
if (swfobject.getFlashPlayerVersion().major === 0)
behaves the same weather flash is installed and enabled, or installed and disabled I thought about obtaining uploadify API and checking it, but I have found zero examples
I want to be able to trigger a click on the "Upload" button in Uploadify - the reason being I'd like to be able to choose to upload a file from a dropdown menu and hence need to call "Upload" somehow using javascript - unless anyone has another clever idea?
Is there any way to usefully test an Uploadify file upload with Selenium? I'm using Capybara with Rails, but really, any solution with Selenium would be a starting place. I'm worried I may have to disable Uploadify for Selenium testing.
I'm writing this post because it seems there is a lack of support and updates regarding Adobe Flash player for the Sony PS3 and also to show that there is a demand for such an update to be made.It appears the BBC is making an effort, even though PS3 users do not have the latest Flash Player, you can still catch up on all missed BBC shows on the new official BBC iPlayer support for the PS3. See the link below.
http:[url]...............
The current version of Flash Player for the PS3 is outdated (on the latest UK firmware v3.01 at the time of this post) and after spending an hour scouring the internet for news on a forthcoming update, with no success, I've decided to come hear and ask why that is? So why is the Sony PS3 always more than 12 months behind on these updates?
Suppose all that happens initially in a client swf is a user clicks a hyperlink in a text object of the swf, so this requests a "page" from the server. In response the server just modifies that existing swf in the client browser, by for example (?) invoking public functions of it, and possibly passing in as parameters the name of image or data files which were also downloaded in response to the URL request. The crucial part is that all that can happen initially in the SWF is a URL "page" request. Is this commonly done and if so, how.
I just downloaded the Release and Debugger updates for the Mac CS5 Flash. However, the zip files only contained the Mac projector. Wouldn't I need to update the Windows EXE projectors as well? When I publish dual platform projectors I would like both to be up to date. How do I update the Windows EXE projectors on my CS5 Flash installation on my Mac?
i have a dynamically attached movie clip with a dynamic, html enabled text link. This all works fine.. what i want to know is how do i have the link update the content div (a separate div than the one the flash window is in) with a new php script?
I'm a CS4 developer, working in Flash, Dreamweaver, Premiere Pro, Photoshop, etc. I love Adobe products, but I am getting pretty weary of Flash Player updates coming every other day, sometimes every day. I work on several computers, both at work and at home, so the inconvenience of having to stop and go through the update process is multiplied. I know it's not usually a time-consuming process, but still, why so frequent?
It might not be so bad if not for all the other self-updating applications on my systems, not the least of which are the various Windows updates. It's just a little obnoxious.
My students have an ongoing keyboarding contest amongst the classes. So I have their keyboarding data in a spreadsheet that gets updated daily. I want to be able to pull the top 3 scores and names to create a type of Leaderboard and load them dynamically each day to my wesbite as an update instead of having to update my site manually each day. Is there a way for me to do this with AS3?
I have a PHP process that does a bunch of stuff and I want to send feedback to the Flash client that calls it, as the request is being processed. However, since I'm listening for the COMPLETED event, I don't get the feedback until the PHP completes execution (at which time all the buffered messages arrive at once).