Archive for the 'ActionScript 3' Category

With the release of the 2.0.1 update of Box2D a couple of things have changed. Here are a couple of changes I have found. If you know of more post a comment. Creating Bodies Previously when creating bodies you had to specify if the body was static or dynamic, this is no longer the case. […]

Joints are one of the most interesting parts of Box2D. Over the next several weeks I will attempt to explain all of the Box2D joint types and possibly add a new one. Before You Start I have switched over to pixels as my primary unit for working with Box2D. This was done by changing the […]

Creating complex shapes,aka compound shapes, in Box2d is accomplished by adding multiple shapes to a body. In exploring complex shapes I learned a bunch about defining objects in general. Again I couldn’t find any tutorials on this but I have been using the box2d manual. It helps but isn’t the best. Before we start When […]

Getting started with Box2D in Flash is harder then it should be. The demos are great and if you spend some time with them and the Box2D forums you can get up and running pretty quick. It’s a shame there isn’t more tutorials yet. I hope this intro will help get people started a bit […]

Flash CS3’s addition of regular expressions gives you tons of control over your text in flash. For anyone who has experience with regexp this will seem trivial but for those just starting out I hope this example will prove useful. The example is for processing specific data out of an HTML page because there isn’t […]