Actionscript problem2.0?

Gale85

Početnik
Poruka
13
Imam problem sa skriptom kad god probam da testiram ono sta sam naprivo u FLash pokoci se i moram da ga ugasim evo skripte pa vi razmislite gde je problem
Kod:
stop();
var novcic=0;
var max = 4;
onEnterFrame = function () {
    if (_root.ball.hitTest(izlaz) == true && novcic==max) {
        gotoAndStop(2);
    }
    for (novcicNum=1; novcicNume<=max; novcicNume++) {
        if(_root.ball.hitTest(_root["novcic"+novcicNum]) == true) {
            novcic++;
            _root["novcic"+novcicNum]._x = -200;
        }
    }
};
 

Back
Top