focus++;
if(focus > 2) focus = 1;
switch(focus)
{
case 1:
button1.transp = 0; //opaque
button2.transp = .5; //transparent
break;
case 2:
button1.transp = .5;
button2.transp = 0;
break;
}
Users browsing this forum: No registered users and 1 guest