firegambler
Technical User
hi, can anybody please tell me if i used the eval-action correctly
...well i guess not, otherwise the trace action wouldn't tell me "undefined"...
do you probably know how to make this path work? i mean i know the path would be correct if the "eval" action was used correctly, i tried that by writing the full code instead of using some "for" action, but i just cannot figure out how to generate this path with the "for"action
(_level0.menuepunkt is a number from one to six depending on the menubutton pressed)
thanx in advance!!
regards
Firegambler
Code:
if (warten2>zeit2) {
zeit2 = warten2+8000;
bgaktuell = eval("_level1.bg.clip"+_level0.menuepunkt+".flames");
bgaktuell.play();
trace(bgaktuell);
}
...well i guess not, otherwise the trace action wouldn't tell me "undefined"...
do you probably know how to make this path work? i mean i know the path would be correct if the "eval" action was used correctly, i tried that by writing the full code instead of using some "for" action, but i just cannot figure out how to generate this path with the "for"action
(_level0.menuepunkt is a number from one to six depending on the menubutton pressed)
thanx in advance!!
regards
Firegambler