0
我有一些变量A1到A14和另一组变量Q1至Q14,而我试图for循环做了这样的for循环(循环变量名)
for(var i:uint = 1; i < 15; i++)
{
if (this("a"+i).x== this("q"+i).x)
{points= points+1 }
else
{
this("q"+i.visible=false;
// shows the good answer
}
}
请帮助:)
什么你认为这条线......这个(“q”+ i.visible = false; – Bhavesh