Gordon js无法将.swf文件转换为HTML5

时间:2015-05-05 02:32:45

标签: javascript flash

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml"> 
      <head> 
        <title>Gordon: An open source flash™ runtime written in pure JavaScript</title> 
        <script type="text/javascript" src="../dist/gordon.js"></script> 
      </head> 
      <body onload="new Gordon.Movie('flash.swf', {id: 'stage', width: 450, height: 300})"> 
        <div id="stage"></div> 
      </body> 
    </html>

我正在将一个页面转换文件从swf写入html 5,但它已经发生错误:

Uncaught TypeError: Cannot read property 'id'
Uncaught TypeError: Cannot read property 'displayList' of undefined

File swf

Gordon js

0 个答案:

没有答案