Drop target problem

Hi
When I do this in test movie it works fine, and when I publish it and look at it embedded in a browser it still works - but when I load this swf into another it doesn’t work. I guess it’s about paths, but I don’t know - also why does target1 have to be a string? I got this code from Kirupa.

on (release) {
if (_root.drag2._droptarget == “/target1”){
{feedback=“That’s correct. Well done.”;
}else {
feedback = “That’s not correct.”;
}
}
Any ideas?