2. Preparing a Papervision3D Project
December 13, 2007 – 3:22 amThe following will teach you how to create a new project in Flash Develop, set the classpath to Papervision, and add a new class to write your code:
Requirements
Steps
- Run FlashDevelop
- “Project->New Project”
- Select “Actionscript 3->Empty Project”
- Type name, select a directory, and choose whether or not you want FlashDevelop to automatically create the directory for you then click OK.
- “Project->Properties”
- “[TAB]Classpaths->[BUTTON]Add Classpath
- Select the “src” folder of the GreatWhite Papervision installation then click OK.
- Right-click on your project package, “Add->New Class”, then type a class name
- Right-click on the class (mine is named “Main.as”) and select “Always Compile” which effectively sets this class as the Document Class
Notes
- You will not see anything if you compile your project now
- FlashDevelop will now automatically import Papervision classes any time you strict type or use the new keyword

6 Responses to “2. Preparing a Papervision3D Project”
I saw a comment on the FlashDevelop forums that this tutorial may not be as complete as necessary. Here’s the comment for those who need it:
http://www.flashdevelop.org/community/viewtopic.php?p=11362&sid=2fcdea4ae1395b53a7fde8d328dc58c1
Once you’ve installed FlashDevelop, start it up and do the following-
*1. Make sure location of the compiler is specified- in FD go to “Tools ->.swf to run it.
Program Settings”, left-click on the “AS3Context” tab and on the
“Flex SDK Location” line put the name of the folder/dir containing
the file “mxmlc.exe”.
2. “Project -> New Project”
3. Select “ActionScript 3 -> Empty Project”
4. Give it a name in the “Name:” box, pick a project directory location
and choose whether or not you want FD to automatically make the
project folder for you, then click “OK”.
5. Right-click on the project name then right- or left-click on
“Properties…”.
*6. In the “Output” tab of the Properties popup, pick an output name by
either clicking in the Output File box and typing a name or by
browsing to it. MAKE SURE YOU ADD THE EXTENSION “.swf” TO THE
FILENAME OR FLASHDEVELOP WILL GET CONFUSED AT RUNTIME
AND GIVE YOU AN “UNKNOWN FILE TYPE” ERROR. Set any other
desired options in the tab (Dimensions, Framerate, Bg color, …)
7. Now left-click on the “Classpaths” tab then left-click on the “Add
Classpath…” button.
8. Browse to the “src” folder of “GreatWhite” Papervision installation
then click the browser-popup’s “OK” button. Now left-click the
Properties popup’s “OK” button.
9. Right-click on the project package then left-click on “Add -> New
Class…”. Type your preferred class name then left-click the “OK”
button.
*10. Left-click on the project “+” button to open it and show the
new class.
11. Right-click on the new-class name and select “Always Compile”.
*12. In the Configuration pulldown at the screentop, change “Debug”
to “Release” if you are not running an FD debugger.
*13. Click on the ‘gear’ symbol (just left of the Configuration pulldown)
or press F8 to compile your project. Double-click on the symbol
immediately to the left of
By John Lindquist on Feb 21, 2008
Thankx
By Xeepy on May 7, 2008