A solution to the Firefox session cookie issue with Flash and SWFUpload was posted to the SWFUpload forums at swfupload.mammon.se
I'll reproduce it here when I've got permission and probably adapt SWFUpload R4 to send the cookie value you specify in the settings.
In the meanwhile you can view the post at the SWFUpload Forum
Friday, March 30, 2007
Monday, March 26, 2007
SWFUploadR4 release and SWFUpload v1.0.2
SWFUpload v1.0.2
The official SWFUpload has been updated to version 1.0.2. If you check it out you'll see some familiar code. I was happy to submit my R2 and R3 code to Lars and it seems they liked it enough to incorporate my code design and concepts in to SWFUpload.
It would have been nice to get a little nod for the contribution.
The new 1.0.2 code is very clean and C#-ish. I haven't tried it out but it sure looks pretty.
SWFUpload R4
In the meanwhile, I've updated my Revision of SWFUpload. See this post for the latest release. Sorry to have to use such a crappy download service, but, --what you pay for is what you get--.
One other note before I continue: I get some comments that sound like people are only reading one post about the script. I recommend that you read through all the SWFUpload posts. There are several tips and explanations that will help you get things up and running.
Also, please don't post problems you have with R4 to the official SWFUpload forums. The SWFUpload team cannot be expected to support my unofficial changes and it will only cause headache and confusion to have R4 issues mixed in at the v1.0.2 forum.
Revision 4 includes:
One Bug
I found one bug that I could not work around during my testing. When you attempt to upload a Window's shortcut file SWFUpload normally reports an IO Error. If you use the "Stop Upload" function while a shortcut is being uploaded then you cannot start the upload again. Flash just doesn't start the upload again and doesn't throw any errors or raise any event listeners. This shouldn't affect most users as it is somewhat unusual to upload Window's shortcuts anyhow.
The official SWFUpload has been updated to version 1.0.2. If you check it out you'll see some familiar code. I was happy to submit my R2 and R3 code to Lars and it seems they liked it enough to incorporate my code design and concepts in to SWFUpload.
It would have been nice to get a little nod for the contribution.
The new 1.0.2 code is very clean and C#-ish. I haven't tried it out but it sure looks pretty.
SWFUpload R4
In the meanwhile, I've updated my Revision of SWFUpload. See this post for the latest release. Sorry to have to use such a crappy download service, but, --what you pay for is what you get--.
One other note before I continue: I get some comments that sound like people are only reading one post about the script. I recommend that you read through all the SWFUpload posts. There are several tips and explanations that will help you get things up and running.
Also, please don't post problems you have with R4 to the official SWFUpload forums. The SWFUpload team cannot be expected to support my unofficial changes and it will only cause headache and confusion to have R4 issues mixed in at the v1.0.2 forum.
Revision 4 includes:
- Debug messages from the SWF File when debugging is enabled in the JavaScript.
- New "Stop Upload" feature. This stops the current uploads and allows you to restart them again without canceling anything. Unfortunately Flash doesn't support pausing an upload, but given the nature of HTTP this is understandable.
- The QueueComplete event only calls back if one or more files were successfully uploaded.
- Fixed the bug where canceling the first queued upload starts the other uploads.
- Added url encoding of the uploadBackend string so you can pass more than one value to the upload back-end script. (I didn't get around to testing this)
- The consistent misspelling of Canceled.
- The ActionScript code was cleaned up, commented, improved error handling, debugging, revised to avoid self-calling loops, etc.
One Bug
I found one bug that I could not work around during my testing. When you attempt to upload a Window's shortcut file SWFUpload normally reports an IO Error. If you use the "Stop Upload" function while a shortcut is being uploaded then you cannot start the upload again. Flash just doesn't start the upload again and doesn't throw any errors or raise any event listeners. This shouldn't affect most users as it is somewhat unusual to upload Window's shortcuts anyhow.
Friday, March 23, 2007
SWFUpload R3 bug and download site
I have received a bug report for SWFUpload R3. It may be a little while before I can fix it. I was using the trial version of Flash Studio and it has expired. Does anyone want to donate a copy?
Bug Details
You can reproduce the bug using the SWFUpload Forms Demo. This is the demo where the upload doesn't start immediately but waits for you to call the startUpload function (by clicking the Submit Application button.
The bug occurs when you queue up several files and then cancel the 1st file. The other files will begin uploading. This proceeds to trigger all your Handler functions. In the case of the SWFUpload Forms Demo it triggers a post-back when the queue is complete.
The issue is in the SWFUpload movie file. The Javascript files seem to be fine.
SWFUpload R3 Download
I've signed up at a free file host and have posted the current SWFUpload demos. I'll update the file again when I have a chance to fix the bug. In the meantime the current version is available at 4Shared.com. See this post for the latest release.
Bug Details
You can reproduce the bug using the SWFUpload Forms Demo. This is the demo where the upload doesn't start immediately but waits for you to call the startUpload function (by clicking the Submit Application button.
The bug occurs when you queue up several files and then cancel the 1st file. The other files will begin uploading. This proceeds to trigger all your Handler functions. In the case of the SWFUpload Forms Demo it triggers a post-back when the queue is complete.
The issue is in the SWFUpload movie file. The Javascript files seem to be fine.
SWFUpload R3 Download
I've signed up at a free file host and have posted the current SWFUpload demos. I'll update the file again when I have a chance to fix the bug. In the meantime the current version is available at 4Shared.com. See this post for the latest release.
Thursday, March 15, 2007
SWFUpload live at Glastonbury
A member of the Webteam for the Glastonbury Festival has written back to me about his experience using SWFUpload on their high-volume registration site. Registration is closed so you can't see SWFUpload in action but we've got some interesting numbers to report.
SWFUpload was used on the site to allow registrants to upload a photograph and then see a thumbnail of the photograph before submitting the registration form. The site was required to gracefully degrade in case SWFUpload failed to do its job.
The site designers asked for a copy of the SWFUpload R2 code. They were able to modify it to work for their site.
During the registration period (the month of February) the site received nearly 400,000 registrations. 20,000 of these used the degraded form. This is a 95% success rate for SWFUpload. That sounds pretty good to me!
From what I can gather online registration for the Glastonbury Festival is new this year. The registration system will continue to be enhanced and used again next year. The system has enjoyed some press attention as well:
Glastonbury Festival
Take a minute to learn a bit about the Glastonbury Festival.
Thanks to the Glastonbury Festival Webteam for lettings us in on their experience with SWFUpload in the real world.
SWFUpload was used on the site to allow registrants to upload a photograph and then see a thumbnail of the photograph before submitting the registration form. The site was required to gracefully degrade in case SWFUpload failed to do its job.
The site designers asked for a copy of the SWFUpload R2 code. They were able to modify it to work for their site.
During the registration period (the month of February) the site received nearly 400,000 registrations. 20,000 of these used the degraded form. This is a 95% success rate for SWFUpload. That sounds pretty good to me!
From what I can gather online registration for the Glastonbury Festival is new this year. The registration system will continue to be enhanced and used again next year. The system has enjoyed some press attention as well:
- http://www.majestic-interactive.co.uk/news/glasto-registrations
- http://news.bbc.co.uk/2/hi/entertainment/6422715.stm
Glastonbury Festival
Take a minute to learn a bit about the Glastonbury Festival.
Thanks to the Glastonbury Festival Webteam for lettings us in on their experience with SWFUpload in the real world.
Tuesday, March 13, 2007
Grandpa, Farewell...
My Grandfather passed away this morning. It's been coming for awhile and I am happy and relieved that he has been released from the pain. I will miss him and words cannot describe the kind of man that he is.
And although this is a sad time my faith brings me strength and comfort in the knowledge that this isn't the end but really only the beginning.
Love you Grandpa.
And although this is a sad time my faith brings me strength and comfort in the knowledge that this isn't the end but really only the beginning.
Love you Grandpa.
Subscribe to:
Posts (Atom)