s = []; parentScale =parent.transform.scale.value; for (i =0; i <parentScale.length; i++){ s[i] = (parentScale[i]==0) ?0: value[i]*100/parentScale[i]; } s
Add to the scale of the child you wish to keep the scale control of
-Link Colors
id =thisLayer.name.split(" - ")[1];comp("Style Sheet").layer("Color Style").effect(id)("ADBE Color Control-0001");
Description needed
-Link Text Style
var control =Math.floor(effect("Text Style")("Menu"));switch (control){case1:a =comp("Style Sheet").layer("Header").text.sourceText;a.getStyleAt(0,0);break;case2:b =comp("Style Sheet").layer("Body").text.sourceText;b.getStyleAt(0,0);break;case3:c =comp("Style Sheet").layer("Details").text.sourceText;c.getStyleAt(0,0);break;default:value;break;}
Description needed
-Box Fits Text
s = parent;w=s.sourceRectAtTime().width+30;h=s.sourceRectAtTime().height+30;[w,h]
add code to Size, Parent the text you want the box to fit to.
number refer to padding