Hello all. . I am trying to get a simple calculation going in flash....
I have created an input text box (variable name: ageVAR) and a dynamic text box (variable name: LuckyNumVAR) on the first frame of the same layer. Also there I have put a button and in the 'action button' section my code is:
[HIGHLIGHT="Actionscript"]on (press) {
LuckyNumVAR = Number (ageVAR) + 2;
}
[/HIGHLIGHT]
however when I test the movie, rather than doing the calculation it reads
I have created an input text box (variable name: ageVAR) and a dynamic text box (variable name: LuckyNumVAR) on the first frame of the same layer. Also there I have put a button and in the 'action button' section my code is:
[HIGHLIGHT="Actionscript"]on (press) {
LuckyNumVAR = Number (ageVAR) + 2;
}
[/HIGHLIGHT]
however when I test the movie, rather than doing the calculation it reads
in the dynamic text box. I cannot figure out why - does anyone have any ideas>?