SCORM and Flash: Getting
started
This is the html for
the the tutorial1.htm file. This is all generated automatically by Macromedia
Flash, except for the section in blue. This is part of the full tutorial
available from Alpha LMS' Briefings
page.
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<TITLE>tutorial1</TITLE>
<script Language="Javascript" src="alms_sco.js"></script>
</HEAD>
<BODY bgcolor="#00CCFF" onload="scormStart();"
onunload="scormClose();">
<SCRIPT LANGUAGE=JavaScript>
<!--
marksTotal = 6;
var InternetExplorer
= navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function tutorial1_DoFSCommand(command, args) {
var tutorial1Obj = InternetExplorer ? tutorial1 : document.tutorial1;
//
// Place your code here...
//
scormCommand(command, args);
}
// 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 tutorial1_FSCommand(ByVal command, ByVal args)\n');
document.write(' call tutorial1_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--StartingQuestion1Finished!--><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
ID="tutorial1" WIDTH="100" HEIGHT="100"
ALIGN="">
<PARAM NAME=movie VALUE="tutorial1.swf"> <PARAM NAME=loop
VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor
VALUE=#00CCFF> <EMBED src="tutorial1.swf" loop=false quality=high
bgcolor=#00CCFF WIDTH="100" HEIGHT="100" swLiveConnect=true
ID="tutorial1" NAME="tutorial1" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>
|