📄 formcheck.js
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -