Question
why do I have to press button twice?
I've got a button on the stage with an instance name of
"submit" I then have some action script like this...
submit.onPress = function() {
trace("do something");
}
Simple enough but the function isn't called when I first press the button however it is called when I press it for the second time. I've experienced this before and can't get to the bottom of it. Any ideas?
Tim
submit.onPress = function() {
trace("do something");
}
Simple enough but the function isn't called when I first press the button however it is called when I press it for the second time. I've experienced this before and can't get to the bottom of it. Any ideas?
Tim