Double3 Attributes and children attributes

I am trying to make a double3 attribute, with 3 children double attributes under it, kinda like a "Translate" attr with the "translateX", "translateY", "translateZ" under it., so you can access it as a tri double, or each part individual.

According tot eh docs it should just be something like:

addAttr -dt "double3" -ln "myColor" nurbsSphere1;
addAttr -at "double" -longName "myR" -p ("myColor") nurbsSphere1;

at which point I get an error, unable to find Parent attribute.....
Any ideas?

I've been able to do things like:
setAttr nurbsSphere1.MyColor -type "double3" 1.1 2.2 3.3;
getAttr nurbsSphere1.myColor;

and I can see it in the connection editor, but I just can't seem to make child double's....please help!

-thanks
comet

Nevermind I figured it out.....I should have followed the sample and done a
-at instead -dt when you make the double3.
The other problem I was having related to this was I was trying to do
setAttr -keyable 1 myColor; // and
setAttr -keyable 1 myR;
BEFORE all the 3 doubles were added as children. The catch is you can't do this or actually access the double 3 until the children are added if you do ti via an -at instead of a -dt..... and you need the -at to add the children.

-comet