File drag and drop

Hi everybody,

I use the below code to  upload files with a flash progress bar.
How can I manipulate my code to have a drag and drop file  (multi file!) feature using the method described at the link.
What steps you suggest me?
Thank you.

<script src="mootools.js"></script>
<script src="Fx.js"></script>
<script src="Swiff.js"></script>
<script src="FancyUpload.js"></script>

<script type="text/javascript">
window.addEvent('load', function() {
	var up = new FancyUpload.Attach('demo-list', '#demo-attach, #demo-attach-2', {
		path: 'images/Swiff.Uploader.swf',
		url: 'server/upload.php',
		fileSizeMax: 50 * 1024 * 1024,verbose: true,

		onFileSuccess: function(file) {


<body >
<div id="demo"  >
<a href="#_"   id="demo-attach"    >Attach a file</a>
<ul id="demo-list"  ></ul>
<a href="#_"   id="demo-attach-2"    >Attach more</a>

Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Randy DownsOWNERCommented:
Maybe you can incorporate this.

Drag and Drop is one of those interactions that can really help to make an interface simple to use. There are plenty of JavaScript libraries that can be used to create drag and drop interfaces but what many people don’t know is that all of the major browsers actually have native support for drag and drop.

In this blog post you are going to learn how to make use of the native Drag and Drop API in order to create your own Drag and Drop interfaces.
Suggestion you may like Pupload or Dropzone they does that by default

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
myyisAuthor Commented:
Thank you all
What  I  want specifically is to change the code attached above and add a drag a drop feature.

Especially if somebody tells me the part that I should change at  the file "FancyUpload.js" I will be happy.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

It is just that FancyUpload.js is very very old script... I would not recommend using it as you will probably encounter compatibility issue eventually with browsers.

And Pupload or Dropzone are so cool and easy :)
myyisAuthor Commented:
Well I am happy using that, so  I prefer not to change now.
myyisAuthor Commented:
I will try dropzone, thank you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.