关于
Github
中文文档

SWFObject Flash 增强插件

showExpressInstall

显示用来提示升级 Flash。

替代内容

您的浏览器未安装 Flash Player

Get Adobe Flash player

function cancelFunction(){
  alert('Express Install was cancelled');
};

if (swfobject.hasFlashPlayerVersion('99')) {
  var fn = function(){
    var att = {
      data: 'swf/test6_flashvars.swf',
      width: '300',
      height: '120'
    };
    var par = {
      flashvars: 'name1=hello&name2=world&name3=foobar'
    };
    var id = 'replaceMe';
    swfobject.createSWF(att, par, id);
  };
} else {
  var fn = function() {
    var att = {
      data: 'swf/expressInstall.swf',
      width: '600',
      height: '240'
    };
    var par = {
      menu: false
    };
    var id = 'replaceMe';
    swfobject.showExpressInstall(att, par, id, cancelFunction);
  };
};
swfobject.addDomLoadEvent(fn);