Frame 1
setProperty("/cardSim", _alpha , "100");
fscommand ("fullscreen", "true");
fscommand ("allowscale", "true");
fscommand ("showmenu", "true");
Frame 3
loadText = "20%";
Frame 5
loadText = "30%";
Frame 7
loadText = "40%";
Frame 9
loadText = "50%";
Frame 11
loadText = "60%";
Frame 13
loadText = "70%";
Frame 15
loadText = "80%";
Frame 17
loadText = "90%";
Frame 19
loadText = "100%";
Frame 24
stop();
Frame 30
stop();
timePeriod = "59";
gameDone = "2";
setProperty("/st_resetMask", _visible , "1");
tellTarget ("/contMask") {
_visible = "1";
};
rChosen = "R";
mode = "L";
attempts = "0";
tellTarget ("/scoreBox") {
_visible = "0";
};
tellTarget ("/timeClock") {
_visible = "0";
};
numCorrect = "0";
score = "0";
tellTarget ("/grid") {
_alpha = "0";
};
tellTarget ("/infoBack") {
_visible = "1";
}
Frame 33
HRtxt = "140";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Sinus Tachycardia";
INFOtxt = "Sinus Tachycardia most often results from increased sympathetic stimulation (i.e. due to pain, fever, increased oxygen demand, and/or hypovolemia). It usually has a narrow QRS. The rate is often limited to below 150 / minute.";
} else {
InfoTxt_Header = " ";
INFOtxt = " ";
setProperty("/infoBack", _visible , "0");
setProperty("/st_resetMask", _visible , "0");
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 63
gotoAndPlay (33);
Frame 65
HRtxt = "56";
if (mode eq "L") {
InfoTxt_Header = "Sinus Bradycardia";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Sinus Bradycardia with rates greater than 50/minute may be well tolerated by healthy adults. Athletes may routinely be in sinus bradycardia due to an optimal cardiac stroke volume that requires less HR to yield acceptable cardiac output. Sinus bradycardia may also be produced with Vagal stimulation or due to Sick Sinus Syndrome. Expect a narrow QRS with upright P waves in Lead II. ";
} else {
InfoTxt_Header = " ";
INFOtxt = " ";
setProperty("/infoBack", _visible , "0");
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 77
gotoAndPlay (65);
Frame 78
HRtxt = "52";
if (mode eq "L") {
InfoTxt_Header = "Sinus Exit Block";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Sinus exit block (sinoatrial block) results from blocked sinus impulses - impulses not getting through to depolarize the atria. While the sinus is firing on schedule, the tissue around the SA node is not carrying the impulse. The seriousness of this dysrhythmia is related to the frequency and duration of the blocks. Note that each pause is equal to a multiple of previous P-P intervals.";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 106
gotoAndPlay (78);
Frame 107
HRtxt = "44";
if (mode eq "L") {
InfoTxt_Header = "Sinus Arrest";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Sinus Arrest (a.k.a. sinus pause) occurs when the SA node fails to fire. The resulting pause is often NOT equal to the multiple of P-P intervals seen in Sinus Exit Block. Instead, often an escape pacemaker such as the AV junction will assume control of the heart. Again, like Sinus Exit Block, treatment is related to the frequency and duration of the periods of sinus arrest.";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 141
gotoAndPlay (107);
Frame 142
HRtxt = "70";
if (mode eq "L") {
InfoTxt_Header = "NSR with Premature Atrial Complexes";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Premature Atrial Complexes or PAC result from irritability to the atria resulting in increased automaticity of atrial tissue. Since the atria initiate an impulse earlier than expected from the SA node, this is a premature complex. Expect narrow QRS and flattenned, notched, peaked or biphasic P waves for the PAC.";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 182
gotoAndPlay (142);
Frame 183
HRtxt = "230";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Atrial Tachycardia";
INFOtxt = "Atrial tachycardia is an ominous rhythm with rates often between 170-230 per minute. The telltale sign of atrial tachycardia is the narrow QRS which defines its supraventricular origin and its regular, rapid pattern. This rhythm is most likely not sinus tachycardia due to its typical very fast rate . For those who are at rest, narrow QRS tachycardias over 150 / minute are most often atrial tachycardia. ";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 203
gotoAndPlay (183);
Frame 204
HRtxt = "90";
if (mode eq "L") {
InfoTxt_Header = "Atrial Fibrillation";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Atrial fibrillation is a chaotic rhythm with recognizable QRS complexes. The chaotic rhythm pattern and the absence of P waves are the hallmarks of this dysrhythmia.The chaotic baseline - known as fibrillatory waves - is quickly seen. Note: 1) atrial kick is lost here; and 2) the risk of thrombus formation is particularly significant after 48 hours.";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 255
gotoAndPlay (204);
Frame 256
HRtxt = "75";
if (mode eq "L") {
InfoTxt_Header = "Atrial Flutter";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Atrial flutter results from the development of a reentry circuit within the atria generating a loop that discharges impulses at a flutter rate of 250-350 / minute. Most often the AV junction passes every second (rate = 150, called a 2:1 response) or every fourth impulse(rate = 75, called a 4:1 response) through to the ventricles. Atrial flutter is readily identified by the sawtooth baseline. ";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 276
gotoAndPlay (256);
Frame 277
HRtxt = "72";
if (mode eq "L") {
InfoTxt_Header = "Wolff-Parkinson-White Syndrome";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Wolff-Parkinson-White syndrome is a pre-exitation occurance enabled by an accessory pathway (Bundle of Kent) that connects the atria to the ventricles .The sluring of the beginning of the QRS - called a Delta wave -results from part of the ventricles depolarizing early (preexcitation) before being met by the normal depolarization of ventricles (from the bundle branchs). A short PR interval is also expected.";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 297
gotoAndPlay (277);
Frame 298
HRtxt = "50";
if (mode eq "L") {
InfoTxt_Header = "Junctional Rhythm";
INFOtxt = "Junctional rhythm or junctional escape rhythm originates from the AV junction - AV node and Bundle of His. The expected pacemaker rate of the AV junction is 40-60 / minute. In lead II, inverted or absent P waves are expected usually with a narrow QRS. Note: an absent P wave in junctional rhythm is also associated with loss of atrial kick.";
setProperty("/infoBack", _visible , "1");
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 314
gotoAndPlay (298);
Frame 316
HRtxt = "68";
if (mode eq "L") {
InfoTxt_Header = "Premature Junctional Complex (PJC)";
setProperty("/infoBack", _visible , "1");
INFOtxt = "A PJC arises from an irritable focus within the AV junction. Characteristics of a PJC include: 1) an absent or inverted P wave in lead II; 2) a shortened PR interval - less than .12 seconds; and 3) the complex comes early or premature. ";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 356
gotoAndPlay (316);
Frame 358
HRtxt = "70";
if (mode eq "L") {
InfoTxt_Header = "Sinus Arrhythmia";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Sinus Arrhythmia is most often a benign rhythm, common in children and less common with older adults. The irregular pattern of this rhythm fluctuates with inspiration (HR increases) and expiration (HR decreases). A narrow QRS and upright P waves in Lead II is expected.";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 396
gotoAndPlay (358);
Frame 398
HRtxt = "86";
if (mode eq "L") {
InfoTxt_Header = "Accelerated Junctional";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Accelerated junctional rhythm occurs as a result of enhanced automaticity, due to increased sympathetic activity (catecholamines) and / or hypoxia. Key features of this rhythm include a rate between 60-100 / minute, inverted or absent P waves (in lead II) , shortened PR interval, and most often narrow QRS complexes. ";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 416
gotoAndPlay (398);
Frame 417
HRtxt = "118";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Junctional Tachycardia";
INFOtxt = "Junctional tachycardia occurs due to enhanced automaticity, possibly from increased sympathetic activity (catecholamines) and / or hypoxia. Key features of this rhythm include a rate over 100 / minute, inverted or absent P waves (in lead II) , shortened PR interval, and most often narrow QRS complexes. ";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 435
gotoAndPlay (417);
Frame 436
HRtxt = "60";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Wandering Pacemaker";
INFOtxt = "A Wandering Pacemaker rhythm results from a fluctuating site of impulse formation - usually between the SA node and the AV junction. This is a benign rhythm more commonly seen with narrow QRS rhythms with rates hovering around 60 / minute. The distinguishing characteristic is P wave changes that switch between upright P waves and absent / inverted P waves.";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 484
gotoAndPlay (436);
Frame 486
HRtxt = "78";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Premature Ventricular Complex";
INFOtxt = "Premature ventricular complexes (PVC) often represent increased ventricular automaticity and / or reentry phenonomen. The presence of PVC may be benign but can indicate irritable ventricles. The PVC arrives earlier than expected and is usually wide (.12 seconds or more) and bizarre. Note that the T wave will often point in an opposite direction from the QRS complex. A PVC every second complex is called ventricular bigeminy...every 3rd = ventricular trigeminy.";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 522
gotoAndPlay (486);
Frame 523
HRtxt = "40";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Idioventricular Rhythm (IVR)";
INFOtxt = "Idioventricular rhythm (IVR) occurs when the SA and AV nodes are either NOT firing or firing slower than the ventricular pacemaker rate. A common ventricular pacemaker rate is 20-40 / minute, a rate that is often not sufficient to sustain an adequate cardiac output. ";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 543
gotoAndPlay (523);
Frame 544
HRtxt = "54";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Accelerated Idioventricular Rhythm (AIVR)";
INFOtxt = "Accelerated idioventricular rhythm (AIVR) is not yet a tachycardia but is occuring at a rate greater than what is expected of the ventricles. AIVR is found with a rate of 40-100 / minute. Enhanced automaticity - possibly due to hypoxia or abundant sympathetic stimulation - increases the ventricular firing. Note that this rhythm is not usually stable and can move quickly to either asystole or ventricular tachycardia (VT).";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 560
gotoAndPlay (544);
Frame 561
HRtxt = "180";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Ventricular Tachycardia";
INFOtxt = "Ventricular tachycardia (VT) is most often an ominous rhythm due to the low cardiac output that it produces (minimal filling time and no atrial kick) and to the rhythm that VT often succumbs to - ventricular fibrillation. Causes of VT include myocardial ischemia, a PVC landing on a T wave (R-on-T ), cardiac drug toxicity and electrolyte imbalance. Non-sustained VT is referred to as runs of VT.";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 573
gotoAndPlay (561);
Frame 574
HRtxt = " - - -";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Ventricular Fibrillation";
INFOtxt = "Ventricular fibrillation (VFib) is a chaotic rhythm originating in the ventricles, resulting in no cardiac output. Coarse VFib is noted when the amplitude (height) of the rhythm is equal to or more than 3 mm. Fine VFib is less than 3 mm in height and signifies less electrical energy within the myocardium - less opportunity for a successful defibrillation.";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 602
gotoAndPlay (574);
Frame 603
HRtxt = "0";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Asystole";
INFOtxt = "Asystole is absence of cardiac electrical activity resulting in no cardiac output - no pulse. Asystole is most often an endstage rhythm. Occasionally, asystole is caused by excessive vagal tone and can be responsive to vagalytics (Atropine) and transcutaneous pacing (TCP). Always check pulse and lead placement to rule out leads off.";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 658
gotoAndPlay (603);
Frame 659
HRtxt = "65";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "NSR with First Degree AV Block";
INFOtxt = "First degree AV block results from a prolonged transmission of an impulse through the junctional area (AV node and the Bundle of His). The significant finding of this rhythm is a prolonged PR interval of more than .20 seconds. The finding of first degree AV block describes only the PR interval. Mention of the underlying rhythm should be mentioned first. ";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 681
gotoAndPlay (659);
Frame 682
HRtxt = "70";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Second Degree AV Block Type I";
INFOtxt = "Second degree AV block type I (Wenkebach or Mobitz Type I) occurs due to progressive slowing at the AV node. This results in a lengthening PR interval followed by a dropped QRS - a P wave not partnered with a QRS. The ventricular rhythm then is irregular. Second degree AV block type I may be caused by enhanced vagal tone, myocardial ischemia or the effects of drugs such as calcium-channel blockers, digitalis and beta-blockers.";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 718
gotoAndPlay (682);
Frame 719
HRtxt = "58";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Second Degree AV Block Type II";
INFOtxt = "Second Degree AV Block Type II occurs usually below the AV node at the bundle branches or less commonly at the Bundle of His. Note that one or more QRS complexes are dropped with PR intervals remaining equal. This irregular rhythm requires close monitoring: 1) low cardiac output is likely with multiple dropped QRS complexes; and 2) this rhythm can progress to complete heart block.";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 771
gotoAndPlay (719);
Frame 772
HRtxt = "44";
if (mode eq "L") {
setProperty("/infoBack", _visible , "1");
InfoTxt_Header = "Third Degree AV Block";
INFOtxt = "Third degree AV block (complete heart block) is an ominous rhythm requiring close monitoring for low cardiac output and progression to asystole or other fatal dysrhythmias. The significant characteristics of this rhythm are: 1) regular R-R intervals; and 2) chaotic PR intervals. A narrow QRS denotes a higher block while a wide QRS points more towards a block in the bundle branches.";
} else {
setProperty("/infoBack", _visible , "0");
InfoTxt_Header = " ";
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 846
gotoAndPlay (772);
Frame 848
HRtxt = "80";
if (mode eq "L") {
InfoTxt_Header = "Regular Sinus Rhythm";
setProperty("/infoBack", _visible , "1");
INFOtxt = "Sinus rhythm - also known as regular sinus rhythm (RSR) or normal sinus rhythm (NSR) - is the most common adult rhythm with rates between 60-100/minute. The QRS is most often narrow with upright P waves in Lead II.";
} else {
InfoTxt_Header = " ";
setProperty("/infoBack", _visible , "0");
INFOtxt = " ";
}
tellTarget ("/grid") {
_alpha = "0";
}
Frame 857
gotoAndPlay (848);
Frame 865
tellTarget ("/grid") {
_alpha = "0";
};
if (mode eq "L") {
gotoAndPlay(rNum);
} else if ((feedback ne "Correct!") and (rChosen ne "R")) {
if (rChosen eq rNum) {
stop();
tellTarget ("/Clock") {
gotoAndStop ("Stop");
};
tellTarget ("/contMask") {
_visible = "0";
};
numCorrect = numCorrect + "1";
feedback = "Correct!";
score = int((numCorrect / attempts) * "100");
} else if (rChosen ne rNum) {
feedback = "Try Again";
attempts = attempts + "1";
score = int((numCorrect / attempts) * "100");
}
}
Symbol 17 MovieClip Frame 1
minutes = "00";
seconds = "00";
now = "0";
timeSaved = "0";
stop();
Symbol 17 MovieClip Frame 11
startTime = getTimer();
timeSaved = now;
gotoAndPlay (21);
Symbol 17 MovieClip Frame 21
now = (getTimer() - startTime) + timeSaved;
Symbol 17 MovieClip Frame 22
gotoAndPlay (31);
Symbol 17 MovieClip Frame 31
if ("1000" < now) {
minutes = int((substring(now, "1", length(now) - "3")) / "60");
seconds = int((substring(now, "1", length(now) - "3")) - (minutes * "60"));
}
tPeriod = _level0:timePeriod;
if (int(minutes) == tPeriod) {
gotoAndStop (41);
tellTarget ("_level0") {
setProperty("infoBack", _visible , "1");
gameDone = "1";
feedback = " ";
Set("_level0:avTime", int((timePeriod * "60") / numCorrect));
stop();
if (getProperty("/contMask", _visible) == "0") {
if (score >= "80") {
if (name eq "") {
InfoTxt_Header = "Congratulations!";
} else {
InfoTxt_Header = ("Congratulations, " add name) add "!";
}
INFOtxt = ((((((("You have correctly identified " add numCorrect) add " rhythms of ") add attempts) add " for a total score of ") add score) add "%. Well done.The average time taken to interpret each ECG is ") add avTime) add " seconds.";
} else if ((score < "80") and (score >= "60")) {
if (name ne "") {
InfoTxt_Header = name;
} else {
InfoTxt_Header = " ";
}
INFOtxt = ((((((("You have correctly identified " add numCorrect) add " rhythms of ") add attempts) add " for a total score of ") add score) add "%. A little more practice should get you to consistently and correctly identify all of the rhyhms. The average time taken to interpret each ECG is ") add avTime) add " seconds.";
} else {
if (name ne "") {
InfoTxt_Header = ("More practice, " add name) add ".";
} else {
InfoTxt_Header = "More Practice Needed!";
}
INFOtxt = ((((("You have correctly identified " add numCorrect) add " rhythms of ") add attempts) add " for a total score of ") add score) add "%. Hang in there. More practice should get you to consistently and correctly identify all of the rhythms.";
}
} else if (score >= "80") {
if (name ne "") {
InfoTxt_Header = ("Congratulations, " add name) add "!";
} else {
InfoTxt_Header = "Congratulations!";
}
INFOtxt = ((((((("You have correctly identified " add numCorrect) add " rhythms of ") add (attempts - "1")) add " for a total score of ") add score) add "%. Well done. The average time taken to interpret each ECG is ") add avTime) add " seconds.";
} else if ((score < "80") and (score >= "60")) {
if (name ne "") {
InfoTxt_Header = name add ", you have what it takes!";
} else {
InfoTxt_Header = "You have what it takes!";
}
INFOtxt = ((((((("You have correctly identified " add numCorrect) add " rhythms of ") add (attempts - "1")) add " for a total score of ") add score) add "%. A little more practice should get you to consistently and correctly identify all of the rhyhms. The average time taken to interpret each ECG is ") add avTime) add " seconds.";
} else {
if (name ne "") {
InfoTxt_Header = ("More practice, " add name) add "?";
} else {
InfoTxt_Header = "More practice?";
}
INFOtxt = ((((("You have correctly identified " add numCorrect) add " rhythms of ") add (attempts - "1")) add " for a total score of ") add score) add "%. Hang in there. More practice should get you to consistently and correctly identify all of the rhyhms.";
}
setProperty("/contMask", _visible , "1");
};
}
if (seconds < "10") {
seconds = "0" add seconds;
}
if (minutes < "10") {
minutes = "0" add minutes;
}
gotoAndPlay (21);
Symbol 17 MovieClip Frame 41
stop();
Symbol 31 Button
on (release) {
gotoAndStop (6);
}
Symbol 34 Button
on (release) {
getURL ("http://www.skillstat.com/home1.htm", "_blank");
}
Symbol 36 Button
on (release) {
getURL ("http://www.skillstat.com/flash.htm", "_blank");
}
Symbol 38 Button
on (release) {
getURL ("http://www.skillstat.com/ECGskills.htm", "_blank");
}
Symbol 40 Button
on (release) {
getURL ("http://www.skillstat.com/helpIndex.htm", "_blank");
}
Symbol 43 Button
on (release) {
stop();
Set("_level0:InfoTxt_Header", "Copyright Information");
Set("_level0:INFOtxt", "\"The Six Second ECG\" and the \"Dynamic Cardiac Rhythm Simulator\" are Copyright 2000 Nursecom ET. SkillStat Learning Inc. is licensed to distribute and market these products. Contact skillStat Learning Inc. regarding any commercial use of these products.");
}
Symbol 44 Button
on (rollOut) {
gotoAndStop (1);
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 6
stop();
Symbol 67 Button
on (release) {
gotoAndStop (6);
}
Symbol 69 Button
on (release) {
tellTarget ("_level0") {
rChosen = "R";
mode = "G";
gotoAndStop ("gStart");
setProperty("/st_resetMask", _visible , "0");
};
tellTarget ("_level0/infoBack") {
_visible = "1";
};
tellTarget ("_level0/timeClock") {
_visible = "1";
};
tellTarget ("_level0/scorebox") {
_visible = "1";
};
tellTarget ("_level0/contMask") {
_visible = "1";
};
tellTarget ("_level0/grid") {
_alpha = "0";
};
Set("_level0:feedback", " ");
tellTarget ("_level0/Clock") {
gotoAndStop("Reset");
};
Set("_level0:gameTime", "(1 minute)");
Set("_level0:timePeriod", "1");
Set("_level0:attempts", "0");
Set("_level0:score", "0");
Set("_level0:numCorrect", "0");
Set("_level0:InfoTxt_Header", "Try Out the CardiacSim Game!");
Set("_level0:INFOtxt", "The \"CardiacSim Game\" , Game 1, begins by clicking on \"Start\". The objective is to correctly identify as many rhythms as possible within a certain timeframe. Clicking \"Freeze\" will stop the rhythm and provide a grid, but the clock continues. Click on \"Reset\" to restart the game.");
Set("_level0:title", "The CardiacSim Challenge");
}
Symbol 71 Button
on (release) {
tellTarget ("_level0") {
gotoAndStop ("lStart");
feedback = " ";
title = "Cardiac Rhythm Generator";
mode = "L";
setProperty("/st_resetMask", _visible , "1");
};
tellTarget ("_level0/infoBack") {
_visible = "1";
};
tellTarget ("_level0/timeClock") {
_visible = "0";
};
tellTarget ("_level0/scorebox") {
_visible = "0";
};
tellTarget ("_level0/contMask") {
_visible = "1";
};
Set("_level0:InfoTxt_Header", "Explore. Review. Play");
Set("_level0:INFOtxt", "The \"Cardiac Rhythm Simulator\" generates 26 of the most common cardiac rhythms for you to explore, review and play. Simply click on any rhythm name and the rhythm is diplayed. Click on \"Freeze\" to stop the rhythm and display a grid. Clicking the \"Start\" button resumes the rhythm once again. ");
}
Symbol 73 Button
on (release) {
fscommand ("quit");
}
Symbol 74 Button
on (rollOut) {
gotoAndStop (1);
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 6
stop();
Symbol 230 Button
on (release) {
gotoAndStop (30);
}
Symbol 245 Button
on (release) {
stop();
tellTarget ("/grid") {
_alpha = "40";
}
}
Symbol 246 Button
on (release) {
if (mode eq "G") {
if (gameDone == "1") {
stop();
} else if ((rChosen eq "R") and (gameDone <> "1")) {
tellTarget ("/grid") {
_alpha = "0";
};
newRhythm = random("26");
rChosen = "R" add newRhythm;
feedback = " ";
gotoAndPlay(rChosen);
tellTarget ("/Clock") {
gotoAndStop("Start");
};
attempts = "1";
tellTarget ("/contMask") {
_visible = "1";
};
} else {
play();
tellTarget ("/grid") {
_alpha = "0";
};
}
} else {
play();
tellTarget ("/grid") {
_alpha = "0";
};
}
}
Symbol 250 Button
on (release) {
getURL ("http://www.skillstat.com/share.htm", "_blank");
}
Symbol 252 Button
on (release) {
gotoAndStop (6);
}
Symbol 254 Button
on (release) {
Set("_level0:gameTime", "unlimited time");
Set("_level0:timePeriod", "59");
}
Symbol 256 Button
on (release) {
Set("_level0:gameTime", "( 3 minutes )");
Set("_level0:timePeriod", "3");
}
Symbol 258 Button
on (release) {
Set("_level0:gameTime", "( 1 minute )");
Set("_level0:timePeriod", "1");
}
Symbol 259 Button
on (rollOut) {
gotoAndStop (1);
}
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 6
stop();
Symbol 263 Button
on (release) {
if (mode eq "G") {
rChosen = "R";
gameDone = "0";
gotoAndStop (31);
tellTarget ("/grid") {
_alpha = "0";
};
feedback = " ";
tellTarget ("/Clock") {
gotoAndStop("Reset");
};
attempts = "0";
score = "0";
numCorrect = "0";
tellTarget ("/contMask") {
_visible = "1";
};
tellTarget ("/infoBack") {
_visible = "1";
};
mode = "G";
InfoTxt_Header = "Try Out the CardiacSim Game!";
INFOtxt = "The \"CardiacSim Game\" , Game 1, begins by clicking on \"Start\". The objective is to correctly identify as many rhythms as possible within a certain timeframe. Clicking \"Freeze\" will stop the rhythm and provide a grid, but the clock continues. Click on \"Reset\" to restart the game.";
title = "The CardiacSim Challenge";
}
}
Symbol 265 Button
on (release) {
if (getProperty("/contMask", _visible) == "0") {
newR = rChosen;
newRhythm = random("26");
if (newRhythm == "0") {
newRhythm = "1";
}
rChosen = "R" add newRhythm;
if (newR ne rChosen) {
gotoAndPlay(rChosen);
} else {
newRhythm = random("26");
rChosen = "R" add newRhythm;
gotoAndPlay(rChosen);
}
tellTarget ("/Clock") {
gotoAndStop("Start");
};
attempts = attempts + "1";
feedback = " ";
tellTarget ("/contMask") {
_visible = "1";
};
}
}
Symbol 268 Button
on (release) {
rNum = "R25";
call("bActions");
}
Symbol 269 Button
on (release) {
rNum = "R26";
call("bActions");
}
Symbol 270 Button
on (release) {
rNum = "R24";
call("bActions");
}
Symbol 271 Button
on (release) {
rNum = "R23";
call("bActions");
}
Symbol 272 Button
on (release) {
rNum = "R8";
call("bActions");
}
Symbol 273 Button
on (release) {
rNum = "R22";
call("bActions");
}
Symbol 274 Button
on (release) {
rNum = "R21";
call("bActions");
}
Symbol 275 Button
on (release) {
rNum = "R20";
call("bActions");
}
Symbol 276 Button
on (release) {
rNum = "R19";
call("bActions");
}
Symbol 277 Button
on (release) {
rNum = "R18";
call("bActions");
}
Symbol 278 Button
on (release) {
rNum = "R17";
call("bActions");
}
Symbol 279 Button
on (release) {
rNum = "R16";
call("bActions");
}
Symbol 280 Button
on (release) {
rNum = "R15";
call("bActions");
}
Symbol 281 Button
on (release) {
rNum = "R13";
call("bActions");
}
Symbol 282 Button
on (release) {
rNum = "R12";
call("bActions");
}
Symbol 283 Button
on (release) {
rNum = "R14";
call("bActions");
}
Symbol 284 Button
on (release) {
rNum = "R11";
call("bActions");
}
Symbol 285 Button
on (release) {
rNum = "R10";
call("bActions");
}
Symbol 286 Button
on (release) {
rNum = "R9";
call("bActions");
}
Symbol 287 Button
on (release) {
rNum = "R7";
call("bActions");
}
Symbol 288 Button
on (release) {
rNum = "R6";
call("bActions");
}
Symbol 289 Button
on (release) {
rNum = "R5";
call("bActions");
}
Symbol 290 Button
on (release) {
rNum = "R4";
call("bActions");
}
Symbol 291 Button
on (release) {
rNum = "R3";
call("bActions");
}
Symbol 292 Button
on (release) {
rNum = "R2";
call("bActions");
}
Symbol 293 Button
on (release) {
rNum = "R1";
call("bActions");
}