I’m loading a color from a XML file. eg **0x0AAFD
**and storing it on a variable. eg **var storecolor = myxml.childNodes.attributes.color;
**storecolor returns the value 0x0AAFD.
If I do,
it will work.
Where I am having trouble is when I try to use the var in a MCTWEEN function. eg. box.colorTo(storecolor, 0.3);
I’ve tried making a the variable a string and a number but still doesnt work.
Please not that the the variable is a global var.
Any help is appreciated. Thank You