📄 command2.as
字号:
function openfile(link,objID,startID,type,captions) {
//if (link == "" || link == "-") {
//return (undefined);
//}
isopen=false;
temp = link.split(",");
link_type = link.split(".")[1];//jpg
for (i=1; winList.length>=i; i++) {
if (this[winList[i]].fullClipName ==type) {
isopen=true;
Windows=this[winList[i]];
//this[winList[i]].notify();
//return (undefined);
}
//end if
}
/// end of for
//getURL("photo/photoview.swf?tps="+type);
// end if
if (!isopen){
winCount++;
winName = winCount<10 ? ("Win0"+winCount) : ("Win"+winCount);
winList.push(winName);
attachMovie("exp_window", winName, depth_windows+winCount);
Windows = this[winName];
//loaded_SWF()
Windows.clipName =type;
Windows.listNumber = winList.length-1;
Windows.centerX = true;
Windows.centerY = true;
Windows._visible = 0;
Windows.file=link;
Windows.captions=captions;
//Windows.xmlObj= new Object();
Windows.objID=objID;
Windows.startID=startID;
//getURL(objID);
return (Windows);}
else
{ Windows.file=link;
//Windows.xmlObj= new Object();
Windows.objID=objID;
Windows.captions=captions;
Windows.startID=startID;
//getURL(Windows.xmlObj);
//Windows._visible = 0;
Windows.Clip.gotoAndStop(1);
Windows.loaded_SWF();
Windows.notify();
//trace(1);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -