FrenkTheTenk
%Europe/Berlin %697 %2005, 17:44
-------------------------------------------
for (i=0; i<_global.root.Btafel2.length; i++){
string = 'SteakB' + [i];
trace(string +" wordt invisible");
this.string._visible = false;
}
-------------------------------------------
Waarom werkt deze code niet?
Als ik de string trace dan geeft hij wel het juiste aan, maar toch doet hij niets.
als ik in de code gewoon "this.SteakB0._visisble = false; " dan doet hij het wel.? :eek:
for (i=0; i<_global.root.Btafel2.length; i++){
string = 'SteakB' + [i];
trace(string +" wordt invisible");
this.string._visible = false;
}
-------------------------------------------
Waarom werkt deze code niet?
Als ik de string trace dan geeft hij wel het juiste aan, maar toch doet hij niets.
als ik in de code gewoon "this.SteakB0._visisble = false; " dan doet hij het wel.? :eek: