HELP _ ERROR 1106

I am getting an error whenever using Box2D.

" b2World.as, Line 585 1106: Operand of increment must be a reference. "

I haven't touched this actionscript file. Can anyone tell me the problem.

Thanks.
What version are you using? The line number is meaningless without it.
BorisTheBrave wrote:
What version are you using? The line number is meaningless without it.


sorry. I'm using the latest one - Box2DFlashAS3 2.0.1.
I went to the website, and downloaded that, but that line is just a {.
Perhaps an undocumented minor release has been out. You should either upgrade, or publish the lines surrounding the error.
BorisTheBrave wrote:
I went to the website, and downloaded that, but that line is just a {.
Perhaps an undocumented minor release has been out. You should either upgrade, or publish the lines surrounding the error.


oh. mine says " _loc_7[++--_loc_9] = _loc_11; ".
What? Have you run it through a mangler or something? There's no such line of code in Box2DAS3 at all.
BorisTheBrave wrote:
What? Have you run it through a mangler or something? There's no such line of code in Box2DAS3 at all.

Hey, I downloaded it again and its okay now 😆 . And it runs fine. don't have a clue what happened to the last one.

Original thread: https://box2d.org/forum/viewtopic.php?t=3563