Domanda

var so = new swfObject ("zoom.swf", "sotester", "1200", "600", "9", "#ffffff");

È stato utile?

Soluzione

SWFObject è un famoso script JavaScript che istanzia i film flash usando JavaScipt. Quindi, se questo è all'interno di un film flash, probabilmente fa riferimento a JavaScript nella pagina web host.

Gli argomenti sono:

* 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.

Altro può essere trovato qui: http://blog.deconcept.com/swfobject/

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top