Flex Builder can complicate things and flex adds loads of overhead...
either your doing forms or your doing 3D and you need to get your
hands dirty creating interface elements from scratch... but I am
biased :). My suggestion is to use the flex sdk to compile a simple
example ( or flashIDE all your classes can still be external ) forget
all the flex stuff to start with you can always add that later, I
think flashdevelop is supposed to be good on windows ( and it works
well with haxe version too on a mac my pref is textmate, once they get
haxe on FDT I may switch ).
I mean that EngineManager class... thats just flex rubish and not much
to do with running away3D, no wonder your confused its totally
irrelevant to getting started with a 3d flash engine.
Look at the examples in the svn, if your using flash 10 you may want
to try away3dlite.
http://away3d.googlecode.com/svn/trunk/fp10/Examples/Away3DLite/as/src/
You need to make sure you have the resources used with them but you
should be able to compile with little more than the files and any
embeded or loaded resources and the flex sdk and ofcourse the away3d
library.
In terms of using 3D you need to
1) extend sprite for your main class.
2) set up your scene, view and camera.
3) either load a model (collada or similar ) or create some materials
put them on Planes or primatives and addChild to your main class.
4) set up some listeners for keystrokes or mouse events.
5) set up a render loop to update based on mouse position or similar.
Things you don't need... UIComponent! ( unless your using Flex
components ). If you have to use flex components get some 3D on the
screen without any before you start confusing the issue.
Cheers
;j
On 31 Mar 2010, at 22:34, Little Gray Wolfy wrote:
Greetings.
I've been looking around away3d for at least two weeks now on and off.
I've checked tutorials on the away3d site, the 4 I did did not work
for me... but I was trying to get Flex code.
I've looked around on google, found a number off brighthub and
techlabs.... none of those worked for me either.
Eventually I found a "starting" tutorial
(http://www.bukisa.com/articles/47520_away3d-programming-tutorials-getting-started
)
(that still nearly blew my mind) and got it to the "Vector" error
(Error: Type was not found or was not a compile-time constant:
Vector).
After yet another Google search, I found a solution on this group
(http://groups.google.com/group/away3d-dev/browse_thread/thread/927fdc4f82f04c98
)...
which I thought fixed the problem...
Well.. it did, but I still can't get anything to work... it is just
that now I don't even get an error, I just get a blank screen.
If anyone can recommend an easy startup tutorial, I'd appreciate it.
Or at least a way to check if I have the correct Flash 10 Player setup
with Flex.
I have done C# and XNA 3d work before, so I am not completely new to
3d work, but in terms of Flash I am.
I am using Flex Builder 3. I have CS3, but prefer Flex.
Thanks
~Wulf
--
To unsubscribe, reply using "remove me" as the subject.