Drag and drop problem

Hi,

i’ll try and explain this best I can,

i’m developing a drag and drop type game for a college assesment for students

I have set up a test screen to set up it’s funcionality.

For example when I place somthig in a correct position it say “Correct” otherwise it say “wrong”

So up to that point it’s working ok,

but now I want to take it further so it only say wher it’s right or wrong after you click a button,

So I did what I tohught, but it dosent seem to register, no sytax errors come up so it seems to be in the codes logic, I tihnk mabe i’m not referig to the drag item corectly.

I have it somthing like this:

on (release) {

if ("/P1"._droptarget == “/pipetarg”) {
_root.answer1=“wrong”;
}

P1 is the drag item while pipe targ is the target.

any help?

Thankyou.
:jail: