Question

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

Était-ce utile?

La solution

SwfObject est un script JavaScript populaire qui instancie des films flash utilisant Javascipt. Donc, si cela se trouve à l'intérieur d'un film Flash, il fait probablement référence au JavaScript dans la page Web de l'hôte.

Les arguments sont:

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

On trouve plus ici: http://blog.deconcept.com/swfobject/

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top