This content has been marked as final. Show 4 replies
how do you know it ignores an if-statement?
You are right. I dont know if it ignores my if statements. i do have lots of if statements so there could be contradiction?
Do u know any other ways to get around it?
Trace the variables would be the quickest. Sounds like a variable's value is changed in the course of the first run of the movie, thus changing how the if statements run the second timie around. Best way is to check the very first if statement and go from there. If it's ignoring ALL if statements the second time around, then the problem variable / condition lies in the first if statement, most likely.
first, what doesn't work? if you can't deduce the issue from the overall problem(s), then solve the problems one-by-one.
now, knowing that your swf works, as intended, the first time it plays but not the second usually means you have objects and/or variables defined on subsequent (re)plays that were not defined initially. to resolve that issue, you need to reinitialize, at least, some of those objects and/or variables.