Testing Flash Player 11 (Incubator) with Molehill and Away3D

If you don’t know what Molehill is, your missing out. At Adobe Max, Adobe showed Molehill, which is a 3D API for Flash. A team of developers made a cool car came using Molehill and Flash Player 11, which is called Incubator. You can see a video of the game on youtube. Molehill came out at the end of February.

Before I go any further, I want to give credit to these sources:
http://johnlindquist.com/2011/02/28/quickstart-for-molehill-and-away3d/
http://proxxit.appspot.com/theflashblog.com
http://labs.adobe.com/wiki/index.php/Flash_Player_Incubator#Authoring_for_Flash_Player_11.2C0.2C0.2C58_Incubator
http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=5&subindex=1&aid=263

This example was what I came up with after using all the code that was in the video of source 1, that I mentioned above. The video shows you how to get your first object in the scene and rotating it. I used source 2 as a reference mostly.

After watching the video and coding the example used in the video, I spent a few hours messing around with the Molehill API and Away3D. Away3D is not required, but it speeds up the process in getting the scene setup.

For those of you who don’t know what Away3D is, Away3D is a 3rd party library of code that allows Flash Developers to make 3D in Flash.

The reason for this example was to try Molehill for myself and getting familiar with the API and seeing how fast Flash Player 11 is. I thought it would be cool to see how fast and I can make the models move without having Flash Player quit.

You need Flash Player 11 installed to view this content. You can download Flash Player 11 here:
http://labs.adobe.com/technologies/flashplatformruntimes/incubator/

Molehill & Away3D Example with Flash Player 11

This is how fast I’m making these models rotate at frame rate of 60:

private function continuous(event:Event):void{
_mySquare.rotationX += 8000;
_mySquare2.yaw(8000);
_myView.render();
}

I built the example using Flash Builder “Burrito.” It was interesting to develop Flash in Flash Builder instead of Flash. I mostly code in Flash. One of things I want to improve on is using Flash Builder, which is the reason why I wanted to code in Flash Builder, instead of Flash.

Instructions:
http://labs.adobe.com/wiki/index.php/Flash_Player_Incubator#Authoring_for_Flash_Player_11.2C0.2C0.2C58_Incubator

Other Resources and Examples

http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=5&subindex=1&aid=263
http://www.disturbmedia.com/wiki/index.php/How_to_get_started_with_the_Molehill_API_and_Away3D_40.html#Radiolarian
http://proxxit.appspot.com/theflashblog.com
http://johnlindquist.com/2011/02/28/quickstart-for-molehill-and-away3d/