ActionScript 3.0 :: Setting Up Eclipse / Papervision
Sep 6, 2010
I've used Flash and AS2 for years: I want to move over to AS3 and play with Papervision. Everyone seems to use Eclipse rather than Flash. Does anyone know where there is a SIMPLE, and I stress SIMPLE(!) tutorial to set up Eclipse for AS3 and install and get started with Papervision because so far all I can find are the most confusing and frustrating tutorials ever. I'm on the verge of giving up on this because even the set up of Eclipse seems utterly impenetrable.
View 3 Replies
Similar Posts:
Feb 14, 2009
I am currently using flashdevelop for my "home" work, but to be honest having gotten used to the benefits of eclipse at work i am finding flashdevelop a bit lacking. Mainly the ability to use breakpoints and watch the flash step through process by process and keep track of variables and accessible properties.
I basically want to replace flashdevelop with eclipse, (i am not using flex), and i'd like to keep the ability that flashdevelop has to integrate easily with the flash ide (for quick running of the app with ctrl enter, and also for easy integration of the flash ide's library). I am thinking maybe this isn't possible, but i hope it is because it would be an insanely good development environment.
View 2 Replies
Jul 17, 2010
I keep trying to get started with Papervision, but I must be entering the classpath incorrectly as I keep getting errors that the compiler cannot find the classes.Is there some kind of bug with setting the classpath on a mac?I checked out the papervision stuff so it sits in:
/Applications/Adobe Flash CS 5/Papervision/as3/trunk/src/
Inside the src folder is a folder called "org", which contains "papervision3d" and the folders of classes.To set the classpath, I've gone to Preferences, chosen ActionScript, clicked on the ActionScript 3.0 button at the bottom, clicked the plus sign, and then clicked on the little folder button to add a path to the Library box (the middle box). I browsed and selected:
/Applications/Adobe Flash CS 5/Papervision/as3/trunk/src/
I thought at this point (after quitting and restarting Flash) that if I created a class file that had, for example,
import org.papervision3d.cameras.*
that it would work -- but it doesn't. It only works if I save the .fla and .as files themselves in /Applications/Adobe Flash CS 5/Papervision/as3/trunk/src/, in the same folder as the "org" folder. And I guess this means that the path in the Preferences setting is useless.
View 2 Replies
Mar 24, 2011
I am trying to build a portfolio application similar to the used by Whitevoid. I am using Flex 4 and Papervision3D 2. I have everything working except for one issue. When I try to load an external SWF as a material on one of the planes, I can see any native Flex or Flash components in their correct positions, but the papervision objects are not being rendered properly. It looks like the viewport is not being set in the nested swf. I have posted my code for loading the swf below.
private function loadMovie(path:String=""):void
{
loader = new Loader();
request = new URLRequest(path);
[Code]....
Below I have posted two pictures. The first is a shot of the application running by itself. The second is the application as a MovieMaterial on a Plane. You can see how the button created as a spark object in the mxml stays in the correct position, but papervision sphere (which is rotating) is in the wrong location.
View 1 Replies
May 23, 2011
Eclipse has a built in functionality to find unused variables (and methods too I guess). Flash Builder 4 is built on top of Eclipse but it doens't have that functionality. Do you know any plugin to achieve that functionality? Also, if you know any other kind of plugin besides SourceMate to improve Flash Builder let me know.
View 1 Replies
Aug 1, 2011
How to get the SLOC count for the Flex code in Eclipse?Is there a plug-in similar to "Metrics" for finding information about the Flex porject?
View 2 Replies
Oct 18, 2011
I want to run the Flex SDK 4.5.1 on Eclipse IDE. I have followed this http:[url].....step by step and it was same as it was written.But then when i first built my sample code and ran it, it gave me these errors. I cant figure out what the problem is:This is the sample code:
and these are the ERRORS:
Loading configuration file C:Mario's FilesSTFFlex SDKflex_sdk_4.5.1.21328frameworksflex-config.xml
_application_Styles.as(24): col: 38 Error: Syntax error: expecting rightparen before s.[code]....
Do we have to get a compatible Eclipse-FlexSDK-Flash version??
View 1 Replies
Dec 27, 2011
I've migrated to FDT from flashdevelop and kind of have a hard time getting things to work the way I'm used to. In Flashdevelop, you could easily choose if the compiled swf was a release or debug version. In FDT however, it seems like there is no way to compile a version that has debugging information without it automatically opening up the debug perspective with a ton of debug windows, a profiler and actually entering debug mode.
As an extra plus, I keep getting a message saying "This feature is only available in FDT Max", although from what I know the debugger is included in the free version. Is there a way to do what I'm trying to do or should I just get used to this new way of working?
View 2 Replies
Aug 29, 2011
How to add Flex to eclipse IDE
View 1 Replies
Apr 3, 2012
I am looking into using FDT (I currently use FB4), downloaded the free eclipse plugin, version 5.0, and configured it. I was trying to figure out how to compile a css to a swf file with it. This is super simple in Flash Builder, e.g. right click the css file and choose Compile CSS to SWF. I looked around and there is info on doing it via command line etc. Is there a way to do this in FDT eclipse plugin?
View 1 Replies
Jul 6, 2010
I am trying to learn how to use ANT to compile swfs from a Flash project written on the eclipse platform's FDT plugin...
View 3 Replies
Oct 19, 2009
I asked this question in papervision 3d forums, but nobody replied. So. I am writing a 3D application with actionscript 3 and papervision 3D. But I have stuck on one problem, I can't figure out, how to place skidmarks (decals?) on an object. The only method I can think of is drawing directly to BitmapData (texture). What would you suggest to draw a textured skidmark on ground (plane primitive)?
View 1 Replies
Jul 2, 2009
I have done globe in papervision - basically sphere + material (image of political map) over it.Now, I need to make every country on my globe interactive, what means, I need somehow create event listeners for lots (at least 15) of small areas on my globe, and if I click those areas, something will happen (say, additional info windowwill come out)I googled a lot and found a lot of things describing some realted stuff (hotspots?), but since I am quite new in flash/actionscript/papervision, could I, please, get some introductory idea how my problem might be solved?
View 1 Replies
Jul 27, 2009
i was trying to put text in papervision but am having touble.
View 4 Replies
Aug 21, 2009
Is there any development tool that has the papervision3d classes buit-it, so i can get hints when i'm writing th code as i get hints for as3 code?
View 2 Replies
Feb 12, 2009
I am new to Papervision, and am experimenting on importing animated 3ds max models into my project.I can export a model (with no animations) into Collada format, and import it using Papervision, with no problems. But when I try to import a model with animations, i get this error:[code]I am using Flash CS 4 / Papervision3D Public Beta 2.0 - Great White / 3D Studio Max 2009 (with the New Collada Plugin).
View 7 Replies
Jan 4, 2011
I am trying to develop a game based on papervision and flash.the very basic idea of the game is that some 3D objects are falling from the sky and you have to catch them .. At a time there can be as many as 20 of such 3D objects on the stage.Now the problem is that these 3D objects are causing too much CPU usage .. I was hoping if there was another way to do the same thing and which causes less of performance issues ...
1.I have two classes suppose A and B
2.the class A calls class B
3.class B initiates a 3D sphere whenever it is called .. the Sphere has a bitmap image material .. and it rotates along the X axis on every enter frame event
4.class A has a timer function which moves the 3D object in the Y direction and also destroys it when the object reaches a specified Y position ..here are the code snippets ...
Class A :Code:
public function onTick(e:TimerEvent)
{
if(Math.random() < spawnrate)[code]......
View 2 Replies
Apr 11, 2011
trying a simple papervision tutorial and swf stops rendering by mat = new MovieMaterial(rec);
[Code]...
View 2 Replies
Apr 15, 2012
I have the following version of eclipse
Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2
Build id: 20120216-1857
And i have downloaded flex_sdk 4.6.My question is that how do i add this plugin for the eclipse in order to use it for flash development.
View 1 Replies
Nov 19, 2009
I'm getting started with Flex and initially installed the Adobe environment (Flex Builder 3) and later found out that they're starting to call it Flash Builder 4.
Anyway since I'm very new to this technology and I have to leave Flex Builder 3 anyway, I'm trying to find out if there are any advantages to developing with Adobe's Flash Builder 4 (adobe's commercial IDE) vs.Eclipse (which Adobe seems to also heavily support, they make and support a special plugin for it).
My main language is PHP so my end goal is to integrate Flex with PHP. It sounds like Adobe did a decent job with integration in the Flash Builder 4 release (you can choose a language and choose data services options, etc. which should make that integration smoother), but is that integration only available through their commercial Flash Builder 4 or is it also available through the plugin they release for Eclipse? I'm trying to get some advice from those who used the technology so I can make up my mind whether there's a lot of advantage using Adobe's commercial IDE vs. the very robust open source Eclipse IDE. Other aspects I may not have considered are also welcome.
Note: I use php without a framework, and I keep also hearing Zend from Adobe themselves, which is kind of confusing too. I guess they're using part of the zend for remoting. Does anyone know how zend will affect my flex development environment?
View 4 Replies
Mar 22, 2012
I have installed eclipce and I want to work with flex.I found some site (url...) where somebody said that we need to install flex sdk. And than they said that we need to open window->preferences and on left side select 'Flex'. But I don't have 'Flex' item here... What is wrong? I also installed Flash Builder trial, but it does not make any sence.
View 1 Replies
Oct 30, 2009
how to setup Planes with papervision, then retrieve them later?I've set up the 3d scene like this:
PHP Code:
var con:Sprite = new Sprite();
con.x = this.width * 0.5;
con.y = this.height * 0.3;
holder.addChild(con);
[code]....
but none of these methods seem to work,, possibly because you can't do the same things to Planes that you can to movieclips...(?)the scene.numChildren seems to work though.
View 1 Replies
Oct 31, 2009
Has anyone seen rendering glitches with Papervision?
seee the flash movie at [URL].. which demonstrates the problem.
View 2 Replies
Apr 25, 2010
I have an SWF loading in an SWF containing a papervision scene.I've done it before yet problem is, I get an error - I'm not sure what the issue really is.[code]
View 3 Replies
Sep 14, 2010
i created a 3d model using sketchup and exported it as a DAE file.
then i try to import the model into papervision, but the model never appear.
when i use the DAE file provided in the examples, it works. only when i tried to create my own models, it doesn't work. does this have anything to do with sketchup?
View 2 Replies
Oct 22, 2010
now i need to add a health bar and countdown timer on the screen. how am i going to do it? adding a plane in the 3d scene? the health bar is always on the top right corner of the screen. is there anyway of NOT using 3d concept to implement this. i mean i could do it with a plane keep changing it's texture to show the status of the character. is there any cleaner way of doing it?
View 1 Replies
Dec 18, 2010
So I wonder if papervision 3d development alive? Any google code or ght..?
View 1 Replies
Jan 23, 2011
how to create a carousel like his with papervision. I created one but the planes just go round and round. I was wondering if it's possible for the planes to keep the same angel as the example of the link. I do not want the plane to rotate itself on the y axis but just move on the X/Z axis just going around an object in the middle.
View 1 Replies
Jul 22, 2011
there's a simple thing in papervision I can't do , I want to have a simple button on my swf like we have in flash , just a 2d square which is on screen and you can click on it and have some action
View 1 Replies
Aug 29, 2010
why I get an Error #1009("cannot access a property or method of a null object reference at at rain3D/createScene() at rain3D()"] using this simple code:
ActionScript Code:
package{
import flash.events.Event;
import org.papervision3d.view.BasicView;
[Code]....
If I try to render a single sphere I haven't problems. But when I use the "for" cycle I get the error.
View 4 Replies