Wonder if someone more experienced could help. When i run this flash file the movies freezes. Its specifically when i click the button that activates this function. I dont think its a never ending loop. Having changed a few things around I know for sure this code is the prob
function calculateScore() {
var i:Number = 0;
while (i < dealerScoreArray.length) {
trace("SCORE " + i);
}
}
Any ideas whats wrong? the dealerScoreArray always has an item pushed into it before this function is called so will have at least 1 in length
Thanks if anyone can help