Answer the question
In order to leave comments, you need to log in
Why doesn't flash work in the browser?
Can't run flash drive in browser. I'm making an application in FlashDevelop as an AIR AS3 project using the Starling framework. When testing the application on a computer, everything works fine, but when launched in a browser, the following error flies "Context3D not available! Possible reasons: wrong wmode or missing device support."
Answer the question
In order to leave comments, you need to log in
I solved the problem myself. In order for hardware acceleration to work in the browser, you need to set the wmode parameter to "direct" . And open the file via html. The html has the following code
<html>
<head>
<title>Title!</title>
</head>
<body>
<object width="800" height="600" data="123.swf">
<param name="wmode" value="direct"/>
</object>
</body>
</html>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question