国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
Flash動(dòng)畫包裝成SCORM1.2標(biāo)準(zhǔn)的SCO - CourseOL課件制作服務(wù) 課件制...
網(wǎng)絡(luò)上經(jīng)常有人問起,我做的FLASH動(dòng)畫怎么做成SCORM1.2標(biāo)準(zhǔn)的課件?我改如果用FLASH制作符合SCORM1.2標(biāo)準(zhǔn)的SCO,今天終于找到了一個(gè)工具,大家一起分享。
下載軟件FlashAPI.zip
是一個(gè)FLASH的源文件,里面已經(jīng)定義和使用了一些SCORM1.2標(biāo)準(zhǔn)的函數(shù),具體使用說明
// Copyright 2005 DotNetSCORM
http://www.dotnetscorm.com
This is a small movie intended for use as a template for Flash-based SCOs. It is a single frame of Actionscript that performs several "introductory" LMS communications.

When using this movie, please keep in mind the following:

1. Use a pre-loader. You can insert your pre-loader code anywhere between frames 1 and 9.
2. Do not insert any LMS-dependent code before frame 11.
3. When possible, use the API's variables via _root.variable and _parent.variable.
4. If you make additional LMSGetVariable calls, use a _root.watch mechanism.
5. Be sure to add LMSFinish at the end of your movie.

//Variable Definitions
var bookMark, studentName, studentStatus, studentLocation, objStatus, lastError;
var tmpBkMark, tmpName, tmpStatus, tmpLocation, tmpObjStatus, tmpError;
var lmsInitialized, dataGathered;

//Initialize LMS
fscommand("LMSInitialize");
fscommand("LMSGetLastError","tmpError");

//Trap Initialization Errors
_root.watch('tmpError', divineError);
function divineError() {
lastError = arguments[2];
if ((lastError != 0) && (lmsInitialized = null)) {
getURL("javascript:alert(\"Error: Unable to initialize LMS.\")","_blank");
lmsInitialized = false;
}
else { lmsInitialized = true; }
}

//Start LMS Interaction
if (lmsInitialized == null) { _root.watch('lmsInitialized', startInteraction); }
function startInteraction() {
if (lmsInitialized) {
//Set Lesson Data
fscommand("LMSSetValue","cmi.core.lesson_status,incomplete");
fscommand("LMSSetValue","cmi.core.exit,suspend");
//Get Student Information
fscommand("LMSGetValue","cmi.core.student_name,tmpName");
fscommand("LMSGetValue","cmi.core.lesson_location,tmpLocation");
fscommand("LMSGetValue","cmi.suspend_data,tmpStatus");
dataGathered = 0;
}
}

//Trap Student Information Variables
_root.watch('tmpName', setName);
function setName() { fullName = arguments[2]; dataGathered++; }
_root.watch('tmpLoc', setLocation);
function setLocation() { bookMark = arguments[2]; dataGathered++; }
_root.watch('tmpStatus', setStatus);
function setStatus() { var studentStatus = arguments[2]; dataGathered++; }
_root.watch('tmpObjStatus', setObjStatus);
function setObjStatus() { var objStatus = arguments[2]; dataGathered++; }

//Wait For Information
if (dataGathered != 4) { _root.watch('dataGathered', startMovie); }
else { _root.nextFrame() }

function startMovie() { _root.nextFrame() }
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
FLASH課件中常用的fscommand 命令詳解
十個(gè)精美課件
如何制作能記錄學(xué)習(xí)進(jìn)度的SCORM標(biāo)準(zhǔn)課件
在線教育資訊-產(chǎn)業(yè)標(biāo)準(zhǔn)--【梁政良】怎樣設(shè)計(jì)一個(gè)符合SCORM的LMS?(一)
使用Flash和C
AJAX寫scorm1.2標(biāo)準(zhǔn)播放器中的API adapter例子
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服