Actionscript color
Actionscript color
Out of context: Reply #4
- Started
- Last post
- 43 Responses
- ozhanlion0
create a color.txt and add this line.
clr="whateveryoulike"in flash;
myLoadVars = new loadVars();
myLoadVars.load("color.txt");
myLoadVars.onLoad = function(success) {
// If the loaded data was decoded, display the title property.
if (success) {
my_color = new Color(MC1);
my_color.setRGB(this.clr);
} else {
trace("Unable to load the title.");
}