My boss was looking around for flash uploaders, and he had his mindset on the Solmetra Flash Uploader v1.02. This flash uploader is very nice, specially because it supports custom GUIs! The uploader overall has a nice/clean feel to it.
There were some minor things that needed to be fixed, and some extra features I really wanted it to do. Overall this would be my first time working with flash, and it wasn’t too bad overall. Please note, this isn’t a complete change yet, and was only aimed for changes I needed. If there is enough request for it, I’ll fix it all up to be toggable for some of the new settings I’ve added.
After finishing uploading file, it would not allow you to upload another until the page was refreshed. I wanted to base it more off a general uploader rather then a one time upload. So it was modified to handle this. The next big change was I made it handle multi-file uploads! Now you can add 10 or 20 files and have them upload all at once! Very handy!
One more problem I was having was sending a static variable to the page it processed. Because the flash application is calling the PHP page, it can’t use $_session variables from what I saw. A simple solution was to pass a $_GET variable through the defined ‘SolmetraUploader’. I’ve shown an example of this in demo3.php as well.
Some things that have been changed or fixed:
-Fixed the demo files for examples, added a ‘special’ demo that handles unzipping a zip file, and has a quick way to pass a variable.
-Issue where it would ignore your file size specifications regardless of if you indicated it in the XML or not using PHP. There is now a toggle in the CONFIG if you want it to use PHPs limit, or your specified limit.
-Fixed cancel button. After canceling you may upload again.
-Changed the way the flash uploader ‘completes’. After 4 seconds of displaying ‘Done!’, it will reset it self, allowing you to reupload.
-Some defaults have been changed. Again, I wanted a general multi-uploader, nothing more.
I’m pretty happy with how it turned overall so far. I may continue working on this if there is some requests to it. Here is a demo of the changes and the actual flash application, which allows multi uploads and shows some XML examples. Please note, it doesn’t actually upload to my server, it is just in DEMO MODE (5 seconds demo):
Here are the downloads:
Main Download
Source
If you liked this product, you can check out the original product, or more products at Solmetra!
Hope this helps someone!
No related posts.
Thanks for these mods, Chris. I’m going to try to use this on Kairos Media.
Very cool! Thanks!
I was just searching for this info for a while. After six hours of continuous Googleing, at last I got it in your web site. I wonder what’s the lack of Google strategy that don’t rank this kind of informative web sites in top of the list. Generally the top websites are full of garbage.
thanks man for this;
but can i use $_POST instead of $_GET because I’m on a framework that prohibits the $ _GET
please how can i do this?
Hmm, I may try something out in the near future. Right now this won’t be really possible from what I gather. The script that flash calls doesn’t store/hold any variables, thats why I call/use $_GET since it will use the actual link with the variables stored.
To actually handle this, we would most likely have to edit the flash file and have a way to store params in the actual flash file, and then pass them to the final script that is called. Otherwise there isn’t a way with $_POST at this time.
I may be able to try this, but it may not be a month or so until I can actually tackle it becuase I am in the middle of a large project!
How do i align paragraphs to the left, AND justify them? (webdesign)?
Couldn’t you just use
<p align="justify">
, which aligns to the left and justifies the wording anyways.Is there a parameter (in parameter/config) so I can limit how many file a user can upload in a time? E.g. single file upload for profile picture in profile page and multiple document uploads in other page.
Hello Danny,
At this time you would need to edit the flash and configuration files. I have not done that. I may however work on this project a bit more in the near future, but at this time I am tied up. Overall if you have basic coding knowledge, it shouldn’t be too hard to edit the flash files, since you don’t need to touch the graphical side of flash. If I do get to this I’ll post a reply to you.
Thanks!
Hey, Chris! Brilliant job with the uploader. I am a novice web designer. Can you show me how to add a user form to the uploader that will send the text field variables and the uploaded file information (filename and filepath) to an existing XML file? Thank you in advance.
Is there still problems with HTTPS in this uploader?
Do ya know this problem of’corse? (error 2038 in flash)
i was looking for something like that… but is there still the https problem?
Good ¡V I should certainly pronounce, impressed with your site. I had no trouble navigating through all the tabs and related info ended up being truly simple to do to access. I recently found what I hoped for before you know it in the least. Reasonably unusual. Is likely to appreciate it for those who add forums or something, website theme . a tones way for your client to communicate. Excellent task..
Why can i set a redirect to a page after upload a picture like upload_ok.php ??
This is a great and really extremely usefull mod. I just have one tiny problem which keeps me from using it.
When you select multiple files the string ‘Files Selected’ comes up and there seems to be no way to get this translated via the .xml files like with the other strings. I realized that the string is hard-coded in App.as 731, but unfortunately I can’t change it there, because I didn’t ever used flash before, so I don’t even know what Version of the Flash IDE must be used to compile the sources and how to compile it …
Does anybody have a clue, how this can be done and could give me some hints?
Very useful mod – will implant it on my website. Hope the code is outsource…
This is a great job! Thanks for the modifications!
Only problem I have is that the ‘usePHPmaxuploadfilesize’ => no is not working. I still can’t upload files larger than 8 MB. Do I have to set something else in the config-files? Or do I have to make a modification in php.ini?
What i don’t understood is alcuatly how you are not alcuatly much more well-liked than you might be right now. You’re so intelligent. You realize therefore significantly relating to this subject, produced me personally consider it from so many varied angles. Its like men and women aren’t fascinated unless it is one thing to do with Lady gaga! Your own stuffs excellent. Always maintain it up!
It’s most likely to do with your server settings then. I was able to use it for very large files in an older project (200+ MB files) and it was fine. Check your settings first (Look up how to increase your maximum file sizes).
If you’re on a shared host you won’t really be able to do this. You need complete server control to modify the maximum file size.