Ik zit met het volgende probleempje, misschien dat iemand de oplossing weet.
Ik probeer een functie te maken in flash-actionscript wat er ongeveer als volgt uitziet:
function change(nr1){
if (_root.nr2 != nr1 ){
_root.topback."filmpje + nr1".play();
}
}
Dat "filmpje + nr1" moet ervoor zorgen dat flash het in totaal ziet als:
_root.topback.filmpje1.play() als de variable nr1 het getal 1 was. Maar ik kom er maar niet achter wat de juiste notatie is.
Misschien hier iemand?
thanks
Ik probeer een functie te maken in flash-actionscript wat er ongeveer als volgt uitziet:
function change(nr1){
if (_root.nr2 != nr1 ){
_root.topback."filmpje + nr1".play();
}
}
Dat "filmpje + nr1" moet ervoor zorgen dat flash het in totaal ziet als:
_root.topback.filmpje1.play() als de variable nr1 het getal 1 was. Maar ik kom er maar niet achter wat de juiste notatie is.
Misschien hier iemand?
thanks