external color change in flash
external color change in flash
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- Visia0
yes, set the colour value as a var and then use your external data source to set the value of that variable.
In pseudocode:
On (press){
LoadVars(myVars.txt);
_root.colour = colourFromSRC;
SetColor(_root.colour);
}I don't have the exact syntax handy in my head but that's the basic process.