Is there a way to listen to the CONTEXT3D_CREATE event and the ERROR in away3d?
Or does away3d has a different way to test if the hardware is available?
See think link for what i want to test: http://www.bytearray.org/?p=3443
CONTEXT3D_CREATE and ErrorEvent.ERROR events on stage3dSoftware: Away3D 4.x |
||
michel, Newbie
Posted: 17 October 2011 09:36 AM Total Posts: 10 Is there a way to listen to the CONTEXT3D_CREATE event and the ERROR in away3d? Or does away3d has a different way to test if the hardware is available? |
||
wagster, Member
Posted: 21 October 2011 09:09 PM Total Posts: 68 [ # 1 ] I’m doing this:
if (view3D.stage3DProxy.context3D.driverInfo.toLowerCase().indexOf("software") != -1) (found the same post!) but I think I’m having the same issue as yourself - sometimes Context3D is null. It would be great to be notified when it shows up. |
||
|
||
|
||
wagster, Member
Posted: 22 October 2011 07:15 PM Total Posts: 68 [ # 4 ] Ok, Stage3DProxy should be redispatching the CONTEXT3D_CREATE event as it has a onContext3DUpdate() method that is supposed to do exactly that. Maybe the listener is being added too late or something, but this looks like a bug so it’s going on the list. |
||
|
||
|