Piccolo problemino ! Fino ad ora ho sempre utilizzato SWFOBJECT 1.5 per includere contenuti flash nelle pagine html. Ora vorrei passare alla versione 2.0 di Swfobject che però ha una sintassi totalmente diversa rispetto alla versione 1.5.

La sintessi della versione 1.5 è quella che vedete in questo esempio :

codice:
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
	// <![CDATA[
	
	var soImageShow = new SWFObject("loader.swf", "imageshow", "970", "425", "8", "e5e5e5");
	soImageShow.addParam("wmode", "opaque");
	soImageShow.addVariable("dataXml", "filexml.xml?xml=xml233131885");
	soImageShow.addVariable("imageshowUrl", "imageshow.swf");
	soImageShow.addVariable("slideTiming", 6);
	soImageShow.addVariable("repeatCount", "0");
	soImageShow.addVariable("processOrder", "random");
	soImageShow.addVariable("shadowImageUrl", "shadow.png");
	soImageShow.addVariable("captionText", "");
	soImageShow.addVariable("captionFont", "Arial");
	soImageShow.addVariable("captionSize", "12");
	soImageShow.addVariable("captionColor", "0xFFFFFF");
	soImageShow.addVariable("captionAlignment", "left");
	soImageShow.addVariable("captionPosition", "bottom");
	soImageShow.addVariable("captionPadding", "6,10");
	soImageShow.addVariable("captionBgOpacity", "50");
	soImageShow.addVariable("captionBgColor", "0x000000");
	soImageShow.addVariable("showProgress", "1");
	soImageShow.addVariable("overlayEffectName", "star_fly");
	soImageShow.addVariable("overlayImageUrl", "");
	soImageShow.addVariable("overlayImageOpacity", "75");
	soImageShow.addVariable("overlayImageX", "100");
	soImageShow.addVariable("overlayImageY", "100");
	soImageShow.addVariable("motionTiming", "7");
	soImageShow.addVariable("motionEase", "linear");
	soImageShow.addVariable("moveRange", "3");
	soImageShow.addVariable("scaleRange", "25");
	soImageShow.addVariable("rotationRange", "0");
	soImageShow.addVariable("transitionType", "random");
	soImageShow.addVariable("transitionTiming", "2");
	soImageShow.addVariable("transitionEase", "Sine");
	soImageShow.addVariable("enableLink", "1");
	soImageShow.addVariable("linkUrl", "");
	soImageShow.addVariable("linkOpen", "_blank");
	registerSWFObject( soImageShow, "jsn-is885" );
	
	// ]]>
</script>
Ma come traduco questo codice per la versione 2.0 ?

Il link dove si parla della versione 2.0 è questo :

http://www.magnificaweb.it/swfobject-2/

Purtroppo però non ho capito niente di come poter tradurre il mio codice verso questa nuova versione. Mi sapete dare una mano ? Grazie a tutti.