If Statment
If Statment
Out of context: Reply #7
- Started
- Last post
- 10 Responses
- autonoma0
Try this instead:
if (itemcount == 1) {
_root.arrivals.newClip.gotoAndSt...
_root.mb.scroll.gotoAndStop(1);
}
else if (itemcount == 40) {
_root.arrivals.newClip.gotoAndSt...
_root.mb.scroll.gotoAndStop(8);
}Not that I changed 'new' to 'newClip' because 'new' is actually an operator that creates a new object in Flash, probably also creating your problem.
I don't know how you have everything structured, so it's hard to say just looking at this small bit of code.