Drag & drop setRGB

Hi, I’ve written this script (using bits from 2 tutorials) There’s a problem in line 6.
It’s probably just some basic syntax that I don’t understand (I haven’t done any actionscript for ages and I’m teaching myself php so I’m probably getting my wires crossed)

on (press) {
startDrag ("_root.pink");
on (release) {
stopDrag ();
if (_root.pink._droptarget == “_root.shapes”) {
var colorful = new Color("_root.shapes");

Can someone help me out with a hint or the correct format for this line please?