I'm trying to tween a custom object property with string values, but they are changed to NaN.
Why are they been treated as number?
.fromTo(_bg, 0.7,
{
currentBg:'bg1',
curentBgType:'gradient',
ratio:0
},
{
currentBg:'bg2',
curentBgType:'gdImg',
ratio:1
},0.001
)