Frame 1
var rdinfoHasPlaybar = 1;
var rdinfoFrameCount = 13098;
var rdinfoFrameCount = 13098;
var rdinfoSlidesInProject = 114;
var rdinfoFPS = 30;
var rdinfocurrFrame = 1;
var rdinfoCurrentFrame = 1;
var rdinfoCurrentSlide = 1;
var rdinfoCurrentSlideInProject = 1;
var rdinfoSlideCount = 114;
var rdIsMainMovie = 1;
var rdIsPreview = 0;
var rdcmndGotoFrame = -1;
var rdcmndResume = 0;
var rdcmndPause = 0;
var rdcmndPrevious = 0;
var rdcmndNext = 0;
var _quality = "best";
var CaptivateVersion = "1.1.0";
function isWaiting() {
if (waitCount) {
return(true);
}
return(false);
}
function incrementWait() {
if (waitCount) {
waitCount++;
} else {
waitCount = 1;
}
}
function decrementWait() {
if (waitCount) {
waitCount--;
}
}
function setExpired() {
expired = true;
}
function isExpired() {
if (expired == true) {
return(true);
}
return(false);
}
Frame 2
function onEnterFrame() {
if (movie != undefined) {
movie.movieonEnterFrame();
}
}
function itemLoaded(item) {
if (typeof(item.setMovie) == "function") {
item.setMovie(this.movie);
}
}
function getSlideIndexFromFrame(frame) {
return(movie.getSlideIndexFromFrame(frame));
}
var movie = new rdMovie(this);
var pacemaker = new rdPacemaker(movie);
movie.SetPacemaker(pacemaker);
movie.setSize(720, 579);
movie.SetFps(30);
movie.m_fps = 30;
movie.m_supportsSyncPlayback = true;
function toberemoved() {
}
var index = 0;
var slideTransition = new rdSlideTransition(0, 0, 30, 0);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(0, 0, 144, 144, 144);
movie.addSlide(index, slideData);
var index = 1;
var slideTransition = new rdSlideTransition(0, 0, 0, 144);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(144, 144, 503, 503, 359);
movie.addSlide(index, slideData);
var index = 2;
var slideTransition = new rdSlideTransition(0, 0, 0, 503);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(503, 503, 593, 593, 90);
movie.addSlide(index, slideData);
var index = 3;
var slideTransition = new rdSlideTransition(0, 0, 0, 593);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(593, 593, 653, 653, 60);
movie.addSlide(index, slideData);
var index = 4;
var slideTransition = new rdSlideTransition(0, 0, 0, 653);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(653, 653, 827, 827, 174);
movie.addSlide(index, slideData);
var index = 5;
var slideTransition = new rdSlideTransition(0, 0, 0, 827);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(827, 827, 917, 917, 90);
movie.addSlide(index, slideData);
var index = 6;
var slideTransition = new rdSlideTransition(0, 0, 0, 917);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(917, 917, 968, 968, 51);
movie.addSlide(index, slideData);
var index = 7;
var slideTransition = new rdSlideTransition(0, 0, 0, 968);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(968, 968, 1091, 1091, 123);
movie.addSlide(index, slideData);
var index = 8;
var slideTransition = new rdSlideTransition(0, 0, 0, 1091);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(1091, 1091, 1097, 1097, 6);
movie.addSlide(index, slideData);
var index = 9;
var slideTransition = new rdSlideTransition(0, 0, 0, 1097);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(1097, 1097, 1217, 1217, 120);
movie.addSlide(index, slideData);
var index = 10;
var slideTransition = new rdSlideTransition(0, 0, 0, 1217);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(1217, 1217, 1223, 1223, 6);
movie.addSlide(index, slideData);
var index = 11;
var slideTransition = new rdSlideTransition(0, 0, 0, 1223);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(1223, 1223, 1517, 1517, 294);
movie.addSlide(index, slideData);
var index = 12;
var slideTransition = new rdSlideTransition(0, 0, 0, 1517);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(1517, 1517, 1643, 1643, 126);
movie.addSlide(index, slideData);
var index = 13;
var slideTransition = new rdSlideTransition(0, 0, 0, 1643);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(1643, 1643, 1763, 1763, 120);
movie.addSlide(index, slideData);
var index = 14;
var slideTransition = new rdSlideTransition(0, 0, 0, 1763);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(1763, 1763, 1918, 1918, 155);
movie.addSlide(index, slideData);
var index = 15;
var slideTransition = new rdSlideTransition(0, 0, 0, 1918);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(1918, 1918, 2081, 2081, 163);
movie.addSlide(index, slideData);
var index = 16;
var slideTransition = new rdSlideTransition(0, 0, 0, 2081);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2081, 2081, 2236, 2236, 155);
movie.addSlide(index, slideData);
var index = 17;
var slideTransition = new rdSlideTransition(0, 0, 0, 2236);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2236, 2236, 2356, 2356, 120);
movie.addSlide(index, slideData);
var index = 18;
var slideTransition = new rdSlideTransition(0, 0, 0, 2356);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2356, 2356, 2362, 2362, 6);
movie.addSlide(index, slideData);
var index = 19;
var slideTransition = new rdSlideTransition(0, 0, 0, 2362);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2362, 2362, 2482, 2482, 120);
movie.addSlide(index, slideData);
var index = 20;
var slideTransition = new rdSlideTransition(0, 0, 0, 2482);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2482, 2482, 2488, 2488, 6);
movie.addSlide(index, slideData);
var index = 21;
var slideTransition = new rdSlideTransition(0, 0, 0, 2488);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2488, 2488, 2608, 2608, 120);
movie.addSlide(index, slideData);
var index = 22;
var slideTransition = new rdSlideTransition(0, 0, 0, 2608);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2608, 2608, 2728, 2728, 120);
movie.addSlide(index, slideData);
var index = 23;
var slideTransition = new rdSlideTransition(0, 0, 0, 2728);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2728, 2728, 2848, 2848, 120);
movie.addSlide(index, slideData);
var index = 24;
var slideTransition = new rdSlideTransition(0, 0, 0, 2848);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2848, 2848, 2968, 2968, 120);
movie.addSlide(index, slideData);
var index = 25;
var slideTransition = new rdSlideTransition(0, 0, 0, 2968);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(2968, 2968, 3088, 3088, 120);
movie.addSlide(index, slideData);
var index = 26;
var slideTransition = new rdSlideTransition(0, 0, 0, 3088);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3088, 3088, 3208, 3208, 120);
movie.addSlide(index, slideData);
var index = 27;
var slideTransition = new rdSlideTransition(0, 0, 0, 3208);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3208, 3208, 3328, 3328, 120);
movie.addSlide(index, slideData);
var index = 28;
var slideTransition = new rdSlideTransition(0, 0, 0, 3328);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3328, 3328, 3448, 3448, 120);
movie.addSlide(index, slideData);
var index = 29;
var slideTransition = new rdSlideTransition(0, 0, 0, 3448);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3448, 3448, 3564, 3564, 116);
movie.addSlide(index, slideData);
var index = 30;
var slideTransition = new rdSlideTransition(0, 0, 0, 3564);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3564, 3564, 3576, 3576, 12);
movie.addSlide(index, slideData);
var index = 31;
var slideTransition = new rdSlideTransition(0, 0, 0, 3576);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3576, 3576, 3696, 3696, 120);
movie.addSlide(index, slideData);
var index = 32;
var slideTransition = new rdSlideTransition(0, 0, 0, 3696);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3696, 3696, 3816, 3816, 120);
movie.addSlide(index, slideData);
var index = 33;
var slideTransition = new rdSlideTransition(0, 0, 0, 3816);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3816, 3816, 3951, 3951, 135);
movie.addSlide(index, slideData);
var index = 34;
var slideTransition = new rdSlideTransition(0, 0, 0, 3951);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(3951, 3951, 4071, 4071, 120);
movie.addSlide(index, slideData);
var index = 35;
var slideTransition = new rdSlideTransition(0, 0, 0, 4071);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4071, 4071, 4161, 4161, 90);
movie.addSlide(index, slideData);
var index = 36;
var slideTransition = new rdSlideTransition(0, 0, 0, 4161);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4161, 4161, 4173, 4173, 12);
movie.addSlide(index, slideData);
var index = 37;
var slideTransition = new rdSlideTransition(0, 0, 0, 4173);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4173, 4173, 4293, 4293, 120);
movie.addSlide(index, slideData);
var index = 38;
var slideTransition = new rdSlideTransition(0, 0, 0, 4293);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4293, 4293, 4413, 4413, 120);
movie.addSlide(index, slideData);
var index = 39;
var slideTransition = new rdSlideTransition(0, 0, 0, 4413);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4413, 4413, 4542, 4542, 129);
movie.addSlide(index, slideData);
var index = 40;
var slideTransition = new rdSlideTransition(0, 0, 0, 4542);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4542, 4542, 4671, 4671, 129);
movie.addSlide(index, slideData);
var index = 41;
var slideTransition = new rdSlideTransition(0, 0, 0, 4671);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4671, 4671, 4761, 4761, 90);
movie.addSlide(index, slideData);
var index = 42;
var slideTransition = new rdSlideTransition(0, 0, 0, 4761);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4761, 4761, 4836, 4836, 75);
movie.addSlide(index, slideData);
var index = 43;
var slideTransition = new rdSlideTransition(0, 0, 0, 4836);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4836, 4836, 4956, 4956, 120);
movie.addSlide(index, slideData);
var index = 44;
var slideTransition = new rdSlideTransition(0, 0, 0, 4956);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(4956, 4956, 5085, 5085, 129);
movie.addSlide(index, slideData);
var index = 45;
var slideTransition = new rdSlideTransition(0, 0, 0, 5085);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(5085, 5085, 5214, 5214, 129);
movie.addSlide(index, slideData);
var index = 46;
var slideTransition = new rdSlideTransition(0, 0, 0, 5214);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(5214, 5214, 5334, 5334, 120);
movie.addSlide(index, slideData);
var index = 47;
var slideTransition = new rdSlideTransition(0, 0, 0, 5334);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(5334, 5334, 5454, 5454, 120);
movie.addSlide(index, slideData);
var index = 48;
var slideTransition = new rdSlideTransition(0, 0, 0, 5454);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(5454, 5454, 5631, 5631, 177);
movie.addSlide(index, slideData);
var index = 49;
var slideTransition = new rdSlideTransition(0, 0, 0, 5631);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(5631, 5631, 5751, 5751, 120);
movie.addSlide(index, slideData);
var index = 50;
var slideTransition = new rdSlideTransition(0, 0, 0, 5751);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(5751, 5751, 5970, 5970, 219);
movie.addSlide(index, slideData);
var index = 51;
var slideTransition = new rdSlideTransition(0, 0, 0, 5970);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(5970, 5970, 6090, 6090, 120);
movie.addSlide(index, slideData);
var index = 52;
var slideTransition = new rdSlideTransition(0, 0, 0, 6090);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(6090, 6090, 6210, 6210, 120);
movie.addSlide(index, slideData);
var index = 53;
var slideTransition = new rdSlideTransition(0, 0, 0, 6210);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(6210, 6210, 6330, 6330, 120);
movie.addSlide(index, slideData);
var index = 54;
var slideTransition = new rdSlideTransition(0, 0, 0, 6330);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(6330, 6330, 6450, 6450, 120);
movie.addSlide(index, slideData);
var index = 55;
var slideTransition = new rdSlideTransition(0, 0, 0, 6450);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(6450, 6450, 6627, 6627, 177);
movie.addSlide(index, slideData);
var index = 56;
var slideTransition = new rdSlideTransition(0, 0, 0, 6627);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(6627, 6627, 6747, 6747, 120);
movie.addSlide(index, slideData);
var index = 57;
var slideTransition = new rdSlideTransition(0, 0, 0, 6747);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(6747, 6747, 6867, 6867, 120);
movie.addSlide(index, slideData);
var index = 58;
var slideTransition = new rdSlideTransition(0, 0, 0, 6867);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(6867, 6867, 6987, 6987, 120);
movie.addSlide(index, slideData);
var index = 59;
var slideTransition = new rdSlideTransition(0, 0, 0, 6987);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(6987, 6987, 7107, 7107, 120);
movie.addSlide(index, slideData);
var index = 60;
var slideTransition = new rdSlideTransition(0, 0, 0, 7107);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7107, 7107, 7236, 7236, 129);
movie.addSlide(index, slideData);
var index = 61;
var slideTransition = new rdSlideTransition(0, 0, 0, 7236);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7236, 7236, 7326, 7326, 90);
movie.addSlide(index, slideData);
var index = 62;
var slideTransition = new rdSlideTransition(0, 0, 0, 7326);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7326, 7326, 7356, 7356, 30);
movie.addSlide(index, slideData);
var index = 63;
var slideTransition = new rdSlideTransition(0, 0, 0, 7356);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7356, 7356, 7476, 7476, 120);
movie.addSlide(index, slideData);
var index = 64;
var slideTransition = new rdSlideTransition(0, 0, 0, 7476);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7476, 7476, 7596, 7596, 120);
movie.addSlide(index, slideData);
var index = 65;
var slideTransition = new rdSlideTransition(0, 0, 0, 7596);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7596, 7596, 7686, 7686, 90);
movie.addSlide(index, slideData);
var index = 66;
var slideTransition = new rdSlideTransition(0, 0, 0, 7686);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7686, 7686, 7764, 7764, 78);
movie.addSlide(index, slideData);
var index = 67;
var slideTransition = new rdSlideTransition(0, 0, 0, 7764);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7764, 7764, 7884, 7884, 120);
movie.addSlide(index, slideData);
var index = 68;
var slideTransition = new rdSlideTransition(0, 0, 0, 7884);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(7884, 7884, 8004, 8004, 120);
movie.addSlide(index, slideData);
var index = 69;
var slideTransition = new rdSlideTransition(0, 0, 0, 8004);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8004, 8004, 8124, 8124, 120);
movie.addSlide(index, slideData);
var index = 70;
var slideTransition = new rdSlideTransition(0, 0, 0, 8124);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8124, 8124, 8244, 8244, 120);
movie.addSlide(index, slideData);
var index = 71;
var slideTransition = new rdSlideTransition(0, 0, 0, 8244);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8244, 8244, 8250, 8250, 6);
movie.addSlide(index, slideData);
var index = 72;
var slideTransition = new rdSlideTransition(0, 0, 0, 8250);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8250, 8250, 8370, 8370, 120);
movie.addSlide(index, slideData);
var index = 73;
var slideTransition = new rdSlideTransition(0, 0, 0, 8370);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8370, 8370, 8376, 8376, 6);
movie.addSlide(index, slideData);
var index = 74;
var slideTransition = new rdSlideTransition(0, 0, 0, 8376);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8376, 8376, 8571, 8571, 195);
movie.addSlide(index, slideData);
var index = 75;
var slideTransition = new rdSlideTransition(0, 0, 0, 8571);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8571, 8571, 8691, 8691, 120);
movie.addSlide(index, slideData);
var index = 76;
var slideTransition = new rdSlideTransition(0, 0, 0, 8691);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8691, 8691, 8838, 8838, 147);
movie.addSlide(index, slideData);
var index = 77;
var slideTransition = new rdSlideTransition(0, 0, 0, 8838);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8838, 8838, 8967, 8967, 129);
movie.addSlide(index, slideData);
var index = 78;
var slideTransition = new rdSlideTransition(0, 0, 0, 8967);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(8967, 8967, 9087, 9087, 120);
movie.addSlide(index, slideData);
var index = 79;
var slideTransition = new rdSlideTransition(0, 0, 0, 9087);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9087, 9087, 9207, 9207, 120);
movie.addSlide(index, slideData);
var index = 80;
var slideTransition = new rdSlideTransition(0, 0, 0, 9207);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9207, 9207, 9327, 9327, 120);
movie.addSlide(index, slideData);
var index = 81;
var slideTransition = new rdSlideTransition(0, 0, 0, 9327);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9327, 9327, 9447, 9447, 120);
movie.addSlide(index, slideData);
var index = 82;
var slideTransition = new rdSlideTransition(0, 0, 0, 9447);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9447, 9447, 9567, 9567, 120);
movie.addSlide(index, slideData);
var index = 83;
var slideTransition = new rdSlideTransition(0, 0, 0, 9567);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9567, 9567, 9687, 9687, 120);
movie.addSlide(index, slideData);
var index = 84;
var slideTransition = new rdSlideTransition(0, 0, 0, 9687);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9687, 9687, 9693, 9693, 6);
movie.addSlide(index, slideData);
var index = 85;
var slideTransition = new rdSlideTransition(0, 0, 0, 9693);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9693, 9693, 9813, 9813, 120);
movie.addSlide(index, slideData);
var index = 86;
var slideTransition = new rdSlideTransition(0, 0, 0, 9813);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9813, 9813, 9819, 9819, 6);
movie.addSlide(index, slideData);
var index = 87;
var slideTransition = new rdSlideTransition(0, 0, 0, 9819);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(9819, 9819, 10014, 10014, 195);
movie.addSlide(index, slideData);
var index = 88;
var slideTransition = new rdSlideTransition(0, 0, 0, 10014);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(10014, 10014, 10134, 10134, 120);
movie.addSlide(index, slideData);
var index = 89;
var slideTransition = new rdSlideTransition(0, 0, 0, 10134);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(10134, 10134, 10284, 10284, 150);
movie.addSlide(index, slideData);
var index = 90;
var slideTransition = new rdSlideTransition(0, 0, 0, 10284);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(10284, 10284, 10404, 10404, 120);
movie.addSlide(index, slideData);
var index = 91;
var slideTransition = new rdSlideTransition(0, 0, 0, 10404);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(10404, 10404, 10524, 10524, 120);
movie.addSlide(index, slideData);
var index = 92;
var slideTransition = new rdSlideTransition(0, 0, 0, 10524);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(10524, 10524, 10662, 10662, 138);
movie.addSlide(index, slideData);
var index = 93;
var slideTransition = new rdSlideTransition(0, 0, 0, 10662);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(10662, 10662, 10782, 10782, 120);
movie.addSlide(index, slideData);
var index = 94;
var slideTransition = new rdSlideTransition(0, 0, 0, 10782);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(10782, 10782, 10911, 10911, 129);
movie.addSlide(index, slideData);
var index = 95;
var slideTransition = new rdSlideTransition(0, 0, 0, 10911);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(10911, 10911, 11040, 11040, 129);
movie.addSlide(index, slideData);
var index = 96;
var slideTransition = new rdSlideTransition(0, 0, 0, 11040);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11040, 11040, 11160, 11160, 120);
movie.addSlide(index, slideData);
var index = 97;
var slideTransition = new rdSlideTransition(0, 0, 0, 11160);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11160, 11160, 11280, 11280, 120);
movie.addSlide(index, slideData);
var index = 98;
var slideTransition = new rdSlideTransition(0, 0, 0, 11280);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11280, 11280, 11370, 11370, 90);
movie.addSlide(index, slideData);
var index = 99;
var slideTransition = new rdSlideTransition(0, 0, 0, 11370);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11370, 11370, 11490, 11490, 120);
movie.addSlide(index, slideData);
var index = 100;
var slideTransition = new rdSlideTransition(0, 0, 0, 11490);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11490, 11490, 11610, 11610, 120);
movie.addSlide(index, slideData);
var index = 101;
var slideTransition = new rdSlideTransition(0, 0, 0, 11610);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11610, 11610, 11730, 11730, 120);
movie.addSlide(index, slideData);
var index = 102;
var slideTransition = new rdSlideTransition(0, 0, 0, 11730);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11730, 11730, 11865, 11865, 135);
movie.addSlide(index, slideData);
var index = 103;
var slideTransition = new rdSlideTransition(0, 0, 0, 11865);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11865, 11865, 11985, 11985, 120);
movie.addSlide(index, slideData);
var index = 104;
var slideTransition = new rdSlideTransition(0, 0, 0, 11985);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(11985, 11985, 12114, 12114, 129);
movie.addSlide(index, slideData);
var index = 105;
var slideTransition = new rdSlideTransition(0, 0, 0, 12114);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(12114, 12114, 12234, 12234, 120);
movie.addSlide(index, slideData);
var index = 106;
var slideTransition = new rdSlideTransition(0, 0, 0, 12234);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(12234, 12234, 12411, 12411, 177);
movie.addSlide(index, slideData);
var index = 107;
var slideTransition = new rdSlideTransition(0, 0, 0, 12411);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(12411, 12411, 12531, 12531, 120);
movie.addSlide(index, slideData);
var index = 108;
var slideTransition = new rdSlideTransition(0, 0, 0, 12531);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(12531, 12531, 12537, 12537, 6);
movie.addSlide(index, slideData);
var index = 109;
var slideTransition = new rdSlideTransition(0, 0, 0, 12537);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(12537, 12537, 12657, 12657, 120);
movie.addSlide(index, slideData);
var index = 110;
var slideTransition = new rdSlideTransition(0, 0, 0, 12657);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(12657, 12657, 12663, 12663, 6);
movie.addSlide(index, slideData);
var index = 111;
var slideTransition = new rdSlideTransition(0, 0, 0, 12663);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(12663, 12663, 12858, 12858, 195);
movie.addSlide(index, slideData);
var index = 112;
var slideTransition = new rdSlideTransition(0, 0, 0, 12858);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(12858, 12858, 13008, 13008, 150);
movie.addSlide(index, slideData);
var index = 113;
var slideTransition = new rdSlideTransition(0, 0, 0, 13008);
movie.addSlideTransition(index, slideTransition);
var slideData = new rdSlideData(13008, 13008, 13098, 13100, 90);
movie.addSlide(index, slideData);
var index = 114;
var slideTransition = new rdSlideTransition(0, 30, 0, 13068);
movie.addSlideTransition(index, slideTransition);
var endSwfAction = 0;
quizPlaybackController = new rdQuizPlaybackController();
_slideContent2 = quizPlaybackController;
_slideContent = quizPlaybackController;
quizPlaybackController.init();
this.quizPlaybackController.setMovie(movie);
this.movie.setQuizPlaybackController(quizPlaybackController);
movie.informQuizPlaybackController();
var slideInfo = null;
movie.m_quizPlaybackController.setLmsType(0);
movie.m_quizPlaybackController.setSendCompletionFlag(1);
movie.m_quizPlaybackController.setSendScoreAsPercent(0);
movie.m_quizPlaybackController.setTrackingLevel(0);
movie.m_quizPlaybackController.setEmailAddress("");
movie.m_quizPlaybackController.setIsTrackedFlag(0);
_accProps = new Object();
_accProps.name = "#4 - Simple Buttons ";
Accessibility.updateProperties();
Frame 259
stop();
Symbol 2077 MovieClip [__Packages.rdExpire] Frame 0
class rdExpire extends MovieClip
{
function rdExpire () {
super();
}
function onLoad() {
var _local2 = this;
var _local1 = new Date();
var _local3 = new Date();
_local1.setFullYear(_local2.year);
_local1.setMonth(_local2.month);
_local1.setDate(_local2.day);
if (_local1.getTime() < _local3.getTime()) {
_local2._parent.incrementWait();
_local2._parent.setExpired();
} else {
_local2._visible = false;
}
}
}
Symbol 2076 MovieClip [__Packages.rdPreloader] Frame 0
class rdPreloader extends MovieClip
{
function rdPreloader () {
super();
}
function done() {
var _local1 = this;
_local1._visible = false;
_local1.m_done = true;
_local1._parent.decrementWait();
}
function onEnterFrame() {
var _local1 = this;
if (typeof(_local1._parent.isExpired) == "function") {
if (_local1._parent.isExpired()) {
_local1._visible = false;
return;
}
} else if (_local1.m_done) {
} else {
if (!_local1.m_doneInit) {
_local1._parent.incrementWait();
_local1.m_startTime = getTimer();
if (typeof(_local1.loading_sub_mc.initialize) == "function") {
_local1.loading_sub_mc.initialize(_local1.m_movieWidth, _local1.m_movieHeight);
}
_local1.m_doneInit = true;
}
switch (_local1.m_loadType) {
case loadTypeBytes :
default :
var totalBytes = _local1._parent.getBytesTotal();
var loadedBytes = _local1._parent.getBytesLoaded();
if (typeof(_local1.loading_sub_mc.onProgress) == "function") {
_local1.loading_sub_mc.onProgress(loadedBytes, totalBytes);
}
if (_local1._parent._framesloaded >= _local1._parent._totalframes) {
if (typeof(_local1.loading_sub_mc.isDone) != "function") {
_local1.done();
}
}
// unexpected jump
case loadTypeTime :
}
var _local3 = getTimer();
var _local2 = _local3 - _local1.m_startTime;
if (typeof(_local1.loading_sub_mc.onProgress) == "function") {
_local1.loading_sub_mc.onProgress(_local2, _local1.m_loadingTime);
}
if (_local2 >= _local1.m_loadingTime) {
if (typeof(_local1.loading_sub_mc.isDone) != "function") {
_local1.done();
}
}
if ((typeof(_local1.loading_sub_mc.isDone) == "function") && (!_local1.m_done)) {
if (_local1.loading_sub_mc.isDone()) {
_local1.done();
}
}
}
}
var initiaize = null;
var progress = null;
var m_doneInit = false;
var m_done = false;
var loading_sub_mc = null;
static var loadTypeTime = 1;
static var loadTypeBytes = 2;
var m_loadType = 1;
var m_loadingTime = 5000;
}
Symbol 2075 MovieClip [__Packages.rdPassword] Frame 0
class rdPassword extends MovieClip
{
var pThis;
function rdPassword () {
super();
}
function rdPreloader() {
}
function done() {
var _local1 = this;
Key.removeListener(_local1.myListener);
_local1._visible = false;
_local1.m_done = true;
_local1._parent.decrementWait();
_local1._parent.play();
}
function Submit() {
var _local1 = this;
if (_local1.input_txt == _local1.m_password) {
_local1.done();
} else {
(_local1.gotoAndStop(2));// not popped
}
}
function CheckKeyDown() {
if (Key.isDown(13)) {
pThis.Submit();
}
}
function initialize() {
var _local1 = this;
_local1._parent.incrementWait();
var _local2 = _local1._target;
_local2 = _local2 + "/password_editField";
Selection.setFocus(_local2);
_local1.myListener = new Object();
_local1.myListener.pThis = _local1;
_local1.myListener.onKeyDown = _local1.CheckKeyDown;
Key.addListener(_local1.myListener);
}
function onEnterFrame() {
var _local1 = this;
if (_local1._parent.isExpired()) {
_local1._visible = false;
} else if (_local1.m_done) {
} else if (!_local1.m_doneInit) {
_local1.initialize();
_local1.m_doneInit = true;
}
}
var m_doneInit = false;
var m_done = false;
}
Symbol 2069 MovieClip Frame 1
function initialize(movieWidth, movieHeight) {
}
function onProgress(loadedBytes, totalBytes) {
var _local1 = Math.round((loadedBytes / totalBytes) * 100);
if (_local1 > 60) {
this.done = true;
}
percent_txt = _local1 + "%";
}
function isDone() {
if (this.done) {
return(true);
}
return(false);
}
Symbol 2068 MovieClip [5df827_241] Frame 1
#initclip 4
Object.registerClass("5df827_241", rdPreloader);
#endinitclip
var m_movieWidth = 720;
var m_movieHeight = 579;
var m_loadType = 2;
var m_loadingTime = 5000;
Symbol 1 MovieClip [__Packages.rdSlideData] Frame 0
class rdSlideData
{
function rdSlideData (showOnFrame, playOnFrame, stopOnFrame, hideOnFrame, frameCount) {
var _local1 = this;
_local1.m_showOnFrame = showOnFrame;
_local1.m_playOnFrame = playOnFrame;
_local1.m_stopOnFrame = stopOnFrame;
_local1.m_hideOnFrame = hideOnFrame;
_local1.m_frameCount = frameCount;
}
var m_rdSlide_mc = null;
}
Symbol 2 MovieClip [__Packages.rdBase] Frame 0
class rdBase extends MovieClip
{
function rdBase () {
super();
}
function Initialize() {
var _local1 = this;
_local1.m_left = _local1._x;
_local1.m_top = _local1._y;
_local1.m_width = _local1._width;
_local1.m_height = _local1._height;
_local1.m_right = _local1.m_left + _local1.m_width;
_local1.m_bottom = _local1.m_top + _local1.m_height;
_local1.m_alpha = _local1._alpha;
}
}
Symbol 3 MovieClip [__Packages.rdSlide] Frame 0
class rdSlide extends rdBase
{
var m_NoSkipFramesArray, _currentframe, gotoAndStop, m_Sub_mc_array;
function rdSlide () {
super();
m_NoSkipFramesArray = new Array();
return;
}
function onLoad() {
var _local1 = this;
_local1.tabChildren = true;
_local1.tabEnabled = false;
_local1._visible = false;
_local1._alpha = 100;
_local1.stop();
if (_local1.m_movie == undefined) {
_local1.m_movie = _local1._parent.movie;
_local1.m_movie.slideLoaded(_local1);
_local1.Initialize();
_local1.m_left = 0;
_local1.m_top = 0;
}
}
function getCurrentFrame() {
return(_currentframe);
}
function itemLoaded(item) {
item.setSlide(this);
}
function onEnterFrame() {
var _local1 = this;
if (_local1.m_isHidden) {
} else if (_local1.m_stopped || (_local1.m_paused)) {
} else if (_local1._currentframe >= (_local1._totalframes - 1)) {
_local1.slideCompleted();
}
}
function isHidden() {
return(m_isHidden);
}
function showSlide() {
var _local1 = this;
if (_local1.m_isHidden) {
_local1._visible = true;
_local1.m_isHidden = false;
}
}
function hideSlide() {
var _local1 = this;
if (!_local1.m_isHidden) {
_local1._visible = false;
_local1.gotoAndStop(1);
_local1.m_isHidden = true;
_local1.onLeaveSlide();
for (var _local2 in _local1) {
if (typeof(_local1[_local2]) == "movieclip") {
_local1[_local2].m_doOnceInvisible = true;
}
}
}
}
function isPlaying() {
return(m_isPlaying);
}
function rewindSlide() {
gotoAndStop(1);
}
function onEnterSlide() {
var _local1 = this;
if (!_local1.m_isPlaying) {
if (_local1.m_movie.m_quizPlaybackController) {
var _local2;
var slideName = _local1._name;
var _local3 = parseInt(slideName.substr(5));
_local2 = _local1.m_movie.m_quizPlaybackController.getSlide(_local3);
_local1.m_movie.m_quizPlaybackController.enterSlide(_local2);
}
_local1.m_isPlaying = true;
}
}
function onLeaveSlide() {
var _local1 = this;
if (_local1.m_isPlaying) {
_local1.m_isPlaying = false;
}
if ((!_local1.m_isQuizSlide) && (_local1.m_movie.m_quizPlaybackController)) {
var slideName = _local1._name;
var slideNo = parseInt(slideName.substr(5));
var _local2 = _local1.m_movie.m_quizPlaybackController.getSlide(slideNo);
var _local3 = _local1.m_movie.m_quizPlaybackController.quizControllerForSlide(_local2);
var next_slide = _local3.slideAfter(_local2);
_local3.leaveCurrentSlide(next_slide);
}
}
function startSlide() {
var _local1 = this;
if (!_local1.m_isPlaying) {
_local1.onEnterSlide();
_local1.m_stopped = false;
_local1.gotoAndPlay(2);
}
}
function gotoFrame(frame, playSlide) {
var _local1 = this;
var _local2 = frame;
var _local3 = playSlide;
if (!_local1.m_isPlaying) {
_local1.onEnterSlide();
}
_local1.m_stopped = !_local3;
if (_local3) {
_local1.gotoAndPlay(_local2);
} else {
_local1.gotoAndStop(_local2);
}
_local1.syncSubMovieClips(_local2, _local3);
}
function slideCompleted() {
var _local1 = this;
_local1.m_stopped = true;
_local1.stop();
_local1.m_movie.slideCompleted(_local1);
}
function pauseSlide() {
var _local1 = this;
_local1.m_paused = true;
_local1.m_movie.pauseMovie();
_local1.syncSubMovieClips(_local1._currentframe, false);
_local1.stop();
}
function playerPauseSlide() {
var _local1 = this;
if (_local1.m_isPlaying) {
_local1.m_playerPaused = true;
_local1.stop();
_local1.syncSubMovieClips(_local1._currentframe, false);
}
}
function playerResumeSlide() {
var _local1 = this;
if (_local1.m_playerPaused) {
_local1.m_playerPaused = false;
_local1.play();
_local1.syncSubMovieClips(_local1._currentframe, true);
}
}
function resumeSlide() {
var _local1 = this;
_local1.m_paused = false;
_local1.m_movie.resumeMovie();
_local1.play();
_local1.syncSubMovieClips(_local1._currentframe, true);
}
function gotoSlide(slideIndex) {
m_movie.gotoSlide(slideIndex);
}
function previousSlide() {
m_movie.previousSlide();
}
function nextSlide() {
m_movie.nextSlide();
}
function syncSubMovieClips(nFrame, doPlay) {
var i;
if (typeof(m_Sub_mc_array) == "object") {
i = 0;
while (i < m_Sub_mc_array.length) {
var mc;
mc = eval ("this." + m_Sub_mc_array[i]);
if (typeof(mc) == "movieclip") {
if ((typeof(mc.nEnterFrame) == "undefined") && (!doPlay)) {
mc.m_pendingStop = true;
}
if ((nFrame >= mc.nEnterFrame) && (nFrame < mc.nExitFrame)) {
var nSubFrame = ((nFrame - mc.nEnterFrame) + 1);
mc.gotoFrame(nSubFrame, doPlay);
}
}
i++;
}
}
}
function CanSkipFrames(count) {
var _local3 = this;
var _local2;
var retval = count;
_local2 = 0;
while (_local2 < _local3.m_NoSkipFramesArray.length) {
var _local1 = _local3.m_NoSkipFramesArray[_local2] - _local3._currentframe;
if (_local1 > 0) {
_local1--;
if (_local1 <= 0) {
return(0);
}
if (_local1 < retval) {
retval = _local1;
}
}
_local2++;
}
return(retval);
}
function AddNoSkipFrame(frame) {
var _local2 = this;
var _local3 = frame;
var _local1;
_local1 = 0;
while (_local1 < _local2.m_NoSkipFramesArray.length) {
if (_local2.m_NoSkipFramesArray[_local1] == _local3) {
return;
}
_local1++;
}
_local2.m_NoSkipFramesArray.push(_local3);
}
function StopSlideAudio() {
var _local1 = this;
if (_local1.m_soundIdx > -1) {
_local1.m_movie.m_soundHandler.PauseOneSound(_local1.m_soundIdx);
}
}
var m_frameCount = 2;
var m_oldx = 0;
var m_oldy = 0;
var m_movie = null;
var n = 0;
var m_stopped = true;
var m_paused = false;
var m_isPlaying = false;
var m_isHidden = true;
var deb = "";
var m_index = 0;
var m_isQuizSlide = false;
var m_soundIdx = -1;
}
Symbol 4 MovieClip [__Packages.rdMovie] Frame 0
class rdMovie
{
var m_width, m_height, m_slideData_array, m_slideTrans_array;
function rdMovie (movie_mc) {
var _local1 = this;
_local1.m_movie_mc = movie_mc;
_local1.m_movie_mc.movie = _local1;
_local1.m_movie_mc.rdinfocurrFrame = _local1.m_currFrame;
_local1.m_movie_mc.rdcmndGotoFrame = -1;
_local1.m_movie_mc.rdcmndGotoFrameAndResume = -1;
_local1.m_movie_mc.rdcmndResume = 0;
_local1.m_movie_mc.rdcmndPause = 0;
_local1.m_movie_mc.rdcmndPrevious = 0;
_local1.m_movie_mc.rdcmndNext = 0;
_local1.m_keyHandler = new rdKeyHandler();
_local1.m_soundHandler = new rdSoundHandler(_local1);
_local1.m_slideTrans_array = new Array();
_local1.m_slideData_array = new Array();
}
function isReady() {
return(m_state != stateStart);
}
function setQuizPlaybackController(quizPlaybackController) {
m_quizPlaybackController = quizPlaybackController;
}
function setSize(width, height) {
m_width = width;
m_height = height;
}
function findInHistory(mc) {
var _local2 = this;
var _local3 = mc;
var _local1 = 0;
while (_local1 < _local2.history.length) {
if (_local3 == _local2.history[_local1]) {
return(true);
}
_local1++;
}
return(false);
}
function traceAllPositions(obj) {
var _local1 = obj;
var _local2 = this;
trace("...target=" + _local1._target);
for (var _local3 in _local1) {
if (typeof(_local1[_local3]) == "movieclip") {
if (((_local1[_local3]._x > _local2.m_width) || (_local1[_local3]._x < 0)) || (_local1[_local3]._width > _local2.m_width)) {
trace(((((((((((((" ....._name=" + _local1[_local3]._name) + " prop=") + _local3) + " typeof=") + typeof(_local1[_local3])) + " _x=") + _local1[_local3]._x) + " _y=") + _local1[_local3]._y) + " _width=") + _local1[_local3]._width) + " _height=") + _local1[_local3]._height);
if (_local2.findInHistory(_local1[_local3]) == false) {
_local2.history.push(_local1[_local3]);
_local2.traceAllPositions(_local1[_local3]);
}
}
}
}
}
function size(w, h) {
var _local1 = this;
if ((_local1.m_movie_mc._width < 3200) && (_local1.m_movie_mc._height < 3200)) {
}
if (_local1.m_bogus_breeze_dims_set == false) {
_local1.m_bogus_breeze_width = _local1.m_movie_mc._width;
_local1.m_bogus_breeze_height = _local1.m_movie_mc._height;
_local1.m_bogus_breeze_dims_set = true;
}
var xScale = (w / _local1.m_width);
var _local3 = h / _local1.m_height;
var _local2 = Math.min(xScale, _local3);
_local2 = Math.min(1, _local2);
_local1.m_movie_mc._xscale = _local2 * 100;
_local1.m_movie_mc._yscale = _local2 * 100;
}
function resizeMovieKeepAspectRatio(newWidth, newHeight) {
var _local1 = this;
if ((_local1.m_width < newWidth) && (_local1.m_height < newHeight)) {
_local1.m_movie_mc._width = _local1.m_width;
_local1.m_movie_mc._height = _local1.m_height;
} else {
var _local3 = newWidth / _local1.m_width;
var _local2 = newHeight / _local1.m_height;
if (_local3 < _local2) {
_local1.m_movie_mc._width = newWidth;
_local1.m_movie_mc._height = _local1.m_height * _local3;
} else {
_local1.m_movie_mc._width = _local1.m_width * _local2;
_local1.m_movie_mc._height = newHeight;
}
}
}
function setCurrSlide(index) {
var _local1 = this;
var _local3 = index;
var oldCurr = _local1.m_currSlide;
var _local2 = _local1.m_nextSlide;
var oldCurrIndex = _local1.m_currSlideIndex;
if (_local3 < 0) {
_local3 = 0;
}
if (_local3 != _local1.m_currSlideIndex) {
_local1.m_clickHandler_mc.clearSprites(_local3);
_local1.m_keyHandler.clearSprites(_local3);
}
_local1.m_currSlideIndex = _local3;
if (_local1.m_slideData_array.length >= (_local1.m_currSlideIndex + 1)) {
_local1.m_currSlide = _local1.m_slideData_array[_local1.m_currSlideIndex];
_local1.m_movie_mc.rdinfoCurrentSlideInProject = _local1.m_currSlide.m_rdSlide_mc.m_projectSlideIndex;
_local1.m_movie_mc.rdinfoCurrentSlide = _local1.m_currSlideIndex;
} else {
_local1.m_currSlide = null;
_local1.m_state = stateDone;
}
if (_local1.m_slideData_array.length >= (_local1.m_currSlideIndex + 2)) {
_local1.m_nextSlide = _local1.m_slideData_array[_local1.m_currSlideIndex + 1];
} else {
_local1.m_nextSlide = null;
}
if (oldCurrIndex >= 0) {
switch (_local1.m_currSlideIndex - oldCurrIndex) {
case 0 :
oldCurr = null;
_local2 = null;
break;
case 1 :
_local2 = null;
break;
case -1 :
oldCurr = null;
}
if (oldCurr) {
_local1.doHide(oldCurr);
}
if (_local2) {
_local1.doHide(_local2);
}
}
if (oldCurrIndex != _local1.m_currSlideIndex) {
if (_local1.m_quizPlaybackController) {
_local1.m_quizPlaybackController.onSlideChanged(_local1.m_currSlideIndex);
}
}
}
function setCurrTrans(index) {
var _local1 = this;
if (_local1.m_currTransIndex != index) {
if (_local1.m_currTrans != null) {
_local1.m_currTrans.endPlay();
}
}
_local1.m_currTransIndex = index;
if (_local1.m_slideTrans_array.length >= (_local1.m_currTransIndex + 1)) {
_local1.m_currTrans = _local1.m_slideTrans_array[_local1.m_currTransIndex];
} else {
_local1.m_currTrans = null;
}
if (_local1.m_slideTrans_array.length >= (_local1.m_currTransIndex + 2)) {
_local1.m_nextTrans = _local1.m_slideTrans_array[_local1.m_currTransIndex + 1];
} else {
_local1.m_nextTrans = null;
}
}
function GetPlayingSlideIndex() {
var _local1 = this;
if (_local1.m_currSlide) {
if ((_local1.m_currFrame > _local1.m_currSlide.m_stopOnFrame) && (_local1.m_nextSlide)) {
return(_local1.m_currSlideIndex + 1);
}
}
return(_local1.m_currSlideIndex);
}
function doPlay() {
if (m_quizPlaybackController) {
var loadingResumeData;
loadingResumeData = m_quizPlaybackController.loadingResumeData;
if (loadingResumeData) {
m_state = stateWait;
return(undefined);
}
if (!_hasIsTrackedBeenSet) {
if (!m_quizPlaybackController.isTrackedFlag) {
m_quizPlaybackController.isTracked = false;
_hasIsTrackedBeenSet = true;
} else if (m_currSlide) {
m_quizPlaybackController.isTracked = true;
_hasIsTrackedBeenSet = true;
}
}
}
if (m_currTrans) {
doPlayTrans();
if (m_currFrame >= m_currTrans.m_endOnFrame) {
setCurrTrans(m_currTransIndex + 1);
doPlayTrans();
}
}
if (m_currSlide) {
if (!m_currSlide.m_rdSlide_mc) {
m_state = stateWait;
return(undefined);
}
if (m_currFrame == m_currSlide.m_showOnFrame) {
m_currSlide.m_rdSlide_mc.showSlide();
}
if (m_currFrame == m_currSlide.m_playOnFrame) {
m_currSlide.m_rdSlide_mc.startSlide();
}
if (m_currFrame == m_currSlide.m_stopOnFrame) {
}
if (m_currFrame == m_currSlide.m_hideOnFrame) {
var newSlide = (m_currSlideIndex + 1);
if (m_quizPlaybackController) {
var ok = false;
var i;
var currentSlide = m_quizPlaybackController.getSlide(m_currSlideIndex);
var slideAfterCurrent = m_quizPlaybackController.getSlideAfter(currentSlide);
if ((slideAfterCurrent != undefined) && (slideAfterCurrent != null)) {
newSlide = slideAfterCurrent.slideNum;
}
i = newSlide;
while ((i < m_slideData_array.length) && (!ok)) {
var targetSlide = m_quizPlaybackController.getSlide(i);
var errStr = m_quizPlaybackController.allowedToGoToSlide(currentSlide, targetSlide);
if (errStr == "") {
if (i == (m_currSlideIndex + 1)) {
ok = true;
} else {
gotoSlide(i);
return(undefined);
}
}
i++;
}
if (!ok) {
m_movie_mc.rdcmndPause = 1;
return(undefined);
}
}
m_currSlide.m_rdSlide_mc.hideSlide();
setCurrSlide(newSlide);
doPlay();
return(undefined);
}
}
if (m_nextSlide) {
if ((!m_nextSlide.m_rdSlide_mc) && (m_currFrame >= m_nextSlide.m_showOnFrame)) {
m_state = stateWait;
return(undefined);
}
if (m_currFrame == m_nextSlide.m_showOnFrame) {
m_nextSlide.m_rdSlide_mc.showSlide();
}
if (m_currFrame == m_nextSlide.m_playOnFrame) {
m_nextSlide.m_rdSlide_mc.startSlide();
}
if (m_currFrame == m_nextSlide.m_stopOnFrame) {
}
if (m_currFrame == m_nextSlide.m_hideOnFrame) {
}
}
if (typeof(m_movie_mc.m_Sub_mc_array) == "object") {
var i;
i = 0;
while (i < m_movie_mc.m_Sub_mc_array.length) {
var mc;
mc = eval ("this." + m_movie_mc.m_Sub_mc_array[i]);
if (typeof(mc) == "movieclip") {
if (m_currFrame == mc.nEnterFrame) {
mc._visible = true;
mc.gotoFrame(1, !m_paused);
}
if (m_currFrame == mc.nExitFrame) {
mc._visible = false;
mc.stop();
}
}
i++;
}
}
if (m_currFrame >= m_movie_mc.rdinfoFrameCount) {
m_state = stateDone;
}
if (m_state != stateDone) {
m_state = stateSlide;
}
}
function movieonEnterFrame() {
var _local1 = this;
_local1.m_soundHandler.SyncSounds();
if (_local1.m_movie_mc.isWaiting()) {
} else {
_local1.checkPreviewCommands();
_local1.m_keyHandler.DoCheckAllKeys();
if (_local1.m_paused) {
_local1.debState();
} else {
switch (_local1.m_state) {
case stateStart :
_local1.m_currSlideIndex = -1;
_local1.m_currTransIndex = -1;
_local1.setCurrSlide(0);
_local1.setCurrTrans(0);
_local1.m_movie_mc.rdcmndGotoFrame = -1;
_local1.m_movie_mc.rdcmndGotoFrameAndResume = -1;
_local1.m_movie_mc.rdcmndResume = 0;
_local1.m_movie_mc.rdcmndPause = 0;
_local1.m_movie_mc.rdcmndPrevious = 0;
_local1.m_movie_mc.rdcmndNext = 0;
_local1.m_movie_mc.rdcmndRewindAndStop = 0;
_local1.m_movie_mc.rdcmndRewindAndPlay = 0;
_local1.doPlay();
break;
case stateSlide :
if (_local1.m_handledDone) {
_local1.m_handledDone = false;
}
_local1.doPlay();
break;
case stateWait :
_local1.doPlay();
break;
case stateDone :
if (_local1.m_handledDone) {
break;
}
if (typeof(_local1.m_movie_mc.endMovieFunction) == "function") {
_local1.m_movie_mc.endMovieFunction();
}
switch (_local1.m_movie_mc.endSwfAction) {
case 0 :
_local1.m_handledDone = true;
break;
case 1 :
_local1.gotoFrame(1, true);
_local1.m_soundHandler.DoDeleteAllSounds();
_local1.playerResumeMovie();
break;
case 2 :
_local1.m_movie_mc.rdcmndExit = 1;
_local1.m_handledDone = true;
}
}
switch (_local1.m_state) {
case stateSlide :
_local1.m_currFrame++;
var _local2 = true;
if (_local1.m_pacemaker) {
if (!_local1.m_pacemaker.m_isInitialized) {
_local1.m_pacemaker.start(_local1.m_fps, _local1.m_currFrame)();
_local1.m_pacemaker.m_isInitialized = true;
} else {
var _local3 = _local1.m_pacemaker.pace(_local1.m_currFrame);
if (_local3 > 0) {
_local2 = false;
_local1.SkipFrames(_local3);
} else if (_local3 < 0) {
_local2 = false;
_local1.ReplayFrame();
}
}
}
if (_local2 && (_local1.m_quizPlaybackController)) {
_local1.m_quizPlaybackController.onScrubChanged();
}
break;
case stateDone :
case stateStart :
case stateWait :
}
_local1.m_movie_mc.rdinfoCurrentFrame = _local1.m_currFrame;
_local1.debState();
}
}
}
function debState() {
var _local2 = this;
_local2.m_debtick++;
var _local1 = "";
if (_local2.m_debDone) {
return;
}
_local1 = _local1 + (" " + _local2.m_currFrame);
switch (_local2.m_state) {
case stateStart :
_local1 = _local1 + " stateStart";
break;
case stateTrans :
_local1 = _local1 + " stateTrans";
break;
case stateSlide :
_local1 = _local1 + " stateSlide";
break;
case stateWait :
_local1 = _local1 + " stateWait";
break;
case stateDone :
_local1 = _local1 + " stateDone";
}
if (_local2.m_currSlide) {
if (_local2.m_currSlide.m_rdSlide_mc) {
_local1 = _local1 + (" slide frame=" + _local2.m_currSlide.m_rdSlide_mc.getCurrentFrame());
_local1 = _local1 + (" slide start frame=" + _local2.m_currSlide.m_playOnFrame);
} else {
_local1 = _local1 + "no mc";
}
} else {
_local1 = _local1 + "no m_currSlide";
}
if (_local2.m_paused) {
_local1 = _local1 + " paused ";
}
}
function hideActiveSlides() {
var _local1 = this;
if (_local1.m_currSlide) {
if (_local1.m_currSlide.m_rdSlide_mc) {
_local1.m_currSlide.m_rdSlide_mc.hideSlide();
}
_local1.m_currSlide = null;
}
if (_local1.m_nextSlide) {
if (_local1.m_nextSlide.m_rdSlide_mc) {
_local1.m_nextSlide.m_rdSlide_mc.hideSlide();
}
_local1.m_nextSlide = null;
}
}
function doPlayTrans() {
var _local1 = this;
if (_local1.m_currTrans) {
if ((_local1.m_currFrame >= _local1.m_currTrans.m_startOnFrame) && (_local1.m_currFrame <= _local1.m_currTrans.m_endOnFrame)) {
if ((_local1.m_currTrans.m_nextSlide != null) && (_local1.m_currTrans.m_nextSlide.m_rdSlide_mc == null)) {
_local1.m_state = stateWait;
} else {
_local1.m_currTrans.playTransiton(_local1.m_currFrame - _local1.m_currTrans.m_startOnFrame);
}
}
}
}
function addSlideTransition(index, slideTrans) {
var _local1 = index;
var _local2 = this;
slideTrans.m_index = _local1;
_local2.m_slideTrans_array[_local1] = slideTrans;
if (_local1 > 0) {
_local2.m_slideTrans_array[_local1].m_prevSlide = _local2.m_slideData_array[_local1 - 1];
}
}
function addSlide(index, slide) {
m_slideData_array[index] = slide;
m_slideTrans_array[index].m_nextSlide = slide;
}
function slideLoaded(slide_mc) {
var _local2 = this;
var _local3 = slide_mc;
var slideName = _local3._name;
var _local1 = parseInt(_local3._name.substr(5));
_local2.m_slideData_array[_local1].m_rdSlide_mc = _local3;
_local3.m_frameCount = _local2.m_slideData_array[_local1].m_frameCount;
_local3.m_index = _local1;
_local2.m_slideTrans_array[_local1].m_nextSlide = _local2.m_slideData_array[_local1];
_local2.m_slideTrans_array[_local1 + 1].m_prevSlide = _local2.m_slideData_array[_local1];
}
function slideCompleted(slide) {
}
function prevSlide() {
var _local1 = this;
_local1.gotoSlide(_local1.m_currSlideIndex - 1);
_local1.m_soundHandler.ResetSounds(true);
}
function nextSlide() {
var _local1 = this;
if ((_local1.m_currSlideIndex + 1) >= _local1.m_slideData_array.length) {
_local1.playerResumeMovie();
} else {
var _local3 = _local1.GetPlayingSlideIndex() + 1;
if (_local1.m_quizPlaybackController) {
var currentSlide = _local1.m_quizPlaybackController.getSlide(_local1.GetPlayingSlideIndex());
var _local2 = _local1.m_quizPlaybackController.getSlideAfter(currentSlide);
if ((_local2 != undefined) && (_local2 != null)) {
_local3 = _local2.slideNum;
}
}
_local1.gotoSlide(_local3);
}
_local1.m_soundHandler.ResetSounds(true);
}
function previousSlide() {
var _local1 = this;
_local1.gotoSlide(_local1.GetPlayingSlideIndex() - 1);
_local1.m_soundHandler.ResetSounds(true);
}
function gotoSlide(index) {
var _local1 = this;
var _local2 = index;
if (_local2 >= _local1.m_slideData_array.length) {
_local2 = _local1.m_slideData_array.length - 1;
}
if (_local2 < 0) {
_local2 = 0;
}
if (_local1.m_quizPlaybackController) {
var currentSlide = _local1.m_quizPlaybackController.getSlide(_local1.m_currSlideIndex);
var _local3 = _local1.m_quizPlaybackController.getSlide(_local2);
var errStr = _local1.m_quizPlaybackController.allowedToGoToSlide(currentSlide, _local3);
if (errStr == "") {
_local1.m_quizPlaybackController._gotoSlide(_local3, true);
_local1.gotoFrame(_local1.m_slideData_array[_local2].m_playOnFrame + 1, true);
} else {
return;
}
} else {
_local1.gotoFrame(_local1.m_slideData_array[_local2].m_playOnFrame + 1, true);
}
_local1.playerResumeMovie();
}
function rewindMovie() {
}
function doResumeMovie() {
var _local1 = this;
_local1.m_paused = false;
_local1.syncSubMovieClips(_local1.m_currFrame, true);
_local1.m_pacemaker.start(_local1.m_fps, _local1.m_currFrame)();
_local1.m_movie_mc.rdcmndPause = 0;
_local1.m_soundHandler.ResumeAllSounds();
if (_local1.m_quizPlaybackController) {
_local1.m_quizPlaybackController.onPlayStateChanged();
}
}
function doPauseMovie(fromPlaybar) {
var _local1 = this;
_local1.m_paused = true;
_local1.syncSubMovieClips(_local1.m_currFrame, false);
if (_local1.m_quizPlaybackController) {
var _local2;
if (fromPlaybar == true) {
_local2 = false;
} else {
_local2 = true;
}
_local1.m_quizPlaybackController.onPlayStateChanged(_local2);
}
}
function pauseMovie() {
doPauseMovie(false);
}
function playerPauseMovie() {
var _local1 = this;
if (_local1.m_currSlide) {
if (_local1.m_currSlide.m_rdSlide_mc) {
_local1.m_currSlide.m_rdSlide_mc.playerPauseSlide();
}
}
if (_local1.m_nextSlide) {
if (_local1.m_nextSlide.m_rdSlide_mc) {
_local1.m_nextSlide.m_rdSlide_mc.playerPauseSlide();
}
}
_local1.m_soundHandler.PauseAllSounds();
_local1.doPauseMovie(true);
}
function resumeMovie() {
doResumeMovie();
}
function playerResumeMovie() {
var _local1 = this;
if (_local1.m_currSlide) {
if (_local1.m_currSlide.m_rdSlide_mc) {
_local1.m_currSlide.m_rdSlide_mc.playerResumeSlide();
}
}
if (_local1.m_nextSlide) {
if (_local1.m_nextSlide.m_rdSlide_mc) {
_local1.m_nextSlide.m_rdSlide_mc.playerResumeSlide();
}
}
_local1.doResumeMovie();
}
function checkPreviewCommands() {
var _local1 = this;
if (_local1.m_movie_mc.rdcmndPrevious == 1) {
_local1.m_movie_mc.rdcmndPrevious = 0;
_local1.prevSlide();
}
if (_local1.m_movie_mc.rdcmndNextSlide == 1) {
_local1.m_movie_mc.rdcmndNextSlide = 0;
_local1.nextSlide();
}
if (_local1.m_movie_mc.rdcmndPause == 1) {
if (!_local1.m_paused) {
_local1.playerPauseMovie();
}
}
if (_local1.m_movie_mc.rdcmndResume == 1) {
_local1.m_movie_mc.rdcmndResume = 0;
_local1.playerResumeMovie();
}
if (_local1.m_movie_mc.rdcmndRewindAndStop == 1) {
_local1.m_movie_mc.rdcmndRewindAndStop = 0;
_local1.gotoFrame(1, false);
_local1.playerPauseMovie();
_local1.m_movie_mc.rdinfocurrFrame = _local1.m_currFrame;
_local1.m_soundHandler.DoDeleteAllSounds();
}
if (_local1.m_movie_mc.rdcmndRewindAndPlay == 1) {
_local1.m_movie_mc.rdcmndRewindAndPlay = 0;
_local1.gotoFrame(1, true);
_local1.playerResumeMovie();
_local1.m_soundHandler.ResetSounds(false);
}
if (_local1.m_movie_mc.rdcmndGotoFrame >= 0) {
var frame = _local1.m_movie_mc.rdcmndGotoFrame;
_local1.m_movie_mc.rdcmndGotoFrame = -1;
_local1.gotoFrame(frame, false);
_local1.m_movie_mc.rdinfocurrFrame = _local1.m_currFrame;
_local1.playerPauseMovie();
_local1.m_soundHandler.DeleteNonBackgroundSound();
}
if (_local1.m_movie_mc.rdcmndGotoFrameAndResume >= 0) {
var frame = _local1.m_movie_mc.rdcmndGotoFrameAndResume;
_local1.m_movie_mc.rdcmndGotoFrameAndResume = -1;
_local1.gotoFrame(frame, true);
_local1.m_movie_mc.rdinfocurrFrame = _local1.m_currFrame;
}
if (_local1.m_movie_mc.rdcmndExit == 1) {
_local1.m_movie_mc.rdcmndExit = 0;
var _local3 = false;
var _local2 = _local1.m_movie_mc;
while ((!_local3) && (_local2)) {
if (_local2.g_serranoViewerController) {
_local3 = true;
} else {
_local2 = _local2._parent;
}
}
if (_local3) {
} else if (_local1.m_quizPlaybackController && (typeof(_local1.m_quizPlaybackController.exitCourse) == "function")) {
_local1.m_quizPlaybackController.exitCourse();
} else if (_local1.m_movie_mc.rdIsPreview || (_root.FlashPlayer)) {
fscommand ("quit");
} else {
getURL ("javascript:window.close();", "_self");
}
}
if (_local1.m_movie_mc.rdcmndInfo == 1) {
_local1.m_movie_mc.rdcmndInfo = 0;
_local1.m_movie_mc.info_mc.playInfo();
}
}
function clickHandlerLoaded(clickHandler) {
m_clickHandler_mc = clickHandler;
}
function getSlideCount() {
return(m_slideData_array.length);
}
function showHidePlayGoto(slide, playSlide) {
var _local1 = slide;
var _local2 = this;
if (_local1 && (_local1.m_rdSlide_mc)) {
if ((_local2.m_currFrame >= _local1.m_showOnFrame) && (_local2.m_currFrame <= _local1.m_hideOnFrame)) {
_local1.m_rdSlide_mc.showSlide();
if ((_local2.m_currFrame >= _local1.m_playOnFrame) && (_local2.m_currFrame <= _local1.m_stopOnFrame)) {
_local1.m_rdSlide_mc.gotoFrame(_local2.m_currFrame - _local1.m_playOnFrame, playSlide);
} else if (_local2.m_currFrame < _local1.m_playOnFrame) {
_local1.m_rdSlide_mc.gotoFrame(1, false);
} else {
_local1.m_rdSlide_mc.gotoFrame(_local1.m_frameCount - 1, false);
}
var _local3;
_local3 = true;
if (_local2.m_currTrans) {
if ((_local2.m_currFrame >= _local2.m_currTrans.m_startOnFrame) && (_local2.m_currFrame <= _local2.m_currTrans.m_endOnFrame)) {
_local3 = false;
}
}
if (_local3) {
_local1.m_rdSlide_mc._alpha = 100;
}
} else {
_local1.m_rdSlide_mc.hideSlide();
}
}
}
function doShow(slide) {
var _local1 = slide;
if (_local1 && (_local1.m_rdSlide_mc)) {
_local1.m_rdSlide_mc.showSlide();
}
}
function doHide(slide) {
var _local1 = slide;
if (_local1 && (_local1.m_rdSlide_mc)) {
_local1.m_rdSlide_mc.hideSlide();
}
}
function gotoFrame(frame, playSlide) {
var _local1 = this;
if (_local1.m_quizPlaybackController) {
var i = _local1.getSlideIndexFromFrame(frame);
var _local2 = _local1.m_quizPlaybackController.getSlide(_local1.m_currSlideIndex);
var targetSlide = _local1.m_quizPlaybackController.getSlide(i);
var _local3 = _local1.m_quizPlaybackController.allowedToGoToSlide(_local2, targetSlide);
if (_local3 != "") {
return;
}
} else {
_local1.doGotoFrame(frame, playSlide);
}
}
function getSlideIndexFromFrame(frame) {
var _local3 = frame;
var _local1;
_local1 = 0;
while (_local1 < m_slideData_array.length) {
var _local2 = m_slideData_array[_local1];
if ((_local3 >= _local2.m_showOnFrame) && (_local3 <= _local2.m_hideOnFrame)) {
return(_local1);
}
_local1++;
}
return(-1);
}
function doGotoFrame(frame, playSlide) {
var _local1 = this;
if (frame < 1) {
frame = 1;
}
if (frame > _local1.m_movie_mc.rdinfoFrameCount) {
frame = _local1.m_movie_mc.rdinfoFrameCount;
}
_local1.m_state = stateSlide;
if (_local1.m_currFrame == frame) {
} else {
var _local2;
var n;
_local1.m_currFrame = frame;
_local1.m_movie_mc.rdinfocurrFrame = _local1.m_currFrame;
_local2 = 0;
while (_local2 < _local1.m_slideTrans_array.length) {
var _local3 = _local1.m_slideTrans_array[_local2];
if (_local1.m_currFrame <= _local3.m_endOnFrame) {
_local1.setCurrTrans(_local2);
break;
}
_local2++;
}
_local2 = _local1.getSlideIndexFromFrame(frame);
if (_local2 != _local1.m_currSlideIndex) {
_local1.setCurrSlide(_local2);
}
if (_local2 >= 0) {
_local1.showHidePlayGoto(_local1.m_currSlide, playSlide);
_local1.showHidePlayGoto(_local1.m_nextSlide, playSlide);
}
if (_local1.m_paused && (playSlide)) {
_local1.playerResumeMovie();
} else if ((!_local1.m_paused) && (!playSlide)) {
_local1.playerPauseMovie();
}
_local1.syncSubMovieClips(frame, playSlide);
_local1.doPlay();
if (_local1.m_quizPlaybackController) {
_local1.m_quizPlaybackController.onScrubChanged();
}
}
}
function syncSubMovieClips(nFrame, doPlay) {
var i;
if (typeof(m_movie_mc.m_Sub_mc_array) == "object") {
i = 0;
while (i < m_movie_mc.m_Sub_mc_array.length) {
var mc;
mc = eval ("this." + m_movie_mc.m_Sub_mc_array[i]);
if (typeof(mc) == "movieclip") {
if ((nFrame >= mc.nEnterFrame) && (nFrame < mc.nExitFrame)) {
var nSubFrame = ((nFrame - mc.nEnterFrame) + 1);
mc.gotoFrame(nSubFrame, doPlay);
}
}
i++;
}
}
}
function SetPacemaker(pacemaker) {
m_pacemaker = pacemaker;
}
function SkipFrames(count) {
var _local1 = this;
var _local2 = count;
if (_local1.m_currSlide && (_local1.m_currSlide.m_stopOnFrame > _local1.m_currFrame)) {
if (_local1.m_currSlide.m_stopOnFrame > (_local1.m_currFrame + _local2)) {
var _local3 = _local1.m_currSlide.m_rdSlide_mc.CanSkipFrames(_local2);
if (_local3 > 0) {
_local1.doGotoFrame(_local1.m_currFrame + _local3, true);
}
}
} else if (_local1.m_nextSlide && (_local1.m_nextSlide.m_playOnFrame < _local1.m_currFrame)) {
if (_local1.m_nextSlide.m_stopOnFrame > (_local1.m_currFrame + _local2)) {
var _local3 = _local1.m_nextSlide.m_rdSlide_mc.CanSkipFrames(_local2);
if (_local3 > 0) {
_local1.doGotoFrame(_local1.m_currFrame + _local3, true);
}
}
}
}
function ReplayFrame() {
doGotoFrame(m_currFrame - 1, true);
}
function informQuizPlaybackController() {
var _local3 = this;
if (_local3.m_quizPlaybackController) {
var _local1;
_local1 = 0;
while (_local1 < _local3.m_slideData_array.length) {
var _local2 = _local3.m_slideData_array[_local1];
_local3.m_quizPlaybackController.addSlideInfo(_local1, _local2.m_playOnFrame + 1, _local2.m_stopOnFrame);
_local1++;
}
}
}
var m_movie_mc = null;
var m_paused = false;
var m_loop = false;
var m_clickHandler_mc = null;
var m_keyHandler = null;
var m_soundHandler = null;
var m_quizPlaybackController = null;
var m_currSlide = null;
var m_nextSlide = null;
var m_currSlideIndex = 0;
var m_currTransIndex = 0;
var m_currTrans = null;
var m_nextTrans = null;
var m_handledDone = false;
var m_currFrame = 0;
var m_debDone = false;
static var stateTrans = 0;
static var stateSlide = 1;
static var stateDone = 2;
static var stateStart = 3;
static var stateWait = 4;
var m_currIndex = 0;
var m_state = stateStart;
var m_debtick = 0;
var m_pacemaker = null;
var m_fps = 20;
var m_disableInteractions = false;
var m_supportsSyncPlayback = true;
var m_bogus_breeze_dims_set = false;
var m_bogus_breeze_width = 0;
var m_bogus_breeze_height = 0;
var _hasIsTrackedBeenSet = false;
var history = new Array();
}
Symbol 5 MovieClip [__Packages.rdClickHandler] Frame 0
class rdClickHandler extends MovieClip
{
var arr_Sprite, m_isDown, _parent;
function rdClickHandler () {
super();
arr_Sprite = new Array();
}
function clearSprites(excludeSlideIndex) {
var _local2 = this;
var _local3 = excludeSlideIndex;
var _local1;
_local1 = 0;
while (_local1 < _local2.arr_Sprite.length) {
if (_local2.arr_Sprite[_local1].parentSlideIndex != _local3) {
_local2.arr_Sprite[_local1].m_isRegistered = false;
_local2.arr_Sprite.splice(_local1, 1);
_local1--;
}
_local1++;
}
}
function MouseOutsideMovie() {
var _local1 = this;
var _local3 = _local1._parent._xmouse;
var _local2 = _local1._parent._ymouse;
if (_local3 < 0) {
return(true);
}
if (_local2 < 0) {
return(true);
}
if (_local3 > _local1.m_movie.m_width) {
return(true);
}
if (_local2 > _local1.m_movie.m_height) {
return(true);
}
return(false);
}
function IsMouseDown() {
return(m_isDown);
}
function onLoad() {
var _local1 = this;
_local1.m_movie = _local1._parent.movie;
_local1.m_movie.clickHandlerLoaded(_local1);
}
function SpriteLoaded(Sprite) {
arr_Sprite.push(Sprite);
return(true);
}
function SpriteUnloaded(Sprite) {
var _local2 = this;
var _local3 = Sprite;
var _local1;
_local1 = 0;
while (_local1 < _local2.arr_Sprite.length) {
if (_local2.arr_Sprite[_local1] == _local3) {
_local2.arr_Sprite.splice(_local1, 1);
return;
}
_local1++;
}
}
function MouseInPlaybar() {
var _local1 = this;
var _local2 = _root;
if (typeof(_local1._parent.playbar_mc) == "movieclip") {
if (_local1._parent.playbar_mc.hitTest(_local2._xmouse, _local2._ymouse, true)) {
return(true);
}
}
if (typeof(_local1._parent.info_mc) == "movieclip") {
if (_local1._parent.info_mc.hitTest(_local2._xmouse, _local2._ymouse, true)) {
return(true);
}
}
return(false);
}
function CheckSpriteClick(x1, y1, x2, y2, bSound) {
var _local1 = false;
var _local3 = _parent._xmouse;
var _local2 = _parent._ymouse;
if ((((_local3 >= x1) && (_local3 <= x2)) && (_local2 >= y1)) && (_local2 <= y2)) {
if (bSound) {
_parent.rdClibBoxSound_mc.gotoAndPlay(2);
}
_local1 = true;
}
return(_local1);
}
function onMouseDown() {
m_isDown = true;
CheckAllClicksDown();
}
function onMouseUp() {
m_isDown = false;
CheckAllClicksUp();
}
function CheckAllClicksDown() {
var _local1 = this;
var _local2;
var bOk = false;
if (_local1.arr_Sprite.length < 1) {
} else if (_local1.MouseInPlaybar()) {
} else if (_local1.MouseOutsideMovie()) {
} else {
_local2 = 0;
while (_local2 < _local1.arr_Sprite.length) {
var _local3 = false;
if (_local1.arr_Sprite[_local2].bClickSound) {
if (_local1.arr_Sprite[_local2].bOnDown && (!_local1.arr_Sprite[_local2].bDoubleClick)) {
_local3 = true;
}
}
if (_local1.CheckSpriteClick(_local1.arr_Sprite[_local2].m_left, _local1.arr_Sprite[_local2].m_top, _local1.arr_Sprite[_local2].m_right, _local1.arr_Sprite[_local2].m_bottom, _local3)) {
bOk = true;
if (_local1.arr_Sprite[_local2].bDoubleClick) {
if ((_local1.LastClicked_mc == _local1.arr_Sprite[_local2]) && ((getTimer() - _local1.LastClickedTime) <= _local1.arr_Sprite[_local2].nDoubleClickTime)) {
if (_local1.arr_Sprite[_local2].bClickSound) {
_local1.CheckSpriteClick(_local1.arr_Sprite[_local2].m_left, _local1.arr_Sprite[_local2].m_top, _local1.arr_Sprite[_local2].m_right, _local1.arr_Sprite[_local2].m_bottom, true);
}
_local1.arr_Sprite[_local2].Submit(true);
_local1.HandleStopAudio(_local1.arr_Sprite[_local2]);
_local1.LastClicked_mc = 0;
_local1.LastClickedTime = 0;
} else {
_local1.LastClicked_mc = _local1.arr_Sprite[_local2];
_local1.LastClickedTime = getTimer();
}
} else if (_local1.arr_Sprite[_local2].bOnDown) {
_local1.arr_Sprite[_local2].Submit(true);
_local1.HandleStopAudio(_local1.arr_Sprite[_local2]);
} else {
_local1.LastClicked_mc = _local1.arr_Sprite[_local2];
}
return;
}
_local2++;
}
_local2 = 0;
while (_local2 < _local1.arr_Sprite.length) {
if ((_local1.arr_Sprite[_local2].bOnDown || (_local1.arr_Sprite[_local2].bDoubleClick)) && (!_local1.arr_Sprite[_local2].bNoAction)) {
_local1.arr_Sprite[_local2].Submit(false);
if (!_local1.arr_Sprite[_local2].m_isSubmitForItem) {
return;
}
}
_local2++;
}
}
}
function HandleStopAudio(mc) {
if (mc.bStopaudio == 1) {
if (typeof(_parent.rdSoundStarter_mc) == "movieclip") {
_parent.rdSoundStarter_mc.ssStopNonBackgroundSound();
}
}
}
function CheckAllClicksUp() {
var _local1 = this;
var _local2;
if (_local1.arr_Sprite.length < 1) {
} else if (_local1.MouseInPlaybar()) {
} else if (_local1.MouseOutsideMovie()) {
} else if (_local1.LastClicked_mc.bDoubleClick) {
} else {
var _local3 = false;
if (_local1.LastClicked_mc.bClickSound) {
if ((!_local1.LastClicked_mc.bOnDown) && (!_local1.LastClicked_mc.bDoubleClick)) {
_local3 = true;
}
}
if (_local1.CheckSpriteClick(_local1.LastClicked_mc.m_left, _local1.LastClicked_mc.m_top, _local1.LastClicked_mc.m_right, _local1.LastClicked_mc.m_bottom, _local3)) {
_local1.LastClicked_mc.Submit(true);
_local1.HandleStopAudio(_local1.LastClicked_mc);
} else {
_local2 = 0;
while (_local2 < _local1.arr_Sprite.length) {
if (((!_local1.arr_Sprite[_local2].bOnDown) && (!_local1.arr_Sprite[_local2].bDoubleClick)) && (!_local1.arr_Sprite[_local2].bNoAction)) {
_local1.arr_Sprite[_local2].Submit(false);
if (!_local1.arr_Sprite[_local2].m_isSubmitForItem) {
break;
}
}
_local2++;
}
}
_local1.LastClicked_mc = 0;
}
}
var LastClicked_mc = 0;
var LastClickedTime = 0;
}
Symbol 6 MovieClip [__Packages.rdKeyHandler] Frame 0
class rdKeyHandler
{
function rdKeyHandler () {
arr_Sprite = new Array();
}
function clearSprites(excludeSlideIndex) {
var _local2 = this;
var _local3 = excludeSlideIndex;
var _local1;
_local1 = 0;
while (_local1 < _local2.arr_Sprite.length) {
if (_local2.arr_Sprite[_local1].parentSlideIndex != _local3) {
_local2.arr_Sprite.splice(_local1, 1);
_local1--;
}
_local1++;
}
}
function SpriteLoaded(Sprite) {
arr_Sprite.push(Sprite);
return(true);
}
function SpriteUnloaded(Sprite) {
var _local2 = this;
var _local3 = Sprite;
var _local1;
_local1 = 0;
while (_local1 < _local2.arr_Sprite.length) {
if (_local2.arr_Sprite[_local1] == _local3) {
_local2.arr_Sprite.splice(_local1, 1);
return;
}
_local1++;
}
}
function CheckSpriteKey(nKey, bShift, bControl, bAlt) {
var _local1 = Key.isDown(nKey);
if (bShift && (!Key.isDown(16))) {
_local1 = false;
}
if ((!bShift) && (Key.isDown(16))) {
_local1 = false;
}
if (bControl && (!Key.isDown(17))) {
_local1 = false;
}
if ((!bControl) && (Key.isDown(17))) {
_local1 = false;
}
if (bAlt && (!Key.isDown(18))) {
_local1 = false;
}
if ((!bAlt) && (Key.isDown(18))) {
_local1 = false;
}
return(_local1);
}
function AnySubmitKeyPressed() {
var _local1;
_local1 = 65;
while (_local1 <= 90) {
if (Key.isDown(_local1)) {
return(true);
}
_local1++;
}
_local1 = 30;
while (_local1 <= 39) {
if (Key.isDown(_local1)) {
return(true);
}
_local1++;
}
if (Key.isDown(37)) {
return(true);
}
if (Key.isDown(39)) {
return(true);
}
if (Key.isDown(36)) {
return(true);
}
if (Key.isDown(35)) {
return(true);
}
if (Key.isDown(45)) {
return(true);
}
if (Key.isDown(46)) {
return(true);
}
if (Key.isDown(8)) {
return(true);
}
if (Key.isDown(13)) {
return(true);
}
if (Key.isDown(38)) {
return(true);
}
if (Key.isDown(40)) {
return(true);
}
if (Key.isDown(33)) {
return(true);
}
if (Key.isDown(34)) {
return(true);
}
if (Key.isDown(9)) {
return(true);
}
if (Key.isDown(27)) {
return(true);
}
return(undefined);
}
function DoCheckAllKeys() {
var _local1 = this;
if (_local1.arr_Sprite.length < 1) {
} else {
var _local3 = getTimer();
if ((_local3 - _local1.nLastSubmitTime) < 500) {
} else {
var bOk = false;
var _local2;
_local2 = 0;
for ( ; _local2 < _local1.arr_Sprite.length ; _local2++) {
if (_local1.arr_Sprite[_local2].m_nSubmitKeyCode > 0) {
if ((_local1.arr_Sprite[_local2].m_nSubmitKeyCode != 9) && (!_local1.arr_Sprite[_local2].m_bSubmitAlt)) {
if (typeof(_local1.arr_Sprite[_local2].strInputFocus) == "string") {
if (Selection.getFocus() != _local1.arr_Sprite[_local2].strInputFocus) {
continue;
}
}
} else if (_local1.CheckSpriteKey(_local1.arr_Sprite[_local2].m_nSubmitKeyCode, _local1.arr_Sprite[_local2].m_bSubmitShift, _local1.arr_Sprite[_local2].m_bSubmitControl, _local1.arr_Sprite[_local2].m_bSubmitAlt)) {
_local1.arr_Sprite[_local2].Submit(true);
_local1.nLastSubmitTime = _local3;
bOk = true;
break;
}
}
}
if (bOk == false) {
_local2 = 0;
while (_local2 < _local1.arr_Sprite.length) {
if ((_local1.arr_Sprite[_local2].m_nSubmitKeyCode > 0) && (_local1.arr_Sprite[_local2].m_bFailOnKey)) {
if (_local1.AnySubmitKeyPressed()) {
_local1.arr_Sprite[_local2].Submit(false);
_local1.nLastSubmitTime = _local3;
}
return;
}
_local2++;
}
}
}
}
}
var arr_Sprite = new Array();
var nLastSubmitTime = 0;
}
Symbol 7 MovieClip [__Packages.rdSoundHandler] Frame 0
class rdSoundHandler
{
var SoundObjArr;
function rdSoundHandler (rdMovieObj) {
var _local1 = this;
_local1.rdMovie_obj = rdMovieObj;
_local1.SoundObjArr = new Array();
_local1.NameArr = new Array();
_local1.StartArr = new Array();
_local1.FadeInArr = new Array();
_local1.FadeOutArr = new Array();
_local1.StopArr = new Array();
_local1.LoopArr = new Array();
_local1.LowerArr = new Array();
_local1.BackgroundArr = new Array();
_local1.nNumberCurrentlyPlaying = 0;
_local1.bSoundsStopped = false;
_local1.bSoundPaused = false;
_local1.m_newMovieDepth = 24000;
_local1.itmSoundObjArr = new Array();
_local1.itmNameArr = new Array();
_local1.itmStartArr = new Array();
_local1.itmFadeInArr = new Array();
_local1.itmFadeOutArr = new Array();
_local1.itmStopArr = new Array();
_local1.itmLoopArr = new Array();
_local1.itmLowerArr = new Array();
_local1.itmFrameCounterArr = new Array();
}
function DoAddSound(Name, StartFrame, StopFrame, FadeIn, FadeOut, Loop, Lower, IsBkGround) {
var _local2 = this;
var _local1 = _local2.NameArr.length;
_local2.NameArr[_local1] = Name;
_local2.StartArr[_local1] = StartFrame;
_local2.StopArr[_local1] = StopFrame;
_local2.FadeInArr[_local1] = FadeIn;
_local2.FadeOutArr[_local1] = FadeOut;
_local2.LoopArr[_local1] = Loop;
_local2.LowerArr[_local1] = Lower;
_local2.BackgroundArr[_local1] = IsBkGround;
}
function DoDeleteSound(nIndex) {
var _local1 = this;
var _local2 = nIndex;
if (typeof(_local1.SoundObjArr[_local2]) == "object") {
_local1.SoundObjArr[_local2].stop(_local1.SoundObjArr[_local2].strName);
_local1.SoundObjArr[_local2]._mc.removeMovieClip();
delete _local1.SoundObjArr[_local2];
_local1.nNumberCurrentlyPlaying--;
}
}
function DoDeleteAllSounds() {
var _local2 = this;
var _local1 = 0;
_local1 = 0;
while (_local1 < _local2.SoundObjArr.length) {
_local2.DoDeleteSound(_local1);
_local1++;
}
_local2.DoDeleteAllItemSounds();
_local2.bSoundsStopped = true;
_local2.m_newMovieDepth = 24000;
}
function SyncSounds() {
var _local2 = this;
if (_local2.bSoundsStopped || (_local2.bSoundPaused)) {
} else {
var _local3 = _local2.rdMovie_obj.m_currFrame;
var _local1 = 0;
var bNeedsLower = false;
_local1 = 0;
while (_local1 < _local2.NameArr.length) {
if ((_local2.BackgroundArr[_local1] != 1) && ((_local3 >= _local2.StartArr[_local1]) && (_local3 < _local2.StopArr[_local1]))) {
bNeedsLower = true;
break;
}
_local1++;
}
_local1 = 0;
while (_local1 < _local2.NameArr.length) {
var this_sound = _local2.SoundObjArr[_local1];
if ((_local3 >= _local2.StartArr[_local1]) && (_local3 < _local2.StopArr[_local1])) {
if (typeof(this_sound) != "object") {
var nOffsetMS = ((_local3 - _local2.StartArr[_local1]) / _local2.rdMovie_obj.m_fps);
this_sound = _local2.DoStartSound(_local1, nOffsetMS);
}
var nVolume = 100;
if (_local2.StartArr[_local1] < _local2.FadeInArr[_local1]) {
if ((_local3 >= _local2.StartArr[_local1]) && (_local3 <= _local2.FadeInArr[_local1])) {
nSpan = _local2.FadeInArr[_local1] - _local2.StartArr[_local1];
nPosInSpan = _local3 - _local2.StartArr[_local1];
nVolume = (nPosInSpan * 100) / nSpan;
}
}
if (_local2.StopArr[_local1] > _local2.FadeOutArr[_local1]) {
if ((_local3 >= _local2.FadeOutArr[_local1]) && (_local3 < _local2.StopArr[_local1])) {
var nSpan = (_local2.StopArr[_local1] - _local2.FadeOutArr[_local1]);
var nPosInSpan = (_local3 - _local2.FadeOutArr[_local1]);
nVolume = 100 - ((nPosInSpan * 100) / nSpan);
}
}
if ((_local2.LowerArr[_local1] == 1) && (nVolume > 25)) {
if (bNeedsLower) {
nVolume = 25;
}
}
this_sound.setVolume(nVolume);
if (_local2.LoopArr[_local1] > 1) {
if (this_sound.position >= this_sound.duration) {
this_sound.stop();
this_sound.start();
}
}
} else {
_local2.DoDeleteSound(_local1);
}
_local1++;
}
_local2.SyncItemSounds();
}
}
function ResetSounds(playBKSound) {
var _local1 = this;
if (playBKSound) {
_local1.DeleteNonBackgroundSound();
} else {
_local1.DoDeleteAllSounds();
}
_local1.bSoundsStopped = false;
_local1.bSoundPaused = false;
}
function DoStartSound(nIndex, nOffset) {
var _local2 = this;
var _local3 = nIndex;
var _local1;
if (typeof(_local2.SoundObjArr[_local3]) == "object") {
_local1 = _local2.SoundObjArr[_local3];
} else {
var strMcName = (("sound" + _local3) + "_mc");
var new_mc = _local2.rdMovie_obj.m_movie_mc.createEmptyMovieClip(strMcName, _local2.m_newMovieDepth);
_local2.m_newMovieDepth++;
_local1 = new Sound(new_mc);
_local1._mc = new_mc;
_local1.strName = _local2.NameArr[_local3];
_local1.attachSound(_local1.strName);
_local2.SoundObjArr[_local3] = _local1;
}
if (_local2.LoopArr[_local3] > 1) {
nOffset = ((nOffset * 1000) % _local1.duration) / 1000;
}
if (_local2.BackgroundArr[_local3] == 1) {
nOffset = 0;
}
_local1.start(nOffset, 1);
_local2.nNumberCurrentlyPlaying++;
return(_local1);
}
function PauseOneSound(nIndex) {
var _local1 = SoundObjArr[nIndex];
if (typeof(_local1) == "object") {
_local1.stop(_local1.strName);
}
}
function PauseAllSounds() {
var _local3 = this;
var _local2 = 0;
_local2 = 0;
while (_local2 < _local3.SoundObjArr.length) {
var _local1 = _local3.SoundObjArr[_local2];
if (typeof(_local1) == "object") {
_local1.stop(_local1.strName);
}
_local2++;
}
_local3.bSoundPaused = true;
}
function ResumeAllSounds() {
var _local3 = this;
if (_local3.bSoundPaused) {
_local3.bSoundPaused = false;
var _local2 = 0;
_local2 = 0;
while (_local2 < _local3.SoundObjArr.length) {
var _local1 = _local3.SoundObjArr[_local2];
if (typeof(_local1) == "object") {
_local1.start(_local1.position / 1000, 1);
}
_local2++;
}
}
_local3.bSoundsStopped = false;
}
function DeleteNonBackgroundSound() {
var _local2 = this;
var _local1 = 0;
_local1 = 0;
while (_local1 < _local2.SoundObjArr.length) {
var _local3 = _local2.SoundObjArr[_local1];
if (typeof(_local3) == "object") {
if (_local2.BackgroundArr[_local1] != 1) {
_local2.DoDeleteSound(_local1);
}
}
_local1++;
}
_local2.DoDeleteAllItemSounds();
}
function AddItemSound(Name, startFrame, stopFrame, FadeIn, FadeOut, Loop, Lower) {
var _local2 = this;
var _local1 = _local2.itmNameArr.length;
_local2.itmNameArr[_local1] = Name;
_local2.itmStartArr[_local1] = startFrame;
_local2.itmStopArr[_local1] = stopFrame;
_local2.itmFadeInArr[_local1] = FadeIn;
_local2.itmFadeOutArr[_local1] = FadeOut;
_local2.itmLoopArr[_local1] = Loop;
_local2.itmLowerArr[_local1] = Lower;
_local2.itmFrameCounterArr[_local1] = -1;
}
function StartItemSound(nIndex, nOffset) {
var _local2 = this;
var _local3 = nIndex;
if (_local2.rdMovie_obj.m_state == rdMovie.stateDone) {
return(null);
}
var _local1;
if (typeof(_local2.itmSoundObjArr[_local3]) == "object") {
_local1 = _local2.itmSoundObjArr[_local3];
if (_local2.itmFrameCounterArr[_local3] > -1) {
_local1.stop(_local1.strName);
}
} else {
var strMcName = (("item_sound" + _local3) + "_mc");
var new_mc = _local2.rdMovie_obj.m_movie_mc.createEmptyMovieClip(strMcName, _local2.m_newMovieDepth);
_local2.m_newMovieDepth++;
_local1 = new Sound(new_mc);
_local1._mc = new_mc;
_local1.strName = _local2.itmNameArr[_local3];
_local1.attachSound(_local1.strName);
_local2.itmSoundObjArr[_local3] = _local1;
}
_local2.itmFrameCounterArr[_local3] = nOffset;
_local1.start(nOffset, 1);
if (_local2.itmStartArr[_local3] < _local2.itmFadeInArr[_local3]) {
_local1.setVolume(25);
}
return(_local1);
}
function SyncItemSounds() {
var _local2 = this;
if (_local2.bSoundsStopped || (_local2.bSoundPaused)) {
} else {
var _local1 = 0;
_local1 = 0;
while (_local1 < _local2.itmNameArr.length) {
if (_local2.itmFrameCounterArr[_local1] > -1) {
_local2.itmFrameCounterArr[_local1]++;
var _local3 = _local2.itmFrameCounterArr[_local1];
var this_item_sound = _local2.itmSoundObjArr[_local1];
if (typeof(this_item_sound) != "object") {
_local2.itmFrameCounterArr[_local1] = -1;
} else if ((_local3 >= _local2.itmStartArr[_local1]) && (_local3 < _local2.itmStopArr[_local1])) {
var nVolume = 100;
if (_local2.itmStartArr[_local1] < _local2.itmFadeInArr[_local1]) {
if ((_local3 >= _local2.itmStartArr[_local1]) && (_local3 <= _local2.itmFadeInArr[_local1])) {
nSpan = _local2.itmFadeInArr[_local1] - _local2.itmStartArr[_local1];
nPosInSpan = _local3 - _local2.itmStartArr[_local1];
nVolume = (nPosInSpan * 100) / nSpan;
}
}
if (_local2.itmStopArr[_local1] > _local2.itmFadeOutArr[_local1]) {
if ((_local3 >= _local2.itmFadeOutArr[_local1]) && (_local3 < _local2.itmStopArr[_local1])) {
var nSpan = (_local2.itmStopArr[_local1] - _local2.itmFadeOutArr[_local1]);
var nPosInSpan = (_local3 - _local2.itmFadeOutArr[_local1]);
nVolume = 100 - ((nPosInSpan * 100) / nSpan);
}
}
this_item_sound.setVolume(nVolume);
} else {
_local2.DoDeleteItemSound(_local1);
}
}
_local1++;
}
}
}
function DoDeleteItemSound(nIndex) {
var _local1 = nIndex;
var _local2 = this;
_local2.itmFrameCounterArr[_local1] = -1;
if (typeof(_local2.itmSoundObjArr[_local1]) == "object") {
_local2.itmSoundObjArr[_local1].stop(_local2.itmSoundObjArr[_local1].strName);
_local2.itmSoundObjArr[_local1]._mc.removeMovieClip();
delete _local2.itmSoundObjArr[_local1];
}
}
function DoDeleteAllItemSounds() {
var _local2 = this;
var _local1 = 0;
_local1 = 0;
while (_local1 < _local2.itmSoundObjArr.length) {
_local2.DoDeleteItemSound(_local1);
_local1++;
}
}
function ResumeAllItemSound() {
var _local3 = this;
var _local1 = 0;
_local1 = 0;
while (_local1 < _local3.itmSoundObjArr.length) {
var _local2 = _local3.itmSoundObjArr[_local1];
if (typeof(_local2) == "object") {
if (_local3.itmLoopArr[_local1] > 1) {
_local2.start(0, _local3.itmLoopArr[_local1]);
} else {
_local2.start(_local2.position / 1000, 1);
}
}
_local1++;
}
}
function PauseAllItemSound() {
var _local3 = this;
var _local2 = 0;
_local2 = 0;
while (_local2 < _local3.itmSoundObjArr.length) {
var _local1 = _local3.itmSoundObjArr[_local2];
if (typeof(_local1) == "object") {
_local1.stop(_local1.strName);
}
_local2++;
}
}
}
Symbol 8 MovieClip [__Packages.rdSlideTransition] Frame 0
class rdSlideTransition
{
var m_frameCount;
function rdSlideTransition (overlap, outFrameCount, inFrameCount, startOnFrame) {
var _local1 = this;
var _local2 = outFrameCount;
var _local3 = inFrameCount;
if ((_local2 <= 0) || (_local3 <= 0)) {
overlap = 0;
}
if (overlap) {
_local1.m_overlap = true;
if (_local2 > _local3) {
_local1.m_frameCount = _local2;
} else {
_local1.m_frameCount = _local3;
}
} else {
_local1.m_overlap = false;
_local1.m_frameCount = _local3 + _local2;
}
_local1.m_outFrameCount = _local2;
_local1.m_inFrameCount = _local3;
_local1.m_startOnFrame = startOnFrame;
_local1.m_endOnFrame = startOnFrame + _local1.m_frameCount;
}
function endPlay() {
var _local1 = this;
if (_local1.m_customTranstiton_mc && (_local1.m_prepared)) {
_local1.m_customTranstiton_mc.endPlay();
_local1.m_prepared = false;
}
}
function callCustomTransition() {
var _local1 = this;
if (_local1.m_customTranstiton_mc) {
if (!_local1.m_initializedCustomTransition) {
if ((_local1.m_nextSlide != null) && (_local1.m_nextSlide.m_rdSlide_mc == null)) {
return(undefined);
}
_local1.m_customTranstiton_mc.Initialize(_local1.m_prevSlide.m_rdSlide_mc, _local1.m_nextSlide.m_rdSlide_mc, _local1.m_overlap, _local1.m_frameCount);
_local1.m_initializedCustomTransition = true;
}
if (!_local1.m_prepared) {
_local1.m_prepared = true;
_local1.m_customTranstiton_mc.beginPlay();
}
_local1.m_customTranstiton_mc.playTransiton(_local1.m_currentFrame + 1);
return(true);
}
return(false);
return(undefined);
}
function playTransiton(currentFrame) {
var _local1 = this;
var _local3 = currentFrame;
if (_local1.m_frameCount <= 0) {
} else {
_local1.m_currentFrame = _local3;
if (_local1.callCustomTransition()) {
} else if (_local1.m_overlap) {
var _local2 = (100 * _local3) / _local1.m_frameCount;
if (_local3 == 1) {
_local2 = 0;
}
if (_local3 >= _local1.m_frameCount) {
_local2 = 100;
}
var alphaPrev = 100;
if (_local1.m_prevSlide) {
_local1.m_prevSlide.m_rdSlide_mc._alpha = alphaPrev;
}
if (_local1.m_nextSlide) {
_local1.m_nextSlide.m_rdSlide_mc._alpha = _local2;
}
return;
}
}
}
function getFrameCount() {
return(m_frameCount);
}
var m_prevSlide = null;
var m_nextSlide = null;
var m_currentFrame = 0;
var m_customTranstiton_mc = null;
var m_initializedCustomTransition = null;
var m_prepared = false;
}
Symbol 9 MovieClip [__Packages.rdCustomTransiton] Frame 0
class rdCustomTransiton extends MovieClip
{
var m_nextrdSlide, m_previousrdSlide;
function rdCustomTransiton () {
super();
}
function getMovieWidth() {
var _local1 = m_nextrdSlide;
if (_local1 == null) {
_local1 = m_previousrdSlide;
}
if (_local1 == null) {
return(0);
}
return(_local1.m_movie.m_width);
}
function getMovieHeight() {
var _local1 = m_nextrdSlide;
if (_local1 == null) {
_local1 = m_previousrdSlide;
}
if (_local1 == null) {
return(0);
}
return(_local1.m_movie.m_height);
}
function Initialize(previousrdSlide, nextrdSlide, overlap, frameCount) {
var _local2 = nextrdSlide;
var _local3 = this;
_local3.m_previousrdSlide = previousrdSlide;
_local3.m_nextrdSlide = _local2;
_local3.m_overlap = overlap;
_local3.m_frameCount = frameCount;
_root.deba("Init" + _local3.m_nextrdSlide._name);
var _local1 = "rdCustomTransition:Initialize previousrdSlide=";
if (previousrdSlide) {
_local1 = _local1 + previousrdSlide._name;
} else {
_local1 = _local1 + "null";
}
_local1 = _local1 + " nextrdSlide=";
if (_local2) {
_local1 = _local1 + _local2._name;
_local1 = _local1 + (" width=" + _local2._width);
_local1 = _local1 + (" height=" + _local2._height);
} else {
_local1 = _local1 + "null";
}
_local1 = _local1 + (" overlap=" + overlap);
_local1 = _local1 + (" frameCount=" + frameCount);
}
function playTransiton(currentFrame) {
_root.deba("transition not implemented");
}
function beginPlay() {
_root.deba("beginPlay");
}
function endPlay() {
_root.deba("endPlay");
}
}
Symbol 10 MovieClip [__Packages.rdPacemaker] Frame 0
class rdPacemaker extends Object
{
function rdPacemaker (movie) {
super();
m_movie = movie;
}
function stop() {
m_started = false;
}
function start(fps, currentFrame) {
var _local1 = this;
_local1.m_started = true;
_local1.m_fps = fps;
_local1.m_startTime = getTimer();
_local1.m_startFrame = currentFrame;
}
function pace(currentFrame) {
var _local2 = this;
if (_local2.m_started) {
var now = getTimer();
var _local3 = now - _local2.m_startTime;
if (_local3 > 0) {
var correctFrame = ((_local3 * _local2.m_fps) / 1000);
var _local1 = (currentFrame - correctFrame) - _local2.m_startFrame;
if (_local1 < -1) {
_local2.m_skipCount++;
return(Math.floor(-_local1));
}
if (_local1 > 1) {
return(-1);
}
}
} else {
var dummy = 1;
}
return(0);
}
var m_isInitialized = false;
var m_started = false;
var m_skipCount = 0;
var m_movie = null;
}
Symbol 11 MovieClip [__Packages.rdItem] Frame 0
class rdItem extends rdBase
{
var _parent;
function rdItem () {
super();
}
function setSlide(slide) {
m_slide = slide;
}
function onLoad() {
var _local1 = this;
_local1._parent.itemLoaded(_local1);
_local1._alpha = _local1.m_alpha;
var _local2 = true;
if (_local1.isStatic) {
if (_local1._parent.m_index > _local1.parentSlideIndex) {
_local2 = false;
}
}
if ((_local1.inEnd == 1) && (_local1.m_mustBeReady)) {
_local2 = false;
}
if (_local2) {
_local1._visible = false;
} else {
_local1.SetVisible(true);
}
}
function getParentCurrFrame() {
return(_parent._currentframe);
}
function SetVisible(setVisible) {
var _local1 = this;
_local1._visible = setVisible;
if (setVisible && (_local1.m_soundIdx > -1)) {
_local1.m_slide.m_movie.m_soundHandler.StartItemSound(_local1.m_soundIdx, 0);
}
}
function onEnterFrame() {
var _local1 = this;
if (!_local1._parent._visible) {
if (_local1.m_doOnceInvisible && (_local1.m_mustBeReady)) {
_local1.m_doOnceInvisible = false;
// unexpected jump
}
} else {
if (!_local1.initialized) {
_local1.Initialize();
_local1.initialized = true;
}
if (_local1.isStatic) {
var _local2 = true;
if (_local1._parent.m_index == _local1.parentSlideIndex) {
if (_local1.getParentCurrFrame() < _local1.inEnd) {
_local2 = false;
}
}
if (_local2) {
if (!_local1._visible) {
_local1.SetVisible(true);
}
if (!_local1.m_isIn) {
_local1.m_isIn = true;
_local1._alpha = _local1.m_alpha;
}
return;
}
} else {
var pf = _local1.getParentCurrFrame();
if ((_local1.getParentCurrFrame() < _local1.inBegin) || (_local1.getParentCurrFrame() >= _local1.outEnd)) {
_local1.m_isIn = false;
if (_local1._visible) {
_local1.SetVisible(false);
}
} else {
if (!_local1._visible) {
_local1.SetVisible(true);
}
if ((_local1.getParentCurrFrame() >= _local1.inBegin) && (_local1.getParentCurrFrame() < _local1.inEnd)) {
if (_local1.inEffect) {
_local1.inEffect(_local1, _local1.getParentCurrFrame() - _local1.inBegin, _local1.inEnd - _local1.inBegin);
}
_local1.m_isIn = false;
} else if ((_local1.getParentCurrFrame() >= _local1.outBegin) && (_local1.getParentCurrFrame() < _local1.outEnd)) {
if (_local1.outEffect) {
_local1.outEffect(_local1, _local1.getParentCurrFrame() - _local1.outBegin, _local1.outEnd - _local1.outBegin);
}
_local1.m_isIn = false;
} else if (!_local1.m_isIn) {
_local1.m_isIn = true;
_local1._alpha = _local1.m_alpha;
}
}
}
}
}
var inEffect = null;
var outEffect = null;
var initialized = false;
var m_slide = null;
var m_mustBeReady = true;
}
Symbol 12 MovieClip [__Packages.rdSwf] Frame 0
class rdSwf extends rdItem
{
var stop;
function rdSwf () {
super();
}
function onEnterFrame() {
var _local1 = this;
if (!_local1.m_init_swf_mc) {
if (typeof(_local1.m_swf_mc) == "movieclip") {
_local1.m_init_swf_mc = true;
if (typeof(_local1.m_swf_mc.flashpaperversion) == "string") {
}
_local1.m_init_swf_mc = false;
if (typeof(_local1.m_swf_mc.getIFlashPaper) == "function") {
if (typeof(_local1.m_swf_mc.getIFlashPaper().setSize) == "function") {
var _local2 = _local1.m_swf_mc.getIFlashPaper().setSize(_local1.m_swfwidth, _local1.m_swfheight);
if (_local2) {
_local1.m_init_swf_mc = true;
}
}
}
}
}
if (_local1.m_sync) {
var _local3 = (_local1.getParentCurrFrame() - _local1.nEnterFrame) + 2;
_local1.doSync(_local3, false);
if (_local1.m_pendingStop) {
_local1.m_pendingStop = false;
_local1.m_swf_mc.gotoAndStop(1);
}
} else {
if ((!_local1.isStatic) && (!_local1.m_loop)) {
if ((!_local1._parent._visible) && (_local1._visible)) {
_local1.SetVisible(false);
}
}
if (!_local1.m_loop) {
if (_local1.m_swf_mc._currentframe >= _local1.nTotalFrames) {
_local1.m_swf_mc.gotoAndStop(_local1.nTotalFrames);
}
}
if (_local1.m_playThis && (_local1.m_isPlaying)) {
if (_local1._currentframe >= ((_local1.nTotalFrames * 2) + 2)) {
_local1.gotoAndPlay(2);
}
}
}
super.onEnterFrame();
}
function doSync(frame, doPlay) {
var _local1 = this;
var _local2 = frame;
if (_local1.m_sync) {
var _local3 = doPlay;
if (_local2 > _local1.nTotalFrames) {
if (_local1.m_loop) {
_local2 = (_local2 % _local1.nTotalFrames) + 1;
} else {
_local2 = _local1.nTotalFrames;
_local3 = false;
}
}
if (_local3) {
_local1.m_swf_mc.gotoAndPlay(_local2);
} else {
_local1.m_swf_mc.gotoAndStop(_local2);
}
} else if (doPlay != _local1.m_isPlaying) {
_local1.m_isPlaying = doPlay;
if (doPlay) {
if (_local1.m_playThis) {
_local1.play();
}
_local1.m_swf_mc.play();
} else {
if (_local1.m_playThis) {
_local1.stop();
}
_local1.m_swf_mc.stop();
}
}
}
function gotoFrame(frame, doPlay) {
var _local1 = this;
if (_local1.m_slideFrame > 0) {
_local1._parent._parent.gotoAndPlay(_local1.m_slideFrame);
}
_local1.doSync(frame, doPlay);
}
function onLoad() {
super.onLoad();
(stop());// not popped
}
function SetVisible(setVisible) {
var _local1 = this;
var _local2 = setVisible;
if (_local2) {
_local1.m_isPlaying = true;
if (_local1.m_playThis) {
_local1.gotoAndPlay(2);
} else {
_local1.gotoAndStop(2);
}
} else if (!_local2) {
_local1.gotoAndStop(1);
}
super.SetVisible(_local2);
}
function getParentCurrFrame() {
var _local1 = this;
if (_local1.m_isGlobal) {
return(_local1._parent.movie.m_currFrame);
}
return(_local1._parent._currentframe);
}
var m_isPlaying = false;
var m_init_swf_mc = false;
var m_passedFirstFrame = false;
var m_slideFrame = 0;
}
Symbol 13 MovieClip [__Packages.rdProgressbar] Frame 0
class rdProgressbar extends MovieClip
{
var _parent;
function rdProgressbar () {
super();
}
function onRelease() {
_parent.m_bMouseDown = false;
}
function onReleaseOutside() {
_parent.m_bMouseDown = false;
}
function onPress() {
_parent.m_bMouseDown = true;
}
}
Symbol 14 MovieClip [__Packages.rdRollover] Frame 0
class rdRollover extends rdBase
{
var _visible;
function rdRollover () {
super();
}
function setSlide(slide) {
m_slide = slide;
}
function onLoad() {
var _local1 = this;
_local1._visible = false;
_local1._alpha = _local1.m_alpha;
_local1._parent.itemLoaded(_local1);
}
function forceIn() {
var _local1 = this;
_local1.m_state = stateIn;
_local1._visible = true;
_local1.inEffect(_local1, 1, 1);
}
function forceOut() {
m_state = stateOut;
_visible = true;
}
function showRollover() {
var _local1 = this;
if (_local1.m_soundIdx > -1) {
_local1.m_slide.m_movie.m_soundHandler.StartItemSound(_local1.m_soundIdx, 0);
}
switch (_local1.m_state) {
case stateOut :
if (_local1.m_inEffectFrames > 0) {
_local1.m_state = stateIneffect;
_local1.m_effectPos = 0;
_local1.next();
_local1._visible = true;
} else {
_local1.forceIn();
}
return;
case stateIn :
return;
case stateOuteffect :
_local1.m_state = stateIneffect;
_local1.m_effectPos = _local1.m_outEffectFrames - _local1.m_effectPos;
if (_local1.m_outEffectFrames != _local1.m_inEffectFrames) {
_local1.m_effectPos = int((_local1.m_effectPos * _local1.m_inEffectFrames) / _local1.m_outEffectFrames);
if ((_local1.m_inEffectFrames == 0) || (_local1.m_effectPos > _local1.m_inEffectFrames)) {
_local1.forceIn();
}
}
return;
case stateIneffect :
}
}
function hideRollover() {
var _local1 = this;
switch (_local1.m_state) {
case stateOut :
return;
case stateIn :
_local1.m_state = stateOuteffect;
_local1.m_effectPos = 0;
return;
case stateOuteffect :
return;
case stateIneffect :
_local1.m_state = stateOuteffect;
_local1.m_effectPos = _local1.m_inEffectFrames - _local1.m_effectPos;
if (_local1.m_outEffectFrames == _local1.m_inEffectFrames) {
break;
}
_local1.m_effectPos = int((_local1.m_effectPos * _local1.m_outEffectFrames) / _local1.m_inEffectFrames);
if (_local1.m_outEffectFrames != 0) {
break;
}
_local1.m_state = stateOut;
_local1._visible = false;
}
}
function next() {
var _local1 = this;
switch (_local1.m_state) {
case stateOut :
return;
case stateIn :
return;
case stateIneffect :
_local1.m_effectPos++;
if (_local1.m_effectPos >= _local1.m_inEffectFrames) {
_local1.m_state = stateIn;
} else {
_local1.inEffect(_local1, _local1.m_effectPos, _local1.m_inEffectFrames);
}
return;
case stateOuteffect :
_local1.m_effectPos++;
if (_local1.m_effectPos >= _local1.m_outEffectFrames) {
_local1.m_state = stateOut;
_local1._visible = false;
} else {
_local1.outEffect(_local1, _local1.m_effectPos, _local1.m_outEffectFrames);
}
}
}
function onEnterFrame() {
var _local1 = this;
if (!_local1.initialized) {
_local1.Initialize();
_local1.initialized = true;
}
_local1.next();
}
var inEffect = null;
var outEffect = null;
var initialized = false;
var m_slide = null;
static var stateOut = 0;
static var stateIn = 1;
static var stateIneffect = 2;
static var stateOuteffect = 3;
var m_state = stateOut;
var m_effectPos = 0;
}
Symbol 15 MovieClip [__Packages.rdFeedback] Frame 0
class rdFeedback extends rdBase
{
var currFrame, outEnd;
function rdFeedback () {
super();
}
function SetPendingResume(mc) {
m_pendingResume = mc;
}
function showFeedback() {
var _local1 = this;
_local1.currFrame = 0;
if (_local1.m_soundIdx > -1) {
_local1.m_movie.m_soundHandler.StartItemSound(_local1.m_soundIdx, 0);
}
}
function hideFeedback() {
currFrame = outEnd + 10;
}
function setMovie(movie) {
m_movie = movie;
}
function onLoad() {
var _local1 = this;
_local1._alpha = _local1.m_alpha;
_local1._visible = false;
_local1.currFrame = _local1.outEnd + 10;
_local1._parent.itemLoaded(_local1);
}
function onEnterFrame() {
var _local1 = this;
if (!_local1.initialized) {
_local1.Initialize();
_local1.initialized = true;
}
_local1.currFrame++;
if ((_local1.currFrame < _local1.inBegin) || (_local1.currFrame >= _local1.outEnd)) {
_local1.m_isIn = false;
if (_local1._visible) {
_local1._visible = false;
if (_local1.m_pendingResume) {
_local1.m_pendingResume.Resume();
_local1.m_pendingResume = null;
}
}
} else {
if (!_local1._visible) {
_local1._visible = true;
}
if ((_local1.currFrame >= _local1.inBegin) && (_local1.currFrame < _local1.inEnd)) {
if (_local1.inEffect) {
_local1.inEffect(_local1, _local1.currFrame - _local1.inBegin, _local1.inEnd - _local1.inBegin);
}
_local1.m_isIn = false;
} else if ((_local1.currFrame >= _local1.outBegin) && (_local1.currFrame < _local1.outEnd)) {
if (_local1.outEffect) {
_local1.outEffect(_local1, _local1.currFrame - _local1.outBegin, _local1.outEnd - _local1.outBegin);
}
_local1.m_isIn = false;
} else if (!_local1.m_isIn) {
_local1.m_isIn = true;
_local1._x = _local1.m_left;
_local1._y = _local1.m_top;
_local1._width = _local1.m_width;
_local1._height = _local1.m_height;
_local1._alpha = _local1.m_alpha;
}
}
}
var inEffect = null;
var outEffect = null;
var initialized = false;
var m_movie = null;
var m_pendingResume = null;
}
Symbol 16 MovieClip [__Packages.rdInteraction] Frame 0
class rdInteraction extends rdItem
{
var m_mustBeReady, m_slide, m_submitOnFrame;
function rdInteraction () {
super();
m_mustBeReady = false;
}
function onRegister() {
}
function isDone() {
return(m_done);
}
function setDone() {
var _local1 = this;
_local1.m_done = true;
_local1.m_doneOnFrame = _local1._parent._currentframe;
}
function getAttempts() {
var _local1 = this;
if (typeof(_local1.m_interactionAnswer) == "movieclip") {
return(_local1.m_interactionAnswer.question.numTries);
}
return(_local1.m_attempts);
}
function IncrementAttempts() {
var _local1 = this;
if (typeof(_local1.m_interactionAnswer) == "movieclip") {
_local1.m_interactionAnswer.question.numTries++;
}
_local1.m_attempts++;
}
function DoCheck() {
}
function onLoad() {
super.onLoad();
m_slide.AddNoSkipFrame(m_submitOnFrame);
}
function Register() {
var _local1 = this;
if (_local1.m_slide.m_movie.m_disableInteractions) {
} else if ((!_local1.m_isRegistered) && (!_local1.isDone())) {
_local1.m_paused = false;
_local1.m_done = false;
_local1.m_isRegistered = true;
if (_local1.m_useClickhandler) {
_local1.m_slide.m_movie.m_clickHandler_mc.SpriteLoaded(_local1);
}
if (_local1.m_nSubmitKeyCode) {
_local1.m_slide.m_movie.m_keyHandler.SpriteLoaded(_local1);
}
if (_local1.m_questionNumber != -1) {
_local1.m_interactionAnswer = _local1._parent["_question_" + _local1.m_questionNumber]["_answer" + _local1.m_questionNumber];
if (typeof(_local1.m_interactionAnswer) == "movieclip") {
var _local2;
var slideName = _local1._parent._name;
var _local3 = parseInt(slideName.substr(5));
_local2 = _local1._parent.m_movie.m_quizPlaybackController.getSlide(_local3);
var quizController = _local1._parent.m_movie.m_quizPlaybackController.quizControllerForSlide(_local2);
quizController.startQuestion(_local1._parent["_question_" + _local1.m_questionNumber]);
}
_local1.onRegister();
}
}
}
function Unregister() {
var _local1 = this;
if (_local1.m_isRegistered) {
_local1.m_paused = false;
_local1.m_isRegistered = false;
if (_local1.m_useClickhandler) {
_local1.m_slide.m_movie.m_clickHandler_mc.SpriteUnloaded(_local1);
}
if (_local1.m_nSubmitKeyCode) {
_local1.m_slide.m_movie.m_keyHandler.SpriteUnloaded(_local1);
}
}
}
function SetVisible(setVisible) {
super.SetVisible(setVisible);
if (setVisible) {
}
m_done = false;
}
function onEnterFrame() {
var _local1 = this;
if (_local1._visible && (!_local1.m_slide.m_movie.m_disableInteractions)) {
if (_local1.m_isRegistered) {
if (((_local1._parent._currentframe < _local1.inBegin) || (_local1._parent._currentframe > _local1.outEnd)) || (!_local1._parent._visible)) {
_local1.Unregister();
}
} else if (((_local1._parent._currentframe >= _local1.inBegin) && (_local1._parent._currentframe <= _local1.outEnd)) && (_local1._parent._visible)) {
_local1.Register();
}
if (_local1.m_submitOnFrame == _local1._parent._currentframe) {
if (_local1.isDone() == false) {
if (_local1.m_paused == false) {
_local1.m_paused = true;
_local1.m_slide.pauseSlide();
}
}
} else if (_local1.isDone() && (_local1.m_doneOnFrame > _local1._parent._currentframe)) {
_local1.m_done = false;
}
if (_local1.m_submitOnFrame > _local1._parent._currentframe) {
_local1.m_paused = false;
}
} else if (_local1.m_slide.m_movie.m_disableInteractions) {
if (_local1.m_submitOnFrame == _local1._parent._currentframe) {
var isdone = _local1.isDone();
if (_local1.m_paused == false) {
_local1.m_slide.pauseSlide();
}
}
}
super.onEnterFrame();
}
function Resume() {
var _local1 = this;
if (_local1.m_done) {
if (_local1.m_paused) {
_local1.m_paused = false;
}
if (_local1.m_correct) {
if (typeof(_local1.succeeded) == "function") {
_local1.succeeded(_local1._parent);
}
if (_local1.m_continueAftersucceeded) {
_local1._parent.resumeSlide();
}
} else {
if (typeof(_local1.failed) == "function") {
_local1.failed(_local1._parent);
}
if (_local1.m_continueAfterfailed) {
_local1._parent.resumeSlide();
}
}
if (_local1.m_canResubmit) {
_local1.m_done = false;
} else {
_local1.Unregister();
}
}
}
function Submit(ok) {
var _local1 = this;
if (_local1.m_slide.m_movie.m_disableInteractions) {
} else if (_local1.isDone()) {
} else {
if (ok && (_local1.m_stopSlideAudioWhenClicked)) {
_local1.m_slide.StopSlideAudio();
}
_local1.m_correct = ok;
if (typeof(_local1.m_interactionAnswer) == "movieclip") {
_local1.m_interactionAnswer.submit(_local1.m_userResponse, _local1.m_correct);
}
var _local2 = false;
_local1.IncrementAttempts();
if (_local1.m_correct) {
if (_local1.m_failure_mc != null) {
_local1.m_failure_mc.hideFeedback();
}
_local2 = true;
if (_local1.m_success_mc != null) {
_local1.m_success_mc.showFeedback();
if (_local1.m_resumeAfterFeedback) {
_local1.m_success_mc.SetPendingResume(_local1);
_local2 = false;
}
}
_local1.setDone();
} else {
if (_local1.m_failure_mc != null) {
_local1.m_failure_mc.showFeedback();
}
if ((_local1.m_maxAttempts > 0) && (_local1.getAttempts() >= _local1.m_maxAttempts)) {
_local2 = true;
if ((_local1.m_failure_mc != null) && (_local1.m_resumeAfterFeedback)) {
_local1.m_failure_mc.SetPendingResume(_local1);
_local2 = false;
}
_local1.setDone();
}
}
if (_local1.isDone()) {
if (typeof(_local1.m_interactionAnswer) == "movieclip") {
_local1.m_interactionAnswer._parent.endQuestion(true);
}
if (_local1.m_trackuserresponse) {
var _local3;
if (_local1.m_correct) {
_local3 = "1";
} else {
_local3 = "0";
}
}
}
if (_local1.m_done) {
if (_local2) {
_local1.Resume();
}
}
}
}
function onRollOver() {
var _local1 = this;
_local1.m_isInside = true;
_local1.DoCheck();
if (_local1.m_rolloverItem) {
_local1.m_rolloverItem.showRollover();
}
super.onRollOver();
}
function onRollOut() {
var _local1 = this;
_local1.m_isInside = false;
_local1.DoCheck();
if (_local1.m_rolloverItem) {
_local1.m_rolloverItem.hideRollover();
}
super.onRollOut();
}
function IsMouseInside() {
if (m_isInside) {
return(true);
}
return(false);
}
var m_paused = false;
var m_isRegistered = false;
var m_done = false;
var m_doneOnFrame = -1;
var m_canResubmit = false;
var m_isSubmitForItem = false;
var m_userResponse = "";
var m_correct = false;
var m_attempts = 0;
var m_interactionAnswer = null;
var m_trackuserresponse = false;
var succeeded = null;
var failed = null;
var m_success_mc = null;
var m_rolloverItem = null;
var m_failure_mc = null;
var m_isInside = false;
var m_questionNumber = -1;
var m_resumeAfterFeedback = true;
var m_stopSlideAudioWhenClicked = false;
}
Symbol 17 MovieClip [__Packages.rdButton] Frame 0
class rdButton extends rdInteraction
{
var _target, m_userResponse;
function rdButton () {
super();
}
function onSetFocus(oldFocus) {
var focusPath = _target;
focusPath = focusPath + "/btnEnterJ";
if (typeof(eval (focusPath)) == "object") {
Selection.setFocus(focusPath);
}
}
function onPress() {
m_isDown = true;
DoCheck();
}
function onRelease() {
m_isDown = false;
DoCheck();
}
function onReleaseOutSide() {
m_isDown = false;
DoCheck();
}
function Submit(bOk) {
if (bOk) {
m_userResponse = "1";
} else {
m_userResponse = "0";
}
super.Submit(bOk);
}
function DoCheck() {
var _local1 = this;
if (_local1.m_slide.m_movie.m_disableInteractions) {
} else if (_local1.IsMouseInside()) {
if (_local1.m_slide.m_movie.m_clickHandler_mc.IsMouseDown()) {
_local1.gotoAndPlay(15);
} else {
_local1.gotoAndPlay(10);
}
} else {
_local1.gotoAndPlay(5);
}
}
function onRegister() {
var _local1 = this;
if (typeof(_local1.m_interactionAnswer) == "movieclip") {
_local1.m_interactionAnswer.answerID = "1";
_local1.m_interactionAnswer.correctAnswers.push("1");
}
}
var m_isDown = false;
}
Symbol 18 MovieClip [__Packages.rdPlaybar] Frame 0
class rdPlaybar extends MovieClip
{
var _parent;
function rdPlaybar () {
super();
}
function onLoad() {
var _local1 = this;
_local1.tabChildren = true;
_local1.tabEnabled = false;
if (_local1._parent.isWaiting()) {
_local1._visible = false;
}
}
function onEnterFrame() {
var _local1 = this;
if (_local1._parent.isWaiting()) {
_local1._visible = false;
} else {
if ((!_local1._parent.rdcmndHidePlaybar) && (!_local1._visible)) {
_local1._visible = true;
} else if (_local1._parent.rdcmndHidePlaybar && (_local1._visible)) {
_local1._visible = false;
}
if (_local1.m_movie == undefined) {
_local1.m_movie = _local1._parent.movie;
}
_local1.UpdatePosition();
_local1.CheckTracking();
}
}
function UpdatePosition() {
var _local1 = this;
var _local2 = (_local1.m_movie.m_currFrame * _local1.m_progressBarLength) / _local1._parent.rdinfoFrameCount;
_local1.progressbar_mc.thumb_mc._x = _local2;
_local1.deb++;
_local1.tip_mc._x = _local2;
}
function GetFrameTipString() {
var _local2 = _parent.rdinfoCurrentSlide + 1;
var _local1 = _parent.rdinfoSlideCount;
return((_local2 + "/") + _local1);
}
function CheckTracking() {
var _local1 = this;
if (_local1.m_bMouseDown) {
_local1.tip_mc.tiptext = _local1.GetFrameTipString();
if (!_local1.tip_mc.bPlaced) {
_local1.tip_mc.bPlaced = true;
if (_local1.m_bTipOnTop) {
_local1.tip_mc._y = (-_local1.tip_mc._height) - 2;
} else {
_local1.tip_mc._y = _local1.progressbar_mc.thumb_mc._height + 2;
}
}
if (!_local1.tip_mc._visible) {
_local1.tip_mc._visible = true;
_local1.tip_mc._alpha = 255;
}
var _local2 = _local1._xmouse;
_local2 = _local2 - (_local1.progressbar_mc.thumb_mc._width / 2);
if (_local2 < 0) {
_local2 = 0;
}
if (_local2 > _local1.m_progressBarLength) {
_local2 = _local1.m_progressBarLength;
}
_local1._parent.rdcmndGotoFrame = Math.round(((_local1._parent.rdinfoFrameCount * _local2) / _local1.m_progressBarLength) + 1);
} else if (_local1.tip_mc._visible) {
_local1.tip_mc._visible = false;
}
}
var m_movie = null;
var deb = 0;
}
Symbol 19 MovieClip [__Packages.rdSwfSlide] Frame 0
class rdSwfSlide extends rdSlide
{
var m_swf_mc;
function rdSwfSlide () {
super();
}
function onEnterFrame() {
var _local1 = this;
if (_local1.m_swf_mc._currentframe == _local1.nTotalFrames) {
if (_local1.m_loop) {
_local1.m_swf_mc.gotoAndPlay(1);
} else {
_local1.m_swf_mc.stop();
}
}
super.onEnterFrame();
}
function startSlide() {
super.startSlide();
m_swf_mc.gotoAndPlay(1);
}
function hideSlide() {
super.hideSlide();
if (typeof(m_swf_mc) == "movieclip") {
m_swf_mc.stop();
}
}
function slideCompleted() {
super.slideCompleted();
if (typeof(m_swf_mc) == "movieclip") {
m_swf_mc.stop();
}
}
function syncSubMovieClips(frame, doPlay) {
var _local1 = frame;
var _local2 = this;
var _local3 = doPlay;
if (_local1 > _local2.nTotalFrames) {
if (_local2.m_loop) {
_local1 = (_local1 % _local2.nTotalFrames) + 1;
} else {
_local1 = _local2.nTotalFrames;
_local3 = false;
}
}
if (_local3) {
_local2.m_swf_mc.gotoAndPlay(_local1);
} else {
_local2.m_swf_mc.gotoAndStop(_local1);
}
}
}
Symbol 20 MovieClip [__Packages.rdRolloverArea] Frame 0
class rdRolloverArea extends rdItem
{
function rdRolloverArea () {
super();
}
function onRollOut() {
m_rolloverItem.hideRollover();
}
function onRollOver() {
m_rolloverItem.showRollover();
}
var m_rolloverItem = null;
}
Symbol 21 MovieClip [__Packages.rdTextEntry] Frame 0
class rdTextEntry extends rdInteraction
{
var _target, strInputFocus, _parent;
function rdTextEntry () {
super();
}
function SetVisible(bool) {
if (bool) {
DoInit();
}
super.SetVisible(bool);
}
function SetFocus(removeSelection) {
var _local1 = _target;
_local1 = _local1 + "/EditField_txt";
Selection.setFocus(_local1);
if (removeSelection) {
Selection.setSelection(1000, 1000);
}
strInputFocus = Selection.getFocus();
}
function DoInit() {
_parent.rdStartTimer();
SetFocus(true);
}
function onRelease() {
SetFocus(false);
super.onRelease();
}
function DoCompare() {
var _local3 = this;
var UserInput_str = _local3.input_txt;
_local3.m_userResponse = UserInput_str;
if (!_local3.bCaseSensitive) {
UserInput_str = UserInput_str.toLowerCase();
}
var _local2;
_local2 = 0;
while (_local2 < _local3.CorrectAnswers_array.length) {
var _local1 = _local3.CorrectAnswers_array[_local2];
if (!_local3.bCaseSensitive) {
_local1 = _local1.toLowerCase();
}
if ((_local1 == UserInput_str) || ((length(_local1) == 0) && (length(UserInput_str) == 0))) {
return(true);
}
_local2++;
}
return(false);
}
function Submit(bOk) {
var _local1 = bOk;
if (_local1) {
_local1 = DoCompare();
super.Submit(_local1);
if (!_local1) {
SetFocus(true);
}
}
}
function onRegister() {
var _local2 = this;
if (typeof(_local2.m_interactionAnswer) == "movieclip") {
_local2.m_interactionAnswer.answerID = "A";
var _local1;
_local1 = 0;
while (_local1 < _local2.CorrectAnswers_array.length) {
var _local3 = _local2.CorrectAnswers_array[_local1];
_local2.m_interactionAnswer.correctAnswers.push(_local3);
_local1++;
}
}
}
var deb = 0;
}
Symbol 23 MovieClip [5df827_0] Frame 1
#initclip 26
Object.registerClass("5df827_0", rdClickHandler);
#endinitclip
Symbol 24 MovieClip [__Packages.rdQSlide] Frame 0
class rdQSlide extends rdSlide
{
var m_isQuizSlide, m_isPlaying, gotoAndStop, _name, m_movie, AddNoSkipFrame;
function rdQSlide () {
super();
m_isQuizSlide = true;
return;
}
function showSlide() {
super.showSlide();
}
function onEnterFrame() {
var _local1 = this;
if (_local1.m_submitOnFrame == _local1._currentframe) {
if (_local1.m_quizPaused == false) {
var _local2;
var slideName = _local1._name;
var _local3 = parseInt(slideName.substr(5));
_local2 = _local1.m_movie.m_quizPlaybackController.getSlide(_local3);
var quizController = _local1.m_movie.m_quizPlaybackController.quizControllerForSlide(_local2);
quizController.startQuestion(_local1._question);
_local1.m_quizPaused = true;
_local1.pauseSlide();
}
} else if ((_local1._currentframe < _local1.m_submitOnFrame) && (_local1.m_quizPaused)) {
_local1.m_quizPaused = false;
}
}
function submit(question) {
var _local1 = this;
var _local2 = question;
_local1.m_attempts = _local2.numTries;
_local1.m_objectiveId = _local2.questionScore.objectiveID;
_local1.m_interactionId = _local2.questionScore.interactionID;
_local1.m_interactionType = _local2.questionScore.interactionType;
_local1.m_correctResponse = _local2.questionScore.correctAnswersAsString;
_local1.m_chosenResponse = _local2.questionScore.chosenAnswersAsString;
_local1.m_weighting = _local2.questionScore.weighting;
_local1.m_correct = _local2.questionScore.answeredCorrectly;
_local1.m_attemptsAllowed = _local2.numQuestionAttemptsAllowed;
if (_local1.m_correct == true) {
_local1.succeeded(_local1);
} else if (_local1.m_attempts >= _local1.m_attemptsAllowed) {
_local1.failed(_local1);
}
}
function hideSlide() {
super.hideSlide();
}
function isPlaying() {
return(m_isPlaying);
}
function rewindSlide() {
gotoAndStop(1);
}
function startSlide() {
super.startSlide();
}
function gotoFrame(frame, playSlide) {
super.gotoFrame(frame, playSlide);
}
function slideCompleted() {
super.slideCompleted();
}
function pauseSlide() {
super.pauseSlide();
}
function playerPauseSlide() {
super.playerPauseSlide();
}
function playerResumeSlide() {
super.playerResumeSlide();
}
function resumeSlide() {
var _local3;
var slideName = _name;
var _local2 = parseInt(slideName.substr(5));
_local3 = m_movie.m_quizPlaybackController.getSlide(_local2);
var qc = m_movie.m_quizPlaybackController.quizControllerForSlide(_local3);
var _local1 = qc.slideAfter(_local3);
if ((_local1 && (_local1.__get__slideNum() != (_local2 + 1))) && (_local1.__get__slideNum() != _local2)) {
m_movie.m_quizPlaybackController.gotoNextSlide();
} else if (m_movie.m_quizPlaybackController.leaveSlide(_local3, (_local1 ? (_local1.__get__slideNum()) : (_local2)))) {
super.resumeSlide();
}
}
function Initialize() {
AddNoSkipFrame(m_submitOnFrame);
}
function previousSlide() {
m_movie.m_quizPlaybackController.gotoPrevSlide();
}
function nextSlide() {
m_movie.m_quizPlaybackController.gotoNextSlide();
}
function reviewAnswers() {
m_movie.m_quizPlaybackController.reviewAnswersForCurrentQuiz();
}
function sendEmail() {
m_movie.m_quizPlaybackController.sendEmailResults();
}
var m_submitOnFrame = 25;
var m_quizPaused = false;
var m_attempts = 0;
var m_attemptsAllowed = 0;
var m_objectiveId = "";
var m_interactionId = "";
var m_interactionType = "";
var m_correctResponse = "";
var m_chosenResponse = "";
var m_weighting = 0;
var m_correct = false;
var succeeded = null;
var failed = null;
}
Symbol 25 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _minHeight, _minWidth, _visible, _xscale, _yscale, onEnterFrame, methodTable, attachMovie, idNames, childrenCreated, className, ignoreClassStyleDeclaration, styleName, stylecache, _parent;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
var _local1 = this;
return(_local1._parent.width - (_local1._x + _local1.__get__width()));
}
function get bottom() {
var _local1 = this;
return(_local1._parent.height - (_local1._y + _local1.__get__height()));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
var _local1 = this;
var _local2 = x;
if (_local2 != _local1._visible) {
_local1._visible = _local2;
if (noEvent != true) {
_local1.dispatchEvent({type:(_local2 ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
var _local1 = this;
if (_local1.methodTable == undefined) {
_local1.methodTable = new Array();
}
_local1.methodTable.push({obj:obj, fn:fn});
_local1.onEnterFrame = _local1.doLaterDispatcher;
}
function doLaterDispatcher(Void) {
var _local3 = this;
delete _local3.onEnterFrame;
if (_local3.invalidateFlag) {
_local3.redraw();
}
var _local2 = _local3.methodTable;
_local3.methodTable = new Array();
if (_local2.length > 0) {
var _local1;
while (_local1 = _local2.shift() , _local1 != undefined) {
_local1.obj[_local1.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
var _local1 = this;
_local1.invalidateFlag = true;
_local1.onEnterFrame = _local1.doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
var _local1 = this;
if (_local1.invalidateFlag || (bAlways)) {
_local1.invalidateFlag = false;
var _local2;
for (_local2 in _local1.tfList) {
_local1.tfList[_local2].draw();
}
_local1.draw();
_local1.dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local1 = this;
var oldX = _local1._x;
var oldY = _local1._y;
_local1._x = x;
_local1._y = y;
if (noEvent != true) {
_local1.dispatchEvent({type:"move", oldX:oldX, oldY:oldY});
}
}
function setSize(w, h, noEvent) {
var _local1 = this;
var oldWidth = _local1.__width;
var oldHeight = _local1.__height;
_local1.__width = w;
_local1.__height = h;
_local1.size();
if (noEvent != true) {
_local1.dispatchEvent({type:"resize", oldWidth:oldWidth, oldHeight:oldHeight});
}
}
function size(Void) {
var _local1 = this;
_local1._width = _local1.__width;
_local1._height = _local1.__height;
}
function drawRect(x1, y1, x2, y2) {
var _local1 = this;
var _local2 = y1;
var _local3 = x1;
_local1.moveTo(_local3, _local2);
_local1.lineTo(x2, _local2);
_local1.lineTo(x2, y2);
_local1.lineTo(_local3, y2);
_local1.lineTo(_local3, _local2);
}
function createLabel(name, depth, text) {
var _local2 = this;
var _local3 = name;
_local2.createTextField(_local3, depth, 0, 0, 0, 0);
var _local1 = _local2[_local3];
_local1._color = textColorList;
_local1._visible = false;
_local1.__text = text;
if (_local2.tfList == undefined) {
_local2.tfList = new Object();
}
_local2.tfList[_local3] = _local1;
_local1.invalidateStyle();
_local2.invalidate();
_local1.styleName = _local2;
return(_local1);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local1 = className;
var _local2 = _local1.symbolName == undefined;
if (_local2) {
Object.registerClass(_local1.symbolOwner.symbolName, _local1);
}
var _local3 = createObject(_local1.symbolOwner.symbolName, id, depth, initobj);
if (_local2) {
Object.registerClass(_local1.symbolOwner.symbolName, _local1.symbolOwner);
}
return(_local3);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this;
var _local1 = _local2[id];
if (_local1.getDepth() < 0) {
var dt = _local2.buildDepthTable();
var i = _local2.findNextAvailableDepth(0, dt, "up");
var _local3 = i;
_local1.swapDepths(_local3);
}
_local1.removeMovieClip();
delete _local2[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
var _local1 = linkageName;
if (_global.skinRegistry[_local1] == undefined) {
mx.skins.SkinElement.registerElement(_local1, mx.skins.SkinElement);
}
return(createObject(_local1, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = this;
var _local1 = _local2.getSkinIDName(tag);
_local2.createEmptyObject(_local1, tag);
return(_local2[_local1]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
var _local1 = this;
if (_local1._name == undefined) {
} else {
_local1.init();
_local1._createChildren();
_local1.createAccessibilityImplementation();
_local1._endInit();
if (_local1.validateNow) {
_local1.redraw(true);
} else {
_local1.invalidate();
}
}
}
function initFromClipParameters(Void) {
var _local2 = this;
var bFound = false;
var _local1;
for (_local1 in _local2.clipParameters) {
if (_local2.hasOwnProperty(_local1)) {
bFound = true;
_local2["def_" + _local1] = _local2[_local1];
delete _local2[_local1];
}
}
if (bFound) {
for (_local1 in _local2.clipParameters) {
var _local3 = _local2["def_" + _local1];
if (_local3 != undefined) {
_local2[_local1] = _local3;
}
}
}
}
function init(Void) {
var _local1 = this;
_local1.__width = _local1._width;
_local1.__height = _local1._height;
if (_local1.initProperties == undefined) {
_local1.initFromClipParameters();
} else {
_local1.initProperties();
}
if (_global.cascadingStyles == true) {
_local1.stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local3 = _global;
var _local2 = this;
var _local1 = className;
while (_local1 != undefined) {
if (ignoreClassStyleDeclaration[_local1] == undefined) {
if (_local3.styles[_local1] != undefined) {
return(_local3.styles[_local1]);
}
}
_local2 = _local2.__proto__;
_local1 = _local2.className;
}
return(undefined);
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local2 = this;
var _local3 = tf;
var o = _local2.stylecache.tf;
if (o != undefined) {
var _local1;
for (_local1 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local1])) {
if (_local3[_local1] == undefined) {
_local3[_local1] = o[_local1];
}
}
}
return(false);
}
var bUndefined = false;
for (var _local1 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local1])) {
if (_local3[_local1] == undefined) {
var v = _local2._tf[_local1];
if (v != undefined) {
_local3[_local1] = v;
} else if ((_local1 == "font") && (_local2.fontFamily != undefined)) {
_local3[_local1] = _local2.fontFamily;
} else if ((_local1 == "size") && (_local2.fontSize != undefined)) {
_local3[_local1] = _local2.fontSize;
} else if ((_local1 == "color") && (_local2.color != undefined)) {
_local3[_local1] = _local2.color;
} else if ((_local1 == "leftMargin") && (_local2.marginLeft != undefined)) {
_local3[_local1] = _local2.marginLeft;
} else if ((_local1 == "rightMargin") && (_local2.marginRight != undefined)) {
_local3[_local1] = _local2.marginRight;
} else if ((_local1 == "italic") && (_local2.fontStyle != undefined)) {
_local3[_local1] = _local2.fontStyle == _local1;
} else if ((_local1 == "bold") && (_local2.fontWeight != undefined)) {
_local3[_local1] = _local2.fontWeight == _local1;
} else if ((_local1 == "align") && (_local2.textAlign != undefined)) {
_local3[_local1] = _local2.textAlign;
} else if ((_local1 == "indent") && (_local2.textIndent != undefined)) {
_local3[_local1] = _local2.textIndent;
} else if ((_local1 == "underline") && (_local2.textDecoration != undefined)) {
_local3[_local1] = _local2.textDecoration == _local1;
} else if ((_local1 == "embedFonts") && (_local2.embedFonts != undefined)) {
_local3[_local1] = _local2.embedFonts;
} else {
bUndefined = true;
}
}
}
}
if (bUndefined) {
var name = _local2.styleName;
if (name != undefined) {
if (typeof(name) != "string") {
bUndefined = name.__getTextFormat(_local3, true, _local2);
} else if (_global.styles[name] != undefined) {
bUndefined = _global.styles[name].__getTextFormat(_local3, true, _local2);
}
}
}
if (bUndefined) {
var ss = _local2.getClassStyleDeclaration();
if (ss != undefined) {
bUndefined = ss.__getTextFormat(_local3, true, _local2);
}
}
if (bUndefined) {
if (_global.cascadingStyles) {
if (_local2._parent != undefined) {
bUndefined = _local2._parent.__getTextFormat(_local3, false);
}
}
}
if (bUndefined) {
bUndefined = _global.style.__getTextFormat(_local3, true, _local2);
}
return(bUndefined);
}
function _getTextFormat(Void) {
var _local2 = this;
var _local1 = _local2.stylecache.tf;
if (_local1 != undefined) {
return(_local1);
}
_local1 = new TextFormat();
_local2.__getTextFormat(_local1, true);
_local2.stylecache.tf = _local1;
if (_local2.enabled == false) {
var _local3 = _local2.getStyle("disabledColor");
_local1.color = _local3;
}
return(_local1);
}
function getStyleName(Void) {
var _local2 = this;
var _local1 = _local2.styleName;
if (_local1 != undefined) {
if (typeof(_local1) != "string") {
return(_local1.getStyleName());
}
return(_local1);
}
if (_local2._parent != undefined) {
return(_local2._parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local2 = styleProp;
var _local1;
_global.getStyleCounter++;
if (this[_local2] != undefined) {
return(this[_local2]);
}
var name = styleName;
if (name != undefined) {
if (typeof(name) != "string") {
_local1 = name.getStyle(_local2);
} else {
var ss = _global.styles[name];
_local1 = ss.getStyle(_local2);
}
}
if (_local1 != undefined) {
return(_local1);
}
var ss = getClassStyleDeclaration();
if (ss != undefined) {
_local1 = ss[_local2];
}
if (_local1 != undefined) {
return(_local1);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(_local2) || (mx.styles.StyleManager.isColorStyle(_local2))) {
var _local3 = stylecache;
if (_local3 != undefined) {
if (_local3[_local2] != undefined) {
return(_local3[_local2]);
}
}
if (_parent != undefined) {
_local1 = _parent.getStyle(_local2);
} else {
_local1 = _global.style[_local2];
}
if (_local3 != undefined) {
_local3[_local2] = _local1;
}
return(_local1);
}
}
if (_local1 == undefined) {
_local1 = _global.style[_local2];
}
return(_local1);
}
static function mergeClipParameters(o, p) {
var _local1 = p;
var _local2 = o;
for (var _local3 in _local1) {
_local2[_local3] = _local1[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.1.78";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 26 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 27 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
//var _local1 = this;
var _local2 = o;
_local2.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.align = x;
});
_local2.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.bold = x == "bold";
});
if (bColor) {
_local2.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.color = x;
});
}
_local2.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.font = x;
});
_local2.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.indent = x;
});
_local2.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.italic = x == "italic";
});
_local2.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.leftMargin = x;
});
_local2.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.rightMargin = x;
});
_local2.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.size = x;
});
_local2.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.underline = x == "underline";
});
_local2.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
var _local1 = this;
if (_local1._tf == undefined) {
_local1._tf = new TextFormat();
}
_local1._tf.embedFonts = x;
});
}
}
Symbol 28 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local3 = tf;
var bUndefined = false;
if (_tf != undefined) {
var _local1;
for (_local1 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local1])) {
if (_local3[_local1] == undefined) {
var _local2 = _tf[_local1];
if (_local2 != undefined) {
_local3[_local1] = _local2;
} else {
bUndefined = true;
}
}
}
}
} else {
bUndefined = true;
}
return(bUndefined);
}
function getStyle(styleProp) {
var _local1 = this[styleProp];
var _local2 = mx.styles.StyleManager.getColorName(_local1);
if (_local2 != undefined) {
return(_local2);
}
return(_local1);
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 29 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 30 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, dispatchEvent;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
var _local1 = this;
_local1.setEnabled(newValue);
_local1.invalidate();
delete _local1.stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local1 = this;
while (_local1 != undefined) {
if (_local1.focusManager != undefined) {
return(_local1.focusManager);
}
_local1 = _local1._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
var _local1 = this;
_local1.removeEventListener("keyDown", _local1);
_local1.removeEventListener("keyUp", _local1);
_local1.dispatchEvent({type:"focusOut"});
_local1.drawFocus(false);
}
function onSetFocus(oldFocus) {
var _local1 = this;
_local1.addEventListener("keyDown", _local1);
_local1.addEventListener("keyUp", _local1);
_local1.dispatchEvent({type:"focusIn"});
if (_local1.getFocusManager().bDrawFocus != false) {
_local1.drawFocus(true);
}
}
function findFocusInChildren(o) {
var _local1 = o;
if (_local1.focusTextField != undefined) {
return(_local1.focusTextField);
}
if (_local1.tabEnabled == true) {
return(_local1);
}
return(undefined);
}
function findFocusFromObject(o) {
var _local1 = o;
if (_local1.tabEnabled != true) {
if (_local1._parent == undefined) {
return(undefined);
}
if (_local1._parent.tabEnabled == true) {
_local1 = _local1._parent;
} else if (_local1._parent.tabChildren) {
_local1 = findFocusInChildren(_local1._parent);
} else {
_local1 = findFocusFromObject(_local1._parent);
}
}
return(_local1);
}
function pressFocus() {
var _local3 = this;
var _local2 = _local3.findFocusFromObject(_local3);
var _local1 = _local3.getFocus();
if (_local2 != _local1) {
_local1.drawFocus(false);
if (_local3.getFocusManager().bDrawFocus != false) {
_local2.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = this;
var _local1 = _local2.findFocusFromObject(_local2);
if (_local1 != _local2.getFocus()) {
_local1.setFocus();
}
}
function isParent(o) {
var _local1 = o;
var _local2 = this;
while (_local1 != undefined) {
if (_local1 == _local2) {
return(true);
}
_local1 = _local1._parent;
}
return(false);
}
function size() {
}
function init() {
var _local1 = this;
super.init();
_local1._xscale = 100;
_local1._yscale = 100;
_local1._focusrect = _global.useFocusRect == false;
_local1.watch("enabled", _local1.enabledChanged);
if (_local1.enabled == false) {
_local1.setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.1.78";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 31 MovieClip [__Packages.MMQuizClasses.Question] Frame 0
class MMQuizClasses.Question extends mx.core.UIComponent
{
var _questionScore, _state, _parent, _answers, _submitButton, _clearButton, dispatchEvent;
function Question () {
super();
}
function get quizID() {
return(quizController.quizParams.quizID);
}
function get slide() {
return(_slide);
}
function set slide(si) {
_slide = si;
//return(slide);
}
function get questionNumInQuiz() {
return(_questionNumInQuiz);
}
function set questionNumInQuiz(num) {
_questionNumInQuiz = num;
//return(questionNumInQuiz);
}
function get answeredCorrectly() {
var _local1 = this;
if (_local1._answers.length == 0) {
return(false);
}
for (var _local2 in _local1._answers) {
if (!_local1._answers[_local2].answeredCorrectly) {
return(false);
}
}
return(true);
}
function get answersIncomplete() {
var _local1 = this;
for (var _local2 in _local1._answers) {
if (_local1.mustAnswerAll) {
if (!_local1._answers[_local2].answered) {
return(true);
}
} else if (_local1._answers[_local2].answered) {
return(false);
}
}
return(!_local1.mustAnswerAll);
}
function get numTries() {
var _local1 = this;
if (_local1._questionScore) {
return(_local1._questionScore.__get__numTries());
}
return(_local1._numTries);
}
function set numTries(tries) {
var _local1 = this;
var _local2 = tries;
if (_local1._questionScore) {
_local1._questionScore.__set__numTries(_local2);
}
_local1._numTries = _local2;
if (_local2 >= _local1._numQuestionAttemptsAllowed) {
_local1.disableAnswers();
if (_local1._submitButton != undefined) {
_local1._submitButton.enabled = false;
}
if (_local1._clearButton != undefined) {
_local1._clearButton.enabled = false;
}
}
//return(_local1.__get__numTries());
}
function get questionScore() {
var _local1 = this;
if (_local1._questionScore) {
return(_local1._questionScore);
}
return(_local1.quizController.getQuestionScore(_local1.__get__questionNumInQuiz()));
}
function set questionScore(qs) {
_questionScore = qs;
//return(questionScore);
}
function get lastFeedbackShown() {
return(_lastFeedbackShown);
}
function get correctFeedback() {
var _local1 = this;
if (_local1._parent._correctFeedback) {
return(_local1._parent.correctFeedback);
}
return(_local1._correctFeedback);
}
function get incorrectFeedback() {
var _local1 = this;
if (_local1._parent._incorrectFeedback) {
return(_local1._parent._incorrectFeedback);
}
return(_local1._incorrectFeedback);
}
function get incompleteFeedback() {
var _local1 = this;
if (_local1._parent._incompleteFeedback) {
return(_local1._parent._incompleteFeedback);
}
return(_local1._incompleteFeedback);
}
function get retryFeedback() {
var _local1 = this;
if (_local1._parent.retryFeedback) {
return(_local1._parent._retryFeedback);
}
return(_local1._retryFeedback);
}
function get hint() {
var _local1 = this;
if (_local1._parent._hint) {
return(_local1._parent._hint);
}
return(_local1._hint);
}
function get surveyFeedback() {
var _local1 = this;
if (_local1._parent._surveyFeedback) {
return(_local1._parent._surveyFeedback);
}
return(_local1._surveyFeedback);
}
function get timeoutFeedback() {
var _local1 = this;
if (_local1._parent._timeoutFeedback) {
return(_local1._parent._timeoutFeedback);
}
return(_local1._timeoutFeedback);
}
function get numQuestionAttemptsAllowed() {
if (_numQuestionAttemptsAllowed > 0) {
return(_numQuestionAttemptsAllowed);
}
}
function set numQuestionAttemptsAllowed(numAllowed) {
_numQuestionAttemptsAllowed = numAllowed;
//return(numQuestionAttemptsAllowed);
}
function get showingModalFeedback() {
return(_lastFeedbackShown && (_lastFeedbackShown.isModal));
}
function get chosenAnswerFeedback() {
var _local1 = this;
for (var _local2 in _local1._answers) {
if (_local1._answers[_local2].feedback && (_local1._answers[_local2].answered)) {
return(_local1._answers[_local2].feedback);
}
}
return(undefined);
}
function get chosenAnswerRetryFeedback() {
var _local1 = this;
for (var _local2 in _local1._answers) {
if (_local1._answers[_local2].retryFeedback && (_local1._answers[_local2].answered)) {
return(_local1._answers[_local2].retryFeedback);
}
}
return(undefined);
}
function get state() {
return(_state);
}
function set state(newState) {
_state = newState;
//return(state);
}
function get quizController() {
return(_quizController);
}
function set quizController(qc) {
_quizController = qc;
//return(quizController);
}
function get inReviewMode() {
return(_inReviewMode);
}
function get eachAnswerIsSeparateInteraction() {
return(_eachAnswerIsSeparateInteraction);
}
function set eachAnswerIsSeparateInteraction(theBool) {
_eachAnswerIsSeparateInteraction = theBool;
//return(eachAnswerIsSeparateInteraction);
}
function get previousQuestionScore() {
return(_previousQuestionScore);
}
function set previousQuestionScore(qs) {
_previousQuestionScore = qs;
//return(previousQuestionScore);
}
function init() {
var _local1 = this;
_local1._answers = [];
_local1.__set__state("init");
_local1._questionScore = new MMQuizClasses.QuestionScore();
super.init();
_local1.tabEnabled = false;
_local1.tabChildren = true;
_local1.focusEnabled = true;
if (_local1.useHint) {
_local1.doLater(_local1, "showHint");
}
}
function showHint() {
var _local1 = this;
if (_local1.__get__hint() && (_local1.__get__state() != "ended")) {
_local1.hint.visible = true;
_local1.dispatchEvent({type:"showHint", target:_local1});
}
}
function hideHint() {
var _local1 = this;
if (_local1.__get__hint()) {
_local1.hint.visible = false;
_local1.dispatchEvent({type:"hideHint", target:_local1});
}
}
function autoJudge() {
var _local1 = this;
_local1.__set__numTries(_local1.__get__numQuestionAttemptsAllowed() - 1);
_local1.judge(true, true);
}
function updateTimerProgress() {
var _local1 = this;
if (_local1._timerBar) {
var currentTime = new Date();
var startTime = _local1.questionScore.startTime;
var _local3 = _local1.timeLimitMSecs - (currentTime.getTime() - startTime.getTime());
var _local2 = new Date();
_local2.setTime(_local3);
_local1._timerBar.updateProgress(_local2, _local3 / _local1.timeLimitMSecs);
}
}
function enableAnswers() {
var _local2 = this;
for (var _local3 in _local2._answers) {
var _local1 = _local2._answers[_local3];
_local1.enabled = true;
_local1.clearAnswer();
}
}
function disableAnswers() {
var _local2 = this;
for (var _local3 in _local2._answers) {
var _local1 = _local2._answers[_local3];
_local1.enabled = false;
}
}
function setAnswerInteractionIDs() {
var _local1 = this;
if (_local1.__get__eachAnswerIsSeparateInteraction()) {
for (var _local3 in _local1._answers) {
var _local2 = _local1._answers[_local3];
_local2.objectiveID = _local1.questionScore.objectiveID;
_local2.interactionID = _local1.questionScore.interactionID.concat("_", String(_local3));
}
}
}
function resetPreviousAnswers() {
var _local1 = this;
_local1.setAnswerInteractionIDs();
if (_local1._previousQuestionScore && (_local1.__get__state() == "playing")) {
for (var i in _local1._previousQuestionScore.__get__answerScores()) {
var _local3 = _local1._previousQuestionScore.answerScores[i];
for (var j in _local1._answers) {
var _local2 = _local1._answers[j];
if (_local2.answerID == _local3.__get__answerID()) {
_local2.setFromAnswerScore(_local3);
}
}
}
_local1.__set__numTries(_local1._previousQuestionScore.numTries);
_local1.questionScore.wasJudged = _local1._previousQuestionScore.wasJudged;
_local1.questionScore.startTime = _local1._previousQuestionScore.startTime;
_local1.questionScore.weighting = _local1._previousQuestionScore.weighting;
} else {
_local1.questionScore.questionNumInQuiz = _local1.questionNumInQuiz;
}
if (_local1.__get__numTries() == 0) {
if (_local1._submitButton != undefined) {
_local1._submitButton.enabled = true;
_local1._submitButton.phase = "up";
_local1._submitButton.refresh();
}
if (_local1._clearButton != undefined) {
_local1._clearButton.enabled = true;
_local1._clearButton.phase = "up";
_local1._clearButton.refresh();
}
_local1.enableAnswers();
}
if (_local1._inReviewMode) {
_local1.disableAnswers();
if (_local1._submitButton != undefined) {
_local1._submitButton.enabled = false;
}
if (_local1._clearButton != undefined) {
_local1._clearButton.enabled = false;
}
}
_local1._startingQuestion = false;
}
function updateQuizProgressIndicator() {
var _local1 = this;
if (((_local1.__get__state() == "playing") && (_local1.quizController.quizProgressIndicator)) && (_local1 == _local1.quizController.firstQuestionOnCurrentSlide)) {
_local1.quizController.quizProgressIndicator.questionNum = 1 + _local1.__get__questionNumInQuiz();
_local1.quizController.quizProgressIndicator.numQuestions = _local1.quizController.numQuestions;
}
}
function setAccessibilityNone(o) {
var _local1 = o;
if (_local1) {
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = true;
_local1._accProps.forceSimple = true;
_local1._accProps.name = "";
_local1.tabEnabled = false;
_local1.tabChildren = false;
_local1.focusEnabled = false;
_local1.tabIndex = undefined;
}
}
function setChildAccessibilityNone(o) {
var _local1 = o;
var _local2 = this;
for (var _local3 in _local1) {
_local2.setAccessibilityNone(_local1[_local3]);
}
}
function setAccessibilityNonLeafNode(o, setChildNone) {
var _local1 = o;
if (setChildNone) {
setChildAccessibilityNone(_local1);
}
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = false;
_local1._accProps.name = "";
_local1.tabEnabled = false;
_local1.tabIndex = _curTabIndex++;
_local1.tabChildren = true;
_local1.focusEnabled = false;
}
function setAccessibilityLeafNode(o, theName) {
var _local1 = o;
setChildAccessibilityNone(_local1);
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = true;
_local1._accProps.name = theName;
_local1.tabChildren = false;
_local1.tabIndex = _curTabIndex++;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
}
function setAccessibilityTextInput(o, theName) {
var _local1 = o;
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = true;
_local1._accProps.name = theName;
_local1.tabEnabled = false;
_local1.tabChildren = true;
_local1.label.tabEnabled = true;
_local1.label.tabChildren = false;
_local1.label.tabIndex = _curTabIndex++;
_local1.label.focusEnabled = true;
}
function setAccessibilityComboBox(o, theName) {
setAccessibilityNonLeafNode(o, false);
}
function setMatchingAccessibility() {
var _local3 = this;
var _local1 = null;
var ans;
var me = _local3;
_local3.setAccessibilityLeafNode(me._col1TextMC, me._col1TextMC._accText);
var _local2;
_local2 = 0;
while (_local2 < 9) {
_local1 = me["drag" + _local2];
if (_local1._name.length > 0) {
_local3.setAccessibilityNonLeafNode(_local1, true);
_local3.setAccessibilityTextInput(_local1._choiceEntry, _local1._accText);
}
_local2++;
}
_local3.setAccessibilityLeafNode(me.col2TextMC, me.col2TextMC._accText);
_local2 = 0;
while (_local2 < 9) {
_local1 = me["choice" + _local2];
if (_local1._name.length > 0) {
_local1._focusrect = true;
_local3.setAccessibilityLeafNode(_local1, _local1._accText);
}
_local2++;
}
}
function setMultipleChoiceAccessibility() {
var _local2 = null;
var _local3 = this;
MMQuizClasses.MultipleChoiceAnswerAccImpl.enableAccessibility();
MMQuizClasses.MultipleChoiceMultipleAnswerAccImpl.enableAccessibility();
var _local1 = 0;
while (_local1 < 9) {
_local2 = _local3[("answer_" + _local1) + "_mc"];
if (_local2._name.length > 0) {
setAccessibilityLeafNode(_local2, _local2._accText);
}
_local1++;
}
}
function setFillInAccessibility() {
var _local3 = this;
var _local1 = null;
var ans;
mx.accessibility.ComboBoxAccImpl.enableAccessibility();
_local1 = null;
var me = _local3;
var thePhrase = me._completionPhraseMC;
if (thePhrase._name.length > 0) {
_local3.setAccessibilityLeafNode(thePhrase, thePhrase._accText);
}
var _local2 = 0;
while (_local2 < 9) {
_local1 = me[("answer_" + _local2) + "_mc"];
if (_local1._name.length > 0) {
_local3.setAccessibilityNonLeafNode(_local1, true);
if (_local1._textInput) {
_local3.setAccessibilityTextInput(_local1._textInput, _local1._accText);
} else if (_local1._comboBox) {
_local3.setAccessibilityComboBox(_local1._comboBox, _local1._accText);
}
}
_local2++;
}
}
function setLikertAccessibility() {
var _local2 = null;
var _local3 = null;
var me = this;
var i = 0;
while (i < 9) {
_local2 = me[("answer_" + i) + "_mc"];
if (_local2._name.length > 0) {
setAccessibilityNonLeafNode(_local2, true);
_local2._accProps.name = _local2._accText;
var _local1 = 1;
while (_local1 < 10) {
var k = (_local1 - 1);
_local3 = _local2["radioButton_mc" + _local1];
if (_local3 != undefined) {
setAccessibilityLeafNode(_local3, _local2.allAnswers[k]);
}
_local1++;
}
}
i++;
}
}
function setAnswersAccessibility() {
var _local1 = this;
switch (_local1._questionScore.__get__interactionType()) {
case "true-false" :
case "choice" :
_local1.setMultipleChoiceAccessibility();
return;
case "likert" :
_local1.setLikertAccessibility();
return;
case "fill-in" :
case "long-fill-in" :
_local1.setFillInAccessibility();
return;
case "matching" :
_local1.setMatchingAccessibility();
}
}
static function compareButtonTabOrder(elt1, elt2) {
var _local1 = elt1._parent.getBounds(elt1);
var _local2 = elt2._parent.getBounds(elt2);
if ((_local1.ymin + 10) < _local2.ymin) {
return(1);
}
if ((_local2.ymin + 10) < _local1.ymin) {
return(-1);
}
if (_local1.xmin < _local2.xmin) {
return(1);
}
if (_local2.xmin < _local1.xmin) {
return(-1);
}
return(0);
}
function setButtonsAccessibility() {
var me = this;
var _local2;
mx.accessibility.ButtonAccImpl.enableAccessibility();
var _local3 = [];
if (me._clearbutton) {
_local3.push(me._clearbutton);
}
if (me._backbutton) {
_local3.push(me._backbutton);
}
if (me._nextbutton) {
_local3.push(me._nextbutton);
}
if (me._submitbutton) {
_local3.push(me._submitbutton);
}
_local3.sort(compareButtonTabOrder);
_local2 = 0;
while (_local2 < _local3.length) {
var _local1 = _local3[_local2];
if ((_local1.className == "SubmitButton") || (_local1.className == "ClearButton")) {
setAccessibilityLeafNode(_local1, _local1._accText);
} else {
setAccessibilityNonLeafNode(_local1, true);
setAccessibilityLeafNode(_local1._butIcon, _local1._accText);
}
_local2++;
}
}
function setPlaybarButtonAccessibility(b) {
var _local1 = b;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = true;
_local1.tabIndex = _curTabIndex++;
_local1.focusEnabled = true;
_local1.tabChildren = false;
}
function setPlaybarAccessibility() {
var _local2 = this;
var _local1 = _local2._parent._parent.playbar_mc;
if (_local1) {
_local2.setAccessibilityNonLeafNode(_local1, false);
_local2.setAccessibilityNone(_local1.progressbar_mc);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Rewind2);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Back3);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Play4);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Pause5);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Forward6);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Exit7);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Information8);
}
}
function setProgressAccessibility() {
var _local1 = quizController.playbackController.currentSlideContainer._progressMC;
if (_local1) {
setAccessibilityLeafNode(_local1, _local1._accText);
}
}
function setDocAccessibility() {
var _local1 = _parent._parent;
setChildAccessibilityNone(_local1);
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = false;
_local1._accProps.name = "";
_local1.tabEnabled = false;
_local1.tabChildren = true;
_local1.focusEnabled = false;
}
function answersOverridesAccessibility() {
var _local2 = this;
for (var _local3 in _local2._answers) {
var _local1 = _local2._answers[_local3];
if ((_local1.overrideAccessibility == undefined) || (_local1.overrideAccessibility == false)) {
return(false);
}
}
return(true);
}
function setReviewFeedbackAccessibility() {
var _local1 = this;
if (_local1._inReviewMode) {
}
}
function setAccessibility() {
var _local1 = this;
if (_local1.answersOverridesAccessibility()) {
} else {
_local1._curTabIndex = 1;
var _local2 = _local1;
_local1.setDocAccessibility();
_local1.setAccessibilityNonLeafNode(_local1.quizController.playbackController.currentSlideContainer, true);
_local1.setAccessibilityNonLeafNode(_local1, false);
_local1.setAccessibilityLeafNode(_local2._titleMC, _local2._titleMC._accText);
_local1.setAccessibilityLeafNode(_local2._questionTextMC, _local2._questionTextMC._accText);
_local1.setAnswersAccessibility();
_local1.setButtonsAccessibility();
_local1.setPlaybarAccessibility();
_local1.setProgressAccessibility();
_local1.setReviewFeedbackAccessibility();
Accessibility.updateProperties();
}
}
function startQuestion(revMode, prevQuestionScore) {
var _local1 = this;
var _local2 = prevQuestionScore;
if ((_local1._state == "init") || (_local1.__get__state() == "ended")) {
_local1._startingQuestion = true;
_local1.__set__state("playing");
_local1._inReviewMode = revMode;
if (!_local1._questionScore) {
_local1._questionScore = new MMQuizClasses.QuestionScore();
}
_local1._questionScore.__set__questionNumInQuiz(_local1.questionNumInQuiz);
_local1.doLater(_local1, "setAccessibility");
if (_local2) {
_local1._numTries = _local2.numTries;
} else {
_local1._numTries = 0;
}
if ((_local1.timeLimitMSecs > 0) && (!_local1._inReviewMode)) {
if (_local1._timerBar) {
var _local3 = new Date();
_local3.setTime(_local1.timeLimitMSecs);
_local1._timerBar.updateProgress(_local3, 1);
_local1._timerProgressID = setInterval(function (question) {
question.updateTimerProgress();
}, 250, _local1);
}
_local1._timerID = setInterval(function (question) {
question.autoJudge();
}, _local1.timeLimitMSecs, _local1);
}
_local1.dispatchEvent({type:"questionStarted", target:_local1});
_local1._previousQuestionScore = _local2;
if (_local1._inReviewMode) {
if (_local1._reviewFeedback) {
if (_local2 && (_local2.__get__numTries() > 0)) {
_local1._reviewFeedback.questionScore = _local2;
_local1._reviewFeedback.correctAnswersAsString = _local2.correctAnswersForReview;
_local1._reviewFeedback.chosenAnswersAsString = _local2.chosenAnswersForReview;
_local1._reviewFeedback.answeredCorrectly = _local2.answeredCorrectly;
_local1._reviewFeedback.answersIncomplete = _local2.answersIncomplete;
} else {
_local1._reviewFeedback.answersIncomplete = true;
}
_local1._reviewFeedback.showFeedbackAndDoAction();
}
} else if (!_local1._previousQuestionScore) {
var currentTime = new Date();
_local1._questionScore.__set__startTime(currentTime);
}
if (!_local1._inReviewMode) {
_local1._reviewFeedback.__set__visible(false);
}
_local1.doLater(_local1, "resetPreviousAnswers");
_local1.doLater(_local1, "updateQuizProgressIndicator");
}
}
function pauseQuestion() {
var _local1 = this;
if (_local1._state == "playing") {
_local1.__set__state("paused");
if (_local1._timerID) {
clearInterval(_local1._timerID);
}
if (_local1._timerProgressID) {
clearInterval(_local1._timerProgressID);
}
var _local2 = new Date();
_local1._timeBeforePause = _local1._questionScore.startTime.getMilliseconds() - _local2.getMilliseconds();
_local1.questionScore.pausedMsecs = _local1.questionScore.pausedMsecs + _local1._timeBeforePause;
_local1.timeLimitMSecs = _local1.timeLimitMSecs - _local1._timeBeforePause;
_local1._timeBeforePause = 0;
_local1.dispatchEvent({type:"questionPaused", target:_local1});
}
}
function resumeQuestion() {
var _local1 = this;
if (_local1._state == "paused") {
_local1.__set__state("playing");
if ((!_local1._inReviewMode) && (_local1.timeLimitMSecs > 0)) {
_local1._timerID = setInterval(function (question) {
question.autoJudge();
}, _local1.timeLimitMSecs, _local1);
if (_local1._timerBar) {
var _local2 = new Date();
_local2.setTime(_local1.timeLimitMSecs);
_local1._timerBar.updateProgress(_local2, 1);
_local1._timerProgressID = setInterval(function (question) {
question.updateTimerProgress();
}, 250, _local1);
}
}
_local1.dispatchEvent({type:"questionResumed", target:_local1});
}
}
function endQuestion(wasJudged) {
var _local1 = this;
if (_local1._startingQuestion) {
} else if ((_local1._state == "playing") || (_local1._state == "paused")) {
_local1._state = "ended";
if (_local1._timerID) {
clearInterval(_local1._timerID);
}
if (_local1._timerProgressID) {
clearInterval(_local1._timerProgressID);
}
var currentTime = new Date();
_local1._questionScore.__set__endTime(currentTime);
if (_local1.__get__numTries() > 0) {
_local1._questionScore.__set__answerScores([]);
}
for (var ans in _local1._answers) {
var _local2 = _local1._answers[ans].answerScore.copy();
if ((_local2.__get__answerID() != undefined) && (_local2.answerID.length > 0)) {
_local1._questionScore.answerScores.push(_local2);
}
}
_local1.questionScore.answersIncomplete = _local1.answersIncomplete;
_local1.questionScore.answeredCorrectly = _local1.answeredCorrectly;
if (wasJudged) {
_local1.questionScore.wasJudged = wasJudged;
} else if (_local1.__get__previousQuestionScore()) {
_local1.questionScore.wasJudged = _local1.previousQuestionScore.wasJudged;
} else {
_local1.questionScore.wasJudged = false;
}
_local1.questionScore.slideNum = _local1.slide.slideNum;
_local1.dispatchEvent({type:"questionEnded", target:_local1});
if (_local1.__get__quizController()) {
_local1.quizController.saveQuestionScore(_local1);
}
if (wasJudged && (_local1.isTracked)) {
if (_local1.__get__eachAnswerIsSeparateInteraction()) {
for (var ans in _local1._answers) {
var _local3 = _local1._answers[ans].getQuestionScore();
if (_local3) {
_local1.quizController.sendInteractionData(_local3);
}
}
} else {
_local1.quizController.sendInteractionData(_local1.quizController.getQuestionScore(_local1.__get__questionNumInQuiz()));
}
}
if (wasJudged && (_local1.quizController.playbackController.sendCourseDataWithInteractionData)) {
_local1.quizController.playbackController.sendCourseData(false);
}
}
}
function showFeedbackAndDoAction(feedback) {
var _local1 = this;
_local1.hideLastFeedback(true);
_local1.dispatchEvent({type:"showFeedback", target:_local1});
_local1._lastFeedbackShown = feedback;
feedback.showFeedbackAndDoAction();
}
function hideLastFeedback(doAction) {
var _local1 = this;
_local1.dispatchEvent({type:"hideFeedback", target:_local1._lastFeedbackShown});
_local1._lastFeedbackShown.hideFeedback(doAction);
_local1._lastFeedbackShown = null;
_local1.hideHint();
_local1.setAccessibility();
}
function getFeedbackToShow(treatIncompleteAsIncorrect, showTimeoutFeedback) {
var _local1 = this;
if (showTimeoutFeedback && (_local1.__get__timeoutFeedback())) {
return(_local1.__get__timeoutFeedback());
}
if ((_local1.__get__answersIncomplete() && (!treatIncompleteAsIncorrect)) && (_local1.__get__incompleteFeedback())) {
return(_local1.__get__incompleteFeedback());
}
if ((_local1.__get__numTries() < _local1.__get__numQuestionAttemptsAllowed()) && (_local1.__get__chosenAnswerRetryFeedback())) {
return(_local1.__get__chosenAnswerRetryFeedback());
}
if (_local1.__get__chosenAnswerFeedback()) {
return(_local1.__get__chosenAnswerFeedback());
}
if (_local1.__get__answeredCorrectly()) {
return(_local1.__get__correctFeedback());
}
if (_local1.__get__retryFeedback() && (_local1.__get__numTries() < _local1.__get__numQuestionAttemptsAllowed())) {
return(_local1.__get__retryFeedback());
}
return(_local1.__get__incorrectFeedback());
}
function judge(treatIncompleteAsIncorrect, showTimeoutFeedback) {
var _local1 = this;
_local1.hideLastFeedback(false);
if (_local1.isSurvey) {
if (_local1.__get__answersIncomplete()) {
if (_local1.__get__incompleteFeedback()) {
_local1.showFeedbackAndDoAction(_local1.__get__incompleteFeedback());
} else if (_local1.__get__surveyFeedback()) {
_local1.showFeedbackAndDoAction(_local1.__get__surveyFeedback());
} else {
_local1.quizController.doDefaultAction(_local1);
}
} else {
_local1.__set__numTries(_local1.__get__numTries() + 1);
_local1.endQuestion(true);
if (_local1.__get__surveyFeedback()) {
_local1.showFeedbackAndDoAction(_local1.__get__surveyFeedback());
} else {
_local1.quizController.doDefaultAction(_local1);
}
}
} else if (_local1.__get__numTries() < _local1._numQuestionAttemptsAllowed) {
_local1.dispatchEvent({type:"judge", target:_local1});
if ((_local1.__get__answersIncomplete() && (!treatIncompleteAsIncorrect)) && (_local1.__get__incompleteFeedback())) {
_local1.showFeedbackAndDoAction(_local1.__get__incompleteFeedback());
} else {
_local1.__set__numTries(_local1.__get__numTries() + 1);
if ((_local1.__get__numTries() >= _local1.__get__numQuestionAttemptsAllowed()) || (_local1.__get__answeredCorrectly())) {
_local1.endQuestion(true);
}
var _local2 = _local1.getFeedbackToShow(treatIncompleteAsIncorrect, showTimeoutFeedback);
if (_local2) {
_local1.showFeedbackAndDoAction(_local2);
} else if (_local1.__get__quizController()) {
_local1.quizController.doDefaultAction(_local1);
}
}
}
}
function registerAnswer(ans) {
_answers.push(ans);
}
function registerSubmitButton(theButton) {
_submitButton = theButton;
}
function registerClearButton(theButton) {
_clearButton = theButton;
}
function clearAnswers() {
var _local1 = this;
if (_local1.__get__numTries() < _local1._numQuestionAttemptsAllowed) {
for (var _local2 in _local1._answers) {
_local1._answers[_local2].clearAnswer();
}
}
}
function leaveSlide() {
dispatchEvent({type:"leaveSlide", target:this});
}
static var symbolName = "Question";
static var symbolOwner = Object(MMQuizClasses.Question);
var className = "Question";
var isTracked = true;
var isSurvey = false;
var useHint = false;
var questionText = "";
var timeLimitMSecs = 0;
var mustAnswerAll = false;
var _numQuestionAttemptsAllowed = 1;
var _lastFeedbackShown = null;
var _timeBeforePause = 0;
var _correctFeedback = null;
var _incorrectFeedback = null;
var _incompleteFeedback = null;
var _retryFeedback = null;
var _surveyFeedback = null;
var _timeoutFeedback = null;
var _hint = null;
var _reviewFeedback = null;
var _timerBar = null;
var _slide = null;
var _questionNumInQuiz = -1;
var _quizController = null;
var _previousQuestionScore = null;
var _inReviewMode = false;
var _eachAnswerIsSeparateInteraction = false;
var _numTries = 0;
var _curTabIndex = 0;
var _startingQuestion = false;
}
Symbol 32 MovieClip [__Packages.MMQuizClasses.Feedback] Frame 0
class MMQuizClasses.Feedback extends mx.core.UIComponent
{
var _parent;
function Feedback () {
super();
}
function get question() {
var _local1 = _parent;
while (_local1) {
if (_local1.className == "Question") {
return(_local1);
}
if ((_local1._question.className = "Question")) {
return(_local1._question);
}
_local1 = _local1._parent;
}
return(null);
}
function init() {
var _local1 = this;
super.init();
_local1.__set__visible(false);
_local1.focusEnabled = true;
_local1.tabEnabled = false;
_local1.setHitArea();
}
function size(Void) {
super.size();
}
function setHitArea() {
var _local2 = this;
if (_local2.hitArea_mc == undefined) {
_local2.createEmptyObject("hitArea_mc", 100);
}
var _local3 = _local2.getBounds(_local2);
var _local1 = _local2.hitArea_mc;
_local1.clear();
_local1._x = _local3.xMin;
_local1._y = _local3.yMin;
_local1.beginFill(16777215);
_local1.drawRect(0, 0, _local2._width, _local2._height);
_local1.endFill();
_local1._alpha = 0;
_local1.setVisible(true);
}
function doAction() {
var _local1 = this;
if (_local1.actionType == "default") {
_local1.question.quizController.doDefaultAction(_local1.__get__question());
} else {
_local1.question.quizController.doAction(_local1.actionType, _local1.actionArg1, _local1.actionArg2);
}
}
function showFeedbackAndDoAction() {
var _local1 = this;
if (_local1.onlyDoAction) {
_local1.doAction();
} else {
_local1.dispatchEvent({type:"feedbackStarted", target:_local1});
_local1.__set__visible(true);
if (_local1.isModal && (_local1.actionType != "")) {
_local1.showModally();
}
_local1.setAccessibility();
}
}
function hideFeedback(doAction) {
var _local1 = this;
if (_local1.__get__visible()) {
_local1.dispatchEvent({type:"feedbackFinished", target:_local1});
_local1.__set__visible(false);
if (_local1.isModal) {
_local1.hideModally();
}
if (doAction) {
_local1.doLater(_local1, "doAction");
}
}
}
function onPress() {
var _local1 = this;
super.onPress();
if (((_local1.__get__visible() && (_local1.isModal)) && (_local1.question.lastFeedbackShown == _local1)) && ((_local1.modalDismissClick == "anywhere") || (_local1.modalDismissClick == "onSelf"))) {
_local1.question.hideLastFeedback(true);
}
}
function mouseDownOutside(eventObject) {
var _local1 = this;
if (((_local1.__get__visible() && (_local1.isModal)) && (_local1.question.lastFeedbackShown == _local1)) && (_local1.modalDismissClick == "anywhere")) {
_local1.question.hideLastFeedback(true);
}
}
function onMouseDown(Void) {
var _local1 = this;
super.onMouseDown;
if ((_local1.question.showingModalFeedback && (_local1.question.lastFeedbackShown == _local1)) && (_local1.hitTest(_root._xmouse, _root._ymouse, false))) {
_local1.onPress();
}
}
function setAccessibility() {
var _local1 = this;
var _local2 = _local1;
_local1.question._curTabIndex = 1;
_local1.question.setAccessibilityLeafNode(_root, _local2._accText);
Accessibility.updateProperties();
}
function showModally() {
var _local2 = this;
Selection.setFocus(null);
var broadcastOutsideEvents;
var _local1;
broadcastOutsideEvents = _local2.modalDismissClick == "anywhere";
if (broadcastOutsideEvents) {
_local2.addEventListener("mouseDownOutside", _local2);
}
if (mx.managers.PopUpManager.mixins == undefined) {
mx.managers.PopUpManager.mixins = new mx.managers.PopUpManager();
}
var _local3;
_local3 = _local2;
_local3.setDepthTo(mx.managers.DepthManager.kTopmost);
_local3.popUp = true;
_local1 = _local2._parent;
while (_local1._parent != undefined) {
_local1 = _local1._parent;
}
if (_root.focusManager != undefined) {
_local2.createObject("FocusManager", "focusManager", -1);
}
mx.managers.PopUpManager.createModalWindow(_local1, _local2, broadcastOutsideEvents);
Key.addListener(_local2);
Selection.setFocus(null);
_local3 = _local2;
if (_local3.modalWindow != undefined) {
_local3.modalWindow.useHandCursor = true;
}
}
function onKeyDown(eventObject) {
if ((Key.getCode() == 32) || (Key.getCode() == 13)) {
onPress();
Key.removeListener(this);
}
}
function hideModally() {
var _local2 = this;
var _local3 = _local2;
if (_local3.modalWindow != undefined) {
var _local1 = _local2._parent;
while (_local1._parent != undefined) {
_local1 = _local1._parent;
}
_local1.destroyObject(_local3.modalWindow._name);
}
_local2.__set__visible(false);
if (_local2.modalDismissClick == "anywhere") {
_local2.removeEventListener("mouseDownOutside", _local2);
}
Selection.setFocus(null);
}
function keyDown(e) {
if (e.code == 32) {
onPress();
}
}
static var symbolName = "Feedback";
static var symbolOwner = Object(MMQuizClasses.Feedback);
var className = "Feedback";
var isModal = true;
var onlyDoAction = false;
var actionType = "default";
var actionArg1 = "";
var actionArg2 = "";
var modalDismissClick = "anywhere";
}
Symbol 33 MovieClip [__Packages.mx.managers.PopUpManager] Frame 0
class mx.managers.PopUpManager
{
var setSize, move, modalWindow, _visible;
function PopUpManager () {
}
static function createModalWindow(parent, o, broadcastOutsideEvents) {
var _local2 = o;
var _local1 = parent.createChildAtDepth("Modal", mx.managers.DepthManager.kTopmost);
_local1.setDepthBelow(_local2);
_local2.modalID = _local1._name;
_local1._alpha = _global.style.modalTransparency;
_local1.tabEnabled = false;
if (broadcastOutsideEvents) {
_local1.onPress = mixins.onPress;
} else {
_local1.onPress = mixins.nullFunction;
}
_local1.onRelease = mixins.nullFunction;
_local1.resize = mixins.resize;
mx.managers.SystemManager.init();
mx.managers.SystemManager.addEventListener("resize", _local1);
_local1.resize();
_local1.useHandCursor = false;
_local1.popUp = _local2;
_local2.modalWindow = _local1;
_local2.deletePopUp = mixins.deletePopUp;
_local2.setVisible = mixins.setVisible;
_local2.getVisible = mixins.getVisible;
_local2.addProperty("visible", _local2.getVisible, _local2.setVisible);
}
static function createPopUp(parent, className, modal, initobj, broadcastOutsideEvents) {
var _local2 = parent;
if (mixins == undefined) {
mixins = new mx.managers.PopUpManager();
}
if (broadcastOutsideEvents == undefined) {
broadcastOutsideEvents = false;
}
var localRoot = _local2._root;
if (localRoot == undefined) {
localRoot = _root;
}
while (_local2 != localRoot) {
_local2 = _local2._parent;
}
initobj.popUp = true;
var _local3 = _local2.createClassChildAtDepth(className, ((broadcastOutsideEvents || (modal)) ? (mx.managers.DepthManager.kTopmost) : (mx.managers.DepthManager.kTop)), initobj);
var _local1 = _root;
var useFocusManager = (_local1.focusManager != undefined);
while (_local1._parent != undefined) {
_local1 = _local1._parent._root;
if (_local1.focusManager != undefined) {
useFocusManager = true;
break;
}
}
if (useFocusManager) {
_local3.createObject("FocusManager", "focusManager", -1);
if (_local3._visible == false) {
mx.managers.SystemManager.deactivate(_local3);
}
}
if (modal) {
createModalWindow(_local2, _local3, broadcastOutsideEvents);
} else {
if (broadcastOutsideEvents) {
_local3.mouseListener = new Object();
_local3.mouseListener.owner = _local3;
_local3.mouseListener.onMouseDown = mixins.onMouseDown;
Mouse.addListener(_local3.mouseListener);
}
_local3.deletePopUp = mixins.deletePopUp;
}
return(_local3);
}
function onPress(Void) {
var _local2 = this;
var _local1 = _local2.popUp._root;
if (_local1 == undefined) {
_local1 = _root;
}
if (_local2.popUp.hitTest(_local1._xmouse, _local1._ymouse, false)) {
} else {
_local2.popUp.dispatchEvent({type:"mouseDownOutside"});
}
}
function nullFunction(Void) {
}
function resize(Void) {
var _local1 = mx.managers.SystemManager.__get__screen();
setSize(_local1.width, _local1.height);
move(_local1.x, _local1.y);
}
function deletePopUp(Void) {
var _local1 = this;
if (_local1.modalWindow != undefined) {
_local1._parent.destroyObject(_local1.modalWindow._name);
}
_local1._parent.destroyObject(_local1._name);
}
function setVisible(v, noEvent) {
super.setVisible(v, noEvent);
modalWindow._visible = v;
}
function getVisible(Void) {
return(_visible);
}
function onMouseDown(Void) {
var _local3 = this;
var _local1 = _local3.owner._root;
if (_local1 == undefined) {
_local1 = _root;
}
var _local2 = new Object();
_local2.x = _local1._xmouse;
_local2.y = _local1._ymouse;
_local1.localToGlobal(_local2);
if (_local3.owner.hitTest(_local2.x, _local2.y, false)) {
} else {
_local3.owner.mouseDownOutsideHandler(_local3.owner);
}
}
static var version = "2.0.1.78";
static var mixins = undefined;
}
Symbol 34 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager
{
var _parent, getDepth, swapDepths;
function DepthManager () {
var _local1 = _global;
var _local2 = this;
MovieClip.prototype.createClassChildAtDepth = _local2.createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = _local2.createChildAtDepth;
MovieClip.prototype.setDepthTo = _local2.setDepthTo;
MovieClip.prototype.setDepthAbove = _local2.setDepthAbove;
MovieClip.prototype.setDepthBelow = _local2.setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = _local2.findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = _local2.shuffleDepths;
MovieClip.prototype.getDepthByFlag = _local2.getDepthByFlag;
MovieClip.prototype.buildDepthTable = _local2.buildDepthTable;
_local1.ASSetPropFlags(MovieClip.prototype, "createClassChildAtDepth", 1);
_local1.ASSetPropFlags(MovieClip.prototype, "createChildAtDepth", 1);
_local1.ASSetPropFlags(MovieClip.prototype, "setDepthTo", 1);
_local1.ASSetPropFlags(MovieClip.prototype, "setDepthAbove", 1);
_local1.ASSetPropFlags(MovieClip.prototype, "setDepthBelow", 1);
_local1.ASSetPropFlags(MovieClip.prototype, "findNextAvailableDepth", 1);
_local1.ASSetPropFlags(MovieClip.prototype, "shuffleDepths", 1);
_local1.ASSetPropFlags(MovieClip.prototype, "getDepthByFlag", 1);
_local1.ASSetPropFlags(MovieClip.prototype, "buildDepthTable", 1);
}
static function sortFunction(a, b) {
if (a.getDepth() > b.getDepth()) {
return(1);
}
return(-1);
}
static function test(depth) {
if (depth == reservedDepth) {
return(false);
}
return(true);
}
static function createClassObjectAtDepth(className, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createClassChildAtDepth(className, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createClassChildAtDepth(className, kTop, initObj);
break;
}
return(_local1);
return(_local1);
}
static function createObjectAtDepth(linkageName, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createChildAtDepth(linkageName, kTop, initObj);
break;
}
return(_local1);
return(_local1);
}
function createClassChildAtDepth(className, depthFlag, initObj) {
var _local1 = this;
if (_local1._childCounter == undefined) {
_local1._childCounter = 0;
}
var _local3 = _local1.buildDepthTable();
var _local2 = _local1.getDepthByFlag(depthFlag, _local3);
var shuffleDir = "down";
if (depthFlag == kBottom) {
shuffleDir = "up";
}
var desiredDepth = undefined;
if (_local3[_local2] != undefined) {
desiredDepth = _local2;
_local2 = _local1.findNextAvailableDepth(_local2, _local3, shuffleDir);
}
var o = _local1.createClassObject(className, "depthChild" + (_local1._childCounter++), _local2, initObj);
if (desiredDepth != undefined) {
_local3[_local2] = o;
_local1.shuffleDepths(o, desiredDepth, _local3, shuffleDir);
}
if (depthFlag == kTopmost) {
o._topmost = true;
}
return(o);
}
function createChildAtDepth(linkageName, depthFlag, initObj) {
var _local1 = this;
if (_local1._childCounter == undefined) {
_local1._childCounter = 0;
}
var _local3 = _local1.buildDepthTable();
var _local2 = _local1.getDepthByFlag(depthFlag, _local3);
var shuffleDir = "down";
if (depthFlag == kBottom) {
shuffleDir = "up";
}
var desiredDepth = undefined;
if (_local3[_local2] != undefined) {
desiredDepth = _local2;
_local2 = _local1.findNextAvailableDepth(_local2, _local3, shuffleDir);
}
var o = _local1.createObject(linkageName, "depthChild" + (_local1._childCounter++), _local2, initObj);
if (desiredDepth != undefined) {
_local3[_local2] = o;
_local1.shuffleDepths(o, desiredDepth, _local3, shuffleDir);
}
if (depthFlag == kTopmost) {
o._topmost = true;
}
return(o);
}
function setDepthTo(depthFlag) {
var _local1 = this;
var _local2 = _local1._parent.buildDepthTable();
var _local3 = _local1._parent.getDepthByFlag(depthFlag, _local2);
if (_local2[_local3] != undefined) {
_local1.shuffleDepths(_local1, _local3, _local2, undefined);
} else {
_local1.swapDepths(_local3);
}
if (depthFlag == kTopmost) {
_local1._topmost = true;
} else {
delete _local1._topmost;
}
}
function setDepthAbove(targetInstance) {
var _local2 = this;
if (targetInstance._parent != _local2._parent) {
} else {
var _local1 = targetInstance.getDepth() + 1;
var _local3 = _local2._parent.buildDepthTable();
if ((_local3[_local1] != undefined) && (_local2.getDepth() < _local1)) {
_local1 = _local1 - 1;
}
if (_local1 > highestDepth) {
_local1 = highestDepth;
}
if (_local1 == highestDepth) {
_local2._parent.shuffleDepths(_local2, _local1, _local3, "down");
} else if (_local3[_local1] != undefined) {
_local2._parent.shuffleDepths(_local2, _local1, _local3, undefined);
} else {
_local2.swapDepths(_local1);
}
}
}
function setDepthBelow(targetInstance) {
if (targetInstance._parent != _parent) {
} else {
var targetDepth = (targetInstance.getDepth() - 1);
var _local2 = _parent.buildDepthTable();
if ((_local2[targetDepth] != undefined) && (getDepth() > targetDepth)) {
targetDepth = targetDepth + 1;
}
var _local3 = lowestDepth + numberOfAuthortimeLayers;
var i;
for (i in _local2) {
var _local1 = _local2[i];
if (_local1._parent != undefined) {
_local3 = Math.min(_local3, _local1.getDepth());
}
}
if (targetDepth < _local3) {
targetDepth = _local3;
}
if (targetDepth == _local3) {
_parent.shuffleDepths(this, targetDepth, _local2, "up");
} else if (_local2[targetDepth] != undefined) {
_parent.shuffleDepths(this, targetDepth, _local2, undefined);
} else {
swapDepths(targetDepth);
}
}
}
function findNextAvailableDepth(targetDepth, depthTable, direction) {
var _local3 = depthTable;
var highestAuthoringDepth = (lowestDepth + numberOfAuthortimeLayers);
if (targetDepth < highestAuthoringDepth) {
targetDepth = highestAuthoringDepth;
}
if (_local3[targetDepth] == undefined) {
return(targetDepth);
}
var _local2 = targetDepth;
var _local1 = targetDepth;
if (direction == "down") {
while (_local3[_local1] != undefined) {
_local1--;
}
return(_local1);
}
while (_local3[_local2] != undefined) {
_local2++;
}
return(_local2);
}
function shuffleDepths(subject, targetDepth, depthTable, direction) {
var _local2 = subject;
var lowestDepth = (lowestDepth + numberOfAuthortimeLayers);
var highestAuthoringDepth = lowestDepth;
var i;
for (i in depthTable) {
var x = depthTable[i];
if (x._parent != undefined) {
lowestDepth = Math.min(lowestDepth, x.getDepth());
}
}
if (direction == undefined) {
if (_local2.getDepth() > targetDepth) {
direction = "up";
} else {
direction = "down";
}
}
var _local1 = new Array();
for (i in depthTable) {
var x = depthTable[i];
if (x._parent != undefined) {
_local1.push(x);
}
}
_local1.sort(sortFunction);
if (direction == "up") {
var _local3;
var lastd;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.pop();
} while (_local3 != _local2);
do {
if (_local1.length <= 0) {
break;
}
lastd = _local2.getDepth();
_local3 = _local1.pop();
var d = _local3.getDepth();
if (lastd > (d + 1)) {
if (d >= 0) {
_local2.swapDepths(d + 1);
} else if ((lastd > highestAuthoringDepth) && (d < highestAuthoringDepth)) {
_local2.swapDepths(highestAuthoringDepth);
}
}
_local2.swapDepths(_local3);
} while (d != targetDepth);
} else if (direction == "down") {
var _local3;
var lastd;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.shift();
} while (_local3 != _local2);
do {
if (_local1.length <= 0) {
break;
}
lastd = _local3.getDepth();
_local3 = _local1.shift();
var d = _local3.getDepth();
if ((lastd < (d - 1)) && (d > 0)) {
_local2.swapDepths(d - 1);
}
_local2.swapDepths(_local3);
} while (d != targetDepth);
}
}
function getDepthByFlag(depthFlag, depthTable) {
var _local1 = depthTable;
var _local2 = 0;
if ((depthFlag == kTop) || (depthFlag == kNotopmost)) {
var lowestTopmost = 0;
var anyTopmost = false;
var j;
for (j in _local1) {
var i = _local1[j];
var _local3 = typeof(i);
if ((_local3 == "movieclip") || ((_local3 == "object") && (i.__getTextFormat != undefined))) {
if (i.getDepth() <= highestDepth) {
if (!i._topmost) {
_local2 = Math.max(_local2, i.getDepth());
} else if (!anyTopmost) {
lowestTopmost = i.getDepth();
anyTopmost = true;
} else {
lowestTopmost = Math.min(lowestTopmost, i.getDepth());
}
}
}
}
_local2 = _local2 + 20;
if (anyTopmost) {
if (_local2 >= lowestTopmost) {
_local2 = lowestTopmost - 1;
}
}
} else if (depthFlag == kBottom) {
var j;
for (j in _local1) {
var i = _local1[j];
var _local3 = typeof(i);
if ((_local3 == "movieclip") || ((_local3 == "object") && (i.__getTextFormat != undefined))) {
if (i.getDepth() <= highestDepth) {
_local2 = Math.min(_local2, i.getDepth());
}
}
}
_local2 = _local2 - 20;
} else if (depthFlag == kTopmost) {
var j;
for (j in _local1) {
var i = _local1[j];
var _local3 = typeof(i);
if ((_local3 == "movieclip") || ((_local3 == "object") && (i.__getTextFormat != undefined))) {
if (i.getDepth() <= highestDepth) {
_local2 = Math.max(_local2, i.getDepth());
}
}
}
_local2 = _local2 + 100;
}
if (_local2 >= highestDepth) {
_local2 = highestDepth;
}
var lowestDepth = (lowestDepth + numberOfAuthortimeLayers);
var i;
for (i in _local1) {
var x = _local1[i];
if (x._parent != undefined) {
lowestDepth = Math.min(lowestDepth, x.getDepth());
}
}
if (_local2 <= lowestDepth) {
_local2 = lowestDepth;
}
return(_local2);
}
function buildDepthTable(Void) {
var _local3 = this;
var depthTable = new Array();
var j;
for (j in _local3) {
var _local1 = _local3[j];
var _local2 = typeof(_local1);
if ((_local2 == "movieclip") || ((_local2 == "object") && (_local1.__getTextFormat != undefined))) {
if (_local1._parent == _local3) {
depthTable[_local1.getDepth()] = _local1;
}
}
}
return(depthTable);
}
static var reservedDepth = 1048575;
static var highestDepth = 1048574;
static var lowestDepth = -16383;
static var numberOfAuthortimeLayers = 383;
static var kCursor = 101;
static var kTooltip = 102;
static var kTop = 201;
static var kBottom = 202;
static var kTopmost = 203;
static var kNotopmost = 204;
static var holder = _root.createEmptyMovieClip("reserved", reservedDepth);
static var __depthManager = new mx.managers.DepthManager();
}
Symbol 35 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager
{
static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent;
function SystemManager () {
}
static function init(Void) {
if (_initialized == false) {
_initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
_xAddEventListener = addEventListener;
addEventListener = __addEventListener;
_xRemoveEventListener = removeEventListener;
removeEventListener = __removeEventListener;
}
}
static function addFocusManager(f) {
form = f;
f.focusManager.activate();
}
static function removeFocusManager(f) {
}
static function onMouseDown(Void) {
var _local1 = form;
_local1.focusManager._onMouseDown();
}
static function onResize(Void) {
var w = Stage.width;
var h = Stage.height;
var m = _global.origWidth;
var n = _global.origHeight;
var _local1 = Stage.align;
var _local3 = (m - w) / 2;
var _local2 = (n - h) / 2;
if (_local1 == "T") {
_local2 = 0;
} else if (_local1 == "B") {
_local2 = n - h;
} else if (_local1 == "L") {
_local3 = 0;
} else if (_local1 == "R") {
_local3 = m - w;
} else if (_local1 == "LT") {
_local2 = 0;
_local3 = 0;
} else if (_local1 == "TR") {
_local2 = 0;
_local3 = m - w;
} else if (_local1 == "LB") {
_local2 = n - h;
_local3 = 0;
} else if (_local1 == "RB") {
_local2 = n - h;
_local3 = m - w;
}
if (__screen == undefined) {
__screen = new Object();
}
__screen.x = _local3;
__screen.y = _local2;
__screen.width = w;
__screen.height = h;
_root.focusManager.relocate();
dispatchEvent({type:"resize"});
}
static function get screen() {
init();
if (__screen == undefined) {
onResize();
}
return(__screen);
}
static var _initialized = false;
static var idleFrames = 0;
static var isMouseDown = false;
static var forms = new Array();
}
Symbol 36 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
var _local3 = queue;
if (_local3 != undefined) {
var l = _local3.length;
var _local1;
_local1 = 0;
while (_local1 < l) {
var _local2 = _local3[_local1];
if (_local2 == handler) {
_local3.splice(_local1, 1);
return;
}
_local1++;
}
}
}
static function initialize(object) {
var _local1 = object;
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
_local1.addEventListener = _fEventDispatcher.addEventListener;
_local1.removeEventListener = _fEventDispatcher.removeEventListener;
_local1.dispatchEvent = _fEventDispatcher.dispatchEvent;
_local1.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local2 = eventObj;
var queueName = ("__q_" + _local2.type);
var queue = queueObj[queueName];
if (queue != undefined) {
var i;
for (i in queue) {
var _local1 = queue[i];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(_local2);
}
if (_local1[_local2.type] != undefined) {
if (exceptions[_local2.type] == undefined) {
_local1[_local2.type](_local2);
}
}
} else {
_local1.apply(queueObj, [_local2]);
}
}
}
}
function dispatchEvent(eventObj) {
var _local1 = eventObj;
var _local2 = this;
if (_local1.target == undefined) {
_local1.target = _local2;
}
_local2[_local1.type + "Handler"](_local1);
_local2.dispatchQueue(_local2, _local1);
}
function addEventListener(event, handler) {
var _local2 = this;
var _local1 = "__q_" + event;
if (_local2[_local1] == undefined) {
_local2[_local1] = new Array();
}
_global.ASSetPropFlags(_local2, _local1, 1);
_removeEventListener(_local2[_local1], event, handler);
_local2[_local1].push(handler);
}
function removeEventListener(event, handler) {
var _local1 = "__q_" + event;
_removeEventListener(this[_local1], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1};
}
Symbol 37 MovieClip [__Packages.MMSlideClasses.IQuestionScore] Frame 0
interface MMSlideClasses.IQuestionScore{}
Symbol 38 MovieClip [__Packages.MMQuizClasses.QuestionScore] Frame 0
class MMQuizClasses.QuestionScore extends Object
{
var _answerScores, _slideNum, _startTime, _endTime, _interactionType, _objectiveID, _weighting, _wasJudged, _interactionID;
function QuestionScore () {
super();
_numTries = 0;
_answerScores = [];
}
function get slideNum() {
return(_slideNum);
}
function set slideNum(num) {
_slideNum = num;
//return(slideNum);
}
function get startTime() {
return(_startTime);
}
function set startTime(time) {
_startTime = time;
//return(startTime);
}
function get endTime() {
return(_endTime);
}
function set endTime(time) {
_endTime = time;
//return(endTime);
}
function get pausedMsecs() {
return(_pausedMsecs);
}
function set pausedMsecs(msecs) {
_pausedMsecs = msecs;
//return(pausedMsecs);
}
function get interactionType() {
return(_interactionType);
}
function set interactionType(theType) {
_interactionType = theType;
//return(interactionType);
}
function get objectiveID() {
return(_objectiveID);
}
function set objectiveID(id) {
_objectiveID = id;
//return(objectiveID);
}
function get questionNumInQuiz() {
return(_questionNumInQuiz);
}
function set questionNumInQuiz(num) {
_questionNumInQuiz = num;
//return(questionNumInQuiz);
}
function get latency() {
var _local2 = this;
var _local3;
var _local1;
_local3 = (_local2.endTime.getTime() - _local2.startTime.getTime()) - _local2.__get__pausedMsecs();
_local1 = _local3 / 1000;
return(_local1);
}
function get answerScores() {
return(_answerScores);
}
function set answerScores(scores) {
_answerScores = scores;
//return(answerScores);
}
function get answersIncomplete() {
return(_answersIncomplete);
}
function set answersIncomplete(incomplete) {
_answersIncomplete = incomplete;
//return(answersIncomplete);
}
function spacesToUnderscores(s) {
var _local3 = "";
var _local2 = 0;
while (_local2 < s.length) {
var _local1 = s.charAt(_local2);
if (_local1 == " ") {
_local1 = "_";
}
_local3 = _local3.concat(_local1);
_local2++;
}
return(_local3);
}
function answersAsString(whichProp, forReview) {
var _local3 = whichProp;
var result = "";
var _local2 = null;
var _local1;
var result = "";
var separator = ",";
for (var ans in answerScores) {
_local1 = "";
_local2 = answerScores[ans];
switch (_local2.__get__answerType()) {
case "MultipleChoiceAnswer" :
case "MultipleChoiceMultipleAnswer" :
if (_local2[_local3] == "1") {
if (interactionType == "true-false") {
if (_local2.__get__isTrueAnswer()) {
_local1 = "true";
} else {
_local1 = "false";
}
} else {
_local1 = _local2.answerID;
}
}
break;
case "LikertAnswer" :
_local1 = spacesToUnderscores(_local2[_local3]);
separator = ";";
break;
case "rdInteractionAnswer" :
case "FillInTheBlankAnswer" :
_local1 = _local2[_local3];
separator = ";";
break;
case "MatchAnswer" :
default :
if (forReview) {
if (_local2[_local3].length == 0) {
_local1 = " ";
} else {
_local1 = _local2[_local3];
}
} else {
_local1 = _local2.answerID;
_local1 = _local1.concat(".", _local2[_local3]);
}
}
if (_local1.length > 0) {
if (result.length > 0) {
result = result + separator;
}
result = result + _local1;
}
}
return(result);
}
function get correctAnswersAsString() {
return(answersAsString("correctAnswer", false));
}
function get chosenAnswersAsString() {
return(answersAsString("chosenAnswer", false));
}
function get correctAnswersForReview() {
return(answersAsString("correctAnswer", true));
}
function get chosenAnswersForReview() {
return(answersAsString("chosenAnswer", true));
}
function get answeredCorrectly() {
return(_answeredCorrectly);
}
function set answeredCorrectly(isCorrect) {
_answeredCorrectly = isCorrect;
//return(answeredCorrectly);
}
function get isCorrectAsString() {
if (answeredCorrectly) {
return("C");
}
return("W");
}
function get numTries() {
return(_numTries);
}
function set numTries(tries) {
_numTries = tries;
//return(numTries);
}
function get weighting() {
return(_weighting);
}
function set weighting(wt) {
_weighting = wt;
//return(weighting);
}
function addLeadingZero(n) {
var _local1 = n;
if (_local1 < 10) {
return("0" + String(_local1));
}
return(String(_local1));
}
function get latencyAsString() {
var _local1 = this;
var _local2 = (((_local1.addLeadingZero(Math.round(_local1.__get__latency() / 3600)) + ":") + _local1.addLeadingZero(Math.round((_local1.__get__latency() % 3600) / 60))) + ":") + _local1.addLeadingZero(Math.round(_local1.__get__latency()) % 60);
return(_local2);
}
function get latencyAsSeconds() {
return(latency);
}
function get curDateAsString() {
var _local1 = new Date();
var _local2 = (((addLeadingZero(_local1.getMonth() + 1) + "/") + addLeadingZero(_local1.getDate())) + "/") + _local1.getFullYear();
return(_local2);
}
function get curTimeAsString() {
var _local2 = this;
var _local1 = new Date();
var _local3 = (((_local2.addLeadingZero(_local1.getHours()) + ":") + _local2.addLeadingZero(_local1.getMinutes())) + ":") + _local2.addLeadingZero(_local1.getSeconds());
return(_local3);
}
function get curTimeAsSecondsSinceMidnight() {
var _local1 = new Date();
return(((_local1.getHours() * 3600) + (_local1.getMinutes() * 60)) + _local1.getSeconds());
}
function get score() {
var _local1 = this;
if (_local1.__get__answeredCorrectly() && (_local1.__get__wasJudged())) {
return(_local1.__get__weighting());
}
return(0);
}
function get wasJudged() {
return(_wasJudged);
}
function set wasJudged(judged) {
_wasJudged = judged;
//return(wasJudged);
}
function saveState(myState) {
var _local2 = this;
var _local3 = myState;
_local3.writeNumber(_local2._slideNum);
_local3.writeNumber(_local2._questionNumInQuiz);
_local3.writeNumber(_local2._startTime.getTime());
_local3.writeBoolean(_local2._wasJudged);
_local3.writeBoolean(_local2._answeredCorrectly);
_local3.writeBoolean(_local2._answersIncomplete);
_local3.writeNumber(_local2._numTries);
_local3.writeNumber(_local2._weighting);
_local3.writeNumber(_local2.answerScores.length);
var _local1 = 0;
while (_local1 < _local2.answerScores.length) {
_local3.writeString(_local2.answerScores[_local1].answerID);
_local3.writeString(_local2.answerScores[_local1].chosenAnswer);
_local3.writeString(_local2.answerScores[_local1].correctAnswer);
_local3.writeAnswerType(_local2.answerScores[_local1].answerType);
_local1++;
}
}
function restoreState(myState) {
var _local2 = myState;
_slideNum = _local2.readNumber();
_questionNumInQuiz = _local2.readNumber();
_startTime.setTime(_local2.readNumber());
_wasJudged = _local2.readBoolean();
_answeredCorrectly = _local2.readBoolean();
_answersIncomplete = _local2.readBoolean();
_numTries = _local2.readNumber();
_weighting = _local2.readNumber();
var numAnswerScores = _local2.readNumber();
var _local3 = 0;
while (_local3 < numAnswerScores) {
var _local1 = new MMQuizClasses.AnswerScore();
_local1.__set__answerID(_local2.readString());
_local1.__set__chosenAnswer(_local2.readString());
_local1.__set__correctAnswer(_local2.readString());
_local1.__set__answerType(_local2.readAnswerType());
answerScores.push(_local1);
_local3++;
}
}
function get interactionID() {
return(_interactionID);
}
function set interactionID(id) {
_interactionID = id;
//return(interactionID);
}
function getSlideNum() {
return(slideNum);
}
function setSlideNum(num) {
slideNum = (num);
}
function getStartTime() {
return(startTime);
}
function setStartTime(time) {
startTime = (time);
}
function getEndTime() {
return(endTime);
}
function setEndTime(time) {
endTime = (time);
}
function getInteractionType() {
return(interactionType);
}
function setInteractionType(intType) {
interactionType = (intType);
}
function getObjectiveID() {
return(objectiveID);
}
function setObjectiveID(id) {
objectiveID = (id);
}
function getInteractionID() {
return(interactionID);
}
function setInteractionID(id) {
interactionID = (id);
}
function getWeighting() {
return(weighting);
}
function setWeighting(wt) {
weighting = (wt);
}
function getAnswerScores() {
return(answerScores);
}
function setAnswerScores(scores) {
answerScores = (scores);
}
function getNumTries() {
return(numTries);
}
function setNumTries(num) {
numTries = (num);
}
function getAnswersIncomplete() {
return(answersIncomplete);
}
function setAnswersIncomplete(incomplete) {
answersIncomplete = (incomplete);
}
function getAnsweredCorrectly() {
return(answeredCorrectly);
}
function setAnsweredCorrectly(correct) {
answeredCorrectly = (correct);
}
function getPausedMsecs() {
return(pausedMsecs);
}
function setPausedMsecs(msecs) {
pausedMsecs = (msecs);
}
function getQuestionNumInQuiz() {
return(questionNumInQuiz);
}
function setQuestionNumInQuiz(num) {
questionNumInQuiz = (num);
}
function getWasJudged() {
return(wasJudged);
}
function setWasJudged(judged) {
wasJudged = (judged);
}
function resetScore() {
var _local1 = this;
_local1._answerScores = [];
_local1._numTries = 0;
_local1._startTime = null;
_local1._endTime = null;
_local1._answersIncomplete = false;
_local1._answeredCorrectly = false;
_local1._pausedMsecs = 0;
_local1._wasJudged = false;
}
var _numTries = 0;
var _answersIncomplete = true;
var _answeredCorrectly = false;
var _pausedMsecs = 0;
var _questionNumInQuiz = -1;
}
Symbol 39 MovieClip [__Packages.MMQuizClasses.AnswerScore] Frame 0
class MMQuizClasses.AnswerScore extends Object
{
var _answerType, _answerID, _chosenAnswer, _correctAnswer;
function AnswerScore () {
super();
}
function get answerType() {
return(_answerType);
}
function set answerType(theType) {
_answerType = theType;
//return(answerType);
}
function get answerID() {
return(_answerID);
}
function set answerID(theID) {
_answerID = theID;
//return(answerID);
}
function get chosenAnswer() {
return(_chosenAnswer);
}
function set chosenAnswer(theChosenAnswer) {
_chosenAnswer = theChosenAnswer;
//return(chosenAnswer);
}
function get correctAnswer() {
return(_correctAnswer);
}
function set correctAnswer(theCorrectAnswer) {
_correctAnswer = theCorrectAnswer;
//return(correctAnswer);
}
function get isTrueAnswer() {
return(_isTrueAnswer);
}
function set isTrueAnswer(isTrue) {
_isTrueAnswer = isTrue;
//return(isTrueAnswer);
}
function copy() {
var _local2 = this;
var _local1 = new MMQuizClasses.AnswerScore();
_local1._answerType = _local2.answerType;
_local1._answerID = _local2.answerID;
_local1._chosenAnswer = _local2.chosenAnswer;
_local1._correctAnswer = _local2.correctAnswer;
_local1._isTrueAnswer = _local2.isTrueAnswer;
return(_local1);
}
var _isTrueAnswer = false;
}
Symbol 40 MovieClip [__Packages.MMSlideClasses.IQuizState] Frame 0
interface MMSlideClasses.IQuizState{}
Symbol 41 MovieClip [__Packages.MMQuizClasses.QuizState] Frame 0
class MMQuizClasses.QuizState extends Object
{
var _state;
function QuizState () {
var _local2 = this;
super();
var _local1;
_local2._to64 = new Array();
_local2._from64 = new Array();
_local2._state = "";
_local1 = 0;
while (_local1 < _local2._b64Alphabet.length) {
_local2._to64[_local1] = _local2._b64Alphabet.charAt(_local1);
_local2._from64[_local2._b64Alphabet.charCodeAt(_local1)] = _local1;
_local1++;
}
_local2._esc = new Array();
_local2._fromEsc = new Array();
_local1 = 0;
while (_local1 < _local2._escAlphabet.length) {
_local2._esc[_local1] = _local2._escAlphabet.charAt(_local1);
_local2._fromEsc[_local2._escAlphabet.charAt(_local1)] = _local1 + 1;
_local1++;
}
}
function toString() {
return(_state);
}
function fromString(theString) {
_state = theString;
_curReadPos = 0;
}
function writeNumber(num) {
var _local1 = this;
var _local2;
var rShift;
var b;
num = Math.floor(num);
if (num > _local1._mask[_local1._mask.length - 1]) {
_local1._state = _local1._state.concat(_local1._doubleEsc);
_local1.writeNumber(num / (_local1._mask[_local1._mask.length - 1] + 1));
_local1.writeNumber(num & _local1._mask[_local1._mask.length - 1]);
} else {
_local2 = 0;
while (_local2 < _local1._esc.length) {
if ((num & _local1._mask[_local2]) == num) {
if (_local2 > 0) {
_local1._state = _local1._state.concat(_local1._esc[_local2 - 1]);
}
rShift = 0;
var _local3 = 0;
while (_local3 <= _local2) {
b = (num >> rShift) & 63;
_local1._state = _local1._state.concat(_local1._to64[b]);
rShift = rShift + 6;
_local3++;
}
return;
}
_local2++;
}
}
}
function readNumber() {
var _local1 = this;
var escByteChar = _local1._state.charAt(_local1._curReadPos);
var escByteCode = _local1._state.charCodeAt(_local1._curReadPos++);
var numBytes;
var _local2;
var b;
var result = 0;
var _local3;
if (escByteChar == _local1._doubleEsc) {
var num1 = _local1.readNumber();
var num2 = _local1.readNumber();
return((num1 * (_local1._mask[_local1._mask.length - 1] + 1)) + num2);
}
numBytes = _local1._fromEsc[escByteChar];
if ((numBytes == 0) || (numBytes == undefined)) {
result = _local1._from64[escByteCode];
} else {
_local3 = 0;
_local2 = 0;
while (_local2 <= numBytes) {
b = _local1._from64[_local1._state.charCodeAt(_local1._curReadPos++)];
result = result | (b << _local3);
_local3 = _local3 + 6;
_local2++;
}
}
return(result);
}
function writeBoolean(theBool) {
_state = _state.concat((theBool ? "1" : "0"));
}
function readBoolean() {
return(_state.charAt(_curReadPos++) == "1");
}
function writeString(theString) {
var _local2 = this;
var _local1 = theString;
_local2.writeNumber(_local1.length);
_local2._state = _local2._state.concat(_local1);
}
function readString() {
var _local2 = this;
var _local1 = _local2.readNumber();
var _local3 = _local2._state.substr(_local2._curReadPos, _local1);
_local2._curReadPos = _local2._curReadPos + _local1;
return(_local3);
}
function writeAnswerType(theString) {
var _local1;
switch (theString) {
case "FillInTheBlankAnswer" :
_local1 = 1;
break;
case "LikertAnswer" :
_local1 = 2;
break;
case "MatchAnswer" :
_local1 = 3;
break;
case "MultipleChoiceAnswer" :
_local1 = 4;
break;
case "MultipleChoiceMultipleAnswer" :
_local1 = 5;
break;
case "rdInteractionAnswer" :
_local1 = 6;
break;
default :
_local1 = 0;
}
writeNumber(_local1);
}
function readAnswerType() {
var _local2 = readNumber();
var _local1 = "";
switch (_local2) {
case 1 :
_local1 = "FillInTheBlankAnswer";
// unexpected jump
case 2 :
_local1 = "LikertAnswer";
// unexpected jump
case 3 :
_local1 = "MatchAnswer";
// unexpected jump
case 4 :
_local1 = "MultipleChoiceAnswer";
// unexpected jump
case 5 :
_local1 = "MultipleChoiceMultipleAnswer";
// unexpected jump
case 6 :
_local1 = "rdInteractionAnswer";
return(_local1);
}
_local1 = "";
// unexpected jump
return(_local2);
}
function getReadPos() {
return(_curReadPos);
}
function setReadPos(newPos) {
_curReadPos = newPos;
}
function getWritePos() {
return(_curReadPos);
}
function setWritePos(newPos) {
_curReadPos = newPos;
}
function getData() {
return(toString());
}
function setData(newData) {
fromString(newData);
}
var _curReadPos = 0;
var _b64Alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-";
var _escAlphabet = "$.!*+";
var _doubleEsc = "~";
var _mask = [63, 4095, 262143, 16777215, 1073741823];
}
Symbol 42 MovieClip [__Packages.MMQuizClasses.Hint] Frame 0
class MMQuizClasses.Hint extends MMQuizClasses.Feedback
{
var useHandCursor, isModal;
function Hint () {
super();
}
function init() {
useHandCursor = false;
isModal = false;
super.init();
}
function size(Void) {
super.size();
}
static var symbolName = "Hint";
static var symbolOwner = Object(MMQuizClasses.Hint);
var className = "Hint";
}
Symbol 43 MovieClip [__Packages.MMQuizClasses.ReviewFeedback] Frame 0
class MMQuizClasses.ReviewFeedback extends MMQuizClasses.Feedback
{
var doLater;
function ReviewFeedback () {
super();
}
function setCorrectDisplay() {
var _local1 = this;
if (_local1.answersIncomplete) {
_local1._correctDisplay._visible = false;
_local1._incorrectDisplay._visible = false;
_local1._incompleteDisplay._visible = true;
} else if (_local1.answeredCorrectly) {
_local1._correctDisplay._visible = true;
_local1._incorrectDisplay._visible = false;
_local1._incompleteDisplay._visible = false;
} else {
_local1._correctDisplay._visible = false;
_local1._incorrectDisplay._visible = true;
_local1._incompleteDisplay._visible = false;
}
}
function setAccessibility() {
}
function showFeedbackAndDoAction() {
super.showFeedbackAndDoAction();
doLater(this, "setCorrectDisplay");
}
function init() {
var _local1 = this;
super.init();
_local1.isModal = false;
_local1._correctDisplay._visible = false;
_local1._incorrectDisplay._visible = false;
_local1._incompleteDisplay._visible = false;
}
var correctAnswersAsString = "";
var chosenAnswersAsString = "";
var answeredCorrectly = false;
var answersIncomplete = true;
}
Symbol 44 MovieClip [__Packages.MMQuizClasses.TimerBar] Frame 0
class MMQuizClasses.TimerBar extends mx.core.UIComponent
{
function TimerBar () {
super();
}
function formatTime(nNumber) {
var _local1 = "00" + nNumber;
return(_local1.substr(-2));
}
function updateProgress(timeToDisplay, fractionRemaining) {
var _local1 = this;
var remSecs = timeToDisplay.getSeconds();
var _local3 = timeToDisplay.getMinutes();
var _local2 = "";
_local2 = _local2.concat(_local1.formatTime(_local3), ":", _local1.formatTime(remSecs));
_local1._label.__set__text(_local2);
_local1._bar._x = -(fractionRemaining * _local1._bar._width);
}
function init() {
super.init();
}
static var symbolName = "TimerBar";
static var symbolOwner = Object(MMQuizClasses.TimerBar);
var className = "TimerBar";
}
Symbol 45 MovieClip [__Packages.mx.controls.Label] Frame 0
class mx.controls.Label extends mx.core.UIObject
{
var labelField, __autoSize, getStyle;
function Label () {
super();
}
function init(Void) {
var _local1 = this;
super.init();
_local1._xscale = (_local1._yscale = 100);
_local1.labelField.selectable = false;
_local1.labelField.styleName = _local1;
_local1.tabEnabled = false;
_local1.tabChildren = false;
_local1.useHandCursor = false;
_local1._color = mx.core.UIObject.textColorList;
}
function get html() {
return(getHtml());
}
function set html(value) {
setHtml(value);
//return(html);
}
function getHtml() {
return(labelField.html);
}
function setHtml(value) {
if (value != labelField.html) {
labelField.html = value;
}
}
function get text() {
return(getText());
}
function set text(t) {
setText(t);
//return(text);
}
function getText() {
var _local2 = this;
if (_local2.initializing) {
return(_local2.initText);
}
var _local1 = _local2.labelField;
if (_local1.html == true) {
return(_local1.htmlText);
}
return(_local1.text);
}
function setText(t) {
var _local2 = this;
var _local3 = t;
if (_local2.initializing) {
_local2.initText = _local3;
} else {
var _local1 = _local2.labelField;
if (_local1.html == true) {
_local1.htmlText = _local3;
} else {
_local1.text = _local3;
}
_local2.adjustForAutoSize();
}
}
function get autoSize() {
return(__autoSize);
}
function set autoSize(v) {
var _local1 = this;
if (_global.isLivePreview == true) {
v = "none";
}
_local1.__autoSize = v;
if (!_local1.initializing) {
_local1.draw();
}
//return(_local1.__get__autoSize());
}
function draw(Void) {
var _local2 = this;
var _local1 = _local2.labelField;
if (_local2.initializing) {
var t = _local2.__get__text();
_local2.initializing = false;
_local2.setText(t);
delete _local2.initText;
}
if (_local1.html) {
var t = _local1.htmlText;
}
var _local3 = _local2._getTextFormat();
_local1.embedFonts = _local3.embedFonts == true;
if (_local3 != undefined) {
_local1.setTextFormat(_local3);
_local1.setNewTextFormat(_local3);
}
if (_local1.html) {
_local1.htmlText = t;
}
_local2.adjustForAutoSize();
}
function adjustForAutoSize() {
var _local1 = this;
var _local2 = _local1.labelField;
var _local3 = _local1.__autoSize;
if ((_local3 != undefined) && (_local3 != "none")) {
_local2._height = _local2.textHeight + 3;
var oldw = _local1.__width;
_local1.setSize(_local2.textWidth + 4, _local2._height);
if (_local3 == "right") {
_local1._x = _local1._x + (oldw - _local1.__width);
} else if (_local3 == "center") {
_local1._x = _local1._x + ((oldw - _local1.__width) / 2);
} else if (_local3 == "left") {
_local1._x = _local1._x + 0;
}
} else {
_local2._x = 0;
_local2._width = _local1.__width;
_local2._height = _local1.__height;
}
}
function size(Void) {
var _local2 = this;
var _local1 = _local2.labelField;
_local1._width = _local2.__width;
_local1._height = _local2.__height;
}
function setEnabled(enable) {
var _local1 = getStyle((enable ? "color" : "disabledColor"));
if (_local1 == undefined) {
_local1 = (enable ? 0 : 8947848);
}
setColor(_local1);
}
function setColor(col) {
labelField.textColor = col;
}
function get styleSheet() {
return(labelField.styleSheet);
}
function set styleSheet(v) {
labelField.styleSheet = v;
//return(styleSheet);
}
static var symbolName = "Label";
static var symbolOwner = Object(mx.controls.Label);
var className = "Label";
static var version = "2.0.1.78";
var initializing = true;
var clipParameters = {text:1, html:1, autoSize:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Label.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 46 MovieClip [__Packages.MMSlideClasses.ISlideInfo] Frame 0
interface MMSlideClasses.ISlideInfo{}
Symbol 47 MovieClip [__Packages.MMQuizClasses.SlideInfo] Frame 0
class MMQuizClasses.SlideInfo extends Object
{
var _questionsOnSlide, _slideNum, _firstFrameNum, _lastFrameNum;
function SlideInfo () {
super();
_questionsOnSlide = [];
}
function get slideNum() {
return(_slideNum);
}
function set slideNum(num) {
_slideNum = num;
//return(slideNum);
}
function get firstFrameNum() {
return(_firstFrameNum);
}
function set firstFrameNum(frameNum) {
_firstFrameNum = frameNum;
//return(firstFrameNum);
}
function get lastFrameNum() {
return(_lastFrameNum);
}
function set lastFrameNum(frameNum) {
_lastFrameNum = frameNum;
//return(lastFrameNum);
}
function get questionsOnSlide() {
return(_questionsOnSlide);
}
function set questionsOnSlide(questions) {
_questionsOnSlide = questions;
//return(questionsOnSlide);
}
function containsFrame(frameNum) {
return((frameNum >= firstFrameNum) && (frameNum <= lastFrameNum));
}
function sameSlideAs(slide) {
return(slide && (slideNum == slide.__get__slideNum()));
}
function get seen() {
return(_seen);
}
function set seen(seenIt) {
_seen = seenIt;
//return(seen);
}
function getSlideTitle() {
return("");
}
var _seen = false;
}
Symbol 48 MovieClip [__Packages.MMQuizClasses.QuizController] Frame 0
class MMQuizClasses.QuizController extends mx.core.UIObject
{
var _questionScores, _quizParams, _playbackController;
function QuizController () {
super();
_questionScores = [];
}
function get quizParams() {
return(_quizParams);
}
function set quizParams(newParams) {
_quizParams = newParams;
//return(quizParams);
}
function get playbackController() {
return(_playbackController);
}
function set playbackController(newController) {
_playbackController = newController;
//return(playbackController);
}
function get inReviewMode() {
return(_inReviewMode);
}
function set inReviewMode(inMode) {
var _local1 = this;
var _local2 = inMode;
if (_local2 && (!_local1._inReviewMode)) {
_local1.dispatchEvent({type:"enterReviewMode", target:_local1});
} else if ((!_local2) && (_local1._inReviewMode)) {
_local1.dispatchEvent({type:"leaveReviewMode", target:_local1});
}
_local1._inReviewMode = _local2;
//return(_local1.__get__inReviewMode());
}
function get quizInProgress() {
return(_quizInProgress);
}
function set quizInProgress(inProgress) {
var _local1 = this;
var _local2 = inProgress;
if (_local2 && (!_local1._quizInProgress)) {
_local1.resetQuestionScores();
_local1._inReviewMode = false;
_local1._sawPassScoreSlide = false;
_local1._sawFailScoreSlide = false;
_local1._sawAnyScoreSlide = false;
_local1.__set__numStarts((_local1.__get__numStarts()+1));
_local1.onStartQuiz();
} else if ((!_local2) && (_local1._quizInProgress)) {
_local1._inReviewMode = false;
_local1.__set__numFinishes((_local1.__get__numFinishes()+1));
_local1.onEndQuiz();
}
_local1._quizInProgress = _local2;
//return(_local1.__get__quizInProgress());
}
function get currentSlideContainer() {
return(playbackController.currentSlideContainer);
}
function get scoreDisplay() {
return(currentSlideContainer._scoreDisplay);
}
function get firstQuestionSlideInQuiz() {
var _local2 = this;
var _local3 = null;
for (var i in _local2.playbackController.slides) {
var _local1 = _local2.playbackController.slides[i];
if ((_local1.__get__slideNum() >= _local2.quizParams.firstSlideInQuiz) && (_local1.__get__slideNum() <= _local2.quizParams.lastSlideInQuiz)) {
if (((!_local3) || (_local1.__get__slideNum() < _local3.__get__slideNum())) && (_local1.questionsOnSlide.length > 0)) {
_local3 = _local1;
}
}
}
return(_local3);
}
function get lastQuestionSlideInQuiz() {
var _local2 = this;
var _local3 = null;
for (var i in _local2.playbackController.slides) {
var _local1 = _local2.playbackController.slides[i];
if ((_local1.__get__slideNum() >= _local2.quizParams.firstSlideInQuiz) && (_local1.__get__slideNum() <= _local2.quizParams.lastSlideInQuiz)) {
if (((!_local3) || (_local1.__get__slideNum() > _local3.__get__slideNum())) && (_local1.questionsOnSlide.length > 0)) {
_local3 = _local1;
}
}
}
return(_local3);
}
function get restoringState() {
return(_restoringState);
}
function set restoringState(rs) {
_restoringState = rs;
//return(restoringState);
}
function hasScoreSlide() {
var _local1 = this;
return(((_local1.quizParams.passScoreSlide != null) || (_local1.quizParams.failScoreSlide != null)) || (_local1.quizParams.anyScoreSlide != null));
}
function isScoreSlide(slide) {
var _local1 = quizParams.getSlideType(slide);
switch (_local1) {
default :
return(false);
case "passScoreSlide" :
case "failScoreSlide" :
case "anyScoreSlide" :
}
return(true);
}
function slideAfter(slide) {
if (this != playbackController.quizControllerForSlide(slide)) {
return(null);
}
with (quizParams) {
var pbcontroller = playbackController;
var slideType = getSlideType(slide);
switch (slideType) {
case "passScoreSlide" :
if (passingGradeAction == "gotoSlide") {
return(pbcontroller.getSlide(Number(passingGradeActionArg1)));
}
if (failScoreSlide) {
return(pbcontroller.getSlide(failScoreSlide.slideNum + 1));
}
return(pbcontroller.getSlide(passScoreSlide.slideNum + 1));
case "failScoreSlide" :
if (failingGradeAction == "gotoSlide") {
return(pbcontroller.getSlide(Number(failingGradeActionArg1)));
}
return(pbcontroller.getSlide(failScoreSlide.slideNum + 1));
case "anyScoreSlide" :
if (anyGradeAction == "gotoSlide") {
return(pbcontroller.getSlide(Number(anyGradeActionArg1)));
}
if ((passingGradeAction == "gotoSlide") && (score >= passingScore)) {
return(pbcontroller.getSlide(Number(passingGradeActionArg1)));
}
if ((failingGradeAction == "gotoSlide") && (score < passingScore)) {
return(pbcontroller.getSlide(Number(failingGradeActionArg1)));
}
return(pbcontroller.getSlide(anyScoreSlide.slideNum + 1));
case "question" :
}
var lastQuestionSlide = lastQuestionSlideInQuiz;
if (slide.__get__slideNum() < lastQuestionSlide.__get__slideNum()) {
var nextNum = (slide.__get__slideNum() + 1);
return(pbcontroller.getSlide(slide.__get__slideNum() + 1));
}
if (isScoreSlide(pbcontroller.getSlide(slide.__get__slideNum() + 1))) {
if (score >= passingScore) {
if (passScoreSlide) {
return(passScoreSlide);
}
if (anyScoreSlide) {
return(anyScoreSlide);
}
if (failScoreSlide) {
return(pbcontroller.getSlide(failScoreSlide.slideNum + 1));
}
return(pbcontroller.getSlide(lastQuestionSlide.__get__slideNum() + 1));
}
if (failScoreSlide) {
return(failScoreSlide);
}
if (anyScoreSlide) {
return(anyScoreSlide);
}
return(pbcontroller.getSlide(passScoreSlide.slideNum + 1));
}
if (anyGradeAction == "gotoSlide") {
return(pbcontroller.getSlide(Number(anyGradeActionArg1)));
}
if ((passingGradeAction == "gotoSlide") && (score >= passingScore)) {
return(pbcontroller.getSlide(Number(passingGradeActionArg1)));
}
if ((failingGradeAction == "gotoSlide") && (score < passingScore)) {
return(pbcontroller.getSlide(Number(failingGradeActionArg1)));
}
return(pbcontroller.getSlide(slide.__get__slideNum() + 1));
}
}
function slideBefore(slide) {
if (this != playbackController.quizControllerForSlide(slide)) {
return(null);
}
with (quizParams) {
var slideType = getSlideType(slide);
switch (slideType) {
case "question" :
case "passScoreSlide" :
case "failScoreSlide" :
case "anyScoreSlide" :
return(playbackController.getSlide(slide.__get__slideNum() - 1));
}
}
}
function get numStarts() {
return(_numStarts);
}
function set numStarts(num) {
_numStarts = num;
//return(numStarts);
}
function get numFinishes() {
return(_numFinishes);
}
function set numFinishes(num) {
_numFinishes = num;
//return(numFinishes);
}
function get questionScores() {
return(_questionScores);
}
function set questionScores(scores) {
_questionScores = scores;
//return(questionScores);
}
function get score() {
var _local2 = this;
var _local3 = 0;
for (var i in _local2.__get__questionScores()) {
var _local1 = _local2.questionScores[i];
if (!isNaN(_local1.__get__score())) {
_local3 = _local3 + _local1.score;
}
}
return(_local3);
}
function get minScore() {
return(quizParams.minScore);
}
function get maxScore() {
return(quizParams.maxScore);
}
function get totalRetries() {
var _local2 = this;
var _local3 = 0;
for (var i in _local2.__get__questionScores()) {
var _local1 = _local2.questionScores[i];
_local3 = _local3 + _local1.numTries;
}
return(_local3);
}
function get percentCorrect() {
var _local2 = this;
if (_local2.__get__maxScore() == 0) {
return(" ");
}
var _local1;
_local1 = Math.round((_local2.__get__score() * 100) / _local2.__get__maxScore());
return(_local1 + "%");
}
function get numQuestions() {
var _local2 = this;
var _local3 = 0;
for (var i in _local2.playbackController.slides) {
var _local1 = _local2.playbackController.slides[i];
if ((_local1.__get__slideNum() >= _local2.quizParams.firstSlideInQuiz) && (_local1.__get__slideNum() <= _local2.quizParams.lastSlideInQuiz)) {
_local3 = _local3 + _local1.questionsOnSlide.length;
}
}
return(_local3);
}
function get numQuestionsAnswered() {
return(questionScores.length);
}
function get allQuestionsAnswered() {
var _local1 = this;
var slidesSeen = [];
for (i in _local1.__get__questionScores()) {
slidesSeen[_local1.questionScores[i].slideNum] = true;
}
i = _local1.quizParams.firstSlideInQuiz.slideNum;
while (i <= _local1.quizParams.lastSlideInQuiz.slideNum) {
if (!slidesSeen[i]) {
var _local3 = _local1.playbackController.slides[i];
if ((_local3 && (_local3.questionsOnSlide)) && (_local3.questionsOnSlide.length > 0)) {
return(false);
}
}
i++;
}
for (var i in _local1.__get__questionScores()) {
var _local2 = _local1.questionScores[i];
if ((_local2.__get__weighting() > 0) && ((!_local2.__get__wasJudged()) || (_local2.__get__answersIncomplete()))) {
return(false);
}
}
return(true);
}
function get sawPassScoreSlide() {
return(_sawPassScoreSlide);
}
function set sawPassScoreSlide(sawIt) {
_sawPassScoreSlide = sawIt;
//return(sawPassScoreSlide);
}
function get sawFailScoreSlide() {
return(_sawFailScoreSlide);
}
function set sawFailScoreSlide(sawIt) {
_sawFailScoreSlide = sawIt;
//return(sawFailScoreSlide);
}
function get sawAnyScoreSlide() {
return(_sawAnyScoreSlide);
}
function set sawAnyScoreSlide(sawIt) {
_sawAnyScoreSlide = sawIt;
//return(sawAnyScoreSlide);
}
function get quizProgressIndicator() {
return(currentSlideContainer._quizProgress);
}
function get quizFinishButton() {
return(currentSlideContainer._quizFinishButton);
}
function getQuestionsForCurrentSlide() {
var _local1 = currentSlideContainer;
var _local2 = [];
for (var _local3 in _local1) {
if (_local3.indexOf("_question") == 0) {
_local2.push(_local1[_local3]);
}
}
return(_local2);
}
function getDeepestQuestion() {
var _local2 = getQuestionsForCurrentSlide();
var _local1 = null;
for (var _local3 in _local2) {
if ((!_local1) || (_local2[_local3].getDepth() < _local1.getDepth())) {
_local1 = _local2[_local3];
}
}
return(_local1);
}
function get firstQuestionOnCurrentSlide() {
var _local3 = getQuestionsForCurrentSlide();
var _local2 = null;
for (var i in _local3) {
var _local1 = _local3[i];
if ((!_local2) || (_local1.__get__questionNumInQuiz() < _local2.__get__questionNumInQuiz())) {
_local2 = _local1;
}
}
return(_local2);
}
function get lastQuestionOnCurrentSlide() {
var _local3 = getQuestionsForCurrentSlide();
var _local2 = null;
for (var i in _local3) {
var _local1 = _local3[i];
if ((!_local2) || (_local1.__get__questionNumInQuiz() > _local2.__get__questionNumInQuiz())) {
_local2 = _local1;
}
}
return(_local2);
}
function getQuestionScore(questionNum) {
var _local2 = this;
var _local3 = questionNum;
for (var i in _local2.__get__questionScores()) {
var _local1 = _local2._questionScores[i];
if (_local1.__get__questionNumInQuiz() == _local3) {
return(_local1);
}
}
return(null);
}
function get isPassed() {
var _local1 = this;
var ip = (_local1.__get__score() >= _local1.quizParams.passingScore);
return(_local1.__get__score() >= _local1.quizParams.passingScore);
}
function get isCompleted() {
var _local1 = this;
if ((_local1.__get__numStarts() > 0) && (_local1.__get__numStarts() == _local1.__get__numFinishes())) {
return(true);
}
if ((_local1.__get__sawPassScoreSlide() || (_local1.__get__sawFailScoreSlide())) || (_local1.__get__sawAnyScoreSlide())) {
return(true);
}
return(false);
}
function canEnterSlide(slide) {
var _local1 = this;
if (_local1 != _local1.playbackController.quizControllerForSlide(slide)) {
return("");
}
var _local2 = _local1.quizParams.getSlideType(slide);
var _local3;
if ((!_local1.__get__quizInProgress()) || ((_local1.quizParams.questionAdvance == "optional") && (_local1.__get__totalRetries() > 0))) {
switch (_local2) {
case "question" :
if (((!_local1.__get__inReviewMode()) && (!_local1.__get__quizInProgress())) && (_local1.__get__numStarts() >= _local1.quizParams.numQuizAttemptsAllowed)) {
return("QUIZ_ERROR_TOO_MANY_QUIZ_ATTEMPTS");
}
break;
case "passScoreSlide" :
if (_local1.__get__score() < _local1.quizParams.passingScore) {
return("QUIZ_ERROR_MUST_PASS_QUIZ_TO_SEE_PASS_SCORE_SLIDE");
}
_local3 = true;
break;
case "failScoreSlide" :
if (_local1.__get__score() >= _local1.quizParams.passingScore) {
return("QUIZ_ERROR_MUST_FAIL_QUIZ_TO_SEE_FAIL_SCORE_SLIDE");
}
_local3 = true;
}
if (_local3 && (_local1.__get__numQuestionsAnswered() == 0)) {
return("QUIZ_ERROR_MUST_START_QUIZ_TO_SEE_SCORE_SLIDE");
}
} else {
switch (_local2) {
default :
return("");
case "question" :
return("");
case "passScoreSlide" :
case "failScoreSlide" :
case "anyScoreSlide" :
}
}
return("");
return("");
return("");
}
function canLeaveSlide(slide, movingBackward) {
var _local1 = this;
var _local3 = movingBackward;
if (_local1 != _local1.playbackController.quizControllerForSlide(slide)) {
return("");
}
var slideType = _local1.quizParams.getSlideType(slide);
switch (slideType) {
case "question" :
var _local2 = _local1.getQuestionScore(_local1.lastQuestionOnCurrentSlide.questionNumInQuiz);
switch (_local1.quizParams.questionAdvance) {
case "mustAnswer" :
if ((!_local2) || (_local2.__get__numTries() == 0)) {
return("QUIZ_ERROR_MUST_ANSWER_QUESTION");
}
break;
case "mustAnswerCorrectly" :
if ((!_local2) || (!_local2.__get__answeredCorrectly()())) {
return("QUIZ_ERROR_MUST_ANSWER_CORRECTLY");
}
break;
case "optional" :
}
if ((!_local3) && (slide.sameSlideAs(_local1.__get__lastQuestionSlideInQuiz()))) {
switch (_local1.quizParams.quizAdvance) {
case "mustTake" :
if (_local1.__get__numQuestionsAnswered() == 0) {
return("QUIZ_ERROR_MUST_TAKE_QUIZ");
}
break;
case "mustPass" :
if (_local1.__get__score() >= _local1.quizParams.passingScore) {
break;
}
return("QUIZ_ERROR_MUST_PASS_QUIZ");
}
break;
}
if (_local3) {
if (slide.sameSlideAs(_local1.__get__firstQuestionSlideInQuiz())) {
if (!_local1.quizParams.allowBackwardMovementToGoOutOfQuiz) {
return("QUIZ_ERROR_CANNOT_MOVE_BACKWARD_TO_GO_OUT_OF_QUIZ");
}
break;
}
if ((!_local1.__get__inReviewMode()) && (!_local1.quizParams.allowBackwardMovementInQuiz)) {
return("QUIZ_ERROR_CANNOT_MOVE_BACKWARD_IN_QUIZ");
}
}
break;
case "passScoreSlide" :
if ((((!_local1.quizParams.allowSkipPassScoreSlide) && (_local1.__get__score() >= _local1.quizParams.passingScore)) && (!_local1.__get__sawPassScoreSlide())) && (_local1.__get__quizInProgress())) {
return("QUIZ_ERROR_MUST_SEE_PASS_SCORE_SLIDE");
}
if (((!_local1.__get__inReviewMode()) && (_local3)) && (!_local1.quizParams.allowBackwardMovementInQuiz)) {
return("QUIZ_ERROR_CANNOT_MOVE_BACKWARD_IN_QUIZ");
}
break;
case "failScoreSlide" :
if ((((!_local1.quizParams.allowSkipFailScoreSlide) && (_local1.__get__score() < _local1.quizParams.passingScore)) && (!_local1.__get__sawFailScoreSlide())) && (_local1.__get__quizInProgress())) {
return("QUIZ_ERROR_MUST_SEE_FAIL_SCORE_SLIDE");
}
if (((!_local1.__get__inReviewMode()) && (_local3)) && (!_local1.quizParams.allowBackwardMovementInQuiz)) {
return("QUIZ_ERROR_CANNOT_MOVE_BACKWARD_IN_QUIZ");
}
break;
case "anyScoreSlide" :
if (((!_local1.quizParams.allowSkipFailScoreSlide) && (!_local1.__get__sawAnyScoreSlide())) && (_local1.__get__quizInProgress())) {
return("QUIZ_ERROR_MUST_SEE_SCORE_SLIDE");
}
if (!(((!_local1.__get__inReviewMode()) && (_local3)) && (!_local1.quizParams.allowBackwardMovementInQuiz))) {
break;
}
return("QUIZ_ERROR_CANNOT_MOVE_BACKWARD_IN_QUIZ");
}
return("");
}
function onStartQuiz() {
var _local1 = this;
if (_local1.__get__quizFinishButton() && (_local1.quizParams.showFinishButton)) {
_local1.quizFinishButton._visible = true;
}
}
function onEndQuiz() {
var _local1 = this;
if (_local1.__get__quizFinishButton()) {
_local1.quizFinishButton._visible = false;
}
_local1.playbackController.onEndQuiz(_local1);
}
function startQuestion(currentQuestion) {
var _local1 = this;
var _local2 = currentQuestion;
_local2.__set__slide(_local1.playbackController.currentSlide);
_local2.startQuestion(_local1.__get__inReviewMode(), _local1.getQuestionScore(_local2.__get__questionNumInQuiz()));
}
function enterCurrentSlide() {
var _local1 = this;
var slide = _local1.playbackController.currentSlide;
if (_local1 != _local1.playbackController.quizControllerForSlide(slide)) {
} else {
var slideType = _local1.quizParams.getSlideType(slide);
var slideIsScoreSlide = false;
switch (slideType) {
case "question" :
if ((!_local1.__get__quizInProgress()) && (!_local1.__get__inReviewMode())) {
_local1.__set__quizInProgress(true);
}
break;
case "passScoreSlide" :
slideIsScoreSlide = true;
_local1.__set__sawPassScoreSlide(true);
break;
case "failScoreSlide" :
slideIsScoreSlide = true;
_local1.__set__sawFailScoreSlide(true);
break;
case "anyScoreSlide" :
slideIsScoreSlide = true;
_local1.__set__sawAnyScoreSlide(true);
break;
}
var _local3 = _local1.getQuestionsForCurrentSlide();
if (_local3.length > 0) {
for (var i in _local3) {
var _local2 = _local3[i];
_local2.__set__quizController(_local1);
_local1.startQuestion(_local2);
}
} else if (slideIsScoreSlide) {
_local1.scoreDisplay.score = _local1.score;
_local1.scoreDisplay.maxScore = _local1.maxScore;
_local1.scoreDisplay.numQuestions = _local1.numQuestions;
_local1.scoreDisplay.numRetries = _local1.totalRetries;
_local1.scoreDisplay.numQuizAttempts = _local1.numStarts;
_local1.scoreDisplay.percentCorrect = _local1.percentCorrect;
_local1.scoreDisplay.passed = _local1.isPassed;
if (_local1.__get__isPassed()) {
_local1.scoreDisplay.feedback = _local1.quizParams.passedScoreFeedback;
} else {
_local1.scoreDisplay.feedback = _local1.quizParams.failedScoreFeedback;
}
_local1.scoreDisplay.setAccessibility();
}
_local1.playbackController.sendCourseData();
}
}
function doQuizAction(actionType, actionArg1, actionArg2) {
var _local1 = actionArg1;
var _local2 = this;
switch (actionType) {
case "continue" :
case "gotoSlide" :
return;
case "movie" :
(_local2.getURL(_local1, actionArg2));// not popped
return;
case "url" :
(_local2.getURL(_local1, actionArg2));// not popped
return;
case "javascript" :
return;
case "email" :
return;
}
_local2 = _local2.getURL("mailto:" + _local1);
_local1 = _local2.getURL("javascript:" + _local1);
}
function leavingQuiz(fromSlide, toSlide) {
var _local1 = this;
var _local2 = toSlide;
if (_local1.__get__quizInProgress()) {
if (_local2.__get__slideNum() >= fromSlide.__get__slideNum()) {
return(_local2.__get__slideNum() > _local1.quizParams.lastSlideInQuiz.slideNum);
}
return(_local2.__get__slideNum() < _local1.firstQuestionSlideInQuiz.slideNum);
}
return(false);
}
function leavingReviewMode(fromSlide, toSlide) {
var _local1 = this;
var _local2 = toSlide;
if (_local1.__get__inReviewMode()) {
if (_local2.__get__slideNum() >= fromSlide.__get__slideNum()) {
return(_local2.__get__slideNum() > _local1.quizParams.lastSlideInQuiz.slideNum);
}
return(_local2.__get__slideNum() < _local1.firstQuestionSlideInQuiz.slideNum);
}
return(false);
}
function doAction(actionType, actionArg1, actionArg2) {
var _local1 = this;
var _local2 = actionArg1;
var _local3 = actionArg2;
switch (actionType) {
case "continue" :
Selection.setFocus(null);
_local1.playbackController.gotoNextSlide();
return;
case "gotoSlide" :
Selection.setFocus(null);
_local1.playbackController.gotoSlide(_local2);
return;
case "movie" :
(_local1.getURL(_local2, _local3));// not popped
return;
case "url" :
return;
case "javascript" :
return;
case "email" :
return;
case "submit" :
_local1.currentSlideContainer.submit(_local2, _local3);
return;
}
_local3 = _local1.getURL("mailto:" + _local2);
_local2 = _local1.getURL("javascript:" + _local2);
_local1 = _local1.getURL(_local2, _local3);
}
function leaveCurrentSlide(toSlide) {
var fromSlide = playbackController.currentSlide;
var isLeavingQuiz;
if (this != playbackController.quizControllerForSlide(fromSlide)) {
return(undefined);
}
if (playbackController.restoringQuizState) {
playbackController.restoringQuizState = false;
return(undefined);
}
var slideType = quizParams.getSlideType(fromSlide);
isLeavingQuiz = leavingQuiz(fromSlide, toSlide);
with (quizParams) {
switch (slideType) {
case "question" :
var currentQuestions = getQuestionsForCurrentSlide();
for (var i in currentQuestions) {
var currentQuestion = currentQuestions[i];
if (currentQuestion) {
currentQuestion.endQuestion(false);
currentQuestion.clearAnswers();
currentQuestion.leaveSlide();
}
}
if (isLeavingQuiz) {
if ((passingGradeAction.length > 0) && (score >= passingScore)) {
doQuizAction(passingGradeAction, passingGradeActionArg1, passingGradeActionArg2);
} else if ((failingGradeAction.length > 0) && (score < passingScore)) {
doQuizAction(failingGradeAction, failingGradeActionArg1, failingGradeActionArg2);
} else if (anyGradeAction.length > 0) {
doQuizAction(anyGradeAction, anyGradeActionArg1, anyGradeActionArg2);
}
}
break;
case "passScoreSlide" :
if (isLeavingQuiz) {
if (passingGradeAction.length > 0) {
doQuizAction(passingGradeAction, passingGradeActionArg1, passingGradeActionArg2);
} else if (anyGradeAction.length > 0) {
doQuizAction(anyGradeAction, anyGradeActionArg1, anyGradeActionArg2);
}
}
break;
case "failScoreSlide" :
if (isLeavingQuiz) {
if (failingGradeAction.length > 0) {
doQuizAction(failingGradeAction, failingGradeActionArg1, failingGradeActionArg2);
} else if (anyGradeAction.length > 0) {
doQuizAction(anyGradeAction, anyGradeActionArg1, anyGradeActionArg2);
}
}
break;
case "anyScoreSlide" :
if (isLeavingQuiz) {
if ((passingGradeAction.length > 0) && (score >= passingScore)) {
doQuizAction(passingGradeAction, passingGradeActionArg1, passingGradeActionArg2);
} else if ((failingGradeAction.length > 0) && (score < passingScore)) {
doQuizAction(failingGradeAction, failingGradeActionArg1, failingGradeActionArg2);
} else if (anyGradeAction.length > 0) {
doQuizAction(anyGradeAction, anyGradeActionArg1, anyGradeActionArg2);
}
}
break;
}
if (isLeavingQuiz) {
quizInProgress = (false);
}
if (leavingReviewMode(fromSlide, toSlide)) {
inReviewMode = (false);
}
}
}
function canEnterReviewMode() {
if (inReviewMode) {
return("");
}
if (quizParams.allowReviewMode) {
return("");
}
return("QUIZ_ERROR_REVIEW_MODE_NOT_ALLOWED");
}
function reviewAnswers() {
var _local1 = this;
if (_local1.quizParams.allowReviewMode) {
_local1.__set__inReviewMode(true);
_local1.playbackController.gotoSlide(_local1.__get__firstQuestionSlideInQuiz());
}
}
function finishQuiz() {
var _local1 = this;
if (_local1.__get__quizInProgress()) {
var _local2 = null;
var _local3 = _local1.quizParams.getSlideType(_local1.playbackController.currentSlide);
switch (_local3) {
case "question" :
_local2 = _local1.slideAfter(_local1.__get__lastQuestionSlideInQuiz());
break;
default :
_local2 = _local1.slideAfter(_local1.playbackController.currentSlide);
}
_local1.__set__quizInProgress(false);
_local1.playbackController.gotoSlide(_local2);
}
}
function sendInteractionData(questionScore) {
if (quizParams.isTracked) {
playbackController.sendInteractionData(questionScore);
}
}
function saveQuestionScore(question) {
var _local1 = this;
if ((!_local1.__get__inReviewMode()) && (!_local1.__get__restoringState())) {
_local1.addQuestionScore(question.__get__questionScore());
question.__set__questionScore(null);
}
}
function addQuestionScore(qs) {
var _local1 = this;
var _local2 = qs;
for (var _local3 in _local1.__get__questionScores()) {
if (_local1.questionScores[_local3].questionNumInQuiz == _local2.__get__questionNumInQuiz()) {
_local1.questionScores[_local3] = _local2;
return;
}
}
_local1.questionScores.push(_local2);
}
function doDefaultAction(question) {
var _local1 = question;
var _local2 = this;
if ((_local1.isSurvey || (_local1.__get__answeredCorrectly())) || (_local1.__get__numTries() >= _local1.__get__numQuestionAttemptsAllowed())) {
_local2.doAction(_local2.quizParams.defaultActionType, _local2.quizParams.defaultActionArg1, _local2.quizParams.defaultActionArg2);
}
}
function saveState(myState) {
var _local2 = this;
myState.writeBoolean(_local2._inReviewMode);
myState.writeBoolean(_local2._quizInProgress);
myState.writeNumber(_local2._numStarts);
myState.writeNumber(_local2._numFinishes);
myState.writeBoolean(_local2._sawPassScoreSlide);
myState.writeBoolean(_local2._sawFailScoreSlide);
myState.writeBoolean(_local2._sawAnyScoreSlide);
myState.writeNumber(_local2.questionScores.length);
var _local1 = 0;
while (_local1 < _local2.questionScores.length) {
var _local3 = _local2.questionScores[_local1];
_local3.saveState(myState);
_local1++;
}
}
function restoreState(myState) {
var _local2 = this;
_local2.__set__restoringState(true);
_local2._inReviewMode = myState.readBoolean();
_local2._quizInProgress = myState.readBoolean();
_local2._numStarts = myState.readNumber();
_local2._numFinishes = myState.readNumber();
_local2._sawPassScoreSlide = myState.readBoolean();
_local2._sawFailScoreSlide = myState.readBoolean();
_local2._sawAnyScoreSlide = myState.readBoolean();
var numQuestions = myState.readNumber();
var whichQuestionScore;
whichQuestionScore = 0;
while (whichQuestionScore < numQuestions) {
var qs = (new MMQuizClasses.QuestionScore());
qs.restoreState(myState);
_local2.addQuestionScore(qs);
whichQuestionScore++;
}
for (whichQuestionScore in _local2.__get__questionScores()) {
var questScore = _local2.questionScores[whichQuestion];
var _local3 = _local2.getQuestionsForCurrentSlide();
for (var whichQuestion in _local3) {
var _local1 = _local3[whichQuestion];
if ((_local1.__get__questionNumInQuiz() == questScore.__get__questionNumInQuiz()) && (_local1.__get__state() == "playing")) {
_local1.endQuestion(false);
_local1.startQuestion(_local2._inReviewMode, questScore);
_local1.resetPreviousAnswers();
}
}
}
_local2.__set__restoringState(false);
}
function resetQuestionScores() {
var _local2 = this;
for (var _local3 in _local2.__get__questionScores()) {
var _local1 = _local2._questionScores[_local3];
_local1.resetScore();
}
}
function init() {
super.init();
}
var _inReviewMode = false;
var _quizInProgress = false;
var _numStarts = 0;
var _numFinishes = 0;
var _sawPassScoreSlide = false;
var _sawFailScoreSlide = false;
var _sawAnyScoreSlide = false;
var _restoringState = false;
}
Symbol 49 MovieClip [__Packages.MMQuizClasses.QuizParams] Frame 0
class MMQuizClasses.QuizParams extends Object
{
function QuizParams () {
super();
}
function getSlideType(theSlide) {
var _local1 = this;
var _local2 = theSlide;
if (_local1.passScoreSlide && (_local1.passScoreSlide.sameSlideAs(_local2))) {
return("passScoreSlide");
}
if (_local1.failScoreSlide && (_local1.failScoreSlide.sameSlideAs(_local2))) {
return("failScoreSlide");
}
if (_local1.anyScoreSlide && (_local1.anyScoreSlide.sameSlideAs(_local2))) {
return("anyScoreSlide");
}
if (_local2.questionsOnSlide.length > 0) {
return("question");
}
return("");
}
function init() {
super.init();
}
var quizID = 0;
var isTracked = false;
var numQuizAttemptsAllowed = 1;
var minScore = 0;
var maxScore = 150;
var passingScore = 60;
var questionAdvance = "mustAnswer";
var quizAdvance = "mustTake";
var showProgress = "minimal";
var allowBackwardMovementInQuiz = true;
var allowBackwardMovementToGoOutOfQuiz = true;
var showFinishButton = false;
var firstSlideInQuiz = null;
var lastSlideInQuiz = null;
var passScoreSlide = null;
var failScoreSlide = null;
var allowSkipFailScoreSlide = true;
var anyScoreSlide = null;
var allowSkipAnyScoreSlide = true;
var allowReviewMode = true;
var defaultActionType = "continue";
var defaultActionArg1 = "";
var defaultActionArg2 = "";
var passedScoreFeedback = "Congratulations, you passed.";
var failedScoreFeedback = "Sorry, you failed.";
}
Symbol 50 MovieClip [__Packages.MMSlideClasses.ISlideContent] Frame 0
interface MMSlideClasses.ISlideContent{}
Symbol 51 MovieClip [__Packages.MMSlideClasses.ISlideContainer] Frame 0
interface MMSlideClasses.ISlideContainer{}
Symbol 52 MovieClip [__Packages.MMSlideClasses.ISlideContent2] Frame 0
interface MMSlideClasses.ISlideContent2{}
Symbol 53 MovieClip [__Packages.MMQuizClasses.PlaybackController] Frame 0
class MMQuizClasses.PlaybackController extends mx.core.UIObject
{
static var _doActionLaterIntervals;
var _tracking, _slides, _quizParams;
function PlaybackController () {
super();
}
function get loadingResumeData() {
return(_loadingResumeData);
}
function set loadingResumeData(loading) {
_loadingResumeData = loading;
//return(loadingResumeData);
}
function get restoringQuizState() {
return(_restoringQuizState);
}
function set restoringQuizState(restoring) {
_restoringQuizState = restoring;
//return(restoringQuizState);
}
function get pollLMSGetTrackingDataTimeoutSecs() {
return(_pollLMSGetTrackingDataTimeoutSecs);
}
function get trackingLevel() {
return(_trackingLevel);
}
function set trackingLevel(theLevel) {
_trackingLevel = theLevel;
//return(trackingLevel);
}
function get tracking() {
return(_tracking);
}
function set pollLMSGetTrackingDataTimeoutSecs(secs) {
_pollLMSGetTrackingDataTimeoutSecs = secs;
//return(pollLMSGetTrackingDataTimeoutSecs);
}
function get pollLMSInitializeTimeoutSecs() {
return(_pollLMSInitializeTimeoutSecs);
}
function set pollLMSInitializeTimeoutSecs(secs) {
_pollLMSInitializeTimeoutSecs = secs;
//return(pollLMSInitializeTimeoutSecs);
}
function get currentSlide() {
return(_currentSlide);
}
function set currentSlide(slide) {
_currentSlide = slide;
//return(currentSlide);
}
function get slides() {
return(_slides);
}
function getSlide(slideNum) {
return(slides[slideNum]);
}
function quizIDForSlide(slide) {
var _local3 = slide;
var _local1 = 0;
while (_local1 < _quizParams.length) {
var _local2 = _quizParams[_local1];
if ((_local3 && (_local3.__get__slideNum() >= _local2.firstSlideInQuiz.__get__slideNum())) && (_local3.__get__slideNum() <= _local2.lastSlideInQuiz.__get__slideNum())) {
return(_local2.quizID);
}
_local1++;
}
return(-1);
}
function quizControllerForSlide(slide) {
return(getQuizController(quizIDForSlide(slide)));
}
function quizParamsOfQuiz(quizID) {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2._quizParams.length) {
if (_local2._quizParams[_local1].quizID == quizID) {
return(_local2._quizParams[_local1]);
}
_local1++;
}
var _local3 = new MMQuizClasses.QuizParams();
_local3.quizID = quizID;
_local3.firstSlideInQuiz = new MMQuizClasses.SlideInfo();
_local3.firstSlideInQuiz.__set__slideNum(999999);
_local3.lastSlideInQuiz = new MMQuizClasses.SlideInfo();
_local3.lastSlideInQuiz.__set__slideNum(-1);
return(_local3);
}
function get currentSlideContainer() {
return(null);
}
function get actualLMSType() {
var _local3 = this;
var _local1 = null;
if (_local3._tracking) {
var _local2 = _local3._tracking.currentTrackingAdapter();
if (_local2) {
return(_local2.getTrackingAdapterType().type_str);
}
}
if (!_local1) {
_local1 = _local3.LMSType;
}
return(_local1);
}
function get LMSIsBreeze() {
return(actualLMSType == "BREEZE");
}
function set LMSType(theType) {
_LMSType = theType;
//return(LMSType);
}
function get LMSType() {
return(_LMSType);
}
function get hasQuizzes() {
return(_quizParams.length > 0);
}
function get numSlidesSeen() {
var _local1 = this;
var _local2 = 0;
for (var _local3 in _local1.__get__slides()) {
if (_local1.slides[_local3].seen) {
_local2++;
}
}
return(_local2);
}
function get allSlidesSeen() {
return(numSlidesSeen == slides.length);
}
function set AuthorwareDelimeter(delim) {
_AuthorwareDelimeter = delim;
//return(AuthorwareDelimeter);
}
function get AuthorwareDelimeter() {
return(_AuthorwareDelimeter);
}
function set emailAddress(addr) {
_emailAddress = addr;
//return(emailAddress);
}
function get emailAddress() {
return(_emailAddress);
}
function get sendCompletion() {
var _local1 = this;
if (_local1.__get__LMSIsBreeze()) {
return(_local1.__get__totalQuizSendCompletion());
}
return(_local1._sendCompletion);
}
function get totalQuizSendCompletion() {
var _local1 = true;
switch (completionValueToSend) {
case "completion" :
_local1 = true;
break;
case "passed" :
_local1 = false;
break;
case "default" :
default :
var _local2 = totalQuizStatusAll;
_local1 = _local2.sendCompletion;
}
return(_local1);
}
function set sendCompletion(shouldSend) {
_sendCompletion = shouldSend;
//return(sendCompletion);
}
function get sendScoreAsPercent() {
return(_sendScoreAsPercent);
}
function set sendScoreAsPercent(asPercent) {
_sendScoreAsPercent = asPercent;
//return(sendScoreAsPercent);
}
function get trackingUpdateIntervalSecs() {
return(_trackingUpdateIntervalSecs);
}
function set trackingUpdateIntervalSecs(numSecs) {
_trackingUpdateIntervalSecs = numSecs;
//return(trackingUpdateIntervalSecs);
}
function get sendCourseDataWithInteractionData() {
return(_sendCourseDataWithInteractionData);
}
function set sendCourseDataWithInteractionData(doSend) {
_sendCourseDataWithInteractionData = doSend;
//return(sendCourseDataWithInteractionData);
}
function getQuizController(quizID) {
var _local3 = this;
if (quizID < 0) {
return(null);
}
var quizController = null;
var _local1 = 0;
while (_local1 < _local3._quizControllers.length) {
var _local2 = _local3._quizControllers[_local1];
if (_local2.quizParams.quizID == quizID) {
quizController = _local2;
}
_local1++;
}
if (quizController) {
return(quizController);
}
quizController = new MMQuizClasses.QuizController();
quizController.__set__quizParams(_local3.quizParamsOfQuiz(quizID));
quizController.__set__playbackController(_local3);
_local3._quizControllers.push(quizController);
return(quizController);
}
function _gotoFrame(frameNum) {
}
static function dispatchDoActionLater(params) {
var _local1 = params;
for (var i in _doActionLaterIntervals) {
var _local2 = _doActionLaterIntervals[i];
var _local3 = new Date();
if (_local2.params == _local1) {
if (((!_local1.counterObj) || ((_local1.counterObj._currentframe >= _local1.lowerFrame) && (_local1.counterObj._currentframe <= _local1.upperFrame))) || (_local3.getTime() > _local1.timeout)) {
clearInterval(_local2.intID);
_doActionLaterIntervals.splice(i, 1);
_local1.obj[_local1.funcName]();
}
}
}
}
static function doActionLater(obj, funcName, counterObj, lowerFrame, upperFrame, minDelayMsecs, maxDelayMsecs) {
var _local1 = maxDelayMsecs;
var _local2 = minDelayMsecs;
var _local3 = new Date();
if ((_local1 == undefined) || (_local1 == 0)) {
_local1 = 2000;
}
var timeout = (_local3.getTime() + _local1);
var params = {obj:obj, funcName:funcName, counterObj:counterObj, lowerFrame:lowerFrame, upperFrame:upperFrame, timeout:timeout};
if ((_local2 == undefined) || (_local2 == 0)) {
_local2 = 100;
}
var intID = setInterval(dispatchDoActionLater, _local2, params);
if (_doActionLaterIntervals == undefined) {
_doActionLaterIntervals = new Array();
}
_doActionLaterIntervals.push({params:params, intID:intID});
}
function _activateSlide(toSlide) {
_gotoFrame(toSlide.__get__firstFrameNum());
}
function _gotoSlide(toSlide, notifyOnly, p_fromHB) {
var _local1 = this;
var _local2 = toSlide;
if (p_fromHB == undefined) {
p_fromHB = false;
}
var _local3 = _local1.quizControllerForSlide(_local1.__get__currentSlide());
var toQuiz = _local1.quizControllerForSlide(_local2);
if (_local3) {
_local3.leaveCurrentSlide(_local2);
}
_local1.__set__currentSlide(_local2);
if (!notifyOnly) {
_local1._activateSlide(_local2);
}
_local1.onSlideChanged(_local2.__get__slideNum(), p_fromHB);
if (toQuiz) {
doActionLater(toQuiz, "enterCurrentSlide", _local1.__get__currentSlideContainer(), _local2.__get__firstFrameNum(), _local2.__get__lastFrameNum(), 100, 1000);
}
}
function gotoSlideNum(slideNum) {
return(gotoSlide(getSlide(slideNum)));
}
function finishCurrentQuiz() {
var _local1 = quizControllerForSlide(currentSlide);
_local1.finishQuiz();
}
function get isTracked() {
return(_isTracked);
}
function set isTracked(tracked) {
var _local1 = this;
var _local2 = tracked;
if (_local2 && (_local2 != _local1._isTracked)) {
_local1.turnOnTracking();
} else if ((!_local2) && (_local2 != _local1._isTracked)) {
_local1.turnOffTracking();
}
_local1._isTracked = _local2;
//return(_local1.__get__isTracked());
}
function get totalQuizScore() {
var _local1 = this;
var _local2 = 0;
for (var _local3 in _local1._quizControllers) {
_local2 = _local2 + _local1._quizControllers[_local3].score;
}
return(_local2);
}
function get totalQuizMaxScore() {
var _local1 = this;
var _local2 = 0;
for (var _local3 in _local1._quizControllers) {
_local2 = _local2 + _local1._quizControllers[_local3].maxScore;
}
return(_local2);
}
function get totalQuizMinScore() {
var _local1 = this;
var _local2 = 0;
for (var _local3 in _local1._quizControllers) {
_local2 = _local2 + _local1._quizControllers[_local3].minScore;
}
return(_local2);
}
function get totalQuizLocation() {
return(String(currentSlide.slideNum));
}
function set totalQuizLocation(theSlide) {
var _local1 = this;
_local1.gotoSlide(_local1.getSlide(Number(theSlide)));
//return(_local1.__get__totalQuizLocation());
}
function get totalQuizComplete() {
var _local1 = this;
if (_local1.__get__LMSIsBreeze()) {
var s = _local1.__get__totalQuizStatusAll();
if (s.isCompleted) {
return("completed");
}
return("incomplete");
}
var numQuizzes = _local1._quizParams.length;
for (var _local3 in _local1._quizParams) {
var _local2 = _local1.getQuizController(_local1._quizParams[_local3].quizID);
if (!_local2.__get__isCompleted()) {
return("incomplete");
}
}
return("completed");
}
function get totalQuizPassed() {
var _local1 = this;
if (_local1.__get__LMSIsBreeze()) {
var s = _local1.__get__totalQuizStatusAll();
if (s.isPassed) {
return("passed");
}
return("failed");
}
var numQuizzes = _local1._quizParams.length;
for (var _local3 in _local1._quizParams) {
var _local2 = _local1.getQuizController(_local1._quizParams[_local3].quizID);
if (!_local2.__get__isPassed()) {
return("failed");
}
}
return("passed");
}
function get totalQuizStatus() {
var _local1 = this;
var numQuizzes = _local1._quizParams.length;
for (var _local3 in _local1._quizParams) {
var _local2 = _local1.getQuizController(_local1._quizParams[_local3].quizID);
if (_local1.__get__sendCompletion() && (!_local2.__get__isCompleted())) {
return("incomplete");
}
if ((!_local1.__get__sendCompletion()) && (!_local2.__get__isPassed())) {
return("failed");
}
}
if (_local1.__get__sendCompletion()) {
return("completed");
}
return("passed");
}
function get totalQuizStatusAll() {
var _local2 = this;
var _local1 = {isPassed:false, isCompleted:false, sendCompletion:true, sendNothing:false};
var _local3 = "";
if (_local2.__get__LMSIsBreeze()) {
_local3 = "breeze";
} else {
_local3 = _local2.completionTrigger;
}
if (!(_local3 === "breeze")) {
} else if (_local2.__get__hasQuizzes()) {
if (_local2.__get__allQuestionsAnswered()) {
if (_local2.__get__allQuizzesPassed()) {
_local1.isPassed = true;
_local1.isCompleted = true;
_local1.sendCompletion = false;
} else {
_local1.isPassed = false;
_local1.isCompleted = true;
_local1.sendCompletion = false;
}
// unexpected jump
}
_local1.isPassed = false;
_local1.isCompleted = false;
_local1.sendCompletion = true;
} else if (_local2.__get__allSlidesSeen()) {
_local1.isPassed = true;
_local1.isCompleted = true;
_local1.sendCompletion = true;
} else {
_local1.isPassed = false;
_local1.isCompleted = false;
_local1.sendCompletion = true;
}
return(_local1);
}
function get allQuestionsAnswered() {
var _local1 = this;
for (var _local3 in _local1._quizParams) {
var _local2 = _local1.getQuizController(_local1._quizParams[_local3].quizID);
if (!_local2.__get__allQuestionsAnswered()) {
return(false);
}
}
return(true);
}
function get allQuizzesPassed() {
var _local1 = this;
for (var _local3 in _local1._quizParams) {
var _local2 = _local1.getQuizController(_local1._quizParams[_local3].quizID);
if (!_local2.__get__isPassed()) {
return(false);
}
}
return(true);
}
function get totalQuizTime() {
return(null);
}
function get totalQuizState() {
var _local1 = new MMQuizClasses.QuizState();
saveQuizState(_local1);
return(_local1.toString());
}
function init() {
var _local1 = this;
_local1._UIEventDispatcher = new mx.events.UIEventDispatcher();
if (_local1._quizControllers == undefined) {
_local1._quizControllers = [];
}
if (_local1._slides == undefined) {
_local1._slides = [];
}
if (_local1._quizParams == undefined) {
_local1._quizParams = [];
}
super.init();
doActionLater(_local1, "postInit", _local1.__get__currentSlideContainer(), _local1.currentSlideContainer._currentframe + 1, 9999999, 100, 1000);
}
function postInit() {
}
function onStartQuiz(qc) {
}
function sendCourseData(flush) {
var _local1 = this;
if (_local1._slideContainer) {
_local1._slideContainer.sendCourseData(flush);
} else {
var _local2 = _local1._tracking.currentTrackingAdapter();
if (_local1.__get__isTracked() && (_local2)) {
_local2.sendTrackingData(_local1.__get__totalQuizScore(), _local1.__get__totalQuizMinScore(), _local1.__get__totalQuizMaxScore(), _local1.__get__sendScoreAsPercent(), _local1.__get__totalQuizLocation(), _local1.__get__totalQuizComplete(), _local1.__get__totalQuizPassed(), _local1.__get__sendCompletion(), _local1.__get__totalQuizTime(), _local1.__get__totalQuizState());
if (flush) {
_local2.flush();
}
}
}
}
function sendInteractionData(questionScore) {
if (_slideContainer) {
_slideContainer.sendInteractionData(questionScore);
} else if (isTracked && (trackingLevel == "interactions")) {
var trackingAdapter = _tracking.currentTrackingAdapter();
if (trackingAdapter) {
with (questionScore) {
trackingAdapter.sendInteractionData(interactionID, objectiveID, interactionType, correctAnswersAsString, chosenAnswersAsString, isCorrectAsString, weighting, latencyAsSeconds, curDateAsString, curTimeAsSecondsSinceMidnight);
}
}
}
}
function onEndQuiz(qc) {
var _local1 = this;
if (_local1.__get__isTracked() && (_local1.LMSType.toUpperCase() != "EMAIL")) {
_local1.sendCourseData(true);
}
}
function sendEmailResults() {
var _local1 = this;
if (_local1.__get__isTracked() && (_local1.LMSType.toUpperCase() == "EMAIL")) {
_local1.sendCourseData(true);
}
}
function doSendLMSTrackingData(pbcontroller) {
pbcontroller.sendCourseData(false);
}
function doPollLMSInitialized(pbcontroller) {
var _local2 = this;
var _local3 = pbcontroller;
var _local1 = _local3._tracking.currentTrackingAdapter();
if (_local1 && (_local1.isInitialized())) {
clearInterval(_local3._pollLMSIntervalID);
_local1.getTrackingData();
_local2._pollLMSIntervalID = setInterval(_local2, "doPollLMSGetTrackingDataLoaded", 250, _local2);
_local2._pollLMSStartTime = new Date();
} else {
var curTime = new Date();
var deltaSecs = ((curTime.getTime() - _local3._pollLMSStartTime.getTime()) / 1000);
if (deltaSecs > _local3.__get__pollLMSInitializeTimeoutSecs()) {
_local2.turnOffTracking();
}
}
}
function _doPollLMSGetTrackingDataLoaded() {
var _local1 = this;
if (_local1.__get__isTracked()) {
var _local2 = _local1._tracking.currentTrackingAdapter();
if (_local2 && (_local2.isTrackingDataLoaded())) {
clearInterval(_local1._pollLMSIntervalID);
var quizLocation = _local2.getLessonLocation();
var quizStateStr = _local2.getLessonData();
var _local3 = new MMQuizClasses.QuizState();
_local3.fromString(quizStateStr);
_local1.restoreQuizState(_local3);
_local1.__set__loadingResumeData(false);
_local1._pollLMSIntervalID = setInterval(_local1, "doSendLMSTrackingData", _local1.__get__trackingUpdateIntervalSecs() * 1000, _local1);
} else {
var curTime = new Date();
var deltaSecs = ((curTime.getTime() - _local1._pollLMSStartTime.getTime()) / 1000);
if (deltaSecs > _local1.__get__pollLMSGetTrackingDataTimeoutSecs()) {
_local1.turnOffTracking();
}
}
}
}
function doPollLMSGetTrackingDataLoaded(pbcontroller) {
pbcontroller._doPollLMSGetTrackingDataLoaded();
}
function turnOnTracking() {
var _local1 = this;
if ((!_local1._trackingIsOn) && (!_local1._slideContainer)) {
_local1.__set__loadingResumeData(true);
_local1._tracking = new MMQuizClasses.lms.Tracking();
_local1._tracking.createTrackingAdapter(_local1.__get__LMSType(), _local1.__get__AuthorwareDelimeter(), _local1.__get__emailAddress(), _local1.__get__currentSlideContainer());
_local1._pollLMSIntervalID = setInterval(_local1, "doPollLMSInitialized", 250, _local1);
_local1._pollLMSStartTime = new Date();
_local1._trackingIsOn = true;
}
}
function turnOffTracking() {
var _local1 = this;
if (_local1._trackingIsOn) {
_local1._loadingResumeData = false;
clearInterval(_local1._pollLMSIntervalID);
_local1._trackingIsOn = false;
}
}
function doFinalExit() {
var _local1 = this;
_local1.turnOffTracking();
if (_local1._allowForceQuitContainer) {
if (_root.FlashPlayer) {
fscommand ("quit");
} else if (_local1.LMSType.toUpperCase() != "AUTHORWARE") {
(_local1.getURL("javascript:window.close();", "_self"));// not popped
}
}
}
function exitCourse() {
var _local1 = this;
if (_local1._slideContainer) {
_local1._slideContainer.exitCourse();
} else if (_local1.__get__isTracked() && (_local1._tracking.currentTrackingAdapter())) {
if (_local1.LMSType.toUpperCase() != "EMAIL") {
_local1.sendCourseData(true);
}
_local1._tracking.currentTrackingAdapter().finish();
doActionLater(_local1, "doFinalExit", null, 0, 0, 3000, 3000);
} else {
_local1.doFinalExit();
}
}
function onPlayStateChanged(p_fromHB) {
var _local1 = this;
var _local2 = p_fromHB;
if (_local2 == undefined) {
_local2 = false;
}
_local1.dispatchEvent({type:"playStateChanged", target:_local1, isPlaying:_local1.isPlaying(), fromHB:_local2});
}
function onScrubChanged() {
var _local1 = this;
_local1.dispatchEvent({type:"scrubChanged", target:_local1, scrub:_local1.getScrubPosition()});
}
function onSlideChanged(i, p_fromHB) {
var _local1 = this;
var _local2 = i;
var _local3 = p_fromHB;
if (_local3 == undefined) {
_local3 = false;
}
if ((_local2 >= 0) && (_local2 < _local1.slides.length)) {
_local1.__set__currentSlide(_local1.slides[_local2]);
_local1.currentSlide.seen = true;
}
_local1.dispatchEvent({type:"slideChanged", target:_local1, slideNum:_local1.currentSlide.slideNum, fromHB:_local3});
}
function onCurrentSlideLoaded(p_fromHB) {
var _local1 = this;
var _local2 = p_fromHB;
if (_local2 == undefined) {
_local2 = false;
}
_local1.dispatchEvent({type:"currentSlideLoaded", target:_local1, slideNum:_local1.currentSlide.slideNum, fromHB:_local2});
}
function onVolumeChanged(newVolume, p_fromHB) {
var _local1 = p_fromHB;
if (_local1 == undefined) {
_local1 = false;
}
dispatchEvent({type:"volumeChanged", target:this, volume:newVolume, fromHB:_local1});
}
function onIsScrubbingChanged(p_fromHB) {
var _local1 = this;
var _local2 = p_fromHB;
if (_local2 == undefined) {
_local2 = false;
}
_local1.dispatchEvent({type:"isScrubbingChanged", target:_local1, isScrubbing:_local1.getIsScrubbing(), fromHB:_local2});
}
function getCurrentFrame() {
return(0);
}
function isReady() {
return(false);
}
function getCurrentSlideIndex() {
return(currentSlide.slideNum);
}
function getSlideInfo(slideNum) {
var _local1 = slideNum;
if ((_local1 < 0) || (_local1 >= slides.length)) {
return(null);
}
return(getSlide(_local1));
}
function getNumSlides() {
return(slides.length);
}
function getSlideAfter(s) {
var _local2 = quizControllerForSlide(s);
var _local1 = null;
if (_local2) {
var _local3 = _local2.__get__quizParams();
var lastSlideNum = _local3.lastSlideInQuiz.slideNum;
_local1 = _local2.slideAfter(s);
if (_local2.__get__inReviewMode()) {
while ((_local1 && (_local1.__get__slideNum() < lastSlideNum)) && (_local3.getSlideType(_local1) == "")) {
_local1 = _local2.slideAfter(_local1);
}
}
}
if (!_local1) {
_local1 = getSlide(s.__get__slideNum() + 1);
}
return(_local1);
}
function gotoNextSlide() {
var _local1 = this;
return(_local1.gotoSlide(_local1.getSlideAfter(_local1.__get__currentSlide())));
}
function getSlideBefore(s) {
var _local3 = this;
var qc = _local3.quizControllerForSlide(s);
var _local1 = null;
if (qc) {
var qp = qc.__get__quizParams();
var _local2 = qp.firstSlideInQuiz.slideNum;
_local1 = qc.slideBefore(s);
if (qc.__get__inReviewMode()) {
if (_local1.__get__slideNum() < _local2) {
_local1 = _local3.getSlide(_local2);
} else {
while ((_local1 && (_local1.__get__slideNum() > _local2)) && (qp.getSlideType(_local1) == "")) {
_local1 = _local3.getSlide(_local1.__get__slideNum() - 1);
}
}
}
}
if (!_local1) {
_local1 = _local3.getSlide(s.__get__slideNum() - 1);
}
return(_local1);
}
function gotoPrevSlide() {
var _local1 = this;
return(_local1.gotoSlide(_local1.getSlideBefore(_local1.__get__currentSlide())));
}
function gotoSlideEx(slide, p_notifyOnly, p_fromHB) {
var _local3 = this;
var _local2 = slide;
var _local1 = _local3.allowedToGoToSlide(_local3.__get__currentSlide(), _local2);
if (_local1 == "") {
_local3._gotoSlide(_local2, p_notifyOnly, p_fromHB);
}
return(_local1);
}
function gotoSlide(slide) {
return(gotoSlideEx(slide, false, false));
}
function allowedToGoToSlide(fromSlide, toSlide) {
var _local1 = fromSlide;
var _local3 = toSlide;
var _local2 = "";
var movingBackward = (_local3.slideNum < _local1.slideNum);
var fromQuiz;
var toQuiz;
var inc = ((_local1.slideNum < _local3.slideNum) ? 1 : -1);
if (_loadingResumeData) {
return("QUIZ_ERROR_WAITING_FOR_LMS_RESUME_DATA");
}
if ((((_local1 == undefined) || (!_local1)) || (_local3 == undefined)) || (!_local3)) {
return("QUIZ_ERROR_BAD_SLIDE_NUM");
}
while (true) {
if (_local1.sameSlideAs(_local3)) {
toQuiz = quizControllerForSlide(_local3);
if (toQuiz) {
return(toQuiz.canEnterSlide(_local3));
}
return("");
}
fromQuiz = quizControllerForSlide(_local1);
if (fromQuiz) {
_local2 = fromQuiz.canLeaveSlide(_local1, movingBackward);
} else {
_local2 = "";
}
if (_local2 != "") {
return(_local2);
}
_local1 = getSlide(_local1.slideNum + inc);
}
return(_local3);
}
function reviewAnswersForCurrentQuiz() {
var _local1 = quizControllerForSlide(currentSlide);
_local1.reviewAnswers();
}
function showUI(part, show) {
return(false);
}
function setPlaying(playing) {
}
function isPlaying() {
return(false);
}
function getScrubDuration(slideIndex) {
return(0);
}
function getScrubStart(slideIndex) {
return(0);
}
function getScrubPosition() {
return(0);
}
function gotoScrubPosition(position) {
}
function setContainer(container) {
_slideContainer = container;
}
function saveQuizState(state) {
var _local1 = this;
var _local3 = state;
_local3.writeNumber(_local1.currentSlide.slideNum);
if (_local1.__get__LMSIsBreeze()) {
for (var whichSlide in _local1.__get__slides()) {
_local3.writeBoolean(_local1.slides[whichSlide].seen);
}
}
for (var whichQuiz in _local1._quizParams) {
var _local2 = _local1.getQuizController(_local1._quizParams[whichQuiz].quizID);
_local2.saveState(_local3);
}
return("");
}
function gotoRestoredQuizSlide() {
var _local1 = this;
_local1.__set__currentSlide(_local1.getSlide(_local1._restoredSlideNum));
_local1._restoringQuizState = true;
_local1._gotoSlide(_local1.getSlide(_local1._restoredSlideNum), false, false);
}
function restoreQuizState(state) {
var _local1 = this;
var _local3 = state;
var stateStr = _local3.toString();
if (stateStr.length > 0) {
_local1._restoredSlideNum = _local3.readNumber();
if (_local1.__get__LMSIsBreeze()) {
for (var whichSlide in _local1.__get__slides()) {
_local1.slides[whichSlide].seen = _local3.readBoolean();
}
}
for (var whichQuiz in _local1._quizParams) {
var _local2 = _local1.getQuizController(_local1._quizParams[whichQuiz].quizID);
_local2.restoreState(_local3);
}
doActionLater(_local1, "gotoRestoredQuizSlide", null, 0, 0, 500, 500);
}
return("");
}
function getTotalQuizScore() {
return(totalQuizScore);
}
function getMinQuizScore() {
return(totalQuizMinScore);
}
function getMaxQuizScore() {
return(totalQuizMaxScore);
}
function isQuizPassed() {
return(totalQuizPassed == "passed");
}
function isQuizCompleted() {
return(totalQuizComplete == "completed");
}
function setSize(newWidth, newHeight) {
}
function addEventListener(eventName, listenerObj) {
_UIEventDispatcher.addEventListener(eventName, listenerObj);
}
function dispatchEvent(eventObj) {
_UIEventDispatcher.dispatchEvent(eventObj);
}
function removeEventListener(event, handler) {
_UIEventDispatcher.removeEventListener(event, handler);
}
function getVolume() {
return(0);
}
function setVolume(v) {
}
function getIsScrubbing() {
return(false);
}
function getSupportsSyncPlayback() {
return(true);
}
function setAllowForceQuitContainer(allow) {
_allowForceQuitContainer = allow;
}
function hasProperty(prop) {
return(false);
}
function getSlideViewMetrics() {
return({left:0, top:0, right:0, bottom:0});
}
function setSyncMode(p_mode) {
}
function setPlayAndScrub(p_playing, p_position) {
return(false);
}
function close() {
}
var _UIEventDispatcher = null;
var _currentSlide = null;
var _isTracked = false;
var _trackingUpdateIntervalSecs = 120;
var _sendCourseDataWithInteractionData = false;
var _LMSType = "SCORM";
var _AuthorwareDelimeter = ";";
var _emailAddress = "";
var _pollLMSIntervalID = 0;
var _pollLMSInitializeTimeoutSecs = 2;
var _pollLMSGetTrackingDataTimeoutSecs = 15;
var _trackingIsOn = false;
var _loadingResumeData = false;
var completionValueToSend = "default";
var completionTrigger = "quiz_only";
var completionSlideViewPercentage = 100;
var _sendCompletion = false;
var _sendScoreAsPercent = false;
var _trackingLevel = "interactions";
var _courseIsComplete = false;
var _slideContainer = null;
var _restoredSlideNum = 0;
var _restoringQuizState = false;
var _allowForceQuitContainer = true;
}
Symbol 54 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher
{
var owner, __origAddEventListener;
function UIEventDispatcher () {
super();
}
static function addKeyEvents(obj) {
var _local2 = obj;
if (_local2.keyHandler == undefined) {
var _local1 = (_local2.keyHandler = new Object());
_local1.owner = _local2;
_local1.onKeyDown = _fEventDispatcher.onKeyDown;
_local1.onKeyUp = _fEventDispatcher.onKeyUp;
}
Key.addListener(_local2.keyHandler);
}
static function removeKeyEvents(obj) {
Key.removeListener(obj.keyHandler);
}
static function addLoadEvents(obj) {
var _local1 = obj;
if (_local1.onLoad == undefined) {
_local1.onLoad = _fEventDispatcher.onLoad;
_local1.onUnload = _fEventDispatcher.onUnload;
if (_local1.getBytesTotal() == _local1.getBytesLoaded()) {
_local1.doLater(_local1, "onLoad");
}
}
}
static function removeLoadEvents(obj) {
delete obj.onLoad;
delete obj.onUnload;
}
static function initialize(obj) {
var _local1 = obj;
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.UIEventDispatcher();
}
_local1.addEventListener = _fEventDispatcher.__addEventListener;
_local1.__origAddEventListener = _fEventDispatcher.addEventListener;
_local1.removeEventListener = _fEventDispatcher.removeEventListener;
_local1.dispatchEvent = _fEventDispatcher.dispatchEvent;
_local1.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchEvent(eventObj) {
var _local1 = eventObj;
var _local2 = this;
if (_local1.target == undefined) {
_local1.target = _local2;
}
_local2[_local1.type + "Handler"](_local1);
_local2.dispatchQueue(mx.events.EventDispatcher, _local1);
_local2.dispatchQueue(_local2, _local1);
}
function onKeyDown(Void) {
owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onKeyUp(Void) {
owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onLoad(Void) {
var _local1 = this;
if (_local1.__sentLoadEvent != true) {
_local1.dispatchEvent({type:"load"});
}
_local1.__sentLoadEvent = true;
}
function onUnload(Void) {
dispatchEvent({type:"unload"});
}
function __addEventListener(event, handler) {
var _local3 = event;
__origAddEventListener(_local3, handler);
var _local2 = lowLevelEvents;
for (var i in _local2) {
if (mx.events.UIEventDispatcher[i][_local3] != undefined) {
var _local1 = _local2[i][0];
mx.events.UIEventDispatcher[_local1](this);
}
}
}
function removeEventListener(event, handler) {
var _local3 = event;
var queueName = ("__q_" + _local3);
mx.events.EventDispatcher._removeEventListener(this[queueName], _local3, handler);
if (this[queueName].length == 0) {
var _local1 = lowLevelEvents;
for (var i in _local1) {
if (mx.events.UIEventDispatcher[i][_local3] != undefined) {
var _local2 = _local1[i][1];
mx.events.UIEventDispatcher[_local1[i][1]](this);
}
}
}
}
static var keyEvents = {keyDown:1, keyUp:1};
static var loadEvents = {load:1, unload:1};
static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]};
static var _fEventDispatcher = undefined;
}
Symbol 55 MovieClip [__Packages.MMQuizClasses.lms.Tracking] Frame 0
class MMQuizClasses.lms.Tracking
{
var MMtrackingAdapter_mc;
function Tracking () {
}
static function buildDepthTable(p_mc) {
var _local3 = p_mc;
var depthTable = new Array();
var j;
for (j in _local3) {
var _local1 = _local3[j];
var _local2 = typeof(_local1);
if ((_local2 == "movieclip") || ((_local2 == "object") && (_local1.__getTextFormat != undefined))) {
if (_local1._parent == _local3) {
depthTable[_local1.getDepth()] = _local1;
}
}
}
return(depthTable);
}
static function findNextAvailableDepth(p_depthTable) {
var _local2 = p_depthTable;
if (_local2[0] == undefined) {
return(0);
}
var _local1 = 0;
while (_local2[_local1] != undefined) {
_local1++;
}
return(_local1);
}
function createExternalAdapter(target_obj, timeout_int, adapterType_str, adapterDelimiter_str, adapterEMail_str, adapterReference_obj) {
var _local1 = adapterReference_obj;
if ((typeof(_local1.createTrackingAdapter) != undefined) && (getTimer() <= timeout_int)) {
clearInterval(target_obj.interval_int);
if (!_local1.createTrackingAdapter(adapterType_str, adapterDelimiter_str, adapterEMail_str, _local1)) {
target_obj.createInternalAdapter(adapterType_str, adapterDelimiter_str, adapterEMail_str, _local1);
}
}
}
function waitForExternalAdapter(target_obj, adapterType_str, adapterDelimiter_str, adapterEMail_str, adapterReference_obj) {
var _local1 = target_obj;
_local1.interval_int = setInterval(_local1.createExternalAdapter, 250, _local1, getTimer() + (adapterCreateTimeoutSecs_int * 1000), adapterType_str, adapterDelimiter_str, adapterEMail_str, adapterReference_obj);
}
function loadExternalAdapter(target_obj, timeout_int, adapterType_str, adapterDelimiter_str, adapterEMail_str, adapterReference_obj) {
var _local1 = target_obj;
var _local2 = adapterReference_obj;
var _local3 = (_local2.getBytesLoaded() / _local2.getBytesTotal()) * 100;
if ((!isNaN(_local3)) && (_local3 > 0)) {
clearInterval(_local1.interval_int);
_local2.onLoad = _local1.waitForExternalAdapter(_local1, adapterType_str, adapterDelimiter_str, adapterEMail_str, _local2);
} else if (getTimer() > timeout_int) {
clearInterval(_local1.interval_int);
_local1.createInternalAdapter(adapterType_str, adapterDelimiter_str, adapterEMail_str, _local2);
}
}
function createTrackingAdapter(adapterType, adapterDelimiter, adapterEMail, adapterReference) {
var _local1 = this;
var _local2 = adapterReference;
if (_local1.currentTrackingAdapter()) {
return(true);
}
if (_local2 == undefined) {
_local2 = _root;
}
var _local3 = buildDepthTable(_local2);
var depth = findNextAvailableDepth(_local3);
_local1.MMtrackingAdapter_mc = _local2.createEmptyMovieClip("MMtracking_mc", depth);
_local1.MMtrackingAdapter_mc.loadMovie("MMtracking.swf");
_local1.interval_int = setInterval(_local1.loadExternalAdapter, 250, _local1, getTimer() + (_local1.adapterLoadTimeoutSecs_int * 1000), adapterType, adapterDelimiter, adapterEMail, _local1.MMtrackingAdapter_mc);
return(undefined);
}
function createInternalAdapter(adapterType_str, adapterDelimiter_str, adapterEMail_str, adapterReference_obj) {
var _local1 = this;
var _local3 = adapterReference_obj;
var _local2 = new MMQuizClasses.lms.Utilities(_local3);
var adapterType_ary = new Array();
_local1.response = new MMQuizClasses.lms.Response(_local3);
if ((adapterType_str == undefined) || (adapterType_str == "")) {
adapterType_ary = ["BREEZE", "AICC", "SCORM_1_3", "SCORM_1_2"];
} else if (adapterType_str.toUpperCase() == "SCORM") {
adapterType_ary = ["BREEZE", "SCORM_1_3", "SCORM_1_2", "AICC"];
} else {
adapterType_ary = ["BREEZE", adapterType_str.toUpperCase(), "SCORM_1_3", "SCORM_1_2", "AICC"];
}
var counter_int = 0;
while ((_local1.MMtrackingAdapter_mc.MMtracking == null) && (counter_int < adapterType_ary.length)) {
_local1.trackingType_str = adapterType_ary[counter_int];
switch (_local1.trackingType_str) {
case "AUTHORWARE" :
_local1.MMtrackingAdapter_mc.MMtracking = new MMQuizClasses.lms.Authorware(_local3, adapterDelimiter_str);
_local1.MMtrackingAdapter_mc.MMtracking.initialize();
_local1.MMtrackingAdapter_mc.MMtracking.getTrackingData();
break;
case "QUESTIONMARK" :
_local1.MMtrackingAdapter_mc.MMtracking = new MMQuizClasses.lms.QuestionMark(_local3);
_local1.MMtrackingAdapter_mc.MMtracking.initialize();
_local1.MMtrackingAdapter_mc.MMtracking.getTrackingData();
break;
case "BREEZE" :
var temp_obj = _local2.findParameter("airspeed");
if (temp_obj != undefined) {
_local1.MMtrackingAdapter_mc.MMtracking = new MMQuizClasses.lms.Breeze(_local3, temp_obj._url);
_local1.MMtrackingAdapter_mc.MMtracking.initialize();
_local1.MMtrackingAdapter_mc.MMtracking.getTrackingData();
}
break;
case "AICC" :
var temp_obj = _local2.findParameter("aicc_url");
if (temp_obj != undefined) {
_local1.MMtrackingAdapter_mc.MMtracking = new MMQuizClasses.lms.AICC(_local3, temp_obj._url);
_local1.MMtrackingAdapter_mc.MMtracking.initialize();
_local1.MMtrackingAdapter_mc.MMtracking.getTrackingData();
}
break;
case "SCORM_1_3" :
var temp_obj = _local2.findParameter("scorm_api");
if ((temp_obj != undefined) && (_local2.getParameter("scorm_api", temp_obj._url) > "0.2")) {
_local1.MMtrackingAdapter_mc.MMtracking = new MMQuizClasses.lms.SCORM_1_3(_local3, _local2.getParameter("scorm_type", temp_obj._url));
_local1.MMtrackingAdapter_mc.MMtracking.initialize();
}
break;
case "SCORM_1_2" :
var temp_obj = _local2.findParameter("scorm_api");
if ((temp_obj != undefined) && (_local2.getParameter("scorm_api", temp_obj._url) == "0.2")) {
_local1.MMtrackingAdapter_mc.MMtracking = new MMQuizClasses.lms.SCORM_1_2(_local3, _local2.getParameter("scorm_type", temp_obj._url));
_local1.MMtrackingAdapter_mc.MMtracking.initialize();
}
break;
case "EMAIL" :
_local1.MMtrackingAdapter_mc.MMtracking = new MMQuizClasses.lms.EMail(_local3, adapterEMail_str);
_local1.MMtrackingAdapter_mc.MMtracking.initialize();
_local1.MMtrackingAdapter_mc.MMtracking.getTrackingData();
}
counter_int++;
}
if (_local1.MMtrackingAdapter_mc.MMtracking != null) {
_local1.MMtrackingAdapter_mc.MMtracking.setTrackingAdapterType(0, _local1.trackingType_str);
} else if ((adapterType_str == undefined) || (adapterType_str == "")) {
_local1.MMtrackingAdapter_mc.MMtracking = new MMQuizClasses.lms.TrackingAdapter(_local3);
_local1.MMtrackingAdapter_mc.MMtracking.initialize();
_local1.MMtrackingAdapter_mc.MMtracking.setTrackingAdapterType(0, "TrackingAdapter");
}
}
function currentTrackingAdapter() {
return(MMtrackingAdapter_mc.MMtracking);
}
var response = null;
var trackingType_str = "";
var adapterLoadTimeoutSecs_int = 1.5;
var adapterCreateTimeoutSecs_int = 1.5;
}
Symbol 56 MovieClip [__Packages.MMQuizClasses.lms.Response] Frame 0
class MMQuizClasses.lms.Response
{
var _array_str, _obj, _useGlobalResponse_bln;
function Response (_globalObject) {
var _local1 = this;
if (_globalObject != undefined) {
_local1.setGlobalResponse(true);
_local1._obj = _globalObject;
_local1._array_str = "globalResponse_array";
if (_local1._obj[_local1._array_str] == undefined) {
_local1._obj.globalResponse_array = [];
}
} else {
_local1.setGlobalResponse(false);
_local1._obj = _local1;
_local1._array_str = "_array";
_local1._array = [];
}
}
function waitForResponse(variable_str, variableDefault_var, this_obj, function_str, functionParam1_var, functionParam2_var, functionParam3_var, functionParam4_var, timeout_var) {
var arrayLength_int = _obj[_array_str].length;
if (timeout_var != undefined) {
if (typeof(timeout_var) == "string") {
timeout_var = eval (timeout_var);
}
if (timeout_var < getTimer()) {
timeout_var = timeout_var + getTimer();
}
} else {
timeout_var = _timeout + getTimer();
}
_obj[_array_str][arrayLength_int] = setInterval(checkResponse, _interval, variable_str, variableDefault_var, this_obj, function_str, functionParam1_var, functionParam2_var, functionParam3_var, functionParam4_var, timeout_var, arrayLength_int, this);
}
function checkResponse(variable_str, variableDefault_var, this_obj, function_str, functionParam1_var, functionParam2_var, functionParam3_var, functionParam4_var, timeout_var, arrayLength_int, response_obj) {
if (variable_str.indexOf(".") > 0) {
var variableOriginal_str = variable_str;
var refOriginal_obj = this_obj;
var ref_obj = eval (variable_str.substr(0, variable_str.indexOf(".")));
variable_str = variable_str.substr(variable_str.indexOf(".") + 1);
} else {
var ref_obj = this_obj;
}
if (typeof(ref_obj[variable_str]) == "function") {
var response_var = ref_obj[variable_str]();
} else if (typeof(this[variable_str]) == "function") {
var response_var = this[variable_str]();
} else if (typeof(this_obj[ref_obj][variable_str]) != "undefined") {
var response_var = this_obj[ref_obj][variable_str];
} else if (typeof(ref_obj[variable_str]) != "undefined") {
var response_var = ref_obj[variable_str];
} else if (typeof(refOriginal_obj[variableOriginal_str]) != "undefined") {
var response_var = refOriginal_obj[variableOriginal_str];
} else if (typeof(eval (variableOriginal_str)) != "undefined") {
var response_var = eval (variableOriginal_str);
} else {
var response_var = eval (variable_str);
}
if ((response_var != variableDefault_var) || (timeout_var <= getTimer())) {
clearInterval(response_obj._obj[response_obj._array_str][arrayLength_int]);
if (function_str.indexOf(".") > 0) {
var func_obj = function_str.substr(0, function_str.indexOf("."));
function_str = function_str.substr(function_str.indexOf(".") + 1);
} else {
var func_obj = this_obj;
}
if (typeof(func_obj[function_str]) == "function") {
func_obj[function_str](functionParam1_var, functionParam2_var, functionParam3_var, functionParam4_var);
} else if (typeof(this[function_str]) == "function") {
this[function_str](functionParam1_var, functionParam2_var, functionParam3_var, functionParam4_var);
} else if (typeof(this_obj[func_obj][function_str]) == "function") {
this_obj[func_obj][function_str](functionParam1_var, functionParam2_var, functionParam3_var, functionParam4_var);
} else {
this_obj[function_str](functionParam1_var, functionParam2_var, functionParam3_var, functionParam4_var);
}
}
}
function getResponseLength() {
return(_obj[_array_str].length);
}
function setResponseTimeOut(timeoutLimit_int) {
_timeout = timeoutLimit_int;
}
function getResponseTimeOut() {
return(_timeout);
}
function setResponseInterval(interval_int) {
_interval = interval_int;
}
function getResponseInterval() {
return(_interval);
}
function isGlobalResponse() {
return(_useGlobalResponse_bln);
}
function setGlobalResponse(value_bln) {
_useGlobalResponse_bln = value_bln;
}
var _timeout = 5000;
var _interval = 100;
}
Symbol 57 MovieClip [__Packages.MMQuizClasses.lms.Utilities] Frame 0
class MMQuizClasses.lms.Utilities
{
var adapterObject;
function Utilities (_adapterObject) {
if (_adapterObject != undefined) {
adapterObject = _adapterObject;
} else {
adapterObject = _root;
}
}
function findDomain(serverURL, ignorePort_bln) {
var _local2 = "://";
var _local1 = serverURL;
var _local3 = _local1.indexOf(_local2);
if (_local3 > -1) {
if (_local1.indexOf("/", _local3 + _local2.length) > 0) {
_local1 = _local1.substr(_local3 + _local2.length, _local1.indexOf("/", _local3 + _local2.length) - (_local3 + _local2.length));
} else {
_local1 = _local1.substr(_local3 + _local2.length);
}
} else if (_local1.indexOf("/", 1) > 0) {
_local1 = _local1.substr(0, _local1.indexOf("/", 1));
} else {
}
if (ignorePort_bln) {
_local3 = _local1.indexOf(":");
if (_local3 > -1) {
_local1 = _local1.substring(0, _local3);
}
}
return(_local1);
}
function findProtocol(serverURL, localURL) {
var _local2 = "://";
var _local1 = serverURL;
var _local3 = _local1.indexOf(_local2);
if (_local3 > -1) {
_local1 = _local1.substr(0, _local3 + _local2.length);
} else if ((localURL == undefined) || (localURL == "")) {
if (serverURL == _url) {
_local1 = "";
} else {
_local1 = findProtocol(_url);
}
} else {
_local1 = findProtocol(localURL);
}
return(_local1);
}
function getVersionPlayer(type_int) {
var _local2 = getVersion();
var _local1 = _local2.split(" ");
_local1 = _local1[1];
_local1 = _local1.split(",");
if (type_int == undefined) {
return(_local1);
}
return(_local1[type_int]);
}
function findParameter(type_str) {
var _local3 = this;
var _local1 = _local3.adapterObject;
var _local2 = _local1._url;
while ((_local1 != undefined) && (_local3.getParameter(type_str, _local2) == "")) {
_local1 = _local1._parent;
_local2 = _local1._url;
}
return(_local1);
}
function getParameter(value_str, search_var, delimiter_str) {
var _local2 = value_str;
var result_str = "";
var result_obj = new Object();
var _local1 = new Object();
if (delimiter_str == undefined) {
delimiter_str = "=";
}
if ((search_var == undefined) || (search_var == "")) {
search_var = _url;
search_var = search_var.split("?")[1].split("&");
} else {
search_var = search_var;
if (typeof(search_var) == "string") {
if ((search_var.indexOf("?") != -1) && (search_var.indexOf("=") != -1)) {
search_var = search_var.split("?")[1];
}
var temp_array = ["&", "\r\n", "\r", newline, ",", ";"];
var _local3 = 0;
while (_local3 < temp_array.length) {
if ((search_var.indexOf(temp_array[_local3]) != -1) && (search_var.indexOf("=") != -1)) {
_local1 = search_var.split(temp_array[_local3]);
break;
}
_local3++;
}
if ((_local3 == temp_array.length) && (search_var.indexOf(delimiter_str) > -1)) {
_local1[0] = search_var;
}
}
}
for (var param_str in _local1) {
if (((typeof(_local1) == "string") || (typeof(_local1) == "object")) && (_local1[param_str].indexOf(delimiter_str) != -1)) {
if ((_local2 != undefined) && (_local2 != "")) {
if (unescape(_local1[param_str].toString().substr(0, _local1[param_str].indexOf(delimiter_str)).toLowerCase()) == _local2.toLowerCase()) {
result_str = _local1[param_str].substr(_local1[param_str].indexOf(delimiter_str) + 1, _local1[param_str].length - 1);
}
} else {
result_obj[unescape(_local1[param_str].toString().substr(0, _local1[param_str].indexOf(delimiter_str)))] = _local1[param_str].substr(_local1[param_str].indexOf(delimiter_str) + 1, _local1[param_str].length - 1);
}
} else if ((_local2 != undefined) && (_local2 != "")) {
if ((param_str.toLowerCase() == _local2.toLowerCase()) || (_local1[param_str].toLowerCase() == _local2.toLowerCase())) {
result_str = _local1[param_str];
}
} else {
result_obj[param_str] = _local1[param_str];
}
}
if ((_local2 != undefined) && (_local2 != "")) {
return(result_str);
}
return(result_obj);
}
}
Symbol 58 MovieClip [__Packages.MMQuizClasses.lms.TrackingAdapter] Frame 0
class MMQuizClasses.lms.TrackingAdapter
{
var crossDomain_bln, _initialized_bln, timer_str, score_pass, score_tot, time, success_status, lesson_mode, student_id, student_name, credit, entry, score_raw, score_max, score_min, lesson_location, lesson_data, vendor_data, lesson_status_array, score_array, mastery_score, max_time_allowed, time_limit_action, lmsQueue, crossDomain;
function TrackingAdapter (adapterReference_obj) {
var _local1 = this;
if (adapterReference_obj != undefined) {
_local1.setObjectReference(adapterReference_obj);
}
_local1.trackingAdapterType.type_int = -1;
_local1.trackingAdapterType.type_str = null;
_local1.addProperty("score", _local1.getScore, _local1.setScore);
_local1.addProperty("core_lesson", _local1.getLessonData, _local1.setLessonData);
_local1.addProperty("core_vendor", _local1.getVendorData, _local1.setVendorData);
_local1.addProperty("session_time", _local1.getTimeInSession, _local1.setTimeInSession);
_local1.addProperty("total_time", _local1.getTimeInSession, _local1.setTimeInSession);
}
function isCrossDomain() {
return(crossDomain_bln);
}
function get initialized_bln() {
return(_initialized_bln);
}
function set initialized_bln(value_bln) {
var _local1 = value_bln;
if (_local1 == "true") {
_local1 = true;
} else if (_local1 == "false") {
_local1 = false;
}
_initialized_bln = _local1;
//return(initialized_bln);
}
function isInitialized() {
return(initialized_bln);
}
function isInteractionDataTracked() {
return(interactionDataTracked_bln);
}
function isTrackingDataLoaded() {
return(trackingDataLoaded_bln);
}
function getShowErrors() {
return(showErrors_int);
}
function getErrorArray() {
return(errors_array);
}
function getLastError() {
return(_getLastError());
}
function getLastErrorNumber() {
return(_getLastError("error_int"));
}
function getLastErrorString() {
return(_getLastError("error_str"));
}
function getLastErrorCommand() {
return(_getLastError("command"));
}
function _getLastError(propertyName) {
var _local1 = this;
if ((_local1.errors_array.length == 0) || (_local1.errors_array[_local1.errors_array.length - 1] == undefined)) {
return(null);
}
if (propertyName == undefined) {
return(_local1.errors_array[_local1.errors_array.length - 1]);
}
return(_local1.errors_array[_local1.errors_array.length - 1][propertyName]);
}
function getTrackingAdapterType() {
return(trackingAdapterType);
}
function setTrackingAdapterType(adapterType_int, adapterType_str) {
trackingAdapterType.type_int = adapterType_int;
trackingAdapterType.type_str = adapterType_str;
}
function initialize() {
return(initialized_bln);
}
function flush() {
}
function finish() {
}
function setInitialized(value_bln) {
initialized_bln = (value_bln);
}
function getInteractionDataTracked() {
return(interactionDataTracked_bln);
}
function setInteractionDataTracked(isTracked_bln) {
interactionDataTracked_bln = isTracked_bln;
}
function setTrackingDataLoaded(value_bln) {
trackingDataLoaded_bln = value_bln;
}
function setTrackingFinished() {
setInitialized(false);
setTrackingDataLoaded(false);
}
function setStatusType(type_int) {
statusType_int = type_int;
}
function getStatusType() {
return(statusType_int);
}
function setShowErrors(value_int) {
showErrors_int = value_int;
}
function setLastError(error_int, error_str, command_str) {
addToErrorArray(error_int, error_str, command_str);
}
function resetTimer() {
timer_int = int(getTimer() / 1000);
timer_str = undefined;
}
function addToErrorArray(error_int, error_str, command_str) {
var _local2 = this;
var _local1 = _local2.errors_array.length;
_local2.errors_array.push(new Object());
_local2.errors_array[_local1].command = command_str;
_local2.errors_array[_local1].error = error_int;
_local2.errors_array[_local1].error_int = error_int;
_local2.errors_array[_local1].error_str = error_str;
}
function resetErrorArray() {
errors_array = [];
}
function setCrossDomain(value_bln) {
crossDomain_bln = value_bln;
}
function getScore(scoreAsRaw_bln) {
var _local2 = this;
var _local1 = _local2.getScoreRaw();
if (_local1 == "") {
_local1 = " ";
}
if ((scoreAsRaw_bln == undefined) || (scoreAsRaw_bln == false)) {
if ((_local2.getScoreMax() != "") && (_local2.getScoreMin() != "")) {
_local1 = (((_local1 + ",") + _local2.getScoreMax()) + ",") + _local2.getScoreMin();
}
}
return(_local1);
}
function getScoreRaw() {
var _local1 = this;
if (_local1.score_raw == undefined) {
_local1.score_raw = "";
}
return(_local1.score_raw);
}
function getScoreMax() {
var _local1 = this;
if (((_local1.score_max == undefined) || (_local1.score_max == "")) || (_local1.score_max == " ")) {
_local1.score_max = "";
}
return(_local1.score_max);
}
function getScoreMin() {
var _local1 = this;
if (((_local1.score_min == undefined) || (_local1.score_min == "")) || (_local1.score_min == " ")) {
_local1.score_min = "";
}
return(_local1.score_min);
}
function getScorePass() {
return(score_pass);
}
function getScoreTot() {
return(score_tot);
}
function getTimeInSession() {
return(time);
}
function getLessonLocation() {
var _local1 = this;
if ((_local1.lesson_location == undefined) || (_local1.lesson_location == "")) {
_local1.lesson_location = " ";
}
return(_local1.lesson_location);
}
function getLessonStatus() {
var _local1 = this;
if (_local1.lesson_status == undefined) {
_local1.lesson_status = "incomplete";
}
return(_local1.lesson_status);
}
function getSuccessStatus() {
return(success_status);
}
function getLessonMode() {
return(lesson_mode);
}
function getStudentID() {
return(student_id);
}
function getStudentName() {
return(student_name);
}
function getCredit() {
return(credit);
}
function getEntry() {
return(entry);
}
function setScore(_scoreRaw_int, _scoreMin_int, _scoreMax_int) {
var _local1 = this;
if (_scoreRaw_int != undefined) {
_local1.setScoreRaw(_scoreRaw_int);
}
if (_scoreMin_int != undefined) {
_local1.setScoreMin(_scoreMin_int);
}
if (_scoreMax_int != undefined) {
_local1.setScoreMax(_scoreMax_int);
}
}
function validateScore(value) {
var _local2 = value;
var _local1;
switch (typeof(_local2)) {
case "null" :
_local1 = undefined;
break;
case "string" :
if (Number(_local2) == _local2) {
_local1 = Number(_local2);
} else {
_local1 = undefined;
}
break;
case "number" :
_local1 = _local2;
break;
default :
_local1 = undefined;
}
if (_local1 != undefined) {
_local1 = roundDecimals(_local1, 2);
_local1 = _local1.toString();
} else {
_local1 = " ";
}
return(_local1);
}
function setScoreRaw(value) {
score_raw = validateScore(value);
}
function setScoreMax(value) {
score_max = validateScore(value);
}
function setScoreMin(value) {
score_min = validateScore(value);
}
function setScorePass(value) {
score_pass = value;
}
function setScoreTot(value) {
score_tot = value;
}
function setTimeInSession(time_var) {
var _local1 = time_var;
var _local2 = this;
if (((_local1 == undefined) || (_local1 == "")) || (_local1 == null)) {
_local1 = _local2.formatTime(int(getTimer() / 1000) - _local2.timer_int);
} else if (typeof(_local1 == "number")) {
_local1 = _local2.formatTime(_local1);
}
_local2.time = _local1;
_local2.timer_str = _local1;
}
function setLessonLocation(value) {
lesson_location = value;
}
function setLessonStatus(statusCompletion_str, statusSuccess_str) {
var _local1 = statusCompletion_str;
var _local2 = this;
if ((((_local1.substring(0, 1) == "n") || (_local1 == "")) || (_local1 == undefined)) || (_local1 == " ")) {
_local2.lesson_status = "incomplete";
} else {
_local2.lesson_status = _local1;
}
if (statusSuccess_str != undefined) {
_local2.success_status = statusSuccess_str;
}
}
function setStudentID(value_str) {
student_id = value_str;
}
function setStudentName(value_str) {
student_name = value_str;
}
function setCredit(value_str) {
credit = value_str;
}
function getLessonData() {
var _local1 = this;
if (_local1.lesson_data == undefined) {
_local1.setLessonData("");
}
return(_local1.lesson_data);
}
function setLessonMode(value_str) {
lesson_mode = value_str;
}
function setLessonData(value_str) {
lesson_data = value_str;
}
function getVendorData() {
return(vendor_data);
}
function setVendorData(value_str) {
vendor_data = value_str;
}
function getLessonStatusArray() {
return(lesson_status_array);
}
function getScoreArray() {
return(score_array);
}
function getMasteryScore() {
return(mastery_score);
}
function getMaxTimeAllowed() {
return(max_time_allowed);
}
function getTimeLimitAction() {
return(time_limit_action);
}
function addToLessonStatusArray(value_str) {
lesson_status_array.push(value_str);
}
function addToScoreArray(value) {
score_array.push(value);
}
function setMasteryScore(value) {
mastery_score = value;
}
function setMaxTimeAllowed(value_str) {
max_time_allowed = value_str;
}
function setTimeLimitAction(value_str) {
time_limit_action = value_str;
}
function setView() {
}
function sendTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = _time_str;
if (_local1 == undefined) {
_local1 = "";
}
setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _local1, _resumeData_str);
}
function setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var _local2 = _scoreRaw_int;
var _local3 = _scoreMax_int;
if (_scoreAsPercent_bln == true) {
if ((((_local2 != undefined) && (_local3 != undefined)) && (!isNaN(Math.round((_local2 / _local3) * 100)))) && (_local3 != 0)) {
_local1.setScore(Math.round((_local2 / _local3) * 100));
} else {
_local1.setScore(Math.round(_local2));
}
} else if (((_local2 != undefined) && (_scoreMin_int != undefined)) && (_local3 != undefined)) {
_local1.setScore(_local2, _scoreMin_int, _local3);
} else if ((_local2 != undefined) && (_local3 != undefined)) {
_local1.setScore(_local2, 0, _local3);
} else if (_local2 != undefined) {
_local1.setScore(_local2);
}
if (_location_str != undefined) {
_local1.setLessonLocation(_location_str);
}
if (_statusPreference_bln != undefined) {
if ((_statusPreference_bln == true) && (_statusCompletion_str != undefined)) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str, _statusSuccess_str);
}
}
} else if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
_local1.setLessonStatus(_statusSuccess_str);
}
if (_time_str != undefined) {
_local1.setTimeInSession(_time_str);
}
if (_resumeData_str != undefined) {
_local1.setLessonData(_resumeData_str);
}
}
function getTrackingData() {
if (isTrackingDataLoaded()) {
} else {
setTrackingDataLoaded(true);
}
}
function getTrackingDataCore() {
if (isTrackingDataLoaded()) {
} else {
setTrackingDataLoaded(true);
}
}
function setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = latency_str;
var _local2 = _local1.interaction_ary.length;
_local1.interaction_ary[_local2] = new Array();
_local1.interaction_ary[_local2].interactionID_str = interactionID_str;
_local1.interaction_ary[_local2].objectiveID_str = objectiveID_str;
_local1.interaction_ary[_local2].type_str = type_str;
_local1.interaction_ary[_local2].correctResponse_str = correctResponse_str;
_local1.interaction_ary[_local2].studentResponse_str = studentResponse_str;
_local1.interaction_ary[_local2].result_bln = result_str;
_local1.interaction_ary[_local2].weight_int = weight_int;
if (((_local3 == undefined) || (_local3 == "")) || (_local3 == "0")) {
_local3 = _local1.formatTime(0);
} else if (typeof(_local3) == "number") {
_local3 == _local1.formatTime(_local3);
}
_local1.interaction_ary[_local2].latency_str = _local3;
if ((date_str == undefined) || (date_str == "")) {
date_str = _local1.formatDate();
}
_local1.interaction_ary[_local2].date_str = date_str;
if ((time_str == undefined) || (time_str == "")) {
time_str = _local1.formatTime(0);
} else if (typeof(time_str) == "number") {
time_str = _local1.formatTime(time_str);
}
_local1.interaction_ary[_local2].time_str = time_str;
}
function sendInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = interactionID_str;
if ((_local1 != undefined) && (_local1 != "")) {
setInteractionData(_local1, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str);
}
}
function formatDate(date_var, day_str, year_str) {
var _local1 = date_var;
var _local3 = this;
var month_str;
var formattedDate_str;
if (_local1 == undefined) {
var _local2 = new Date();
_local1 = _local3.formatNum(_local2.getMonth() + 1, 2);
day_str = _local3.formatNum(_local2.getDate(), 2);
year_str = _local2.getFullYear();
} else if ((typeof(_local1) == "string") && (_local1.indexOf("/") > -1)) {
var _local2 = _local1.split("/");
_local1 = _local3.formatNum(_local2[0], 2);
day_str = _local3.formatNum(_local2[1], 2);
year_str = _local3.formatNum(_local2[2], 4);
}
formattedDate_str = (((_local1 + "/") + day_str) + "/") + year_str;
return(formattedDate_str);
}
function formatTime(timeInSeconds) {
var _local3;
var _local1;
var _local2;
var formattedTime_str;
_local2 = "00";
_local1 = "00";
_local3 = "00";
_local2 = formatNum(int(timeInSeconds), 2);
if (_local2 > 59) {
_local1 = int(_local2 / 60);
_local2 = _local2 - (_local1 * 60);
_local1 = formatNum(_local1, 2);
_local2 = formatNum(_local2, 2);
}
if (_local1 > 59) {
_local3 = int(_local1 / 60);
_local1 = _local1 - (_local3 * 60);
_local3 = formatNum(_local3, 2);
_local1 = formatNum(_local1, 2);
}
formattedTime_str = (((_local3 + ":") + _local1) + ":") + _local2;
return(formattedTime_str);
}
function formatNum(initialValue_var, numToPad_int) {
var _local2 = "";
var _local1 = 0;
var _local3 = initialValue_var.toString();
if (_local3.length > numToPad_int) {
} else {
_local1 = 1;
while (_local1 <= (numToPad_int - _local3.length)) {
_local2 = _local2 + "0";
_local1++;
}
}
_local2 = _local2 + initialValue_var;
return(_local2);
}
function roundDecimals(num_int, decimals_int) {
var _local1 = decimals_int;
_local1 = (((!_local1) && (_local1 != 0)) ? 2 : (_local1));
return(Math.round(num_int * Math.pow(10, _local1)) / Math.pow(10, _local1));
}
function trim(s) {
var _local1 = s;
while (_local1.indexOf(" ") == 0) {
_local1 = _local1.substring(1);
}
while (_local1.length && (_local1.lastIndexOf(" ") == (_local1.length - 1))) {
_local1 = _local1.substring(0, _local1.length - 1);
}
return(_local1);
}
function escapeJS(js_str) {
var _local1 = ["\r", "\t", "'", "\"", "\\"];
var _local2 = js_str;
for (var _local3 in _local1) {
_local2 = _local2.split(_local1[_local3]).join("\\" + _local1[_local3]);
}
return(_local2);
}
function setObjectReference(_adapterReference_obj) {
lmsQueue = new MMQuizClasses.lms.Queue(_adapterReference_obj);
crossDomain = new MMQuizClasses.lms.domainPolicy(_adapterReference_obj);
}
var trackingAdapterType = new Object();
var trackingDataLoaded_bln = false;
var interactionDataTracked_bln = true;
var showErrors_int = 1;
var errors_array = [];
var timer_int = 0;
var error_number = null;
var statusType_int = 1;
var interaction_ary = [];
}
Symbol 59 MovieClip [__Packages.MMQuizClasses.lms.Queue] Frame 0
class MMQuizClasses.lms.Queue
{
var _useGlobalQueue_bln;
function Queue (_globalObject) {
var _local1 = this;
if (_globalObject != undefined) {
_local1.__set__useGlobalQueue_bln(true);
_local1._scope_obj = _globalObject;
_local1._queueArray_str = "globalQueue_array";
_local1._queueBusy_str = "globalQueueBusy_bln";
if (_local1._scope_obj[_local1._queueArray_str] == undefined) {
_local1._scope_obj.globalQueue_array = [];
_local1._scope_obj.globalQueueBusy_bln = false;
}
} else {
_local1.__set__useGlobalQueue_bln(false);
_local1._scope_obj = _local1;
_local1._queueArray_str = "_queue_array";
_local1._queueBusy_str = "_queueBusy_bln";
_local1._queue_array = [];
}
}
function isGlobalQueue() {
return(useGlobalQueue_bln);
}
function get useGlobalQueue_bln() {
return(_useGlobalQueue_bln);
}
function set useGlobalQueue_bln(_isGlobalQueue_bln) {
_useGlobalQueue_bln = _isGlobalQueue_bln;
//return(useGlobalQueue_bln);
}
function get queueTimeoutInterval_int() {
return(_queueTimeoutInterval_int);
}
function set queueTimeoutInterval_int(_timeout_int) {
_queueTimeoutInterval_int = _timeout_int;
//return(queueTimeoutInterval_int);
}
function get queuePollingInterval_int() {
return(_queuePollingInterval_int);
}
function set queuePollingInterval_int(_polling_int) {
_queuePollingInterval_int = _polling_int;
//return(queuePollingInterval_int);
}
function setQueueTimeoutInterval(_timeout_int) {
queueTimeoutInterval_int = (_timeout_int);
}
function setQueuePollingInterval(_polling_int) {
queuePollingInterval_int = (_polling_int);
}
function getQueueTimeoutInterval() {
return(queueTimeoutInterval_int);
}
function getQueuePollingInterval() {
return(queuePollingInterval_int);
}
function waitForQueue(this_obj, _queueTimer_int) {
if (getTimer() > _queueTimer_int) {
this_obj.removeFromQueue();
}
this_obj.checkQueue();
}
function addToQueue(target_obj, method_str, parameters_var, waitForResponse_bln, checkForQueue_bln) {
var _local1 = this;
var _local2 = _local1._scope_obj[_local1._queueArray_str].length;
_local1._scope_obj[_local1._queueArray_str][_local2] = new Object();
_local1._scope_obj[_local1._queueArray_str][_local2].target_obj = target_obj;
_local1._scope_obj[_local1._queueArray_str][_local2].method_str = method_str;
_local1._scope_obj[_local1._queueArray_str][_local2].parameters_var = parameters_var;
_local1._scope_obj[_local1._queueArray_str][_local2].waitForResponse_bln = waitForResponse_bln;
_local1._scope_obj[_local1._queueArray_str][_local2].interval_var = undefined;
if ((checkForQueue_bln == undefined) || (checkForQueue_bln == true)) {
_local1.checkQueue();
}
return(_local1._scope_obj[_local1._queueArray_str]);
}
function removeFromQueue() {
var _local1 = this;
if (_local1._scope_obj[_local1._queueArray_str][0].interval_var != undefined) {
clearInterval(_local1._scope_obj[_local1._queueArray_str][0].interval_var);
}
_local1._scope_obj[_local1._queueArray_str].shift();
_local1._scope_obj[_local1._queueBusy_str] = false;
_local1.checkQueue();
return(_local1._scope_obj[_local1._queueArray_str]);
}
function clearQueue() {
var _local1 = this;
_local1._scope_obj[_local1._queueArray_str] = [];
return(_local1._scope_obj[_local1._queueArray_str]);
}
function checkQueue() {
var _local1 = this;
var temp_bln = _local1._scope_obj[_local1._queueBusy_str];
if (temp_bln) {
} else {
var length_int = _local1._scope_obj[_local1._queueArray_str].length;
if (length_int > 0) {
_local1._scope_obj[_local1._queueBusy_str] = true;
var _target_obj = _local1._scope_obj[_local1._queueArray_str][0].target_obj;
var _method_str = _local1._scope_obj[_local1._queueArray_str][0].method_str;
var _local3 = _local1._scope_obj[_local1._queueArray_str][0].parameters_var;
var _local2 = _local1._scope_obj[_local1._queueArray_str][0].waitForResponse_bln;
if (_local2 || (_local2 == undefined)) {
var queueTimer_int = (getTimer() + (_local1.__get__queueTimeoutInterval_int() * 1000));
_local1._scope_obj[_local1._queueArray_str][0].interval_var = setInterval(_local1.waitForQueue, _local1.__get__queuePollingInterval_int() * 1000, _local1, queueTimer_int);
}
if (_local3 != undefined) {
_target_obj[_method_str](_local3);
} else {
_target_obj[_method_str]();
}
if ((!_local2) && (_local2 != undefined)) {
_local1.removeFromQueue();
}
}
}
}
var _queueTimeoutInterval_int = 5;
var _queuePollingInterval_int = 0.1;
}
Symbol 60 MovieClip [__Packages.MMQuizClasses.lms.domainPolicy] Frame 0
class MMQuizClasses.lms.domainPolicy
{
var utilitiesURL, queue_array, _remotePolicyXML;
function domainPolicy (_adapterObject) {
var _local1 = this;
_local1.queue_obj = [];
_local1.queue_array = new MMQuizClasses.lms.Queue(_adapterObject);
_local1.utilitiesURL = new MMQuizClasses.lms.Utilities(_adapterObject);
}
function checkServerPolicy(remoteURL, localURL) {
var _local1 = this;
var _local3 = localURL;
var _local2 = -1;
for (var x in _local1.queue_obj) {
if ((_local1.queue_obj[x].remoteURL.toLowerCase() == remoteURL.toLowerCase()) && (_local1.queue_obj[x].localURL.toLowerCase() == _local3.toLowerCase())) {
_local2 = x;
}
}
if (_local2 == -1) {
_local2 = _local1.queue_obj.length;
_local1.queue_obj[_local2] = new Object();
_local1.queue_obj[_local2].thisReference = _local1;
_local1.queue_obj[_local2].queue_int = _local2;
_local1.queue_obj[_local2].remoteURL = remoteURL;
_local1.queue_obj[_local2].localURL = _local3;
_local1.queue_obj[_local2].remotePolicyXML = _local1._remotePolicyXML;
_local1.queue_obj[_local2].status_bln = undefined;
_local1.queue_array.addToQueue(_local1, "getDomainPolicy", _local1.queue_obj[_local2], true);
}
return(_local1.queue_obj[_local2].status_bln);
}
function getDomainPolicy(domainPolicy_obj) {
function setDomainPolicy(value_bln) {
_serverPolicy_bln = value_bln;
_getDomainPolicy.queue_obj[_queue_int].status_bln = value_bln;
}
var _serverPolicy_bln = null;
var _getDomainPolicy = this;
var _queue_int = domainPolicy_obj.queue_int;
var _localURL = domainPolicy_obj.localURL;
var _remoteURL = domainPolicy_obj.remoteURL;
var _remotePolicyXML = domainPolicy_obj.remotePolicyXML;
if (_localURL == undefined) {
_localURL = _url;
}
if (utilitiesURL.findDomain(_remoteURL, true).toLowerCase() == utilitiesURL.findDomain(_localURL, true).toLowerCase()) {
setDomainPolicy(true);
} else if (utilitiesURL.getVersionPlayer(0) < 7) {
var _local3 = utilitiesURL.findDomain(_remoteURL, true);
var localDomain = utilitiesURL.findDomain(_localURL, true);
_local3 = _local3.split(".");
localDomain = localDomain.split(".");
var temp_bln = true;
if (_local3.length == localDomain.length) {
var _local1 = 1;
while (_local1 < _local3.length) {
if (Number(_local3[_local1]) == _local3[_local1]) {
temp_bln = false;
break;
}
if (_local3[_local1].toLowerCase() != localDomain[_local1].toLowerCase()) {
temp_bln = false;
}
_local1++;
}
} else {
temp_bln = false;
}
setDomainPolicy(temp_bln);
} else {
var domainPolicyXML = new XML();
domainPolicyXML.onData = function (data) {
if (data == undefined) {
setDomainPolicy(false);
} else {
setDomainPolicy(true);
}
_getDomainPolicy.queue_array.removeFromQueue();
};
if (((_remotePolicyXML != undefined) && (utilitiesURL.getVersionPlayer(0) > 6)) && (utilitiesURL.getVersionPlayer(2) > 14)) {
var _remotePolicyXML_array = _remotePolicyXML.split(";");
var _local2 = 0;
while (_local2 < _remotePolicyXML_array.length) {
System.security.loadPolicyFile(_remotePolicyXML_array[_local2]);
domainPolicyXML.load(_remotePolicyXML_array[_local2]);
_local2++;
}
} else {
domainPolicyXML.load((utilitiesURL.findProtocol(_remoteURL, _localURL) + utilitiesURL.findDomain(_remoteURL)) + "/crossdomain.xml");
}
}
if (_serverPolicy_bln == null) {
return(undefined);
}
queue_array.removeFromQueue();
return(_serverPolicy_bln);
}
function setRemotePolicyXML(remotePolicyXML, serverURL) {
var _local1 = serverURL;
var _local2 = this;
var _local3 = remotePolicyXML;
if (_local3.substr(0, 1) == "/") {
if (_local1 == undefined) {
_local1 = _url;
}
_local2._remotePolicyXML = (_local2.utilitiesURL.findProtocol(_local1) + _local2.utilitiesURL.findDomain(_local1)) + _local3;
} else {
_local2._remotePolicyXML = _local3;
}
}
function getRemotePolicyXML() {
return(_remotePolicyXML);
}
}
Symbol 61 MovieClip [__Packages.MMQuizClasses.lms.Authorware] Frame 0
class MMQuizClasses.lms.Authorware extends MMQuizClasses.lms.TrackingAdapter
{
var isInitialized, trim, setInitialized;
function Authorware (_adapterObject, delimiter) {
var _local1 = this;
super();
if (_adapterObject != undefined) {
_local1.setObjectReference(_adapterObject);
}
if (delimiter != undefined) {
_local1.setDelimiter(delimiter);
}
_local1.resetTimer();
}
function initialize() {
var _local1 = this;
if (_local1.isInitialized()) {
} else {
_local1.setInitialized(true);
fscommand ("#Initialize:1");
}
return(_local1.isInitialized());
}
function flush() {
sendTrackingData();
}
function finish() {
if (isInitialized()) {
sendExitData();
}
}
function setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = time_str;
var _local2 = _local1.interaction_ary.length;
_local1.interaction_ary[_local2] = new Array();
_local1.interaction_ary[_local2].interactionID_str = interactionID_str;
_local1.interaction_ary[_local2].objectiveID_str = objectiveID_str;
_local1.interaction_ary[_local2].type_str = type_str;
_local1.interaction_ary[_local2].correctResponse_str = _local1.escapeJS(correctResponse_str);
_local1.interaction_ary[_local2].studentResponse_str = _local1.escapeJS(studentResponse_str);
_local1.interaction_ary[_local2].result_str = result_str;
_local1.interaction_ary[_local2].weight_int = weight_int;
_local1.interaction_ary[_local2].latency_str = latency_str;
if ((date_str == undefined) || (date_str == "")) {
date_str = _local1.formatDate();
}
_local1.interaction_ary[_local2].date_str = date_str;
if ((_local3 == undefined) || (_local3 == "")) {
_local3 = "00:00:00";
} else {
_local3 = _local1.formatTime(_local3);
}
_local1.interaction_ary[_local2].time_str = _local3;
}
function sendInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
if (_local1.isInteractionDataTracked() && (_local1.isInitialized())) {
if (interactionID_str != undefined) {
_local1.setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str);
}
var _local2 = "";
_local2 = "";
for (var _local3 in _local1.interaction_ary) {
_local2 = ((((((((((((((((((((((((((((((((((((((((((((((("#Date:\"" + _local1.interaction_ary[_local3].date_str) + "\"") + _local1.delimiter_str) + "#Time:") + "\"") + _local1.interaction_ary[_local3].time_str) + "\"") + _local1.delimiter_str) + "#interaction_ID:") + "\"") + _local1.interaction_ary[_local3].interactionID_str) + "\"") + _local1.delimiter_str) + "#objective_ID:") + "\"") + _local1.interaction_ary[_local3].objectiveID_str) + "\"") + _local1.delimiter_str) + "#interaction_type:") + "\"") + _local1.interaction_ary[_local3].type_str) + "\"") + _local1.delimiter_str) + "#correct_response:") + "\"") + _local1.interaction_ary[_local3].correctResponse_str) + "\"") + _local1.delimiter_str) + "#student_response:") + "\"") + _local1.interaction_ary[_local3].studentResponse_str) + "\"") + _local1.delimiter_str) + "#result:") + "\"") + _local1.interaction_ary[_local3].result_str) + "\"") + _local1.delimiter_str) + "#weighting:") + "\"") + _local1.interaction_ary[_local3].weight_int) + "\"") + _local1.delimiter_str) + "#latency:") + "\"") + _local1.interaction_ary[_local3].latency_str) + "\"") + _local1.delimiter_str;
}
fscommand (_local2);
_local1.interaction_ary = [];
}
}
function getTrackingData() {
var _local1 = this;
if ((!_local1.isTrackingDataLoaded()) && (_local1.isInitialized())) {
_local1.setTrackingDataLoaded(true);
}
}
function getTrackingDataCore() {
if (isInitialized()) {
getTrackingData();
}
}
function setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var _local2 = _scoreRaw_int;
var _local3 = _scoreMax_int;
if (_scoreAsPercent_bln == true) {
if ((((_local2 != undefined) && (_local3 != undefined)) && (!isNaN(Math.round((_local2 / _local3) * 100)))) && (_local3 != 0)) {
_local1.setScore(Math.round((_local2 / _local3) * 100));
} else {
_local1.setScore(Math.round(_local2));
}
} else if (((_local2 != undefined) && (_scoreMin_int != undefined)) && (_local3 != undefined)) {
_local1.setScore(_local2, _scoreMin_int, _local3);
} else if ((_local2 != undefined) && (_local3 != undefined)) {
_local1.setScore(_local2, 0, _local3);
} else if (_local2 != undefined) {
_local1.setScore(_local2);
}
if (_location_str != undefined) {
_local1.setLessonLocation(_location_str);
}
if (_statusPreference_bln != undefined) {
if ((_statusPreference_bln == true) && (_statusCompletion_str != undefined)) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str, _statusSuccess_str);
}
}
} else if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
_local1.setLessonStatus(_statusSuccess_str);
}
_local1.setLessonStatus(_local1.getLessonStatus());
if (_time_str != undefined) {
_local1.setTimeInSession(_time_str);
}
if (_resumeData_str != undefined) {
_local1.setLessonData(_resumeData_str);
}
}
function isPassed(list_str, token_str) {
var _local2 = list_str.split(",");
var _local3 = token_str.substr(0, 1).toLowerCase();
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local3 == trim(_local2[_local1]).substr(0, 1)) {
return(true);
}
_local1++;
}
return(false);
}
function sendTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var _local2 = "";
if (_local1.isInitialized()) {
if (_time_str == undefined) {
_time_str = "";
}
_local1.setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str);
var _local3 = "";
if (_statusPreference_bln != undefined) {
if (_statusPreference_bln == true) {
_local2 = _local1.getLessonStatus();
} else if (_local1.getSuccessStatus() != undefined) {
_local2 = _local1.getSuccessStatus();
} else {
_local2 = _local1.getLessonStatus();
}
} else {
_local2 = _local1.getLessonStatus();
}
_local3 = _local3 + ((_local2 != undefined) ? (("#Passed:" + _local1.isPassed("passed,completed", _local2)) + _local1.delimiter_str) : "");
_local3 = _local3 + (("#Score:" + _local1.getScoreRaw()) + _local1.delimiter_str);
_local3 = _local3 + (("#Possible:" + _local1.getScoreMax()) + _local1.delimiter_str);
fscommand (_local3);
_local1.resetTimer();
}
}
function sendExitData() {
fscommand ("#Initialize:0");
setInitialized(false);
}
function setTrackingComplete() {
fscommand ("#Initialize:0");
setInitialized(false);
}
function setDelimiter(delimiter) {
delimiter_str = delimiter;
}
function getDelimiter() {
return(delimiter_str);
}
var delimiter_str = ";";
}
Symbol 62 MovieClip [__Packages.MMQuizClasses.lms.QuestionMark] Frame 0
class MMQuizClasses.lms.QuestionMark extends MMQuizClasses.lms.TrackingAdapter
{
var setObjectReference, resetTimer, __set__initialized_bln, isInitialized, trim;
function QuestionMark (_adapterObject) {
super();
if (_adapterObject != undefined) {
setObjectReference(_adapterObject);
}
resetTimer();
}
function startDev() {
__set__initialized_bln(true);
}
function initialize() {
var _local1 = this;
if (_local1.isInitialized()) {
} else {
_local1.setInitialized(true);
fscommand ("CMIInitialize");
}
return(_local1.isInitialized());
}
function flush() {
sendTrackingData();
}
function finish() {
sendTrackingData();
sendExitData();
}
function setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = time_str;
var _local2 = _local1.interaction_ary.length;
_local1.interaction_ary[_local2] = new Array();
_local1.interaction_ary[_local2].interactionID_str = interactionID_str;
_local1.interaction_ary[_local2].objectiveID_str = objectiveID_str;
_local1.interaction_ary[_local2].type_str = type_str;
_local1.interaction_ary[_local2].correctResponse_str = _local1.escapeJS(correctResponse_str);
_local1.interaction_ary[_local2].studentResponse_str = _local1.escapeJS(studentResponse_str);
_local1.interaction_ary[_local2].result_str = result_str;
_local1.interaction_ary[_local2].weight_int = weight_int;
_local1.interaction_ary[_local2].latency_str = latency_str;
if ((date_str == undefined) || (date_str == "")) {
date_str = _local1.formatDate();
}
_local1.interaction_ary[_local2].date_str = date_str;
var newLatency_str = _local1.formatTime(latency_str);
_local1.interaction_ary[_local2].latency_str = newLatency_str;
if ((_local3 == undefined) || (_local3 == "")) {
_local3 = "00:00:00";
} else {
_local3 = _local1.formatTime(_local3);
}
_local1.interaction_ary[_local2].time_str = _local3;
}
function sendInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
if (_local1.isInteractionDataTracked() && (_local1.isInitialized())) {
if ((interactionID_str != undefined) && (interactionID_str != "")) {
_local1.setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str);
}
var _local2 = "";
_local2 = "";
for (var _local3 in _local1.interaction_ary) {
_local2 = ((((((((((((((((((_local1.interaction_ary[_local3].date_str + ";") + _local1.interaction_ary[_local3].time_str) + ";") + _local1.interaction_ary[_local3].interactionID_str) + ";") + _local1.interaction_ary[_local3].objectiveID_str) + ";") + _local1.interaction_ary[_local3].type_str) + ";") + _local1.interaction_ary[_local3].correctResponse_str) + ";") + _local1.interaction_ary[_local3].studentResponse_str) + ";") + _local1.interaction_ary[_local3].result_str) + ";") + _local1.interaction_ary[_local3].weight_int) + ";") + _local1.interaction_ary[_local3].latency_str) + ";";
}
fscommand ("MM_cmiSendInteractionInfo", _local2);
_local1.interaction_ary = [];
}
}
function getTrackingData() {
var _local1 = this;
if ((!_local1.isTrackingDataLoaded()) && (_local1.isInitialized())) {
_local1.setTrackingDataLoaded(true);
}
}
function getTrackingDataCore() {
if (isInitialized()) {
getTrackingData();
}
}
function setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var _local2 = _scoreRaw_int;
var _local3 = _scoreMax_int;
if (_scoreAsPercent_bln == true) {
if ((((_local2 != undefined) && (_local3 != undefined)) && (!isNaN(Math.round((_local2 / _local3) * 100)))) && (_local3 != 0)) {
_local1.setScore(Math.round((_local2 / _local3) * 100));
} else {
_local1.setScore(Math.round(_local2));
}
} else if (((_local2 != undefined) && (_scoreMin_int != undefined)) && (_local3 != undefined)) {
_local1.setScore(_local2, _scoreMin_int, _local3);
} else if ((_local2 != undefined) && (_local3 != undefined)) {
_local1.setScore(_local2, 0, _local3);
} else if (_local2 != undefined) {
_local1.setScore(_local2);
}
if (_location_str != undefined) {
_local1.setLessonLocation(_location_str);
}
if (_statusPreference_bln != undefined) {
if ((_statusPreference_bln == true) && (_statusCompletion_str != undefined)) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str, _statusSuccess_str);
}
}
} else if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
_local1.setLessonStatus(_statusSuccess_str);
}
_local1.setLessonStatus(_local1.getLessonStatus());
_local1.setTimeInSession(_time_str);
if (_resumeData_str != undefined) {
_local1.setLessonData(_resumeData_str);
}
}
function isPassed(list_str, token_str) {
var _local2 = list_str.split(",");
var _local3 = token_str.substr(0, 1).toLowerCase();
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local3 == trim(_local2[_local1]).substr(0, 1)) {
return(true);
}
_local1++;
}
return(false);
}
function sendTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var _local2 = _statusPreference_bln;
if (_local1.isInitialized()) {
if (_local2 || (_local2 == undefined)) {
_local1.setStatusType(1);
} else {
_local1.setStatusType(2);
}
_local1.setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _local2, _time_str, _resumeData_str);
}
}
function doExit() {
var _local1 = this;
fscommand ("CMISetSessionTime", getTimer() - _local1.startTime());
if (_local1.getStatusType() == 1) {
if (_local1.isPassed("passed,completed,1", _local1.getLessonStatus())) {
fscommand ("CMISetPassed");
} else {
fscommand ("CMISetFailed");
}
} else if (_local1.isPassed("passed,completed,1", _local1.getLessonStatus())) {
fscommand ("CMISetCompleted");
}
fscommand ("CMISetScore", _local1.getScoreRaw());
fscommand ("CMIExitAU");
}
function sendExitData() {
var _local1 = this;
if (_local1.isInitialized()) {
_local1.doExit();
_local1.setInitialized(false);
}
}
function setTrackingComplete() {
var _local1 = this;
if (_local1.isInitialized()) {
_local1.doExit();
_local1.setInitialized(false);
}
}
function formatDate(date_var, day_str, year_str) {
var _local2 = this;
var _local3 = date_var;
var month_str;
var formattedDate_str;
if (_local3 == undefined) {
var _local1 = new Date();
month_str = _local2.formatNum(_local1.getMonth() + 1, 2);
day_str = _local2.formatNum(_local1.getDate(), 2);
year_str = _local1.getFullYear();
} else if ((typeof(_local3) == "string") && (_local3.indexOf("/") > -1)) {
var _local1 = _local3.split("/");
month_str = _local2.formatNum(_local1[0], 2);
day_str = _local2.formatNum(_local1[1], 2);
year_str = _local2.formatNum(_local1[2], 4);
}
formattedDate_str = (((year_str + "/") + month_str) + "/") + day_str;
return(formattedDate_str);
}
var startTime = getTimer();
}
Symbol 63 MovieClip [__Packages.MMQuizClasses.lms.AICC] Frame 0
class MMQuizClasses.lms.AICC extends MMQuizClasses.lms.TrackingAdapter
{
var version, contentURL_str, aicc_sid, isInitialized, __set__initialized_bln, trim;
function AICC (_adapterObject, launchURL) {
var _local1 = this;
super();
if (_adapterObject != undefined) {
_local1.setObjectReference(_adapterObject);
}
_local1.version = "3.5";
_local1.serverPost = new MMQuizClasses.lms.AICCLoadVars();
_local1.serverResult = new MMQuizClasses.lms.AICCLoadVars();
_local1.serverResult.parent = _local1;
_local1.serverUtilities = new MMQuizClasses.lms.Utilities(_adapterObject);
_local1.trackingResponse = new MMQuizClasses.lms.Response();
_local1.lmsQueue.setQueueTimeoutInterval(_local1.overrideQueueTimeoutInterval_int);
_local1.serverTemp = new MMQuizClasses.lms.AICCLoadVars();
_local1.serverResult.onLoad = function (success) {
var _local1 = this;
var _local3 = new Object();
var _local2 = new MMQuizClasses.lms.AICCLoadVars();
if (!success) {
_local1.error = (("-3" + _local1.return_str) + "error_text=tracking results failed!") + _local1.return_str;
}
var temp_command_str = _local1.parent.serverResult.command;
if (temp_command_str.toUpperCase() == "GETPARAM") {
for (var item_var in _local1) {
if ((item_var != "command") && (item_var != "parent")) {
_local2[item_var] = _local1[item_var];
}
}
_local1.parent.LMS = _local1.parent.parseTrackingData(_local2.toString());
_local3.Errors = _local1.parent.LMS.Errors;
_local1.parent.setTrackingDataLoaded(true);
} else {
_local3 = _local1.parent.parseTrackingdata(_local1.toString());
if (temp_command_str.toUpperCase() == "EXITAU") {
if (_local3.Errors.error == 0) {
_local1.parent.setInitialized(false);
}
}
}
if (_local3.Errors.error != 0) {
_local1.parent.addToErrorArray(_local3.Errors.error, _local3.Errors.error_text, _local1.parent.serverResult.command);
}
_local1.parent.serverBusy_bln = false;
_local1.parent.lmsQueue.removeFromQueue();
};
if (launchURL != undefined) {
_local1.setURL(launchURL);
}
_local1.resetTimer();
}
function getAICCversion() {
return(version);
}
function getURLparameter(value_str) {
var _local1 = _root;
var _local3 = value_str;
var _local2 = "";
for (var param_str in _local1) {
if (unescape(param_str.toString().toUpperCase()) == _local3.toUpperCase()) {
_local2 = unescape(_local1[param_str]);
}
}
return(_local2);
}
function getAICCurl() {
var _local1 = this;
if (_local1.aicc_url == undefined) {
_local1.setAICCurl(_local1.serverUtilities.getParameter("aicc_url", _local1.contentURL_str));
}
return(_local1.aicc_url);
}
function getAICCsid() {
var _local1 = this;
if (_local1.aicc_sid == undefined) {
_local1.setAICCsid(_local1.serverUtilities.getParameter("aicc_sid", _local1.contentURL_str));
}
return(_local1.aicc_sid);
}
function getURL() {
return(contentURL_str);
}
function fixAICCurl(value_str) {
var _local1 = value_str;
var _local2 = this;
if (_local1.toUpperCase().substr(0, 4) != "HTTP") {
if (_local2.contentURL_str.toUpperCase().substr(0, 5) == "HTTPS") {
_local1 = (_local2.contentURL_str.substr(0, 5) + "://") + _local1;
} else if (_local2.contentURL_str.toUpperCase().substr(0, 4) == "HTTP") {
_local1 = (_local2.contentURL_str.substr(0, 4) + "://") + _local1;
} else {
_local1 = "http://" + _local1;
}
}
return(_local1);
}
function setAICCversion(value_str) {
version = value_str;
}
function setAICCurl(value_str) {
var _local1 = value_str;
var _local2 = this;
_local1 = unescape(_local1);
if ((_local1 != "") && (_local1 != undefined)) {
_local2.aicc_url = _local2.fixAICCurl(_local1);
} else {
_local2.aicc_url = _local1;
}
}
function setAICCsid(value_str) {
aicc_sid = unescape(value_str);
}
function setURL(URL_str) {
var _local1 = this;
_local1.setAICCurl(unescape(_local1.serverUtilities.getParameter("aicc_url", URL_str)));
_local1.setAICCsid(unescape(_local1.serverUtilities.getParameter("aicc_sid", URL_str)));
if (_local1.getAICCurl() == "") {
_local1.addToErrorArray(-2, "Tracking URL not found");
} else {
if (_local1.contentURL_str == undefined) {
_local1.contentURL_str = _url;
}
_local1.crossDomain.checkServerPolicy(_local1.getAICCurl(), _local1.contentURL_str);
}
if (_local1.getAICCsid() == "") {
_local1.addToErrorArray(-1, "Session ID not found");
}
}
function startDev() {
setURL("http://locahost/content/flash.swf?aicc_url=http://achemeylaptop/cgi-bin/wrapper.exe&aicc_sid=0001");
}
function initialize() {
var _local1 = this;
if (_local1.isInitialized()) {
} else {
if ((_local1.getAICCurl() == "") && (_local1.getAICCsid() == "")) {
var _local2 = _local1.serverUtilities.findParameter("aicc_url");
if (_local2 != undefined) {
_local1.setURL(_local2._url);
_local1.setInitialized(true);
}
} else {
_local1.setInitialized(true);
}
if ((_local1.aicc_url != "") && (_local1.aicc_url != undefined)) {
_local1.crossDomain.checkServerPolicy(_local1.getAICCurl(), _local1.contentURL_str);
}
}
return(_local1.isInitialized());
}
function AICCbuild(command, AICCdata) {
var _local2 = this;
var _local1 = new MMQuizClasses.lms.AICCLoadVars();
_local1.aicc_data = AICCdata;
_local1.session_id = _local2.getAICCsid();
_local1.version = _local2.getAICCversion();
_local1.command = command;
_local2.lmsQueue.addToQueue(_local2, "AICCpost", _local1);
}
function AICCpost(parameter_obj) {
var _local1 = this;
var _local3 = parameter_obj;
if (_local1.isInitialized() || ((_local3.command.toUpperCase() == "GETPARAM") && (_local1.getAICCurl() != ""))) {
if (_local3.command.toUpperCase() == "EXITAU") {
_local1.setInitialized(false);
}
var _local2 = new MMQuizClasses.lms.AICCLoadVars();
_local2 = _local3;
if (_local1.crossDomain.checkServerPolicy(_local1.getAICCurl(), _local1.contentURL_str)) {
_local1.serverResult.command = _local2.command;
_local2.sendAndLoad(_local1.getAICCurl(), _local1.serverResult, "POST");
} else {
_local2.send(_local1.getAICCurl(), "cmiresults", "POST");
_local1.lmsQueue.removeFromQueue();
}
} else {
_local1.lmsQueue.removeFromQueue();
}
}
function flush() {
}
function finish() {
sendExitData();
}
function setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = time_str;
var _local2 = _local1.interaction_ary.length;
_local1.interaction_ary[_local2] = new Array();
_local1.interaction_ary[_local2].interactionID_str = interactionID_str;
_local1.interaction_ary[_local2].objectiveID_str = objectiveID_str;
_local1.interaction_ary[_local2].type_str = type_str;
_local1.interaction_ary[_local2].correctResponse_str = _local1.escapeJS(correctResponse_str);
_local1.interaction_ary[_local2].studentResponse_str = _local1.escapeJS(studentResponse_str);
_local1.interaction_ary[_local2].result_str = result_str;
_local1.interaction_ary[_local2].weight_int = weight_int;
_local1.interaction_ary[_local2].latency_str = latency_str;
if ((date_str == undefined) || (date_str == "")) {
date_str = _local1.formatDate();
}
_local1.interaction_ary[_local2].date_str = date_str;
if ((_local3 == undefined) || (_local3 == "")) {
_local3 = "00:00:00";
} else {
_local3 = _local1.formatTime(_local3);
}
_local1.interaction_ary[_local2].time_str = _local3;
}
function sendInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
if (_local1.isInteractionDataTracked() && (_local1.isInitialized())) {
if ((interactionID_str != undefined) && (interactionID_str != "")) {
_local1.setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str);
}
var _local2 = "";
_local2 = "";
_local2 = "\"course_id\",\"student_id\",\"date\",\"time\",\"interaction_id\",\"objective_id\",\"type_interaction\",\"correct_response\",\"student_response\",\"result\",\"weighting\",\"latency\"" + _local1.return_str;
for (var _local3 in _local1.interaction_ary) {
_local2 = ((((((((((((((((((((((((((((((((_local2 + "\"0\",") + "\"0\",") + "\"") + _local1.interaction_ary[_local3].date_str) + "\",") + "\"") + _local1.interaction_ary[_local3].time_str) + "\",") + "\"") + _local1.interaction_ary[_local3].interactionID_str) + "\",") + "\"") + _local1.interaction_ary[_local3].objectiveID_str) + "\",") + "\"") + _local1.interaction_ary[_local3].type_str) + "\",") + "\"") + _local1.interaction_ary[_local3].correctResponse_str) + "\",") + "\"") + _local1.interaction_ary[_local3].studentResponse_str) + "\",") + "\"") + _local1.interaction_ary[_local3].result_str) + "\",") + "\"") + _local1.interaction_ary[_local3].weight_int) + "\",") + "\"") + _local1.interaction_ary[_local3].latency_str) + "\"") + _local1.return_str;
}
_local1.AICCbuild("putInteractions", _local2);
_local1.interaction_ary = [];
}
}
function getTrackingData() {
var _local1 = this;
if (((!_local1.isTrackingDataLoaded()) && (_local1.isInitialized())) && (!_local1.serverBusy_bln)) {
_local1.serverBusy_bln = true;
_local1.AICCbuild("getParam", "");
}
}
function getTrackingDataCore() {
if (isInitialized()) {
getTrackingData();
}
}
function setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var _local2 = _scoreRaw_int;
var _local3 = _scoreMax_int;
if (_scoreAsPercent_bln == true) {
if ((((_local2 != undefined) && (_local3 != undefined)) && (!isNaN(Math.round((_local2 / _local3) * 100)))) && (_local3 != 0)) {
_local1.setScore(Math.round((_local2 / _local3) * 100));
} else {
_local1.setScore(Math.round(_local2));
}
} else if (((_local2 != undefined) && (_scoreMin_int != undefined)) && (_local3 != undefined)) {
_local1.setScore(_local2, _scoreMin_int, _local3);
} else if ((_local2 != undefined) && (_local3 != undefined)) {
_local1.setScore(_local2, 0, _local3);
} else if (_local2 != undefined) {
_local1.setScore(_local2);
}
if (_location_str != undefined) {
_local1.setLessonLocation(_location_str);
}
if (_statusPreference_bln != undefined) {
if ((_statusPreference_bln == true) && (_statusCompletion_str != undefined)) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str, _statusSuccess_str);
}
}
} else if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
_local1.setLessonStatus(_statusSuccess_str);
}
_local1.setLessonStatus(_local1.getLessonStatus());
if (_time_str != undefined) {
_local1.setTimeInSession(_time_str);
}
if (_resumeData_str != undefined) {
_local1.setLessonData(_resumeData_str);
}
}
function sendTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var _local3 = _statusPreference_bln;
if (_local1.isInitialized()) {
var _local2 = "";
if (_time_str == undefined) {
_time_str = "";
}
_local1.setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _local3, _time_str, _resumeData_str);
_local1.aicc_data = "";
_local1.aicc_data = (_local1.aicc_data + "[Core]") + _local1.return_str;
if (_local3 != undefined) {
if (_local3 == true) {
_local2 = _local1.getLessonStatus();
} else if (_local1.getSuccessStatus() != undefined) {
_local2 = _local1.getSuccessStatus();
} else {
_local2 = _local1.getLessonStatus();
}
} else {
_local2 = _local1.getLessonStatus();
}
_local1.aicc_data = ((_local1.aicc_data + "lesson_status=") + _local2) + _local1.return_str;
_local1.aicc_data = ((_local1.aicc_data + "lesson_location=") + _local1.getLessonLocation()) + _local1.return_str;
_local1.aicc_data = ((_local1.aicc_data + "score=") + _local1.getScore(_scoreAsPercent_bln)) + _local1.return_str;
_local1.aicc_data = ((_local1.aicc_data + "time=") + _local1.getTimeInSession()) + _local1.return_str;
_local2 = _local1.getLessonData();
if (_local2 != "") {
_local1.aicc_data = (((_local1.aicc_data + "[Core_lesson]") + _local1.return_str) + escape(_local2)) + _local1.return_str;
}
_local1.AICCbuild("putParam", _local1.aicc_data);
_local1.resetTimer();
}
}
function sendExitData() {
if (isInitialized()) {
getURL ("javascript:setFinished(true)");
AICCbuild("exitAU", "");
}
}
function setTrackingComplete() {
sendExitData();
}
function setInitialized(value_bln) {
__set__initialized_bln(value_bln);
getURL (("javascript:setFinished(" + (!value_bln)) + ")");
}
function capitalize(s) {
return(s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase());
}
function parseTrackingData(text) {
var result_obj = new Object();
text = unescape(text);
var n;
var names = new Array("Core", "Core_lesson", "Core_vendor", "Evaluation", "Objectives_status", "Student_preferences", "Student_data", "Student_demographics");
var searchText = text.toLowerCase();
for (var cur in names) {
var target = (("[" + names[cur]) + "]");
while (((n = searchText.indexOf(target.toLowerCase()))) != -1) {
text = (((text.substring(0, n) + "%^") + names[cur]) + "|") + text.substring((n + 2) + names[cur].length);
searchText = text.toLowerCase();
}
}
text = "Errors|" + text;
var content = text.split("%^");
text = "";
for (var i in content) {
var start = content[i].indexOf("|");
var _local2 = new Object();
_local2.name = content[i].substring(0, start);
_local2.blob = content[i].substring(start + 1);
var _local1 = _local2.blob.split(return_str);
if ((_local2.name == "Core_lesson") || (_local2.name == "Core_vendor")) {
var temp_str = _local1.join("\r");
if (temp_str.substr(0, 1) == "\r") {
temp_str = temp_str.substr(1);
}
this[_local2.name.toLowerCase()] = temp_str;
}
for (var j in _local1) {
var _local3;
_local3 = _local1[j].indexOf("=");
if (_local3 != -1) {
var id = trim(_local1[j].substring(0, _local3)).toLowerCase();
var val = trim(_local1[j].substring(_local3 + 1, _local1[j].length));
_local2[id] = val;
this[id] = val;
}
}
result_obj[_local2.name] = _local2;
}
return(result_obj);
}
var overrideQueueTimeoutInterval_int = 10;
var LMS = new Object();
var return_str = "\r\n";
var serverBusy_bln = false;
}
Symbol 64 MovieClip [__Packages.MMQuizClasses.lms.AICCLoadVars] Frame 0
class MMQuizClasses.lms.AICCLoadVars extends LoadVars
{
function AICCLoadVars () {
super();
}
function toString() {
var _local1 = this;
var _local2 = [];
for (var _local3 in _local1) {
if ((((_local3 != "onLoad") && (_local3 != "toString")) && (_local3 != "parent")) && (_local3 != "tracking")) {
_local2.push((_local3 + "=") + escape(_local1[_local3]));
}
}
return(_local2.join("&"));
}
}
Symbol 65 MovieClip [__Packages.MMQuizClasses.lms.Breeze] Frame 0
class MMQuizClasses.lms.Breeze extends MMQuizClasses.lms.AICC
{
var setObjectReference, setURL, isInitialized, AICCbuild, __set__initialized_bln;
function Breeze (_adapterObject, launchURL) {
super();
if (_adapterObject != undefined) {
setObjectReference(_adapterObject);
}
if (launchURL != undefined) {
setURL(launchURL);
}
}
function sendExitData() {
if (isInitialized()) {
AICCbuild("exitAU", "");
}
}
function setInitialized(value_bln) {
__set__initialized_bln(value_bln);
}
function setSlideView(slideNumber_int) {
var _local2 = this;
var _local3 = slideNumber_int;
var _local1 = _local2.slideView_ary.length;
_local2.slideView_ary[_local1] = new Array();
_local2.slideView_ary[_local1].interactionID_str = "breeze-slide-" + _local3;
_local2.slideView_ary[_local1].objectiveID_str = "0";
_local2.slideView_ary[_local1].type_str = "slide-view";
_local2.slideView_ary[_local1].correctResponse_str = _local3;
_local2.slideView_ary[_local1].studentResponse_str = _local3;
_local2.slideView_ary[_local1].result_str = "correct";
_local2.slideView_ary[_local1].weight_int = 1;
_local2.slideView_ary[_local1].latency_str = "00:00:00";
_local2.slideView_ary[_local1].date_str = _local2.formatDate();
_local2.slideView_ary[_local1].time_str = "00:00:00";
}
function sendSlideView(slideNumber_int) {
var _local1 = this;
if (_local1.isInitialized()) {
if ((slideNumber_int != undefined) && (slideNumber_int != "")) {
_local1.setSlideView(slideNumber_int);
}
var _local2 = "";
_local2 = "\"course_id\",\"student_id\",\"date\",\"time\",\"interaction_id\",\"objective_id\",\"type_interaction\",\"correct_response\",\"student_response\",\"result\",\"weighting\",\"latency\"" + _local1.return_str;
for (var _local3 in _local1.slideView_ary) {
_local2 = ((((((((((((((((((((((((((((((((_local2 + "\"0\",") + "\"0\",") + "\"") + _local1.slideView_ary[_local3].date_str) + "\",") + "\"") + _local1.slideView_ary[_local3].time_str) + "\",") + "\"") + _local1.slideView_ary[_local3].interactionID_str) + "\",") + "\"") + _local1.slideView_ary[_local3].objectiveID_str) + "\",") + "\"") + _local1.slideView_ary[_local3].type_str) + "\",") + "\"") + _local1.slideView_ary[_local3].correctResponse_str) + "\",") + "\"") + _local1.slideView_ary[_local3].studentResponse_str) + "\",") + "\"") + _local1.slideView_ary[_local3].result_str) + "\",") + "\"") + _local1.slideView_ary[_local3].weight_int) + "\",") + "\"") + _local1.slideView_ary[_local3].latency_str) + "\"") + _local1.return_str;
}
_local1.AICCbuild("putInteractions", _local2);
_local1.slideView_ary = [];
}
}
var slideView_ary = [];
}
Symbol 66 MovieClip [__Packages.MMQuizClasses.lms.SCORM_1_3] Frame 0
class MMQuizClasses.lms.SCORM_1_3 extends MMQuizClasses.lms.TrackingAdapter
{
var timer_int, __set__initialized_bln, __get__finished_bln, trim, escapeJS, formatNum;
function SCORM_1_3 (_adapterObject, typeEnvironment_int) {
var _local3 = this;
super();
if (_adapterObject != undefined) {
_local3.setObjectReference(_adapterObject);
}
_local3.init();
_local3.LMSLastError = new Object();
_local3.trackingResponse = new MMQuizClasses.lms.Response();
if ((typeEnvironment_int != undefined) && (typeEnvironment_int == 0)) {
_local3.objAPI_str = _adapterObject + ".";
_local3.objAPI_obj = _adapterObject;
} else {
var thisObj_obj = _local3;
_local3.scorm_lc = new LocalConnection();
_local3.scorm_lc.connect("lc_name");
_local3.scorm_lc.methodToExecute = function (result_str) {
var _local3 = result_str.split("|");
var _local2 = unescape(_local3[0]);
var result = unescape(_local3[1]);
thisObj_obj[_local2] = result;
var _local1 = 0;
while (_local1 < thisObj_obj.callToJS_array.length) {
if (thisObj_obj.callToJS_array[_local1] == _local2) {
thisObj_obj.callToJS_array.splice(_local1, 1);
break;
}
_local1++;
}
if (_local2 == "LMSLastError_str") {
thisObj_obj.addToErrorArray(thisObj_obj.LMSLastError_int, thisObj_obj.LMSLastError_str, thisObj_obj.LMSLastErrorCmd_str);
}
thisObj_obj.lmsQueue.removeFromQueue();
};
}
}
function init() {
timer_int = int(getTimer() / 1000);
}
function initialize() {
var _local1 = this;
if (!_local1.isInitialized()) {
_local1.SCORMbuild("Initialize", "", "", _local1.objAPI_str + "initialized_bln");
}
}
function getTrackingData() {
var _local1 = this;
if (!_local1.isTrackingDataLoaded()) {
_local1.getTrackingDataCore();
_local1.SCORMbuild("GetValue", "cmi.launch_data", "", _local1.objAPI_str + "vendor_data");
_local1.SCORMbuild("GetValue", "cmi.objectives._count", "", _local1.objAPI_str + "objectives_count");
if (_local1.waitForData_var == undefined) {
_local1.waitForData_var = setInterval(_local1.waitForData, 100, _local1, getTimer() + (_local1.waitForData_int * 1000));
}
}
}
function waitForData(this_obj) {
var _local1 = this_obj;
if ((_local1.callToJS_array.length == 0) || ((timer_int != undefined) && (getTimer() > timer_int))) {
clearInterval(_local1.waitForData_var);
_local1.waitForData_var = undefined;
_local1.setTrackingDataLoaded(true);
}
}
function getTrackingDataCore() {
var _local1 = this;
_local1.SCORMbuild("GetValue", "cmi.location", "", _local1.objAPI_str + "lesson_location");
_local1.SCORMbuild("GetValue", "cmi.score._children", "", _local1.objAPI_str + "core_score_children", "getTrackingDataScoreValues");
if (_local1.objAPI_str == "") {
_local1.trackingResponse.waitForResponse("core_score_children", undefined, _local1, "getTrackingDataString", "cmi.score.", "core_score_children", "score_");
}
_local1.SCORMbuild("GetValue", "cmi.suspend_data", "", _local1.objAPI_str + "lesson_data");
_local1.SCORMbuild("GetValue", "cmi.interactions._children", "", _local1.objAPI_str + "interactions_children");
_local1.SCORMbuild("GetValue", "cmi.interactions._count", "", _local1.objAPI_str + "interactions_count");
if (_local1.waitForData_var == undefined) {
_local1.waitForData_var = setInterval(_local1.waitForData, 100, _local1, getTimer() + (_local1.waitForData_int * 1000));
}
}
function getTrackingDataString(data_str, value_str, additionalValue_var) {
var _local1 = value_str;
var _local2 = this;
var _local3 = additionalValue_var;
_local1 = _local2[_local1];
_local1 = _local1.split(",");
for (var item_str in _local1) {
if (_local1[item_str] != "") {
if (_local3 == undefined) {
_local2.SCORMbuild("GetValue", data_str + _local1[item_str], "", _local2.objAPI_str + _local1[item_str]);
} else {
_local2.SCORMbuild("GetValue", data_str + _local1[item_str], "", (_local2.objAPI_str + _local3) + _local1[item_str]);
}
}
}
}
function getTrackingDataScoreValues(value_str) {
var _local2 = this;
if ((value_str != undefined) && (value_str.indexOf(",") == -1)) {
value_str = _local2[value_str];
}
var _local1 = value_str.split(",");
for (var _local3 in _local1) {
_local2.SCORMbuild("GetValue", "cmi.score." + _local1[_local3], "", (_local2.objAPI_str + "score_") + _local1[_local3]);
}
}
function getTrackingDataObjectives(value_str) {
var _local2 = this[value_str];
var _local1 = 0;
while (_local1 <= _local2) {
_local1++;
}
SCORMbuild("GetValue", "");
}
function getTrackingDataError(command_str) {
var _local1 = this;
_local1.LMSLastError_int = undefined;
_local1.LMSLastError.error = undefined;
_local1.LMSLastError_str = undefined;
_local1.LMSLastErrorCmd_str = command_str;
_local1.SCORMbuild("GetLastError", "", "", _local1.objAPI_str + "LMSLastError_int");
_local1.SCORMbuild("GetErrorString", "LMSLastError_int", "", _local1.objAPI_str + "LMSLastError_str");
}
function setTrackingDataString(dataModel_str, dataValue_str, additionalValue_var) {
var _local2 = dataValue_str;
var _local3 = this;
var _local1 = "";
_local2 = _local2.split(",");
for (var item_str in _local2) {
if (additionalValue_var == undefined) {
_local1 = _local3[_local2[item_str]];
} else {
_local1 = _local3[additionalValue_var + _local2[item_str]];
}
if ((_local1 != undefined) && (_local1 != "")) {
_local3.SCORMbuild("SetValue", dataModel_str + _local2[item_str], _local1, "");
}
}
}
function setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _suspendData_str) {
var _local1 = this;
var _local2 = _scoreRaw_int;
var _local3 = _scoreMax_int;
if (_scoreAsPercent_bln == true) {
if ((((_local2 != undefined) && (_local3 != undefined)) && (!isNaN(Math.round((_local2 / _local3) * 100)))) && (_local3 != 0)) {
_local1.setScore(Math.round((_local2 / _local3) * 100));
} else {
_local1.setScore(Math.round(_local2));
}
} else if (((_local2 != undefined) && (_scoreMin_int != undefined)) && (_local3 != undefined)) {
_local1.setScore(_local2, _scoreMin_int, _local3);
} else if ((_local2 != undefined) && (_local3 != undefined)) {
_local1.setScore(_local2, 0, _local3);
} else if (_local2 != undefined) {
_local1.setScore(_local2);
} else {
_local1.setScore();
}
if (_location_str != undefined) {
_local1.setLessonLocation(_location_str);
}
if (_statusPreference_bln != undefined) {
if ((_statusPreference_bln == true) && (_statusCompletion_str != undefined)) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str, _statusSuccess_str);
}
}
} else if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
_local1.setLessonStatus(_statusSuccess_str);
} else {
_local1.setLessonStatus("incomplete");
}
_local1.setTimeInSession(_time_str);
if (_suspendData_str != undefined) {
_local1.setLessonData(_suspendData_str);
}
}
function sendTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _suspendData_str) {
var _local1 = this;
var tempSuccess_str = "";
var tempCompletion_str = "";
_local1.setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _suspendData_str);
_local1.setTrackingDataString("cmi.score.", _local1.core_score_children, "score_");
if (_local1.getSuccessStatus() != undefined) {
_local1.SCORMbuild("SetValue", "cmi.success_status", _local1.getSuccessStatus(), "");
}
_local1.SCORMbuild("SetValue", "cmi.completion_status", _local1.getLessonStatus(), "");
_local1.SCORMbuild("SetValue", "cmi.location", _local1.getLessonLocation(), "");
_local1.SCORMbuild("SetValue", "cmi.session_time", _local1.getTimeInSession(), "");
if (_local1.getLessonData() != "") {
_local1.SCORMbuild("SetValue", "cmi.suspend_data", escape(_local1.getLessonData()), "");
}
}
function flush() {
SCORMbuild("Commit", "", "", "");
}
function set finished_bln(value_bln) {
var _local1 = value_bln;
if (_local1.toLowerCase() == "true") {
_local1 = true;
} else if (_local1.toLowerCase() == "false") {
_local1 = false;
}
__set__initialized_bln(!_local1);
//return(__get__finished_bln());
}
function finish() {
var _local1 = this;
_local1.SCORMbuild("Commit", "", "", "");
_local1.SCORMbuild("Terminate", "", "", _local1.objAPI_str + "finished_bln");
}
function setTrackingComplete() {
finish();
}
function AICCTokenToSCORMToken(list_str, token_str) {
var _local2 = list_str.split(",");
var _local3 = token_str.substr(0, 1).toLowerCase();
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local3 == _local2[_local1].substr(0, 1)) {
return(_local2[_local1]);
}
_local1++;
}
return(token_str);
}
function normalizeStatus(status_str) {
return(AICCTokenToSCORMToken("completed,incomplete,not attempted,failed,passed", status_str));
}
function normalizeInteractionType(type_str) {
var _local1 = type_str;
if (_local1.toLowerCase() == "long-fill-in") {
_local1 = "long-fill-in";
} else {
_local1 = AICCTokenToSCORMToken("true-false,choice,fill-in,matching,performance,sequencing,likert,numeric", _local1);
}
if ((_local1 == "") || (_local1 == undefined)) {
_local1 = "other";
}
return(_local1);
}
function normalizeInteractionResult(result_str) {
var _local1 = AICCTokenToSCORMToken("correct,wrong,unanticipated,neutral", result_str);
_local1 = ((_local1 == "wrong") ? "incorrect" : (_local1));
return(_local1);
}
function normalizeRespose(response_str) {
return(AICCTokenToSCORMToken("true,false", response_str));
}
function isTokenSupported(list_str, token_str) {
var _local2 = list_str.split(",");
var _local3 = token_str.toLowerCase();
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local3 == trim(_local2[_local1])) {
return(true);
}
_local1++;
}
return(false);
}
function checkInteractionResponse(response_str) {
var _local2 = response_str;
var _local3 = "";
var _local1 = 0;
while (_local1 < _local2.length) {
if ((_local2.substr(_local1, 1) == ".") || (_local2.substr(_local1, 1) == ",")) {
if ((_local2.substr(_local1 - 1, 1) != "[") && (_local2.substr(_local1 + 1, 1) != "]")) {
_local3 = _local3 + (("[" + _local2.substr(_local1, 1)) + "]");
} else {
_local3 = _local3 + _local2.substr(_local1, 1);
}
} else {
_local3 = _local3 + _local2.substr(_local1, 1);
}
_local1++;
}
_local3 = ((_local3 == "") ? "0" : (escapeJS(_local3)));
return(_local3);
}
function setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = date_str;
var _local2 = _local1.interaction_ary.length;
_local1.interaction_ary[_local2] = new Array();
_local1.interaction_ary[_local2].interactionID_str = interactionID_str;
_local1.interaction_ary[_local2].objectiveID_str = objectiveID_str;
_local1.interaction_ary[_local2].type_str = _local1.normalizeInteractionType(type_str);
_local1.interaction_ary[_local2].correctResponse_str = _local1.checkInteractionResponse(correctResponse_str);
_local1.interaction_ary[_local2].studentResponse_str = _local1.checkInteractionResponse(studentResponse_str);
_local1.interaction_ary[_local2].result_str = _local1.normalizeInteractionResult(result_str);
_local1.interaction_ary[_local2].weight_int = weight_int;
_local1.interaction_ary[_local2].latency_str = _local1.formatTime(latency_str);
if ((_local3 == undefined) || (_local3 == "")) {
_local3 = _local1.formatDate();
} else {
_local3 = _local1.formatDate(_local3);
}
_local1.interaction_ary[_local2].date_str = _local3;
if ((time_str == undefined) || (time_str == "")) {
time_str = _local1.formatTimestamp(0);
} else {
time_str = _local1.formatTimestamp(time_str);
}
_local1.interaction_ary[_local2].time_str = time_str;
}
function sendInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = interactionID_str;
if (_local1.isInteractionDataTracked()) {
if ((_local3 != undefined) && (_local3 != "")) {
_local1.setInteractionData(_local3, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str);
}
var _local2 = 0;
while (_local2 < _local1.interaction_ary.length) {
if (_local1.isTokenSupported(_local1.interactions_children, "id") && (_local1.interaction_ary[_local2].interactionID_str != undefined)) {
_local1.SCORMbuild("SetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".id", _local1.interaction_ary[_local2].interactionID_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "timestamp") && (_local1.interaction_ary[_local2].time_str != undefined)) {
_local1.SCORMbuild("SetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".timestamp", _local1.interaction_ary[_local2].time_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "type") && (_local1.interaction_ary[_local2].type_str != undefined)) {
_local1.SCORMbuild("SetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".type", _local1.interaction_ary[_local2].type_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "correct_responses") && (_local1.interaction_ary[_local2].correctResponse_str != undefined)) {
_local1.SCORMbuild("SetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".correct_responses.0.pattern", _local1.interaction_ary[_local2].correctResponse_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "weighting") && (_local1.interaction_ary[_local2].weight_int != undefined)) {
_local1.SCORMbuild("SetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".weighting", _local1.interaction_ary[_local2].weight_int, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "learner_response") && (_local1.interaction_ary[_local2].studentResponse_str != undefined)) {
_local1.SCORMbuild("SetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".learner_response", _local1.interaction_ary[_local2].studentResponse_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "result") && (_local1.interaction_ary[_local2].result_str != undefined)) {
_local1.SCORMbuild("SetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".result", _local1.interaction_ary[_local2].result_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "latency") && (_local1.interaction_ary[_local2].latency_str != undefined)) {
_local1.SCORMbuild("SetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".latency", _local1.interaction_ary[_local2].latency_str, "");
}
_local1.interactions_count++;
_local2++;
}
_local1.interaction_ary = [];
}
}
function SCORMbuild(function_str, property_str, value_str, variable_str, functionToCall_str) {
var _local2 = function_str;
var _local3 = this;
var _local1 = new Object();
_local1.function_str = _local2;
_local1.property_str = property_str;
_local1.value_str = value_str;
_local1.variable_str = variable_str;
_local1.functionToCall_str = functionToCall_str;
_local3.lmsQueue.addToQueue(_local3, "callJS", _local1, true);
if ((((_local3.getShowErrors() == 1) && (_local2.substr(0, 14) != "GetErrorString")) && (_local2.substr(0, 12) != "GetLastError")) && ((_local2.substr(0, 8) == "GetValue") || (_local2.substr(0, 8) == "SetValue"))) {
_local3.getTrackingDataError((_local2 + ":") + property_str);
}
}
function watchForLMSResponse(variable_str, oldValue, newValue, referenceObject) {
var _local2 = referenceObject;
var _local3 = variable_str;
_local2.objAPI_obj.unwatch(_local3);
_local2[_local3] = unescape(newValue);
var _local1 = 0;
while (_local1 < _local2.callToJS_array.length) {
if (_local2.callToJS_array[_local1] == ((this + ".") + _local3)) {
_local2.callToJS_array.splice(_local1, 1);
break;
}
_local1++;
}
if (_local3 == "core_score_children") {
_local2.getTrackingDataScoreValues(newValue);
}
_local2.lmsQueue.removeFromQueue();
}
function callJS(parameter_obj) {
var _local2 = this;
if (((parameter_obj.function_str == "GetErrorString") && (_local2.LMSLastError_int == 0)) || ((parameter_obj.function_str != "Initialize") && (!_local2.isInitialized()))) {
_local2.lmsQueue.removeFromQueue();
} else {
var function_str = parameter_obj.function_str;
if (function_str == "GetErrorString") {
var property_str = _local2.LMSLastError_int;
} else {
var property_str = parameter_obj.property_str;
}
var _local3 = parameter_obj.value_str;
var _local1 = parameter_obj.variable_str;
if (_local2.objAPI_str == "") {
_local1 = (((_local1 == undefined) || (_local1 == "")) ? (_local2.objAPI_str + "tempVar") : (_local1));
_local2.callToJS_array.push(_local1);
var nav = (((((((("javascript:dataFromFlash('" + function_str) + "', '") + property_str) + "', '") + _local3) + "', '") + _local1) + "');");
getURL (nav);
} else {
_local1 = (((_local1 == undefined) || (_local1 == "")) ? (_local2.objAPI_str + "tempVar") : (_local1));
_local3 = (((_local3 == undefined) || (_local3 == "")) ? "''" : (_local3));
Set(_local1, undefined);
_local2.callToJS_array.push(_local1);
var variableName_str = _local1.substr(_local1.lastIndexOf(".") + 1);
_local2.objAPI_obj.watch(variableName_str, _local2.watchForLMSResponse, _local2);
fscommand (function_str, (((property_str + "|") + _local3) + "|") + _local1);
}
}
}
function formatTimestamp(time_var) {
return((formatDate() + "T") + formatTime(time_var, undefined, undefined, 2));
}
function formatTime(time_var, minutes_str, seconds_str, typeFormat_int) {
var _local2 = minutes_str;
var _local3 = seconds_str;
var days_str;
var _local1;
var formattedTime_str;
days_str = "0";
if (time_var == undefined) {
var time_obj = new Date();
_local1 = time_obj.getHours();
_local2 = time_obj.getMinutes();
_local3 = time_obj.getSeconds();
} else if ((typeof(time_var) == "string") && (time_var.indexOf(":") > -1)) {
var time_obj = time_var.split(":");
_local1 = time_obj[0];
_local2 = time_obj[1];
_local3 = time_obj[2];
} else {
days_str = "0";
_local3 = "0";
_local2 = "0";
_local1 = "0";
_local3 = int(time_var);
if (_local3 > 59) {
_local2 = int(_local3 / 60);
_local3 = _local3 - (_local2 * 60);
}
if (_local2 > 59) {
_local1 = int(_local2 / 60);
_local2 = _local2 - (_local1 * 60);
}
if (_local1 > 23) {
days_str = int(_local1 / 24);
_local1 = _local1 - (days_str * 24);
}
}
if ((typeFormat_int == undefined) || (typeFormat_int == 1)) {
formattedTime_str = "P";
if (days_str != "0") {
formattedTime_str = formattedTime_str + (days_str + "D");
}
formattedTime_str = formattedTime_str + (((((("T" + _local1) + "H") + _local2) + "M") + _local3) + "S");
} else {
formattedTime_str = (((formatNum(_local1, 2) + ":") + formatNum(_local2, 2)) + ":") + formatNum(_local3, 2);
}
return(formattedTime_str);
}
function formatDate(date_var, day_str, year_str) {
var _local1 = date_var;
var _local3 = this;
if (_local1 == undefined) {
var _local2 = new Date();
_local1 = _local3.formatNum(_local2.getMonth() + 1, 2);
day_str = _local3.formatNum(_local2.getDate(), 2);
year_str = _local2.getFullYear();
} else if ((typeof(_local1) == "string") && (_local1.indexOf("/") > -1)) {
var _local2 = _local1.split("/");
_local1 = _local3.formatNum(_local2[0], 2);
day_str = _local3.formatNum(_local2[1], 2);
year_str = _local3.formatNum(_local2[2], 4);
}
var formattedDate_str = ((((year_str + "-") + _local1) + "-") + day_str);
return(formattedDate_str);
}
var version = "1.2";
var callToJS_array = [];
var waitForData_var = undefined;
var waitForData_int = 30;
var objAPI_str = "";
}
Symbol 67 MovieClip [__Packages.MMQuizClasses.lms.SCORM_1_2] Frame 0
class MMQuizClasses.lms.SCORM_1_2 extends MMQuizClasses.lms.TrackingAdapter
{
var timer_int, __set__initialized_bln, __get__finished_bln, trim;
function SCORM_1_2 (_adapterObject, typeEnvironment_int) {
var _local3 = this;
super();
if (_adapterObject != undefined) {
_local3.setObjectReference(_adapterObject);
}
_local3.init();
_local3.LMSLastError = new Object();
_local3.trackingResponse = new MMQuizClasses.lms.Response();
if ((typeEnvironment_int != undefined) && (typeEnvironment_int == 0)) {
_local3.objAPI_str = _adapterObject + ".";
_local3.objAPI_obj = _adapterObject;
} else {
var thisObj_obj = _local3;
_local3.scorm_lc = new LocalConnection();
_local3.scorm_lc.connect("lc_name");
_local3.scorm_lc.methodToExecute = function (result_str) {
var _local3 = result_str.split("|");
var _local2 = unescape(_local3[0]);
var result = unescape(_local3[1]);
thisObj_obj[_local2] = result;
var _local1 = 0;
while (_local1 < thisObj_obj.callToJS_array.length) {
if (thisObj_obj.callToJS_array[_local1] == _local2) {
thisObj_obj.callToJS_array.splice(_local1, 1);
break;
}
_local1++;
}
if (_local2 == "LMSLastError_str") {
thisObj_obj.addToErrorArray(thisObj_obj.LMSLastError_int, thisObj_obj.LMSLastError_str, thisObj_obj.LMSLastErrorCmd_str);
}
thisObj_obj.lmsQueue.removeFromQueue();
};
}
}
function init() {
timer_int = int(getTimer() / 1000);
}
function initialize() {
var _local1 = this;
if (!_local1.isInitialized()) {
_local1.SCORMbuild("LMSInitialize", "", "", _local1.objAPI_str + "initialized_bln");
}
}
function getTrackingData() {
var _local1 = this;
if (!_local1.isTrackingDataLoaded()) {
_local1.getTrackingDataCore();
_local1.SCORMbuild("LMSGetValue", "cmi.launch_data", "", _local1.objAPI_str + "vendor_data");
_local1.SCORMbuild("LMSGetValue", "cmi.objectives._count", "", _local1.objAPI_str + "objectives_count");
if (_local1.waitForData_var == undefined) {
_local1.waitForData_var = setInterval(_local1.waitForData, 100, _local1, getTimer() + (_local1.waitForData_int * 1000));
}
}
}
function waitForData(this_obj, timer_int) {
var _local1 = this_obj;
if ((_local1.callToJS_array.length == 0) || ((timer_int != undefined) && (getTimer() > timer_int))) {
clearInterval(_local1.waitForData_var);
_local1.waitForData_var = undefined;
_local1.setTrackingDataLoaded(true);
}
}
function getTrackingDataCore() {
var _local1 = this;
_local1.SCORMbuild("LMSGetValue", "cmi.core._children", "", _local1.objAPI_str + "core_children", "getTrackingDataCoreValues");
_local1.SCORMbuild("LMSGetValue", "cmi.suspend_data", "", _local1.objAPI_str + "lesson_data");
_local1.SCORMbuild("LMSGetValue", "cmi.interactions._children", "", _local1.objAPI_str + "interactions_children");
_local1.SCORMbuild("LMSGetValue", "cmi.interactions._count", "", _local1.objAPI_str + "interactions_count");
if (_local1.objAPI_str == "") {
_local1.trackingResponse.waitForResponse("core_children", undefined, _local1, "getTrackingDataCoreValues", "core_children");
}
if (_local1.waitForData_var == undefined) {
_local1.waitForData_var = setInterval(_local1.waitForData, 100, _local1, getTimer() + (_local1.waitForData_int * 1000));
}
}
function getTrackingDataCoreValues(value_str) {
var _local2 = this;
if ((value_str != undefined) && (value_str.indexOf(",") == -1)) {
value_str = _local2[value_str];
}
var _local1 = value_str.split(",");
for (var _local3 in _local1) {
if (((((((((_local1[_local3] != "session_time") && (_local1[_local3] != "exit")) && (_local1[_local3] != "student_id")) && (_local1[_local3] != "student_name")) && (_local1[_local3] != "credit")) && (_local1[_local3] != "lesson_status")) && (_local1[_local3] != "entry")) && (_local1[_local3] != "total_time")) && (_local1[_local3] != "lesson_mode")) {
if (_local1[_local3] == "score") {
_local2.SCORMbuild("LMSGetValue", "cmi.core.score._children", "", _local2.objAPI_str + "core_score_children", "getTrackingDataScoreValues");
if (_local2.objAPI_str == "") {
_local2.trackingResponse.waitForResponse("core_score_children", undefined, _local2, "getTrackingDataString", "cmi.core.score.", "core_score_children", "score_");
}
} else {
_local2.SCORMbuild("LMSGetValue", "cmi.core." + _local1[_local3], "", _local2.objAPI_str + _local1[_local3]);
}
}
}
}
function getTrackingDataScoreValues(value_str) {
var _local2 = this;
if ((value_str != undefined) && (value_str.indexOf(",") == -1)) {
value_str = _local2[value_str];
}
var _local1 = value_str.split(",");
for (var _local3 in _local1) {
_local2.SCORMbuild("LMSGetValue", "cmi.core.score." + _local1[_local3], "", (_local2.objAPI_str + "score_") + _local1[_local3]);
}
}
function getTrackingDataString(data_str, value_str, additionalValue_var) {
var _local1 = value_str;
var _local2 = this;
var _local3 = additionalValue_var;
_local1 = _local2[_local1];
_local1 = _local1.split(",");
for (var item_str in _local1) {
if (_local1[item_str] != "") {
if (_local3 == undefined) {
_local2.SCORMbuild("LMSGetValue", data_str + _local1[item_str], "", _local2.objAPI_str + _local1[item_str]);
} else {
_local2.SCORMbuild("LMSGetValue", data_str + _local1[item_str], "", (_local2.objAPI_str + _local3) + _local1[item_str]);
}
}
}
}
function getTrackingDataObjectives(value_str) {
var _local2 = this[value_str];
var _local1 = 0;
while (_local1 <= _local2) {
_local1++;
}
SCORMbuild("LMSGetValue", "");
}
function getTrackingDataError(command_str) {
var _local1 = this;
_local1.LMSLastError_int = undefined;
_local1.LMSLastError.error = undefined;
_local1.LMSLastError_str = undefined;
_local1.LMSLastErrorCmd_str = command_str;
_local1.SCORMbuild("LMSGetLastError", "", "", _local1.objAPI_str + "LMSLastError_int");
_local1.SCORMbuild("LMSGetErrorString", "LMSLastError_int", "", _local1.objAPI_str + "LMSLastError_str");
}
function getTrackingDataErrorString() {
var _local1 = this;
if (_local1.LMSLastError_int != 0) {
_local1.SCORMbuild("LMSGetErrorString", "", "", _local1.objAPI_str + "LMSLastError_str", "getTrackingDataErrorStringResult");
if (_local1.objAPI_str == "") {
_local1.trackingResponse.waitForResponse("LMSLastError_str", undefined, _local1, "getTrackingDataErrorStringResult");
}
} else {
_local1.LMSLastError_str = "";
}
}
function getTrackingDataErrorStringResult() {
var _local1 = this;
_local1.addToErrorArray(_local1.LMSLastError_int, _local1.LMSLastError_str, _local1.LMSLastErrorCmd_str);
}
function setTrackingDataString(dataModel_str, dataValue_str, additionalValue_var) {
var _local2 = dataValue_str;
var _local3 = this;
var _local1 = "";
_local2 = _local2.split(",");
for (var item_str in _local2) {
if (additionalValue_var == undefined) {
_local1 = _local3[_local2[item_str]];
} else {
_local1 = _local3[additionalValue_var + _local2[item_str]];
}
if ((_local1 != undefined) && (_local1 != "")) {
_local3.SCORMbuild("LMSSetValue", dataModel_str + _local2[item_str], _local1, "");
}
}
}
function setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _suspendData_str) {
var _local1 = this;
var _local2 = _scoreRaw_int;
var _local3 = _scoreMax_int;
if (_scoreAsPercent_bln == true) {
if ((((_local2 != undefined) && (_local3 != undefined)) && (!isNaN(Math.round((_local2 / _local3) * 100)))) && (_local3 != 0)) {
_local1.setScore(Math.round((_local2 / _local3) * 100));
} else {
_local1.setScore(Math.round(_local2));
}
} else if (((_local2 != undefined) && (_scoreMin_int != undefined)) && (_local3 != undefined)) {
_local1.setScore(_local2, _scoreMin_int, _local3);
} else if ((_local2 != undefined) && (_local3 != undefined)) {
_local1.setScore(_local2, 0, _local3);
} else if (_local2 != undefined) {
_local1.setScore(_local2);
} else {
_local1.setScore();
}
if (_location_str != undefined) {
_local1.setLessonLocation(_location_str);
}
if (_statusPreference_bln != undefined) {
if ((_statusPreference_bln == true) && (_statusCompletion_str != undefined)) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str, _statusSuccess_str);
}
}
} else if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
_local1.setLessonStatus(_statusSuccess_str);
}
_local1.setLessonStatus(_local1.getLessonStatus());
_local1.setTimeInSession(_time_str);
if (_suspendData_str != undefined) {
_local1.setLessonData(_suspendData_str);
}
}
function sendTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _suspendData_str) {
var _local1 = this;
var _local3 = _statusPreference_bln;
var _local2 = "";
_local1.setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _local3, _time_str, _suspendData_str);
_local1.setTrackingDataString("cmi.core.score.", _local1.core_score_children, "score_");
if (_local3 != undefined) {
if (_local3 == true) {
_local2 = _local1.getLessonStatus();
} else if (_local1.getSuccessStatus() != undefined) {
_local2 = _local1.getSuccessStatus();
} else {
_local2 = _local1.getLessonStatus();
}
} else {
_local2 = _local1.getLessonStatus();
}
_local1.SCORMbuild("LMSSetValue", "cmi.core.lesson_status", _local1.normalizeStatus(_local2), "");
_local1.SCORMbuild("LMSSetValue", "cmi.core.lesson_location", _local1.getLessonLocation(), "");
_local1.SCORMbuild("LMSSetValue", "cmi.core.session_time", _local1.getTimeInSession(), "");
if (_local1.getLessonData() != "") {
_local1.SCORMbuild("LMSSetValue", "cmi.suspend_data", escape(_local1.getLessonData()), "");
}
}
function flush() {
SCORMbuild("LMSCommit", "", "", "");
}
function set finished_bln(value_bln) {
var _local1 = value_bln;
if (_local1.toLowerCase() == "true") {
_local1 = true;
} else if (_local1.toLowerCase() == "false") {
_local1 = false;
}
__set__initialized_bln(!_local1);
//return(__get__finished_bln());
}
function finish() {
var _local1 = this;
_local1.SCORMbuild("LMSCommit", "", "", "");
_local1.SCORMbuild("LMSFinish", "", "", _local1.objAPI_str + "finished_bln");
}
function setTrackingComplete() {
finish();
}
function AICCTokenToSCORMToken(list_str, token_str) {
var _local2 = list_str.split(",");
var _local3 = token_str.substr(0, 1).toLowerCase();
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local3 == _local2[_local1].substr(0, 1)) {
return(_local2[_local1]);
}
_local1++;
}
return(token_str);
}
function normalizeStatus(status_str) {
return(AICCTokenToSCORMToken("completed,incomplete,not attempted,failed,passed", status_str));
}
function normalizeInteractionType(type_str) {
if (type_str.toLowerCase() == "long-fill-in") {
return("fill-in");
}
return(AICCTokenToSCORMToken("true-false,choice,fill-in,matching,performance,sequencing,likert,numeric", type_str));
}
function normalizeInteractionResult(result_str) {
return(AICCTokenToSCORMToken("correct,wrong,unanticipated,neutral", result_str));
}
function isTokenSupported(list_str, token_str) {
var _local2 = list_str.split(",");
var _local3 = token_str.toLowerCase();
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local3 == trim(_local2[_local1])) {
return(true);
}
_local1++;
}
return(false);
}
function setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = time_str;
var _local2 = _local1.interaction_ary.length;
_local1.interaction_ary[_local2] = new Array();
_local1.interaction_ary[_local2].interactionID_str = interactionID_str;
_local1.interaction_ary[_local2].objectiveID_str = objectiveID_str;
_local1.interaction_ary[_local2].type_str = _local1.normalizeInteractionType(type_str);
_local1.interaction_ary[_local2].correctResponse_str = ((correctResponse_str == "") ? "0" : (_local1.escapeJS(correctResponse_str)));
_local1.interaction_ary[_local2].studentResponse_str = ((studentResponse_str == "") ? "0" : (_local1.escapeJS(studentResponse_str)));
_local1.interaction_ary[_local2].result_str = _local1.normalizeInteractionResult(result_str);
_local1.interaction_ary[_local2].weight_int = weight_int;
_local1.interaction_ary[_local2].latency_str = _local1.formatTime(latency_str);
if ((date_str == undefined) || (date_str == "")) {
date_str = _local1.formatDate();
}
_local1.interaction_ary[_local2].date_str = date_str;
if ((_local3 == undefined) || (_local3 == "")) {
_local3 = "00:00:00";
} else {
_local3 = _local1.formatTime(_local3);
}
_local1.interaction_ary[_local2].time_str = _local3;
}
function sendInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = interactionID_str;
if (_local1.isInteractionDataTracked()) {
if ((_local3 != undefined) && (_local3 != "")) {
_local1.setInteractionData(_local3, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str);
}
var _local2 = 0;
while (_local2 < _local1.interaction_ary.length) {
if (_local1.isTokenSupported(_local1.interactions_children, "id") && (_local1.interaction_ary[_local2].interactionID_str != undefined)) {
_local1.SCORMbuild("LMSSetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".id", _local1.interaction_ary[_local2].interactionID_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "time") && (_local1.interaction_ary[_local2].time_str != undefined)) {
_local1.SCORMbuild("LMSSetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".time", _local1.interaction_ary[_local2].time_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "type") && (_local1.interaction_ary[_local2].type_str != undefined)) {
_local1.SCORMbuild("LMSSetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".type", _local1.interaction_ary[_local2].type_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "correct_responses") && (_local1.interaction_ary[_local2].correctResponse_str != undefined)) {
_local1.SCORMbuild("LMSSetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".correct_responses.0.pattern", _local1.interaction_ary[_local2].correctResponse_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "weighting") && (_local1.interaction_ary[_local2].weight_int != undefined)) {
_local1.SCORMbuild("LMSSetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".weighting", _local1.interaction_ary[_local2].weight_int, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "student_response") && (_local1.interaction_ary[_local2].studentResponse_str != undefined)) {
_local1.SCORMbuild("LMSSetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".student_response", _local1.interaction_ary[_local2].studentResponse_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "result") && (_local1.interaction_ary[_local2].result_str != undefined)) {
_local1.SCORMbuild("LMSSetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".result", _local1.interaction_ary[_local2].result_str, "");
}
if (_local1.isTokenSupported(_local1.interactions_children, "latency") && (_local1.interaction_ary[_local2].latency_str != undefined)) {
_local1.SCORMbuild("LMSSetValue", ("cmi.interactions." + _local1.interactions_count.toString()) + ".latency", _local1.interaction_ary[_local2].latency_str, "");
}
_local1.interactions_count++;
_local2++;
}
_local1.interaction_ary = [];
}
}
function SCORMbuild(function_str, property_str, value_str, variable_str, functionToCall_str) {
var _local2 = function_str;
var _local3 = this;
var _local1 = new Object();
_local1.function_str = _local2;
_local1.property_str = property_str;
_local1.value_str = value_str;
_local1.variable_str = variable_str;
_local1.functionToCall_str = functionToCall_str;
_local3.lmsQueue.addToQueue(_local3, "callJS", _local1, true);
if ((((_local3.getShowErrors() == 1) && (_local2.substr(0, 18) != "LMSLastErrorString")) && (_local2.substr(0, 15) != "LMSGetLastError")) && ((_local2.substr(0, 11) == "LMSGetValue") || (_local2.substr(0, 11) == "LMSSetValue"))) {
_local3.getTrackingDataError((_local2 + ":") + property_str);
}
}
function watchForLMSResponse(variable_str, oldValue, newValue, referenceObject) {
var _local2 = referenceObject;
var _local3 = variable_str;
_local2.objAPI_obj.unwatch(_local3);
_local2[_local3] = unescape(newValue);
var _local1 = 0;
while (_local1 < _local2.callToJS_array.length) {
if (_local2.callToJS_array[_local1] == ((this + ".") + _local3)) {
_local2.callToJS_array.splice(_local1, 1);
break;
}
_local1++;
}
if (_local3 == "core_children") {
_local2.getTrackingDataCoreValues(newValue);
}
if (_local3 == "core_score_children") {
_local2.getTrackingDataScoreValues(newValue);
}
if (_local3 == "LMSLastError_str") {
_local2.getTrackingDataErrorStringResult();
}
_local2.lmsQueue.removeFromQueue();
}
function callJS(parameter_obj) {
var _local3 = this;
if (((parameter_obj.function_str == "LMSGetErrorString") && (_local3.LMSLastError_int == 0)) || ((parameter_obj.function_str != "LMSInitialize") && (!_local3.isInitialized()))) {
_local3.lmsQueue.removeFromQueue();
} else {
var function_str = parameter_obj.function_str;
if (function_str == "LMSGetErrorString") {
var property_str = _local3.LMSLastError_int;
} else {
var property_str = parameter_obj.property_str;
}
var _local2 = parameter_obj.value_str;
var _local1 = parameter_obj.variable_str;
if (_local3.objAPI_str == "") {
_local1 = (((_local1 == undefined) || (_local1 == "")) ? (_local3.objAPI_str + "tempVar") : (_local1));
_local3.callToJS_array.push(_local1);
_local2 = (((_local2 == undefined) || (_local2 == "")) ? "\"\"" : (("'" + _local2) + "'"));
var nav = (((((((("javascript:dataFromFlash('" + function_str) + "', '") + property_str) + "', ") + _local2) + ", '") + _local1) + "');");
getURL (nav);
} else {
_local1 = (((_local1 == undefined) || (_local1 == "")) ? (_local3.objAPI_str + "tempVar") : (_local1));
_local2 = (((_local2 == undefined) || (_local2 == "")) ? "''" : (_local2));
Set(_local1, undefined);
_local3.callToJS_array.push(_local1);
var variableName_str = _local1.substr(_local1.lastIndexOf(".") + 1);
_local3.objAPI_obj.watch(variableName_str, _local3.watchForLMSResponse, _local3);
fscommand (function_str, (((property_str + "|") + _local2) + "|") + _local1);
}
}
}
var version = "1.2";
var callToJS_array = [];
var waitForData_var = undefined;
var waitForData_int = 30;
var objAPI_str = "";
}
Symbol 68 MovieClip [__Packages.MMQuizClasses.lms.EMail] Frame 0
class MMQuizClasses.lms.EMail extends MMQuizClasses.lms.TrackingAdapter
{
var setInitialized, isInitialized, isTrackingDataLoaded, setTrackingDataLoaded, formatDate;
function EMail (_adapterObject, emailTo) {
var _local1 = this;
super();
if (_adapterObject != undefined) {
_local1.setObjectReference(_adapterObject);
}
_local1.emailTo_str = emailTo;
_local1.resetTimer();
}
function initialize() {
setInitialized(true);
return(isInitialized());
}
function flush() {
sendEMail();
}
function finish() {
var _local1 = this;
if (_local1.isInitialized() || (_local1.emailModified_bln)) {
}
_local1.setInitialized(false);
}
function setInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = this;
var _local3 = time_str;
var _local2 = _local1.interaction_ary.length;
_local1.interaction_ary[_local2] = new Array();
_local1.interaction_ary[_local2].interactionID_str = interactionID_str;
_local1.interaction_ary[_local2].objectiveID_str = objectiveID_str;
_local1.interaction_ary[_local2].type_str = type_str;
_local1.interaction_ary[_local2].correctResponse_str = _local1.escapeJS(correctResponse_str);
_local1.interaction_ary[_local2].studentResponse_str = _local1.escapeJS(studentResponse_str);
_local1.interaction_ary[_local2].result_str = result_str;
_local1.interaction_ary[_local2].weight_int = weight_int;
_local1.interaction_ary[_local2].latency_str = _local1.formatTime(latency_str);
if ((date_str == undefined) || (date_str == "")) {
date_str = _local1.formatDate();
}
_local1.interaction_ary[_local2].date_str = date_str;
if ((_local3 == undefined) || (_local3 == "")) {
_local3 = _local1.formatTime(0);
} else {
_local3 = _local1.formatTime(_local3);
}
_local1.interaction_ary[_local2].time_str = _local3;
}
function sendInteractionData(interactionID_str, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str) {
var _local1 = interactionID_str;
if ((_local1 != undefined) && (_local1 != "")) {
setInteractionData(_local1, objectiveID_str, type_str, correctResponse_str, studentResponse_str, result_str, weight_int, latency_str, date_str, time_str);
emailModified_bln = true;
}
}
function getTrackingData() {
if (!isTrackingDataLoaded()) {
setTrackingDataLoaded(true);
}
}
function getTrackingDataCore() {
getTrackingData();
}
function setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var _local2 = _scoreRaw_int;
var _local3 = _scoreMax_int;
if (_scoreAsPercent_bln == true) {
if ((((_local2 != undefined) && (_local3 != undefined)) && (!isNaN(Math.round((_local2 / _local3) * 100)))) && (_local3 != 0)) {
_local1.setScore(Math.round((_local2 / _local3) * 100));
} else {
_local1.setScore(Math.round(_local2));
}
} else if (((_local2 != undefined) && (_scoreMin_int != undefined)) && (_local3 != undefined)) {
_local1.setScore(_local2, _scoreMin_int, _local3);
} else if ((_local2 != undefined) && (_local3 != undefined)) {
_local1.setScore(_local2, 0, _local3);
} else if (_local2 != undefined) {
_local1.setScore(_local2);
} else {
_local1.setScore();
}
if ((_location_str != undefined) && (_location_str != "")) {
_local1.setLessonLocation(_location_str);
}
if (_statusPreference_bln != undefined) {
if ((_statusPreference_bln == true) && (_statusCompletion_str != undefined)) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
_local1.setLessonStatus(_statusSuccess_str);
}
} else if (_statusCompletion_str != undefined) {
_local1.setLessonStatus(_statusCompletion_str);
} else if (_statusSuccess_str != undefined) {
_local1.setLessonStatus(_statusSuccess_str);
}
if (((_time_str != undefined) && (_time_str != "")) || (_local1.timer_str == undefined)) {
_local1.setTimeInSession(_time_str);
} else {
_local1.setTimeInSession();
}
if ((_resumeData_str != undefined) && (_resumeData_str != "")) {
_local1.setLessonData(_resumeData_str);
}
_local1.setLessonStatus(_local1.getLessonStatus());
}
function sendTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str) {
var _local1 = this;
var temp_str = "";
_local1.setTrackingData(_scoreRaw_int, _scoreMin_int, _scoreMax_int, _scoreAsPercent_bln, _location_str, _statusCompletion_str, _statusSuccess_str, _statusPreference_bln, _time_str, _resumeData_str);
if (_scoreAsPercent_bln) {
_local1.scoreAsPercent_bln = true;
}
_local1.emailModified_bln = true;
}
function sendExitData() {
finish();
}
function setTrackingComplete() {
finish();
}
function sendEMail() {
var _local1 = this;
var _local3 = "";
var temp_str = "";
var _local2 = _local1.return_str;
if ((int(_root.rdIsPreview) == 1) || (_root.FlashPlayer)) {
_local3 = (((_local1.emailTo_str + "?subject=") + _local1.buildEMailSubject()) + "&body=") + _local1.buildEMailBodyCore(_local2);
temp_str = _local1.buildEMailBodyInteractionHeader(_local2) + escape(_local2);
temp_str = temp_str + _local1.buildEMailBodyInteraction(_local2);
if ((_local3.length + temp_str.length) < 2000) {
}
fscommand ("execfile", "mailto:" + _local3);
} else {
_local2 = "|";
if (_local1.isInteractionDataTracked() && (_local1.interaction_ary.length > 0)) {
getURL ((((((("javascript:padMail('" + _local1.emailTo_str) + ";','") + _local1.buildEMailSubject()) + "','") + _local1.buildEMailBodyCore(_local2)) + _local1.buildEMailBodyInteractionHeader(_local2)) + "');");
_local1.emailInterval_var = setInterval(_local1.loadInteractionData, _local1.emailInterval_int * 1000, _local1, 0, _local2);
} else {
getURL (((((("javascript:padMail('" + _local1.emailTo_str) + "','") + _local1.buildEMailSubject()) + "','") + _local1.buildEMailBodyCore(_local2)) + "');");
_local1.emailInterval_var = setInterval(_local1.submitEMail, _local1.emailInterval_int * 1000, _local1);
}
}
_local1.emailModified_bln = false;
}
function buildEMailSubject() {
return(escape("Results: " + formatDate()));
}
function buildEMailBodyCore(emailBodyDelimiter_str) {
var _local1 = this;
var _local2 = emailBodyDelimiter_str;
_local2 = ((_local2 == undefined) ? (_local1.return_str) : (_local2));
var _local3 = "Core Data" + _local2;
_local3 = _local3 + ((("\"Status\",\"Location\"," + (_local1.scoreAsPercent_bln ? "\"Score\"," : "\"Raw Score\",\"Max Score\",\"Min Score\",")) + "\"Time\"") + _local2);
_local3 = _local3 + (((((((((((("\"" + _local1.getLessonStatus()) + "\",") + "\"") + _local1.getLessonLocation()) + "\",") + "\"") + (_local1.scoreAsPercent_bln ? (_local1.getScore()) : ((((_local1.getScoreRaw() + "\",\"") + _local1.getScoreMax()) + "\",\"") + _local1.getScoreMin()))) + "\",\"") + _local1.getTimeInSession()) + "\"") + _local2) + _local2);
return(escape(_local3));
}
function buildEMailBodyInteractionHeader(emailBodyDelimiter_str) {
var _local2 = emailBodyDelimiter_str;
var _local3 = this;
var _local1 = "";
if (_local3.isInteractionDataTracked() && (_local3.interaction_ary.length > 0)) {
_local2 = ((_local2 == undefined) ? (_local3.return_str) : (_local2));
_local1 = _local1 + ("Interaction Data" + _local2);
_local1 = _local1 + "\"Date\",\"Time\",\"Interaction ID\",\"Objective ID\",\"Interaction Type\",\"Correct Response\",\"Student Response\",\"Result\",\"Weight\",\"Latency\"";
}
return(escape(_local1));
}
function buildEMailBodyInteraction(emailBodyDelimiter_str) {
var _local2 = this;
var _local3 = emailBodyDelimiter_str;
_local3 = ((_local3 == undefined) ? (_local2.return_str) : (_local3));
var interactionData_str = "";
if (_local2.isInteractionDataTracked() && (_local2.interaction_ary.length > 0)) {
var _local1 = 0;
while (_local1 < _local2.interaction_ary.length) {
interactionData_str = interactionData_str + (_local2.buildEMailInteractionData(_local1, _local2) + escape(_local3));
_local1++;
}
}
return(interactionData_str);
}
function buildEMailInteractionData(interaction_int, this_obj) {
var _local1 = this_obj;
var _local2 = interaction_int;
_local1 = ((_local1 == undefined) ? (this) : (_local1));
var _local3 = "";
if (_local2 < _local1.interaction_ary.length) {
_local3 = _local3 + ((((((((((((((((((((((((((((("\"" + _local1.interaction_ary[_local2].date_str) + "\",") + "\"") + _local1.interaction_ary[_local2].time_str) + "\",") + "\"") + _local1.interaction_ary[_local2].interactionID_str) + "\",") + "\"") + _local1.interaction_ary[_local2].objectiveID_str) + "\",") + "\"") + _local1.interaction_ary[_local2].type_str) + "\",") + "\"") + _local1.interaction_ary[_local2].correctResponse_str) + "\",") + "\"") + _local1.interaction_ary[_local2].studentResponse_str) + "\",") + "\"") + _local1.interaction_ary[_local2].result_str) + "\",") + "\"") + _local1.interaction_ary[_local2].weight_int) + "\",") + "\"") + _local1.interaction_ary[_local2].latency_str) + "\"");
}
return(_local3);
}
function submitEMail(this_obj) {
clearInterval(this_obj.emailInterval_var);
getURL ("javascript:sendMail()");
}
function loadInteractionData(this_obj, interaction_int, emailBodyDelimiter_str) {
var _local1 = this_obj;
var _local2 = interaction_int;
clearInterval(_local1.emailInterval_var);
var _local3 = "";
if (_local2 < _local1.interaction_ary.length) {
_local3 = _local3 + _local1.buildEMailInteractionData(_local2, _local1);
getURL (("javascript:appendEmailBody('" + _local3) + "');");
_local2++;
_local1.emailInterval_var = setInterval(_local1.loadInteractionData, _local1.emailInterval_int * 1000, _local1, _local2, emailBodyDelimiter_str);
} else {
_local1.emailInterval_var = setInterval(_local1.submitEMail, _local1.emailInterval_int * 1000, _local1);
}
}
var emailTo_str = "";
var emailBody_str = "";
var emailSubject_str = "";
var return_str = newline;
var scoreAsPercent_bln = false;
var emailModified_bln = false;
var emailInterval_int = 0.1;
}
Symbol 69 MovieClip [__Packages.MMQuizClasses.ScoreDisplay] Frame 0
class MMQuizClasses.ScoreDisplay extends mx.core.UIComponent
{
var _score, _maxScore, _numQuestions, _numRetries, _numQuizAttempts, _percentCorrect, _feedback, _parent;
function ScoreDisplay () {
super();
}
function set score(newScore) {
var _local1 = this;
var _local2 = _local1;
_local1._score = newScore;
_local2._scoreMC._valueMC.score = _local1._score;
//return(_local1.__get__score());
}
function get score() {
return(_score);
}
function set maxScore(newMaxScore) {
var _local1 = this;
var _local2 = _local1;
_local1._maxScore = newMaxScore;
_local2._maxScoreMC._valueMC.maxScore = _local1._maxScore;
//return(_local1.__get__maxScore());
}
function get maxScore() {
return(_maxScore);
}
function set numQuestions(newNumQuestions) {
var _local1 = this;
var _local2 = _local1;
_local1._numQuestions = newNumQuestions;
_local2._numQuestionsMC._valueMC.numQuestions = _local1._numQuestions;
//return(_local1.__get__numQuestions());
}
function get numQuestions() {
return(_numQuestions);
}
function set numRetries(newNumRetries) {
var _local1 = this;
var _local2 = _local1;
_local1._numRetries = newNumRetries;
_local2._numRetriesMC._valueMC.numRetries = _local1._numRetries;
//return(_local1.__get__numRetries());
}
function get numRetries() {
return(_numRetries);
}
function set numQuizAttempts(newNumQuizAttempts) {
var _local1 = this;
var _local2 = _local1;
_local1._numQuizAttempts = newNumQuizAttempts;
_local2._numQuizAttemptsMC._valueMC.numQuizAttempts = _local1._numQuizAttempts;
//return(_local1.__get__numQuizAttempts());
}
function get numQuizAttempts() {
return(_numQuizAttempts);
}
function set percentCorrect(newPercentCorrect) {
var _local1 = this;
var _local2 = _local1;
_local1._percentCorrect = newPercentCorrect;
_local2._percentCorrectMC._valueMC.percentCorrect = _local1._percentCorrect;
//return(_local1.__get__percentCorrect());
}
function get percentCorrect() {
return(_percentCorrect);
}
function set feedback(newFeedback) {
var _local1 = this;
var _local2 = _local1;
_local1._feedback = newFeedback;
_local2._feedbackMC._valueMC.feedback = _local1._feedback;
//return(_local1.__get__feedback());
}
function get feedback() {
return(_feedback);
}
function setAccessibilityNone(o) {
var _local1 = o;
if (_local1) {
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = true;
_local1._accProps.forceSimple = true;
_local1._accProps.name = "";
_local1.tabEnabled = false;
_local1.tabChildren = false;
_local1.focusEnabled = false;
_local1.tabIndex = undefined;
}
}
function setChildAccessibilityNone(o) {
var _local1 = o;
var _local2 = this;
for (var _local3 in _local1) {
_local2.setAccessibilityNone(_local1[_local3]);
}
}
function setAccessibilityNonLeafNode(o, setChildNone) {
var _local1 = o;
if (setChildNone) {
setChildAccessibilityNone(_local1);
}
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = false;
_local1._accProps.name = "";
_local1.tabEnabled = false;
_local1.tabIndex = _curTabIndex++;
_local1.tabChildren = true;
_local1.focusEnabled = false;
}
function setAccessibilityLeafNode(o, theName) {
var _local1 = o;
setChildAccessibilityNone(_local1);
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = true;
_local1._accProps.name = theName;
_local1.tabChildren = false;
_local1.tabIndex = _curTabIndex++;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
}
function setDocAccessibility() {
var _local1 = _parent._parent;
setChildAccessibilityNone(_local1);
var _local2 = new Object();
_local1._accProps = _local2;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = false;
_local1._accProps.name = "";
_local1.tabEnabled = false;
_local1.tabChildren = true;
_local1.focusEnabled = false;
}
function setPlaybarButtonAccessibility(b) {
var _local1 = b;
_local1._accProps.silent = false;
_local1._accProps.forceSimple = true;
_local1.tabIndex = _curTabIndex++;
_local1.focusEnabled = true;
_local1.tabChildren = false;
}
function setPlaybarAccessibility() {
var _local2 = this;
var _local1 = _local2._parent._parent.playbar_mc;
if (_local1) {
_local2.setAccessibilityNonLeafNode(_local1, false);
_local2.setAccessibilityNone(_local1.progressbar_mc);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Rewind2);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Back3);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Play4);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Pause5);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Forward6);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Exit7);
_local2.setPlaybarButtonAccessibility(_local1.pbc_Information8);
}
}
function setAccessibility() {
var _local2 = this;
var _local1 = _local2;
_local2._curTabIndex = 1;
var but1Text = _local1._parent._scoreSlideBtn_0._accProps.name;
var _local3 = _local1._parent._scoreSlideBtn_1._accProps.name;
_local2.setDocAccessibility();
_local2.setAccessibilityNonLeafNode(_local1._scoreMC, true);
_local2.setAccessibilityLeafNode(_local1._scoreMC._labelMC, _local1._scoreMC._labelMC._accText);
_local2.setAccessibilityLeafNode(_local1._scoreMC._valueMC, _local1._scoreMC._valueMC.score);
_local2.setAccessibilityNonLeafNode(_local1._maxScoreMC, true);
_local2.setAccessibilityLeafNode(_local1._maxScoreMC._labelMC, _local1._maxScoreMC._labelMC._accText);
_local2.setAccessibilityLeafNode(_local1._maxScoreMC._valueMC, _local1._maxScoreMC._valueMC.maxScore);
_local2.setAccessibilityNonLeafNode(_local1._percentCorrectMC, true);
_local2.setAccessibilityLeafNode(_local1._percentCorrectMC._labelMC, _local1._percentCorrectMC._labelMC._accText);
_local2.setAccessibilityLeafNode(_local1._percentCorrectMC._valueMC, _local1._percentCorrectMC._valueMC.percentCorrect);
_local2.setAccessibilityNonLeafNode(_local1._numQuestionsMC, true);
_local2.setAccessibilityLeafNode(_local1._numQuestionsMC._labelMC, _local1._numQuestionsMC._labelMC._accText);
_local2.setAccessibilityLeafNode(_local1._numQuestionsMC._valueMC, _local1._numQuestionsMC._valueMC.numQuestions);
_local2.setAccessibilityNonLeafNode(_local1._numQuizAttemptsMC, true);
_local2.setAccessibilityLeafNode(_local1._numQuizAttemptsMC._labelMC, _local1._numQuizAttemptsMC._labelMC._accText);
_local2.setAccessibilityLeafNode(_local1._numQuizAttemptsMC._valueMC, _local1._numQuizAttemptsMC._valueMC.numQuizAttempts);
_local2.setAccessibilityNonLeafNode(_local1._feedbackMC, true);
_local2.setAccessibilityLeafNode(_local1._feedbackMC._valueMC, _local1._feedbackMC._valueMC.feedback);
_local2.setAccessibilityNonLeafNode(_local2._parent, true);
_local2.setAccessibilityLeafNode(_local1._parent._scoreSlideBtn_0, but1Text);
_local2.setAccessibilityLeafNode(_local1._parent._scoreSlideBtn_1, _local3);
_local2.setAccessibilityNonLeafNode(_local2, false);
_local2.setPlaybarAccessibility();
}
function init() {
super.init();
}
var _curTabIndex = 0;
}
Symbol 70 MovieClip [__Packages.MMQuizClasses.QuizProgress] Frame 0
class MMQuizClasses.QuizProgress extends mx.core.UIComponent
{
function QuizProgress () {
super();
}
function init() {
super.init();
}
var questionNum = 0;
var numQuestions = 0;
}
Symbol 71 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent
{
static var emphasizedStyleDeclaration;
var enabled, invalidate, dispatchEvent;
function SimpleButton () {
super();
}
function init(Void) {
var _local1 = this;
super.init();
if (_local1.preset == undefined) {
_local1.boundingBox_mc._visible = false;
_local1.boundingBox_mc._width = (_local1.boundingBox_mc._height = 0);
}
_local1.useHandCursor = false;
}
function createChildren(Void) {
var _local1 = this;
if (_local1.preset != undefined) {
var _local2 = _local1[_local1.idNames[_local1.preset]];
_local1[_local1.refNames[_local1.preset]] = _local2;
_local1.skinName = _local2;
if (_local1.falseOverSkin.length == 0) {
_local1.rolloverSkin = _local1.fus;
}
if (_local1.falseOverIcon.length == 0) {
_local1.rolloverIcon = _local1.fui;
}
_local1.initializing = false;
} else if (_local1.__state == true) {
_local1.setStateVar(true);
} else {
if (_local1.falseOverSkin.length == 0) {
_local1.rolloverSkin = _local1.fus;
}
if (_local1.falseOverIcon.length == 0) {
_local1.rolloverIcon = _local1.fui;
}
}
}
function setIcon(tag, linkageName) {
return(setSkin(tag + 8, linkageName));
}
function changeIcon(tag, linkageName) {
var _local1 = this;
_local1.linkLength = linkageName.length;
var _local2 = _local1.stateNames[tag] + "Icon";
_local1[_local2] = linkageName;
_local1[_local1.idNames[tag + 8]] = _local2;
_local1.setStateVar(_local1.getState());
}
function changeSkin(tag, linkageName) {
var _local1 = this;
var _local2 = _local1.stateNames[tag] + "Skin";
_local1[_local2] = linkageName;
_local1[_local1.idNames[tag]] = _local2;
_local1.setStateVar(_local1.getState());
}
function viewIcon(varName) {
var _local2 = this;
var _local3 = varName + "Icon";
var _local1 = _local2[_local3];
if (typeof(_local1) == "string") {
var s = _local1;
if (_local2.__emphasized) {
if (_local2[_local1 + "Emphasized"].length > 0) {
_local1 = _local1 + "Emphasized";
}
}
if (_local2[_local1].length == 0) {
return;
}
_local1 = _local2.setIcon(_local2.tagMap[s], _local2[_local1]);
if ((_local1 == undefined) && (_global.isLivePreview)) {
_local1 = _local2.setIcon(0, "ButtonIcon");
}
_local2[_local3] = _local1;
}
_local2.iconName._visible = false;
_local2.iconName = _local1;
_local2.iconName._visible = true;
}
function removeIcons() {
var _local2 = this;
var _local3 = 0;
while (_local3 < 2) {
var _local1 = 8;
while (_local1 < 16) {
_local2.destroyObject(_local2.idNames[_local1]);
_local2[_local2.stateNames[_local1 - 8] + "Icon"] = "";
_local1++;
}
_local3++;
}
_local2.refresh();
}
function setSkin(tag, linkageName, initobj) {
var _local1 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this})));
calcSize(tag, _local1);
return(_local1);
}
function calcSize(Void) {
var _local1 = this;
_local1.__width = _local1._width;
_local1.__height = _local1._height;
}
function viewSkin(varName, initObj) {
var _local1 = this;
var _local3 = varName + "Skin";
var _local2 = _local1[_local3];
if (typeof(_local2) == "string") {
var s = _local2;
if (_local1.__emphasized) {
if (_local1[_local2 + "Emphasized"].length > 0) {
_local2 = _local2 + "Emphasized";
}
}
if (_local1[_local2].length == 0) {
return;
}
_local2 = _local1.setSkin(_local1.tagMap[s], _local1[_local2], ((initObj != undefined) ? (initObj) : ({styleName:_local1})));
_local1[_local3] = _local2;
}
_local1.skinName._visible = false;
_local1.skinName = _local2;
_local1.skinName._visible = true;
}
function showEmphasized(e) {
var _local1 = this;
if (e && (!_local1.__emphatic)) {
if (emphasizedStyleDeclaration != undefined) {
_local1.__emphaticStyleName = _local1.styleName;
_local1.styleName = emphasizedStyleDeclaration;
}
_local1.__emphatic = true;
} else {
if (_local1.__emphatic) {
_local1.styleName = _local1.__emphaticStyleName;
}
_local1.__emphatic = false;
}
}
function refresh(Void) {
var _local1 = this;
var offset = _local1.getState();
if (_local1.enabled == false) {
_local1.viewIcon("disabled");
_local1.viewSkin("disabled");
} else {
_local1.viewSkin(_local1.phase);
_local1.viewIcon(_local1.phase);
}
_local1.setView(_local1.phase == "down");
_local1.iconName.enabled = _local1.enabled;
}
function setView(offset) {
var _local1 = this;
if (_local1.iconName == undefined) {
} else {
var _local2 = (offset ? (_local1.btnOffset) : 0);
_local1.iconName._x = ((_local1.__width - _local1.iconName._width) / 2) + _local2;
_local1.iconName._y = ((_local1.__height - _local1.iconName._height) / 2) + _local2;
}
}
function setStateVar(state) {
var _local1 = this;
if (state) {
if (_local1.trueOverSkin.length == 0) {
_local1.rolloverSkin = _local1.tus;
} else {
_local1.rolloverSkin = _local1.trs;
}
if (_local1.trueOverIcon.length == 0) {
_local1.rolloverIcon = _local1.tui;
} else {
_local1.rolloverIcon = _local1.tri;
}
_local1.upSkin = _local1.tus;
_local1.downSkin = _local1.tds;
_local1.disabledSkin = _local1.dts;
_local1.upIcon = _local1.tui;
_local1.downIcon = _local1.tdi;
_local1.disabledIcon = _local1.dti;
} else {
if (_local1.falseOverSkin.length == 0) {
_local1.rolloverSkin = _local1.fus;
} else {
_local1.rolloverSkin = _local1.frs;
}
if (_local1.falseOverIcon.length == 0) {
_local1.rolloverIcon = _local1.fui;
} else {
_local1.rolloverIcon = _local1.fri;
}
_local1.upSkin = _local1.fus;
_local1.downSkin = _local1.fds;
_local1.disabledSkin = _local1.dfs;
_local1.upIcon = _local1.fui;
_local1.downIcon = _local1.fdi;
_local1.disabledIcon = _local1.dfi;
}
_local1.__state = state;
}
function setState(state) {
var _local1 = this;
if (state != _local1.__state) {
_local1.setStateVar(state);
_local1.invalidate();
}
}
function size(Void) {
refresh();
}
function draw(Void) {
var _local1 = this;
if (_local1.initializing) {
_local1.initializing = false;
_local1.skinName.visible = true;
_local1.iconName.visible = true;
}
_local1.size();
}
function getState(Void) {
return(__state);
}
function setToggle(val) {
var _local1 = this;
_local1.__toggle = val;
if (_local1.__toggle == false) {
_local1.setState(false);
}
}
function getToggle(Void) {
return(__toggle);
}
function set toggle(val) {
setToggle(val);
//return(toggle);
}
function get toggle() {
return(getToggle());
}
function set value(val) {
setSelected(val);
//return(value);
}
function get value() {
return(getSelected());
}
function set selected(val) {
setSelected(val);
//return(selected);
}
function get selected() {
return(getSelected());
}
function setSelected(val) {
var _local1 = this;
if (_local1.__toggle) {
_local1.setState(val);
} else {
_local1.setState((_local1.initializing ? (val) : (_local1.__state)));
}
}
function getSelected() {
return(__state);
}
function setEnabled(val) {
if (enabled != val) {
super.setEnabled(val);
invalidate();
}
}
function onPress(Void) {
var _local1 = this;
_local1.pressFocus();
_local1.phase = "down";
_local1.refresh();
_local1.dispatchEvent({type:"buttonDown"});
if (_local1.autoRepeat) {
_local1.interval = setInterval(_local1, "onPressDelay", _local1.getStyle("repeatDelay"));
}
}
function onPressDelay(Void) {
var _local1 = this;
_local1.dispatchEvent({type:"buttonDown"});
if (_local1.autoRepeat) {
clearInterval(_local1.interval);
_local1.interval = setInterval(_local1, "onPressRepeat", _local1.getStyle("repeatInterval"));
}
}
function onPressRepeat(Void) {
dispatchEvent({type:"buttonDown"});
updateAfterEvent();
}
function onRelease(Void) {
var _local1 = this;
_local1.releaseFocus();
_local1.phase = "rollover";
if (_local1.interval != undefined) {
clearInterval(_local1.interval);
delete _local1.interval;
}
if (_local1.getToggle()) {
_local1.setState(!_local1.getState());
} else {
_local1.refresh();
}
_local1.dispatchEvent({type:"click"});
}
function onDragOut(Void) {
var _local1 = this;
_local1.phase = "up";
_local1.refresh();
_local1.dispatchEvent({type:"buttonDragOut"});
}
function onDragOver(Void) {
var _local1 = this;
if (_local1.phase != "up") {
_local1.onPress();
} else {
_local1.phase = "down";
_local1.refresh();
}
}
function onReleaseOutside(Void) {
var _local1 = this;
_local1.releaseFocus();
_local1.phase = "up";
if (_local1.interval != undefined) {
clearInterval(_local1.interval);
delete _local1.interval;
}
}
function onRollOver(Void) {
phase = "rollover";
refresh();
}
function onRollOut(Void) {
phase = "up";
refresh();
}
function getLabel(Void) {
return(fui.text);
}
function setLabel(val) {
var _local1 = this;
var _local3 = val;
if (typeof(_local1.fui) == "string") {
_local1.createLabel("fui", 8, _local3);
_local1.fui.styleName = _local1;
} else {
_local1.fui.text = _local3;
}
var tf = _local1.fui._getTextFormat();
var _local2 = tf.getTextExtent2(_local3);
_local1.fui._width = _local2.width + 5;
_local1.fui._height = _local2.height + 5;
_local1.iconName = _local1.fui;
_local1.setView(_local1.__state);
}
function get emphasized() {
return(__emphasized);
}
function set emphasized(val) {
var _local1 = this;
_local1.__emphasized = val;
var _local2 = 0;
while (_local2 < 8) {
_local1[_local1.idNames[_local2]] = _local1.stateNames[_local2] + "Skin";
if (typeof(_local1[_local1.idNames[_local2 + 8]]) == "movieclip") {
_local1[_local1.idNames[_local2 + 8]] = _local1.stateNames[_local2] + "Icon";
}
_local2++;
}
_local1.showEmphasized(_local1.__emphasized);
_local1.setStateVar(_local1.__state);
_local1.invalidateStyle();
//return(_local1.__get__emphasized());
}
function keyDown(e) {
if (e.code == 32) {
onPress();
}
}
function keyUp(e) {
if (e.code == 32) {
onRelease();
}
}
function onKillFocus(newFocus) {
var _local1 = this;
super.onKillFocus();
if (_local1.phase != "up") {
_local1.phase = "up";
_local1.refresh();
}
}
static var symbolName = "SimpleButton";
static var symbolOwner = mx.controls.SimpleButton;
static var version = "2.0.1.78";
var className = "SimpleButton";
var style3dInset = 4;
var btnOffset = 1;
var __toggle = false;
var __state = false;
var __emphasized = false;
var __emphatic = false;
static var falseUp = 0;
static var falseDown = 1;
static var falseOver = 2;
static var falseDisabled = 3;
static var trueUp = 4;
static var trueDown = 5;
static var trueOver = 6;
static var trueDisabled = 7;
var falseUpSkin = "SimpleButtonUp";
var falseDownSkin = "SimpleButtonIn";
var falseOverSkin = "";
var falseDisabledSkin = "SimpleButtonUp";
var trueUpSkin = "SimpleButtonIn";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "SimpleButtonIn";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var phase = "up";
var fui = "falseUpIcon";
var fus = "falseUpSkin";
var fdi = "falseDownIcon";
var fds = "falseDownSkin";
var frs = "falseOverSkin";
var fri = "falseOverIcon";
var dfi = "falseDisabledIcon";
var dfs = "falseDisabledSkin";
var tui = "trueUpIcon";
var tus = "trueUpSkin";
var tdi = "trueDownIcon";
var tds = "trueDownSkin";
var trs = "trueOverSkin";
var tri = "trueOverIcon";
var dts = "trueDisabledSkin";
var dti = "trueDisabledIcon";
var rolloverSkin = mx.controls.SimpleButton.prototype.frs;
var rolloverIcon = mx.controls.SimpleButton.prototype.fri;
var upSkin = mx.controls.SimpleButton.prototype.fus;
var downSkin = mx.controls.SimpleButton.prototype.fds;
var disabledSkin = mx.controls.SimpleButton.prototype.dfs;
var upIcon = mx.controls.SimpleButton.prototype.fui;
var downIcon = mx.controls.SimpleButton.prototype.fdi;
var disabledIcon = mx.controls.SimpleButton.prototype.dfi;
var initializing = true;
var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"];
var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"];
var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"];
var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7};
}
Symbol 72 MovieClip [__Packages.mx.controls.Button] Frame 0
class mx.controls.Button extends mx.controls.SimpleButton
{
var labelPath, invalidate, _iconLinkageName;
function Button () {
super();
}
function init(Void) {
super.init();
}
function draw() {
var _local1 = this;
if (_local1.initializing) {
_local1.labelPath.visible = true;
}
super.draw();
if (_local1.initIcon != undefined) {
_local1._setIcon(_local1.initIcon);
}
delete _local1.initIcon;
}
function onRelease(Void) {
super.onRelease();
}
function createChildren(Void) {
super.createChildren();
}
function setSkin(tag, linkageName, initobj) {
return(super.setSkin(tag, linkageName, initobj));
}
function viewSkin(varName) {
var _local2 = this;
var _local1 = (_local2.getState() ? "true" : "false");
_local1 = _local1 + (_local2.enabled ? (_local2.phase) : "disabled");
super.viewSkin(varName, {styleName:_local2, borderStyle:_local1});
}
function invalidateStyle(c) {
labelPath.invalidateStyle(c);
super.invalidateStyle(c);
}
function setColor(c) {
var _local2 = this;
var _local1 = 0;
while (_local1 < 8) {
_local2[_local2.idNames[_local1]].redraw(true);
_local1++;
}
}
function setEnabled(enable) {
labelPath.enabled = enable;
super.setEnabled(enable);
}
function calcSize(tag, ref) {
var _local1 = this;
if ((_local1.__width == undefined) || (_local1.__height == undefined)) {
} else if (tag < 7) {
ref.setSize(_local1.__width, _local1.__height, true);
}
}
function size(Void) {
var _local1 = this;
_local1.setState(_local1.getState());
_local1.setHitArea(_local1.__width, _local1.__height);
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _local1.idNames[_local2];
if (typeof(_local1[_local3]) == "movieclip") {
_local1[_local3].setSize(_local1.__width, _local1.__height, true);
}
_local2++;
}
super.size();
}
function set labelPlacement(val) {
var _local1 = this;
_local1.__labelPlacement = val;
_local1.invalidate();
//return(_local1.__get__labelPlacement());
}
function get labelPlacement() {
return(__labelPlacement);
}
function getLabelPlacement(Void) {
return(__labelPlacement);
}
function setLabelPlacement(val) {
__labelPlacement = val;
invalidate();
}
function getBtnOffset(Void) {
var _local1 = this;
if (_local1.getState()) {
var _local2 = _local1.btnOffset;
} else if (_local1.phase == "down") {
var _local2 = _local1.btnOffset;
} else {
var _local2 = 0;
}
return(_local2);
}
function setView(offset) {
var _local1 = this;
var n = (offset ? (_local1.btnOffset) : 0);
var val = _local1.getLabelPlacement();
var iconW = 0;
var iconH = 0;
var labelW = 0;
var labelH = 0;
var labelX = 0;
var labelY = 0;
var _local3 = _local1.labelPath;
var _local2 = _local1.iconName;
var textW = _local3.textWidth;
var textH = _local3.textHeight;
var viewW = ((_local1.__width - _local1.borderW) - _local1.borderW);
var viewH = ((_local1.__height - _local1.borderW) - _local1.borderW);
if (_local2 != undefined) {
iconW = _local2._width;
iconH = _local2._height;
}
if ((val == "left") || (val == "right")) {
if (_local3 != undefined) {
_local3._width = (labelW = Math.min(viewW - iconW, textW + 5));
_local3._height = (labelH = Math.min(viewH, textH + 5));
}
if (val == "right") {
labelX = iconW;
if (_local1.centerContent) {
labelX = labelX + (((viewW - labelW) - iconW) / 2);
}
_local2._x = labelX - iconW;
} else {
labelX = (viewW - labelW) - iconW;
if (_local1.centerContent) {
labelX = labelX / 2;
}
_local2._x = labelX + labelW;
}
_local2._y = (labelY = 0);
if (_local1.centerContent) {
_local2._y = (viewH - iconH) / 2;
labelY = (viewH - labelH) / 2;
}
if (!_local1.centerContent) {
_local2._y = _local2._y + Math.max(0, (labelH - iconH) / 2);
}
} else {
if (_local3 != undefined) {
_local3._width = (labelW = Math.min(viewW, textW + 5));
_local3._height = (labelH = Math.min(viewH - iconH, textH + 5));
}
labelX = (viewW - labelW) / 2;
_local2._x = (viewW - iconW) / 2;
if (val == "top") {
labelY = (viewH - labelH) - iconH;
if (_local1.centerContent) {
labelY = labelY / 2;
}
_local2._y = labelY + labelH;
} else {
labelY = iconH;
if (_local1.centerContent) {
labelY = labelY + (((viewH - labelH) - iconH) / 2);
}
_local2._y = labelY - iconH;
}
}
var buff = (_local1.borderW + n);
_local3._x = labelX + buff;
_local3._y = labelY + buff;
_local2._x = _local2._x + buff;
_local2._y = _local2._y + buff;
}
function set label(lbl) {
setLabel(lbl);
//return(label);
}
function setLabel(label) {
var _local1 = this;
var _local3 = label;
if (_local3 == "") {
_local1.labelPath.removeTextField();
_local1.refresh();
} else if (_local1.labelPath == undefined) {
var _local2 = _local1.createLabel("labelPath", 200, _local3);
_local2._width = _local2.textWidth + 5;
_local2._height = _local2.textHeight + 5;
if (_local1.initializing) {
_local2.visible = false;
}
} else {
delete _local1.labelPath.__text;
_local1.labelPath.text = _local3;
_local1.refresh();
}
}
function getLabel(Void) {
var _local1 = this;
if (_local1.labelPath.__text == undefined) {
return(_local1.labelPath.text);
}
return(_local1.labelPath.__text);
}
function get label() {
return(getLabel());
}
function _getIcon(Void) {
return(_iconLinkageName);
}
function get icon() {
var _local1 = this;
if (_local1.initializing) {
return(_local1.initIcon);
}
return(_local1._iconLinkageName);
}
function _setIcon(linkage) {
var _local1 = linkage;
var _local2 = this;
var _local3 = super;
if (_local2.initializing) {
if (_local1 == "") {
return;
}
_local2.initIcon = _local1;
} else if (_local1 == "") {
_local2.removeIcons();
} else {
_local3.changeIcon(0, _local1);
_local3.changeIcon(1, _local1);
_local3.changeIcon(3, _local1);
_local3.changeIcon(4, _local1);
_local3.changeIcon(5, _local1);
_local2._iconLinkageName = _local1;
_local2.refresh();
}
}
function set icon(linkage) {
_setIcon(linkage);
//return(icon);
}
function setHitArea(w, h) {
var _local2 = this;
if (_local2.hitArea_mc == undefined) {
_local2.createEmptyObject("hitArea_mc", 100);
}
var _local1 = _local2.hitArea_mc;
_local1.clear();
_local1.beginFill(16711680);
_local1.drawRect(0, 0, w, h);
_local1.endFill();
_local1.setVisible(false);
}
static var symbolName = "Button";
static var symbolOwner = mx.controls.Button;
var className = "Button";
static var version = "2.0.1.78";
var btnOffset = 0;
var _color = "buttonColor";
var __label = "default value";
var __labelPlacement = "right";
var falseUpSkin = "ButtonSkin";
var falseDownSkin = "ButtonSkin";
var falseOverSkin = "ButtonSkin";
var falseDisabledSkin = "ButtonSkin";
var trueUpSkin = "ButtonSkin";
var trueDownSkin = "ButtonSkin";
var trueOverSkin = "ButtonSkin";
var trueDisabledSkin = "ButtonSkin";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var clipParameters = {labelPlacement:1, icon:1, toggle:1, selected:1, label:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters);
var centerContent = true;
var borderW = 1;
}
Symbol 73 MovieClip [__Packages.MMQuizClasses.ContinueButton] Frame 0
class MMQuizClasses.ContinueButton extends mx.controls.Button
{
var _parent, hitArea_mc, _hint;
function ContinueButton () {
super();
}
function get question() {
var _local1 = _parent;
while (_local1) {
if (_local1.className == "Question") {
return(_local1);
}
if ((_local1._question.className = "Question")) {
return(_local1._question);
}
_local1 = _local1._parent;
}
return(null);
}
function hideButton() {
var _local1 = this;
_local1.useHandCursor = true;
_local1._butIcon.visible = false;
if (_local1.question.inReviewMode) {
_local1.enabled = false;
}
}
function init() {
var _local1 = this;
if (_local1._hint) {
_local1._hint._visible = false;
}
super.init();
var me = _local1;
_local1.__set__visible(true);
_local1.addEventListener("click", _local1);
_local1.doLater(_local1, "hideButton");
}
function size() {
var _local1 = this;
_local1.setState(_local1.getState());
_local1.refresh();
}
function setLabel(label) {
super.setLabel("");
}
function setSkin(tag, linkageName, initObj) {
var _local1 = this;
var _local3 = tag;
var _local2;
var txt;
txt = _local1._butText;
txt.setDepthTo(1000);
if (initObj == undefined) {
initObj = {styleName:_local1};
}
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
_local2 = _local1.createObject(linkageName, _local1.getSkinIDName(_local3), _local3 - 1000, initObj);
_local1.calcSize(_local3, _local2);
_local2.move(_local1._butIcon._x, _local1._butIcon._y, false);
_local2.setSize(_local1._butIcon._width, _local1._butIcon._height, true);
return(_local2);
}
function adjustFocusRect() {
var _local1 = this;
var _local2 = _local1.getStyle("themeColor");
if (_local2 == undefined) {
_local2 = 8453965 /* 0x80FF4D */;
}
var _local3 = _local1._parent.focus_mc;
_local3.setSize(_local1._butIcon.width + 4, _local1._butIcon.height + 4, 0, 100, _local2);
_local3.move((_local1.__get__x() + _local1._butIcon.x) - 2, (_local1.__get__y() + _local1._butIcon.y) - 2);
}
function setHitArea(w, h) {
var _local2 = this;
if (_local2.hitArea_mc == undefined) {
_local2.createEmptyObject("hitArea_mc", 100);
}
var _local3 = _local2.getBounds(_local2._butIcon);
var _local1 = _local2.hitArea_mc;
_local1.clear();
_local1._x = _local2._butIcon._x;
_local1._y = _local2._butIcon._y;
_local1.beginFill(_local2.mouseOverHiliteColor);
_local1.drawRect(0, 0, _local3.xmax, _local3.ymax);
_local1.endFill();
_local1._alpha = 0;
_local1.setVisible(true);
}
function drawMouseOverHilite() {
var _local2 = this;
if (_local2.useWholeButtonHilite) {
var _local1 = _local2.hitArea_mc;
_local1._alpha = _local2.mouseOverHiliteAlpha;
_local1.visible = true;
}
}
function eraseMouseOverHilite() {
if (useWholeButtonHilite) {
var _local1 = hitArea_mc;
_local1._alpha = 0;
}
}
function onRollOver(Void) {
var _local1 = this;
super.onRollOver();
_local1.drawMouseOverHilite();
if (_local1._hint) {
if (_local1.hitArea_mc.hitTest(_root._xmouse, _root._ymouse)) {
_local1._hint._visible = true;
} else {
_local1._hint._visible = false;
}
}
}
function click(ev) {
if (_hint) {
_hint._visible = false;
}
}
function onRelease() {
if (_hint) {
_hint._visible = false;
}
}
function onRollOut(Void) {
var _local1 = this;
super.onRollOut();
_local1.eraseMouseOverHilite();
if (_local1._hint) {
_local1._hint._visible = false;
}
}
function keyDown(e) {
if (!question.showingModalFeedback) {
super.keyDown(e);
}
}
function keyUp(e) {
if (!question.showingModalFeedback) {
super.keyUp(e);
}
}
static var symbolName = "ContinueButton";
static var symbolOwner = Object(MMQuizClasses.ContinueButton);
var className = "ContinueButton";
var useWholeButtonHilite = false;
var mouseOverHiliteColor = 7712491;
var mouseOverHiliteAlpha = 50;
}
Symbol 74 MovieClip [__Packages.MMQuizClasses.SubmitButton] Frame 0
class MMQuizClasses.SubmitButton extends MMQuizClasses.ContinueButton
{
var question;
function SubmitButton () {
super();
}
function init() {
super.init();
question.registerSubmitButton(this);
}
function size() {
super.size();
}
function onRelease() {
super.onRelease();
question.judge(false, false);
}
static var symbolName = "SubmitButton";
static var symbolOwner = Object(MMQuizClasses.SubmitButton);
var className = "SubmitButton";
}
Symbol 75 MovieClip [__Packages.MMQuizClasses.ClearButton] Frame 0
class MMQuizClasses.ClearButton extends MMQuizClasses.ContinueButton
{
var question;
function ClearButton () {
super();
}
function init() {
super.init();
question.registerClearButton(this);
}
function size() {
super.size();
}
function onPress(Void) {
question.clearAnswers();
}
static var symbolName = "ClearButton";
static var symbolOwner = Object(MMQuizClasses.ClearButton);
var className = "ClearButton";
}
Symbol 76 MovieClip [__Packages.mx.accessibility.AccImpl] Frame 0
class mx.accessibility.AccImpl extends Object
{
var master, stub, ROLE;
function AccImpl (m) {
super();
master = m;
stub = false;
}
function get_accRole(childId) {
return(ROLE);
}
var STATE_SYSTEM_NORMAL = 0;
}
Symbol 77 MovieClip [__Packages.mx.accessibility.SimpleButtonAccImpl] Frame 0
class mx.accessibility.SimpleButtonAccImpl extends mx.accessibility.AccImpl
{
var _accImpl, master;
function SimpleButtonAccImpl (m) {
var _local1 = this;
super(m);
_local1.master._onRelease = _local1.master.onRelease;
_local1.master.onRelease = _local1.onRelease;
_local1.master._setLabel = _local1.master.setLabel;
_local1.master.setLabel = _local1.setLabel;
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new mx.accessibility.SimpleButtonAccImpl(this);
}
function get_accName(childId) {
var _local1 = master.getLabel();
if (_local1 == "") {
return(undefined);
}
return(_local1);
}
function get_accState(childId) {
if (master.getState()) {
return(STATE_SYSTEM_PRESSED);
}
return(0);
}
function get_accDefaultAction(childId) {
return("Press");
}
function accDoDefaultAction(childId) {
master.onPress();
master.onRelease();
}
function onRelease() {
var _local1 = this;
_local1._onRelease();
Accessibility.sendEvent(_local1, 0, _local1._accImpl.EVENT_OBJECT_STATECHANGE, true);
}
function setLabel(label) {
var _local1 = this;
_local1._setLabel(label);
Accessibility.sendEvent(_local1, 0, _local1._accImpl.EVENT_OBJECT_NAMECHANGE);
}
static function hookAccessibility() {
mx.controls.SimpleButton.prototype.createAccessibilityImplementation = mx.accessibility.SimpleButtonAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var ROLE = 43;
var EVENT_OBJECT_NAMECHANGE = 32780;
var EVENT_OBJECT_STATECHANGE = 32778;
var STATE_SYSTEM_PRESSED = 8;
var owner = mx.controls.SimpleButton;
static var accessibilityHooked = hookAccessibility();
}
Symbol 78 MovieClip [__Packages.mx.accessibility.ButtonAccImpl] Frame 0
class mx.accessibility.ButtonAccImpl extends mx.accessibility.SimpleButtonAccImpl
{
var _accImpl;
function ButtonAccImpl (master) {
super(master);
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new mx.accessibility.ButtonAccImpl(this);
}
static function hookAccessibility() {
mx.controls.Button.prototype.createAccessibilityImplementation = mx.accessibility.ButtonAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var owner = mx.controls.Button;
static var accessibilityHooked = hookAccessibility();
}
Symbol 79 MovieClip [__Packages.mx.controls.CheckBox] Frame 0
class mx.controls.CheckBox extends mx.controls.Button
{
function CheckBox () {
super();
}
function onRelease() {
super.onRelease();
}
function init() {
super.init();
}
function size() {
super.size();
}
function get emphasized() {
return(undefined);
}
function calcPreferredHeight() {
var _local1 = this;
var myTF = _local1._getTextFormat();
var _local3 = myTF.getTextExtent2(_local1.labelPath.text).height;
var iconH = _local1.iconName._height;
var _local2 = 0;
if ((_local1.__labelPlacement == "left") || (_local1.__labelPlacement == "right")) {
_local2 = Math.max(_local3, iconH);
} else {
_local2 = _local3 + iconH;
}
return(Math.max(14, _local2));
}
function set toggle(v) {
//return(toggle);
}
function get toggle() {
}
function set icon(v) {
//return(icon);
}
function get icon() {
}
static var symbolName = "CheckBox";
static var symbolOwner = mx.controls.CheckBox;
static var version = "2.0.1.78";
var className = "CheckBox";
var ignoreClassStyleDeclaration = {Button:1};
var btnOffset = 0;
var __toggle = true;
var __selected = false;
var __labelPlacement = "right";
var __label = "CheckBox";
var falseUpSkin = "";
var falseDownSkin = "";
var falseOverSkin = "";
var falseDisabledSkin = "";
var trueUpSkin = "";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "";
var falseUpIcon = "CheckFalseUp";
var falseDownIcon = "CheckFalseDown";
var falseOverIcon = "CheckFalseOver";
var falseDisabledIcon = "CheckFalseDisabled";
var trueUpIcon = "CheckTrueUp";
var trueDownIcon = "CheckTrueDown";
var trueOverIcon = "CheckTrueOver";
var trueDisabledIcon = "CheckTrueDisabled";
var clipParameters = {label:1, labelPlacement:1, selected:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.CheckBox.prototype.clipParameters, mx.controls.Button.prototype.clipParameters);
var centerContent = false;
var borderW = 0;
}
Symbol 80 MovieClip [__Packages.mx.accessibility.CheckBoxAccImpl] Frame 0
class mx.accessibility.CheckBoxAccImpl extends mx.accessibility.ButtonAccImpl
{
var _accImpl, master;
function CheckBoxAccImpl (master) {
super(master);
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new mx.accessibility.CheckBoxAccImpl(this);
}
function get_accState(childId) {
var _local1 = this;
if (_local1.master.getState()) {
return(_local1.STATE_SYSTEM_CHECKED);
}
return(_local1.STATE_SYSTEM_NORMAL);
}
function get_accDefaultAction(childId) {
if (master.getState()) {
return("Check");
}
return("UnCheck");
}
static function hookAccessibility() {
mx.controls.CheckBox.prototype.createAccessibilityImplementation = mx.accessibility.CheckBoxAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var ROLE = 44;
var STATE_SYSTEM_CHECKED = 16;
var owner = mx.controls.CheckBox;
static var accessibilityHooked = hookAccessibility();
}
Symbol 81 MovieClip [__Packages.mx.controls.RadioButton] Frame 0
class mx.controls.RadioButton extends mx.controls.Button
{
var __data, _parent, getFocusManager;
function RadioButton () {
super();
}
function init(Void) {
var _local1 = this;
_local1.setToggle(_local1.__toggle);
_local1.__value = _local1;
super.init();
}
function size(Void) {
super.size();
}
function onRelease() {
var _local1 = this;
if (_local1.selected) {
} else {
_local1.releaseFocus();
_local1.phase = "up";
_local1.setSelected(true);
_local1.dispatchEvent({type:"click"});
_local1._parent[_local1.__groupName].dispatchEvent({type:"click"});
}
}
function setData(val) {
__data = val;
}
function set data(val) {
__data = val;
//return(data);
}
function getData(val) {
return(__data);
}
function get data() {
return(__data);
}
function onUnload() {
var _local1 = this;
if (_local1._parent[_local1.__groupName].selectedRadio == _local1) {
_local1._parent[_local1.__groupName].selectedRadio = undefined;
}
_local1._parent[_local1.__groupName].radioList[_local1.indexNumber] = null;
delete _local1._parent[_local1.__groupName].radioList[_local1.indexNumber];
}
function setSelected(val) {
var _local2 = this;
var _local1 = _local2._parent[_local2.__groupName];
var tmpW = _local1.selectedRadio.__width;
var tmpH = _local1.selectedRadio.__height;
if (val) {
_local1.selectedRadio.setState(false);
_local1.selectedRadio = _local2;
} else if (_local1.selectedRadio == _local2) {
_local1.selectedRadio.setState(false);
_local1.selectedRadio = undefined;
}
_local2.setState(val);
}
function deleteGroupObj(groupName) {
delete _parent[groupName];
}
function getGroupName() {
return(__groupName);
}
function get groupName() {
return(__groupName);
}
function setGroupName(groupName) {
var _local1 = this;
var _local2 = groupName;
if ((_local2 == undefined) || (_local2 == "")) {
} else {
delete _local1._parent[_local1.__groupName].radioList[_local1.__data];
_local1.addToGroup(_local2);
_local1.__groupName = _local2;
}
}
function set groupName(groupName) {
setGroupName(groupName);
//return(this.groupName);
}
function addToGroup(groupName) {
var _local2 = groupName;
var _local3 = this;
if ((_local2 == "") || (_local2 == undefined)) {
} else {
var _local1 = _local3._parent[_local2];
if (_local1 == undefined) {
_local1 = (_local3._parent[_local2] = new mx.controls.RadioButtonGroup());
_local1.__groupName = _local2;
}
_local1.addInstance(_local3);
if (_local3.__state) {
_local1.selectedRadio.setState(false);
_local1.selectedRadio = _local3;
}
}
}
function get emphasized() {
return(undefined);
}
function keyDown(e) {
var _local1 = this;
switch (e.code) {
case 40 :
_local1.setNext();
return;
case 38 :
_local1.setPrev();
return;
case 37 :
_local1.setPrev();
return;
case 39 :
_local1.setNext();
}
}
function setNext() {
var _local1 = _parent[groupName];
if ((_local1.selectedRadio.indexNumber + 1) == _local1.radioList.length) {
} else {
var _local3 = (_local1.selectedRadio ? (_local1.selectedRadio.indexNumber) : -1);
var _local2 = 1;
while (_local2 < _local1.radioList.length) {
if ((_local1.radioList[_local3 + _local2] != undefined) && (_local1.radioList[_local3 + _local2].enabled)) {
var fMgr = getFocusManager();
_local1.radioList[_local3 + _local2].selected = true;
fMgr.setFocus(_local1.radioList[_local1.selectedRadio.indexNumber]);
_local1.dispatchEvent({type:"click"});
return;
}
_local2++;
}
}
}
function setPrev() {
var _local1 = _parent[groupName];
if (_local1.selectedRadio.indexNumber == 0) {
} else {
var _local3 = (_local1.selectedRadio ? (_local1.selectedRadio.indexNumber) : 1);
var _local2 = 1;
while (_local2 < _local1.radioList.length) {
if ((_local1.radioList[_local3 - _local2] != undefined) && (_local1.radioList[_local3 - _local2].enabled)) {
var fMgr = getFocusManager();
_local1.radioList[_local3 - _local2].selected = true;
fMgr.setFocus(_local1.radioList[_local1.selectedRadio.indexNumber]);
_local1.dispatchEvent({type:"click"});
return;
}
_local2++;
}
}
}
function set toggle(v) {
//return(toggle);
}
function get toggle() {
}
function set icon(v) {
//return(icon);
}
function get icon() {
}
static var symbolName = "RadioButton";
static var symbolOwner = mx.controls.RadioButton;
static var version = "2.0.1.78";
var className = "RadioButton";
var btnOffset = 0;
var __toggle = true;
var __label = "Radio Button";
var __labelPlacement = "right";
var ignoreClassStyleDeclaration = {Button:1};
var __groupName = "radioGroup";
var indexNumber = 0;
var offset = false;
var falseUpSkin = "";
var falseDownSkin = "";
var falseOverSkin = "";
var falseDisabledSkin = "";
var trueUpSkin = "";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "";
var falseUpIcon = "RadioFalseUp";
var falseDownIcon = "RadioFalseDown";
var falseOverIcon = "RadioFalseOver";
var falseDisabledIcon = "RadioFalseDisabled";
var trueUpIcon = "RadioTrueUp";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "RadioTrueDisabled";
var centerContent = false;
var borderW = 0;
var clipParameters = {labelPlacement:1, data:1, label:1, groupName:1, selected:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.RadioButton.prototype.clipParameters, mx.controls.Button.prototype.clipParameters);
}
Symbol 82 MovieClip [__Packages.mx.controls.RadioButtonGroup] Frame 0
class mx.controls.RadioButtonGroup
{
var radioList, __groupName, selectedRadio;
function RadioButtonGroup () {
init();
mx.events.UIEventDispatcher.initialize(this);
}
function init(Void) {
radioList = new Array();
}
function setGroupName(groupName) {
var _local1 = this;
var _local3 = groupName;
if ((_local3 == undefined) || (_local3 == "")) {
} else {
var gn = _local1.__groupName;
_parent[_local3] = _local1;
for (var i in _local1.radioList) {
_local1.radioList[i].groupName = _local3;
var _local2 = _local1.radioList[i];
}
_local2.deleteGroupObj(gn);
}
}
function getGroupName() {
return(__groupName);
}
function addInstance(instance) {
instance.indexNumber = indexNumber++;
radioList.push(instance);
}
function getValue() {
var _local1 = this;
if (_local1.selectedRadio.data == "") {
return(_local1.selectedRadio.label);
}
return(_local1.selectedRadio.__data);
}
function getLabelPlacement() {
var _local2 = this;
for (var _local3 in _local2.radioList) {
var _local1 = _local2.radioList[_local3].getLabelPlacement();
}
return(_local1);
}
function setLabelPlacement(pos) {
var _local1 = this;
var _local2 = pos;
for (var _local3 in _local1.radioList) {
_local1.radioList[_local3].setLabelPlacement(_local2);
}
}
function setEnabled(val) {
var _local1 = this;
var _local2 = val;
for (var _local3 in _local1.radioList) {
_local1.radioList[_local3].enabled = _local2;
}
}
function setSize(val, val1) {
var _local1 = this;
var _local2 = val;
for (var _local3 in _local1.radioList) {
_local1.radioList[_local3].setSize(_local2, val1);
}
}
function getEnabled() {
var _local3 = this;
for (var i in _local3.radioList) {
var _local1 = _local3.radioList[i].enabled;
var _local2 = t + (_local1 + 0);
}
if (_local2 == _local3.radioList.length) {
return(true);
}
if (_local2 == 0) {
return(false);
}
return(undefined);
}
function setStyle(name, val) {
var _local1 = this;
var _local2 = name;
var _local3 = val;
for (var i in _local1.radioList) {
_local1.radioList[i].setStyle(_local2, _local3);
}
}
function setInstance(val) {
var _local1 = this;
var _local2 = val;
for (var _local3 in _local1.radioList) {
if (_local1.radioList[_local3] == _local2) {
_local1.radioList[_local3].selected = true;
}
}
}
function getInstance() {
return(selectedRadio);
}
function setValue(val) {
var _local1 = this;
var _local3 = val;
for (var i in _local1.radioList) {
if ((_local1.radioList[i].__data == _local3) || (_local1.radioList[i].label == _local3)) {
var _local2 = i;
break;
}
}
if (_local2 != undefined) {
_local1.selectedRadio.setState(false);
_local1.selectedRadio.hitArea_mc._height = _local1.selectedRadio.__height;
_local1.selectedRadio.hitArea_mc._width = _local1.selectedRadio.__width;
_local1.selectedRadio = _local1.radioList[_local2];
_local1.selectedRadio.setState(true);
_local1.selectedRadio.hitArea_mc._height = (_local1.selectedRadio.hitArea_mc._width = 0);
}
}
function set groupName(groupName) {
var _local1 = this;
var _local3 = groupName;
if ((_local3 == undefined) || (_local3 == "")) {
} else {
var gn = _local1.__groupName;
_parent[_local3] = _local1;
for (var i in _local1.radioList) {
_local1.radioList[i].groupName = _local3;
var _local2 = _local1.radioList[i];
}
_local2.deleteGroupObj(gn);
//return(_local1.__get__groupName());
}
return;
}
function get groupName() {
return(__groupName);
}
function set selectedData(val) {
var _local1 = this;
var _local3 = val;
for (var i in _local1.radioList) {
if ((_local1.radioList[i].__data == _local3) || (_local1.radioList[i].label == _local3)) {
var _local2 = i;
break;
}
}
if (_local2 != undefined) {
_local1.selectedRadio.setState(false);
_local1.selectedRadio = _local1.radioList[_local2];
_local1.selectedRadio.setState(true);
}
//return(_local1.__get__selectedData());
}
function get selectedData() {
var _local1 = this;
if ((_local1.selectedRadio.data == "") || (_local1.selectedRadio.data == undefined)) {
return(_local1.selectedRadio.label);
}
return(_local1.selectedRadio.__data);
}
function get selection() {
return(selectedRadio);
}
function set selection(val) {
var _local1 = this;
var _local2 = val;
for (var _local3 in _local1.radioList) {
if (_local1.radioList[_local3] == _local2) {
_local1.radioList[_local3].selected = true;
}
}
//return(_local1.__get__selection());
}
function set labelPlacement(pos) {
var _local1 = this;
var _local2 = pos;
for (var _local3 in _local1.radioList) {
_local1.radioList[_local3].setLabelPlacement(_local2);
}
//return(_local1.__get__labelPlacement());
}
function get labelPlacement() {
var _local2 = this;
for (var _local3 in _local2.radioList) {
var _local1 = _local2.radioList[_local3].getLabelPlacement();
}
return(_local1);
}
function set enabled(val) {
var _local1 = this;
var _local2 = val;
for (var _local3 in _local1.radioList) {
_local1.radioList[_local3].enabled = _local2;
}
//return(_local1.__get__enabled());
}
function get enabled() {
var _local2 = this;
var _local1 = 0;
for (var _local3 in _local2.radioList) {
_local1 = _local1 + _local2.radioList[_local3].enabled;
}
if (_local1 == 0) {
return(false);
}
if (_local1 == _local2.radioList.length) {
return(true);
}
return(undefined);
}
static var symbolName = "RadioButtonGroup";
static var symbolOwner = mx.controls.RadioButtonGroup;
static var version = "2.0.1.78";
var className = "RadioButtonGroup";
var indexNumber = 0;
}
Symbol 83 MovieClip [__Packages.mx.accessibility.RadioButtonAccImpl] Frame 0
class mx.accessibility.RadioButtonAccImpl extends mx.accessibility.CheckBoxAccImpl
{
var _accImpl;
function RadioButtonAccImpl (master) {
super(master);
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new mx.accessibility.RadioButtonAccImpl(this);
}
static function hookAccessibility() {
mx.controls.RadioButton.prototype.createAccessibilityImplementation = mx.accessibility.RadioButtonAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var ROLE = 45;
var owner = mx.controls.RadioButton;
static var accessibilityHooked = hookAccessibility();
}
Symbol 84 MovieClip [__Packages.MMQuizClasses.MultipleChoiceAnswer] Frame 0
class MMQuizClasses.MultipleChoiceAnswer extends mx.controls.RadioButton
{
var _parent, selected, _answerScore, hitArea_mc;
function MultipleChoiceAnswer () {
super();
}
function get question() {
var _local1 = _parent;
while (_local1) {
if (_local1.className == "Question") {
return(_local1);
}
if ((_local1._question.className = "Question")) {
return(_local1._question);
}
_local1 = _local1._parent;
}
return(null);
}
function get answered() {
return(selected);
}
function get answeredCorrectly() {
return(selected == isCorrect);
}
function get chosenAnswer() {
if (selected) {
return("1");
}
return("0");
}
function get correctAnswer() {
if (isCorrect) {
return("1");
}
return("0");
}
function get answerScore() {
return(_answerScore);
}
function get feedback() {
if (_feedback) {
return(_feedback);
}
}
function set feedback(theFeedback) {
_feedback = theFeedback;
//return(feedback);
}
function get retryFeedback() {
if (_retryFeedback) {
return(_retryFeedback);
}
return(null);
}
function set retryFeedback(theFeedback) {
_retryFeedback = theFeedback;
//return(retryFeedback);
}
function setFromAnswerScore(answerScore) {
if (answerScore.__get__chosenAnswer() == "1") {
super.setSelected(true);
} else {
super.setSelected(false);
}
}
function initAnswerScore() {
var _local1 = this;
if ((_local1.answerID != undefined) && (_local1.answerID.length > 0)) {
_local1._answerScore = new MMQuizClasses.AnswerScore();
_local1._answerScore.__set__answerType(_local1.className);
_local1._answerScore.__set__answerID(_local1.answerID);
_local1._answerScore.__set__isTrueAnswer(_local1.isTrueAnswer);
if (_local1.isCorrect) {
_local1._answerScore.__set__correctAnswer("1");
} else {
_local1._answerScore.__set__correctAnswer("0");
}
_local1._answerScore.__set__chosenAnswer("0");
}
}
function init() {
var _local1 = this;
_local1._rbIcon._visible = false;
super.init();
_local1.setGroupName("answerGroup");
_local1.question.registerAnswer(_local1);
_local1.doLater(_local1, "initAnswerScore");
}
function size() {
super.size();
}
function setStateVar(state) {
var _local1 = this;
super.setStateVar(state);
if (_local1.selected) {
_local1._answerScore.__set__chosenAnswer("1");
} else {
_local1._answerScore.__set__chosenAnswer("0");
}
}
function answerChosen() {
var _local1 = this;
_local1.dispatchEvent({type:"chooseAnswer", target:_local1});
if (_local1.__get__answeredCorrectly()) {
_local1.dispatchEvent({type:"chooseCorrectAnswer", target:_local1});
} else {
_local1.dispatchEvent({type:"chooseIncorrectAnswer", target:_local1});
}
}
function setSelected(val) {
var _local1 = this;
super.setSelected(val);
_local1.doLater(_local1, "drawMouseOverHilite");
_local1.answerChosen();
}
function clearAnswer() {
setSelected(false);
}
function setView(offset) {
var _local2 = this;
var _local1 = _local2.iconName;
_local1._x = _local2._rbIcon._x;
_local1._y = _local2._rbIcon._y;
}
function setHitArea(w, h) {
var _local2 = this;
if (_local2.hitArea_mc == undefined) {
_local2.createEmptyObject("hitArea_mc", 100);
}
var _local3 = _local2.getBounds(_local2);
var _local1 = _local2.hitArea_mc;
_local1.clear();
_local1._x = _local3.xMin;
_local1._y = _local3.yMin;
_local1.beginFill(_local2.mouseOverHiliteColor);
_local1.drawRect(0, 0, w, h);
_local1.endFill();
_local1._alpha = 0;
_local1.setVisible(true);
}
function setLabel(label) {
super.setLabel("");
}
function drawMouseOverHilite() {
var _local2 = this;
if (_local2.useWholeButtonHilite) {
var _local1 = _local2.hitArea_mc;
_local1._alpha = _local2.mouseOverHiliteAlpha;
}
}
function eraseMouseOverHilite() {
if (useWholeButtonHilite) {
var _local1 = hitArea_mc;
_local1._alpha = 0;
}
}
function onRollOver(Void) {
super.onRollOver();
drawMouseOverHilite();
}
function onRollOut(Void) {
super.onRollOut();
eraseMouseOverHilite();
}
static var symbolName = "MultipleChoiceAnswer";
static var symbolOwner = MMQuizClasses.MultipleChoiceAnswer;
var className = "MultipleChoiceAnswer";
var isCorrect = false;
var isTrueAnswer = false;
var useWholeButtonHilite = false;
var mouseOverHiliteColor = 7712491;
var mouseOverHiliteAlpha = 50;
var answerID = "";
var _feedback = null;
var _retryFeedback = null;
}
Symbol 85 MovieClip [__Packages.MMQuizClasses.MultipleChoiceAnswerAccImpl] Frame 0
class MMQuizClasses.MultipleChoiceAnswerAccImpl extends mx.accessibility.RadioButtonAccImpl
{
var _accImpl;
function MultipleChoiceAnswerAccImpl (master) {
super(master);
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new MMQuizClasses.MultipleChoiceAnswerAccImpl(this);
}
static function hookAccessibility() {
MMQuizClasses.MultipleChoiceAnswer.prototype.createAccessibilityImplementation = MMQuizClasses.MultipleChoiceAnswerAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var ROLE = 45;
var owner = MMQuizClasses.MultipleChoiceAnswer;
static var accessibilityHooked = hookAccessibility();
}
Symbol 86 MovieClip [__Packages.MMQuizClasses.MultipleChoiceMultipleAnswer] Frame 0
class MMQuizClasses.MultipleChoiceMultipleAnswer extends mx.controls.CheckBox
{
var _parent, selected, _answerScore, hitArea_mc;
function MultipleChoiceMultipleAnswer () {
super();
}
function get question() {
return(_parent);
}
function initAnswerScore() {
var _local1 = this;
_local1._answerScore = new MMQuizClasses.AnswerScore();
_local1._answerScore.__set__answerType(_local1.className);
_local1._answerScore.__set__answerID(_local1.answerID);
if (_local1.isCorrect) {
_local1._answerScore.__set__correctAnswer("1");
} else {
_local1._answerScore.__set__correctAnswer("0");
}
_local1._answerScore.__set__chosenAnswer("0");
}
function init() {
var _local1 = this;
_local1._cbIcon._visible = false;
super.init();
_local1.question.registerAnswer(_local1);
_local1.doLater(_local1, "initAnswerScore");
}
function size() {
super.size();
}
function setStateVar(state) {
var _local1 = this;
super.setStateVar(state);
if (_local1.selected) {
_local1._answerScore.__set__chosenAnswer("1");
} else {
_local1._answerScore.__set__chosenAnswer("0");
}
}
function answerChosen() {
var _local1 = this;
_local1.dispatchEvent({type:"chooseAnswer", target:_local1});
if (_local1.__get__answeredCorrectly()) {
_local1.dispatchEvent({type:"chooseCorrectAnswer", target:_local1});
} else {
_local1.dispatchEvent({type:"chooseIncorrectAnswer", target:_local1});
}
}
function setSelected(val) {
var _local1 = this;
super.setSelected(val);
_local1.doLater(_local1, "drawMouseOverHilite");
_local1.answerChosen();
}
function get answered() {
return(selected);
}
function get answeredCorrectly() {
return(selected == isCorrect);
}
function get chosenAnswer() {
if (selected) {
return(answerID);
}
return("");
}
function get correctAnswer() {
if (isCorrect) {
return("1");
}
return("");
}
function get answerScore() {
return(_answerScore);
}
function get retryFeedback() {
if (_retryFeedback) {
return(_retryFeedback);
}
return(null);
}
function set retryFeedback(theFeedback) {
_retryFeedback = theFeedback;
//return(retryFeedback);
}
function clearAnswer() {
setSelected(false);
}
function setFromAnswerScore(answerScore) {
if (answerScore.__get__chosenAnswer() == "1") {
super.setSelected(true);
} else {
super.setSelected(false);
}
}
function setView(offset) {
var _local2 = this;
var _local1 = _local2.iconName;
_local1._x = _local2._cbIcon._x;
_local1._y = _local2._cbIcon._y;
}
function setHitArea(w, h) {
var _local2 = this;
if (_local2.hitArea_mc == undefined) {
_local2.createEmptyObject("hitArea_mc", 100);
}
var _local3 = _local2.getBounds(_local2);
var _local1 = _local2.hitArea_mc;
_local1.clear();
_local1._x = _local3.xMin;
_local1._y = _local3.yMin;
_local1.beginFill(_local2.mouseOverHiliteColor);
_local1.drawRect(0, 0, w, h);
_local1.endFill();
_local1._alpha = 0;
_local1.setVisible(true);
}
function setLabel(label) {
super.setLabel("");
}
function drawMouseOverHilite() {
var _local2 = this;
if (_local2.useWholeButtonHilite) {
var _local1 = _local2.hitArea_mc;
_local1._alpha = _local2.mouseOverHiliteAlpha;
}
}
function eraseMouseOverHilite() {
if (useWholeButtonHilite) {
var _local1 = hitArea_mc;
_local1._alpha = 0;
}
}
function onRollOver(Void) {
super.onRollOver();
drawMouseOverHilite();
}
function onRollOut(Void) {
super.onRollOut();
eraseMouseOverHilite();
}
static var symbolName = "MultipleChoiceMultipleAnswer";
static var symbolOwner = MMQuizClasses.MultipleChoiceMultipleAnswer;
var className = "MultipleChoiceMultipleAnswer";
var isCorrect = false;
var useWholeButtonHilite = false;
var mouseOverHiliteColor = 7712491;
var mouseOverHiliteAlpha = 50;
var answerID = "";
var _retryFeedback = null;
}
Symbol 87 MovieClip [__Packages.MMQuizClasses.MultipleChoiceMultipleAnswerAccImpl] Frame 0
class MMQuizClasses.MultipleChoiceMultipleAnswerAccImpl extends mx.accessibility.CheckBoxAccImpl
{
var _accImpl;
function MultipleChoiceMultipleAnswerAccImpl (master) {
super(master);
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new MMQuizClasses.MultipleChoiceMultipleAnswerAccImpl(this);
}
static function hookAccessibility() {
MMQuizClasses.MultipleChoiceMultipleAnswer.prototype.createAccessibilityImplementation = MMQuizClasses.MultipleChoiceMultipleAnswerAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var ROLE = 44;
var STATE_SYSTEM_CHECKED = 16;
var owner = MMQuizClasses.MultipleChoiceMultipleAnswer;
static var accessibilityHooked = hookAccessibility();
}
Symbol 88 MovieClip [__Packages.mx.controls.listclasses.DataSelector] Frame 0
class mx.controls.listclasses.DataSelector extends Object
{
var __dataProvider, selected;
function DataSelector () {
super();
}
static function Initialize(obj) {
var _local2 = obj;
var _local3 = mixinProps;
var l = _local3.length;
_local2 = _local2.prototype;
var _local1 = 0;
while (_local1 < l) {
_local2[_local3[_local1]] = mixins[_local3[_local1]];
_local1++;
}
mixins.createProp(_local2, "dataProvider", true);
mixins.createProp(_local2, "length", false);
mixins.createProp(_local2, "value", false);
mixins.createProp(_local2, "selectedIndex", true);
mixins.createProp(_local2, "selectedIndices", true);
mixins.createProp(_local2, "selectedItems", false);
mixins.createProp(_local2, "selectedItem", true);
return(true);
}
function createProp(obj, propName, setter) {
var _local2 = propName;
var p = (_local2.charAt(0).toUpperCase() + _local2.substr(1));
var _local1 = null;
var _local3 = function (Void) {
return(this["get" + p]());
};
if (setter) {
_local1 = function (val) {
this["set" + p](val);
};
}
obj.addProperty(_local2, _local3, _local1);
}
function setDataProvider(dP) {
var _local1 = this;
var _local2 = dP;
if (_local1.__vPosition != 0) {
_local1.setVPosition(0);
}
_local1.clearSelected();
_local1.__dataProvider.removeEventListener(_local1);
_local1.__dataProvider = _local2;
_local2.addEventListener("modelChanged", _local1);
_local2.addView(_local1);
_local1.modelChanged({eventName:"updateAll"});
}
function getDataProvider(Void) {
return(__dataProvider);
}
function addItemAt(index, label, data) {
var _local2 = index;
var _local3 = this;
if ((_local2 < 0) || (!_local3.enabled)) {
} else {
var _local1 = _local3.__dataProvider;
if (_local1 == undefined) {
_local1 = (_local3.__dataProvider = new Array());
_local1.addEventListener("modelChanged", _local3);
_local2 = 0;
}
if ((typeof(label) == "object") || (typeof(_local1.getItemAt(0)) == "string")) {
_local1.addItemAt(_local2, label);
} else {
_local1.addItemAt(_local2, {label:label, data:data});
}
}
}
function addItem(label, data) {
addItemAt(__dataProvider.length, label, data);
}
function removeItemAt(index) {
return(__dataProvider.removeItemAt(index));
}
function removeAll(Void) {
__dataProvider.removeAll();
}
function replaceItemAt(index, newLabel, newData) {
var _local1 = newLabel;
if (typeof(_local1) == "object") {
__dataProvider.replaceItemAt(index, _local1);
} else {
__dataProvider.replaceItemAt(index, {label:_local1, data:newData});
}
}
function sortItemsBy(fieldName, order) {
var _local1 = this;
_local1.lastSelID = _local1.__dataProvider.getItemID(_local1.lastSelected);
_local1.__dataProvider.sortItemsBy(fieldName, order);
}
function sortItems(compareFunc, order) {
var _local1 = this;
_local1.lastSelID = _local1.__dataProvider.getItemID(_local1.lastSelected);
_local1.__dataProvider.sortItems(compareFunc, order);
}
function getLength(Void) {
return(__dataProvider.length);
}
function getItemAt(index) {
return(__dataProvider.getItemAt(index));
}
function modelChanged(eventObj) {
var _local1 = this;
var _local3 = eventObj.firstItem;
var lastItem = eventObj.lastItem;
var event = eventObj.eventName;
if (event == undefined) {
event = eventObj.event;
_local3 = eventObj.firstRow;
lastItem = eventObj.lastRow;
if (event == "addRows") {
event = (eventObj.eventName = "addItems");
} else if (event == "deleteRows") {
event = (eventObj.eventName = "removeItems");
} else if (event == "updateRows") {
event = (eventObj.eventName = "updateItems");
}
}
if (event == "addItems") {
for (var _local2 in _local1.selected) {
var ind = _local1.selected[_local2];
if ((ind != undefined) && (ind >= _local3)) {
_local1.selected[_local2] = _local1.selected[_local2] + ((lastItem - _local3) + 1);
}
}
} else if (event == "removeItems") {
if (_local1.__dataProvider.length == 0) {
delete _local1.selected;
} else {
var removedIDs = eventObj.removedIDs;
var len = removedIDs.length;
var _local2 = 0;
while (_local2 < len) {
var id = removedIDs[_local2];
if (_local1.selected[id] != undefined) {
delete _local1.selected[id];
}
_local2++;
}
for (_local2 in _local1.selected) {
if (_local1.selected[_local2] >= _local3) {
_local1.selected[_local2] = _local1.selected[_local2] - ((lastItem - _local3) + 1);
}
}
}
} else if (event == "sort") {
if (typeof(_local1.__dataProvider.getItemAt(0)) != "object") {
delete _local1.selected;
} else {
var len = _local1.__dataProvider.length;
var _local2 = 0;
while (_local2 < len) {
if (_local1.isSelected(_local2)) {
var id = _local1.__dataProvider.getItemID(_local2);
if (id == _local1.lastSelID) {
_local1.lastSelected = _local2;
}
_local1.selected[id] = _local2;
}
_local2++;
}
}
} else if (event == "filterModel") {
_local1.setVPosition(0);
}
_local1.invUpdateControl = true;
_local1.invalidate();
}
function getValue(Void) {
var _local1 = getSelectedItem();
if (typeof(_local1) != "object") {
return(_local1);
}
if (_local1.data != undefined) {
return(_local1.data);
}
return(_local1.label);
}
function getSelectedIndex(Void) {
var _local2 = this;
for (var _local3 in _local2.selected) {
var _local1 = _local2.selected[_local3];
if (_local1 != undefined) {
return(_local1);
}
}
return(undefined);
}
function setSelectedIndex(index) {
var _local1 = this;
var _local2 = index;
if (((_local2 >= 0) && (_local2 < _local1.__dataProvider.length)) && (_local1.enabled)) {
delete _local1.selected;
_local1.selectItem(_local2, true);
_local1.lastSelected = _local2;
_local1.invUpdateControl = true;
_local1.invalidate();
} else if (_local2 == undefined) {
_local1.clearSelected();
}
}
function getSelectedIndices(Void) {
var _local1 = this;
var _local2 = new Array();
for (var _local3 in _local1.selected) {
_local2.push(_local1.selected[_local3]);
}
_local2.reverse();
if (_local2.length <= 0) {
return(undefined);
}
return(_local2);
}
function setSelectedIndices(indexArray) {
var _local3 = this;
if (_local3.multipleSelection != true) {
} else {
delete _local3.selected;
var _local2 = 0;
while (_local2 < indexArray.length) {
var _local1 = indexArray[_local2];
if ((_local1 >= 0) && (_local1 < _local3.__dataProvider.length)) {
_local3.selectItem(_local1, true);
}
_local2++;
}
_local3.invUpdateControl = true;
_local3.updateControl();
}
}
function getSelectedItems(Void) {
var _local2 = getSelectedIndices();
var _local3 = new Array();
var _local1 = 0;
while (_local1 < _local2.length) {
_local3.push(getItemAt(_local2[_local1]));
_local1++;
}
if (_local3.length <= 0) {
return(undefined);
}
return(_local3);
}
function getSelectedItem(Void) {
return(__dataProvider.getItemAt(getSelectedIndex()));
}
function selectItem(index, selectedFlag) {
var _local1 = this;
var _local3 = index;
if (_local1.selected == undefined) {
_local1.selected = new Object();
}
var _local2 = _local1.__dataProvider.getItemID(_local3);
if (_local2 == undefined) {
} else if (selectedFlag && (!_local1.isSelected(_local3))) {
_local1.selected[_local2] = _local3;
} else if (!selectedFlag) {
delete _local1.selected[_local2];
}
}
function isSelected(index) {
var _local1 = __dataProvider.getItemID(index);
if (_local1 == undefined) {
return(false);
}
return(selected[_local1] != undefined);
}
function clearSelected(transition) {
var _local1 = this;
var _local3 = 0;
for (var uniqueID in _local1.selected) {
var _local2 = _local1.selected[uniqueID];
if (((_local2 != undefined) && (_local1.__vPosition <= _local2)) && (_local2 < (_local1.__vPosition + _local1.__rowCount))) {
_local1.rows[_local2 - _local1.__vPosition].drawRow(_local1.rows[_local2 - _local1.__vPosition].item, "normal", transition && ((_local3 % 3) == 0));
}
_local3++;
}
delete _local1.selected;
}
static var mixins = new mx.controls.listclasses.DataSelector();
static var mixinProps = ["setDataProvider", "getDataProvider", "addItem", "addItemAt", "removeAll", "removeItemAt", "replaceItemAt", "sortItemsBy", "sortItems", "getLength", "getItemAt", "modelChanged", "calcPreferredWidthFromData", "calcPreferredHeightFromData", "getValue", "getSelectedIndex", "getSelectedItem", "getSelectedIndices", "getSelectedItems", "selectItem", "isSelected", "clearSelected", "setSelectedIndex", "setSelectedIndices"];
}
Symbol 89 MovieClip [__Packages.mx.controls.ComboBase] Frame 0
class mx.controls.ComboBase extends mx.core.UIComponent
{
var getValue, text_mc, getFocusManager, __get__height, downArrow_mc, border_mc, _parent;
function ComboBase () {
super();
getValue = _getValue;
}
function init() {
var _local1 = this;
super.init();
_local1.tabEnabled = !_local1._editable;
_local1.tabChildren = _local1._editable;
_local1.boundingBox_mc._visible = false;
_local1.boundingBox_mc._width = (_local1.boundingBox_mc._height = 0);
}
function createChildren() {
var _local1 = this;
var _local2 = new Object();
_local2.styleName = _local1;
if (_local1.downArrow_mc == undefined) {
_local2.falseUpSkin = _local1.downArrowUpName;
_local2.falseOverSkin = _local1.downArrowOverName;
_local2.falseDownSkin = _local1.downArrowDownName;
_local2.falseDisabledSkin = _local1.downArrowDisabledName;
_local2.validateNow = true;
_local2.tabEnabled = false;
_local1.createClassObject(mx.controls.SimpleButton, "downArrow_mc", 19, _local2);
_local1.downArrow_mc.buttonDownHandler = _local1.onDownArrow;
_local1.downArrow_mc.useHandCursor = false;
_local1.downArrow_mc.onPressWas = _local1.downArrow_mc.onPress;
_local1.downArrow_mc.onPress = function () {
var _local1 = this;
_local1.trackAsMenuWas = _local1.trackAsMenu;
_local1.trackAsMenu = true;
if (!_local1._editable) {
_local1._parent.text_mc.trackAsMenu = _local1.trackAsMenu;
}
_local1.onPressWas();
};
_local1.downArrow_mc.onDragOutWas = _local1.downArrow_mc.onDragOut;
_local1.downArrow_mc.onDragOut = function () {
var _local1 = this;
_local1.trackAsMenuWas = _local1.trackAsMenu;
_local1.trackAsMenu = false;
if (!_local1._editable) {
_local1._parent.text_mc.trackAsMenu = _local1.trackAsMenu;
}
_local1.onDragOutWas();
};
_local1.downArrow_mc.onDragOverWas = _local1.downArrow_mc.onDragOver;
_local1.downArrow_mc.onDragOver = function () {
var _local1 = this;
_local1.trackAsMenu = _local1.trackAsMenuWas;
if (!_local1._editable) {
_local1._parent.text_mc.trackAsMenu = _local1.trackAsMenu;
}
_local1.onDragOverWas();
};
}
if (_local1.border_mc == undefined) {
_local2.tabEnabled = false;
_local1.createClassObject(_global.styles.rectBorderClass, "border_mc", 17, _local2);
_local1.border_mc.move(0, 0);
_local1.__border = _local1.border_mc;
}
_local2.borderStyle = "none";
_local2.readOnly = !_local1._editable;
_local2.tabEnabled = _local1._editable;
if (_local1.text_mc == undefined) {
_local1.createClassObject(mx.controls.TextInput, "text_mc", 18, _local2);
_local1.text_mc.move(0, 0);
_local1.text_mc.addEnterEvents();
_local1.text_mc.enterHandler = _local1._enterHandler;
_local1.text_mc.changeHandler = _local1._changeHandler;
_local1.text_mc.oldOnSetFocus = _local1.text_mc.onSetFocus;
_local1.text_mc.onSetFocus = function () {
this.oldOnSetFocus();
this._parent.onSetFocus();
};
_local1.text_mc.__set__restrict("^\x1B");
_local1.text_mc.oldOnKillFocus = _local1.text_mc.onKillFocus;
_local1.text_mc.onKillFocus = function (n) {
this.oldOnKillFocus(n);
this._parent.onKillFocus(n);
};
_local1.text_mc.drawFocus = function (b) {
this._parent.drawFocus(b);
};
delete _local1.text_mc.borderStyle;
}
_local1.focusTextField = _local1.text_mc;
_local1.text_mc.owner = _local1;
_local1.layoutChildren(_local1.__width, _local1.__height);
}
function onKillFocus() {
super.onKillFocus();
Key.removeListener(text_mc);
getFocusManager().defaultPushButtonEnabled = true;
}
function onSetFocus() {
super.onSetFocus();
getFocusManager().defaultPushButtonEnabled = false;
Key.addListener(text_mc);
}
function setFocus() {
var _local1 = this;
if (_local1._editable) {
Selection.setFocus(_local1.text_mc);
} else {
Selection.setFocus(_local1);
}
}
function setSize(w, h, noEvent) {
super.setSize(w, ((h == undefined) ? (__get__height()) : (h)), noEvent);
}
function setEnabled(enabledFlag) {
var _local1 = enabledFlag;
super.setEnabled(_local1);
downArrow_mc.enabled = _local1;
text_mc.enabled = _local1;
}
function setEditable(e) {
var _local1 = this;
var _local2 = e;
_local1._editable = _local2;
if (_local1.wrapDownArrowButton == false) {
if (_local2) {
_local1.border_mc.borderStyle = "inset";
_local1.text_mc.borderStyle = "inset";
symbolName = "ComboBox";
_local1.invalidateStyle();
} else {
_local1.border_mc.borderStyle = "comboNonEdit";
_local1.text_mc.borderStyle = "dropDown";
symbolName = "DropDown";
_local1.invalidateStyle();
}
}
_local1.tabEnabled = !_local2;
_local1.tabChildren = _local2;
_local1.text_mc.tabEnabled = _local2;
if (_local2) {
delete _local1.text_mc.onPress;
delete _local1.text_mc.onRelease;
delete _local1.text_mc.onReleaseOutside;
delete _local1.text_mc.onDragOut;
delete _local1.text_mc.onDragOver;
delete _local1.text_mc.onRollOver;
delete _local1.text_mc.onRollOut;
} else {
_local1.text_mc.onPress = function () {
this._parent.downArrow_mc.onPress();
};
_local1.text_mc.onRelease = function () {
this._parent.downArrow_mc.onRelease();
};
_local1.text_mc.onReleaseOutside = function () {
this._parent.downArrow_mc.onReleaseOutside();
};
_local1.text_mc.onDragOut = function () {
this._parent.downArrow_mc.onDragOut();
};
_local1.text_mc.onDragOver = function () {
this._parent.downArrow_mc.onDragOver();
};
_local1.text_mc.onRollOver = function () {
this._parent.downArrow_mc.onRollOver();
};
_local1.text_mc.onRollOut = function () {
this._parent.downArrow_mc.onRollOut();
};
_local1.text_mc.useHandCursor = false;
}
}
function get editable() {
return(_editable);
}
function set editable(e) {
setEditable(e);
//return(editable);
}
function _getValue() {
var _local1 = this;
if (!_local1._editable) {
return(_local1.DSgetValue());
}
return(_local1.text_mc.getText());
}
function draw() {
downArrow_mc.draw();
border_mc.draw();
}
function size() {
var _local1 = this;
_local1.layoutChildren(_local1.__width, _local1.__height);
}
function setTheme(t) {
var _local1 = t;
var _local2 = this;
_local2.downArrowUpName = (_local1 + "downArrow") + "Up_mc";
_local2.downArrowDownName = (_local1 + "downArrow") + "Down_mc";
_local2.downArrowDisabledName = (_local1 + "downArrow") + "Disabled_mc";
}
function get text() {
return(text_mc.getText());
}
function set text(t) {
setText(t);
//return(text);
}
function setText(t) {
text_mc.setText(t);
}
function get textField() {
return(text_mc);
}
function get restrict() {
return(text_mc.__get__restrict());
}
function set restrict(w) {
text_mc.__set__restrict(w);
//return(restrict);
}
function invalidateStyle() {
var _local1 = this;
_local1.downArrow_mc.invalidateStyle();
_local1.text_mc.invalidateStyle();
_local1.border_mc.invalidateStyle();
}
function layoutChildren(w, h) {
var _local1 = this;
var _local3 = w;
if (_local1.downArrow_mc == undefined) {
} else if (_local1.wrapDownArrowButton) {
var _local2 = _local1.border_mc.__get__borderMetrics();
_local1.downArrow_mc._width = (_local1.downArrow_mc._height = (h - _local2.top) - _local2.bottom);
_local1.downArrow_mc.move((_local3 - _local1.downArrow_mc._width) - _local2.right, _local2.top);
_local1.border_mc.setSize(_local3, h);
_local1.text_mc.setSize(_local3 - _local1.downArrow_mc._width, h);
} else {
_local1.downArrow_mc.move(_local3 - _local1.downArrow_mc._width, 0);
_local1.border_mc.setSize(_local3 - _local1.downArrow_mc.width, h);
_local1.text_mc.setSize(_local3 - _local1.downArrow_mc._width, h);
_local1.downArrow_mc._height = _local1.height;
}
}
function _changeHandler(obj) {
}
function _enterHandler(obj) {
var _local1 = _parent;
obj.target = _local1;
_local1.dispatchEvent(obj);
}
function get tabIndex() {
return(text_mc.__get__tabIndex());
}
function set tabIndex(w) {
text_mc.__set__tabIndex(w);
//return(tabIndex);
}
static var mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.ComboBase);
static var symbolName = "ComboBase";
static var symbolOwner = mx.controls.ComboBase;
static var version = "2.0.1.78";
var _editable = false;
var downArrowUpName = "ScrollDownArrowUp";
var downArrowDownName = "ScrollDownArrowDown";
var downArrowOverName = "ScrollDownArrowOver";
var downArrowDisabledName = "ScrollDownArrowDisabled";
var wrapDownArrowButton = true;
var DSgetValue = mx.controls.listclasses.DataSelector.prototype.getValue;
var multipleSelection = false;
}
Symbol 90 MovieClip [__Packages.mx.skins.Border] Frame 0
class mx.skins.Border extends mx.core.UIObject
{
function Border () {
super();
}
function init(Void) {
super.init();
}
static var symbolName = "Border";
static var symbolOwner = mx.skins.Border;
var className = "Border";
var tagBorder = 0;
var idNames = new Array("border_mc");
}
Symbol 91 MovieClip [__Packages.mx.skins.RectBorder] Frame 0
class mx.skins.RectBorder extends mx.skins.Border
{
var __width, __height;
function RectBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function draw(Void) {
size();
}
function getBorderMetrics(Void) {
var _local2 = this;
var _local1 = _local2.offset;
if (_local2.__borderMetrics == undefined) {
_local2.__borderMetrics = {left:_local1, top:_local1, right:_local1, bottom:_local1};
} else {
_local2.__borderMetrics.left = _local1;
_local2.__borderMetrics.top = _local1;
_local2.__borderMetrics.right = _local1;
_local2.__borderMetrics.bottom = _local1;
}
return(_local2.__borderMetrics);
}
function get borderMetrics() {
return(getBorderMetrics());
}
function drawBorder(Void) {
}
function size(Void) {
drawBorder();
}
function setColor(Void) {
drawBorder();
}
static var symbolName = "RectBorder";
static var symbolOwner = mx.skins.RectBorder;
static var version = "2.0.1.78";
var className = "RectBorder";
var borderStyleName = "borderStyle";
var borderColorName = "borderColor";
var shadowColorName = "shadowColor";
var highlightColorName = "highlightColor";
var buttonColorName = "buttonColor";
var backgroundColorName = "backgroundColor";
}
Symbol 92 MovieClip [__Packages.mx.controls.TextInput] Frame 0
class mx.controls.TextInput extends mx.core.UIComponent
{
var owner, label, enterListener;
function TextInput () {
super();
}
function addEventListener(event, handler) {
if (event == "enter") {
addEnterEvents();
}
super.addEventListener(event, handler);
}
function enterOnKeyDown() {
if (Key.getAscii() == 13) {
owner.dispatchEvent({type:"enter"});
}
}
function addEnterEvents() {
var _local1 = this;
if (_local1.enterListener == undefined) {
_local1.enterListener = new Object();
_local1.enterListener.owner = _local1;
_local1.enterListener.onKeyDown = _local1.enterOnKeyDown;
}
}
function init(Void) {
var _local1 = this;
super.init();
_local1.label.styleName = _local1;
_local1.tabChildren = true;
_local1.tabEnabled = false;
_local1.focusTextField = _local1.label;
_local1._color = mx.core.UIObject.textColorList;
_local1.label.onSetFocus = function () {
this._parent.onSetFocus();
};
_local1.label.onKillFocus = function (n) {
this._parent.onKillFocus(n);
};
_local1.label.drawFocus = function (b) {
this._parent.drawFocus(b);
};
_local1.label.onChanged = _local1.onLabelChanged;
}
function setFocus() {
Selection.setFocus(label);
}
function onLabelChanged(Void) {
var _local1 = this;
_local1._parent.dispatchEvent({type:"change"});
_local1._parent.dispatchValueChangedEvent(_local1.__get__text());
}
function createChildren(Void) {
var _local1 = this;
super.createChildren();
if (_local1.border_mc == undefined) {
_local1.createClassObject(_global.styles.rectBorderClass, "border_mc", 0, {styleName:_local1});
}
_local1.border_mc.swapDepths(_local1.label);
_local1.label.autoSize = "none";
}
function get html() {
return(getHtml());
}
function set html(value) {
setHtml(value);
//return(html);
}
function getHtml() {
return(label.html);
}
function setHtml(value) {
if (value != label.html) {
label.html = value;
}
}
function get text() {
return(getText());
}
function set text(t) {
setText(t);
//return(text);
}
function getText() {
var _local1 = this;
if (_local1.initializing) {
return(_local1.initText);
}
if (_local1.label.html == true) {
return(_local1.label.htmlText);
}
return(_local1.label.text);
}
function setText(t) {
var _local2 = t;
var _local3 = this;
if (_local3.initializing) {
_local3.initText = _local2;
} else {
var _local1 = _local3.label;
if (_local1.html == true) {
_local1.htmlText = _local2;
} else {
_local1.text = _local2;
}
}
_local3.dispatchValueChangedEvent(_local2);
}
function size(Void) {
var _local1 = this;
_local1.border_mc.setSize(_local1.__get__width(), _local1.__get__height());
var _local2 = _local1.border_mc.__get__borderMetrics();
var bW = (_local2.left + _local2.right);
var _local3 = _local2.top + _local2.bottom;
var bX = _local2.left;
var bY = _local2.top;
_local1.tfx = bX;
_local1.tfy = bY;
_local1.tfw = _local1.__get__width() - bW;
_local1.tfh = _local1.__get__height() - _local3;
_local1.label.move(_local1.tfx, _local1.tfy);
_local1.label.setSize(_local1.tfw, _local1.tfh + 1);
}
function setEnabled(enable) {
var _local1 = this;
var _local3 = enable;
_local1.label.type = (((_local1.__editable == true) || (_local3 == false)) ? "input" : "dynamic");
_local1.label.selectable = _local3;
var _local2 = _local1.getStyle((_local3 ? "color" : "disabledColor"));
if (_local2 == undefined) {
_local2 = (_local3 ? 0 : 8947848);
}
_local1.setColor(_local2);
}
function setColor(col) {
label.textColor = col;
}
function onKillFocus(newFocus) {
var _local1 = this;
if (_local1.enterListener != undefined) {
Key.removeListener(_local1.enterListener);
}
if (_local1.bind != undefined) {
_local1.updateModel(_local1.__get__text());
}
super.onKillFocus(newFocus);
}
function onSetFocus(oldFocus) {
var f = Selection.getFocus();
var o = eval (f);
if (o != label) {
Selection.setFocus(label);
return(undefined);
}
if (enterListener != undefined) {
Key.addListener(enterListener);
}
super.onSetFocus(oldFocus);
}
function draw(Void) {
var _local2 = this;
var _local1 = _local2.label;
var t = _local2.getText();
if (_local2.initializing) {
_local2.initializing = false;
delete _local2.initText;
}
var _local3 = _local2._getTextFormat();
_local1.embedFonts = _local3.embedFonts == true;
if (_local3 != undefined) {
_local1.setTextFormat(_local3);
_local1.setNewTextFormat(_local3);
}
_local1.multiline = false;
_local1.wordWrap = false;
if (_local1.html == true) {
_local1.setTextFormat(_local3);
_local1.htmlText = t;
} else {
_local1.text = t;
}
_local1.type = (((_local2.__editable == true) || (_local2.enabled == false)) ? "input" : "dynamic");
_local2.size();
}
function setEditable(s) {
__editable = s;
label.type = (s ? "input" : "dynamic");
}
function get maxChars() {
return(label.maxChars);
}
function set maxChars(w) {
label.maxChars = w;
//return(maxChars);
}
function get length() {
return(label.length);
}
function get restrict() {
return(label.restrict);
}
function set restrict(w) {
label.restrict = ((w == "") ? null : (w));
//return(restrict);
}
function get hPosition() {
return(label.hscroll);
}
function set hPosition(w) {
label.hscroll = w;
//return(hPosition);
}
function get maxHPosition() {
return(label.maxhscroll);
}
function get editable() {
return(__editable);
}
function set editable(w) {
setEditable(w);
//return(editable);
}
function get password() {
return(label.password);
}
function set password(w) {
label.password = w;
//return(password);
}
function get tabIndex() {
return(label.tabIndex);
}
function set tabIndex(w) {
label.tabIndex = w;
//return(tabIndex);
}
function set _accProps(val) {
label._accProps = val;
//return(_accProps);
}
function get _accProps() {
return(label._accProps);
}
static var symbolName = "TextInput";
static var symbolOwner = mx.controls.TextInput;
static var version = "2.0.1.78";
var className = "TextInput";
var initializing = true;
var clipParameters = {text:1, editable:1, password:1, maxChars:1, restrict:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextInput.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
var _maxWidth = mx.core.UIComponent.kStretch;
var __editable = true;
var initText = "";
}
Symbol 93 MovieClip [__Packages.mx.accessibility.ComboBaseAccImpl] Frame 0
class mx.accessibility.ComboBaseAccImpl extends mx.accessibility.AccImpl
{
var _accImpl, master;
function ComboBaseAccImpl (master) {
var _local1 = master;
super(_local1);
_local1._setSelectedIndex = _local1.setSelectedIndex;
_local1.setSelectedIndex = setSelectedIndex;
_local1._setText = _local1.setText;
_local1.setText = setText;
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new mx.accessibility.ComboBaseAccImpl(this);
}
function get_accRole(childId) {
var _local1 = ((childId == 0) ? (ROLE) : (ROLE_SYSTEM_LISTITEM));
return(_local1);
}
function getChildIdArray() {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < master.getLength()) {
var _local2 = _local1 + 1;
_local3[_local1] = _local2;
_local1++;
}
return(_local3);
}
function get_accValue(childId) {
if (childId != 0) {
var _local1 = master.getItemAt(childId - 1);
if (typeof(_local1) != "object") {
return(_local1);
}
return(((_local1.data == undefined) ? (_local1.label) : (_local1.data)));
}
return(master.getValue());
}
function get_accSelection() {
var _local1 = new Array();
_local1.push(master.getSelectedIndex() + 1);
return(_local1);
}
function setSelectedIndex(v) {
var _local1 = this;
var _local2 = _local1._setSelectedIndex(v);
Accessibility.sendEvent(_local1, v + 1, _local1._accImpl.EVENT_OBJECT_SELECTION);
Accessibility.sendEvent(_local1, 0, _local1._accImpl.EVENT_OBJECT_VALUECHANGE);
return(_local2);
}
function setText(t) {
var _local1 = this;
var _local2 = _local1._setText(t);
Accessibility.sendEvent(_local1, 0, _local1._accImpl.EVENT_OBJECT_VALUECHANGE, true);
return(_local2);
}
static function hookAccessibility() {
mx.controls.ComboBase.prototype.createAccessibilityImplementation = mx.accessibility.ComboBaseAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var ROLE = 46;
var ROLE_SYSTEM_LISTITEM = 34;
var EVENT_OBJECT_VALUECHANGE = 32782;
var EVENT_OBJECT_SELECTION = 32774;
var owner = mx.controls.ComboBase;
static var accessibilityHooked = hookAccessibility();
}
Symbol 94 MovieClip [__Packages.mx.controls.ComboBox] Frame 0
class mx.controls.ComboBox extends mx.controls.ComboBase
{
var __labels, __labelFunction, __dropdown, length, __dropdownWidth, selectedItem, _parent, owner, selectedIndex, dispatchEvent;
function ComboBox () {
super();
}
function init() {
super.init();
}
function createChildren() {
var _local2 = this;
super.createChildren();
_local2.__set__editable(_local2.editable);
if (_local2.__labels.length > 0) {
var dp = new Array();
var _local1 = 0;
while (_local1 < _local2.labels.length) {
dp.addItem({label:_local2.labels[_local1], data:_local2.data[_local1]});
_local1++;
}
_local2.setDataProvider(dp);
}
_local2.__set__dropdownWidth(((typeof(_local2.__dropdownWidth) == "number") ? (_local2.__dropdownWidth) : (_local2.__width)));
if (!_local2._editable) {
_local2.selectedIndex = 0;
}
_local2.initializing = false;
}
function onKillFocus(n) {
if (_showingDropdown && (n != null)) {
displayDropdown(false);
}
super.onKillFocus();
}
function getDropdown() {
var _local1 = this;
if (_local1.initializing) {
return(undefined);
}
if (!_local1.hasDropdown()) {
var _local2 = new Object();
_local2.styleName = _local1;
if (_local1.dropdownBorderStyle != undefined) {
_local2.borderStyle = _local1.dropdownBorderStyle;
}
_local2._visible = false;
_local1.__dropdown = mx.managers.PopUpManager.createPopUp(_local1, mx.controls.List, false, _local2, true);
_local1.__dropdown.scroller.mask.removeMovieClip();
if (_local1.dataProvider == undefined) {
_local1.dataProvider = new Array();
}
_local1.__dropdown.setDataProvider(_local1.dataProvider);
_local1.__dropdown.selectMultiple = false;
_local1.__dropdown.rowCount = _local1.__rowCount;
_local1.__dropdown.selectedIndex = _local1.selectedIndex;
_local1.__dropdown.vScrollPolicy = "auto";
_local1.__dropdown.labelField = _local1.__labelField;
_local1.__dropdown.labelFunction = _local1.__labelFunction;
_local1.__dropdown.owner = _local1;
_local1.__dropdown.changeHandler = _local1._changeHandler;
_local1.__dropdown.scrollHandler = _local1._scrollHandler;
_local1.__dropdown.itemRollOverHandler = _local1._itemRollOverHandler;
_local1.__dropdown.itemRollOutHandler = _local1._itemRollOutHandler;
_local1.__dropdown.resizeHandler = _local1._resizeHandler;
_local1.__dropdown.mouseDownOutsideHandler = function (eventObj) {
var _local3 = this;
var _local1 = _local3.owner;
var _local2 = new Object();
_local2.x = _local1._root._xmouse;
_local2.y = _local1._root._ymouse;
_local1._root.localToGlobal(_local2);
if (_local1.hitTest(_local2.x, _local2.y, false)) {
} else if ((!_local3.wrapDownArrowButton) && (_local3.owner.downArrow_mc.hitTest(_root._xmouse, _root._ymouse, false))) {
} else {
_local1.displayDropdown(false);
}
};
_local1.__dropdown.onTweenUpdate = function (v) {
this._y = v;
};
_local1.__dropdown.setSize(_local1.__dropdownWidth, _local1.__dropdown.height);
_local1.createObject("BoundingBox", "mask", 20);
_local1.mask._y = _local1.border_mc.height;
_local1.mask._width = _local1.__dropdownWidth;
_local1.mask._height = _local1.__dropdown.height;
_local1.mask._visible = false;
_local1.__dropdown.setMask(_local1.mask);
}
return(_local1.__dropdown);
}
function setSize(w, h, noEvent) {
var _local1 = this;
super.setSize(w, h, noEvent);
_local1.__dropdownWidth = w;
_local1.__dropdown.rowHeight = h;
_local1.__dropdown.setSize(_local1.__dropdownWidth, _local1.__dropdown.height);
}
function setEditable(e) {
var _local1 = this;
super.setEditable(e);
if (e) {
_local1.text_mc.setText("");
} else {
_local1.text_mc.setText(_local1.__get__selectedLabel());
}
}
function get labels() {
return(__labels);
}
function set labels(lbls) {
var _local1 = this;
_local1.__labels = lbls;
_local1.setDataProvider(lbls);
//return(_local1.__get__labels());
}
function getLabelField() {
return(__labelField);
}
function get labelField() {
return(getLabelField());
}
function setLabelField(s) {
var _local1 = this;
_local1.__dropdown.labelField = (_local1.__labelField = s);
_local1.text_mc.setText(_local1.__get__selectedLabel());
}
function set labelField(s) {
setLabelField(s);
//return(labelField);
}
function getLabelFunction() {
return(__labelFunction);
}
function get labelFunction() {
return(getLabelFunction());
}
function set labelFunction(f) {
var _local1 = this;
_local1.__dropdown.labelFunction = (_local1.__labelFunction = f);
_local1.text_mc.setText(_local1.__get__selectedLabel());
//return(_local1.__get__labelFunction());
}
function setSelectedItem(v) {
var _local1 = this;
super.setSelectedItem(v);
_local1.__dropdown.selectedItem = v;
_local1.text_mc.setText(_local1.__get__selectedLabel());
}
function setSelectedIndex(v) {
var _local1 = this;
var _local2 = v;
super.setSelectedIndex(_local2);
_local1.__dropdown.selectedIndex = _local2;
if (_local2 != undefined) {
_local1.text_mc.setText(_local1.__get__selectedLabel());
}
_local1.dispatchValueChangedEvent(_local1.getValue());
}
function setRowCount(count) {
var _local1 = count;
if (isNaN(_local1)) {
} else {
__rowCount = _local1;
__dropdown.setRowCount(_local1);
}
}
function get rowCount() {
return(Math.max(1, Math.min(length, __rowCount)));
}
function set rowCount(v) {
setRowCount(v);
//return(rowCount);
}
function setDropdownWidth(w) {
var _local1 = this;
_local1.__dropdownWidth = w;
_local1.__dropdown.setSize(w, _local1.__dropdown.height);
}
function get dropdownWidth() {
return(__dropdownWidth);
}
function set dropdownWidth(v) {
setDropdownWidth(v);
//return(dropdownWidth);
}
function get dropdown() {
return(getDropdown());
}
function setDataProvider(dp) {
var _local1 = this;
super.setDataProvider(dp);
_local1.__dropdown.setDataProvider(dp);
if (!_local1._editable) {
_local1.selectedIndex = 0;
}
}
function open() {
displayDropdown(true);
}
function close() {
displayDropdown(false);
}
function get selectedLabel() {
var _local1 = selectedItem;
if (_local1 == undefined) {
return("");
}
if (labelFunction != undefined) {
return(labelFunction(_local1));
}
if (typeof(_local1) != "object") {
return(_local1);
}
if (_local1[labelField] != undefined) {
return(_local1[labelField]);
}
if (_local1.label != undefined) {
return(_local1.label);
}
var _local2 = " ";
for (var _local3 in _local1) {
if (_local3 != "__ID__") {
_local2 = (_local1[_local3] + ", ") + _local2;
}
}
_local2 = _local2.substring(0, _local2.length - 3);
return(_local2);
}
function hasDropdown() {
return((__dropdown != undefined) && (__dropdown.valueOf() != undefined));
}
function tweenEndShow(value) {
var _local1 = this;
_local1._y = value;
_local1.isPressed = true;
_local1.owner.dispatchEvent({type:"open", target:_local1.owner});
}
function tweenEndHide(value) {
var _local1 = this;
_local1._y = value;
_local1.__set__visible(false);
_local1.owner.dispatchEvent({type:"close", target:_local1.owner});
}
function displayDropdown(show) {
var _local1 = this;
if (show == _local1._showingDropdown) {
} else {
var _local3 = new Object();
_local3.x = 0;
_local3.y = _local1.height;
_local1.localToGlobal(_local3);
if (show) {
_local1.__selectedIndexOnDropdown = _local1.selectedIndex;
_local1.getDropdown();
var _local2 = _local1.__dropdown;
_local2.isPressed = true;
_local2.rowCount = _local1.rowCount;
_local2.visible = show;
_local2._parent.globalToLocal(_local3);
_local2.onTweenEnd = _local1.tweenEndShow;
var initVal;
var endVal;
if ((_local3.y + _local2.height) > Stage.height) {
initVal = _local3.y - _local1.__get__height();
endVal = initVal - _local2.height;
_local1.mask._y = -_local2.height;
} else {
initVal = _local3.y - _local2.height;
endVal = _local3.y;
_local1.mask._y = _local1.border_mc.height;
}
var sel = _local2.selectedIndex;
if (sel == undefined) {
sel = 0;
}
var pos = _local2.vPosition;
pos = sel - 1;
pos = Math.min(Math.max(pos, 0), _local2.length - _local2.rowCount);
_local2.vPosition = pos;
_local2.move(_local3.x, initVal);
_local2.tween = new mx.effects.Tween(_local1.__dropdown, initVal, endVal, _local1.getStyle("openDuration"));
} else {
_local1.__dropdown._parent.globalToLocal(_local3);
delete _local1.__dropdown.dragScrolling;
_local1.__dropdown.onTweenEnd = _local1.tweenEndHide;
_local1.__dropdown.tween = new mx.effects.Tween(_local1.__dropdown, _local1.__dropdown._y, _local3.y - _local1.__dropdown.height, _local1.getStyle("openDuration"));
}
var ease = _local1.getStyle("openEasing");
if (ease != undefined) {
_local1.__dropdown.tween.easingEquation = ease;
}
_local1._showingDropdown = show;
}
}
function onDownArrow() {
_parent.displayDropdown(!_parent._showingDropdown);
}
function keyDown(e) {
var _local1 = this;
var _local2 = e;
if (_local2.ctrlKey && (_local2.code == 40)) {
_local1.displayDropdown(true);
} else if (_local2.ctrlKey && (_local2.code == 38)) {
_local1.displayDropdown(false);
_local1.dispatchChangeEvent(undefined, _local1.__selectedIndexOnDropdown, _local1.selectedIndex);
} else if (_local2.code == 27) {
_local1.displayDropdown(false);
} else if (_local2.code == 13) {
if (_local1._showingDropdown) {
_local1.selectedIndex = _local1.__dropdown.selectedIndex;
_local1.displayDropdown(false);
_local1.dispatchChangeEvent(undefined, _local1.__selectedIndexOnDropdown, _local1.selectedIndex);
}
} else if (((((!_local1._editable) || (_local2.code == 38)) || (_local2.code == 40)) || (_local2.code == 33)) || (_local2.code == 34)) {
_local1.selectedIndex = 0 + _local1.selectedIndex;
_local1.bInKeyDown = true;
var _local3 = _local1.__get__dropdown();
_local3.keyDown(_local2);
_local1.bInKeyDown = false;
_local1.selectedIndex = _local1.__dropdown.selectedIndex;
}
}
function invalidateStyle(styleProp) {
__dropdown.invalidateStyle(styleProp);
super.invalidateStyle(styleProp);
}
function changeTextStyleInChildren(styleProp) {
var _local1 = this;
var _local2 = styleProp;
if (_local1.dropdown.stylecache != undefined) {
delete _local1.dropdown.stylecache[_local2];
delete _local1.dropdown.stylecache.tf;
}
_local1.__dropdown.changeTextStyleInChildren(_local2);
super.changeTextStyleInChildren(_local2);
}
function changeColorStyleInChildren(sheetName, styleProp, newValue) {
var _local1 = this;
var _local2 = styleProp;
if (_local1.dropdown.stylecache != undefined) {
delete _local1.dropdown.stylecache[_local2];
delete _local1.dropdown.stylecache.tf;
}
_local1.__dropdown.changeColorStyleInChildren(sheetName, _local2, newValue);
super.changeColorStyleInChildren(sheetName, _local2, newValue);
}
function notifyStyleChangeInChildren(sheetName, styleProp, newValue) {
var _local1 = this;
var _local2 = styleProp;
if (_local1.dropdown.stylecache != undefined) {
delete _local1.dropdown.stylecache[_local2];
delete _local1.dropdown.stylecache.tf;
}
_local1.__dropdown.notifyStyleChangeInChildren(sheetName, _local2, newValue);
super.notifyStyleChangeInChildren(sheetName, _local2, newValue);
}
function onUnload() {
__dropdown.removeMovieClip();
}
function _resizeHandler() {
var _local2 = this;
var _local1 = _local2.owner;
_local1.mask._width = _local2.width;
_local1.mask._height = _local2.height;
}
function _changeHandler(obj) {
var _local3 = obj;
var _local1 = owner;
var _local2 = _local1.selectedIndex;
_local3.target = _local1;
if (this == owner.text_mc) {
_local1.selectedIndex = undefined;
_local1.dispatchChangeEvent(_local3, -1, -2);
} else {
_local1.selectedIndex = selectedIndex;
if (!_local1._showingDropdown) {
_local1.dispatchChangeEvent(_local3, _local2, _local1.selectedIndex);
} else if (!_local1.bInKeyDown) {
_local1.displayDropdown(false);
_local1.dispatchChangeEvent(_local3, _local2, _local1.selectedIndex);
}
}
}
function _scrollHandler(obj) {
var _local1 = owner;
obj.target = _local1;
_local1.dispatchEvent(obj);
}
function _itemRollOverHandler(obj) {
var _local1 = owner;
obj.target = _local1;
_local1.dispatchEvent(obj);
}
function _itemRollOutHandler(obj) {
var _local1 = owner;
obj.target = _local1;
_local1.dispatchEvent(obj);
}
function modelChanged(eventObj) {
var _local1 = this;
var _local2 = eventObj;
super.modelChanged(_local2);
if (0 == _local1.__dataProvider.length) {
_local1.text_mc.setText("");
delete _local1.selected;
} else if ((_local1.__dataProvider.length == ((_local2.lastItem - _local2.firstItem) + 1)) && (_local2.eventName == "addItems")) {
_local1.selectedIndex = 0;
}
}
function dispatchChangeEvent(obj, prevValue, newValue) {
var _local2 = obj;
var _local1;
if (prevValue != newValue) {
if ((_local2 != undefined) && (_local2.type == "change")) {
_local1 = _local2;
} else {
_local1 = {type:"change"};
}
dispatchEvent(_local1);
}
}
static var symbolName = "ComboBox";
static var symbolOwner = mx.controls.ComboBox;
static var version = "2.0.1.78";
var clipParameters = {labels:1, data:1, editable:1, rowCount:1, dropdownWidth:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.ComboBox.prototype.clipParameters, mx.controls.ComboBase.prototype.clipParameters);
var className = "ComboBox";
var _showingDropdown = false;
var __rowCount = 5;
var dropdownBorderStyle = undefined;
var initializing = true;
var __labelField = "label";
var bInKeyDown = false;
}
Symbol 95 MovieClip [__Packages.mx.core.View] Frame 0
class mx.core.View extends mx.core.UIComponent
{
var tabEnabled, __tabIndex;
function View () {
super();
}
function init() {
var _local1 = this;
super.init();
_local1.tabChildren = true;
_local1.tabEnabled = false;
_local1.boundingBox_mc._visible = false;
_local1.boundingBox_mc._width = (_local1.boundingBox_mc._height = 0);
}
function size() {
var _local1 = this;
_local1.border_mc.move(0, 0);
_local1.border_mc.setSize(_local1.__get__width(), _local1.__get__height());
_local1.doLayout();
}
function draw() {
size();
}
function get numChildren() {
var _local3 = this;
var _local2 = childNameBase;
var _local1 = 0;
while (true) {
if (_local3[_local2 + _local1] == undefined) {
return(_local1);
}
_local1++;
}
return(_local3);
}
function get tabIndex() {
return((tabEnabled ? (__tabIndex) : undefined));
}
function set tabIndex(n) {
__tabIndex = n;
//return(tabIndex);
}
function addLayoutObject(object) {
}
function createChild(className, instanceName, initProps) {
var _local1 = this;
var _local3 = className;
if (_local1.depth == undefined) {
_local1.depth = 1;
}
var _local2;
if (typeof(_local3) == "string") {
_local2 = _local1.createObject(_local3, instanceName, _local1.depth++, initProps);
} else {
_local2 = _local1.createClassObject(_local3, instanceName, _local1.depth++, initProps);
}
if (_local2 == undefined) {
_local2 = _local1.loadExternal(_local3, _local1._loadExternalClass, instanceName, _local1.depth++, initProps);
} else {
_local1[childNameBase + _local1.__get__numChildren()] = _local2;
_local2._complete = true;
_local1.childLoaded(_local2);
}
_local1.addLayoutObject(_local2);
return(_local2);
}
function getChildAt(childIndex) {
return(this[childNameBase + childIndex]);
}
function destroyChildAt(childIndex) {
var _local2 = this;
if (!((childIndex >= 0) && (childIndex < _local2.__get__numChildren()))) {
} else {
var childName = (childNameBase + childIndex);
var nChildren = _local2.__get__numChildren();
var _local3;
for (_local3 in _local2) {
if (_local3 == childName) {
childName = "";
_local2.destroyObject(_local3);
break;
}
}
var _local1 = Number(childIndex);
while (_local1 < (nChildren - 1)) {
_local2[childNameBase + _local1] = _local2[childNameBase + (_local1 + 1)];
_local1++;
}
delete _local2[childNameBase + (nChildren - 1)];
_local2.depth--;
}
}
function initLayout() {
if (!hasBeenLayedOut) {
doLayout();
}
}
function doLayout() {
hasBeenLayedOut = true;
}
function createChildren() {
var _local1 = this;
if (_local1.border_mc == undefined) {
_local1.border_mc = _local1.createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {styleName:_local1});
}
_local1.doLater(_local1, "initLayout");
}
function convertToUIObject(obj) {
}
function childLoaded(obj) {
convertToUIObject(obj);
}
static function extension() {
mx.core.ExternalContent.enableExternalContent();
}
static var symbolName = "View";
static var symbolOwner = mx.core.View;
static var version = "2.0.1.78";
var className = "View";
static var childNameBase = "_child";
var hasBeenLayedOut = false;
var _loadExternalClass = "UIComponent";
}
Symbol 96 MovieClip [__Packages.mx.core.ExternalContent] Frame 0
class mx.core.ExternalContent
{
var doLater;
function ExternalContent () {
}
function loadExternal(url, placeholderClassName, instanceName, depth, initProps) {
var _local1 = this;
var _local2;
_local2 = _local1.createObject(placeholderClassName, instanceName, depth, initProps);
_local1[mx.core.View.childNameBase + _local1.numChildren] = _local2;
if (_local1.prepList == undefined) {
_local1.prepList = new Object();
}
_local1.prepList[instanceName] = {obj:_local2, url:url, complete:false, initProps:initProps};
_local1.prepareToLoadMovie(_local2);
return(_local2);
}
function prepareToLoadMovie(obj) {
obj.unloadMovie();
doLater(this, "waitForUnload");
}
function waitForUnload() {
var _local1 = this;
var _local3;
for (_local3 in _local1.prepList) {
var _local2 = _local1.prepList[_local3];
if (_local2.obj.getBytesTotal() == 0) {
if (_local1.loadList == undefined) {
_local1.loadList = new Object();
}
_local1.loadList[_local3] = _local2;
_local2.obj.loadMovie(_local2.url);
delete _local1.prepList[_local3];
_local1.doLater(_local1, "checkLoadProgress");
} else {
_local1.doLater(_local1, "waitForUnload");
}
}
}
function checkLoadProgress() {
var _local2 = this;
var _local3;
for (_local3 in _local2.loadList) {
var _local1 = _local2.loadList[_local3];
_local1.loaded = _local1.obj.getBytesLoaded();
_local1.total = _local1.obj.getBytesTotal();
if (_local1.total > 0) {
_local1.obj._visible = false;
_local2.dispatchEvent({type:"progress", target:_local1.obj, current:_local1.loaded, total:_local1.total});
if (_local1.loaded == _local1.total) {
if (_local2.loadedList == undefined) {
_local2.loadedList = new Object();
}
_local2.loadedList[_local3] = _local1;
delete _local2.loadList[_local3];
_local2.doLater(_local2, "contentLoaded");
}
} else if (_local1.total == -1) {
if (_local1.failedOnce != undefined) {
_local1.failedOnce++;
if (_local1.failedOnce > 3) {
_local2.dispatchEvent({type:"complete", target:_local1.obj, current:_local1.loaded, total:_local1.total});
delete _local2.loadList[_local3];
}
} else {
_local1.failedOnce = 0;
}
}
_local2.doLater(_local2, "checkLoadProgress");
}
}
function contentLoaded() {
var _local3 = this;
var i;
for (i in _local3.loadedList) {
var _local1 = _local3.loadedList[i];
_local1.obj._visible = true;
_local1.obj._complete = true;
var _local2;
for (_local2 in _local1.initProps) {
_local1.obj[_local2] = _local1.initProps[_local2];
}
_local3.childLoaded(_local1.obj);
_local3.dispatchEvent({type:"complete", target:_local1.obj, current:_local1.loaded, total:_local1.total});
delete _local3.loadedList[i];
}
}
function convertToUIObject(obj) {
var _local1 = obj;
if (_local1.setSize == undefined) {
var _local2 = mx.core.UIObject.prototype;
_local1.addProperty("width", _local2.__get__width, null);
_local1.addProperty("height", _local2.__get__height, null);
_local1.addProperty("left", _local2.__get__left, null);
_local1.addProperty("x", _local2.__get__x, null);
_local1.addProperty("top", _local2.__get__top, null);
_local1.addProperty("y", _local2.__get__y, null);
_local1.addProperty("right", _local2.__get__right, null);
_local1.addProperty("bottom", _local2.__get__bottom, null);
_local1.addProperty("visible", _local2.__get__visible, _local2.__set__visible);
_local1.move = mx.core.UIObject.prototype.move;
_local1.setSize = mx.core.UIObject.prototype.setSize;
_local1.size = mx.core.UIObject.prototype.size;
mx.events.UIEventDispatcher.initialize(_local1);
}
}
static function enableExternalContent() {
}
static function classConstruct() {
var _local1 = mx.core.View.prototype;
var _local2 = mx.core.ExternalContent.prototype;
_local1.loadExternal = _local2.loadExternal;
_local1.prepareToLoadMovie = _local2.prepareToLoadMovie;
_local1.waitForUnload = _local2.waitForUnload;
_local1.checkLoadProgress = _local2.checkLoadProgress;
_local1.contentLoaded = _local2.contentLoaded;
_local1.convertToUIObject = _local2.convertToUIObject;
return(true);
}
static var classConstructed = classConstruct();
static var ViewDependency = mx.core.View;
}
Symbol 97 MovieClip [__Packages.mx.core.ScrollView] Frame 0
class mx.core.ScrollView extends mx.core.View
{
var hScroller, vScroller, __maxHPosition, __viewMetrics, _parent, dispatchEvent, mask_mc;
function ScrollView () {
super();
}
function getHScrollPolicy(Void) {
return(__hScrollPolicy);
}
function setHScrollPolicy(policy) {
var _local1 = this;
_local1.__hScrollPolicy = policy.toLowerCase();
if (_local1.__width == undefined) {
} else {
_local1.setScrollProperties(_local1.numberOfCols, _local1.columnWidth, _local1.rowC, _local1.rowH, _local1.heightPadding, _local1.widthPadding);
}
}
function get hScrollPolicy() {
return(getHScrollPolicy());
}
function set hScrollPolicy(policy) {
setHScrollPolicy(policy);
//return(hScrollPolicy);
}
function getVScrollPolicy(Void) {
return(__vScrollPolicy);
}
function setVScrollPolicy(policy) {
var _local1 = this;
_local1.__vScrollPolicy = policy.toLowerCase();
if (_local1.__width == undefined) {
} else {
_local1.setScrollProperties(_local1.numberOfCols, _local1.columnWidth, _local1.rowC, _local1.rowH, _local1.heightPadding, _local1.widthPadding);
}
}
function get vScrollPolicy() {
return(getVScrollPolicy());
}
function set vScrollPolicy(policy) {
setVScrollPolicy(policy);
//return(vScrollPolicy);
}
function get hPosition() {
return(getHPosition());
}
function set hPosition(pos) {
setHPosition(pos);
//return(hPosition);
}
function getHPosition(Void) {
return(__hPosition);
}
function setHPosition(pos) {
hScroller.__set__scrollPosition(pos);
__hPosition = pos;
}
function get vPosition() {
return(getVPosition());
}
function set vPosition(pos) {
setVPosition(pos);
//return(vPosition);
}
function getVPosition(Void) {
return(__vPosition);
}
function setVPosition(pos) {
vScroller.__set__scrollPosition(pos);
__vPosition = pos;
}
function get maxVPosition() {
var _local1 = vScroller.maxPos;
if (_local1 != undefined) {
return(_local1);
}
return(0);
}
function get maxHPosition() {
return(getMaxHPosition());
}
function set maxHPosition(pos) {
setMaxHPosition(pos);
//return(maxHPosition);
}
function getMaxHPosition(Void) {
var _local2 = this;
if (_local2.__maxHPosition != undefined) {
return(_local2.__maxHPosition);
}
var _local1 = _local2.hScroller.maxPos;
if (_local1 != undefined) {
return(_local1);
}
return(0);
}
function setMaxHPosition(pos) {
__maxHPosition = pos;
}
function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
var _local1 = this;
var _local3 = _local1.getViewMetrics();
if (hPadding == undefined) {
hPadding = 0;
}
if (wPadding == undefined) {
wPadding = 0;
}
_local1.propsInited = true;
delete _local1.scrollAreaChanged;
_local1.heightPadding = hPadding;
_local1.widthPadding = wPadding;
if (colWidth == 0) {
colWidth = 1;
}
if (rwHeight == 0) {
rwHeight = 1;
}
var viewableCols = Math.ceil((((_local1.__width - _local3.left) - _local3.right) - _local1.widthPadding) / colWidth);
if ((_local1.__hScrollPolicy == "on") || ((viewableCols < colCount) && (_local1.__hScrollPolicy == "auto"))) {
if ((_local1.hScroller == undefined) || (_local1.specialHScrollCase)) {
delete _local1.specialHScrollCase;
_local1.hScroller = _local1.createObject("HScrollBar", "hSB", 1001);
_local1.hScroller.__set__lineScrollSize(20);
_local1.hScroller.scrollHandler = _local1.scrollProxy;
_local1.hScroller.__set__scrollPosition(_local1.__hPosition);
_local1.scrollAreaChanged = true;
}
if ((((_local1.numberOfCols != colCount) || (_local1.columnWidth != colWidth)) || (_local1.viewableColumns != viewableCols)) || (_local1.scrollAreaChanged)) {
_local1.hScroller.setScrollProperties(viewableCols, 0, colCount - viewableCols);
_local1.viewableColumns = viewableCols;
_local1.numberOfCols = colCount;
_local1.columnWidth = colWidth;
}
} else if (((_local1.__hScrollPolicy == "auto") || (_local1.__hScrollPolicy == "off")) && (_local1.hScroller != undefined)) {
_local1.hScroller.removeMovieClip();
delete _local1.hScroller;
_local1.scrollAreaChanged = true;
}
if (_local1.heightPadding == undefined) {
_local1.heightPadding = 0;
}
var viewableRws = Math.ceil((((_local1.__height - _local3.top) - _local3.bottom) - _local1.heightPadding) / rwHeight);
var rndUp = ((((_local1.__height - _local3.top) - _local3.bottom) % rwHeight) != 0);
if ((_local1.__vScrollPolicy == "on") || ((viewableRws < (rwCount + rndUp)) && (_local1.__vScrollPolicy == "auto"))) {
if (_local1.vScroller == undefined) {
_local1.vScroller = _local1.createObject("VScrollBar", "vSB", 1002);
_local1.vScroller.scrollHandler = _local1.scrollProxy;
_local1.vScroller.__set__scrollPosition(_local1.__vPosition);
_local1.scrollAreaChanged = true;
_local1.rowH = 0;
}
if ((((_local1.rowC != rwCount) || (_local1.rowH != rwHeight)) || ((_local1.viewableRows + rndUp) != (viewableRws + _local1.oldRndUp))) || (_local1.scrollAreaChanged)) {
_local1.vScroller.setScrollProperties(viewableRws, 0, (rwCount - viewableRws) + rndUp);
_local1.viewableRows = viewableRws;
_local1.rowC = rwCount;
_local1.rowH = rwHeight;
_local1.oldRndUp = rndUp;
}
} else if (((_local1.__vScrollPolicy == "auto") || (_local1.__vScrollPolicy == "off")) && (_local1.vScroller != undefined)) {
_local1.vScroller.removeMovieClip();
delete _local1.vScroller;
_local1.scrollAreaChanged = true;
}
_local1.numberOfCols = colCount;
_local1.columnWidth = colWidth;
if (_local1.scrollAreaChanged) {
_local1.doLayout();
var _local2 = _local1.__viewMetrics;
var ownr = ((_local1.owner != undefined) ? (_local1.owner) : (_local1));
ownr.layoutContent(_local2.left, _local2.top, ((_local1.columnWidth * _local1.numberOfCols) - _local2.left) - _local2.right, _local1.rowC * _local1.rowH, (_local1.__width - _local2.left) - _local2.right, (_local1.__height - _local2.top) - _local2.bottom);
}
if (!_local1.enabled) {
_local1.setEnabled(false);
}
}
function getViewMetrics(Void) {
var _local1 = this;
var _local2 = _local1.__viewMetrics;
var _local3 = _local1.border_mc.__get__borderMetrics();
_local2.left = _local3.left;
_local2.right = _local3.right;
if (_local1.vScroller != undefined) {
_local2.right = _local2.right + _local1.vScroller.minWidth;
}
_local2.top = _local3.top;
if ((_local1.hScroller == undefined) && ((_local1.__hScrollPolicy == "on") || (_local1.__hScrollPolicy == true))) {
_local1.hScroller = _local1.createObject("FHScrollBar", "hSB", 1001);
_local1.specialHScrollCase = true;
}
_local2.bottom = _local3.bottom;
if (_local1.hScroller != undefined) {
_local2.bottom = _local2.bottom + _local1.hScroller.minHeight;
}
return(_local2);
}
function doLayout(Void) {
var _local1 = this;
var w = _local1.__get__width();
var h = _local1.__get__height();
delete _local1.invLayout;
var _local3 = (_local1.__viewMetrics = _local1.getViewMetrics());
var _local2 = _local3.left;
var ro = _local3.right;
var to = _local3.top;
var bo = _local3.bottom;
var hsb = _local1.hScroller;
var vsb = _local1.vScroller;
hsb.setSize((w - _local2) - ro, hsb.minHeight + 0);
hsb.move(_local2, h - bo);
vsb.setSize(vsb.minWidth + 0, (h - to) - bo);
vsb.move(w - ro, to);
var mask = _local1.mask_mc;
mask._width = (w - _local2) - ro;
mask._height = (h - to) - bo;
mask._x = _local2;
mask._y = to;
}
function createChild(id, name, props) {
var _local1 = super.createChild(id, name, props);
return(_local1);
}
function init(Void) {
super.init();
__viewMetrics = new Object();
if (_global.__SVMouseWheelManager == undefined) {
var _local1 = (_global.__SVMouseWheelManager = new Object());
_local1.onMouseWheel = __onMouseWheel;
Mouse.addListener(_local1);
}
}
function __onMouseWheel(delta, scrollTarget) {
var i = scrollTarget;
var _local1;
while (i != undefined) {
if (i instanceof mx.core.ScrollView) {
_local1 = i;
delete i;
}
i = i._parent;
}
if (_local1 != undefined) {
var i = ((delta <= 0) ? 1 : -1);
var _local2 = _local1.vScroller.lineScrollSize;
if (_local2 == undefined) {
_local2 = 0;
}
_local2 = Math.max(Math.abs(delta), _local2);
var _local3 = _local1.vPosition + (_local2 * i);
_local1.vPosition = Math.max(0, Math.min(_local3, _local1.maxVPosition));
_local1.dispatchEvent({type:"scroll", direction:"vertical", position:_local1.vPosition});
}
}
function createChildren(Void) {
var _local1 = this;
super.createChildren();
if (_local1.mask_mc == undefined) {
_local1.mask_mc = _local1.createObject("BoundingBox", "mask_mc", _local1.MASK_DEPTH);
}
_local1.mask_mc._visible = false;
}
function invalidate(Void) {
super.invalidate();
}
function draw(Void) {
size();
}
function size(Void) {
super.size();
}
function scrollProxy(docObj) {
_parent.onScroll(docObj);
}
function onScroll(docObj) {
var _local2 = docObj.target;
var _local1 = _local2.scrollPosition;
if (_local2 == vScroller) {
var _local3 = "vertical";
var prop = "__vPosition";
} else {
var _local3 = "horizontal";
var prop = "__hPosition";
}
dispatchEvent({type:"scroll", direction:_local3, position:_local1});
this[prop] = _local1;
}
function setEnabled(v) {
vScroller.enabled = (hScroller.enabled = v);
}
function childLoaded(obj) {
super.childLoaded(obj);
obj.setMask(mask_mc);
}
static var symbolName = "ScrollView";
static var symbolOwner = mx.core.ScrollView;
static var version = "2.0.1.78";
var className = "ScrollView";
var __vScrollPolicy = "auto";
var __hScrollPolicy = "off";
var __vPosition = 0;
var __hPosition = 0;
var numberOfCols = 0;
var rowC = 0;
var columnWidth = 1;
var rowH = 0;
var heightPadding = 0;
var widthPadding = 0;
var MASK_DEPTH = 10000;
}
Symbol 98 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar] Frame 0
class mx.controls.scrollClasses.ScrollBar extends mx.core.UIComponent
{
var __height, dispatchEvent, _parent;
function ScrollBar () {
super();
}
function get scrollPosition() {
return(_scrollPosition);
}
function set scrollPosition(pos) {
var _local1 = this;
var _local2 = pos;
_local1._scrollPosition = _local2;
if (_local1.isScrolling != true) {
_local2 = Math.min(_local2, _local1.maxPos);
_local2 = Math.max(_local2, _local1.minPos);
var _local3 = (((_local2 - _local1.minPos) * (_local1.scrollTrack_mc.height - _local1.scrollThumb_mc._height)) / (_local1.maxPos - _local1.minPos)) + _local1.scrollTrack_mc.top;
_local1.scrollThumb_mc.move(0, _local3);
}
//return(_local1.__get__scrollPosition());
}
function get pageScrollSize() {
return(largeScroll);
}
function set pageScrollSize(lScroll) {
largeScroll = lScroll;
//return(pageScrollSize);
}
function set lineScrollSize(sScroll) {
smallScroll = sScroll;
//return(lineScrollSize);
}
function get lineScrollSize() {
return(smallScroll);
}
function get virtualHeight() {
return(__height);
}
function init(Void) {
var _local1 = this;
super.init();
_local1._scrollPosition = 0;
_local1.tabEnabled = false;
_local1.focusEnabled = false;
_local1.boundingBox_mc._visible = false;
_local1.boundingBox_mc._width = (_local1.boundingBox_mc._height = 0);
}
function createChildren(Void) {
var _local1 = this;
if (_local1.scrollTrack_mc == undefined) {
_local1.setSkin(skinIDTrack, _local1.scrollTrackName);
}
_local1.scrollTrack_mc.visible = false;
var _local3 = new Object();
_local3.enabled = false;
_local3.preset = mx.controls.SimpleButton.falseDisabled;
_local3.initProperties = 0;
_local3.autoRepeat = true;
_local3.tabEnabled = false;
var _local2;
if (_local1.upArrow_mc == undefined) {
_local2 = _local1.createButton(_local1.upArrowName, "upArrow_mc", skinIDUpArrow, _local3);
}
_local2.buttonDownHandler = _local1.onUpArrow;
_local2.clickHandler = _local1.onScrollChanged;
_local1._minHeight = _local2.height;
_local1._minWidth = _local2.width;
if (_local1.downArrow_mc == undefined) {
_local2 = _local1.createButton(_local1.downArrowName, "downArrow_mc", skinIDDownArrow, _local3);
}
_local2.buttonDownHandler = _local1.onDownArrow;
_local2.clickHandler = _local1.onScrollChanged;
_local1._minHeight = _local1._minHeight + _local2.height;
}
function createButton(linkageName, id, skinID, o) {
var _local1 = this;
var _local2 = o;
if (skinID == skinIDUpArrow) {
_local2.falseUpSkin = _local1.upArrowUpName;
_local2.falseDownSkin = _local1.upArrowDownName;
_local2.falseOverSkin = _local1.upArrowOverName;
} else {
_local2.falseUpSkin = _local1.downArrowUpName;
_local2.falseDownSkin = _local1.downArrowDownName;
_local2.falseOverSkin = _local1.downArrowOverName;
}
var _local3 = _local1.createObject(linkageName, id, skinID, _local2);
_local1[id].visible = false;
_local1[id].useHandCursor = false;
return(_local3);
}
function createThumb(Void) {
var _local2 = this;
var _local1 = new Object();
_local1.validateNow = true;
_local1.tabEnabled = false;
_local1.leftSkin = _local2.thumbTopName;
_local1.middleSkin = _local2.thumbMiddleName;
_local1.rightSkin = _local2.thumbBottomName;
_local1.gripSkin = _local2.thumbGripName;
_local2.createClassObject(mx.controls.scrollClasses.ScrollThumb, "scrollThumb_mc", skinIDThumb, _local1);
}
function setScrollProperties(pSize, mnPos, mxPos, ls) {
var _local1 = this;
var thumbHeight;
var _local2 = _local1.scrollTrack_mc;
_local1.pageSize = pSize;
_local1.largeScroll = (((ls != undefined) && (ls > 0)) ? (ls) : (pSize));
_local1.minPos = Math.max(mnPos, 0);
_local1.maxPos = Math.max(mxPos, 0);
_local1._scrollPosition = Math.max(_local1.minPos, _local1._scrollPosition);
_local1._scrollPosition = Math.min(_local1.maxPos, _local1._scrollPosition);
if (((_local1.maxPos - _local1.minPos) > 0) && (_local1.enabled)) {
var tmp = _local1._scrollPosition;
if (!_local1.initializing) {
_local1.upArrow_mc.enabled = true;
_local1.downArrow_mc.enabled = true;
}
_local2.onPress = (_local2.onDragOver = _local1.startTrackScroller);
_local2.onRelease = _local1.releaseScrolling;
_local2.onDragOut = (_local2.stopScrolling = _local1.stopScrolling);
_local2.onReleaseOutside = _local1.releaseScrolling;
_local2.useHandCursor = false;
if (_local1.scrollThumb_mc == undefined) {
_local1.createThumb();
}
var _local3 = _local1.scrollThumb_mc;
if (_local1.scrollTrackOverName.length > 0) {
_local2.onRollOver = _local1.trackOver;
_local2.onRollOut = _local1.trackOut;
}
thumbHeight = (_local1.pageSize / ((_local1.maxPos - _local1.minPos) + _local1.pageSize)) * _local2.height;
if (thumbHeight < _local3.minHeight) {
if (_local2.height < _local3.minHeight) {
_local3.__set__visible(false);
} else {
thumbHeight = _local3.minHeight;
_local3.__set__visible(true);
_local3.setSize(_local1._minWidth, _local3.minHeight + 0);
}
} else {
_local3.__set__visible(true);
_local3.setSize(_local1._minWidth, thumbHeight);
}
_local3.setRange(_local1.upArrow_mc.__get__height() + 0, (_local1.__get__virtualHeight() - _local1.downArrow_mc.__get__height()) - _local3.__get__height(), _local1.minPos, _local1.maxPos);
tmp = Math.min(tmp, _local1.maxPos);
_local1.__set__scrollPosition(Math.max(tmp, _local1.minPos));
} else {
_local1.scrollThumb_mc.__set__visible(false);
if (!_local1.initializing) {
_local1.upArrow_mc.enabled = false;
_local1.downArrow_mc.enabled = false;
}
delete _local2.onPress;
delete _local2.onDragOver;
delete _local2.onRelease;
delete _local2.onDragOut;
delete _local2.onRollOver;
delete _local2.onRollOut;
delete _local2.onReleaseOutside;
}
if (_local1.initializing) {
_local1.scrollThumb_mc.__set__visible(false);
}
}
function setEnabled(enabledFlag) {
var _local1 = this;
super.setEnabled(enabledFlag);
_local1.setScrollProperties(_local1.pageSize, _local1.minPos, _local1.maxPos, _local1.largeScroll);
}
function draw(Void) {
var _local1 = this;
if (_local1.initializing) {
_local1.initializing = false;
_local1.scrollTrack_mc.visible = true;
_local1.upArrow_mc.__set__visible(true);
_local1.downArrow_mc.__set__visible(true);
}
_local1.size();
}
function size(Void) {
var _local1 = this;
if (_local1._height == 1) {
} else if (_local1.upArrow_mc == undefined) {
} else {
var _local3 = _local1.upArrow_mc.__get__height();
var _local2 = _local1.downArrow_mc.__get__height();
_local1.upArrow_mc.move(0, 0);
var st = _local1.scrollTrack_mc;
st._y = _local3;
st._height = (_local1.__get__virtualHeight() - _local3) - _local2;
_local1.downArrow_mc.move(0, _local1.__get__virtualHeight() - _local2);
_local1.setScrollProperties(_local1.pageSize, _local1.minPos, _local1.maxPos, _local1.largeScroll);
}
}
function dispatchScrollEvent(detail) {
dispatchEvent({type:"scroll", detail:detail});
}
function isScrollBarKey(k) {
var _local1 = this;
if (k == 36) {
if (_local1.__get__scrollPosition() != 0) {
_local1.__set__scrollPosition(0);
_local1.dispatchScrollEvent(_local1.minMode);
}
return(true);
}
if (k == 35) {
if (_local1.__get__scrollPosition() < _local1.maxPos) {
_local1.__set__scrollPosition(_local1.maxPos);
_local1.dispatchScrollEvent(_local1.maxMode);
}
return(true);
}
return(false);
}
function scrollIt(inc, mode) {
var _local1 = this;
var _local3 = _local1.smallScroll;
if (inc != "Line") {
_local3 = ((_local1.largeScroll == 0) ? (_local1.pageSize) : (_local1.largeScroll));
}
var _local2 = _local1._scrollPosition + (mode * _local3);
if (_local2 > _local1.maxPos) {
_local2 = _local1.maxPos;
} else if (_local2 < _local1.minPos) {
_local2 = _local1.minPos;
}
if (_local1.__get__scrollPosition() != _local2) {
_local1.__set__scrollPosition(_local2);
var move = ((mode < 0) ? (_local1.minusMode) : (_local1.plusMode));
_local1.dispatchScrollEvent(inc + move);
}
}
function startTrackScroller(Void) {
var _local1 = this;
_local1._parent.pressFocus();
if (_local1._parent.scrollTrackDownName.length > 0) {
if (_local1._parent.scrollTrackDown_mc == undefined) {
_local1._parent.setSkin(skinIDTrackDown, _local1.scrollTrackDownName);
} else {
_local1._parent.scrollTrackDown_mc.visible = true;
}
}
_local1._parent.trackScroller();
_local1._parent.scrolling = setInterval(_local1._parent, "scrollInterval", _local1.getStyle("repeatDelay"), "Page", -1);
}
function scrollInterval(inc, mode) {
var _local1 = this;
var _local2 = inc;
clearInterval(_local1.scrolling);
if (_local2 == "Page") {
_local1.trackScroller();
} else {
_local1.scrollIt(_local2, mode);
}
_local1.scrolling = setInterval(_local1, "scrollInterval", _local1.getStyle("repeatInterval"), _local2, mode);
}
function trackScroller(Void) {
var _local1 = this;
if ((_local1.scrollThumb_mc._y + _local1.scrollThumb_mc.__get__height()) < _local1._ymouse) {
_local1.scrollIt("Page", 1);
} else if (_local1.scrollThumb_mc._y > _local1._ymouse) {
_local1.scrollIt("Page", -1);
}
}
function dispatchScrollChangedEvent(Void) {
dispatchEvent({type:"scrollChanged"});
}
function stopScrolling(Void) {
clearInterval(_parent.scrolling);
_parent.scrollTrackDown_mc.visible = false;
}
function releaseScrolling(Void) {
var _local1 = this;
_local1._parent.releaseFocus();
_local1.stopScrolling();
_local1._parent.dispatchScrollChangedEvent();
}
function trackOver(Void) {
var _local1 = this;
if (_local1._parent.scrollTrackOverName.length > 0) {
if (_local1._parent.scrollTrackOver_mc == undefined) {
_local1._parent.setSkin(skinIDTrackOver, _local1.scrollTrackOverName);
} else {
_local1._parent.scrollTrackOver_mc.visible = true;
}
}
}
function trackOut(Void) {
_parent.scrollTrackOver_mc.visible = false;
}
function onUpArrow(Void) {
_parent.scrollIt("Line", -1);
}
function onDownArrow(Void) {
_parent.scrollIt("Line", 1);
}
function onScrollChanged(Void) {
_parent.dispatchScrollChangedEvent();
}
static var symbolOwner = mx.core.UIComponent;
var className = "ScrollBar";
var minPos = 0;
var maxPos = 0;
var pageSize = 0;
var largeScroll = 0;
var smallScroll = 1;
var _scrollPosition = 0;
var scrollTrackName = "ScrollTrack";
var scrollTrackOverName = "";
var scrollTrackDownName = "";
var upArrowName = "BtnUpArrow";
var upArrowUpName = "ScrollUpArrowUp";
var upArrowOverName = "ScrollUpArrowOver";
var upArrowDownName = "ScrollUpArrowDown";
var downArrowName = "BtnDownArrow";
var downArrowUpName = "ScrollDownArrowUp";
var downArrowOverName = "ScrollDownArrowOver";
var downArrowDownName = "ScrollDownArrowDown";
var thumbTopName = "ScrollThumbTopUp";
var thumbMiddleName = "ScrollThumbMiddleUp";
var thumbBottomName = "ScrollThumbBottomUp";
var thumbGripName = "ScrollThumbGripUp";
static var skinIDTrack = 0;
static var skinIDTrackOver = 1;
static var skinIDTrackDown = 2;
static var skinIDUpArrow = 3;
static var skinIDDownArrow = 4;
static var skinIDThumb = 5;
var idNames = new Array("scrollTrack_mc", "scrollTrackOver_mc", "scrollTrackDown_mc", "upArrow_mc", "downArrow_mc");
var clipParameters = {minPos:1, maxPos:1, pageSize:1, scrollPosition:1, lineScrollSize:1, pageScrollSize:1, visible:1, enabled:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
var initializing = true;
}
Symbol 99 MovieClip [__Packages.mx.skins.CustomBorder] Frame 0
class mx.skins.CustomBorder extends mx.skins.Border
{
var __width, __height;
function CustomBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function createChildren(Void) {
}
function draw(Void) {
var _local1 = this;
if (_local1.l_mc == undefined) {
var z = _local1.setSkin(tagL, _local1.leftSkin);
if (_local1.horizontal) {
_local1.minHeight = _local1.l_mc._height;
_local1.minWidth = _local1.l_mc._width;
} else {
_local1.minHeight = _local1.l_mc._height;
_local1.minWidth = _local1.l_mc._width;
}
}
if (_local1.m_mc == undefined) {
_local1.setSkin(tagM, _local1.middleSkin);
if (_local1.horizontal) {
_local1.minHeight = _local1.m_mc._height;
_local1.minWidth = _local1.minWidth + _local1.m_mc._width;
} else {
_local1.minHeight = _local1.minHeight + _local1.m_mc._height;
_local1.minWidth = _local1.m_mc._width;
}
}
if (_local1.r_mc == undefined) {
_local1.setSkin(tagR, _local1.rightSkin);
if (_local1.horizontal) {
_local1.minHeight = _local1.r_mc._height;
_local1.minWidth = _local1.minWidth + _local1.r_mc._width;
} else {
_local1.minHeight = _local1.minHeight + _local1.r_mc._height;
_local1.minWidth = _local1.r_mc._width;
}
}
_local1.size();
}
function size(Void) {
var _local1 = this;
_local1.l_mc.move(0, 0);
if (_local1.horizontal) {
_local1.r_mc.move(_local1.__get__width() - _local1.r_mc.width, 0);
_local1.m_mc.move(_local1.l_mc.width, 0);
_local1.m_mc.setSize(_local1.r_mc.x - _local1.m_mc.x, _local1.m_mc.height);
} else {
_local1.r_mc.move(0, _local1.__get__height() - _local1.r_mc.height, 0);
_local1.m_mc.move(0, _local1.l_mc.height);
_local1.m_mc.setSize(_local1.m_mc.width, _local1.r_mc.y - _local1.m_mc.y);
}
}
static var symbolName = "CustomBorder";
static var symbolOwner = mx.skins.CustomBorder;
static var version = "2.0.1.78";
var className = "CustomBorder";
static var tagL = 0;
static var tagM = 1;
static var tagR = 2;
var idNames = new Array("l_mc", "m_mc", "r_mc");
var leftSkin = "F3PieceLeft";
var middleSkin = "F3PieceMiddle";
var rightSkin = "F3PieceRight";
var horizontal = true;
}
Symbol 100 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb] Frame 0
class mx.controls.scrollClasses.ScrollThumb extends mx.skins.CustomBorder
{
var useHandCursor, _parent;
function ScrollThumb () {
super();
}
function createChildren(Void) {
super.createChildren();
useHandCursor = false;
}
function setRange(_ymin, _ymax, _datamin, _datamax) {
var _local1 = this;
_local1.ymin = _ymin;
_local1.ymax = _ymax;
_local1.datamin = _datamin;
_local1.datamax = _datamax;
}
function dragThumb(Void) {
var _local1 = this;
_local1.scrollMove = _local1._ymouse - _local1.lastY;
_local1.scrollMove = _local1.scrollMove + _local1._y;
if (_local1.scrollMove < _local1.ymin) {
_local1.scrollMove = _local1.ymin;
} else if (_local1.scrollMove > _local1.ymax) {
_local1.scrollMove = _local1.ymax;
}
_local1._parent.isScrolling = true;
_local1._y = _local1.scrollMove;
var _local2 = Math.round(((_local1.datamax - _local1.datamin) * (_local1._y - _local1.ymin)) / (_local1.ymax - _local1.ymin)) + _local1.datamin;
_local1._parent.scrollPosition = _local2;
_local1._parent.dispatchScrollEvent("ThumbTrack");
updateAfterEvent();
}
function stopDragThumb(Void) {
var _local1 = this;
_local1._parent.isScrolling = false;
_local1._parent.dispatchScrollEvent("ThumbPosition");
_local1._parent.dispatchScrollChangedEvent();
delete _local1.onMouseMove;
}
function onPress(Void) {
var _local1 = this;
_local1._parent.pressFocus();
_local1.lastY = _local1._ymouse;
_local1.onMouseMove = _local1.dragThumb;
super.onPress();
}
function onRelease(Void) {
_parent.releaseFocus();
stopDragThumb();
super.onRelease();
}
function onReleaseOutside(Void) {
_parent.releaseFocus();
stopDragThumb();
super.onReleaseOutside();
}
function draw() {
var _local1 = this;
super.draw();
if (_local1.grip_mc == undefined) {
_local1.setSkin(3, _local1.gripSkin);
}
}
function size() {
var _local1 = this;
super.size();
_local1.grip_mc.move((_local1.__get__width() - _local1.grip_mc.width) / 2, (_local1.__get__height() - _local1.grip_mc.height) / 2);
}
static var symbolOwner = mx.skins.CustomBorder.symbolOwner;
var className = "ScrollThumb";
var btnOffset = 0;
var horizontal = false;
var idNames = new Array("l_mc", "m_mc", "r_mc", "grip_mc");
}
Symbol 101 MovieClip [__Packages.mx.controls.listclasses.DataProvider] Frame 0
class mx.controls.listclasses.DataProvider extends Object
{
var length, splice, dispatchEvent, sort;
function DataProvider (obj) {
super();
}
static function Initialize(obj) {
var _local3 = obj;
var _local2 = mixinProps;
var l = _local2.length;
_local3 = _local3.prototype;
var _local1 = 0;
while (_local1 < l) {
_local3[_local2[_local1]] = mixins[_local2[_local1]];
_global.ASSetPropFlags(_local3, _local2[_local1], 1);
_local1++;
}
mx.events.EventDispatcher.initialize(_local3);
_global.ASSetPropFlags(_local3, "addEventListener", 1);
_global.ASSetPropFlags(_local3, "removeEventListener", 1);
_global.ASSetPropFlags(_local3, "dispatchEvent", 1);
_global.ASSetPropFlags(_local3, "dispatchQueue", 1);
Object.prototype.LargestID = 0;
Object.prototype.getID = function () {
var _local1 = this;
if (_local1.__ID__ == undefined) {
_local1.__ID__ = Object.prototype.LargestID++;
_global.ASSetPropFlags(_local1, "__ID__", 1);
}
return(_local1.__ID__);
};
_global.ASSetPropFlags(Object.prototype, "LargestID", 1);
_global.ASSetPropFlags(Object.prototype, "getID", 1);
return(true);
}
function addItemAt(index, value) {
var _local1 = index;
var _local2 = this;
if (_local1 < _local2.length) {
_local2.splice(_local1, 0, value);
} else if (_local1 > _local2.length) {
trace("Cannot add an item past the end of the DataProvider");
return;
}
_local2[_local1] = value;
_local2.updateViews("addItems", _local1, _local1);
}
function addItem(value) {
addItemAt(length, value);
}
function addItemsAt(index, newItems) {
var _local1 = index;
var _local2 = this;
var _local3 = newItems;
_local1 = Math.min(_local2.length, _local1);
_local3.unshift(_local1, 0);
_local2.splice.apply(_local2, _local3);
_local3.splice(0, 2);
_local2.updateViews("addItems", _local1, (_local1 + _local3.length) - 1);
}
function removeItemsAt(index, len) {
var _local3 = index;
var _local2 = new Array();
var _local1 = 0;
while (_local1 < len) {
_local2.push(getItemID(_local3 + _local1));
_local1++;
}
var oldItems = splice(_local3, len);
dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:_local3, lastItem:(_local3 + len) - 1, removedItems:oldItems, removedIDs:_local2});
}
function removeItemAt(index) {
var _local1 = this[index];
removeItemsAt(index, 1);
return(_local1);
}
function removeAll(Void) {
var _local1 = this;
_local1.splice(0);
_local1.updateViews("removeItems", 0, _local1.length - 1);
}
function replaceItemAt(index, itemObj) {
var _local1 = index;
var _local2 = this;
if ((_local1 < 0) || (_local1 >= _local2.length)) {
} else {
var _local3 = _local2.getItemID(_local1);
_local2[_local1] = itemObj;
_local2[_local1].__ID__ = _local3;
_local2.updateViews("updateItems", _local1, _local1);
}
}
function getItemAt(index) {
return(this[index]);
}
function getItemID(index) {
var _local1 = this[index];
if ((typeof(_local1) != "object") && (_local1 != undefined)) {
return(index);
}
return(_local1.getID());
}
function sortItemsBy(fieldName, order) {
var _local1 = this;
var _local2 = order;
if (typeof(_local2) == "string") {
_local1.sortOn(fieldName);
if (_local2.toUpperCase() == "DESC") {
_local1.reverse();
}
} else {
_local1.sortOn(fieldName, _local2);
}
_local1.updateViews("sort");
}
function sortItems(compareFunc, optionFlags) {
sort(compareFunc, optionFlags);
updateViews("sort");
}
function editField(index, fieldName, newData) {
var _local1 = index;
this[_local1][fieldName] = newData;
dispatchEvent({type:"modelChanged", eventName:"updateField", firstItem:_local1, lastItem:_local1, fieldName:fieldName});
}
function getEditingData(index, fieldName) {
return(this[index][fieldName]);
}
function updateViews(event, first, last) {
dispatchEvent({type:"modelChanged", eventName:event, firstItem:first, lastItem:last});
}
static var mixinProps = ["addView", "addItem", "addItemAt", "removeAll", "removeItemAt", "replaceItemAt", "getItemAt", "getItemID", "sortItemsBy", "sortItems", "updateViews", "addItemsAt", "removeItemsAt", "getEditingData", "editField"];
static var evtDipatcher = mx.events.EventDispatcher;
static var mixins = new mx.controls.listclasses.DataProvider();
}
Symbol 102 MovieClip [__Packages.mx.controls.listclasses.ScrollSelectList] Frame 0
class mx.controls.listclasses.ScrollSelectList extends mx.core.ScrollView
{
var invUpdateControl, invalidate, __cellRenderer, __labelFunction, __iconField, __iconFunction, __dataProvider, propertyTable, isSelected;
function ScrollSelectList () {
super();
}
function layoutContent(x, y, w, h) {
var _local1 = this;
delete _local1.invLayoutContent;
var newCount = Math.ceil(h / _local1.__rowHeight);
_local1.roundUp = (h % _local1.__rowHeight) != 0;
var deltaRows = (newCount - _local1.__rowCount);
if (deltaRows < 0) {
var _local3 = newCount;
while (_local3 < _local1.__rowCount) {
_local1.rows[_local3].removeMovieClip();
delete _local1.rows[_local3];
_local3++;
}
_local1.topRowZ = _local1.topRowZ + deltaRows;
} else if (deltaRows > 0) {
if (_local1.rows == undefined) {
_local1.rows = new Array();
}
var _local3 = _local1.__rowCount;
while (_local3 < newCount) {
var _local2 = (_local1.rows[_local3] = _local1.listContent.createObject(_local1.__rowRenderer, "listRow" + (_local1.topRowZ++), _local1.topRowZ, {owner:_local1, styleName:_local1, rowIndex:_local3}));
_local2._x = x;
_local2._y = Math.round((_local3 * _local1.__rowHeight) + y);
_local2.setSize(w, _local1.__rowHeight);
_local2.drawRow(_local1.__dataProvider.getItemAt(_local1.__vPosition + _local3), _local1.getStateAt(_local1.__vPosition + _local3));
_local2.lastY = _local2._y;
_local3++;
}
}
if (w != _local1.tW) {
var c = ((deltaRows > 0) ? (_local1.__rowCount) : (newCount));
var _local3 = 0;
while (_local3 < c) {
_local1.rows[_local3].setSize(w, _local1.__rowHeight);
_local3++;
}
}
if ((_local1.layoutX != x) || (_local1.layoutY != y)) {
var _local3 = 0;
while (_local3 < newCount) {
_local1.rows[_local3]._x = x;
_local1.rows[_local3]._y = Math.round((_local3 * _local1.__rowHeight) + y);
_local3++;
}
}
_local1.__rowCount = newCount;
_local1.layoutX = x;
_local1.layoutY = y;
_local1.tW = w;
_local1.tH = h;
}
function getRowHeight(Void) {
return(__rowHeight);
}
function setRowHeight(v) {
var _local1 = this;
_local1.__rowHeight = v;
_local1.invRowHeight = true;
_local1.invalidate();
}
function get rowHeight() {
return(getRowHeight());
}
function set rowHeight(w) {
setRowHeight(w);
//return(rowHeight);
}
function setRowCount(v) {
__rowCount = v;
}
function getRowCount(Void) {
var _local1 = this;
var _local2 = ((_local1.__rowCount == 0) ? (Math.ceil(_local1.__height / _local1.__rowHeight)) : (_local1.__rowCount));
return(_local2);
}
function get rowCount() {
return(getRowCount());
}
function set rowCount(w) {
setRowCount(w);
//return(rowCount);
}
function setEnabled(v) {
super.setEnabled(v);
invUpdateControl = true;
invalidate();
}
function setCellRenderer(cR) {
var _local2 = this;
_local2.__cellRenderer = cR;
var _local1 = 0;
while (_local1 < _local2.rows.length) {
_local2.rows[_local1].setCellRenderer(true);
_local1++;
}
_local2.invUpdateControl = true;
_local2.invalidate();
}
function set cellRenderer(cR) {
setCellRenderer(cR);
//return(cellRenderer);
}
function get cellRenderer() {
return(__cellRenderer);
}
function set labelField(field) {
setLabelField(field);
//return(labelField);
}
function setLabelField(field) {
var _local1 = this;
_local1.__labelField = field;
_local1.invUpdateControl = true;
_local1.invalidate();
}
function get labelField() {
return(__labelField);
}
function set labelFunction(func) {
setLabelFunction(func);
//return(labelFunction);
}
function setLabelFunction(func) {
var _local1 = this;
_local1.__labelFunction = func;
_local1.invUpdateControl = true;
_local1.invalidate();
}
function get labelFunction() {
return(__labelFunction);
}
function set iconField(field) {
setIconField(field);
//return(iconField);
}
function setIconField(field) {
var _local1 = this;
_local1.__iconField = field;
_local1.invUpdateControl = true;
_local1.invalidate();
}
function get iconField() {
return(__iconField);
}
function set iconFunction(func) {
setIconFunction(func);
//return(iconFunction);
}
function setIconFunction(func) {
var _local1 = this;
_local1.__iconFunction = func;
_local1.invUpdateControl = true;
_local1.invalidate();
}
function get iconFunction() {
return(__iconFunction);
}
function setVPosition(pos) {
var _local2 = this;
if (pos < 0) {
} else if ((pos > 0) && (pos > ((_local2.getLength() - _local2.__rowCount) + _local2.roundUp))) {
} else {
var deltaPos = (pos - _local2.__vPosition);
if (deltaPos == 0) {
} else {
_local2.__vPosition = pos;
var scrollUp = (deltaPos > 0);
deltaPos = Math.abs(deltaPos);
if (deltaPos >= _local2.__rowCount) {
_local2.updateControl();
} else {
var _local3 = new Array();
var moveBlockLength = (_local2.__rowCount - deltaPos);
var moveBlockDistance = (deltaPos * _local2.__rowHeight);
var shuffleBlockDistance = (moveBlockLength * _local2.__rowHeight);
var inc = (scrollUp ? 1 : -1);
var _local1 = 0;
while (_local1 < _local2.__rowCount) {
if (((_local1 < deltaPos) && (scrollUp)) || ((_local1 >= moveBlockLength) && (!scrollUp))) {
_local2.rows[_local1]._y = _local2.rows[_local1]._y + Math.round(inc * shuffleBlockDistance);
var newRow = (_local1 + (inc * moveBlockLength));
var newItem = (_local2.__vPosition + newRow);
_local3[newRow] = _local2.rows[_local1];
_local3[newRow].rowIndex = newRow;
_local3[newRow].drawRow(_local2.__dataProvider.getItemAt(newItem), _local2.getStateAt(newItem), false);
} else {
_local2.rows[_local1]._y = _local2.rows[_local1]._y - Math.round(inc * moveBlockDistance);
var newRow = (_local1 - (inc * deltaPos));
_local3[newRow] = _local2.rows[_local1];
_local3[newRow].rowIndex = newRow;
}
_local1++;
}
_local2.rows = _local3;
_local1 = 0;
while (_local1 < _local2.__rowCount) {
_local2.rows[_local1].swapDepths(_local2.baseRowZ + _local1);
_local1++;
}
}
_local2.lastPosition = pos;
super.setVPosition(pos);
}
}
}
function setPropertiesAt(index, obj) {
var _local1 = this;
var _local3 = index;
var _local2 = _local1.__dataProvider.getItemID(_local3);
if (_local2 == undefined) {
} else {
if (_local1.propertyTable == undefined) {
_local1.propertyTable = new Object();
}
_local1.propertyTable[_local2] = obj;
_local1.rows[_local3 - _local1.__vPosition].drawRow(_local1.__dataProvider.getItemAt(_local3), _local1.getStateAt(_local3));
}
}
function getPropertiesAt(index) {
var _local1 = __dataProvider.getItemID(index);
if (_local1 == undefined) {
return(undefined);
}
return(propertyTable[_local1]);
}
function getPropertiesOf(obj) {
var _local1 = obj.getID();
if (_local1 == undefined) {
return(undefined);
}
return(propertyTable[_local1]);
}
function getStyle(styleProp) {
var _local1 = super.getStyle(styleProp);
var _local2 = mx.styles.StyleManager.colorNames[_local1];
if (_local2 != undefined) {
_local1 = _local2;
}
return(_local1);
}
function updateControl(Void) {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.__rowCount) {
_local2.rows[_local1].drawRow(_local2.__dataProvider.getItemAt(_local1 + _local2.__vPosition), _local2.getStateAt(_local1 + _local2.__vPosition));
_local1++;
}
delete _local2.invUpdateControl;
}
function getStateAt(index) {
return((isSelected(index) ? "selected" : "normal"));
}
function selectRow(rowIndex, transition, allowChangeEvent) {
var _local1 = this;
if (!_local1.selectable) {
} else {
var _local3 = _local1.__vPosition + rowIndex;
var item = _local1.__dataProvider.getItemAt(_local3);
var row = _local1.rows[rowIndex];
if (item == undefined) {
} else {
if (transition == undefined) {
transition = true;
}
if (allowChangeEvent == undefined) {
allowChangeEvent = _local1.wasKeySelected;
}
_local1.changeFlag = true;
if (((!_local1.multipleSelection) && (!Key.isDown(17))) || ((!Key.isDown(16)) && (!Key.isDown(17)))) {
_local1.clearSelected(transition);
_local1.selectItem(_local3, true);
_local1.lastSelected = _local3;
row.drawRow(row.item, _local1.getStateAt(_local3), transition);
} else if (Key.isDown(16) && (_local1.multipleSelection)) {
if (_local1.lastSelected == undefined) {
_local1.lastSelected = _local3;
}
var incr = ((_local1.lastSelected < _local3) ? 1 : -1);
_local1.clearSelected(false);
var _local2 = _local1.lastSelected;
while (_local2 != _local3) {
_local1.selectItem(_local2, true);
if ((_local2 >= _local1.__vPosition) && (_local2 < (_local1.__vPosition + _local1.__rowCount))) {
_local1.rows[_local2 - _local1.__vPosition].drawRow(_local1.rows[_local2 - _local1.__vPosition].item, "selected", false);
}
_local2 = _local2 + incr;
}
_local1.selectItem(_local3, true);
row.drawRow(row.item, "selected", transition);
} else if (Key.isDown(17)) {
var selectedFlag = _local1.isSelected(_local3);
if ((!_local1.multipleSelection) || (_local1.wasKeySelected)) {
_local1.clearSelected(transition);
}
if (!((!_local1.multipleSelection) && (selectedFlag))) {
_local1.selectItem(_local3, !selectedFlag);
var state = ((!selectedFlag) ? "selected" : "normal");
row.drawRow(row.item, state, transition);
}
_local1.lastSelected = _local3;
}
if (allowChangeEvent) {
_local1.dispatchEvent({type:"change"});
}
delete _local1.wasKeySelected;
}
}
}
function dragScroll(Void) {
var _local1 = this;
clearInterval(_local1.dragScrolling);
if (_local1._ymouse < 0) {
_local1.setVPosition(_local1.__vPosition - 1);
_local1.selectRow(0, false);
var _local2 = Math.min((-_local1._ymouse) - 30, 0);
_local1.scrollInterval = (((0.593 * _local2) * _local2) + 1) + _local1.minScrollInterval;
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
_local1.dispatchEvent({type:"scroll", direction:"vertical", position:_local1.__vPosition});
} else if (_local1._ymouse > _local1.__height) {
var _local3 = _local1.__vPosition;
_local1.setVPosition(_local1.__vPosition + 1);
if (_local3 != _local1.__vPosition) {
_local1.selectRow((_local1.__rowCount - 1) - _local1.roundUp, false);
}
var _local2 = Math.min((_local1._ymouse - _local1.__height) - 30, 0);
_local1.scrollInterval = (((0.593 * _local2) * _local2) + 1) + _local1.minScrollInterval;
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
_local1.dispatchEvent({type:"scroll", direction:"vertical", position:_local1.__vPosition});
} else {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
updateAfterEvent();
}
function __onMouseUp(Void) {
var _local1 = this;
clearInterval(_local1.dragScrolling);
delete _local1.dragScrolling;
delete _local1.dragScrolling;
delete _local1.isPressed;
delete _local1.onMouseUp;
if (!_local1.selectable) {
} else {
if (_local1.changeFlag) {
_local1.dispatchEvent({type:"change"});
}
delete _local1.changeFlag;
}
}
function moveSelBy(incr) {
var _local1 = this;
if (!_local1.selectable) {
_local1.setVPosition(_local1.__vPosition + incr);
} else {
var _local3 = _local1.getSelectedIndex();
if (_local3 == undefined) {
_local3 = -1;
}
var _local2 = _local3 + incr;
_local2 = Math.max(0, _local2);
_local2 = Math.min(_local1.getLength() - 1, _local2);
if (_local2 == _local3) {
} else {
if ((_local3 < _local1.__vPosition) || (_local3 >= (_local1.__vPosition + _local1.__rowCount))) {
_local1.setVPosition(_local3);
}
if ((_local2 >= ((_local1.__vPosition + _local1.__rowCount) - _local1.roundUp)) || (_local2 < _local1.__vPosition)) {
_local1.setVPosition(_local1.__vPosition + incr);
}
_local1.wasKeySelected = true;
_local1.selectRow(_local2 - _local1.__vPosition, false);
}
}
}
function keyDown(e) {
var _local1 = this;
var _local2 = e;
if (_local1.selectable) {
if (_local1.findInputText()) {
return;
}
} else if (_local2.code == 40) {
_local1.moveSelBy(1);
} else if (_local2.code == 38) {
_local1.moveSelBy(-1);
} else if (_local2.code == 34) {
if (_local1.selectable) {
var _local3 = _local1.getSelectedIndex();
if (_local3 == undefined) {
_local3 = 0;
}
_local1.setVPosition(_local3);
}
_local1.moveSelBy((_local1.__rowCount - 1) - _local1.roundUp);
} else if (_local2.code == 33) {
if (_local1.selectable) {
var _local3 = _local1.getSelectedIndex();
if (_local3 == undefined) {
_local3 = 0;
}
_local1.setVPosition(_local3);
}
_local1.moveSelBy((1 - _local1.__rowCount) + _local1.roundUp);
} else if (_local2.code == 36) {
_local1.moveSelBy(-_local1.__dataProvider.length);
} else if (_local2.code == 35) {
_local1.moveSelBy(_local1.__dataProvider.length);
}
}
function findInputText(Void) {
var _local1 = Key.getAscii();
if ((_local1 >= 33) && (_local1 <= 126)) {
findString(String.fromCharCode(_local1));
return(true);
}
return(undefined);
}
function findString(str) {
var _local3 = this;
if (_local3.__dataProvider.length == 0) {
} else {
var curIndex = _local3.getSelectedIndex();
if (curIndex == undefined) {
curIndex = 0;
}
var jump = 0;
var _local2 = curIndex + 1;
while (_local2 != curIndex) {
var _local1 = _local3.__dataProvider.getItemAt(_local2);
if (_local1 instanceof XMLNode) {
_local1 = _local1.attributes[_local3.__labelField];
} else if (typeof(_local1) != "string") {
_local1 = String(_local1[_local3.__labelField]);
}
_local1 = _local1.substring(0, str.length);
if ((str == _local1) || (str.toUpperCase() == _local1.toUpperCase())) {
var jump = (_local2 - curIndex);
break;
}
if (_local2 >= (_local3.getLength() - 1)) {
_local2 = -1;
}
_local2++;
}
if (jump != 0) {
_local3.moveSelBy(jump);
}
}
}
function onRowPress(rowIndex) {
var _local1 = this;
if (!_local1.enabled) {
} else {
_local1.isPressed = true;
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
_local1.onMouseUp = _local1.__onMouseUp;
if (!_local1.selectable) {
} else {
_local1.selectRow(rowIndex);
}
}
}
function onRowRelease(rowIndex) {
}
function onRowRollOver(rowIndex) {
var _local1 = this;
var _local3 = rowIndex;
if (!_local1.enabled) {
} else {
var _local2 = _local1.rows[_local3].item;
if (_local1.getStyle("useRollOver") && (_local2 != undefined)) {
_local1.rows[_local3].drawRow(_local2, "highlighted", false);
}
_local1.dispatchEvent({type:"itemRollOver", index:_local3 + _local1.__vPosition});
}
}
function onRowRollOut(rowIndex) {
var _local1 = this;
var _local2 = rowIndex;
if (!_local1.enabled) {
} else {
if (_local1.getStyle("useRollOver")) {
_local1.rows[_local2].drawRow(_local1.rows[_local2].item, _local1.getStateAt(_local2 + _local1.__vPosition), false);
}
_local1.dispatchEvent({type:"itemRollOut", index:_local2 + _local1.__vPosition});
}
}
function onRowDragOver(rowIndex) {
var _local1 = this;
if (((!_local1.enabled) || (_local1.isPressed != true)) || (!_local1.selectable)) {
} else if (_local1.dropEnabled) {
} else if (_local1.dragScrolling) {
_local1.selectRow(rowIndex, false);
} else {
_local1.onMouseUp = _local1.__onMouseUp;
_local1.onRowPress(rowIndex);
}
}
function onRowDragOut(rowIndex) {
var _local1 = this;
if (!_local1.enabled) {
} else if (_local1.dragEnabled) {
} else {
_local1.onRowRollOut(rowIndex);
}
}
function init(Void) {
var _local1 = this;
super.init();
_local1.tabEnabled = true;
_local1.tabChildren = false;
if (_local1.__dataProvider == undefined) {
_local1.__dataProvider = new Array();
_local1.__dataProvider.addEventListener("modelChanged", _local1);
}
_local1.baseRowZ = (_local1.topRowZ = 10);
}
function createChildren(Void) {
var _local1 = this;
super.createChildren();
_local1.listContent = _local1.createEmptyMovieClip("content_mc", _local1.CONTENTDEPTH);
_local1.invLayoutContent = true;
_local1.invalidate();
}
function draw(Void) {
var _local1 = this;
if (_local1.invRowHeight) {
delete _local1.invRowHeight;
_local1.__rowCount = 0;
_local1.listContent.removeMovieClip();
_local1.listContent = _local1.createEmptyMovieClip("content_mc", _local1.CONTENTDEPTH);
}
if (_local1.invUpdateControl) {
_local1.updateControl();
}
_local1.border_mc.draw();
}
function invalidateStyle(propName) {
var _local2 = this;
var _local3 = propName;
if (_local2.isRowStyle[_local3]) {
_local2.invUpdateControl = true;
_local2.invalidate();
} else {
var _local1 = 0;
while (_local1 < _local2.__rowCount) {
_local2.rows[_local1].invalidateStyle(_local3);
_local1++;
}
}
super.invalidateStyle(_local3);
}
static var mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.listclasses.ScrollSelectList);
static var mixIt2 = mx.controls.listclasses.DataProvider.Initialize(Array);
var CONTENTDEPTH = 100;
var __hPosition = 0;
var __rowRenderer = "SelectableRow";
var __rowHeight = 22;
var __rowCount = 0;
var __labelField = "label";
var minScrollInterval = 30;
var dropEnabled = false;
var dragEnabled = false;
var className = "ScrollSelectList";
var isRowStyle = {styleName:true, backgroundColor:true, selectionColor:true, rollOverColor:true, selectionDisabledColor:true, backgroundDisabledColor:true, textColor:true, textSelectedColor:true, textRollOverColor:true, textDisabledColor:true, alternatingRowColors:true, defaultIcon:true};
var roundUp = 0;
var selectable = true;
var multipleSelection = false;
}
Symbol 103 MovieClip [__Packages.mx.controls.List] Frame 0
class mx.controls.List extends mx.controls.listclasses.ScrollSelectList
{
var border_mc, __labels, __maxHPosition, invScrollProps, invalidate, __hPosition, listContent;
function List () {
super();
}
function setEnabled(v) {
super.setEnabled(v);
border_mc.backgroundColorName = (v ? "backgroundColor" : "backgroundDisabledColor");
border_mc.invalidate();
}
function get labels() {
return(__labels);
}
function set labels(lbls) {
var _local1 = this;
_local1.__labels = lbls;
_local1.setDataProvider(lbls);
//return(_local1.__get__labels());
}
function setVPosition(pos) {
var _local1 = pos;
var _local2 = this;
_local1 = Math.min((_local2.__dataProvider.length - _local2.__get__rowCount()) + _local2.roundUp, _local1);
_local1 = Math.max(0, _local1);
super.setVPosition(_local1);
}
function setHPosition(pos) {
var _local1 = pos;
_local1 = Math.max(Math.min(__maxHPosition, _local1), 0);
super.setHPosition(_local1);
hScroll(_local1);
}
function setMaxHPosition(pos) {
var _local1 = this;
_local1.__maxHPosition = pos;
_local1.invScrollProps = true;
_local1.invalidate();
}
function setHScrollPolicy(policy) {
var _local1 = this;
var _local2 = policy;
if ((_local2.toLowerCase() == "auto") && (!_local1.autoHScrollAble)) {
} else {
super.setHScrollPolicy(_local2);
if (_local2 == "off") {
_local1.setHPosition(0);
_local1.setVPosition(Math.min((_local1.__dataProvider.length - _local1.__get__rowCount()) + _local1.roundUp, _local1.__vPosition));
}
}
}
function setRowCount(rC) {
var _local2 = this;
if (isNaN(rC)) {
} else {
var _local1 = _local2.getViewMetrics();
_local2.setSize(_local2.__width, ((_local2.__rowHeight * rC) + _local1.top) + _local1.bottom);
}
}
function layoutContent(x, y, tW, tH, dW, dH) {
var _local1 = this;
var _local2 = dW;
_local1.totalWidth = tW;
_local1.totalHeight = tH;
_local1.displayWidth = _local2;
var _local3 = (((_local1.__hScrollPolicy == "on") || (_local1.__hScrollPolicy == "auto")) ? (Math.max(tW, _local2)) : (_local2));
super.layoutContent(x, y, _local3, dH);
}
function modelChanged(eventObj) {
super.modelChanged(eventObj);
var _local1 = eventObj.eventName;
if ((((_local1 == "addItems") || (_local1 == "removeItems")) || (_local1 == "updateAll")) || (_local1 == "filterModel")) {
invScrollProps = true;
invalidate("invScrollProps");
}
}
function onScroll(eventObj) {
var _local2 = this;
var _local1 = eventObj.target;
if (_local1 == _local2.vScroller) {
_local2.setVPosition(_local1.scrollPosition);
} else {
_local2.hScroll(_local1.scrollPosition);
}
super.onScroll(eventObj);
}
function hScroll(pos) {
__hPosition = pos;
listContent._x = -pos;
}
function init(Void) {
var _local2 = this;
super.init();
if (_local2.labels.length > 0) {
var dp = new Array();
var _local1 = 0;
while (_local1 < _local2.labels.length) {
dp.addItem({label:_local2.labels[_local1], data:_local2.data[_local1]});
_local1++;
}
_local2.setDataProvider(dp);
}
_local2.__maxHPosition = 0;
}
function createChildren(Void) {
var _local1 = this;
super.createChildren();
_local1.listContent.setMask(_local1.mask_mc);
_local1.border_mc.move(0, 0);
_local1.border_mc.setSize(_local1.__width, _local1.__height);
}
function getRowCount(Void) {
var _local1 = this;
var _local2 = _local1.getViewMetrics();
if (_local1.__rowCount != 0) {
return(_local1.__rowCount);
}
return(Math.ceil(((_local1.__height - _local2.top) - _local2.bottom) / _local1.__rowHeight));
}
function size(Void) {
var _local2 = this;
super.size();
_local2.configureScrolling();
var _local1 = _local2.getViewMetrics();
_local2.layoutContent(_local1.left, _local1.top, _local2.__width + _local2.__maxHPosition, _local2.totalHeight, (_local2.__width - _local1.left) - _local1.right, (_local2.__height - _local1.top) - _local1.bottom);
}
function draw(Void) {
var _local1 = this;
if (_local1.invRowHeight) {
_local1.invScrollProps = true;
super.draw();
_local1.listContent.setMask(_local1.mask_mc);
_local1.invLayoutContent = true;
}
if (_local1.invScrollProps) {
_local1.configureScrolling();
delete _local1.invScrollProps;
}
if (_local1.invLayoutContent) {
var _local2 = _local1.getViewMetrics();
_local1.layoutContent(_local2.left, _local2.top, _local1.__width + _local1.__maxHPosition, _local1.totalHeight, (_local1.__width - _local2.left) - _local2.right, (_local1.__height - _local2.top) - _local2.bottom);
}
super.draw();
}
function configureScrolling(Void) {
var _local1 = this;
var _local2 = _local1.__dataProvider.length;
if (_local1.__vPosition > Math.max(0, (_local2 - _local1.getRowCount()) + _local1.roundUp)) {
_local1.setVPosition(Math.max(0, Math.min((_local2 - _local1.getRowCount()) + _local1.roundUp, _local1.__vPosition)));
}
var _local3 = _local1.getViewMetrics();
var vWidth = ((_local1.__hScrollPolicy != "off") ? (((_local1.__maxHPosition + _local1.__width) - _local3.left) - _local3.right) : ((_local1.__width - _local3.left) - _local3.right));
if (_local2 == undefined) {
_local2 = 0;
}
_local1.setScrollProperties(vWidth, 1, _local2, _local1.__rowHeight);
if (_local1.oldVWidth != vWidth) {
_local1.invLayoutContent = true;
}
_local1.oldVWidth = vWidth;
}
static var symbolOwner = mx.controls.List;
static var symbolName = "List";
var className = "List";
static var version = "2.0.1.78";
var clipParameters = {rowHeight:1, enabled:1, visible:1, labels:1};
var scrollDepth = 1;
var __vScrollPolicy = "on";
var autoHScrollAble = false;
}
Symbol 104 MovieClip [__Packages.mx.effects.Tween] Frame 0
class mx.effects.Tween extends Object
{
static var IntervalToken;
var updateFunc, endFunc;
function Tween (listenerObj, init, end, dur) {
var _local1 = this;
super();
if (listenerObj == undefined) {
} else {
if (typeof(init) != "number") {
_local1.arrayMode = true;
}
_local1.listener = listenerObj;
_local1.initVal = init;
_local1.endVal = end;
if (dur != undefined) {
_local1.duration = dur;
}
_local1.startTime = getTimer();
if (_local1.duration == 0) {
_local1.endTween();
} else {
AddTween(_local1);
}
}
}
static function AddTween(tween) {
tween.ID = ActiveTweens.length;
ActiveTweens.push(tween);
if (IntervalToken == undefined) {
Dispatcher.DispatchTweens = DispatchTweens;
IntervalToken = setInterval(Dispatcher, "DispatchTweens", Interval);
}
}
static function RemoveTweenAt(index) {
var _local3 = index;
var _local2 = ActiveTweens;
if (((_local3 >= _local2.length) || (_local3 < 0)) || (_local3 == undefined)) {
} else {
_local2.splice(_local3, 1);
var len = _local2.length;
var _local1 = _local3;
while (_local1 < len) {
_local2[_local1].ID--;
_local1++;
}
if (len == 0) {
clearInterval(IntervalToken);
delete IntervalToken;
}
}
}
static function DispatchTweens(Void) {
var _local2 = ActiveTweens;
var _local3 = _local2.length;
var _local1 = 0;
while (_local1 < _local3) {
_local2[_local1].doInterval();
_local1++;
}
updateAfterEvent();
}
function doInterval() {
var _local1 = this;
var _local2 = getTimer() - _local1.startTime;
var _local3 = _local1.getCurVal(_local2);
if (_local2 >= _local1.duration) {
_local1.endTween();
} else if (_local1.updateFunc != undefined) {
_local1.listener[_local1.updateFunc](_local3);
} else {
_local1.listener.onTweenUpdate(_local3);
}
}
function getCurVal(curTime) {
var _local2 = this;
if (_local2.arrayMode) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < _local2.initVal.length) {
_local3[_local1] = _local2.easingEquation(curTime, _local2.initVal[_local1], _local2.endVal[_local1] - _local2.initVal[_local1], _local2.duration);
_local1++;
}
return(_local3);
}
return(_local2.easingEquation(curTime, _local2.initVal, _local2.endVal - _local2.initVal, _local2.duration));
}
function endTween() {
var _local1 = this;
if (_local1.endFunc != undefined) {
_local1.listener[_local1.endFunc](_local1.endVal);
} else {
_local1.listener.onTweenEnd(_local1.endVal);
}
RemoveTweenAt(_local1.ID);
}
function setTweenHandlers(update, end) {
updateFunc = update;
endFunc = end;
}
function easingEquation(t, b, c, d) {
return(((c / 2) * (Math.sin(Math.PI * ((t / d) - 0.5)) + 1)) + b);
}
static var ActiveTweens = new Array();
static var Interval = 10;
static var Dispatcher = new Object();
var duration = 3000;
}
Symbol 105 MovieClip [__Packages.mx.accessibility.ComboBoxAccImpl] Frame 0
class mx.accessibility.ComboBoxAccImpl extends mx.accessibility.ComboBaseAccImpl
{
var _accImpl;
function ComboBoxAccImpl (master) {
var _local1 = master;
super(_local1);
_local1._setSelectedItem = _local1.setSelectedItem;
_local1.setSelectedItem = setSelectedItem;
}
static function enableAccessibility() {
mx.accessibility.ListAccImpl.enableAccessibility();
}
function createAccessibilityImplementation() {
_accImpl = new mx.accessibility.ComboBoxAccImpl(this);
}
function setSelectedItem(v) {
var _local1 = this;
var _local2 = _local1._setSelectedItem(v);
Accessibility.sendEvent(_local1, 0, _local1._accImpl.EVENT_OBJECT_VALUECHANGE, true);
return(_local2);
}
static function hookAccessibility() {
mx.controls.ComboBox.prototype.createAccessibilityImplementation = mx.accessibility.ComboBoxAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var owner = mx.controls.ComboBox;
static var accessibilityHooked = hookAccessibility();
}
Symbol 106 MovieClip [__Packages.mx.accessibility.ScrollSelectListAccImpl] Frame 0
class mx.accessibility.ScrollSelectListAccImpl extends mx.accessibility.AccImpl
{
var _accImpl, master, _removeItemAt, _removeAll;
function ScrollSelectListAccImpl (m) {
var _local1 = this;
super(m);
_local1.master._accProps = new Object();
_local1.children = new Array();
_local1.master._selectRow = _local1.master.selectRow;
_local1.master.selectRow = _local1.selectRow;
_local1.master._removeAll = _local1.master.removeAll;
_local1.master.removeAll = _local1.removeAll;
_local1.master._removeItemAt = _local1.master.removeItemAt;
_local1.master.removeItemAt = _local1.removeItemAt;
_local1.master._addItemAt = _local1.master.addItemAt;
_local1.master.addItemAt = _local1.addItemAt;
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new mx.accessibility.ScrollSelectListAccImpl(this);
}
function get_accRole(childId) {
var _local1 = ((childId == 0) ? (ROLE) : (ROLE_SYSTEM_LISTITEM));
return(_local1);
}
function getChildIdArray() {
var _local3 = this;
var ret = new Array();
var _local1 = 0;
while (_local1 < _local3.master.getLength()) {
var _local2 = _local1 + 1;
_local3.children[_local2] = _local1;
ret[_local1] = _local2;
_local1++;
}
return(ret);
}
function get_accName(childId) {
if (childId == 0) {
return(undefined);
}
var _local2 = childId - 1;
var _local1 = master.getItemAt(_local2);
if (typeof(_local1) == "string") {
return(_local1);
}
return(_local1.label);
}
function get_accState(childId) {
var _local1 = this;
var _local2 = (_local1.master.enabled ? (_local1.STATE_SYSTEM_NORMAL) : (_local1.STATE_SYSTEM_UNAVAILABLE));
if (childId == 0) {
return(_local2);
}
var _local3 = childId - 1;
if ((_local3 < _local1.master.__vPosition) || (_local3 >= (_local1.master.__vPosition + _local1.master.__rowCount))) {
_local2 = (_local2 | _local1.STATE_SYSTEM_OFFSCREEN) | _local1.STATE_SYSTEM_INVISIBLE;
}
var temp = (_local1.master.isSelected(_local3) ? ((_local1.STATE_SYSTEM_SELECTED | _local1.STATE_SYSTEM_SELECTABLE) | _local2) : (_local1.STATE_SYSTEM_SELECTABLE | _local2));
return(temp);
}
function accLocation(childId) {
var _local1 = this;
var _local2 = childId - 1;
if ((_local2 < _local1.master.__vPosition) || (_local2 >= (_local1.master.__vPosition + _local1.master.__rowCount))) {
} else {
var _local3 = _local1.master.listContent["listRow" + (_local1.master.baseRowZ + (_local2 - _local1.master.__vPosition))];
return(_local3);
}
return(undefined);
}
function get_accFocus() {
var _local1 = master.getSelectedIndex();
if (_local1 != undefined) {
return(_local1 + 1);
}
return(0);
}
function get_accSelection() {
var _local3 = new Array();
var _local2 = master.getSelectedIndices();
if (_local2 != undefined) {
var _local1 = 0;
while (_local1 < _local2.length) {
_local3.push(_local2[_local1] + 1);
_local1++;
}
} else {
var tmp = master.getSelectedIndex();
if (tmp != undefined) {
_local3.push(tmp + 1);
}
}
return(_local3);
}
function selectRow(rowIndex) {
var _local1 = this;
var retVal = _local1._selectRow(rowIndex);
var _local3 = _local1.__vPosition + rowIndex;
var _local2 = _local3 + 1;
if (((!_local1.multipleSelection) && (!Key.isDown(17))) || ((!Key.isDown(16)) && (!Key.isDown(17)))) {
Accessibility.sendEvent(_local1, _local2, _local1._accImpl.EVENT_OBJECT_SELECTION);
} else if (Key.isDown(16) && (_local1.multipleSelection)) {
Accessibility.sendEvent(_local1, 0, _local1._accImpl.EVENT_OBJECT_SELECTIONWITHIN);
} else if (Key.isDown(17) && (_local1.multipleSelection)) {
var selectedFlag = _local1.isSelected(_local3);
if (selectedFlag) {
Accessibility.sendEvent(_local1, _local2, _local1._accImpl.EVENT_OBJECT_SELECTIONADD);
} else {
Accessibility.sendEvent(_local1, _local2, _local1._accImpl.EVENT_OBJECT_SELECTIONREMOVE);
}
}
return(retVal);
}
function addItemAt(index, label, data) {
var _local1 = index;
var _local2 = this;
if ((_local1 < 0) || (!_local2.enabled)) {
} else {
_local2._addItemAt(_local1, label, data);
_local2._accImpl.children[_local1 + 1] = _local1;
}
}
function removeItemAt(index) {
_removeItemAt(index);
delete _accImpl.children[index + 1];
}
function removeAll(Void) {
_removeAll();
_accImpl.children = new Array();
}
static function hookAccessibility() {
mx.controls.listclasses.ScrollSelectList.prototype.createAccessibilityImplementation = mx.accessibility.ScrollSelectListAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var owner = mx.controls.listclasses.ScrollSelectList;
var ROLE = 33;
var ROLE_SYSTEM_LISTITEM = 34;
var EVENT_OBJECT_SELECTION = 32774;
var EVENT_OBJECT_SELECTIONADD = 32775;
var EVENT_OBJECT_SELECTIONREMOVE = 32776;
var EVENT_OBJECT_SELECTIONWITHIN = 32777;
var STATE_SYSTEM_UNAVAILABLE = 1;
var STATE_SYSTEM_SELECTED = 2;
var STATE_SYSTEM_INVISIBLE = 32768;
var STATE_SYSTEM_OFFSCREEN = 65536;
var STATE_SYSTEM_SELECTABLE = 2097152;
static var accessibilityHooked = hookAccessibility();
}
Symbol 107 MovieClip [__Packages.mx.accessibility.ListAccImpl] Frame 0
class mx.accessibility.ListAccImpl extends mx.accessibility.ScrollSelectListAccImpl
{
var _accImpl;
function ListAccImpl (master) {
super(master);
}
static function enableAccessibility() {
}
function createAccessibilityImplementation() {
_accImpl = new mx.accessibility.ListAccImpl(this);
}
static function hookAccessibility() {
mx.controls.List.prototype.createAccessibilityImplementation = mx.accessibility.ListAccImpl.prototype.createAccessibilityImplementation;
return(true);
}
var owner = mx.controls.List;
static var accessibilityHooked = hookAccessibility();
}
Symbol 108 MovieClip [__Packages.MMQuizClasses.rdInteractionAnswer] Frame 0
class MMQuizClasses.rdInteractionAnswer extends mx.core.UIComponent
{
var _parent, answerText, _enabled;
function rdInteractionAnswer () {
super();
}
function get question() {
return(_parent);
}
function get chosenAnswer() {
if (!answered) {
return("");
}
return(answerText);
}
function get correctAnswer() {
var _local3 = this;
var _local2 = "";
if (_local3.correctAnswers.length > 0) {
_local2 = _local3.correctAnswers[0];
}
var _local1 = 1;
while (_local1 < _local3.correctAnswers.length) {
_local2 = _local2.concat(",", _local3.correctAnswers[_local1]);
_local1++;
}
return(_local2);
}
function get correctAnswersAsString() {
return(correctAnswer);
}
function init() {
var _local1 = this;
_local1.correctAnswers = [];
_local1._enabled = true;
super.init();
_local1.question.registerAnswer(_local1);
_local1.initAnswerScore();
}
function clearAnswer() {
}
function submit(ansText, isCorrect) {
var _local1 = this;
_local1.answerText = ansText;
_local1.answeredCorrectly = isCorrect;
_local1.answered = true;
_local1.answerChosen();
}
function setEnabled(enabled) {
_enabled = enabled;
}
function isEnabed() {
return(_enabled);
}
function answerChosen() {
var _local1 = this;
_local1.initAnswerScore();
_local1._answerScore.__set__chosenAnswer(_local1.chosenAnswer);
_local1.dispatchEvent({type:"chooseAnswer", target:_local1});
if (_local1.answeredCorrectly) {
_local1.dispatchEvent({type:"chooseCorrectAnswer", target:_local1});
} else {
_local1.dispatchEvent({type:"chooseIncorrectAnswer", target:_local1});
}
}
function get answerScore() {
return(_answerScore);
}
function setFromAnswerScore(theAnswerScore) {
}
function initAnswerScore() {
var _local1 = this;
if (!_local1._answerScore) {
_local1._answerScore = new MMQuizClasses.AnswerScore();
}
_local1._answerScore.__set__answerType(_local1.className);
_local1._answerScore.__set__answerID(_local1.answerID);
_local1._answerScore.__set__correctAnswer(_local1.correctAnswer);
_local1._answerScore.__set__chosenAnswer("");
_local1.clearAnswer();
}
static var symbolName = "rdInteractionAnswer";
static var symbolOwner = Object(MMQuizClasses.rdInteractionAnswer);
var className = "rdInteractionAnswer";
var answerID = "";
var answered = false;
var answeredCorrectly = false;
var correctAnswers = null;
var overrideAccessibility = true;
var _answerScore = null;
}
Symbol 109 MovieClip [__Packages.MMQuizClasses.DragText] Frame 0
class MMQuizClasses.DragText extends mx.core.UIComponent
{
var _parent;
function DragText () {
super();
}
function get matchAnswer() {
if (_parent.className == "MatchAnswer") {
return(_parent);
}
return(null);
}
function get question() {
var _local1 = _parent;
while (_local1) {
if (_local1.className == "Question") {
return(_local1);
}
if ((_local1._question.className = "Question")) {
return(_local1._question);
}
_local1 = _local1._parent;
}
return(null);
}
function init() {
super.init();
setHitArea();
}
function onPress() {
var _local1 = this;
if (_local1.enabled && (!_local1.question.inReviewMode)) {
super.onPress();
_local1.origX = _local1._x;
_local1.origY = _local1._y;
_local1.origAlpha = _local1._alpha;
_local1.staticMC = _local1.duplicateMovieClip("_staticMC", _local1.getNextHighestDepth());
_local1.startDrag();
setInterval(_local1.doDragging, 100, _local1);
}
}
function onRelease() {
var _local1 = this;
if (_local1.enabled && (!_local1.question.inReviewMode)) {
super.onRelease();
_local1.stopDrag();
_local1.staticMC.removeMovieClip();
_local1.move(_local1.origX, _local1.origY);
if (_local1.__get__matchAnswer()) {
_local1.matchAnswer.dragRelease(_local1.dropTarget);
} else {
_local1.dropTarget.matchAnswer.dragRelease(_local1);
}
}
}
function onReleaseOutside() {
onRelease();
}
function doDragging(draggedObj) {
var _local1 = draggedObj;
var prop;
var _local2;
var overDropTarget = false;
var theQuestion = _local1.__get__question();
for (prop in theQuestion) {
_local2 = theQuestion[prop];
if (_local2.hitTest(_local1)) {
if (_local2.className == "DragText") {
if (_local1.__get__matchAnswer() != null) {
overDropTarget = true;
if (_local1.dropTarget) {
_local1.dropTarget.eraseHilite();
}
_local1.dropTarget = _local2;
_local1.dropTarget.drawHilite();
break;
}
} else if (_local2.className == "MatchAnswer") {
var _local3 = _local2;
if (_local3._choiceEntry.hitTest(_local1) || (_local3._dragText.hitTest(_local1))) {
if (_local1.__get__matchAnswer() == null) {
overDropTarget = true;
if (_local1.dropTarget) {
_local1.dropTarget.eraseHilite();
}
_local1.dropTarget = _local2._dragText;
_local1.dropTarget.drawHilite();
break;
}
}
}
}
}
if ((!overDropTarget) && (_local1.dropTarget)) {
_local1.dropTarget.eraseHilite();
_local1.dropTarget = null;
}
}
function setHitArea() {
var _local3 = this;
if (_local3.hitArea_mc == undefined) {
_local3.createEmptyObject("hitArea_mc", 200);
}
var _local1 = _local3.hitArea_mc;
var _local2 = _local3.getBounds(_local3);
_local1._x = _local2.xMin;
_local1._y = _local2.yMin;
_local1.clear();
_local1.beginFill(16711680);
_local1.drawRect(0, 0, _local2.xMax, _local2.yMax);
_local1.endFill();
_local1._alpha = 0;
_local1._visible = true;
}
function drawHilite() {
var _local1 = this;
if (_local1.drawHiliteAlpha) {
_local1.origAlpha = _local1._alpha;
_local1._alpha = _local1.hiliteAlpha;
}
if (_local1.drawHiliteOutline) {
var _local2 = _local1.getBounds(_local1);
_local1.lineStyle(3, _local1.hiliteColor);
_local1.moveTo(_local2.xMin, _local2.yMin);
_local1.lineTo(_local2.xMax, _local2.yMin);
_local1.lineTo(_local2.xMax, _local2.yMax);
_local1.lineTo(_local2.xMin, _local2.yMax);
_local1.lineTo(_local2.xMin, _local2.yMin);
}
}
function eraseHilite() {
var _local1 = this;
if (_local1.drawHiliteAlpha) {
_local1._alpha = _local1.origAlpha;
}
if (_local1.drawHiliteOutline) {
_local1.clear();
}
}
static var symbolName = "DragText";
static var symbolOwner = Object(MMQuizClasses.DragText);
var className = "DragText";
var drawHiliteOutline = false;
var drawHiliteAlpha = true;
var hiliteColor = 7712491;
var hiliteAlpha = 50;
var choiceID = "";
var origAlpha = 0;
}
Symbol 110 MovieClip [__Packages.MMQuizClasses.MatchAnswer] Frame 0
class MMQuizClasses.MatchAnswer extends mx.core.UIComponent
{
var _parent, _choiceEntry, _correctAnswer, _answerScore;
function MatchAnswer () {
super();
}
function get question() {
return(_parent);
}
function get chosenAnswer() {
return(_choiceEntry.__get__text());
}
function get correctAnswer() {
return(_correctAnswer);
}
function set correctAnswer(answer) {
_correctAnswer = answer;
//return(correctAnswer);
}
function get answered() {
return(_choiceEntry.__get__length() > 0);
}
function get answeredCorrectly() {
return(_choiceEntry.__get__text() == correctAnswer);
}
function setEnabled(enabled) {
var _local1 = enabled;
var _local2 = this;
if ((!_local1) != _local2.enabled) {
_local2._choiceEntry.enabled = _local1;
_local2._dragText.enabled = _local1;
}
super.setEnabled(_local1);
}
function get choiceEntry() {
return(_choiceEntry);
}
function init() {
var _local1 = this;
_local1._prevChoice = "";
super.init();
_local1.doLater(_local1, "setupTextInput");
_local1.question.registerAnswer(_local1);
_local1.doLater(_local1, "initAnswerScore");
}
function setupTextInput() {
var _local1 = this;
_local1._choiceEntry.setStyle("fontFamily", _local1.textInputFontFamily);
_local1._choiceEntry.setStyle("fontSize", _local1.textInputFontSize);
_local1._choiceEntry.useHandCursor = false;
_local1._choiceEntry.tabEnabled = true;
_local1._choiceEntry.focusEnabled = true;
_local1._choiceEntry.__set__restrict("A-Z a-z 0-9");
_local1._choiceEntry.addEventListener("change", _local1);
_local1._choiceEntry.addEventListener("enter", _local1);
_local1._dragText.tabEnabled = false;
_local1._dragText.focusEnabled = false;
}
function cleanupTextInput() {
var _local1 = this;
if (_local1._choiceEntry.text.length > 1) {
if (_local1._choiceEntry.text.charAt(0) == _local1._prevChoice) {
_local1._choiceEntry.__set__text(_local1._choiceEntry.text.charAt(1));
} else {
_local1._choiceEntry.__set__text(_local1._choiceEntry.text.charAt(0));
}
}
_local1._choiceEntry.__set__text(_local1._choiceEntry.text.toUpperCase());
_local1.answerChosen();
}
function change(evObj) {
cleanupTextInput();
}
function enter(evObj) {
cleanupTextInput();
}
function dragRelease(dropTarget) {
var _local1 = dropTarget;
if (_local1) {
var _local2 = this;
_local2._choiceEntry.text = _local1.choiceID;
_local1.eraseHilite();
_local1 = null;
}
answerChosen();
}
function clearAnswer() {
var _local1 = this;
_local1._choiceEntry.__set__text("");
_local1._prevChoice = "";
_local1.clear();
}
function setFocus() {
_choiceEntry.setFocus();
}
function findMatchingTarget(choiceID) {
var _local1 = this;
var _local2 = choiceID;
if (_local2.length != 1) {
return(null);
}
for (var _local3 in _local1.__get__question()) {
if (_local1.question[_local3].choiceID == _local2) {
return(_local1.question[_local3]);
}
}
return(null);
}
function connectRectsWithLine(sourceBounds, destBounds) {
var _local1 = this;
var _local2 = destBounds;
var _local3 = sourceBounds;
_local1.clear();
_local1.lineStyle(_local1.lineWidth, _local1.lineColor, 100);
_local1.moveTo(_local3.xMax, (_local3.yMax + _local3.yMin) / 2);
_local1.lineTo(_local2.xMin - 4, (_local2.yMax + _local2.yMin) / 2);
}
function drawTargetLink() {
var _local1 = this;
_local1.clear();
var matchingTarget;
matchingTarget = _local1.findMatchingTarget(_local1._choiceEntry.__get__text());
if (matchingTarget) {
var _local3 = _local1.getBounds(_local1);
var _local2 = matchingTarget.getBounds(_local1);
if (_local3.xMax < _local2.xMin) {
_local1.connectRectsWithLine(_local3, _local2);
} else {
_local1.connectRectsWithLine(_local2, _local3);
}
}
}
function answerChosen() {
var _local1 = this;
_local1._prevChoice = _local1._choiceEntry.text;
_local1._answerScore.__set__chosenAnswer(_local1._choiceEntry.text);
_local1.drawTargetLink();
_local1.dispatchEvent({type:"chooseAnswer", target:_local1});
if (_local1.__get__answeredCorrectly()) {
_local1.dispatchEvent({type:"chooseCorrectAnswer", target:_local1});
} else {
_local1.dispatchEvent({type:"chooseIncorrectAnswer", target:_local1});
}
}
function get answerScore() {
return(_answerScore);
}
function get retryFeedback() {
if (_retryFeedback) {
return(_retryFeedback);
}
return(null);
}
function set retryFeedback(theFeedback) {
_retryFeedback = theFeedback;
//return(retryFeedback);
}
function setFromAnswerScore(answerScore) {
_choiceEntry.__set__text(answerScore.chosenAnswer);
answerChosen();
}
function initAnswerScore() {
var _local1 = this;
_local1._answerScore = new MMQuizClasses.AnswerScore();
_local1._answerScore.__set__answerType(_local1.className);
_local1._answerScore.__set__answerID(_local1.answerID);
_local1._answerScore.__set__correctAnswer(_local1._correctAnswer);
_local1._answerScore.__set__chosenAnswer("");
}
static var symbolName = "MatchAnswer";
static var symbolOwner = Object(MMQuizClasses.MatchAnswer);
var className = "MatchAnswer";
var textInputFontFamily = "Arial";
var textInputFontSize = 10;
var lineColor = 7829367;
var lineWidth = 2;
var answerID = "";
var _retryFeedback = null;
}
Symbol 111 MovieClip [__Packages.MMQuizClasses.FillInTheBlankAnswer] Frame 0
class MMQuizClasses.FillInTheBlankAnswer extends mx.core.UIComponent
{
var _parent, _answerScore;
function FillInTheBlankAnswer () {
super();
}
function get question() {
return(_parent);
}
function get chosenAnswer() {
return(text);
}
function get correctAnswer() {
var _local3 = this;
var _local2 = "";
if (_local3.correctAnswers.length > 0) {
_local2 = _local3.correctAnswers[0];
}
var _local1 = 1;
while (_local1 < _local3.correctAnswers.length) {
_local2 = _local2.concat(",", _local3.correctAnswers[_local1]);
_local1++;
}
return(_local2);
}
function get text() {
var _local1 = this;
if (_local1.showChoicesAsList) {
return(_local1.ignoreSpaces(_local1._comboBox.__get__text()));
}
return(_local1.ignoreSpaces(_local1._textInput.__get__text()));
}
function set text(newText) {
var _local1 = this;
if (_local1.showChoicesAsList) {
_local1._comboBox.__set__text(newText);
} else {
_local1._textInput.__set__text(newText);
}
//return(_local1.__get__text());
}
function get answered() {
return(text.length > 0);
}
function ignoreSpaces(s) {
var _local1 = s;
var _local2;
var _local3;
var len;
_local2 = 0;
while (_local1.charAt(_local2) == " ") {
_local2++;
}
_local3 = _local1.length - 1;
while (_local1.charAt(_local3) == " ") {
_local3--;
}
len = (_local3 - _local2) + 1;
_local1 = _local1.substr(_local2, len);
return(_local1);
}
function get answeredCorrectly() {
var _local3 = this;
var _local2 = _local3.__get__text();
var _local1;
for (var i in _local3.correctAnswers) {
_local1 = _local3.correctAnswers[i];
if (_local3.ignoreCase) {
_local2 = _local2.toUpperCase();
_local1 = _local1.toUpperCase();
}
if (_local2 == _local1) {
return(true);
}
}
return(false);
}
function setEnabled(enabled) {
var _local1 = this;
var _local2 = enabled;
super.setEnabled(_local2);
if (_local1.showChoicesAsList) {
_local1._comboBox.enabled = _local2;
} else {
_local1._textInput.enabled = _local2;
}
}
function FillInTheBlankListAnswer() {
}
function init() {
var _local1 = this;
super.init();
_local1.question.registerAnswer(_local1);
_local1.doLater(_local1, "initAnswerScore");
}
function clearAnswer() {
var _local1 = this;
if (_local1.showChoicesAsList) {
if (_local1._comboBox.__get__editable()) {
_local1._comboBox.__set__text("");
} else {
_local1._comboBox.selectedItem = 0;
}
} else {
_local1._textInput.__set__text("");
}
}
function answerChosen() {
var _local1 = this;
_local1._answerScore.__set__chosenAnswer(_local1.text);
_local1.dispatchEvent({type:"chooseAnswer", target:_local1});
if (_local1.__get__answeredCorrectly()) {
_local1.dispatchEvent({type:"chooseCorrectAnswer", target:_local1});
} else {
_local1.dispatchEvent({type:"chooseIncorrectAnswer", target:_local1});
}
}
function change(evObj) {
answerChosen();
}
function enter(evObj) {
answerChosen();
}
function close(evObj) {
answerChosen();
}
function get answerScore() {
return(_answerScore);
}
function get retryFeedback() {
if (_retryFeedback) {
return(_retryFeedback);
}
return(null);
}
function set retryFeedback(theFeedback) {
_retryFeedback = theFeedback;
//return(retryFeedback);
}
function setFromAnswerScore(answerScore) {
var _local2 = this;
var _local3 = answerScore;
if (_local2.showChoicesAsList) {
if (_local2._comboBox.__get__editable()) {
_local2._comboBox.__set__text(_local3.chosenAnswer);
} else {
var _local1 = -1;
_local1 = 0;
while (_local1 < _local2._comboBox.length) {
if (_local2._comboBox.getItemAt(_local1).label == _local3.__get__chosenAnswer()) {
break;
}
_local1++;
}
if ((_local1 != -1) && (_local1 < _local2._comboBox.length)) {
_local2._comboBox.selectedIndex = _local1;
}
}
} else {
_local2._textInput.__set__text(_local3.chosenAnswer);
}
_local2.answerChosen();
}
function initAnswerScore() {
var _local1 = this;
_local1._answerScore = new MMQuizClasses.AnswerScore();
_local1._answerScore.__set__answerType(_local1.className);
_local1._answerScore.__set__answerID(_local1.answerID);
_local1._answerScore.__set__correctAnswer(_local1.correctAnswer);
_local1._answerScore.__set__chosenAnswer("");
if (_local1.showChoicesAsList) {
_local1._comboBox.__set__visible(true);
if (_local1._textInput) {
_local1._textInput.__set__visible(false);
}
for (var _local2 in _local1.allAnswers) {
_local1._comboBox.addItemAt(0, _local1.allAnswers[_local2]);
}
_local1._comboBox.selectedIndex = 0;
_local1._comboBox.__set__text("");
_local1._comboBox.addEventListener("change", _local1);
_local1._comboBox.addEventListener("enter", _local1);
_local1._comboBox.addEventListener("close", _local1);
} else {
if (_local1._comboBox) {
_local1._comboBox.__set__visible(false);
}
_local1._textInput.__set__visible(true);
_local1._textInput.addEventListener("change", _local1);
_local1._textInput.addEventListener("enter", _local1);
}
}
static var symbolName = "FillInTheBlankAnswer";
static var symbolOwner = Object(MMQuizClasses.FillInTheBlankAnswer);
var className = "FillInTheBlankAnswer";
var answerID = "";
var _retryFeedback = null;
}
Symbol 112 MovieClip [__Packages.rdQuizPlaybackController] Frame 0
class rdQuizPlaybackController extends MMQuizClasses.PlaybackController
{
var m_rdMovie, __set__sendCompletion, __set__sendScoreAsPercent, __set__emailAddress, __set__AuthorwareDelimeter, __set__trackingLevel, _quizParams, quizControllerForSlide, __set__currentSlide, getSlide, turnOffTracking, slides;
function rdQuizPlaybackController () {
super();
}
function init() {
super.init();
}
function setMovie(_movie) {
m_rdMovie = _movie;
}
function setIsTrackedFlag(val) {
if (val) {
isTrackedFlag = true;
} else {
isTrackedFlag = false;
}
}
function setSendCompletionFlag(val) {
if (val) {
__set__sendCompletion(true);
} else {
__set__sendCompletion(false);
}
}
function setSendScoreAsPercent(val) {
if (val) {
__set__sendScoreAsPercent(true);
} else {
__set__sendScoreAsPercent(false);
}
}
function setLmsType(val) {
var _local1 = this;
switch (val) {
case 1 :
_local1.__set__LMSType("SCORM");
return;
case 2 :
_local1.__set__LMSType("Authorware");
return;
case 3 :
_local1.__set__LMSType("AICC");
return;
case 4 :
_local1.__set__LMSType("Questionmark");
return;
case 5 :
_local1.__set__LMSType("email");
return;
case 6 :
_local1.__set__LMSType("AICC");
return;
default :
_local1.__set__LMSType("");
}
}
function setEmailAddress(addr) {
__set__emailAddress(addr);
}
function setAuthorwareDelimeter(val) {
__set__AuthorwareDelimeter(val);
}
function setTrackingLevel(val) {
switch (val) {
case 0 :
__set__trackingLevel("interactions");
return;
case 2 :
__set__trackingLevel("score");
}
}
function addSlideInfo(slideNumber, firstFrameNum, lastFrameNum) {
var _local3 = this;
var _local1 = new MMQuizClasses.SlideInfo();
_local1.__set__slideNum(slideNumber);
_local1.__set__firstFrameNum(firstFrameNum);
_local1.__set__lastFrameNum(lastFrameNum);
_local1.__set__questionsOnSlide([]);
_local3.slides[slideNumber] = _local1;
var _local2 = _local3.slides.length;
if (_local2 == 1) {
_local3.__set__currentSlide(_local1);
}
}
function addQuizParams(q) {
_quizParams[q.quizID] = q;
}
function quizIDForSlide(slide) {
var _local2 = this;
var _local3 = slide;
for (var i in _local2._quizParams) {
var _local1 = _local2._quizParams[i];
if ((_local1 && (_local3.__get__slideNum() >= _local1.firstSlideInQuiz.__get__slideNum())) && (_local3.__get__slideNum() <= _local1.lastSlideInQuiz.__get__slideNum())) {
return(_local1.quizID);
}
}
return(-1);
}
function _gotoFrame(frameNum) {
m_rdMovie.gotoFrame(frameNum, true);
}
function get currentSlideContainer() {
return(m_rdMovie.m_currSlide.m_rdSlide_mc);
}
function enterSlide(toSlide) {
var _local1 = quizControllerForSlide(toSlide);
if (_local1) {
__set__currentSlide(toSlide);
_local1.enterCurrentSlide();
}
}
function leaveSlide(fromSlide, toSlideNum) {
var _local1 = quizControllerForSlide(fromSlide);
if (_local1) {
var _local3 = _local1.canLeaveSlide(fromSlide, false);
if (_local3 != "") {
return(false);
}
var _local2 = getSlide(toSlideNum);
if (_local2) {
_local1.leaveCurrentSlide(_local2);
}
}
return(true);
}
function showUI(part, show) {
var _local1 = this;
if (part == "playbar") {
if (show) {
_local1.m_rdMovie.m_movie_mc.rdcmndHidePlaybar = 0;
} else {
_local1.m_rdMovie.m_movie_mc.rdcmndHidePlaybar = 1;
}
_local1.m_rdMovie.m_disableInteractions = !show;
return(true);
}
return(false);
}
function setPlaying(playing) {
var _local1 = this;
if (playing) {
_local1.m_rdMovie.m_movie_mc.rdcmndPause = 0;
_local1.m_rdMovie.m_movie_mc.rdcmndResume = 1;
} else {
_local1.m_rdMovie.m_movie_mc.rdcmndResume = 0;
_local1.m_rdMovie.m_movie_mc.rdcmndPause = 1;
}
}
function getCurrentFrame() {
return(m_rdMovie.m_movie_mc.rdinfoCurrentFrame);
}
function getNumFrames() {
return(m_rdMovie.m_movie_mc.rdinfoFrameCount);
}
function getFPS() {
return(m_rdMovie.m_movie_mc.rdinfoFPS);
}
function doFinalExit() {
turnOffTracking();
if (m_rdMovie.m_movie_mc.rdIsPreview) {
fscommand ("quit");
} else {
super.doFinalExit();
}
}
function isReady() {
return(m_rdMovie.isReady());
}
function isPlaying() {
var _local1 = this;
if (_local1.m_rdMovie.m_movie_mc.rdcmndPause == 1) {
return(false);
}
if (_local1.m_rdMovie.m_movie_mc.rdcmndResume == 1) {
return(true);
}
return(_local1.m_rdMovie.m_paused == false);
}
function getScrubDuration(slideIndex) {
var _local1 = slides[slideIndex];
var _local2 = (_local1.__get__lastFrameNum() - _local1.__get__firstFrameNum()) + 1;
return((_local2 * 1000) / getFPS());
}
function getScrubStart(slideIndex) {
var _local1 = slides[slideIndex];
var _local2 = _local1.__get__firstFrameNum() - 1;
return((_local2 * 1000) / getFPS());
}
function getScrubPosition() {
var _local2 = this;
var _local1 = _local2.m_rdMovie.m_movie_mc.rdcmndGotoFrameAndResume;
if (_local1 == -1) {
_local1 = _local2.m_rdMovie.m_movie_mc.rdcmndGotoFrame;
}
if (_local1 == -1) {
_local1 = _local2.m_rdMovie.m_movie_mc.rdinfocurrFrame;
}
var _local3 = _local2.slides[_local2.currentSlide.slideNum];
_local1 = Math.min(Math.max(_local3.__get__firstFrameNum(), _local1), _local3.__get__lastFrameNum());
_local1 = _local1 - _local3.__get__firstFrameNum();
return((_local1 * 1000) / _local2.getFPS());
}
function gotoScrubPosition(position) {
var _local1 = this;
var _local3 = _local1.slides[_local1.currentSlide.slideNum];
var _local2 = _local3.__get__firstFrameNum() + Math.round((position * _local1.getFPS()) / 1000);
_local2 = Math.min(Math.max(_local3.__get__firstFrameNum(), _local2), _local3.__get__lastFrameNum());
if (_local1.isPlaying()) {
_local1.m_rdMovie.m_movie_mc.rdcmndGotoFrameAndResume = _local2;
} else {
_local1.m_rdMovie.m_movie_mc.rdcmndGotoFrame = _local2;
}
}
function onSlideChanged(i) {
var _local1 = this;
super.onSlideChanged(i);
if (((_local1.m_rdMovie && (_local1.m_rdMovie.m_currSlide)) && (_local1.m_rdMovie.m_currSlide.m_rdSlide_mc)) && (_local1.m_rdMovie.m_currSlide.m_rdSlide_mc.m_isQuizSlide == true)) {
_local1.dispatchEvent({type:"quizSlideReached", target:_local1, slideNum:i, fromHB:false});
}
_local1.onCurrentSlideLoaded();
}
function setSize(w, h) {
var _local1 = h;
var _local2 = w;
var _local3;
var height;
if (typeof(_local2) == "string") {
_local2 = parseInt(_local2);
}
if (typeof(_local1) == "string") {
_local1 = parseInt(_local1);
}
if (_local2 == undefined) {
_local3 = undefined;
} else if (!isNaN(_local2)) {
_local3 = Math.floor(_local2);
}
if (_local1 == undefined) {
height = undefined;
} else if (!isNaN(_local1)) {
height = Math.floor(_local1);
}
if ((_local3 != undefined) && (height != undefined)) {
m_rdMovie.size(_local3, height);
}
}
function getSupportsSyncPlayback() {
return(true);
}
function hasProperty(prop) {
var _local1 = prop;
if ((_local1 == "autoPlay") || (_local1 == "auto-play")) {
if (m_rdMovie.m_movie_mc.rdinfoHasPlaybar) {
return(false);
}
return(true);
}
return(super.hasProperty(_local1));
}
function setPlayAndScrub(p_playing, p_position) {
return(false);
}
var isTrackedFlag = false;
}
Symbol 113 MovieClip [__Packages.MMQuizClasses.LikertAnswer] Frame 0
class MMQuizClasses.LikertAnswer extends mx.core.UIComponent
{
var _parent, allAnswers, radioGroup, _answerScore;
function LikertAnswer () {
super();
}
function get question() {
return(_parent);
}
function get chosenAnswerID() {
var _local1 = this;
var _local2 = _local1.radioGroup.selectedRadio;
for (var _local3 in _local1.radioGroup.radioList) {
if (_local2 == _local1.radioGroup.radioList[_local3]) {
return(_local3);
}
}
return(-1);
}
function get chosenAnswer() {
var _local1 = chosenAnswerID;
if (_local1 >= 0) {
return(allAnswers[_local1]);
}
return("");
}
function get correctAnswer() {
return(chosenAnswer());
}
function get answered() {
return((radioGroup.selectedRadio != null) && (radioGroup.selectedRadio != undefined));
}
function get answeredCorrectly() {
return(true);
}
function setEnabled(enabled) {
radioGroup.setEnabled(enabled);
}
function init() {
var _local1 = this;
if (!_local1._inited) {
super.init();
_local1.question.registerAnswer(_local1);
_local1.tabChildren = true;
_local1.tabEnabled = false;
_local1.focusEnabled = false;
_local1.doLater(_local1, "initAnswerScore");
_local1._inited = true;
}
}
function clearAnswer() {
var _local1 = this;
for (var _local2 in _local1.radioGroup.radioList) {
_local1.radioGroup.radioList[_local2].setSelected(false);
}
}
function answerChosen() {
var _local1 = this;
_local1._answerScore.__set__chosenAnswer(_local1.chosenAnswer);
_local1._answerScore.__set__correctAnswer(_local1.chosenAnswer);
_local1.dispatchEvent({type:"chooseAnswer", target:_local1});
if (_local1.__get__answeredCorrectly()) {
_local1.dispatchEvent({type:"chooseCorrectAnswer", target:_local1});
} else {
_local1.dispatchEvent({type:"chooseIncorrectAnswer", target:_local1});
}
}
function click(evObj) {
answerChosen();
}
function get answerScore() {
return(_answerScore);
}
function get retryFeedback() {
if (_retryFeedback) {
return(_retryFeedback);
}
return(null);
}
function set retryFeedback(theFeedback) {
_retryFeedback = theFeedback;
//return(retryFeedback);
}
function setFromAnswerScore(answerScore) {
var _local1 = this;
var _local3 = answerScore;
var _local2 = -1;
for (_local2 in _local1.allAnswers) {
if (_local1.allAnswers[_local2] == _local3.__get__chosenAnswer()) {
_local1.radioGroup.radioList[_local2].setSelected(true);
_local1.answerChosen();
break;
}
}
}
function getQuestionScore() {
var _local2 = this;
var _local1 = new MMQuizClasses.QuestionScore();
_local1.__set__slideNum(_local2.question.questionScore.slideNum);
_local1.__set__startTime(_local2.question.questionScore.startTime);
_local1.__set__endTime(_local2.question.questionScore.endTime);
_local1.__set__interactionType(_local2.interactionType);
_local1.__set__objectiveID(_local2.objectiveID);
_local1.__set__interactionID(_local2.interactionID);
_local1.__set__weighting(_local2.weighting);
_local1.__set__answerScores([]);
_local1.answerScores.push(_local2.answerScore.copy());
_local1.__set__numTries(_local2.question.questionScore.numTries);
_local1.__set__answersIncomplete(!_local2.__get__answered());
_local1.__set__pausedMsecs(_local2.question.questionScore.pausedMsecs);
_local1.__set__questionNumInQuiz(_local2.question.questionScore.questionNumInQuiz);
_local1.__set__wasJudged(_local2.question.questionScore.wasJudged);
_local1.__set__answeredCorrectly(true);
return(_local1);
}
function initAnswerScore() {
var _local1 = this;
_local1._answerScore = new MMQuizClasses.AnswerScore();
_local1._answerScore.__set__answerType(_local1.className);
_local1._answerScore.__set__answerID(_local1.answerID);
_local1._answerScore.__set__correctAnswer(_local1.correctAnswer);
_local1._answerScore.__set__chosenAnswer("");
for (var _local3 in _local1.radioGroup.radioList) {
var _local2 = _local1.radioGroup.radioList[_local3];
_local2.useHandCursor = true;
_local2.addEventListener("click", _local1);
_local1.radioGroup.radioList[_local3].useHandCursor = true;
}
_local1.clearAnswer();
}
static var symbolName = "LikertAnswer";
static var symbolOwner = Object(MMQuizClasses.LikertAnswer);
var className = "LikertAnswer";
var answerID = "";
var interactionType = "likert";
var interactionID = "";
var objectiveID = "";
var weighting = 0;
var _retryFeedback = null;
var _inited = false;
}
Symbol 114 MovieClip [__Packages.rdQuizFeedback] Frame 0
class rdQuizFeedback extends MMQuizClasses.Feedback
{
var m_soundID, addEventListener;
function rdQuizFeedback () {
super();
m_soundID = -1;
}
function init() {
super.init();
addEventListener("feedbackStarted", this);
}
function feedbackStarted() {
var _local1 = this;
if (_local1.m_soundID > -1) {
_local1._parent._parent.m_movie.m_soundHandler.StartItemSound(_local1.m_soundID, 0);
}
}
}
Symbol 117 MovieClip [5df827_1] Frame 1
#initclip 118
Object.registerClass("5df827_1", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 130;
var outEnd = 145;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 0;
var m_soundIdx = -1;
Symbol 127 MovieClip Frame 23
stop();
Symbol 120 MovieClip Frame 1
var textlen = "14";
Set("0/letter:text", "S");
Symbol 120 MovieClip Frame 2
Set("1/letter:text", "i");
Symbol 120 MovieClip Frame 3
Set("2/letter:text", "m");
Symbol 120 MovieClip Frame 4
Set("3/letter:text", "p");
Symbol 120 MovieClip Frame 5
Set("4/letter:text", "l");
Symbol 120 MovieClip Frame 6
Set("5/letter:text", "e");
Symbol 120 MovieClip Frame 7
Set("6/letter:text", " ");
Symbol 120 MovieClip Frame 8
Set("7/letter:text", "B");
Symbol 120 MovieClip Frame 9
Set("8/letter:text", "u");
Symbol 120 MovieClip Frame 10
Set("9/letter:text", "t");
Symbol 120 MovieClip Frame 11
Set("10/letter:text", "t");
Symbol 120 MovieClip Frame 12
Set("11/letter:text", "o");
Symbol 120 MovieClip Frame 13
Set("12/letter:text", "n");
Symbol 120 MovieClip Frame 14
Set("13/letter:text", "s");
Symbol 120 MovieClip Frame 37
stop();
Symbol 120 MovieClip Frame 38
stop();
Symbol 128 MovieClip [5df827_2] Frame 1
#initclip 119
Object.registerClass("5df827_2", rdSwf);
#endinitclip
var nTotalFrames = 38;
var nEnterFrame = 55;
var nExitFrame = 115;
var m_playThis = 0;
var m_loop = false;
var m_sync = false;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 38;
var m_isGlobal = false;
var m_swfwidth = 168;
stop();
var m_swfheight = 28;
var m_mustBeReady = false;
var m_slideFrame = 0;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 55;
var inEnd = 70;
var outBegin = 130;
var outEnd = 145;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 0;
var m_soundIdx = -1;
Symbol 137 MovieClip Frame 2
Set("letter2:text", letter:text);
Set("letter3:text", letter:text);
Set("letter4:text", letter:text);
Set("letter5:text", letter:text);
Set("letter6:text", letter:text);
Set("letter7:text", letter:text);
Set("letter8:text", letter:text);
Symbol 137 MovieClip Frame 30
stop();
Symbol 130 MovieClip Frame 1
var textlen = "18";
Set("0/letter:text", "F");
Symbol 130 MovieClip Frame 2
Set("1/letter:text", "L");
Symbol 130 MovieClip Frame 3
Set("2/letter:text", "A");
Symbol 130 MovieClip Frame 4
Set("3/letter:text", "S");
Symbol 130 MovieClip Frame 5
Set("4/letter:text", "H");
Symbol 130 MovieClip Frame 6
Set("5/letter:text", " ");
Symbol 130 MovieClip Frame 7
Set("6/letter:text", "M");
Symbol 130 MovieClip Frame 8
Set("7/letter:text", "X");
Symbol 130 MovieClip Frame 9
Set("8/letter:text", " ");
Symbol 130 MovieClip Frame 10
Set("9/letter:text", "T");
Symbol 130 MovieClip Frame 11
Set("10/letter:text", "U");
Symbol 130 MovieClip Frame 12
Set("11/letter:text", "T");
Symbol 130 MovieClip Frame 13
Set("12/letter:text", "O");
Symbol 130 MovieClip Frame 14
Set("13/letter:text", "R");
Symbol 130 MovieClip Frame 15
Set("14/letter:text", "I");
Symbol 130 MovieClip Frame 16
Set("15/letter:text", "A");
Symbol 130 MovieClip Frame 17
Set("16/letter:text", "L");
Symbol 130 MovieClip Frame 18
Set("17/letter:text", "S");
Symbol 130 MovieClip Frame 48
stop();
Symbol 130 MovieClip Frame 49
stop();
Symbol 138 MovieClip [5df827_3] Frame 1
#initclip 120
Object.registerClass("5df827_3", rdSwf);
#endinitclip
var nTotalFrames = 49;
var nEnterFrame = 1;
var nExitFrame = 109;
var m_playThis = 0;
var m_loop = false;
var m_sync = false;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 49;
var m_isGlobal = false;
var m_swfwidth = 272;
stop();
var m_swfheight = 28;
var m_mustBeReady = false;
var m_slideFrame = 0;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 124;
var outEnd = 139;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 0;
var m_soundIdx = -1;
Symbol 115 MovieClip [5df827_4] Frame 1
#initclip 121
Object.registerClass("5df827_4", rdSlide);
#endinitclip
var m_projectSlideIndex = 0;
var m_Sub_mc_array = new Array("s0_i1_ta_mc", "s0_i2_ta_mc");
_accProps = new Object();
_accProps.name = "Intro ";
Accessibility.updateProperties();
Symbol 115 MovieClip [5df827_4] Frame 145
stop();
Symbol 1993 MovieClip [5df827_239] Frame 1
#initclip 122
Object.registerClass("5df827_239", rdProgressbar);
#endinitclip
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 2006 Button
on (release) {
_parent.rdcmndRewindAndPlay = 1;
}
Symbol 2013 Button
on (release) {
_parent.rdcmndPrevious = 1;
}
Symbol 2020 Button
on (release) {
_parent.rdcmndResume = 1;
}
Symbol 2027 Button
on (release) {
_parent.rdcmndPause = 1;
}
Symbol 2034 Button
on (release) {
_parent.rdcmndNextSlide = 1;
}
Symbol 2041 Button
on (release) {
_parent.rdcmndExit = 1;
}
Symbol 2048 Button
on (release) {
_parent.rdcmndInfo = 1;
}
Symbol 1992 MovieClip [5df827_240] Frame 1
#initclip 123
Object.registerClass("5df827_240", rdPlaybar);
#endinitclip
pbc_Rewind2.tabEnabled = true;
pbc_Rewind2._accProps = new Object();
pbc_Rewind2._accProps.name = "Rewind ";
pbc_Back3.tabEnabled = true;
pbc_Back3._accProps = new Object();
pbc_Back3._accProps.name = "Back ";
pbc_Play4.tabEnabled = true;
pbc_Play4._accProps = new Object();
pbc_Play4._accProps.name = "Play ";
pbc_Pause5.tabEnabled = true;
pbc_Pause5._accProps = new Object();
pbc_Pause5._accProps.name = "Pause ";
pbc_Forward6.tabEnabled = true;
pbc_Forward6._accProps = new Object();
pbc_Forward6._accProps.name = "Forward ";
pbc_Exit7.tabEnabled = true;
pbc_Exit7._accProps = new Object();
pbc_Exit7._accProps.name = "Exit ";
Accessibility.updateProperties();
pbc_Information8.tabEnabled = true;
pbc_Information8._accProps = new Object();
pbc_Information8._accProps.name = "Information ";
var m_progressBarLength = 103;
var m_bTipOnTop = true;
Symbol 2062 Button
on (release) {
if (website != "") {
var url = website;
if (url.indexOf("://", 0) == -1) {
url = "http://" + website;
}
if (website != "") {
getURL (url, "_blank");
}
}
}
Symbol 2063 Button
on (release) {
if (email != "") {
getURL ("mailto:" + email, "_blank");
}
}
Symbol 2064 Button
on (release) {
getURL ("http://www.macromedia.com/software/captivate", "_blank");
}
Symbol 2066 Button
on (release) {
gotoAndStop (1);
}
Symbol 2052 MovieClip Frame 1
function playInfo() {
gotoAndPlay (2);
}
author = "";
company = "";
stop();
var author = "Paul Wroblewski";
var company = "";
var email = "";
var website = "";
var copyright = "";
_accProps = new Object();
_accProps.name = "Information Macromedia Captivate Movie Created by Paul Wroblewski Macromedia Captivate Movie.";
Accessibility.updateProperties();
Symbol 2052 MovieClip Frame 2
Button8._accProps = new Object();
Button8._accProps.name = "Close";
author_txt = author;
company_txt = company;
email_txt = email;
website_txt = website;
copyright_txt = copyright;
Symbol 2052 MovieClip Frame 3
stop();
Symbol 158 MovieClip [5df827_5] Frame 1
#initclip 124
Object.registerClass("5df827_5", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 1;
var m_soundIdx = -1;
Symbol 168 MovieClip [5df827_6] Frame 1
#initclip 125
Object.registerClass("5df827_6", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 345;
var outEnd = 360;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 1;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 140 MovieClip [5df827_7] Frame 1
#initclip 126
Object.registerClass("5df827_7", rdSlide);
#endinitclip
var m_projectSlideIndex = 1;
Symbol 140 MovieClip [5df827_7] Frame 360
stop();
Symbol 173 MovieClip [5df827_8] Frame 1
#initclip 127
Object.registerClass("5df827_8", rdSlide);
#endinitclip
var m_projectSlideIndex = 2;
Symbol 173 MovieClip [5df827_8] Frame 91
stop();
Symbol 190 MovieClip Frame 30
stop();
stop();
Symbol 197 MovieClip [5df827_9] Frame 1
#initclip 128
Object.registerClass("5df827_9", rdSwf);
#endinitclip
var nTotalFrames = 30;
var nEnterFrame = 1;
var nExitFrame = 61;
var m_playThis = 0;
var m_loop = false;
var m_sync = true;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 30;
var m_isGlobal = false;
var m_swfwidth = 720;
stop();
var m_swfheight = 579;
var m_mustBeReady = true;
var m_slideFrame = 0;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 0;
var m_outEffectFrames = 0;
var inBegin = 1;
var inEnd = 1;
var outBegin = 61;
var outEnd = 61;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 3;
var m_soundIdx = -1;
Symbol 188 MovieClip [5df827_10] Frame 1
#initclip 129
Object.registerClass("5df827_10", rdSlide);
#endinitclip
var m_projectSlideIndex = 3;
var m_Sub_mc_array = new Array("s3_i1_swf_mc");
Symbol 188 MovieClip [5df827_10] Frame 61
stop();
Symbol 238 MovieClip [5df827_11] Frame 1
#initclip 130
Object.registerClass("5df827_11", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 46;
var inEnd = 61;
var outBegin = 121;
var outEnd = 136;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 4;
var m_soundIdx = -1;
Symbol 199 MovieClip [5df827_12] Frame 1
#initclip 131
Object.registerClass("5df827_12", rdSlide);
#endinitclip
var m_projectSlideIndex = 4;
Symbol 199 MovieClip [5df827_12] Frame 175
stop();
Symbol 243 MovieClip [5df827_13] Frame 1
#initclip 132
Object.registerClass("5df827_13", rdSlide);
#endinitclip
var m_projectSlideIndex = 5;
Symbol 243 MovieClip [5df827_13] Frame 91
stop();
Symbol 264 MovieClip Frame 28
stop();
stop();
Symbol 269 MovieClip [5df827_14] Frame 1
#initclip 133
Object.registerClass("5df827_14", rdSwf);
#endinitclip
var nTotalFrames = 28;
var nEnterFrame = 1;
var nExitFrame = 52;
var m_playThis = 0;
var m_loop = false;
var m_sync = true;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 28;
var m_isGlobal = false;
var m_swfwidth = 720;
stop();
var m_swfheight = 579;
var m_mustBeReady = true;
var m_slideFrame = 0;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 0;
var m_outEffectFrames = 0;
var inBegin = 1;
var inEnd = 1;
var outBegin = 52;
var outEnd = 52;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 6;
var m_soundIdx = -1;
Symbol 262 MovieClip [5df827_15] Frame 1
#initclip 134
Object.registerClass("5df827_15", rdSlide);
#endinitclip
var m_projectSlideIndex = 6;
var m_Sub_mc_array = new Array("s6_i1_swf_mc");
Symbol 262 MovieClip [5df827_15] Frame 52
stop();
Symbol 273 MovieClip [5df827_16] Frame 1
#initclip 135
Object.registerClass("5df827_16", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 7;
var m_soundIdx = -1;
Symbol 277 MovieClip [5df827_17] Frame 1
#initclip 136
Object.registerClass("5df827_17", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 7;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 271 MovieClip [5df827_18] Frame 1
#initclip 137
Object.registerClass("5df827_18", rdSlide);
#endinitclip
var m_projectSlideIndex = 7;
Symbol 271 MovieClip [5df827_18] Frame 124
stop();
Symbol 283 MovieClip [5df827_19] Frame 1
#initclip 138
Object.registerClass("5df827_19", rdSlide);
#endinitclip
var m_projectSlideIndex = 8;
Symbol 283 MovieClip [5df827_19] Frame 7
stop();
Symbol 292 MovieClip [5df827_20] Frame 1
#initclip 139
Object.registerClass("5df827_20", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 9;
var m_soundIdx = -1;
Symbol 296 MovieClip [5df827_21] Frame 1
#initclip 140
Object.registerClass("5df827_21", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 9;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 288 MovieClip [5df827_22] Frame 1
#initclip 141
Object.registerClass("5df827_22", rdSlide);
#endinitclip
var m_projectSlideIndex = 9;
Symbol 288 MovieClip [5df827_22] Frame 121
stop();
Symbol 302 MovieClip [5df827_23] Frame 1
#initclip 142
Object.registerClass("5df827_23", rdSlide);
#endinitclip
var m_projectSlideIndex = 10;
Symbol 302 MovieClip [5df827_23] Frame 7
stop();
Symbol 331 MovieClip [5df827_24] Frame 1
#initclip 143
Object.registerClass("5df827_24", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 166;
var inEnd = 181;
var outBegin = 241;
var outEnd = 256;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 11;
var m_soundIdx = -1;
Symbol 335 MovieClip [5df827_25] Frame 1
#initclip 144
Object.registerClass("5df827_25", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 166;
var inEnd = 181;
var outBegin = 241;
var outEnd = 256;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 11;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 307 MovieClip [5df827_26] Frame 1
#initclip 145
Object.registerClass("5df827_26", rdSlide);
#endinitclip
var m_projectSlideIndex = 11;
Symbol 307 MovieClip [5df827_26] Frame 295
stop();
Symbol 345 MovieClip [5df827_27] Frame 1
#initclip 146
Object.registerClass("5df827_27", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 12;
var m_soundIdx = -1;
Symbol 341 MovieClip [5df827_28] Frame 1
#initclip 147
Object.registerClass("5df827_28", rdSlide);
#endinitclip
var m_projectSlideIndex = 12;
Symbol 341 MovieClip [5df827_28] Frame 127
stop();
Symbol 369 MovieClip [5df827_29] Frame 1
#initclip 148
Object.registerClass("5df827_29", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 13;
var m_soundIdx = -1;
Symbol 353 MovieClip [5df827_30] Frame 1
#initclip 149
Object.registerClass("5df827_30", rdSlide);
#endinitclip
var m_projectSlideIndex = 13;
Symbol 353 MovieClip [5df827_30] Frame 121
stop();
Symbol 386 MovieClip [5df827_31] Frame 1
#initclip 150
Object.registerClass("5df827_31", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 14;
var m_soundIdx = -1;
Symbol 391 MovieClip [5df827_32] Frame 1
#initclip 151
Object.registerClass("5df827_32", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 141;
var outEnd = 156;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 14;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 374 MovieClip [5df827_33] Frame 1
#initclip 152
Object.registerClass("5df827_33", rdSlide);
#endinitclip
var m_projectSlideIndex = 14;
Symbol 374 MovieClip [5df827_33] Frame 156
stop();
Symbol 402 MovieClip [5df827_34] Frame 1
#initclip 153
Object.registerClass("5df827_34", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 15;
var m_soundIdx = -1;
Symbol 407 MovieClip [5df827_35] Frame 1
#initclip 154
Object.registerClass("5df827_35", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 149;
var outEnd = 164;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 15;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 396 MovieClip [5df827_36] Frame 1
#initclip 155
Object.registerClass("5df827_36", rdSlide);
#endinitclip
var m_projectSlideIndex = 15;
Symbol 396 MovieClip [5df827_36] Frame 164
stop();
Symbol 418 MovieClip [5df827_37] Frame 1
#initclip 156
Object.registerClass("5df827_37", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 16;
var m_soundIdx = -1;
Symbol 423 MovieClip [5df827_38] Frame 1
#initclip 157
Object.registerClass("5df827_38", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 141;
var outEnd = 156;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 16;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 412 MovieClip [5df827_39] Frame 1
#initclip 158
Object.registerClass("5df827_39", rdSlide);
#endinitclip
var m_projectSlideIndex = 16;
Symbol 412 MovieClip [5df827_39] Frame 156
stop();
Symbol 434 MovieClip [5df827_40] Frame 1
#initclip 159
Object.registerClass("5df827_40", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 17;
var m_soundIdx = -1;
Symbol 438 MovieClip [5df827_41] Frame 1
#initclip 160
Object.registerClass("5df827_41", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 17;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 428 MovieClip [5df827_42] Frame 1
#initclip 161
Object.registerClass("5df827_42", rdSlide);
#endinitclip
var m_projectSlideIndex = 17;
Symbol 428 MovieClip [5df827_42] Frame 121
stop();
Symbol 444 MovieClip [5df827_43] Frame 1
#initclip 162
Object.registerClass("5df827_43", rdSlide);
#endinitclip
var m_projectSlideIndex = 18;
Symbol 444 MovieClip [5df827_43] Frame 7
stop();
Symbol 455 MovieClip [5df827_44] Frame 1
#initclip 163
Object.registerClass("5df827_44", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 19;
var m_soundIdx = -1;
Symbol 459 MovieClip [5df827_45] Frame 1
#initclip 164
Object.registerClass("5df827_45", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 19;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 451 MovieClip [5df827_46] Frame 1
#initclip 165
Object.registerClass("5df827_46", rdSlide);
#endinitclip
var m_projectSlideIndex = 19;
Symbol 451 MovieClip [5df827_46] Frame 121
stop();
Symbol 465 MovieClip [5df827_47] Frame 1
#initclip 166
Object.registerClass("5df827_47", rdSlide);
#endinitclip
var m_projectSlideIndex = 20;
Symbol 465 MovieClip [5df827_47] Frame 7
stop();
Symbol 480 MovieClip [5df827_48] Frame 1
#initclip 167
Object.registerClass("5df827_48", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 21;
var m_soundIdx = -1;
Symbol 470 MovieClip [5df827_49] Frame 1
#initclip 168
Object.registerClass("5df827_49", rdSlide);
#endinitclip
var m_projectSlideIndex = 21;
Symbol 470 MovieClip [5df827_49] Frame 121
stop();
Symbol 499 MovieClip [5df827_50] Frame 1
#initclip 169
Object.registerClass("5df827_50", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 22;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 485 MovieClip [5df827_51] Frame 1
#initclip 170
Object.registerClass("5df827_51", rdSlide);
#endinitclip
var m_projectSlideIndex = 22;
Symbol 485 MovieClip [5df827_51] Frame 121
stop();
Symbol 519 MovieClip [5df827_52] Frame 1
#initclip 171
Object.registerClass("5df827_52", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 23;
var m_soundIdx = -1;
Symbol 505 MovieClip [5df827_53] Frame 1
#initclip 172
Object.registerClass("5df827_53", rdSlide);
#endinitclip
var m_projectSlideIndex = 23;
Symbol 505 MovieClip [5df827_53] Frame 121
stop();
Symbol 538 MovieClip [5df827_54] Frame 1
#initclip 173
Object.registerClass("5df827_54", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 24;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 524 MovieClip [5df827_55] Frame 1
#initclip 174
Object.registerClass("5df827_55", rdSlide);
#endinitclip
var m_projectSlideIndex = 24;
Symbol 524 MovieClip [5df827_55] Frame 121
stop();
Symbol 558 MovieClip [5df827_56] Frame 1
#initclip 175
Object.registerClass("5df827_56", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 25;
var m_soundIdx = -1;
Symbol 544 MovieClip [5df827_57] Frame 1
#initclip 176
Object.registerClass("5df827_57", rdSlide);
#endinitclip
var m_projectSlideIndex = 25;
Symbol 544 MovieClip [5df827_57] Frame 121
stop();
Symbol 569 MovieClip [5df827_58] Frame 1
#initclip 177
Object.registerClass("5df827_58", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 26;
var m_soundIdx = -1;
Symbol 563 MovieClip [5df827_59] Frame 1
#initclip 178
Object.registerClass("5df827_59", rdSlide);
#endinitclip
var m_projectSlideIndex = 26;
Symbol 563 MovieClip [5df827_59] Frame 121
stop();
Symbol 586 MovieClip [5df827_60] Frame 1
#initclip 179
Object.registerClass("5df827_60", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 27;
var m_soundIdx = -1;
Symbol 574 MovieClip [5df827_61] Frame 1
#initclip 180
Object.registerClass("5df827_61", rdSlide);
#endinitclip
var m_projectSlideIndex = 27;
Symbol 574 MovieClip [5df827_61] Frame 121
stop();
Symbol 603 MovieClip [5df827_62] Frame 1
#initclip 181
Object.registerClass("5df827_62", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 28;
var m_soundIdx = -1;
Symbol 591 MovieClip [5df827_63] Frame 1
#initclip 182
Object.registerClass("5df827_63", rdSlide);
#endinitclip
var m_projectSlideIndex = 28;
Symbol 591 MovieClip [5df827_63] Frame 121
stop();
Symbol 627 MovieClip [5df827_64] Frame 1
#initclip 183
Object.registerClass("5df827_64", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 102;
var outEnd = 117;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 29;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 608 MovieClip [5df827_65] Frame 1
#initclip 184
Object.registerClass("5df827_65", rdSlide);
#endinitclip
var m_projectSlideIndex = 29;
Symbol 608 MovieClip [5df827_65] Frame 117
stop();
Symbol 634 MovieClip Frame 4
stop();
stop();
Symbol 637 MovieClip [5df827_66] Frame 1
#initclip 185
Object.registerClass("5df827_66", rdSwf);
#endinitclip
var nTotalFrames = 4;
var nEnterFrame = 1;
var nExitFrame = 13;
var m_playThis = 0;
var m_loop = false;
var m_sync = true;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 4;
var m_isGlobal = false;
var m_swfwidth = 720;
stop();
var m_swfheight = 579;
var m_mustBeReady = true;
var m_slideFrame = 0;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 0;
var m_outEffectFrames = 0;
var inBegin = 1;
var inEnd = 1;
var outBegin = 13;
var outEnd = 13;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 30;
var m_soundIdx = -1;
Symbol 632 MovieClip [5df827_67] Frame 1
#initclip 186
Object.registerClass("5df827_67", rdSlide);
#endinitclip
var m_projectSlideIndex = 30;
var m_Sub_mc_array = new Array("s30_i1_swf_mc");
Symbol 632 MovieClip [5df827_67] Frame 13
stop();
Symbol 645 MovieClip [5df827_68] Frame 1
#initclip 187
Object.registerClass("5df827_68", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 31;
var m_soundIdx = -1;
Symbol 639 MovieClip [5df827_69] Frame 1
#initclip 188
Object.registerClass("5df827_69", rdSlide);
#endinitclip
var m_projectSlideIndex = 31;
Symbol 639 MovieClip [5df827_69] Frame 121
stop();
Symbol 656 MovieClip [5df827_70] Frame 1
#initclip 189
Object.registerClass("5df827_70", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 32;
var m_soundIdx = -1;
Symbol 652 MovieClip [5df827_71] Frame 1
#initclip 190
Object.registerClass("5df827_71", rdSlide);
#endinitclip
var m_projectSlideIndex = 32;
Symbol 652 MovieClip [5df827_71] Frame 121
stop();
Symbol 665 MovieClip [5df827_72] Frame 1
#initclip 191
Object.registerClass("5df827_72", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 33;
var m_soundIdx = -1;
Symbol 661 MovieClip [5df827_73] Frame 1
#initclip 192
Object.registerClass("5df827_73", rdSlide);
#endinitclip
var m_projectSlideIndex = 33;
Symbol 661 MovieClip [5df827_73] Frame 136
stop();
Symbol 682 MovieClip [5df827_74] Frame 1
#initclip 193
Object.registerClass("5df827_74", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 34;
var m_soundIdx = -1;
Symbol 670 MovieClip [5df827_75] Frame 1
#initclip 194
Object.registerClass("5df827_75", rdSlide);
#endinitclip
var m_projectSlideIndex = 34;
Symbol 670 MovieClip [5df827_75] Frame 121
stop();
Symbol 687 MovieClip [5df827_76] Frame 1
#initclip 195
Object.registerClass("5df827_76", rdSlide);
#endinitclip
var m_projectSlideIndex = 35;
Symbol 687 MovieClip [5df827_76] Frame 91
stop();
Symbol 700 MovieClip Frame 6
stop();
stop();
Symbol 705 MovieClip [5df827_77] Frame 1
#initclip 196
Object.registerClass("5df827_77", rdSwf);
#endinitclip
var nTotalFrames = 6;
var nEnterFrame = 1;
var nExitFrame = 13;
var m_playThis = 0;
var m_loop = false;
var m_sync = true;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 6;
var m_isGlobal = false;
var m_swfwidth = 720;
stop();
var m_swfheight = 579;
var m_mustBeReady = true;
var m_slideFrame = 0;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 0;
var m_outEffectFrames = 0;
var inBegin = 1;
var inEnd = 1;
var outBegin = 13;
var outEnd = 13;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 36;
var m_soundIdx = -1;
Symbol 698 MovieClip [5df827_78] Frame 1
#initclip 197
Object.registerClass("5df827_78", rdSlide);
#endinitclip
var m_projectSlideIndex = 36;
var m_Sub_mc_array = new Array("s36_i1_swf_mc");
Symbol 698 MovieClip [5df827_78] Frame 13
stop();
Symbol 713 MovieClip [5df827_79] Frame 1
#initclip 198
Object.registerClass("5df827_79", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 37;
var m_soundIdx = -1;
Symbol 707 MovieClip [5df827_80] Frame 1
#initclip 199
Object.registerClass("5df827_80", rdSlide);
#endinitclip
var m_projectSlideIndex = 37;
Symbol 707 MovieClip [5df827_80] Frame 121
stop();
Symbol 722 MovieClip [5df827_81] Frame 1
#initclip 200
Object.registerClass("5df827_81", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 38;
var m_soundIdx = -1;
Symbol 718 MovieClip [5df827_82] Frame 1
#initclip 201
Object.registerClass("5df827_82", rdSlide);
#endinitclip
var m_projectSlideIndex = 38;
Symbol 718 MovieClip [5df827_82] Frame 121
stop();
Symbol 731 MovieClip [5df827_83] Frame 1
#initclip 202
Object.registerClass("5df827_83", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 39;
var m_soundIdx = -1;
Symbol 727 MovieClip [5df827_84] Frame 1
#initclip 203
Object.registerClass("5df827_84", rdSlide);
#endinitclip
var m_projectSlideIndex = 39;
Symbol 727 MovieClip [5df827_84] Frame 130
stop();
Symbol 754 MovieClip [5df827_85] Frame 1
#initclip 204
Object.registerClass("5df827_85", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 40;
var m_soundIdx = -1;
Symbol 759 MovieClip [5df827_86] Frame 1
#initclip 205
Object.registerClass("5df827_86", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 86;
var outEnd = 101;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 40;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 738 MovieClip [5df827_87] Frame 1
#initclip 206
Object.registerClass("5df827_87", rdSlide);
#endinitclip
var m_projectSlideIndex = 40;
Symbol 738 MovieClip [5df827_87] Frame 130
stop();
Symbol 764 MovieClip [5df827_88] Frame 1
#initclip 207
Object.registerClass("5df827_88", rdSlide);
#endinitclip
var m_projectSlideIndex = 41;
Symbol 764 MovieClip [5df827_88] Frame 91
stop();
Symbol 783 MovieClip Frame 52
stop();
stop();
Symbol 796 MovieClip [5df827_89] Frame 1
#initclip 208
Object.registerClass("5df827_89", rdSwf);
#endinitclip
var nTotalFrames = 52;
var nEnterFrame = 1;
var nExitFrame = 76;
var m_playThis = 0;
var m_loop = false;
var m_sync = true;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 52;
var m_isGlobal = false;
var m_swfwidth = 720;
stop();
var m_swfheight = 579;
var m_mustBeReady = true;
var m_slideFrame = 0;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 0;
var m_outEffectFrames = 0;
var inBegin = 1;
var inEnd = 1;
var outBegin = 76;
var outEnd = 76;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 42;
var m_soundIdx = -1;
Symbol 781 MovieClip [5df827_90] Frame 1
#initclip 209
Object.registerClass("5df827_90", rdSlide);
#endinitclip
var m_projectSlideIndex = 42;
var m_Sub_mc_array = new Array("s42_i1_swf_mc");
Symbol 781 MovieClip [5df827_90] Frame 76
stop();
Symbol 804 MovieClip [5df827_91] Frame 1
#initclip 210
Object.registerClass("5df827_91", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 43;
var m_soundIdx = -1;
Symbol 798 MovieClip [5df827_92] Frame 1
#initclip 211
Object.registerClass("5df827_92", rdSlide);
#endinitclip
var m_projectSlideIndex = 43;
Symbol 798 MovieClip [5df827_92] Frame 121
stop();
Symbol 827 MovieClip [5df827_93] Frame 1
#initclip 212
Object.registerClass("5df827_93", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 44;
var m_soundIdx = -1;
Symbol 831 MovieClip [5df827_94] Frame 1
#initclip 213
Object.registerClass("5df827_94", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 44;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 811 MovieClip [5df827_95] Frame 1
#initclip 214
Object.registerClass("5df827_95", rdSlide);
#endinitclip
var m_projectSlideIndex = 44;
Symbol 811 MovieClip [5df827_95] Frame 130
stop();
Symbol 861 MovieClip [5df827_96] Frame 1
#initclip 215
Object.registerClass("5df827_96", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 45;
var m_soundIdx = -1;
Symbol 865 MovieClip [5df827_97] Frame 1
#initclip 216
Object.registerClass("5df827_97", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 45;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 837 MovieClip [5df827_98] Frame 1
#initclip 217
Object.registerClass("5df827_98", rdSlide);
#endinitclip
var m_projectSlideIndex = 45;
Symbol 837 MovieClip [5df827_98] Frame 130
stop();
Symbol 883 MovieClip [5df827_99] Frame 1
#initclip 218
Object.registerClass("5df827_99", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 46;
var m_soundIdx = -1;
Symbol 871 MovieClip [5df827_100] Frame 1
#initclip 219
Object.registerClass("5df827_100", rdSlide);
#endinitclip
var m_projectSlideIndex = 46;
Symbol 871 MovieClip [5df827_100] Frame 121
stop();
Symbol 898 MovieClip [5df827_101] Frame 1
#initclip 220
Object.registerClass("5df827_101", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 47;
var m_soundIdx = -1;
Symbol 888 MovieClip [5df827_102] Frame 1
#initclip 221
Object.registerClass("5df827_102", rdSlide);
#endinitclip
var m_projectSlideIndex = 47;
Symbol 888 MovieClip [5df827_102] Frame 121
stop();
Symbol 925 MovieClip [5df827_103] Frame 1
#initclip 222
Object.registerClass("5df827_103", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 55;
var inEnd = 70;
var outBegin = 130;
var outEnd = 145;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 48;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 903 MovieClip [5df827_104] Frame 1
#initclip 223
Object.registerClass("5df827_104", rdSlide);
#endinitclip
var m_projectSlideIndex = 48;
Symbol 903 MovieClip [5df827_104] Frame 178
stop();
Symbol 941 MovieClip [5df827_105] Frame 1
#initclip 224
Object.registerClass("5df827_105", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 49;
var m_soundIdx = -1;
Symbol 931 MovieClip [5df827_106] Frame 1
#initclip 225
Object.registerClass("5df827_106", rdSlide);
#endinitclip
var m_projectSlideIndex = 49;
Symbol 931 MovieClip [5df827_106] Frame 121
stop();
Symbol 980 MovieClip [5df827_107] Frame 1
#initclip 226
Object.registerClass("5df827_107", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 100;
var inEnd = 115;
var outBegin = 175;
var outEnd = 190;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 50;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 946 MovieClip [5df827_108] Frame 1
#initclip 227
Object.registerClass("5df827_108", rdSlide);
#endinitclip
var m_projectSlideIndex = 50;
Symbol 946 MovieClip [5df827_108] Frame 220
stop();
Symbol 998 MovieClip [5df827_109] Frame 1
#initclip 228
Object.registerClass("5df827_109", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 51;
var m_soundIdx = -1;
Symbol 986 MovieClip [5df827_110] Frame 1
#initclip 229
Object.registerClass("5df827_110", rdSlide);
#endinitclip
var m_projectSlideIndex = 51;
Symbol 986 MovieClip [5df827_110] Frame 121
stop();
Symbol 1015 MovieClip [5df827_111] Frame 1
#initclip 230
Object.registerClass("5df827_111", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 52;
var m_soundIdx = -1;
Symbol 1003 MovieClip [5df827_112] Frame 1
#initclip 231
Object.registerClass("5df827_112", rdSlide);
#endinitclip
var m_projectSlideIndex = 52;
Symbol 1003 MovieClip [5df827_112] Frame 121
stop();
Symbol 1032 MovieClip [5df827_113] Frame 1
#initclip 232
Object.registerClass("5df827_113", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 53;
var m_soundIdx = -1;
Symbol 1020 MovieClip [5df827_114] Frame 1
#initclip 233
Object.registerClass("5df827_114", rdSlide);
#endinitclip
var m_projectSlideIndex = 53;
Symbol 1020 MovieClip [5df827_114] Frame 121
stop();
Symbol 1045 MovieClip [5df827_115] Frame 1
#initclip 234
Object.registerClass("5df827_115", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 54;
var m_soundIdx = -1;
Symbol 1037 MovieClip [5df827_116] Frame 1
#initclip 235
Object.registerClass("5df827_116", rdSlide);
#endinitclip
var m_projectSlideIndex = 54;
Symbol 1037 MovieClip [5df827_116] Frame 121
stop();
Symbol 1090 MovieClip [5df827_117] Frame 1
#initclip 236
Object.registerClass("5df827_117", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 55;
var inEnd = 70;
var outBegin = 130;
var outEnd = 145;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 55;
var m_soundIdx = -1;
Symbol 1050 MovieClip [5df827_118] Frame 1
#initclip 237
Object.registerClass("5df827_118", rdSlide);
#endinitclip
var m_projectSlideIndex = 55;
Symbol 1050 MovieClip [5df827_118] Frame 178
stop();
Symbol 1103 MovieClip [5df827_119] Frame 1
#initclip 238
Object.registerClass("5df827_119", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 56;
var m_soundIdx = -1;
Symbol 1095 MovieClip [5df827_120] Frame 1
#initclip 239
Object.registerClass("5df827_120", rdSlide);
#endinitclip
var m_projectSlideIndex = 56;
Symbol 1095 MovieClip [5df827_120] Frame 121
stop();
Symbol 1118 MovieClip [5df827_121] Frame 1
#initclip 240
Object.registerClass("5df827_121", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 57;
var m_soundIdx = -1;
Symbol 1108 MovieClip [5df827_122] Frame 1
#initclip 241
Object.registerClass("5df827_122", rdSlide);
#endinitclip
var m_projectSlideIndex = 57;
Symbol 1108 MovieClip [5df827_122] Frame 121
stop();
Symbol 1129 MovieClip [5df827_123] Frame 1
#initclip 242
Object.registerClass("5df827_123", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 58;
var m_soundIdx = -1;
Symbol 1123 MovieClip [5df827_124] Frame 1
#initclip 243
Object.registerClass("5df827_124", rdSlide);
#endinitclip
var m_projectSlideIndex = 58;
Symbol 1123 MovieClip [5df827_124] Frame 121
stop();
Symbol 1138 MovieClip [5df827_125] Frame 1
#initclip 244
Object.registerClass("5df827_125", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 59;
var m_soundIdx = -1;
Symbol 1134 MovieClip [5df827_126] Frame 1
#initclip 245
Object.registerClass("5df827_126", rdSlide);
#endinitclip
var m_projectSlideIndex = 59;
Symbol 1134 MovieClip [5df827_126] Frame 121
stop();
Symbol 1151 MovieClip [5df827_127] Frame 1
#initclip 246
Object.registerClass("5df827_127", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 60;
var m_soundIdx = -1;
Symbol 1155 MovieClip [5df827_128] Frame 1
#initclip 247
Object.registerClass("5df827_128", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 60;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1143 MovieClip [5df827_129] Frame 1
#initclip 248
Object.registerClass("5df827_129", rdSlide);
#endinitclip
var m_projectSlideIndex = 60;
Symbol 1143 MovieClip [5df827_129] Frame 130
stop();
Symbol 1161 MovieClip [5df827_130] Frame 1
#initclip 249
Object.registerClass("5df827_130", rdSlide);
#endinitclip
var m_projectSlideIndex = 61;
Symbol 1161 MovieClip [5df827_130] Frame 91
stop();
Symbol 1178 MovieClip Frame 31
stop();
stop();
Symbol 1211 MovieClip [5df827_131] Frame 1
#initclip 250
Object.registerClass("5df827_131", rdSwf);
#endinitclip
var nTotalFrames = 31;
var nEnterFrame = 1;
var nExitFrame = 31;
var m_playThis = 0;
var m_loop = false;
var m_sync = true;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 31;
var m_isGlobal = false;
var m_swfwidth = 720;
stop();
var m_swfheight = 579;
var m_mustBeReady = true;
var m_slideFrame = 0;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 0;
var m_outEffectFrames = 0;
var inBegin = 1;
var inEnd = 1;
var outBegin = 31;
var outEnd = 31;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 62;
var m_soundIdx = -1;
Symbol 1176 MovieClip [5df827_132] Frame 1
#initclip 251
Object.registerClass("5df827_132", rdSlide);
#endinitclip
var m_projectSlideIndex = 62;
var m_Sub_mc_array = new Array("s62_i1_swf_mc");
Symbol 1176 MovieClip [5df827_132] Frame 31
stop();
Symbol 1229 MovieClip [5df827_133] Frame 1
#initclip 252
Object.registerClass("5df827_133", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 63;
var m_soundIdx = -1;
Symbol 1213 MovieClip [5df827_134] Frame 1
#initclip 253
Object.registerClass("5df827_134", rdSlide);
#endinitclip
var m_projectSlideIndex = 63;
Symbol 1213 MovieClip [5df827_134] Frame 121
stop();
Symbol 1254 MovieClip [5df827_135] Frame 1
#initclip 254
Object.registerClass("5df827_135", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 64;
var m_soundIdx = -1;
Symbol 1234 MovieClip [5df827_136] Frame 1
#initclip 255
Object.registerClass("5df827_136", rdSlide);
#endinitclip
var m_projectSlideIndex = 64;
Symbol 1234 MovieClip [5df827_136] Frame 121
stop();
Symbol 1259 MovieClip [5df827_137] Frame 1
#initclip 256
Object.registerClass("5df827_137", rdSlide);
#endinitclip
var m_projectSlideIndex = 65;
Symbol 1259 MovieClip [5df827_137] Frame 91
stop();
Symbol 1266 MovieClip Frame 75
stop();
stop();
Symbol 1367 MovieClip [5df827_138] Frame 1
#initclip 257
Object.registerClass("5df827_138", rdSwf);
#endinitclip
var nTotalFrames = 75;
var nEnterFrame = 1;
var nExitFrame = 79;
var m_playThis = 0;
var m_loop = false;
var m_sync = true;
var nPlayMovieClipFromFrame = 0;
var nPlayMovieClipToFrame = 75;
var m_isGlobal = false;
var m_swfwidth = 720;
stop();
var m_swfheight = 579;
var m_mustBeReady = true;
var m_slideFrame = 136;
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 0;
var m_outEffectFrames = 0;
var inBegin = 1;
var inEnd = 1;
var outBegin = 79;
var outEnd = 79;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 66;
var m_soundIdx = -1;
Symbol 1264 MovieClip [5df827_139] Frame 1
#initclip 258
Object.registerClass("5df827_139", rdSlide);
#endinitclip
var m_projectSlideIndex = 66;
var m_Sub_mc_array = new Array("s66_i1_swf_mc");
Symbol 1264 MovieClip [5df827_139] Frame 79
stop();
Symbol 1385 MovieClip [5df827_140] Frame 1
#initclip 259
Object.registerClass("5df827_140", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 67;
var m_soundIdx = -1;
Symbol 1369 MovieClip [5df827_141] Frame 1
#initclip 260
Object.registerClass("5df827_141", rdSlide);
#endinitclip
var m_projectSlideIndex = 67;
Symbol 1369 MovieClip [5df827_141] Frame 121
stop();
Symbol 1410 MovieClip [5df827_142] Frame 1
#initclip 261
Object.registerClass("5df827_142", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 68;
var m_soundIdx = -1;
Symbol 1390 MovieClip [5df827_143] Frame 1
#initclip 262
Object.registerClass("5df827_143", rdSlide);
#endinitclip
var m_projectSlideIndex = 68;
Symbol 1390 MovieClip [5df827_143] Frame 121
stop();
Symbol 1421 MovieClip [5df827_144] Frame 1
#initclip 263
Object.registerClass("5df827_144", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 69;
var m_soundIdx = -1;
Symbol 1415 MovieClip [5df827_145] Frame 1
#initclip 264
Object.registerClass("5df827_145", rdSlide);
#endinitclip
var m_projectSlideIndex = 69;
Symbol 1415 MovieClip [5df827_145] Frame 121
stop();
Symbol 1436 MovieClip [5df827_146] Frame 1
#initclip 265
Object.registerClass("5df827_146", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 70;
var m_soundIdx = -1;
Symbol 1440 MovieClip [5df827_147] Frame 1
#initclip 266
Object.registerClass("5df827_147", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 70;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1426 MovieClip [5df827_148] Frame 1
#initclip 267
Object.registerClass("5df827_148", rdSlide);
#endinitclip
var m_projectSlideIndex = 70;
Symbol 1426 MovieClip [5df827_148] Frame 121
stop();
Symbol 1446 MovieClip [5df827_149] Frame 1
#initclip 268
Object.registerClass("5df827_149", rdSlide);
#endinitclip
var m_projectSlideIndex = 71;
Symbol 1446 MovieClip [5df827_149] Frame 7
stop();
Symbol 1455 MovieClip [5df827_150] Frame 1
#initclip 269
Object.registerClass("5df827_150", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 72;
var m_soundIdx = -1;
Symbol 1459 MovieClip [5df827_151] Frame 1
#initclip 270
Object.registerClass("5df827_151", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 72;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1451 MovieClip [5df827_152] Frame 1
#initclip 271
Object.registerClass("5df827_152", rdSlide);
#endinitclip
var m_projectSlideIndex = 72;
Symbol 1451 MovieClip [5df827_152] Frame 121
stop();
Symbol 1465 MovieClip [5df827_153] Frame 1
#initclip 272
Object.registerClass("5df827_153", rdSlide);
#endinitclip
var m_projectSlideIndex = 73;
Symbol 1465 MovieClip [5df827_153] Frame 7
stop();
Symbol 1474 MovieClip [5df827_154] Frame 1
#initclip 273
Object.registerClass("5df827_154", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 74;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1479 MovieClip [5df827_155] Frame 1
#initclip 274
Object.registerClass("5df827_155", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 76;
var inEnd = 91;
var outBegin = 151;
var outEnd = 166;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 74;
var m_soundIdx = -1;
Symbol 1470 MovieClip [5df827_156] Frame 1
#initclip 275
Object.registerClass("5df827_156", rdSlide);
#endinitclip
var m_projectSlideIndex = 74;
Symbol 1470 MovieClip [5df827_156] Frame 196
stop();
Symbol 1490 MovieClip [5df827_157] Frame 1
#initclip 276
Object.registerClass("5df827_157", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 75;
var m_soundIdx = -1;
Symbol 1486 MovieClip [5df827_158] Frame 1
#initclip 277
Object.registerClass("5df827_158", rdSlide);
#endinitclip
var m_projectSlideIndex = 75;
Symbol 1486 MovieClip [5df827_158] Frame 121
stop();
Symbol 1501 MovieClip [5df827_159] Frame 1
#initclip 278
Object.registerClass("5df827_159", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 76;
var m_soundIdx = -1;
Symbol 1505 MovieClip [5df827_160] Frame 1
#initclip 279
Object.registerClass("5df827_160", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 76;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1495 MovieClip [5df827_161] Frame 1
#initclip 280
Object.registerClass("5df827_161", rdSlide);
#endinitclip
var m_projectSlideIndex = 76;
Symbol 1495 MovieClip [5df827_161] Frame 148
stop();
Symbol 1515 MovieClip [5df827_162] Frame 1
#initclip 281
Object.registerClass("5df827_162", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 77;
var m_soundIdx = -1;
Symbol 1511 MovieClip [5df827_163] Frame 1
#initclip 282
Object.registerClass("5df827_163", rdSlide);
#endinitclip
var m_projectSlideIndex = 77;
Symbol 1511 MovieClip [5df827_163] Frame 130
stop();
Symbol 1528 MovieClip [5df827_164] Frame 1
#initclip 283
Object.registerClass("5df827_164", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 78;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1520 MovieClip [5df827_165] Frame 1
#initclip 284
Object.registerClass("5df827_165", rdSlide);
#endinitclip
var m_projectSlideIndex = 78;
Symbol 1520 MovieClip [5df827_165] Frame 121
stop();
Symbol 1546 MovieClip [5df827_166] Frame 1
#initclip 285
Object.registerClass("5df827_166", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 79;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1534 MovieClip [5df827_167] Frame 1
#initclip 286
Object.registerClass("5df827_167", rdSlide);
#endinitclip
var m_projectSlideIndex = 79;
Symbol 1534 MovieClip [5df827_167] Frame 121
stop();
Symbol 1554 MovieClip [5df827_168] Frame 1
#initclip 287
Object.registerClass("5df827_168", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 80;
var m_soundIdx = -1;
Symbol 1552 MovieClip [5df827_169] Frame 1
#initclip 288
Object.registerClass("5df827_169", rdSlide);
#endinitclip
var m_projectSlideIndex = 80;
Symbol 1552 MovieClip [5df827_169] Frame 121
stop();
Symbol 1573 MovieClip [5df827_170] Frame 1
#initclip 289
Object.registerClass("5df827_170", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 81;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1559 MovieClip [5df827_171] Frame 1
#initclip 290
Object.registerClass("5df827_171", rdSlide);
#endinitclip
var m_projectSlideIndex = 81;
Symbol 1559 MovieClip [5df827_171] Frame 121
stop();
Symbol 1587 MovieClip [5df827_172] Frame 1
#initclip 291
Object.registerClass("5df827_172", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 82;
var m_soundIdx = -1;
Symbol 1579 MovieClip [5df827_173] Frame 1
#initclip 292
Object.registerClass("5df827_173", rdSlide);
#endinitclip
var m_projectSlideIndex = 82;
Symbol 1579 MovieClip [5df827_173] Frame 121
stop();
Symbol 1602 MovieClip [5df827_174] Frame 1
#initclip 293
Object.registerClass("5df827_174", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 83;
var m_soundIdx = -1;
Symbol 1606 MovieClip [5df827_175] Frame 1
#initclip 294
Object.registerClass("5df827_175", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 83;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1592 MovieClip [5df827_176] Frame 1
#initclip 295
Object.registerClass("5df827_176", rdSlide);
#endinitclip
var m_projectSlideIndex = 83;
Symbol 1592 MovieClip [5df827_176] Frame 121
stop();
Symbol 1612 MovieClip [5df827_177] Frame 1
#initclip 296
Object.registerClass("5df827_177", rdSlide);
#endinitclip
var m_projectSlideIndex = 84;
Symbol 1612 MovieClip [5df827_177] Frame 7
stop();
Symbol 1621 MovieClip [5df827_178] Frame 1
#initclip 297
Object.registerClass("5df827_178", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 85;
var m_soundIdx = -1;
Symbol 1625 MovieClip [5df827_179] Frame 1
#initclip 298
Object.registerClass("5df827_179", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 85;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1617 MovieClip [5df827_180] Frame 1
#initclip 299
Object.registerClass("5df827_180", rdSlide);
#endinitclip
var m_projectSlideIndex = 85;
Symbol 1617 MovieClip [5df827_180] Frame 121
stop();
Symbol 1631 MovieClip [5df827_181] Frame 1
#initclip 300
Object.registerClass("5df827_181", rdSlide);
#endinitclip
var m_projectSlideIndex = 86;
Symbol 1631 MovieClip [5df827_181] Frame 7
stop();
Symbol 1642 MovieClip [5df827_182] Frame 1
#initclip 301
Object.registerClass("5df827_182", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 87;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1647 MovieClip [5df827_183] Frame 1
#initclip 302
Object.registerClass("5df827_183", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 76;
var inEnd = 91;
var outBegin = 151;
var outEnd = 166;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 87;
var m_soundIdx = -1;
Symbol 1638 MovieClip [5df827_184] Frame 1
#initclip 303
Object.registerClass("5df827_184", rdSlide);
#endinitclip
var m_projectSlideIndex = 87;
Symbol 1638 MovieClip [5df827_184] Frame 196
stop();
Symbol 1656 MovieClip [5df827_185] Frame 1
#initclip 304
Object.registerClass("5df827_185", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 88;
var m_soundIdx = -1;
Symbol 1652 MovieClip [5df827_186] Frame 1
#initclip 305
Object.registerClass("5df827_186", rdSlide);
#endinitclip
var m_projectSlideIndex = 88;
Symbol 1652 MovieClip [5df827_186] Frame 121
stop();
Symbol 1667 MovieClip [5df827_187] Frame 1
#initclip 306
Object.registerClass("5df827_187", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 89;
var m_soundIdx = -1;
Symbol 1671 MovieClip [5df827_188] Frame 1
#initclip 307
Object.registerClass("5df827_188", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 89;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1661 MovieClip [5df827_189] Frame 1
#initclip 308
Object.registerClass("5df827_189", rdSlide);
#endinitclip
var m_projectSlideIndex = 89;
Symbol 1661 MovieClip [5df827_189] Frame 151
stop();
Symbol 1681 MovieClip [5df827_190] Frame 1
#initclip 309
Object.registerClass("5df827_190", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 90;
var m_soundIdx = -1;
Symbol 1677 MovieClip [5df827_191] Frame 1
#initclip 310
Object.registerClass("5df827_191", rdSlide);
#endinitclip
var m_projectSlideIndex = 90;
Symbol 1677 MovieClip [5df827_191] Frame 121
stop();
Symbol 1700 MovieClip [5df827_192] Frame 1
#initclip 311
Object.registerClass("5df827_192", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 91;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1686 MovieClip [5df827_193] Frame 1
#initclip 312
Object.registerClass("5df827_193", rdSlide);
#endinitclip
var m_projectSlideIndex = 91;
Symbol 1686 MovieClip [5df827_193] Frame 121
stop();
Symbol 1716 MovieClip [5df827_194] Frame 1
#initclip 313
Object.registerClass("5df827_194", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 92;
var m_soundIdx = -1;
Symbol 1706 MovieClip [5df827_195] Frame 1
#initclip 314
Object.registerClass("5df827_195", rdSlide);
#endinitclip
var m_projectSlideIndex = 92;
Symbol 1706 MovieClip [5df827_195] Frame 139
stop();
Symbol 1725 MovieClip [5df827_196] Frame 1
#initclip 315
Object.registerClass("5df827_196", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 93;
var m_soundIdx = -1;
Symbol 1721 MovieClip [5df827_197] Frame 1
#initclip 316
Object.registerClass("5df827_197", rdSlide);
#endinitclip
var m_projectSlideIndex = 93;
Symbol 1721 MovieClip [5df827_197] Frame 121
stop();
Symbol 1738 MovieClip [5df827_198] Frame 1
#initclip 317
Object.registerClass("5df827_198", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 94;
var m_soundIdx = -1;
Symbol 1730 MovieClip [5df827_199] Frame 1
#initclip 318
Object.registerClass("5df827_199", rdSlide);
#endinitclip
var m_projectSlideIndex = 94;
Symbol 1730 MovieClip [5df827_199] Frame 130
stop();
Symbol 1747 MovieClip [5df827_200] Frame 1
#initclip 319
Object.registerClass("5df827_200", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 95;
var m_soundIdx = -1;
Symbol 1743 MovieClip [5df827_201] Frame 1
#initclip 320
Object.registerClass("5df827_201", rdSlide);
#endinitclip
var m_projectSlideIndex = 95;
Symbol 1743 MovieClip [5df827_201] Frame 130
stop();
Symbol 1754 MovieClip [5df827_202] Frame 1
#initclip 321
Object.registerClass("5df827_202", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 96;
var m_soundIdx = -1;
Symbol 1752 MovieClip [5df827_203] Frame 1
#initclip 322
Object.registerClass("5df827_203", rdSlide);
#endinitclip
var m_projectSlideIndex = 96;
Symbol 1752 MovieClip [5df827_203] Frame 121
stop();
Symbol 1763 MovieClip [5df827_204] Frame 1
#initclip 323
Object.registerClass("5df827_204", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 97;
var m_soundIdx = -1;
Symbol 1759 MovieClip [5df827_205] Frame 1
#initclip 324
Object.registerClass("5df827_205", rdSlide);
#endinitclip
var m_projectSlideIndex = 97;
Symbol 1759 MovieClip [5df827_205] Frame 121
stop();
Symbol 1768 MovieClip [5df827_206] Frame 1
#initclip 325
Object.registerClass("5df827_206", rdSlide);
#endinitclip
var m_projectSlideIndex = 98;
Symbol 1768 MovieClip [5df827_206] Frame 91
stop();
Symbol 1777 MovieClip [5df827_207] Frame 1
#initclip 326
Object.registerClass("5df827_207", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 99;
var m_soundIdx = -1;
Symbol 1775 MovieClip [5df827_208] Frame 1
#initclip 327
Object.registerClass("5df827_208", rdSlide);
#endinitclip
var m_projectSlideIndex = 99;
Symbol 1775 MovieClip [5df827_208] Frame 121
stop();
Symbol 1792 MovieClip [5df827_209] Frame 1
#initclip 328
Object.registerClass("5df827_209", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 100;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1782 MovieClip [5df827_210] Frame 1
#initclip 329
Object.registerClass("5df827_210", rdSlide);
#endinitclip
var m_projectSlideIndex = 100;
Symbol 1782 MovieClip [5df827_210] Frame 121
stop();
Symbol 1808 MovieClip [5df827_211] Frame 1
#initclip 330
Object.registerClass("5df827_211", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 101;
var m_soundIdx = -1;
Symbol 1798 MovieClip [5df827_212] Frame 1
#initclip 331
Object.registerClass("5df827_212", rdSlide);
#endinitclip
var m_projectSlideIndex = 101;
Symbol 1798 MovieClip [5df827_212] Frame 121
stop();
Symbol 1817 MovieClip [5df827_213] Frame 1
#initclip 332
Object.registerClass("5df827_213", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 102;
var m_soundIdx = -1;
Symbol 1813 MovieClip [5df827_214] Frame 1
#initclip 333
Object.registerClass("5df827_214", rdSlide);
#endinitclip
var m_projectSlideIndex = 102;
Symbol 1813 MovieClip [5df827_214] Frame 136
stop();
Symbol 1826 MovieClip [5df827_215] Frame 1
#initclip 334
Object.registerClass("5df827_215", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 103;
var m_soundIdx = -1;
Symbol 1822 MovieClip [5df827_216] Frame 1
#initclip 335
Object.registerClass("5df827_216", rdSlide);
#endinitclip
var m_projectSlideIndex = 103;
Symbol 1822 MovieClip [5df827_216] Frame 121
stop();
Symbol 1841 MovieClip [5df827_217] Frame 1
#initclip 336
Object.registerClass("5df827_217", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 104;
var m_soundIdx = -1;
Symbol 1845 MovieClip [5df827_218] Frame 1
#initclip 337
Object.registerClass("5df827_218", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 104;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1831 MovieClip [5df827_219] Frame 1
#initclip 338
Object.registerClass("5df827_219", rdSlide);
#endinitclip
var m_projectSlideIndex = 104;
Symbol 1831 MovieClip [5df827_219] Frame 130
stop();
Symbol 1865 MovieClip [5df827_220] Frame 1
#initclip 339
Object.registerClass("5df827_220", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 105;
var m_soundIdx = -1;
Symbol 1851 MovieClip [5df827_221] Frame 1
#initclip 340
Object.registerClass("5df827_221", rdSlide);
#endinitclip
var m_projectSlideIndex = 105;
Symbol 1851 MovieClip [5df827_221] Frame 121
stop();
Symbol 1906 MovieClip [5df827_222] Frame 1
#initclip 341
Object.registerClass("5df827_222", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 55;
var inEnd = 70;
var outBegin = 130;
var outEnd = 145;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 106;
var m_soundIdx = -1;
Symbol 1870 MovieClip [5df827_223] Frame 1
#initclip 342
Object.registerClass("5df827_223", rdSlide);
#endinitclip
var m_projectSlideIndex = 106;
Symbol 1870 MovieClip [5df827_223] Frame 178
stop();
Symbol 1921 MovieClip [5df827_224] Frame 1
#initclip 343
Object.registerClass("5df827_224", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 107;
var m_soundIdx = -1;
Symbol 1925 MovieClip [5df827_225] Frame 1
#initclip 344
Object.registerClass("5df827_225", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 107;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1911 MovieClip [5df827_226] Frame 1
#initclip 345
Object.registerClass("5df827_226", rdSlide);
#endinitclip
var m_projectSlideIndex = 107;
Symbol 1911 MovieClip [5df827_226] Frame 121
stop();
Symbol 1931 MovieClip [5df827_227] Frame 1
#initclip 346
Object.registerClass("5df827_227", rdSlide);
#endinitclip
var m_projectSlideIndex = 108;
Symbol 1931 MovieClip [5df827_227] Frame 7
stop();
Symbol 1940 MovieClip [5df827_228] Frame 1
#initclip 347
Object.registerClass("5df827_228", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 109;
var m_soundIdx = -1;
Symbol 1944 MovieClip [5df827_229] Frame 1
#initclip 348
Object.registerClass("5df827_229", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 109;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1936 MovieClip [5df827_230] Frame 1
#initclip 349
Object.registerClass("5df827_230", rdSlide);
#endinitclip
var m_projectSlideIndex = 109;
Symbol 1936 MovieClip [5df827_230] Frame 121
stop();
Symbol 1950 MovieClip [5df827_231] Frame 1
#initclip 350
Object.registerClass("5df827_231", rdSlide);
#endinitclip
var m_projectSlideIndex = 110;
Symbol 1950 MovieClip [5df827_231] Frame 7
stop();
Symbol 1961 MovieClip [5df827_232] Frame 1
#initclip 351
Object.registerClass("5df827_232", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 1;
var inEnd = 16;
var outBegin = 76;
var outEnd = 91;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 111;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1966 MovieClip [5df827_233] Frame 1
#initclip 352
Object.registerClass("5df827_233", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 76;
var inEnd = 91;
var outBegin = 151;
var outEnd = 166;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 111;
var m_soundIdx = -1;
Symbol 1957 MovieClip [5df827_234] Frame 1
#initclip 353
Object.registerClass("5df827_234", rdSlide);
#endinitclip
var m_projectSlideIndex = 111;
Symbol 1957 MovieClip [5df827_234] Frame 196
stop();
Symbol 1977 MovieClip [5df827_235] Frame 1
#initclip 354
Object.registerClass("5df827_235", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 112;
var m_soundIdx = -1;
Symbol 1981 MovieClip [5df827_236] Frame 1
#initclip 355
Object.registerClass("5df827_236", rdItem);
#endinitclip
function inEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = ((currentFrame + 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
function outEffect(sprite_mc, currentFrame, totalEffectFrames) {
var _local1 = (((totalEffectFrames - currentFrame) - 1) * sprite_mc.m_alpha) / totalEffectFrames;
sprite_mc._alpha = _local1;
}
var m_inEffectFrames = 15;
var m_outEffectFrames = 15;
var inBegin = 10;
var inEnd = 25;
var outBegin = 85;
var outEnd = 100;
var m_alpha = 100;
var isStatic = false;
var parentSlideIndex = 112;
var m_soundIdx = -1;
_accProps = new Object();
_accProps.silent = true;
_accProps.forceSimple = true;
Symbol 1971 MovieClip [5df827_237] Frame 1
#initclip 356
Object.registerClass("5df827_237", rdSlide);
#endinitclip
var m_projectSlideIndex = 112;
Symbol 1971 MovieClip [5df827_237] Frame 151
stop();
Symbol 1987 MovieClip [5df827_238] Frame 1
#initclip 357
Object.registerClass("5df827_238", rdSlide);
#endinitclip
var m_projectSlideIndex = 113;
Symbol 1987 MovieClip [5df827_238] Frame 91
stop();