dragEnter doing weird stuff
Posted: Sat Jun 05, 2010 2:35 am
Hi all, this is day one after a several year hiatus from MetaCard and I'm poking the tires—and already I'm stuck.
The dragEnter statement doesn't work as expected so I'm hoping to get pointed in the right direction. Firstly, I find it incredibly odd that dragEnter appears to function like a mouseEnter. I'm not dragging anything but it keeps firing.
Secondly, I've tried every way from Sunday to clear out the data stored in dragData with zero luck.
So right now my script works fine if I drag an image from the desktop (it detects the drag just fine) but because the dragData is refusing to be cleared my script thinks I'm still dragging files to it even though all that's happening is a harmless mouseEnter.
The dragEnter statement doesn't work as expected so I'm hoping to get pointed in the right direction. Firstly, I find it incredibly odd that dragEnter appears to function like a mouseEnter. I'm not dragging anything but it keeps firing.
Secondly, I've tried every way from Sunday to clear out the data stored in dragData with zero luck.
So right now my script works fine if I drag an image from the desktop (it detects the drag just fine) but because the dragData is refusing to be cleared my script thinks I'm still dragging files to it even though all that's happening is a harmless mouseEnter.