posit labs, Newbie Posted: 07 December 2011 12:08 AM Total Posts: 6
For some reason, I can’t access any of the classes that should be in the awayphysics.swc library (all awayphysics imports fail).
I’m using flash builder 4.6, and I have added the swc to the library path of the physics examples project. The away3dCore.swc (one I compiled myself) works fine.
posit labs, Newbie Posted: 21 December 2011 05:41 PM Total Posts: 6
[ # 1 ]
Nobody else is having this issue?
The setup is pretty simple:
1. Get example project
2. Add core and physics swc dependencies
3. Compile with Flex 4.6 / fp11
If I’m missing something, please let me know!
Yang Li, Administrator Posted: 22 December 2011 12:54 AM Total Posts: 80
[ # 2 ]
can you paste some error message or screen shoot about the issue?
posit labs, Newbie Posted: 22 December 2011 01:04 AM Total Posts: 6
[ # 3 ]
One of the other forum members helped me figure it out.
The problem was that I hadn’t referenced the AwayPhysics project.
posit labs, Newbie Posted: 19 June 2012 05:48 PM Total Posts: 6
[ # 4 ]
Another solution is to copy the awayphysics source into your project. Kind of messy, but it works if you’re using something like FDT free that doesn’t support project linking.
Ringo Blanken, Administrator Posted: 28 June 2012 11:01 AM Total Posts: 120
[ # 5 ]
It can be a little confusing, you have a .swc which hold the physic alchemy part and the away physics source files (which tied the alchemy part and Away3d together).
What you can do is make a swc yourself from the source files and drop both in the lib folder of FDT. But linking should work as well, aldo I am not a huge fan of that since it could later break the project once you update the linked resource externally.
Good luck with it.
Cheers,
Ringo.
Dreko, Newbie Posted: 11 December 2013 05:13 PM Total Posts: 3
[ # 6 ]
It’s extremely confusing at first. My solution was to put the AwayPhysics.swc and “awayphysics” next to each other in your project src folder. Then point your project to include the SWC and everything should work.