<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script type="text/javascript">
var flashNumber = 0;
var items = 3;
films = new Array(items)
films[0] = "1.swf";
films[1] = "2.swf";
films[2] = "0.swf";
function rotate(){
holder = document.getElementById('content');
flashNumber++;
if(flashNumber == items)
flashNumber = 0;
holder.src = films[flashNumber];
}
</script>
</head>
<body>
<object width="400" height="300">
<param name="movie" value="1.swf">
<embed src = "movies/animals1.swf" name="content" id="content"
width="400" height="300">
</embed>
</object>
<input type="button" value="next" onclick="rotate();" />
</body>
</html>
aboe 代码仅播放对象标记内的一个 swf 文件..单击按钮时没有其他文件未加载...