Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[AS2]problem with random image shower
#3
code still not working

updated one
    ACTIONSCRIPT-Code:
eye1._alpha = 0;
eye2._alpha = 0;
eye3._alpha = 0;
submit.onRelease = function() {
	num == Math.ceil(Math.random()*3)
	if (num == 1) {
		eye1._alpha = 100;
	}
	if (num == 2) {
		eye2._alpha = 100;		
	}
	if (num == 3) {
		eye3._alpha = 100;	
	}
};
Reply
Thanks given by:


Messages In This Thread
RE: [AS2]problem with random image shower - by naruto hyuuga - 10-07-2009, 06:59 AM



Users browsing this thread: 1 Guest(s)