Now that we have created our small world using the Box2D physic engine let’s start creating shapes! The shape factory will allow you to define any shapes you would like to add to your world. In this example we will create polygons. Polygons in this example will be defined as a shape with 3 or […]
Box2D Part 1: It’s a Small World
The Box2d Physics Engine for ActionScript from the Ground Up We’ll start with the basic 2d environment (part 1) and work our way into creating dynamic polygons (part 2) with an anti-gravity effect (part 3). Here’s a preview of what we will end up with: Google Maps Text Event (click and hold the mouse down […]
Google Maps: InfoWindowOptions and TextEvents
Problem: Info windows in Google maps are great but how do you pick up specific text events? It is very common to have a ‘learn more’ or ‘click here’ link nested in your text fields. Without direct access to the TextField class in the InfoWindowOptions how do we pick up these events? Solution: Well, we […]
Compress Transparent PNGs with Flash
Do you use transparent PNGs in Flash, Flex or AIR? Want to cut your application file size in half? Problem: Embedding transparent PNGs dramatically increases the size of your Flash, Flex and AIR applications. Photoshop and Fireworks dot not have any compression available for transparent PNGs (that I am aware of). Solution: Import your PNGs […]