Flash трейсит что-то не понятное
Прет, всем!
У меня есть код в первом кадре
Код:
gb.addEventListener(MouseEvent.CLICK, function hack(e:MouseEvent):void{changeLanguage("gb",2)});
rus.addEventListener(MouseEvent.CLICK, function hack(e:MouseEvent):void{changeLanguage("rus",1)});
pol.addEventListener(MouseEvent.CLICK, function hack(e:MouseEvent):void{changeLanguage("pol",3)});
function changeLanguage(e:String, fram:Number):void {
if (now_language!=e) {
now_language=e;
for (j=0; j<lang_array.length; j++) {
lang_array[j].gotoAndStop(fram);
}
}
}
После нескольких нажатий на эти кнопоки, трейсится вот это
Код:
VerifyError: Error #1107: The ABC data is corrupt, attempt to read out of bounds.
В чем беда?
|