If your cube is a modeled 3d object, the best way to do this is (as already mentioned) to model and export it in a way that each side uses a different texture. That way, you can assign textures as explained in the thread that you linked to. Another option is to use the PolygonManager class, but that requires a bit of guessing which polygon is on which side.