Surebert Flash Player 10 Uploads Fixed
Well, after working like 24 hours staright, I have upgraded surebert toolkit a bunch and released a flash player 10 compliant javascript accessible multi file upload way ahead of everyone else
. I have to hurry an intergrate it into all my projects before people start moving en massse to flash player ten and no one can upload multifiles anymore.
I am much happier with the new version and I learned a lot. Like how much MXML application suck for tiny things. The smallest I could get it as an MXML application was about 150k which is so freakin lame considering it is just a bttton. I didn't even think to look at the size until I was done and I was so pissed. There was no way I was going to add a 150k button to pages.
So I scapped where I was at and build one form scratch as and Actionscript 3 project in Flex and used the flash drawing API to draw the button states etc. Its nice with an actionscript project you can really get the project size so tiny. I ended up managing to get it all under 10K which is a lot more reasonable. You can style everything bou tthe button from javascript and all the event handlers are the same as the old surebert multifile uploader ones so implementation should be easy. I commented the javascript API but no so much the flex code. The Javascript is here
and assumes you are using the surebert toolkit although you could adapt it to run on anything else. Anyways, the flex code is here if you are interested 

. I have to hurry an intergrate it into all my projects before people start moving en massse to flash player ten and no one can upload multifiles anymore.I am much happier with the new version and I learned a lot. Like how much MXML application suck for tiny things. The smallest I could get it as an MXML application was about 150k which is so freakin lame considering it is just a bttton. I didn't even think to look at the size until I was done and I was so pissed. There was no way I was going to add a 150k button to pages.
So I scapped where I was at and build one form scratch as and Actionscript 3 project in Flex and used the flash drawing API to draw the button states etc. Its nice with an actionscript project you can really get the project size so tiny. I ended up managing to get it all under 10K which is a lot more reasonable. You can style everything bou tthe button from javascript and all the event handlers are the same as the old surebert multifile uploader ones so implementation should be easy. I commented the javascript API but no so much the flex code. The Javascript is here
and assumes you are using the surebert toolkit although you could adapt it to run on anything else. Anyways, the flex code is here if you are interested 
