Have a project that needs Box2DAS3, but checking out the latest and using it with FDT but the Main.as which output PhysTest.swf just sat there ghostly and frozen,
eerily everything in suspended animation, no compiler errors and the same file in FlashCS3 FlashCS4 compiled it fine. After diggging found the answer here (big thanks to nimodo).
How to Fix PhysTest/Main.as to work with Flex
Step1: Change the compiler options background from white to black (see the above picture)
Step2: In TestBed.Test.as Change
public var m_timeStep:Number = 1/30;
To:
public var m_timeStep:Number = 1.0/30.0;
Else "Seems, that the win flash compiler makes m_timeStep:Number = 1/30 = 0". Grr!
Amusingly to me, I am about 2-3 years behind the curve in this area from where I think I should be. But the great news is I am better equipped to do the Wii Puppetry experiment I've been wanting to do forever.

{ 1 trackback }
{ 0 comments… add one now }