:sombrero: [FONT=Arial][SIZE=4]hello everybody[/SIZE][/FONT]
[FONT=Arial][SIZE=4][/SIZE][/FONT]
[FONT=Arial][SIZE=4]I am here because I need help with this problem using array and for loop.[/SIZE][/FONT]
[FONT=Arial][SIZE=4][/SIZE][/FONT]
[FONT=Arial][SIZE=4]I am new in using flash 8. this is the problem.[/SIZE][/FONT]
[FONT=Arial][SIZE=4][/SIZE][/FONT]
[FONT=Arial][SIZE=4]I have 4 simbols named base1,2,3,4 with an alpha = 0. and I have 4 buttons named m[/SIZE][/FONT][FONT=Arial][SIZE=4]ur1,2,3,4. when I click over “mur1” the symbol “base1” change to alpha = 100. and so on.[/SIZE][/FONT]
[FONT=Arial][SIZE=4][/SIZE][/FONT]
[FONT=Arial][SIZE=4]I need to go to frame 4 when all base symbols had changed to 100; and is here where [/SIZE][/FONT][FONT=Arial][SIZE=4]I need your help. I had tryed meny time but never get it to work.[/SIZE][/FONT]
[FONT=Arial][SIZE=4]Example:[/SIZE][/FONT]
[FONT=Arial][SIZE=4] [/SIZE][/FONT]
[FONT=Arial][SIZE=4]var block:Array=new Array(“base1”,“base2”,“base3”,“base4”);[/SIZE][/FONT]
[FONT=Arial][SIZE=4]for(var i=0; i< block.length; i++){[/SIZE][/FONT]
[FONT=Arial][SIZE=4] if(block = block.length _alpha = 100){[/SIZE][/FONT]
[FONT=Arial][SIZE=4] gotoAndPlay(2);[/SIZE][/FONT]
[FONT=Arial][SIZE=4] }[/SIZE][/FONT]
[FONT=Arial][SIZE=4]}[/SIZE][/FONT]
[FONT=Arial][SIZE=4] [/SIZE][/FONT]
[FONT=Arial][SIZE=4]Realy i dont know if this is the right way of the script, please can you help me to write this action s. or maybe there is another way to put out this final test.[/SIZE][/FONT]
[FONT=Arial][SIZE=4][/SIZE][/FONT]
[FONT=Arial][SIZE=4]I appreciate your help and attention.[/SIZE][/FONT]
[FONT=Arial][SIZE=4]Thankyou[/SIZE][/FONT]
[FONT=Arial][SIZE=4]santana[/SIZE][/FONT]
[FONT=Arial][SIZE=4][/SIZE][/FONT]