Away3D 4 in AIR 3 on Android

Software: Away3D 4.x

julespong, Member
Posted: 08 August 2011 08:41 PM   Total Posts: 53

Hey guys, I’m using the AIR 3 Prerelease on Android and I’m getting this error when I add my view to the stage:

ErrorToo many Stage3D instances used

This is my code (pretty simple stuff, no clue why it’s throwing errors:

__view = new View3D();
__awayContainer.addChild(__view); 

Any tips?

   

julespong, Member
Posted: 08 August 2011 10:28 PM   Total Posts: 53   [ # 1 ]

FYI: I’m running AIR 3.0.0.3690 on Android 2.2 and using the nightly build of Away3D 4 from github

 

   

Avatar
Choons, Sr. Member
Posted: 08 August 2011 10:52 PM   Total Posts: 281   [ # 2 ]

what is __awayContainer ? I haven’t worked in Android but just addChild(view) has always sufficed for my Away3D apps running on computer browsers

   

julespong, Member
Posted: 08 August 2011 10:54 PM   Total Posts: 53   [ # 3 ]

__awayContainer is merely a Sprite.

I’ve got plenty of examples running in a browser. But the AIR 3 Runtime that was just released (prerelease) doesn’t seem to be compatible with away-3d-core-fp11

Anyone got away-3d-core-fp11 nightly running in the latest AIR 3 Runtime on Android?

   

julespong, Member
Posted: 08 August 2011 11:20 PM   Total Posts: 53   [ # 4 ]

I rolled my AIR Prerelease SDK back to the one released on 7.25.

Same problem.

   

Richard Olsson, Administrator
Posted: 09 August 2011 06:10 AM   Total Posts: 1192   [ # 5 ]

Are you sure that you are using the latest version from GitHub? This was a bug that should have been fixed a couple of days ago. Also, can you make sure that you are not creating more than one View3D, which would cause this issue.

Can you tell us exactly where the error is thrown, as in what line inside Away3D causes the error?

   

jtopaz, Member
Posted: 09 August 2011 04:02 PM   Total Posts: 53   [ # 6 ]

Oh no. I go to the website, it say already expire and cannot download. Anyone have the download link? thanks

   

julespong, Member
Posted: 09 August 2011 05:15 PM   Total Posts: 53   [ # 7 ]

I’ll continue this discussion on the thread in github.

   

William Grand, Newbie
Posted: 11 August 2011 02:48 PM   Total Posts: 3   [ # 8 ]

I’m getting the same problem on iOS

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X