Damien Pegoraro

How to run Molehill and Away 3D Broomstick with Flash Develop

Here’s my method to make and run cool Molehill projects with current FlashDevelop release (3.3.4 ) :

First of all, the information you may need can all be found here

The first thing you need to do is to install the runtime on a web browser.
What I did is installing it on a browser I don’t use mush ( Internet Explorer … yeah… ) so my usual player is not fucked up.

Download the runtime here

To check that the player is really installed, go here :

You should have something starting with 11.0

At this point, you can run insane Molehill demos on the Web :

Alternativa 8 racing game
Away 3D Broomstick demos
Zombie Tycoon game

It’s time to configure Flash Develop :

– Download the right Flex SDK : build 19786

– Unzip the flex SDK on your drive, don’t override your usual SDK, you’ll regret that !

– Download molehill playerglobal.swc here : playerglobal.swc

– Go into your new Flex SDK directory and more precisely into : YOUR_DIRECTORY\frameworks\libs\player\

– Create a new folder named 10.1

– Paste the playerglobal.swc file into this folder.

– Rename it to playerglobal.swc

Now you can start Flash Develop :

To create a new Molehill ready project :

– Make a new Projet : Project->New Project-> AS3 Project

– Edit the generetad bin/index.html file

– Add the following flashvar to enable GPU acceleration : wmode: “direct”

– Open Project->Properties :

– Set target property to : Flash player 10.1

– Set test movie property to : Run custom command… and leave the command blank

– Switch to Compiler options tab :

– Add this value to Additional Compiler Options : -swf-version=13

– Set Custom Path to Flex SDK value to your fresh downloaded SDK path

– Close the pannel and your project is now ready !

– Press F5 to build the project and everything should be fine !

To test your movie :

– Run the index.html page with the browser where flashplayer 11 is installed.

– You see nothing ? It works !

Now lets add a bit more 3D in this project :

– Get latest Away3D release from SVN repository ( I’m sure you know how to do this… ) :

– Open your project properties

– Switch to Classpath tab

– add AWAY_PATH\broomstick\Away3D\src to include the library.

– Close the properties pannel

Here’s a basic Main file to test your project :

import away3d.containers.View3D;
import away3d.lights.PointLight;
import away3d.materials.ColorMaterial;
import away3d.primitives.Cube;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;

[SWF(width="800", height="600", frameRate="60")] public class Main extends Sprite
private var _view : View3D;
private var _light : PointLight ;
private var _cube : Cube;

public function Main()
_view = new View3D();
_view.antiAlias = 4 ;

_light = new PointLight();
_light.position = ;
_light.color = 0xffffff;
_view.scene.addChild(_light) ;

buildObjects() ;

stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, stageResized);

addEventListener(Event.ENTER_FRAME, step);

private function buildObjects():void
_cube = new Cube() ;
var material : ColorMaterial = new ColorMaterial(0xFF0000) ;
material.lights = [ _light ];
_cube.material = material ;
_view.scene.addChild(_cube) ;

private function step(e : Event) : void
_cube.rotationY += .3;
_cube.rotationX += .3;

private function stageResized(e : Event) : void
_view.width = stage.stageWidth;
_view.height = stage.stageHeight;


In your molehill ready browser, you should see a nice red shaded cube.


Download the whole project

Watch the demo ( need fp11… )

14,598 Comments on “How to run Molehill and Away 3D Broomstick with Flash Develop

  1. [url=]ventolin nebules[/url] [url=]buy prednisone[/url] [url=]buy lasix on line[/url] [url=]cialis[/url] [url=]albuterol[/url]

  2. [url=]lasix[/url] [url=]ventolin hfa 90 mcg inhaler[/url] [url=]proair albuterol inhaler[/url] [url=]buy cheap prednisone online[/url] [url=]cialis[/url]

  3. [url=]homepage[/url] [url=]India Cialis[/url] [url=]cymbalta[/url] [url=]Atarax[/url] [url=]valtrex[/url] [url=]sildenafil[/url] [url=]effexor rx[/url] [url=]Lipitor Canada[/url] [url=]click for source[/url] [url=]levitra 20 mg[/url]

  4. My spouse and i were so joyful when Jordan managed to conclude his investigation through the ideas he grabbed from your very own site. It is now and again perplexing to simply continually be giving for free helpful hints others might have been trying to sell. And now we consider we’ve got the website owner to be grateful to for that. The entire explanations you have made, the simple blog menu, the friendships your site make it easier to engender – it’s got everything great, and it’s really assisting our son and our family believe that this subject matter is exciting, which is certainly extremely essential. Thanks for all the pieces!

  5. I have been browsing on-line more than 3 hours lately, but I by no
    means discovered any fascinating article like yours. It is lovely price sufficient for me.
    In my opinion, if all webmasters and bloggers made just right
    content material as you did, the internet shall be much more
    useful than ever before.

  6. [url=]ventolin[/url] [url=]prednisone 10mg[/url] [url=]cialis[/url] [url=]proair albuterol sulfate where to buy[/url] [url=]lasix without prescription[/url]

  7. [url=]cialis 40 mg[/url] [url=]lipitor pill[/url] [url=]Furosemide[/url] [url=]effexor[/url] [url=]levitra 20 mg[/url] [url=]Valtrex[/url] [url=]atarax for itching[/url] [url=]sildenafil tablets[/url] [url=]cymbalta duloxetine hcl[/url] [url=]cymbalta 60 mg cost[/url]

  8. I have been browsing online more than 3 hours today, yet I never found any interesting
    article like yours. It is pretty worth enough for me.
    Personally, if all site owners and bloggers made good content as
    you did, the internet will be much more useful than ever before.

  9. [url=]Cymbalta Cheap[/url] [url=]levitra[/url] [url=]cymbalta[/url] [url=]atarax pill[/url] [url=]furosemide 40 mg tablets online[/url] [url=]Online Drugs Valtrex[/url] [url=]lipitor 20[/url] [url=]Sildenafil[/url] [url=]venlafaxine effexor[/url] [url=]generic cialis india pharmacy[/url]

  10. [url=]lasix[/url] [url=]buy ventolin[/url] [url=]albuterol[/url] [url=]cialis[/url] [url=]prednisone without[/url]

  11. [url=]WHERE TO BUY VALTREX[/url] [url=]Atarax[/url] [url=]lipitor[/url] [url=]cialis[/url] [url=]cymbalta cost[/url] [url=]furosemide brand name[/url] [url=]levitra 10[/url] [url=]Cymbalta[/url] [url=]viagra sildenafil citrate[/url] [url=]effexor rx[/url]

  12. [url=]as explained here[/url] [url=]Generic Of Cymbalta[/url] [url=]valtrex[/url] [url=]cymbalta[/url] [url=]GENERIC LEVITRA PROFESSIONAL[/url] [url=]atarax[/url] [url=]order cialis from canada[/url] [url=]effexor discount[/url] [url=]sildenafil 20 mg[/url] [url=]generic lipitor[/url]

  13. [url=]prednisone 10mg pack[/url] [url=]best place to buy cialis online[/url] [url=]lasix[/url] [url=]ventolin[/url] [url=]buy albuterol inhaler[/url]

  14. [url=]where can i buy levitra online[/url] [url=]sildenafil tablets[/url] [url=]buy generic valtrex[/url] [url=]Effexor[/url] [url=]cymbalta prozac[/url] [url=]atarax 25[/url] [url=]How Much Is Cialis[/url] [url=]cymbalta[/url] [url=]Furosemide[/url] [url=]Lipitor Generic Cost[/url]

  15. [url=]furosemide 20 mg[/url] [url=]get the facts[/url] [url=]cymbalta 30mg[/url] [url=]atarax[/url] [url=]Cialis[/url] [url=]Valtrex[/url] [url=]levitra price comparison[/url] [url=]lipitor discount[/url] [url=]cymbalta 60 mg[/url] [url=]EFFEXOR CR[/url]

  16. [url=]cialis[/url] [url=]ventolin hfa[/url] [url=]buy lasix without a prescription[/url] [url=]albuterol prescription[/url] [url=]prednisone[/url]

  17. [url=]atarax 50 mg[/url] [url=]cymbalta duloxetine hcl[/url] [url=]effexor 37.5 mg[/url] [url=]levitra[/url] [url=]where can i get cialis[/url] [url=]lipitor[/url] [url=]sildenafil[/url] [url=]cymbalta[/url] [url=]valtrex medicine[/url] [url=]extra resources[/url]

  18. [url=]buy lasix without a doctor’s prescription[/url] [url=]buy made in usa cialis online[/url] [url=]ventolin[/url] [url=]buy albuterol[/url] [url=]prednisone[/url]

  19. [url=]buy cialis[/url] [url=]albuterol online[/url] [url=]ventolin hfa 90 mcg inhaler[/url] [url=]prednisone deltasone[/url] [url=]lasix diuretic[/url]

  20. [url=]ventolin hfa inhaler[/url] [url=]prednisone 20 mg[/url] [url=]cialis[/url] [url=]albuterol[/url] [url=]lasix[/url]

  21. [url=]cymbalta[/url] [url=]atarax 50 mg[/url] [url=]furosemide tablets[/url] [url=]generic levitra professional[/url] [url=]lipitor generic price[/url] [url=]Generic Cymbalta[/url] [url=]visit this link[/url] [url=]effexor[/url] [url=]price of valtrex[/url] [url=]once a day cialis[/url]

  22. [url=]prednisone 20mg[/url] [url=]cialus[/url] [url=]albuterol[/url] [url=]ventolin inhaler[/url] [url=]buy lasix without presciption[/url]

  23. how to get sildenafil in south africa [url=]buy viagra[/url] dangers of cialis

  24. [url=]sildenafil citrate 50 mg[/url] [url=]LIPITOR PILLS[/url] [url=]levitra 100mg[/url] [url=]Valtrex[/url] [url=]cialis[/url] [url=]Effexor[/url] [url=]cost cymbalta[/url] [url=]Atarax Generic[/url] [url=]furosemide generic[/url] [url=]cymbalta cheap[/url]

  25. [url=]cymbalta lexapro[/url] [url=]furosemide medication[/url] [url=]more[/url] [url=]atarax hydrochloride[/url] [url=]sildenafil 100mg tablets[/url] [url=]lipitor 20mg[/url] [url=]cialis[/url] [url=]levitra[/url] [url=]buy valtrex online cheap[/url] [url=]effexor[/url]

  26. Hi exceptional website! Does running a blog similar to this
    require a massive amount work? I’ve absolutely no knowledge of programming however
    I was hoping to start my own blog soon. Anyway, if
    you have any ideas or tips for new blog owners please share.
    I understand this is off topic nevertheless I simply needed to ask.
    Many thanks!

  27. [url=]click this link[/url] [url=]Valtrex Generic Online[/url] [url=]order cialis from canada[/url] [url=]ATARAX WEIGHT LOSS[/url] [url=]Cymbalta Cheap[/url] [url=]lasix vs furosemide[/url] [url=]Lipitor[/url] [url=]more info[/url] [url=]clicking here[/url] [url=]cymbalta 30mg[/url]

Leave a Reply

Your email address will not be published. Required fields are marked *