Please help me debug this script.
------------
Frame 1:
_root.pris.stiger = "0";
if (_root.main.r1_1._visible == true) {
_root.pris.stige8 = "1";
_root.pris.stige9 = "1";
}
Frame 2:
if (_root.pris.stige8==1) {
_root.pris.stiger = "_root.pris.stiger+1";
}
if (_root.pris.stige9==1) {
_root.pris.stiger = _root.pris.stiger+1;
}
Frame 3:
_root.pris.display = ((_root.pris.stiger)*185);
-------------
_root.pris.display is also a variable in a dynamic textbox.
Why doesn't the textbox display the value (370) when _root.main.r1_1 is visible?
thanks in advance