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:
and then:Code:onFrame (1) {
question = "q1";
}
I've tried a few things - but can't get the syntax correct - any help is greatly appreciated.Code:on (keyPress("<a>")) {
_root.questions."my variable".gotoAndStop("A");
}
thanks,
Neil
