Disposing of Away 3D

Software: Away3D 4.x

Avatar
mrpinc, Sr. Member
Posted: 04 November 2011 12:55 PM   Total Posts: 119

I have an application that loads a variety of different swfs,  1 of which is an Away 3D project.  When I unload the Away SWF the rendered content remains on screen.  I can clear this by disposing of the Context3D.  The problem is when I load another Away3D SWF I get an error nad nothing appears.  The error is as follows.

ErrorError #3669: Bad input size.
 
at flash.display3D::Context3D/configureBackBuffer()
 
at away3d.core.managers::Stage3DProxy/onContext3DUpdate() 

Is there any way to dispose of the Away 3D SWF to ensure this error does not occur and the newly loaded content renders?

   

QW, Newbie
Posted: 27 January 2012 11:05 AM   Total Posts: 3   [ # 1 ]
mrpinc - 04 November 2011 12:55 PM

Is there any way to dispose of the Away 3D SWF to ensure this error does not occur and the newly loaded content renders?

Would love to see an answer

   

QW, Newbie
Posted: 27 January 2012 11:27 AM   Total Posts: 3   [ # 2 ]

Got the answer. Be sure to dispose a view before swf unload

view.dispose(); 
   

Hector, Sr. Member
Posted: 28 January 2012 10:56 PM   Total Posts: 137   [ # 3 ]

Good to know, thanks for sharing!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X