mlk
July 24th, 2003, 09:49 AM
function changephoto(photonumber) {
for (i=1; i<9; i++) {
_root.backgroundd.["im"+i].gotoAndStop(photonumber);
}
}
why doesn't this work ???
(ie the function is supposed to go to a special frame in each im1..im2..im3 of the backgroundd MC...
but the debuuger tells me:
Scene=Scene 1, Layer=Layer 5, Frame=1: Line 5: Expected a field name after '.' operator.
_root.backgroundd.["im"+i].gotoAndStop(photonumber);
thnx
mlk
for (i=1; i<9; i++) {
_root.backgroundd.["im"+i].gotoAndStop(photonumber);
}
}
why doesn't this work ???
(ie the function is supposed to go to a special frame in each im1..im2..im3 of the backgroundd MC...
but the debuuger tells me:
Scene=Scene 1, Layer=Layer 5, Frame=1: Line 5: Expected a field name after '.' operator.
_root.backgroundd.["im"+i].gotoAndStop(photonumber);
thnx
mlk