sasco
09-13-2004, 03:32 AM
I am wondering if there is any way for a symbol to react on its own to having other symbols dragged on to it. For example I would like to have a chunk of code executed from within the drop target when a specific symbol is dragged and dropped onto it. I also need the drop target to be intelligent in the sense that it can react differently depending on the instance name of the object dropped onto it.
Here is what I am trying to acomplish. 3 symbols with a CD icon in them. Each will have its own instance name. 1 symbol that looks like a CD player. When a CD is dropped onto the player the player symbol will read the CD instance name and display it in a text box. Something along those lines.
I have looked at loads of different drag and drop tutorials and have come up with nothing. Any help would be greatly appreciated.
-Matt
*EDIT* I changed the title of this post because I felt that it was too vague and didn't really ask a question.
Here is what I am trying to acomplish. 3 symbols with a CD icon in them. Each will have its own instance name. 1 symbol that looks like a CD player. When a CD is dropped onto the player the player symbol will read the CD instance name and display it in a text box. Something along those lines.
I have looked at loads of different drag and drop tutorials and have come up with nothing. Any help would be greatly appreciated.
-Matt
*EDIT* I changed the title of this post because I felt that it was too vague and didn't really ask a question.