博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Html页面中Flash的播放,并利用JS变换Flash
阅读量:4520 次
发布时间:2019-06-08

本文共 813 字,大约阅读时间需要 2 分钟。

advertiser-Flash.js:

var w = 350; var h = 400; function swf(file) {
document.write(' '); document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); } function NewComing(file) {
var htmlStr = null; htmlStr = ' '; htmlStr += ''; htmlStr += ''; htmlStr += ''; htmlStr += ' '; htmlStr += ''; htmlStr += ''; return htmlStr; } function DefaultPlay(file) {
swf(file); } function KeyPlay(file) {
document.getElementById("content_flash").innerHTML = NewComing(file); }

页面代码(加载页面时,默认开始播放第一个):

 
 
 
就这样吧。其实关键还是那个JS~~~

转载于:https://www.cnblogs.com/oneivan/archive/2011/11/27/2264979.html

你可能感兴趣的文章
编译参数-ObjC的说明
查看>>
配置Synergy(Server : XP, client: Win7)
查看>>
Hadoop集群(第7期)_Eclipse开发环境设置
查看>>
Mysql 多表查询详解
查看>>
Ubuntu下tensorboard的使用
查看>>
门面模式
查看>>
Navicat Premium 10/12——破解激活
查看>>
【leetcode❤python】 290. Word Pattern
查看>>
Mysql备份还原数据库之mysqldump实例及参数详细说明 -转自http://www.cnblogs.com/xuejie/archive/2013/01/11/2856911.html...
查看>>
2013年10月13日学习:SQL通过命令语句来创建表
查看>>
剑指offer : 二维数组中的查找
查看>>
第三章 python基础
查看>>
java基础题
查看>>
[转]人人店短信插件开发
查看>>
[转]c# System.IO.Ports SerialPort Class
查看>>
14. 最长公共前缀
查看>>
Redis文档
查看>>
项目重构
查看>>
iOS 开发 证书总结 开发证书和生产证书的区别
查看>>
(笔试题)和一半的组合数
查看>>