PDA

View Full Version : UFO



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

simplistik
July 17th, 2007, 09:07 AM
var FO = { movie:"flash/homeflash.swf", width:"353", height:"332", majorversion:"6", build:"0" };
UFO.create(FO, "BlueShark");

var FO2 = { movie:"flash/homeflash.swf2", width:"353", height:"332", majorversion:"6", build:"0" };
UFO.create(FO2, "BlueShark");

m00nz00mer
July 17th, 2007, 09:23 AM
then do i need to change anything in the ufo file?

m00nz00mer
July 17th, 2007, 09:29 AM
sweet sorted thanks.