Compile errors on latest version

Software: Away3D 4.x

wagster, Member
Posted: 30 July 2011 06:20 PM   Total Posts: 68

I’m getting:

Access of possibly undefined property transparent through a reference with static type flash.display:Stage3D. Away40/src/away3d/core/managers Stage3DProxy.as line 147

plus a whole load of similar errors (property transparent and property x) when I try to build a swc from the latest version of Away3D4 from Git.

https://github.com/away3d/away3d-core-fp11

I’ve tried compiling with Flex SDK 4.5.0 and 4.5.1

Any ideas what I’m doing wrong here?

   

John Brookes, Moderator
Posted: 30 July 2011 07:00 PM   Total Posts: 732   [ # 1 ]

http://away3d.com/forum/viewthread/327/

   

wagster, Member
Posted: 30 July 2011 07:10 PM   Total Posts: 68   [ # 2 ]

Thanks, that’s a start - I’ll pick this up on the other thread if I can’t resolve it.

   

Avatar
Alexander Seifert, Moderator
Posted: 02 August 2011 08:31 AM   Total Posts: 129   [ # 3 ]

Regarding “property x”,

“We did a little change in the APIs regarding the Stage3D.viewPort API. We removed it, you now need to use Stage3D.x and Stage3D.y properties.”

This was a release note from the official Flash 11 Beta release. It was already covered by the latest Awa3D version available on github at the time of the release of F11Beta. If you get an error stating property x wasn’t found, maybe you’re still compiling against an old version of flashplayerglobal.swc =)

Cheers!
Alex

 Signature 
signature_image

http://www.deltastrike.org

   

wagster, Member
Posted: 02 August 2011 12:53 PM   Total Posts: 68   [ # 4 ]

Thanks for that.  Some much odder stuff started happening which seemed to be related to a corrupt workspace.  I’ve set up the project from scratch in a fresh workspace, latest version of Away3D4 source, latest playerglobal, latest SDK.  All good now.  Finally.

   

Federaik, Newbie
Posted: 07 January 2012 06:19 PM   Total Posts: 4   [ # 5 ]

Can’t find the core-fp11 code on googlecode’s svn, is it still updated or everything moved to github only?
I am running FlashBuilder 4 with Flex SDK 4.6 .
Thanks in advance!
Federico

   

Avatar
Matse, Sr. Member
Posted: 07 January 2012 07:09 PM   Total Posts: 149   [ # 6 ]

It’s all on github as far as I know : https://github.com/away3d/away3d-core-fp11

You should go with the “dev” branch, it’s the most recent and it’s the branch that will become the beta version of away4. There are mostly changes related to materials and lights see http://www.derschmale.com/2011/12/27/the-away3d-dev-branch/

you can get it here :
https://github.com/away3d/away3d-core-fp11/tree/dev

   

Federaik, Newbie
Posted: 07 January 2012 07:33 PM   Total Posts: 4   [ # 7 ]

Thanks Matse! Got it with svn into flash builder.
Btw, is there some basic tutorial/example/hello3Dworld to work with the fp11 version or I must refer to the previous version’s tuts as a start?
I’m new to away 3D and the forum so this is probably not a good thread to ask, I apologize and go straight to the FAQ section as an appetizer!
Bye,
Federico

   

Avatar
Matse, Sr. Member
Posted: 07 January 2012 08:32 PM   Total Posts: 149   [ # 8 ]

Honestly it’s a bit of a mess for now : the away3d team is busy and it can be a bit hard to find your way through all the versions, but it’s well worth it in my opinion.

If you use the “current” version of away3D4 then I believe you should get those :
https://github.com/away3d/away3d-examples-fp11

If you use the “dev” version then I guess you should look at these :
https://github.com/away3d/away3d-examples-fp11/tree/texturerefactor

I started using away3D mid september so it was still “Broomstick”, some examples were working, some others not as the engine is still evolving and cannot really be considered “final”. Some things can change, and then you have to adapt your code a bit for it to work with the latest version… a bit painful but that cannot be avoided.

So I cannot guarantee that all examples will work, but hopefully some will smile

If you have a problem / question just do a search on the forum like I guess you did already for your initial post, then create a new thread if none sounds relevant to your problem. Also threads have an away3D version info, you should only look at those indicating 4.x

   

wagster, Member
Posted: 07 January 2012 11:01 PM   Total Posts: 68   [ # 9 ]

The main problem is that the examples are largely broken.  The framework itself seems to be to be stable and I expect to remain so.

Get started with whatever examples you can find with google - then use the API reference which is always up to date.  Once you’re over the initial hump it’ll be fairly straightforward.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X