Stage3D, browser is wmode=“direct” required?

Software: Away3D 4.x

Stephen Hopkins, Sr. Member
Posted: 16 February 2012 11:50 AM   Total Posts: 110

I’ve been trying to figure this out but everything I find is old.

With flash player 11.0+, is wmode=“direct” a requirement for being able to load Stage3D swf’s in the browser? I’ve tried viewing my swf file directly in the browser, and I get a Context3D not available error. If I use the html wrapper with wmode parameter, it works fine. If I use the standalone player, it works fine.

Is there any way to make it so you don’t need wmode=“direct”? I don’t care if it uses software mode, so long as I don’t get a Context3D error.

Was wondering if anyone has some experience with this as it is currently a big problem when distributing flash games.

 Signature 

http://www-scf.usc.edu/~shopkins

   

John Brookes, Moderator
Posted: 16 February 2012 12:47 PM   Total Posts: 732   [ # 1 ]

Stupid ***** spam forum thing
forum/viewthread/735/

no iidea why its like that.

   

Stephen Hopkins, Sr. Member
Posted: 16 February 2012 12:59 PM   Total Posts: 110   [ # 2 ]

I guess to be more specific, my problem is that the swf throws an exception and says “Context3D is not available” unless I use wmode=“direct”

Software mode still uses a context3D anyways?

 Signature 

http://www-scf.usc.edu/~shopkins

   

John Brookes, Moderator
Posted: 16 February 2012 01:07 PM   Total Posts: 732   [ # 3 ]

yeah your right just tried it and no view.
No idea :/

   

Stephen Hopkins, Sr. Member
Posted: 18 February 2012 04:24 AM   Total Posts: 110   [ # 4 ]

http://www.bytearray.org/?p=3443

the article here mentions falling back to software if not wmode=“direct” but how do you do that….

 Signature 

http://www-scf.usc.edu/~shopkins

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X