Let me prefix this with the fact that I’m what most people would call a noob on this subject, I have a few months basic knowledge of AS3, and no prior knowledge for Flash Builder or using 3D libraries like this… So let’s start:
I’ve been trying for two days now, to get Away3D up and running with some sample code I’ve found, but to no avail. I managed to get 3.5 work directly with Flash 5.0 and did the spinning planet example, but as far as I can see I need to use Flash builder so that I can embed/import 3D models into my code. So i’ve been trying, to no avail to get this working. I’ve been trying to follow tutorials and videos, but still haven’t found any solution, though I’m sorry if my problem is painfully obvious >.<
So here’s what I’ve done:
- I downloaded the flex 4.5.1A SDK and set FB to use that
- I have also downloaded Flash player 11 (debug version…?) and set the project to use that as a compiler
- Then I copy/pasted the com and Away3D folder from the latest version into the src folder of the project
- Finally I downloaded the examples from github, put the libs and embeds into the project folder, and the src contents into the src folder.
- I added the libs folder as a Library path in properties.
Now, that seems to be all the steps I’ve found as necessary to run some test files, I set the DragTest.as as “default application” and hit Debug.
What happens then is that I briefly go to a white window in Firefox (which promptly crashes the flash player) and I get sent back to FB which says
“This kind of launch is configured to open the Flash Debug perspective when it suspends. This is the debugging perspective for Flash Builder. Do you want to open this perspective now?”
and then in the console window it says:
VerifyError: Error #1014: Class flash.display3D.textures::Texture could not be found.
[SWF] C:\Users\Kgg\Adobe Flash Builder 4\Away3D\bin-debug\DragTest.swf - 368,670 bytes after decompression
And a few things in the debug window.
Does anyone have a clue what I’ve done wrong so far? I really need this to work for a project I’m working on in school, and would love to hear what you guys have to say. Again, sorry if the answer is painfully obvious, I’m new to this, be gentle…!