<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta name="GENERATOR" content="Mozilla/4.73 [zh] (Windows NT 5.0; U) [Netscape]">
<META http-equiv="Content-Style-Type" content="text/css">
<title>ShowControl</title>
<script language="javascript">
function SetBorder( obj,upperLeft, lowerRight,bgcolor,fcolor )
{
s=obj.style;
s.borderStyle = "solid";
s.borderWidth = 1 ;
s.borderLeftColor = s.borderTopColor = upperLeft;
s.borderBottomColor= s.borderRightColor = lowerRight;
s.backgroundColor = bgcolor;
s.color = fcolor;
}
</script>
<script language="javascript">
var mpStopped=0, mpPaused=1, mpPlaying=2, mpWaiting=3,
mpScanForward=4, mpScanReverse=5, mpSkipForward=6,
mpSkipReverse=7, mpClosed=8;
var AsxFileName;
//The Button has 3 status: Disabled,
function switchBtn() {
switch(event.srcElement) {
case btnPlay:
if(parent.LeftupFrame.MediaPlayer.PlayState == mpStopped || parent.LeftupFrame.MediaPlayer.PlayState == mpPaused || parent.LeftupFrame.MediaPlayer.PlayState == mpScanForward || parent.LeftupFrame.MediaPlayer.PlayState == mpScanReverse) {
if(event.type == "mouseover") SetBorder(btnPlay,"white","DIMGRAY","LAVENDER","DARKMAGENTA");
if(event.type == "mousedown") SetBorder(btnPlay,"DIMGRAY","white","white","SLATEBLUE");
if(event.type == "mouseout") SetBorder(btnPlay,"silver","silver","silver","black");
}
break;
case btnPause:
if(parent.LeftupFrame.MediaPlayer.PlayState == mpPlaying || parent.LeftupFrame.MediaPlayer.PlayState == mpScanForward || parent.LeftupFrame.MediaPlayer.PlayState == mpScanReverse) {
if(event.type == "mouseover") SetBorder(btnPause,"white","DIMGRAY","LAVENDER","DARKMAGENTA");
if(event.type == "mousedown") SetBorder(btnPause,"DIMGRAY","white","white","SLATEBLUE");
if(event.type == "mouseout") SetBorder(btnPause,"silver","silver","silver","black");
}
break;
case btnStop:
if(parent.LeftupFrame.MediaPlayer.PlayState == mpPlaying || parent.LeftupFrame.MediaPlayer.PlayState == mpPaused || parent.LeftupFrame.MediaPlayer.PlayState == mpScanForward || parent.LeftupFrame.MediaPlayer.PlayState == mpScanReverse) {
if(event.type == "mouseover") SetBorder(btnStop,"white","DIMGRAY","LAVENDER","DARKMAGENTA");
if(event.type == "mousedown") SetBorder(btnStop,"DIMGRAY","white","white","SLATEBLUE");
if(event.type == "mouseout") SetBorder(btnStop,"silver","silver","silver","black");
}
break;
case btnFF:
if(!parent.LeftupFrame.MediaPlayer.CanScan||!parent.LeftupFrame.MediaPlayer.CanSeek) return;
if(parent.LeftupFrame.MediaPlayer.PlayState == mpPlaying || parent.LeftupFrame.MediaPlayer.PlayState == mpPaused || parent.LeftupFrame.MediaPlayer.PlayState == mpStopped) {
if(event.type == "mouseover") SetBorder(btnFF,"white","DIMGRAY","LAVENDER","DARKMAGENTA");
if(event.type == "mousedown") SetBorder(btnFF,"DIMGRAY","white","white","SLATEBLUE");
if(event.type == "mouseout") SetBorder(btnFF,"silver","silver","silver","black");
}
break;
case btnRew:
if(!parent.LeftupFrame.MediaPlayer.CanScan||parent.LeftupFrame.MediaPlayer.CanSeek) return;
if(parent.LeftupFrame.MediaPlayer.PlayState == mpPlaying || parent.LeftupFrame.MediaPlayer.PlayState == mpPaused || parent.LeftupFrame.MediaPlayer.PlayState == mpStopped) {
if(event.type == "mouseover") SetBorder(btnRew,"white","DIMGRAY","LAVENDER","DARKMAGENTA");
if(event.type == "mousedown") SetBorder(btnRew,"DIMGRAY","white","white","SLATEBLUE");
if(event.type == "mouseout") SetBorder(btnRew,"silver","silver","silver","black");
}
break;
case btnFull:
if(event.type == "mouseover") SetBorder(btnFull,"white","DIMGRAY","LAVENDER","DARKMAGENTA");
if(event.type == "mousedown") SetBorder(btnFull,"DIMGRAY","white","white","SLATEBLUE");
if(event.type == "mouseout") SetBorder(btnFull,"silver","silver","silver","black");
break;
case btnBack:
if(event.type == "mouseover") SetBorder(btnBack,"white","DIMGRAY","LAVENDER","DARKMAGENTA");
if(event.type == "mousedown") SetBorder(btnBack,"DIMGRAY","white","white","SLATEBLUE");
if(event.type == "mouseout") SetBorder(btnBack,"silver","silver","silver","black");
break;
case btnAudio:
if(event.type == "mouseover") SetBorder(btnAudio,"white","DIMGRAY","silver");
if(event.type == "mousedown") SetBorder(btnAudio,"DIMGRAY","white","white","white");
if(event.type == "mouseout") SetBorder(btnAudio,"silver","silver","silver");
break;
case imgAudio:
if(event.type == "mouseover") SetBorder(btnAudio,"white","DIMGRAY","silver");
if(event.type == "mousedown") SetBorder(btnAudio,"DIMGRAY","white","white","white");
if(event.type == "mouseout") SetBorder(btnAudio,"silver","silver","silver");
break;
case AllowScl:
if(event.type == "mouseover") AllowScl.src="allowdownover.gif";
if(event.type == "mouseout") AllowScl.src="allowdown.gif";
break;
case AllowCon:
if(event.type == "mouseover") AllowCon.src="allowdownover.gif";
if(event.type == "mouseout") AllowCon.src="allowdown.gif";
break;
}
}
</script>
<script language="javascript" FOR="window" EVENT="onload">
//if(document.location.protocol == "file:") {
// AsxFileName = "localclip.asx";
//} else {
// AsxFileName = "remoteclip.asx";
//}
SetFileName();
parent.LeftupFrame.btnPlay = btnPlay;
parent.LeftupFrame.btnPause = btnPause;
parent.LeftupFrame.btnStop = btnStop;
parent.LeftupFrame.btnFF = btnFF;
parent.LeftupFrame.btnRew = btnRew;
parent.LeftupFrame.btnText = btnText;
parent.LeftupFrame.btnScroll = btnScroll;
parent.LeftupFrame.OuterDiv = OuterDiv;
</script>
<script language="javascript">
var Selected = false, CurLeft = 15;
//MouseDown -> DragStart -> MouseMove -> MouseUp
//Log the MouseDown action on special object(btnScroll)
function doMouseDown() {
if(event.button == 1) {
Selected = true;
}
}
function doDragStart() {
// Don't do default drag operation if user is dragging the special object
if(Selected) {
event.returnValue=false;
}
}
function doMouseMove() {
var newleft = 0;
if(Selected && (event.button == 1)) {
//alien the position of this object
newleft = event.screenX; //- document.all.OuterDiv.offsetLeft - (btnScroll.offsetWidth/2);
if(newleft<18) newleft=18;
else if(newleft>OuterDiv.width) newleft=OuterDiv.width + 3;
btnScroll.style.pixelLeft= newleft;
//event.returnValue = false;
//event.cancelBubble = true;
}
}
function doMouseUp() {
var NewLeft;
if(!Selected) return;
NewLeft = btnScroll.style.pixelLeft;
if(NewLeft != CurLeft) {
//Change the position on Media Clip
parent.LeftupFrame.MediaPlayer.CurrentPosition = (NewLeft - 18)/(OuterDiv.width-18) * parent.LeftupFrame.MediaPlayer.Duration;
}
//Log current position
CurLeft = NewLeft;
//This operation have done
Selected = false;
}
document.ondragstart = doDragStart;
document.onmousemove = doMouseMove;
document.onmouseup = doMouseUp;
</script>
<script LANGUAGE="JavaScript">
<!--
function SetFileName() {
//parent.LeftupFrame.MediaPlayer.FileName= AsxFileName;
if (parent.LeftupFrame.MediaPlayer.CanScan||parent.LeftupFrame.MediaPlayer.CanSeek){
SetBorder(btnFF,"silver","silver","silver","black");
SetBorder(btnRew,"silver","silver","silver","black");
}else{
SetBorder(btnFF,"silver","silver","silver","GRAY");
SetBorder(btnRew,"silver","silver","silver","GRAY");
}
}
// *** Play button click event. ***
function PlayBtnClick() {
parent.LeftupFrame.MediaPlayer.Play();
}
// *** Pause button click event ***
// If the stream is paused restart it, else pause the stream.
function PauseBtnClick() {
if( parent.LeftupFrame.Med
没有合适的资源?快使用搜索试试~ 我知道了~
多媒体平台源代码1.0.zip_多媒体_多媒体编辑
共102个文件
gif:29个
frm:20个
htm:10个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 39 浏览量
2022-09-20
13:27:09
上传
评论
收藏 1.52MB ZIP 举报
温馨提示
可以进行多媒体内容编辑的一个程序,是采用控件实现的。可以下载后在本地进行编辑。
资源推荐
资源详情
资源评论
收起资源包目录
多媒体平台源代码1.0.zip_多媒体_多媒体编辑 (102个子文件)
mainModule.bas 65KB
Get Directory Dialog.bas 61KB
reg.bat 59KB
.frmMain.frm.blk 0B
.rmoc3260.oca.blk 0B
logo.bmp 644KB
dataCollection.cls 59KB
rmoc3260.dll 144KB
多媒体平台.exe 136KB
autoProgressBar.exp 59KB
frmMain1.frm 96KB
frmNewProjectWizard.frm 80KB
frmOpenProjectWizard.frm 66KB
frmSplash1.frm 65KB
frmSetWebInfo.frm 65KB
frmSplash.frm 64KB
frmRecentProjectWizard.frm 63KB
frmSetVideoInfo.frm 62KB
frmTemplateSet.frm 62KB
frmMatForm.frm 61KB
frmWebInfoSet.frm 60KB
frmProjectWizard.frm 60KB
frmStartup.frm 60KB
frmSeek.frm 59KB
frmProgress.frm 59KB
frmMdiForm.frm 59KB
frmSetWizard.frm 59KB
frmProgressBar.frm 59KB
frmAbout.frm 59KB
frmWebPreview.frm 59KB
frmOpenProjectWizard.frx 59KB
frmNewProjectWizard.frx 59KB
frmProjectWizard.frx 59KB
frmSplash.frx 59KB
frmAbout.frx 59KB
016.gif 60KB
016.gif 60KB
open.gif 60KB
control.gif 59KB
control.gif 59KB
one.gif 59KB
one.gif 59KB
line.gif 59KB
naudio.gif 59KB
line.gif 59KB
naudio.gif 59KB
sline.gif 59KB
sline.gif 59KB
video.gif 59KB
video.gif 59KB
scrool-button.gif 59KB
scrool-button.gif 59KB
scrool.gif 59KB
scrool.gif 59KB
audio.gif 59KB
audio.gif 59KB
allowdown.gif 59KB
allowup.gif 59KB
allowupover.gif 59KB
allowdownover.gif 59KB
allowdown.gif 59KB
allowup.gif 59KB
allowupover.gif 59KB
allowdownover.gif 59KB
bottom.htm 80KB
bottom.htm 80KB
leftup.htm 63KB
leftup.htm 61KB
000.htm 59KB
000.htm 59KB
leftdown.htm 59KB
leftdown.htm 59KB
index.htm 59KB
index.htm 1KB
app.ini 59KB
descript.ion 0B
descript.ion 0B
bgs1.jpg 67KB
bgs1.jpg 67KB
清华力合.jpg 59KB
autoProgressBar.lib 59KB
frmMain.log 59KB
frmProgress.log 59KB
FRMOPE~1.log 59KB
.frmMain.frm.map 96KB
.rmoc3260.oca.map 96KB
多媒体平台.OBJ 228KB
AUTOPR~2.oca 80KB
autoProgressBar.oca 66KB
msdxm.ocx 822KB
AutoProgress.ocx 64KB
AutoProgress.ocx1 64KB
vssver.scc 59KB
vssver.scc 59KB
MSSCCPRJ.SCC 59KB
amcompat.tlb 80KB
nscompat.tlb 80KB
VB22.tmp 80KB
VB3A.tmp 6KB
www.pudn.com.txt 218B
共 102 条
- 1
- 2
资源评论
JonSco
- 粉丝: 66
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功