Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.
<head>
<!-- It's usually a good idea to put the SWFObject
link in the head of your document.
You only need to include it once! -->
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<!-- use any ID you like, just make sure it's unique
and matches the Javascript below -->
<div id="swfOne">
This text is replaced by the first Flash movie.
</div>
<script type="text/javascript">
//The variable name used here ("so") needs to be unique,
//so let's add "one" to the name.
//The SWF ID also needs to be unique: "myMovie" becomes
//"myFirstMovie" -- you can use any name you like!
var soOne = new SWFObject("movie1.swf", "myFirstMovie", "400", "200", "8", "#336699");
soOne.write("swfOne");
</script>
<!-- use any ID you like, just make sure it's unique
and matches the Javascript below -->
<div id="swfTwo">
This text is replaced by the second Flash movie.
</div>
<script type="text/javascript">
//The variable name used here ("so") needs to be unique,
//so let's add "two" to the name.
//The SWF ID also needs to be unique: "myMovie" becomes
//"mySecondMovie" -- you can use any name you like!
var soTwo = new SWFObject("movie2.swf", "mySecondMovie", "400", "200", "8", "#336699");
soTwo.write("swfOne");
</script>
</body>
<head>
<!-- It's usually a good idea to put the SWFObject
link in the head of your document.
You only need to include it once! -->
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<!-- use any IDs you like, just make sure they're unique
and match the Javascript below -->
<div id="swfOne">
This text is replaced by the first Flash movie.
</div>
<div id="swfTwo">
This text is replaced by the second Flash movie.
</div>
<script type="text/javascript">
//The variable name used here ("so") needs to be unique,
//so let's add "one" to the name.
//The SWF ID also needs to be unique: "myMovie" becomes
//"myFirstMovie" -- you can use any name you like!
var soOne = new SWFObject("movie1.swf", "myFirstMovie", "400", "200", "8", "#336699");
soOne.write("swfOne");
//The variable name used here ("so") needs to be unique,
//so let's add "two" to the name.
//The SWF ID also needs to be unique: "myMovie" becomes
//"mySecondMovie" -- you can use any name you like!
var soTwo = new SWFObject("movie2.swf", "mySecondMovie", "400", "200", "8", "#336699");
soTwo.write("swfOne");
</script>
</body>
<head>
<!-- It's usually a good idea to put the SWFObject
link in the head of your document.
You only need to include it once! -->
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
<!--
//This function contains your SWFObject instructions.
//It uses the exact same code as the previous examples.
function addSwfs(){
//The variable name used here ("so") needs to be unique,
//so let's add "one" to the name.
//The SWF ID also needs to be unique: "myMovie" becomes
//"myFirstMovie" -- you can use any name you like!
var soOne = new SWFObject("movie1.swf", "myFirstMovie", "400", "200", "8", "#336699");
soOne.write("swfOne");
//The variable name used here ("so") needs to be unique,
//so let's add "two" to the name.
//The SWF ID also needs to be unique: "myMovie" becomes
//"mySecondMovie" -- you can use any name you like!
var soTwo = new SWFObject("movie2.swf", "mySecondMovie", "400", "200", "8", "#336699");
soTwo.write("swfOne");
}
//This function tells the browser to execute the "addSwfs"
//functions once the rest of the page has loaded
window.onload = function(){
addSwfs();
}
-->
</script>
</head>
<body>
<!-- use any IDs you like, just make sure they're
unique and match the Javascript in addSwf -->
<div id="swfOne">
This text is replaced by the first Flash movie.
</div>
<div id="swfTwo">
This text is replaced by the second Flash movie.
</div>
</body>
1 to 2 of 2