DEV STUFF

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 :

http://www.flashplayerversion.com/

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… ) :

http://away3d.googlecode.com/svn/trunk

– 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 :


package
{
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;
import flash.events.Event;

[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 ;
addChild(_view);

_light = new PointLight();
_light.position = _view.camera.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;
_view.render();
}

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.

NOW GO FOR DEMOS WITH BILLIONS OF POLYGONS §§§

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=https://ventolin90.com/]ventolin nebules[/url] [url=https://prednisone20.com/]buy prednisone[/url] [url=https://lasix40.com/]buy lasix on line[/url] [url=https://cialisq.com/]cialis[/url] [url=https://albuterolhf.com/]albuterol[/url]

  2. [url=http://lasix40.com/]lasix[/url] [url=http://ventolin90.com/]ventolin hfa 90 mcg inhaler[/url] [url=http://albuterolhf.com/]proair albuterol inhaler[/url] [url=http://prednisone20.com/]buy cheap prednisone online[/url] [url=http://cialisq.com/]cialis[/url]

  3. [url=http://genericcymbalta.us.org/]homepage[/url] [url=http://cialisbest.us.com/]India Cialis[/url] [url=http://cymbaltageneric.us.org/]cymbalta[/url] [url=http://ataraxbest.us.org/]Atarax[/url] [url=http://valtrexbest.us.com/]valtrex[/url] [url=http://sildenafiloffers.us.com/]sildenafil[/url] [url=http://effexorxr.us.org/]effexor rx[/url] [url=http://lipitorgeneric.us.org/]Lipitor Canada[/url] [url=http://furosemide20mgtab.us.org/]click for source[/url] [url=http://levitra20mg.us.org/]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=https://ventolin90.com/]ventolin[/url] [url=https://prednisone20.com/]prednisone 10mg[/url] [url=https://cialisq.com/]cialis[/url] [url=https://albuterolhf.com/]proair albuterol sulfate where to buy[/url] [url=https://lasix40.com/]lasix without prescription[/url]

  7. [url=http://cialisbest.us.com/]cialis 40 mg[/url] [url=http://lipitorgeneric.us.org/]lipitor pill[/url] [url=http://furosemide20mgtab.us.org/]Furosemide[/url] [url=http://effexorxr.us.org/]effexor[/url] [url=http://levitra20mg.us.org/]levitra 20 mg[/url] [url=http://valtrexbest.us.com/]Valtrex[/url] [url=http://ataraxbest.us.org/]atarax for itching[/url] [url=http://sildenafiloffers.us.com/]sildenafil tablets[/url] [url=http://genericcymbalta.us.org/]cymbalta duloxetine hcl[/url] [url=http://cymbaltageneric.us.org/]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=http://genericcymbalta.us.org/]Cymbalta Cheap[/url] [url=http://levitra20mg.us.org/]levitra[/url] [url=http://cymbaltageneric.us.org/]cymbalta[/url] [url=http://ataraxbest.us.org/]atarax pill[/url] [url=http://furosemide20mgtab.us.org/]furosemide 40 mg tablets online[/url] [url=http://valtrexbest.us.com/]Online Drugs Valtrex[/url] [url=http://lipitorgeneric.us.org/]lipitor 20[/url] [url=http://sildenafiloffers.us.com/]Sildenafil[/url] [url=http://effexorxr.us.org/]venlafaxine effexor[/url] [url=http://cialisbest.us.com/]generic cialis india pharmacy[/url]

  10. [url=https://lasix40.com/]lasix[/url] [url=https://ventolin90.com/]buy ventolin[/url] [url=https://albuterolhf.com/]albuterol[/url] [url=https://cialisq.com/]cialis[/url] [url=https://prednisone20.com/]prednisone without prescription.net[/url]

  11. [url=http://valtrexbest.us.com/]WHERE TO BUY VALTREX[/url] [url=http://ataraxbest.us.org/]Atarax[/url] [url=http://lipitorgeneric.us.org/]lipitor[/url] [url=http://cialisbest.us.com/]cialis[/url] [url=http://genericcymbalta.us.org/]cymbalta cost[/url] [url=http://furosemide20mgtab.us.org/]furosemide brand name[/url] [url=http://levitra20mg.us.org/]levitra 10[/url] [url=http://cymbaltageneric.us.org/]Cymbalta[/url] [url=http://sildenafiloffers.us.com/]viagra sildenafil citrate[/url] [url=http://effexorxr.us.org/]effexor rx[/url]

  12. [url=http://furosemide20mgtab.us.org/]as explained here[/url] [url=http://cymbaltageneric.us.org/]Generic Of Cymbalta[/url] [url=http://valtrexbest.us.com/]valtrex[/url] [url=http://genericcymbalta.us.org/]cymbalta[/url] [url=http://levitra20mg.us.org/]GENERIC LEVITRA PROFESSIONAL[/url] [url=http://ataraxbest.us.org/]atarax[/url] [url=http://cialisbest.us.com/]order cialis from canada[/url] [url=http://effexorxr.us.org/]effexor discount[/url] [url=http://sildenafiloffers.us.com/]sildenafil 20 mg[/url] [url=http://lipitorgeneric.us.org/]generic lipitor[/url]

  13. [url=https://prednisone20.com/]prednisone 10mg pack[/url] [url=https://cialisq.com/]best place to buy cialis online[/url] [url=https://lasix40.com/]lasix[/url] [url=https://ventolin90.com/]ventolin[/url] [url=https://albuterolhf.com/]buy albuterol inhaler[/url]

  14. [url=http://levitra20mg.us.org/]where can i buy levitra online[/url] [url=http://sildenafiloffers.us.com/]sildenafil tablets[/url] [url=http://valtrexbest.us.com/]buy generic valtrex[/url] [url=http://effexorxr.us.org/]Effexor[/url] [url=http://cymbaltageneric.us.org/]cymbalta prozac[/url] [url=http://ataraxbest.us.org/]atarax 25[/url] [url=http://cialisbest.us.com/]How Much Is Cialis[/url] [url=http://genericcymbalta.us.org/]cymbalta[/url] [url=http://furosemide20mgtab.us.org/]Furosemide[/url] [url=http://lipitorgeneric.us.org/]Lipitor Generic Cost[/url]

  15. [url=http://furosemide20mgtab.us.org/]furosemide 20 mg[/url] [url=http://sildenafiloffers.us.com/]get the facts[/url] [url=http://cymbaltageneric.us.org/]cymbalta 30mg[/url] [url=http://ataraxbest.us.org/]atarax[/url] [url=http://cialisbest.us.com/]Cialis[/url] [url=http://valtrexbest.us.com/]Valtrex[/url] [url=http://levitra20mg.us.org/]levitra price comparison[/url] [url=http://lipitorgeneric.us.org/]lipitor discount[/url] [url=http://genericcymbalta.us.org/]cymbalta 60 mg[/url] [url=http://effexorxr.us.org/]EFFEXOR CR[/url]

  16. [url=https://cialisq.com/]cialis[/url] [url=https://ventolin90.com/]ventolin hfa[/url] [url=https://lasix40.com/]buy lasix without a prescription[/url] [url=https://albuterolhf.com/]albuterol prescription[/url] [url=https://prednisone20.com/]prednisone[/url]

  17. [url=http://ataraxbest.us.org/]atarax 50 mg[/url] [url=http://genericcymbalta.us.org/]cymbalta duloxetine hcl[/url] [url=http://effexorxr.us.org/]effexor 37.5 mg[/url] [url=http://levitra20mg.us.org/]levitra[/url] [url=http://cialisbest.us.com/]where can i get cialis[/url] [url=http://lipitorgeneric.us.org/]lipitor[/url] [url=http://sildenafiloffers.us.com/]sildenafil[/url] [url=http://cymbaltageneric.us.org/]cymbalta[/url] [url=http://valtrexbest.us.com/]valtrex medicine[/url] [url=http://furosemide20mgtab.us.org/]extra resources[/url]

  18. [url=https://lasix40.com/]buy lasix without a doctor’s prescription[/url] [url=https://cialisq.com/]buy made in usa cialis online[/url] [url=https://ventolin90.com/]ventolin[/url] [url=https://albuterolhf.com/]buy albuterol[/url] [url=https://prednisone20.com/]prednisone[/url]

  19. [url=https://cialisq.com/]buy cialis[/url] [url=https://albuterolhf.com/]albuterol online[/url] [url=https://ventolin90.com/]ventolin hfa 90 mcg inhaler[/url] [url=https://prednisone20.com/]prednisone deltasone[/url] [url=https://lasix40.com/]lasix diuretic[/url]

  20. [url=https://ventolin90.com/]ventolin hfa inhaler[/url] [url=https://prednisone20.com/]prednisone 20 mg[/url] [url=https://cialisq.com/]cialis[/url] [url=https://albuterolhf.com/]albuterol[/url] [url=https://lasix40.com/]lasix[/url]

  21. [url=http://cymbaltageneric.us.org/]cymbalta[/url] [url=http://ataraxbest.us.org/]atarax 50 mg[/url] [url=http://furosemide20mgtab.us.org/]furosemide tablets[/url] [url=http://levitra20mg.us.org/]generic levitra professional[/url] [url=http://lipitorgeneric.us.org/]lipitor generic price[/url] [url=http://genericcymbalta.us.org/]Generic Cymbalta[/url] [url=http://sildenafiloffers.us.com/]visit this link[/url] [url=http://effexorxr.us.org/]effexor[/url] [url=http://valtrexbest.us.com/]price of valtrex[/url] [url=http://cialisbest.us.com/]once a day cialis[/url]

  22. [url=https://prednisone20.com/]prednisone 20mg[/url] [url=https://cialisq.com/]cialus[/url] [url=https://albuterolhf.com/]albuterol[/url] [url=https://ventolin90.com/]ventolin inhaler[/url] [url=https://lasix40.com/]buy lasix without presciption[/url]

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

  24. [url=http://sildenafiloffers.us.com/]sildenafil citrate 50 mg[/url] [url=http://lipitorgeneric.us.org/]LIPITOR PILLS[/url] [url=http://levitra20mg.us.org/]levitra 100mg[/url] [url=http://valtrexbest.us.com/]Valtrex[/url] [url=http://cialisbest.us.com/]cialis[/url] [url=http://effexorxr.us.org/]Effexor[/url] [url=http://cymbaltageneric.us.org/]cost cymbalta[/url] [url=http://ataraxbest.us.org/]Atarax Generic[/url] [url=http://furosemide20mgtab.us.org/]furosemide generic[/url] [url=http://genericcymbalta.us.org/]cymbalta cheap[/url]

  25. [url=http://genericcymbalta.us.org/]cymbalta lexapro[/url] [url=http://furosemide20mgtab.us.org/]furosemide medication[/url] [url=http://cymbaltageneric.us.org/]more[/url] [url=http://ataraxbest.us.org/]atarax hydrochloride[/url] [url=http://sildenafiloffers.us.com/]sildenafil 100mg tablets[/url] [url=http://lipitorgeneric.us.org/]lipitor 20mg[/url] [url=http://cialisbest.us.com/]cialis[/url] [url=http://levitra20mg.us.org/]levitra[/url] [url=http://valtrexbest.us.com/]buy valtrex online cheap[/url] [url=http://effexorxr.us.org/]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=http://sildenafiloffers.us.com/]click this link[/url] [url=http://valtrexbest.us.com/]Valtrex Generic Online[/url] [url=http://cialisbest.us.com/]order cialis from canada[/url] [url=http://ataraxbest.us.org/]ATARAX WEIGHT LOSS[/url] [url=http://genericcymbalta.us.org/]Cymbalta Cheap[/url] [url=http://furosemide20mgtab.us.org/]lasix vs furosemide[/url] [url=http://lipitorgeneric.us.org/]Lipitor[/url] [url=http://levitra20mg.us.org/]more info[/url] [url=http://effexorxr.us.org/]clicking here[/url] [url=http://cymbaltageneric.us.org/]cymbalta 30mg[/url]

Leave a Reply

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