In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

forked from: flash on 2010-3-11

Get Adobe Flash player
by brane7 11 Mar 2010
    Embed
/**
 * Copyright brane7 ( http://wonderfl.net/user/brane7 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/l56S
 */

package {
    import flash.display.*;
    import com.actionsnippet.qbox.*;

    public class FlashTest extends MovieClip {
        public function FlashTest() {
            // write as3 code here..
 
            stage.frameRate = 60;
 
            var sim:QuickBox2D = new QuickBox2D(this);
 
            sim.createStageWalls();
 
            sim.addBox({x:5, y:5, width:1, height:1});
            sim.addCircle({x:4, y:8, radius:2});
 
            sim.start();
            sim.mouseDrag();                        
        }
    }
}