Hi, while trying the box2d sample, i am getting the error in class : B2DebugDraw.hx :
You cannot access the flash package while targeting cross ( for flash.display.Sprite)
Showing a red line under the line : import box2d.dynamics.B2DebugDraw;
I’m working with box2D too, works fine with Flash (and android), everything is ok with the DebugMode. Make sure you have not forget the reference in the project.xml
Thanks.
Got it working now. Didnot make any correction though. No idea why it was giving that error. Tested the files again today, and got it compiled without errors.