Hi there,

is there code that allows me to declare a variable and then use this variable as part of my sprite name?

E.g:

Code:
onFrame (1) {
    question = "q1";
}
and then:

Code:
on (keyPress("<a>")) {
    _root.questions."my variable".gotoAndStop("A");
}
I've tried a few things - but can't get the syntax correct - any help is greatly appreciated.

thanks,
Neil