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:

yes it is. :slight_smile:

alougth I havent had poblems eith the text box in other experiments.

I’ll just go and have a play aronund and see.

Eval works!

Thanks!

:smiley:

Right on! :thumb:

Who’s the guy with the white hair? :pope:

You mean my avatar? :h:

yes :slight_smile:

the guy with the white hair wants to kill the malanysian president

Fascinating :tie:

lol, that’s Will Ferrell as Mugatu in the movie Zoolander - one of my faves!

“Kill the Naughty Man AAAAAAHHHHHHH!”

:hr: