Ноябрь
29.07.2005, 22:20
flash mx 2004 rpo
код:
choice1_btn.onRelease = function(){
this._parent.q1answer = 1;
this._parent.gotoAndStop("q2");}
;
ошибка:
**Ошибка** Сцена=Сцена 1, слой=choice button, кадр=1:Строка 1: Statement must appear within on handler
choice1_btn.onRelease = function(){
Общее количество ошибок ActionScript: 1 Сообщенные ошибки: 1
объясните в чем дело плз.
код:
choice1_btn.onRelease = function(){
this._parent.q1answer = 1;
this._parent.gotoAndStop("q2");}
;
ошибка:
**Ошибка** Сцена=Сцена 1, слой=choice button, кадр=1:Строка 1: Statement must appear within on handler
choice1_btn.onRelease = function(){
Общее количество ошибок ActionScript: 1 Сообщенные ошибки: 1
объясните в чем дело плз.