打开APP
未登录
开通VIP,畅享免费电子书等14项超值服
开通VIP
首页
好书
留言交流
下载APP
联系客服
Flash制作视频加载的代码
冷眼一丁
>《各种代码》
2013.09.10
关注
播放实例名(play_btn) 暂停实例名(pause_btn) 视频实例名(zhangjun)
在视频名字上下代码
on (release)
{
gotoAndStop(1);
}
代码
stop ();
var nc = new NetConnection();
nc.connect(null);
var ns = new NetStream(nc);
var zhangjun;
zhangjun.attachVideo(ns);
ns.play("视频地址 ");
rewind_btn.onRelease = function ()
{
ns.seek(0);
};
play_btn.onRelease = function ()
{
ns.pause();
};
pause_btn.onRelease = function ()
{
ns.pause();
};
var percent_Loaded = 0;
loader.loadBar._xscale = percent_Loaded;
var videoInterval = setInterval(videoStatus, 100);
var percent_Loaded = 0;
loader.loadBar._xscale = percent_Loaded;
loader.playBar._xscale = 0;
var duration;
ns.onMetaData = function (obj)
{
duration = obj.duration;
};
var videoInterval = setInterval(videoStatus, 100);
var scrubInterval;
loader.scrub.onPress = function ()
{
clearInterval(videoInterval);
scrubInterval = setInterval(scrubit, 10);
this.startDrag(false, 0, this._y, loader.loadBar._width, this._y);
};
loader.scrub.onRelease = loader.scrub.onReleaseOutside = function ()
{
clearInterval(scrubInterval);
videoInterval = setInterval(videoStatus, 100);
this.stopDrag();
};
vSound.attachAudio(ns);
var video_sound = new Sound(vSound);
vSound.onRelease = function ()
{
if (this.vol == 100)
{
video_sound.setVolume(0);
this.gotoAndStop(2);
}
else
{
video_sound.setVolume(100);
this.gotoAndStop(1);
} // end else if
};
1·月亮之上
http://content.12530.com/media/v/20080620/100539.flv
2·自由飞翔
http://content.12530.com/media/v/20080222/000096.flv
3·日不落
http://content.12530.com/media/v/20080222/000064.flv
4·真的用心良苦
http://content.12530.com/media/v/20080620/100541.flv
5·爱情里没有谁对谁错
http://content.12530.com/media/v/20080416/100338.flv
6·姑娘我爱你
http://content.12530.com/media/v/20090611/000685.flv
7·这不算爱
http://content.12530.com/media/v/20080416/100319.flv
8·香水有毒
http://content.12530.com/media/v/20080416/100114.flv
9·死了要爱
http://content.12530.com/media/v/20080222/000069.flv
10好心分手
http://content.12530.com/media/v/20080416/100169.flv
11·谁对谁错
http://content.12530.com/media/v/20080222/000009.flv
12·最后一滴泪
http://content.12530.com/media/v/20080222/000098.flv
13最温柔的悬念
http://content.12530.com/media/v/20090223/000495.flv
14·一个人哭
http://content.12530.com/media/v/20080620/100531.flv
15相爱人不能在一起
http://content.12530.com/media/v/20080222/000072.flv
16我不后悔
http://content.12530.com/media/v/20080620/100519.flv
17我不恨你
http://content.12530.com/media/v/20080416/100341.flv
18·难道爱一个人有错吗
http://content.12530.com/media/v/20080222/000054.flv
19·有情人终成眷属
http://content.12530.com/media/v/20080620/100535.flv
20·一万个理由
http://content.12530.com/media/v/20080222/000086.flv
21·不要用我的爱来伤害我
http://content.12530.com/media/v/20080522/100397.flv
22·你从什么时候不再爱我
http://content.12530.com/media/v/20080416/100074.flv
23·遇上你是我的缘
http://content.12530.com/media/v/20080222/000091.flv
24.白狐
http://content.12530.com/media/v/20080222/000018.flv
25.我太乖
http://content.12530.com/media/v/20081121/000261.flv
26凤凰传奇
http://content.12530.com/media/v/20080222/000041.flv
27下辈子也要找到你-张艾文
http://v214.pomoho.com/pomoho_video/200807/1724885.flv
28下辈子要作你的女人
http://cdn007.pomoho.com/pomoho_video/201101/10255298.flv
29爱上了离婚的女人
http://cdn006.pomoho.com.dnion.c ... 201102/10432677.flv
30刘德华MTV-忘情水
http://v211.pomoho.com/pomoho_video/200903/2451865.flv
31刘德华 一起走过的日子
http://cdn007.pomoho.com/pomoho_video/201008/5463958.flv
32慕容晓晓-爱情买卖
http://222.138.229.22/v165.pomoh ... 201105/13306149.flv
33花好月圆夜
http://v156.pomoho.com/pomoho_video/201102/11372295.flv
原谅我一次-欢子
http://flv.yinyuetai.com/uploads ... 9710D5F678F71FA.flv
为什么你要伤害一个爱你的人-欢子
http://flv.yinyuetai.com/uploads ... A2594310B9FEC75.flv
得到你的人却得不到你的心-欢子
http://flv.yinyuetai.com/uploads ... F0B8D7458E32293.flv
只想做你的男人-欢子
http://flv.yinyuetai.com/uploads ... 2E9A6A1793A9D15.flv
天使嫉妒的生活-曹格
http://flv.yinyuetai.com/uploads ... ijidudeshenghuo.flv
背叛-曹格
http://flv.yinyuetai.com/uploads/videos/common/caoge_beipan.flv
寂寞先生-黑白版(全国首发)-曹格
http://flv.yinyuetai.com/uploads ... xianshengheibai.flv
寂寞先生(全国首发)-曹格
http://flv.yinyuetai.com/uploads ... oxianshengcaise.flv
Happy Day-曹格
http://flv.yinyuetai.com/uploads/videos/common/caoge_HappyDay.flv
超级市场-曹格
http://flv.yinyuetai.com/uploads ... _chaojishichang.flv
沉默玩具-曹格
http://flv.yinyuetai.com/uploads ... ge_chengmowanju.flv
刮目相看-曹格
http://flv.yinyuetai.com/uploads ... e_guamuxiangkan.flv
姑娘-曹格
http://flv.yinyuetai.com/uploads/videos/common/caoge_guniang.flv
Super Woman-曹格
http://flv.yinyuetai.com/uploads ... womanwoshicaoge.flv
情人节快乐-曹格
http://flv.yinyuetai.com/uploads ... le_xianchangban.flv
世界唯一的你-曹格
http://flv.yinyuetai.com/uploads ... shijieweiyideni.flv
数到五答应我-曹格
http://flv.yinyuetai.com/uploads ... hudaowudayingwo.flv
烛光晚餐-曹格
http://flv.yinyuetai.com/uploads ... an_xianchangban.flv
forever love-曹格
http://flv.yinyuetai.com/uploads ... ve_xianchangban.flv
无辜 -曹格
http://flv.yinyuetai.com/uploads ... CaoGe_WuGu_Live.flv
掌纹-曹格
http://flv.yinyuetai.com/uploads ... _caoge_zhangwen.flv
新不了情 -曹格
http://flv.yinyuetai.com/uploads ... BEC3D93FFCA0AA5.flv
两只恋人-曹格
http://flv.yinyuetai.com/uploads ... liangzhilianren.flv
背叛 TVB-曹格
http://flv.yinyuetai.com/uploads ... B81F45155AA119D.flv
Forever Love TVB-曹格
http://flv.yinyuetai.com/uploads ... 323FF0738FB4616.flv
Kong-侧田
http://flv.yinyuetai.com/uploads/videos/common/cetian_KONG.flv
无言无语-侧田
http://flv.yinyuetai.com/uploads ... etian_wuyanwuyu.flv
信我-侧田
http://flv.yinyuetai.com/uploads/videos/common/cetian_xinwo.flv
好人-侧田
http://flv.yinyuetai.com/uploads/videos/common/cetian_haoren.flv
红地毯-侧田
http://flv.yinyuetai.com/uploads ... itian_hongditan.flv
山歌-侧田
http://flv.yinyuetai.com/uploads ... _wuyufei_shange.flv
命硬-侧田
http://flv.yinyuetai.com/uploads ... cetian_mingying.flv
男人KTV-侧田
http://flv.yinyuetai.com/uploads ... etian_nanrenKTV.flv
情歌-侧田
http://flv.yinyuetai.com/uploads/videos/common/cetian_qingge.flv
云-侧田
http://flv.yinyuetai.com/uploads/videos/common/cetian_yun.flv
星火-侧田
http://flv.yinyuetai.com/uploads ... 30C1286F65C7099.flv
B.O.K-侧田
http://flv.yinyuetai.com/uploads ... ED5621D64A7776B.flv
飞就飞-侧田
http://flv.yinyuetai.com/uploads ... E633793EFA0F855.flv
无言无语 TVB版-侧田
http://flv.yinyuetai.com/uploads/videos/common/3219_wuyanwuyu.flv
男人KTV 30届十大中文金曲-侧田
http://flv.yinyuetai.com/uploads ... dazhongwenjinqu.flv
独家记忆-陈小春
http://flv.yinyuetai.com/uploads ... ochun_dujiajiyi.flv
没那种命-陈小春
http://flv.yinyuetai.com/uploads ... _meinazhongming.flv
好男人-陈小春
http://flv.yinyuetai.com/uploads ... ochun_haonanren.flv
难朋友-陈小春
http://flv.yinyuetai.com/uploads ... chun_nanpengyou.flv
我不是伟人-陈小春
http://flv.yinyuetai.com/uploads ... n_wobushiweiren.flv
0932-陈小春
http://flv.yinyuetai.com/uploads ... xiaochun_m_0932.flv
神啊救救我-陈小春
http://flv.yinyuetai.com/uploads ... n_shenajiujiuwo.flv
一定要幸福-陈小春
http://flv.yinyuetai.com/uploads ... yidingyaoxingfu.flv
无错-陈小春
http://flv.yinyuetai.com/uploads ... 25CB37CFC61F6B4.flv
一个人的冬天-陈楚生
http://flv.yinyuetai.com/uploads ... gerendedongtian.flv
有没有人告诉你-陈楚生
http://flv.yinyuetai.com/uploads ... eiyourengaosuni.flv
原来我一直不孤单-陈楚生
http://flv.yinyuetai.com/uploads ... yizhidoubugudan.flv
且听风吟-陈楚生
http://flv.yinyuetai.com/uploads ... _qietingfengyin.flv
凤凰花又开-陈楚生
http://flv.yinyuetai.com/uploads ... ghuanghuayoukai.flv
一个人唱情歌-陈楚生
http://flv.yinyuetai.com/uploads ... A263B7852753AF9.flv
为爱高歌-陈楚生
http://flv.yinyuetai.com/uploads ... 0708FB7C49C94A9.flv
这一刻 -陈楚生
http://flv.yinyuetai.com/uploads ... B6842AEE1E46BAD.flv
奇幻之旅-陈楚生
http://flv.yinyuetai.com/uploads ... A07616D8290DD1B.flv
与你同在-陈楚生
http://flv.yinyuetai.com/uploads ... A98E9434BB95A8A.flv
一个人唱情歌 安徽卫视-陈楚生
http://flv.yinyuetai.com/uploads ... 25F3D6CF39D256E.flv
且听风吟 江苏卫视诺基亚跨年演唱会版-陈楚生
http://flv.yinyuetai.com/uploads ... 2F59A4917CE5275.flv
奔跑 江苏卫视跨年演唱会-陈楚生
http://flv.yinyuetai.com/uploads ... 6E8C004BB32682A.flv
某某-陈楚生
http://flv.yinyuetai.com/uploads ... A311563CFD6F350.flv
奇幻之旅 正式版-陈楚生
http://flv.yinyuetai.com/uploads ... 41DF96940A6FFA5.flv
边疆的泉水清又清 $ 遇见 27届金鸡奖颁奖礼-陈楚生
http://flv.yinyuetai.com/uploads ... 31D5C0681E12147.flv
倾国倾城 棚录版-陈楚生
http://flv.yinyuetai.com/uploads ... EA239D1AACDA576.flv
我可以-蔡旻佑
http://flv.yinyuetai.com/uploads ... iminyou_wokeyi1.flv
城外-蔡旻佑
http://flv.yinyuetai.com/uploads ... ingyou_chengwai.flv
翻不完的夏天-蔡旻佑
http://flv.yinyuetai.com/uploads ... nbuwandexiatian.flv
我回来了-蔡旻佑
http://flv.yinyuetai.com/uploads ... nyou_wohuilaile.flv
我用一首Demo跟你告白XD-蔡旻佑
http://flv.yinyuetai.com/uploads ... OgennibiaobaiXD.flv
寂寞,好了-蔡旻佑
http://flv.yinyuetai.com/uploads ... ngyou_jimohaole.flv
小乖乖-蔡旻佑
http://flv.yinyuetai.com/uploads ... ou_xiaoguaiguai.flv
发光的简讯-蔡旻佑
http://flv.yinyuetai.com/uploads ... aguangdejianxun.flv
你看不到的天空-蔡旻佑
http://flv.yinyuetai.com/uploads ... 0263FD59E091387.flv
我想要说-蔡旻佑
http://flv.yinyuetai.com/uploads ... 1A936C8DF540394.flv
蔷薇刑-陈坤
http://flv.yinyuetai.com/uploads ... nkun_qingweixin.flv
《迷ME》发布会上 高清独家-陈坤
http://flv.yinyuetai.com/uploads ... mifabuhui_shang.flv
《迷ME》发布会下 高清独家-陈坤
http://flv.yinyuetai.com/uploads ... mimifabuhui_xia.flv
琥珀 首发-陈坤
http://flv.yinyuetai.com/uploads ... 59_chenkun_hupo.flv
爱到疯癫-动力火车
http://flv.yinyuetai.com/uploads ... nglihuoche_feng.flv
继续转动-动力火车
http://flv.yinyuetai.com/uploads ... e_jixuzhuandong.flv
风光明媚-动力火车
http://flv.yinyuetai.com/uploads ... engguangmingmei.flv
背叛情歌-动力火车
http://flv.yinyuetai.com/uploads ... he_beipanqingge.flv
第一滴泪-动力火车
http://flv.yinyuetai.com/uploads ... uoche_diyidilei.flv
明天的明天的明天-动力火车
http://flv.yinyuetai.com/uploads ... gtiandemingtian.flv
无情的情书-动力火车
http://flv.yinyuetai.com/uploads ... wuqingdeqingshu.flv
有话直说-动力火车
http://flv.yinyuetai.com/uploads ... e_youhuazhishuo.flv
彩虹-动力火车
http://flv.yinyuetai.com/uploads ... uoche_caihong12.flv
寄生人-动力火车
http://flv.yinyuetai.com/uploads ... oche_jishengren.flv
酒醉的探戈2001-动力火车
http://flv.yinyuetai.com/uploads ... _jiuzuidetangou.flv
我若不曾爱过你-动力火车
http://flv.yinyuetai.com/uploads ... che_woruobuceng.flv
镇守爱情-动力火车
http://flv.yinyuetai.com/uploads ... zhengshouaiqing.flv
忠孝东路走九遍-动力火车
http://flv.yinyuetai.com/uploads ... ongluzoujiubian.flv
当-动力火车
http://flv.yinyuetai.com/uploads ... nglihuoche_dang.flv
爱上你不如爱上海-动力火车
http://flv.yinyuetai.com/uploads ... iburuaishanghai.flv
不要再说爱我-动力火车
http://flv.yinyuetai.com/uploads ... uyaozaishuoaiwo.flv
09年上海演唱会筹备花絮片段-动力火车
http://flv.yinyuetai.com/uploads ... hanghuipianduan.flv
错的时间错的地点遇到对的人
http://58.221.40.22/7/cdn002.pom ... /201101/9180204.flv
26凤凰传奇
http://content.12530.com/media/v/20080222/000041.flv
27下辈子也要找到你-张艾文
http://v214.pomoho.com/pomoho_video/200807/1724885.flv
28下辈子要作你的女人
http://cdn007.pomoho.com/pomoho_video/201101/10255298.flv
29爱上了离婚的女人
http://cdn006.pomoho.com.dnion.c ... 201102/10432677.flv
30刘德华MTV-忘情水
http://v211.pomoho.com/pomoho_video/200903/2451865.flv
31刘德华 一起走过的日子
http://cdn007.pomoho.com/pomoho_video/201008/5463958.flv
32慕容晓晓-爱情买卖
http://222.138.229.22/v165.pomoh ... 201105/13306149.flv
33花好月圆夜
http://v156.pomoho.com/pomoho_video/201102/11372295.flv
10好心分手
http://content.12530.com/media/v/20080416/100169.flv
11·谁对谁错
http://content.12530.com/media/v/20080222/000009.flv
12·最后一滴泪
http://content.12530.com/media/v/20080222/000098.flv
13最温柔的悬念
http://content.12530.com/media/v/20090223/000495.flv
14·一个人哭
http://content.12530.com/media/v/20080620/100531.flv
15相爱人不能在一起
http://content.12530.com/media/v/20080222/000072.flv
16我不后悔
http://content.12530.com/media/v/20080620/100519.flv
17我不恨你
http://content.12530.com/media/v/20080416/100341.flv
18·难道爱一个人有错吗
http://content.12530.com/media/v/20080222/000054.flv
19·有情人终成眷属
http://content.12530.com/media/v/20080620/100535.flv
20·一万个理由
http://content.12530.com/media/v/20080222/000086.flv
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报
。
打开APP,阅读全文并永久保存
查看更多类似文章
猜你喜欢
类似文章
flash as3.0制作流式视频(flv)播放器的方法_Flash_紫苹果电脑网
收集網上的flex與php相關視頻的代碼
flv flash播放器全攻略 - 现实中的现实 - 博客园
flash常用代码!(精) - flash源文件 - Flash教程与作品 - 水世界素材...
程序员必知的HTML5 video视频二三事
FLASH制作个性的旋转圆形网页导航
更多类似文章 >>
生活服务
热点新闻
留言交流
回顶部
联系我们
分享
收藏
点击这里,查看已保存的文章
导长图
关注
一键复制
下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!
联系客服
微信登录中...
请勿关闭此页面
先别划走!
送你5元优惠券,购买VIP限时立减!
5
元
优惠券
优惠券还有
10:00
过期
马上使用
×