m00nz00mer
July 17th, 2007, 09:02 AM
Hey, Im using the ufo script 2.0 to insert flash to my site, However i would like to know how to apply this script to two different flash files on the same page.. e.g. flash1.swf and flash2.swf (both on the same page)
this is part of the script that goes in the head..
-----
<script type="text/javascript" src="js/ufo.js"></script>
<script type="text/javascript">
<!--
var FO = { movie:"flash/homeflash.swf", width:"353", height:"332", majorversion:"6", build:"0" };
UFO.create(FO, "BlueShark");
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
-----
this is part of the script that goes in the head..
-----
<script type="text/javascript" src="js/ufo.js"></script>
<script type="text/javascript">
<!--
var FO = { movie:"flash/homeflash.swf", width:"353", height:"332", majorversion:"6", build:"0" };
UFO.create(FO, "BlueShark");
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
-----