formcheck.js

来自「该软件是帮助大学生更好的生活」· JavaScript 代码 · 共 40 行

JS
40
字号
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function controler_DoFSCommand(command, args) {
 var controlerObj = InternetExplorer ? controler : document.controler;
 var movie = InternetExplorer ? top10movie : document.top10movie;
 if (command == "pause") {
  movie.StopPlay();
 }
 if (command == "play") {
  movie.Play();
 }
 if (command == "rewind") {
  movie.Rewind();
 }
 if (command == "stop") {
  movie.StopPlay();
 }
 if (command == "getframes") {
  var totalFrames = movie.TotalFrames;
  controlerObj.Setvariable("/:totalFrames",totalFrames);
 }
 if (command == "getcurrentframe") {
  var currentFrame = movie.TCurrentFrame("/");
  controlerObj.Setvariable("/:currentFrame",currentFrame);
 }
 if (command == "jumper") {
  movie.GotoFrame(args);
  movie.Play();
 }
}
// Hook for Internet Explorer 
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
   navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
 document.write('<script LANGUAGE=VBscript\> \n');
 document.write('on error resume next \n');
 document.write('Sub controler_FSCommand(ByVal command, ByVal args)\n');
 document.write('  call controler_DoFSCommand(command, args)\n');
 document.write('end sub\n');
 document.write('</script\> \n');
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?