Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.
Posted At : 10:32 AM
Related Categories:
ColdFusion,
Flex
Ryan Favro sent me a link to a really nice example he created showing how to use Flex 2 to build a client that allows you to upload multiple files to ColdFusion (and he has included a View Source). Check it out.
I thought it would be cool if you could also delete files from the server. Pretty much the reverse of what you've done so far. So, instead of having 1 datagrid of files to be uploaded, have another one with files that have already been uploaded and provide functionality to remove them from the server.
You don't really need Flex for this.. you can do this with standard Flash.... We have this running with just Flash and ColdFusion as the backend handeling multiple form upload elements.
You are correct the same can be achieved using he Flash 8 IDE. Both Flash 8 and Flex 2 output a swf file at the end of the day, this example is just one of serveral ways to approach it. Where it is most usefull however is for developers who are building full blown flex apps. They can use the example as starting point for intergrating file IO into their flex apps.
That's impressive. Not much code either. I love the fact you can just select all the files in one hit.
This has really Flexed me.
Glad to read you like the example, I'll be posting some more variations on this in the near future any feature requests?
- Ryan
I thought it would be cool if you could also delete files from the server. Pretty much the reverse of what you've done so far. So, instead of having 1 datagrid of files to be uploaded, have another one with files that have already been uploaded and provide functionality to remove them from the server.
But yes, it's a very nice app indeed.
I' have recieved alot of email about this example so I have decided to publish a blog (<a href="http://ryanfavro.newmediateam.com/blog">"http://ryanfavro.newmediateam.com/blog</a>)so to share more examples like this with you guys, for my first entry i've elaborated a bit more on this example.
- Ryan
You are correct the same can be achieved using he Flash 8 IDE. Both Flash 8 and Flex 2 output a swf file at the end of the day, this example is just one of serveral ways to approach it. Where it is most usefull however is for developers who are building full blown flex apps. They can use the example as starting point for intergrating file IO into their flex apps.