B
B
bizir2015-10-03 18:44:00
Programming
bizir, 2015-10-03 18:44:00

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."4ae2eb5538d7402ebd89f8887b31c67f.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bizir, 2015-10-04
@bizir

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>

T
Taxist410, 2015-10-03
@Taksist410

Flash is an obsolete technology. Some new browsers do not support it. Use HTML5 instead.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question