< html xmlns ="http://www.w3.org/1999/xhtml" xml:lang ="zh-CN" lang ="zh-CN" > < head > < meta http-equiv ="Content-Type" content ="text/html; charset=gb2312" /> < title > yiguo </ title > < SCRIPT LANGUAGE ="JavaScript" > ... var pos = 1;function toggle()...{ var f = null; if(document.f1) f = document.f1; else f = document.getElementById('f1'); f.SetVariable('scheduleFrame',++pos%2+2);}document.onclick=function()...{ toggle();} </ SCRIPT > </ head > < body bgcolor ="#ffffff" > <!-- 注意:1. flash 的id 是获取这个flash的唯一标识。强烈建议你不要写flash object 的 name(如果一定要的话千万不要和id一样),否则firefox会出问题 2. flash中的embed元素的name属性一定要和flash object id一样,否则firefox也会有问题...ff有时候也真是麻烦~ --> < object id ="f1" classid ="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase ="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width ="183" height ="209" align ="middle" > < param name ="movie" value ="yiguo.swf" /> < embed name ="f1" src ="yiguo.swf" quality ="high" bgcolor ="#ffffff" width ="183" height ="209" align ="middle" type ="application/x-shockwave-flash" pluginspage ="http://www.macromedia.com/go/getflashplayer" /> </ object > </ body > </ html >