[Papervision3D] FlashDevelop - Papervision Template

Trevor Burton worldofpaper at googlemail.com
Thu Mar 22 04:29:45 EST 2007


David's right, the @mxmlc command is quicker (especially for large apps -
PaperWorld is closing in on the 400 class mark now - and it takes less than
10 seconds to compile with the @mxmlc tag, around 20 with Ant - and the
Adobe AS3 preview takes several minutes!) - I really need to get my head
around the new exclude mechanism!

But, if you're not familiar with Ant already and you're planning on doing a
lot of AS3 work then i strongly recommend you investigate it. It's not just
for compiling but will run any program and manipulate it once open, will
move, copy, open files, append, remove, delete from an opened file - rename
things, the list is endless and if you know a little Java you can easily
write your own tasks to extend it's functionality - we swear by it at work
and i use it at home a lot now, PaperWorld will rely heavily on it for
compiling and deploying.

You can run Ant targets directly from Eclipse, too, so i'm guessing there's
something similar in the Flex IDE.

T

On 3/22/07, Boris Horn <b.horn at asdag.com> wrote:
>
>  It seems, that your blog is currently down !?
>
>  ------------------------------
> *Von:* Papervision3D-bounces at osflash.org [mailto:
> Papervision3D-bounces at osflash.org] *Im Auftrag von *David Rorex
> *Gesendet:* Donnerstag, 22. März 2007 02:41
> *An:* Papervision3D at osflash.org
> *Betreff:* Re: [Papervision3D] FlashDevelop - Papervision Template
>
> If you use FlashDevelop's native mxmlc support (and not Ant), it compiles
> a bit faster: it keeps the mxmlc preloaded into memory, so it does not need
> to reload Java JVM each time you hit compile.
>
> I have a very very brief document on how I set my FlashDevelop up, using
> the native support.
> http://blog.davr.org/actionscript3-quickstart/
>
> -David R
>
> On 3/21/07, Trevor Burton <worldofpaper at googlemail.com> wrote:
> >
> > if you're using AS3 then you don't need to worry about MTASC cause it
> > only compiles AS2.
> >
> > the ANT build is so-called because it uses the incredibly useful tool
> > called Ant to run the mxmlc compiler and give it all the right parameters,
> > and do some other stuff.
> >
> > google for apache ant if you want to know more. Basically if you
> > navigate to a directory that contains a file called build.xml and run
> > ant it will read the build.xml file and execute the commands that are
> > there inside it (they're called 'targets').
> >
> > T
> >
> > On 3/21/07, Boris Horn < b.horn at asdag.com> wrote:
> > >
> > > Thank you - the template was that i need it :-)-
> > >
> > > But i dont understand the difference between MTASC Build and ANT Build
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Papervision3D-bounces at osflash.org [mailto:
> > > Papervision3D-bounces at osflash.org] Im Auftrag von granula at gtnh.net
> > > Gesendet: Mittwoch, 21. März 2007 11:57
> > > An: Papervision3D at osflash.org
> > > Betreff: [Papervision3D] FlashDevelop - Papervision Template
> > >
> > > Firstly, set up Flashdevelop as per the AS3 instructions at ;
> > >
> > > http://www.bit-101.com/blog/?p=849
> > >
> > > Then, making sure you have added the ANT shortcut to the menu xml,
> > > click the ANT button to compile to the mxmlc compiler which is installed
> > > with flex 2.0.
> > >
> > > Any of the examples which use images in the FLA will not compile in
> > > FlashDevelop as the compiler doesn't do script insertion. You will need to
> > > use the BitmapMaterial/Embed method to add external materials to your
> > > objects.
> > >
> > > I have created a FlashDevelop Template to use as a starting point and
> > > to test the installation.
> > > 1) Copy the uncompressed folder it to your
> > > flashdevelop/data/projecttemplates folder.
> > > 2) Edit the build.properties to point to your flex 2 sdk.
> > > 3) Copy the AS3 "com" and "org" folders from SVN repository
> > > (as3/trunk/src) to the src folder of the new template (or better still,
> > > import them into that folder using tortoise, then You can update the src at
> > > your leisure).
> > > 4) Open up FlashDevelop and select Project>New Project>PaperVision AS3
> > > Project
> > > 5) Run the compile using the ANT button you installed as per
> > > instructions at
> > > bit101 and you should see a plane cloud with rollover and click events
> > > attached.
> > >
> > > Lush
> > >
> > > Granula
> > >
> > > -----Original Message-----
> > > From: Papervision3D-bounces at osflash.org
> > > [mailto: Papervision3D-bounces at osflash.org] On Behalf Of Boris Horn
> > > Sent: 21 March 2007 10:04
> > > To: Papervision3D at osflash.org
> > > Subject: [Papervision3D] Papervision3D Running with Flashdevelop
> > >
> > > Hi Papervision-Friends,
> > > Influenced by Lee Brimelow and some other awesome demos made with
> > > Papervision3D, i fired up my subversion to get the lastest repository and
> > > tried some of the examples. When i'm using the Flash 9-Alpha-IDE, everything
> > > works fine, but when i try to use my prefered AS 3.0 Editor
> > > "FlashDevelop", the examples don't work anymore. And that's my question -
> > > How to setup FD to get the Papervision-Sources run?
> > >
> > > Mit freundlichen Grüssen
> > > Boris Horn
> > >
> > > __________________________
> > > Boris Horn
> > >
> > > asdag
> > > application service development AG
> > > Notkestraße 11
> > > 22607 Hamburg
> > > Tel: +49(40) 853825-77
> > > Fax: +49(40) 853825-99
> > > Mail: b.horn at asdag.de
> > >
> > > AG Hamburg, HR B 80746, Sitz der Gesellschaft Hamburg
> > > Vorstand: Irmgard Scherbaum (Vorsitzende), Thomas Liebtreu
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> >
> >
> >
> > --
> > Trevor Burton
> > http://www.paperworld3d.com/flash-monkey
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>


-- 
Trevor Burton
http://www.paperworld3d.com/flash-monkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070322/3dbf9d31/attachment-0001.htm


More information about the Papervision3D mailing list