以下单个代码行在flash中的含义是什么

时间:2010-03-30 04:37:31

标签: flash

var so = new SWFObject(“zoom.swf”,“sotester”,“1200”,“600”,“9”,“#FFFFFF”);

1 个答案:

答案 0 :(得分:1)

SWFObject是一个流行的JavaScript脚本,它使用JavaScipt实例化Flash电影。因此,如果这是在Flash电影中,它可能是在主机网页中引用JavaScript。

参数是:

* swf – The file path and name to your swf file.
* id – The ID of your object or embed tag. The embed tag will also have this value set as it’s name attribute for files that take advantage of swliveconnect.
* width – The width of your Flash movie.
* height – The height of your Flash movie.
* version – The required player version for your Flash content. This can be a string in the format of ‘majorVersion.minorVersion.revision’. An example would be: "6.0.65". Or you can just require the major version, such as "6".
* background-color – This is the hex value of the background color of your Flash movie.

更多信息可以在这里找到:http://blog.deconcept.com/swfobject/