Another DX question

Is there a way to set an object to detect when it's beeing "dragged over"?


I'm making this widget and I have an object that you drop files onto. I'd like to have the object's opacity change from say 70% to 100%.  onMouseEnter doesn't work. It works if you have nothing on your mouse, but if you are dragging something, it has no reaction. I also tried onSetFocus. No go there either.


Anybody knows?

3,138 views 4 replies
Reply #1 Top
I don't know DX scripting very well, but is there a positional check? If an object was either on top or under another object. Similar to Z order?
Reply #2 Top

It could probably work if I was dragging an object on top of another, but I'm dragging files (JPGs, BMPs).


But wait... maybe if I can track the mouse's position... I'll give that a try. Thanks for the tip.

Reply #3 Top
It works!  Thanks!!!
Reply #4 Top
hehe, well you're welcome, but if anything I just gave you a little push.