header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Kiran
Points:0
Posts:0
Answered

1/23/2011 9:14:59 AM

Title: Box2D in AIR


Is it possible to implement Box2D in AIR.
If yes, can anyone provide me a sample code for that.



1
MaxFlash
Points: 600
Posts:0
1/23/2011 9:47:01 AM



You can use actionscript to implement BOX2d engine in Adobe AIR. Check the following links are about box2d physics engine in actionscript.

http://www.emanueleferonato.com/2009/01/27/box2d-tutorial-for-the-absolute-beginners/

http://www.matthijskamstra.nl/blog/index.php/2009/01/07/as3-flash-physics-engine-box2d/

2
Manoj
Points: 0
Posts:0
1/25/2011 9:52:17 AM



Thanks for the reply.

But I want the code in AS3 in AIR not in flash.
Can I write the code for Box2D in FLEX Builder.

3
Friend
Points: 710
Posts:0
Accepted Answer
1/26/2011 12:02:00 AM



you can use as3 classes anywhere whether its flex or flash it does not matter. Anyway you can check these flex examples with box2d physics engine

http://www.codeinvain.com/blog/328/simple-box2d-flex-example/
http://www.billdwhite.com/wordpress/?p=256
http://www.billdwhite.com/wordpress/?p=256


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions