This content has been marked as final. Show 4 replies
your script is working, try publish your swf and run the swf, instead of testing movie from flash.
Because when you test movie from flash, your flash run in debug mode where ENTER key means "play".
or, in the test environment, click control/disable keyboard shortcuts.
I tried both ways:
I published the movie and ran the swf and I disabled the keys (control) in Flash, but still I did not get any score in the
score box. Whre I should be possibly going wrong? I double checked the instance names and var of the input field, dynamic field boxes. Please advise how you got it working right.
Else, I would like to try a second option but I am not sure where to incorporate myScore =+25 and insert_txt.text="lascaux"
there's nothing wrong with your code, but there's also nothing about myScore and nothing about a textfield.
why don't you add the code you want to your checkKey() and/or releaseKey() functions?