Drag and drop using targets

Why dosent this code work in falsh mx 2004?

on (press) {
	startDrag("_root.green");
}
on (release) {
	stopDrag();
	if (_root.green._droptarget == "/computer") {
		_root.computer.gotoandStop("green");
			}

the start dragging part works
and the stop dragging part works
but all the if-part dosen’t work…
It works in flask mx, bur I can’t figure out what to change to make it work in flash mx 2004

heeeelp