AS3 coloring book

Hi.
I have this code in AS2 for a coloring book (for take color from an object and put on another) :

on (press) {
color = new Color(this);
color.setRGB(_root.fillColor);
delete color;
}
on (release) {
_root.fillColor = 0xffffff;
}

Can anyone help me to transform this code in AS3 code ?