I am working on a project where I have the gradient object displayed horizontally, but I need to rotate it in the final frame to vertically (so 90 degrees, I believe?)
I tried using this kind of syntax(?) and it didn't work:
TweenMax.to(g1.el, (css:x:90});
TweenMax.to(g1.el, {attr:{gradientTransform:'rotate(90)'}});
m.tmln.to(g1, {attr:{gradientTransform:'rotate(90)'}});
This is the gradient object for reference:
g1 = m.construct('grdnt', {
stops:[
{offset:0, color:'#e60e64'},
{offset:1, color:'#572c60'},
]
});
Any help would be greatly appreciated! I hope it makes sense! ?