mix buttons with multiple results
im doing a color mixing game.. i have 6 buttons.. with shows the color whn u click on the button..
how to i mix them??
btnRed.onPress = function() {
red._visible = true;
btnGreen.onPress = function() {
green._visible = true;
if (btnGreen.onPress && btnRed.onPress) {
yellow._visible = true;
red._visible = false;
blue._visible = false;
green._visible = false;
}
this coding doesn't work..
i have no idea.. how the coding should be..
please HELP me.. =D
multiple buttons.. pls help.. actionscript2.0
Quote:
Originally Posted by
juannabeh
im doing a color mixing game.. i have 6 buttons.. which shows the color you want whn u click on the button..
how to i mix them??
btnRed.onPress = function() {
red._visible = true;
btnGreen.onPress = function() {
green._visible = true;
if (btnGreen.onPress && btnRed.onPress) {
yellow._visible = true;
red._visible = false;
blue._visible = false;
green._visible = false;
}
I wana make it like if red n free button is press.. thn the output movieclip will b yellow..this coding doesn't work..
i have no idea.. how the coding should be..
please HELP me.. =D