When I click on a button I want that the buttons color change.
Actionscript Button Color
|
Here is a thing I want to do with flash and I think I need to use actionscript to do this.
When I click on a button I want that the buttons color change.
When I click on a button I want that the buttons color change.
I've figured some how already.
How can I write this code shorter???
on (press) {
var colorful = new Color("_root.c");
colorful.setRGB(0xFFCC00);
var colorful = new Color("_root.e");
colorful.setRGB(0xFFCC00);
}
I couldn't figure out how to write "_root.c" and "_root.e" next to each other.
How can I write this code shorter???
on (press) {
var colorful = new Color("_root.c");
colorful.setRGB(0xFFCC00);
var colorful = new Color("_root.e");
colorful.setRGB(0xFFCC00);
}
I couldn't figure out how to write "_root.c" and "_root.e" next to each other.
New posts
Old posts


