STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228129
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/79511989?noj=FRM79511989-15DC" width="1" height="1"></div>

Perfect 10.swf

This is the info page for
Flash #77489

(Click the ID number above for more basic data on this flash file.)


Text
LOADING

Viral game by TAMBA

Sound On/Off

Play

Instructions

Questions supplied by

OnExamination.com

presents

View Leaderboard

Challenge a Friend

Back

Instructions

Test your knowledge by answering multi-choice clinical questions
against the clock. Select either general practice or the specialty of
your choice. You’ll get more points the quicker you are.
All questions have one correct answer unless otherwise stated.
You can replay the quiz choosing a new specialty, or try the same
specialty again with different questions.
Don’t forget to submit your score to our leaderboard, so you can
see how you rate against your colleagues …
Good luck!

A 30 year old male presents with a two week
history of feeling unwell, 4kg weight loss and
occasional night sweats. He has noticed this
appearance of his nails.
Which of the following is the likely diagnosis?

High glucose, high protein,
polymorphs ++

Low glucose, high protein,
polymorphs ++

Low glucose, high protein,
lymphocytes ++

Normal glucose, high protein,
polymorphs ++

Normal glucose, high protein,
lymphocytes ++

"A 21-year-old student is referred to the medical team on call with fever,
neck stiffness and altered Glasgow Coma Scale. Acute bacterial meningitis
is suspected.
Which of the following results would be expected on examination of the
CSF?"

Question 2









<p align="left"></p>



Incorrect

The correct answer is

continue






Correct



Congratulations

You have scored a

More than one answer is required

Play Again

Submit Score

You scored

You scored

Game Over

.

s

t

x

e

c

n

r

f

o

u

g

a

l

h

y

w

d

,

i

I

?

n

o

i

p

d

c

e

s

a

u

y

l

C

Best Practice from the BMJ Evidence Centre has been designed by
practitioners, for practitioners. It helps you diagnose, treat and
manage patients using the latest evidence and expert guidance.
And it’s organised so you can find the information you need quickly.

Take advantage of a free 30 day trial, and see how easy it is to
get an authoritative second opinion in an instant.

Submit

Your Name

Your Email Address

The BMJ Evidence Centre would like to send you additional information about
the Best Practice decision-support tool and other clinical information services.

For more information about our privacy policy, please see
http://group.bmj.com/group/about/legal/privacy

Please tick this box if you do not wish to receive information from us

Submit Your Score

Send

Friend's Name

Friend's Email Address

We will not retain your friends’ details for any purpose. For more information about our privacy
policy, please see http://group.bmj.com/group/about/legal/privacy

Challenge a Friend

Select a League

Loading...

Andrew Simpson

12301

999

League Name

Choose Category

General Medical

Paediatrics

Emergency
Medicine

Cardiology

Respiratory
Medicine

Gastrointestinal

Endocrinology

Dermatology

Orthopaedics

Neurology

Infection

Skip

League Name

Join a League

Create Now

Previous Page

Next Page

To submit your score to an existing league, please choose from the following list:

If your desired league isn't shown, you can create it yourself by typing a name in the box below:

View a League

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false; var intScore = 0; var intScoreSub = 0; var intScoreID = 0; var intLeagueID = 0; var arrLeagues = []; var strRootURL = "http://www.tamba-games.co.uk/bmj"; var strServiceURL = (strRootURL + "/amfphp/gateway.php"); var objRemote = (new remoting.RemotingFunctions(strServiceURL, "GameFunctions")); var nTotalBonusPoints = 0; var intGameOver = 0; preLoad = function () { preloader.inner_mc.gotoAndStop(Math.round((getBytesLoaded() / getBytesTotal()) * 100)); if (getBytesLoaded() == getBytesTotal()) { clearInterval(intPreloader); gotoAndStop ("title"); } }; var intPreloader = setInterval(preLoad, 40); var globalSound = new Sound(_root); btn_sound.onRelease = function () { if (!soundOff) { btn_sound.gotoAndStop(2); globalSound.setVolume(0); soundOff = true; skipnext = true; } if (soundOff && (!skipnext)) { btn_sound.gotoAndStop(1); globalSound.setVolume(100); soundOff = false; } skipnext = false; }; function tvc_tracker(url, media_id, format) { tvc_lv = new LoadVars(); tvc_lv.media = media_id; tvc_lv.f = format; return(tvc_lv.sendAndLoad(url, tvc_lv, "get")); } kv_v = {c:545, a:0, da:["distralytics.com", "5.n.distralytics.com", "distralytics.co.uk"]}; kv_v.i = 0; while (kv_v.i < kv_v.da.length) { System.security.allowDomain(kv_v.da[kv_v.i], (kv_v.c + ".c.") + kv_v.da[kv_v.i], "*." + kv_v.da[kv_v.i]); kv_v.i++; } kv_v.lc = function () { var _local1 = ((("http://" + kv_v.c) + ".c.") + kv_v.da[kv_v.a % kv_v.da.length]) + kv_v.lurl; System.security.allowDomain(_local1); kv_v.l_mcl.loadClip(_local1, kv_v.t_mc); }; kv_v.d = (_root.ori_dom ? (_root.ori_dom) : (((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0])))); kv_v.fpv = getVersion().split(" ")[1].split(",")[0]; kv_v.lurl = "/control/tracking/tracker.swf?r=" + Math.floor(Math.random() * 10000); kv_v.t_mc = createEmptyMovieClip("kv_tracker", -16734); kv_v.l_mcl = new MovieClipLoader(); kv_v.mcl_l = {onLoadError:function () { kv_v.a++; kv_v.lc(); }, onLoadStart:function (m) { System.security.allowDomain(m._url); }}; kv_v.l_mcl.addListener(kv_v.mcl_l); kv_v.lc(); _root.tvc_media = "877"; System.security.allowDomain(_parent.url); strUrl = ((url != null) ? (url) : "http://www.viralchart.com"); if ((_root.tvc_media != null) && (_root.tvc_media != "")) { _root.tvc_media = (tvc_tracker(strUrl + "/tracker.php", _root.tvc_media, "F") ? null : (_root.tvc_media)); }
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop(); function upDateTheTime() { theDate = new Date(); var _local2 = theDate.getHours(); var _local1 = theDate.getMinutes(); var _local3 = theDate.getSeconds(); hours_mc._rotation = (_local2 * 30) + (_local1 / 2); minutes_mc._rotation = 6 * _local1; screen_game.clock.hour_hand._rotation = (_local2 * 30) + (_local1 / 2); screen_game.clock.minute_hand._rotation = 6 * _local1; screen_game.clock.second_hand._rotation = 180 + (6 * _local3); } function startTimer() { intTimerIntvl = setInterval(updateTimer, 1000); } function updateTimer() { if ((intMins == 0) && (intSecs == 0)) { return(false); } intSecs++; if (intSecs > 59) { intSecs = 0; intMins++; } strSecs = intSecs.toString(); strMins = intMins.toString(); if (intSecs < 10) { strSecs = "0" + strSecs; } if (intMins < 10) { strMins = "0" + strMins; } totalTimeTaken = strTimer; strTimer = (strMins + ":") + strSecs; } function resetTimer() { clearInterval(intTimerIntvl); trace("intMins =" + intMins); trace("intSecs =" + intSecs); sTotalTime = strMins + strSecs; strMins = "00"; strSecs = "00"; strTimer = "00 00"; intMins = 0; intSecs = 1; intTimerIntvl = 0; intTTime = 0; } function calculateEndBonus() { if (intTotalScore != 0) { var _local1 = (intMins * 60) + intSecs; trace("score before : " + intTotalScore); intTotalScore = intTotalScore - _local1; trace("score after : " + intTotalScore); } } function shuffleQuestions() { i = 0; while (i < nTotalQuestions) { totalQuestionsArray[i] = i + 1; i++; } totalQuestionsArray.shuffle(); trace("totalQuestionsArray = " + totalQuestionsArray); } function checkatxt(obj) { if (obj.maxscroll <= 1) { return(false); } return(true); } function displayQuestion() { scroller_ui._visible = false; scroller_bg._visible = false; destroyInterval(); restartInterval(); updateQuestionNumberDiplay(); hideAnswerBoxes(); nQuestionNumber = totalQuestionsArray[nQuestionCounter]; checkForEndOfGame(nQuestions); nQuestions++; testVar = aQuestions[nQuestionNumber].split("|"); question.text = testVar[0]; scroller_ui._visible = (scroller_bg._visible = checkatxt(question)); populateRightAnswerBox(); sRightAnswer = aRightAnswer[nQuestionNumber]; nQuestionFocus = nQuestionNumber + 1; var _local3 = null; i = nQuestionNumber; while (i < nQuestionFocus) { testVar = aAnswers[i].split("|"); trace(nQuestionFocus); j = 0; while (j < testVar.length) { var _local2 = "answer_" + j; _root[_local2]._visible = true; _root[_local2].btn_element.gotoAndStop(1); _root[_local2].sText = testVar[j]; j++; } i++; } checkAndDisplayImageOrMovie(); calculateNumberofAnswers(); } function checkAnswer() { if ((_global.selectedAnswer == sRightAnswer) && (bMoreThanOneAnswer == false)) { nTotalBonusPoints = nTotalBonusPoints + 100; addAndResetBonusPoints(); incrementThermometer(); nCorrectAnswers++; destroyInterval(); hideAnswerBoxes(); multipleAnswer_mc._visible = false; correct_mc._visible = true; image_display_mc._visible = false; trace("congratulations"); } else if ((_global.selectedAnswer != sRightAnswer) && (bMoreThanOneAnswer == false)) { destroyInterval(); hideAnswerBoxes(); multipleAnswer_mc._visible = false; incorrect_mc._visible = true; image_display_mc._visible = false; trace("wrong"); } if (bMoreThanOneAnswer == true) { if (nMultipleRightAnswerCounter >= 0) { trace("nMultipleRightAnswerCounter ==" + nMultipleRightAnswerCounter); j = 0; while (j < aTempAnswersCalc.length) { var _local2 = aTempAnswersCalc[j]; trace("aaaaaaaa" + _local2); if (_global.selectedAnswer == _local2) { trace("activated"); aTempAnswersCalc.splice(j, 1); trace("aTEMP" + aTempAnswersCalc.length); trace(aTempAnswersCalc); } j++; } } } if (((nMultipleRightAnswerCounter == 1) && (aTempAnswersCalc.length > 0)) && (bMoreThanOneAnswer == true)) { destroyInterval(); hideAnswerBoxes(); incorrect_mc._visible = true; bMoreThanOneAnswer = false; multipleAnswer_mc._visible = false; } else if (((nMultipleRightAnswerCounter == 1) && (aTempAnswersCalc.length == 0)) && (bMoreThanOneAnswer == true)) { addAndResetBonusPoints(); incrementThermometer(); nCorrectAnswers++; destroyInterval(); hideAnswerBoxes(); correct_mc._visible = true; bMoreThanOneAnswer = false; multipleAnswer_mc._visible = false; } nMultipleRightAnswerCounter--; } function hideAnswerBoxes() { scroller_ui._visible = false; scroller_bg._visible = false; var _local2 = 0; while (_local2 <= 5) { var _local3 = "answer_" + _local2; _root[_local3]._visible = false; _local2++; } } function updateQuestionNumberDiplay() { display_question_txt.text = "Question " + nQuestions; } function checkAndDisplayImageOrMovie() { image_display_mc._visible = false; question._width = 490; image_display_mc.image_mc.temporaryImage.removeMovieClip(); testVar = aQuestions[nQuestionNumber].split("|"); if (testVar.length > 1) { question._width = 312; image_display_mc._visible = true; image_display_mc.image_mc.attachMovie(testVar[1], "temporaryImage", 1000); scroller_ui._visible = false; scroller_bg._visible = false; } } function incrementThermometer() { screen_game.thermometer.play(); } function checkForEndOfGame(number) { nQuestionCounter++; if (number > nQuestionLimit) { resetTimer(); trace("correct answers ===========" + nCorrectAnswers); if (nCorrectAnswers >= nQuestionLimit) { destroyInterval(); nPerfect10_INTERVAL = setInterval(hideAnswerBoxes, 20); screen_game.thermometer.play(); complete_mc._visible = true; } else { resetTimer(); play(); } } } function incrementSecondHandPosition() { screen_game.clock.second_hand._rotation = screen_game.clock.second_hand._rotation + 10; calculateBounsPoints(); } function resetSecondHand() { screen_game.clock.second_hand._rotation = 180; } function calculateBounsPoints() { if (nBonusPoints != 0) { nBonusPoints = nBonusPoints - 10; } if (nBonusPoints <= 0) { destroyInterval(); } } function addAndResetBonusPoints() { nTotalBonusPoints = nTotalBonusPoints + nBonusPoints; nBonusPoints = 360; trace("total bonus points ==" + nTotalBonusPoints); } function destroyInterval() { clearInterval(nBonusTimer_INTERVAL); } function restartInterval() { } function calculateNumberofAnswers() { aTempAnswersCalc = aRightAnswer[nQuestionNumber].split("|"); if (aTempAnswersCalc.length > 1) { nMultipleRightAnswerCounter = aTempAnswersCalc.length; bMoreThanOneAnswer = true; multipleAnswer_mc._visible = true; trace("more than on answer"); j = 0; while (j < aTempAnswersCalc.length) { trace(aTempAnswersCalc[j]); j++; } } } function populateRightAnswerBox() { incorrect_mc.answer.text = aRightAnswer[nQuestionNumber].split("|").join(newline); } multipleAnswer_mc._visible = false; var nCurrentQuestion = 0; var aTempAnswersCalc = null; var nMultipleRightAnswerCounter; var nQuestionNumber; var nQuestionFocus; var sRightAnswer; var nTotalQuestions = (aRightAnswer.length - 1); var totalQuestionsArray = []; var nQuestionLimit = 10; var nQuestionCounter = 0; var nCorrectAnswers = 0; var nQuestions = 1; var bGameFinished = false; var totalTimeTaken; var bMoreThanOneAnswer = false; correct_mc._visible = false; incorrect_mc._visible = false; complete_mc._visible = false; scroller_ui._visible = false; scroller_bg._visible = false; var nBonusTimer_INTERVAL = 0; var nBonusPoints = 360; var nTotalBonusPoints = 0; var sTotalTime = ""; var nTotalTime = 0; var nUpdateTime_INTERVAL = 0; nUpdateTime_INTERVAL = setInterval(upDateTheTime, 1000); var nPerfect10_INTERVAL = 0; var strMins = "00"; var strSecs = "00"; var strTimer = "00 00"; var intMins = 0; var intSecs = 1; var intTimerIntvl = 0; var intTTime = 0; startTimer(); Array.prototype.shuffle = function () { var _local5 = this.length; var _local2 = 0; while (_local2 < _local5) { var _local3 = Math.floor(Math.random() * _local5); var _local4 = this[_local2]; this[_local2] = this[_local3]; this[_local3] = _local4; _local2++; } }; next_btn.onPress = function () { updateQuestionNumberDiplay(); hideAnswerBoxes(); nQuestionNumber = nQuestionCounter++; displayQuestion(); }; shuffleQuestions(); upDateTheTime(); displayQuestion();
Instance of Symbol 199 MovieClip [UIScrollBar] "scroller_ui" in Frame 5
//component parameters onClipEvent (construct) { _targetInstanceName = "question"; horizontal = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Frame 6
stop(); destroyInterval(); clearInterval(nUpdateTime_INTERVAL); clearInterval(nPerfect10_INTERVAL); trace("correct answers =" + nCorrectAnswers); trace("total time taken =" + totalTimeTaken); screen_gameover.scoreTimeDisplay.text = (("You scored " + nCorrectAnswers) + " /10 and time taken ") + totalTimeTaken; intGameOver = 1;
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop(); Stage.showMenu = false; var aGeneralMedicalQuestions = ["", "A 14-year-old boy presents with chronic cough. It began following a cold in the wintertime, but has persisted since. It is worst in the daytime, and disappears completely overnight.\n\nOn examination he is cheerful and well and there are no abnormalities to find. He clears his throat continuously and is on the 50th centile for height and weight.\n\nWhat is the most likely diagnosis?", "A 14-year-old girl presents with a history of cough and breathlessness on exercise. She has seasonal rhinitis, and admits to have started smoking. Clinical examination is unremarkable.\n\nWhat is the most likely diagnosis?", "A 15 month old child with flexural eczema presents with a 3d history of cough and wheeze. There is a family history of hay fever. On examination his saturations are 92% in air, with a respiratory rate of 55/min and moderate recession. The heart rate is 150/min.\n\nWhat is the most likely diagnosis?", "A 15-year-old girl presents with nasal obstruction and slight watery discharge. This occurs particularly in smoky atmospheres or in the cold. Otherwise she is completely well. Full term normal delivery, no neonatal problems. She has no inflammation of the eyes nor sneezing. Immunisations up to date. No family or social history of note. \n\nOn examination she is apyrexial and has bilateral nasal obstruction with clear discharge.\n\nWhat is the most likely diagnosis?", "A 17-year-old man presented to casualty complaining of difficulty breathing. He had been brought to hospital by ambulance, having collapsed shortly after being stung on the hand by a bee. On examination, his blood pressure was 80/40 mmHg, and facial swelling was noted. \n\nWhich one of the following investigations is most likely to confirm the nature of the reaction?", "A 2-month-old child presents with snuffliness and difficulty in feeding. He has a crusty nose and low-grade fever. His respiratory rate is 40/min. Symmetrical conducted secretion sounds are heard in the chest.\n\nWhat is the most likely diagnosis?", "A 21-year-old student is referred to the medical team on call with fever, neck stiffness and altered Glasgow Coma Scale. Acute bacterial meningitis is suspected.\n\nWhich of the following results would be expected on examination of the CSF?", "A 26-year-old teacher attends A+E complaining of a sudden onset of severe headache 6 hours previously. She reports associated nausea and has vomited 3 times. On examination she is afebrile with a GCS of 15 and there is neck stiffness and photophobia.\n\nThe most likely diagnosis is...", "A 3-year-old boy goes to a children's party and eats some peanuts. Almost immediately he spits them out, and runs to his mother saying his mouth hurts. She notes a rapidly developing raised itchy rash over his face, and that his eyes, lips and tongue are swelling. He begins to have marked difficulty in breathing with audible stridor. An ambulance is called.\n\nOn the arrival of the paramedics he has collapsed and appears unconscious. He has shallow breathing at 10/min, HR 160/min (thready pulse), and is responding only to pain.\n\nWhat is the most likely diagnosis?", "A 3-year-old boy presents with a 2-day history of coryza and cough, particularly at night. On examination he has Harrison's sulci and is on the 3rd centile for weight and height. Chest auscultation reveals scattered wheeze.\n\nWhat is the most likely diagnosis?", "A 30-year-old male presents with a two week history of feeling unwell, 4kg weight loss and occasional night sweats. He has noticed this appearance of his nails.\n\nWhich of the following is the likely diagnosis?|test_image_1", "A 33-year-old otherwise healthy man presents with a 7-day history of cough. The cough was initially productive of small amounts of clear sputum, which has now turned yellowish. He has no fever, chills, or shortness of breath but has difficulty sleeping because of the persistent cough.\n\nOn physical examination, his vital signs are normal and examination of the lungs reveals no wheezing, crackles, or rhonchi.\n\nIn addition to symptomatic relief with antitussives, what is the most appropriate treatment strategy for this patient?", "A 40-year-old man has a hygienist appointment with his dentist for scaling. He is known to have a congenital bicuspid aortic valve.\n\nWhich of the following is the most appropriate form of prophylaxis against endocarditis?", "A 49-year-old male patient is diagnosed with mild COPD based on his symptoms of breathlessness and wheeze, and an obstructive spirometry. He smokes 60 cigarettes per day and has unsuccessfully tried to give up on numerous occasions. Clinical examination reveals no abnormalities. \n\nWhich of the following interventions is associated with the highest smoking cessation rate at 6 months?", "A 55-year-old man on treatment for hypertension, epilepsy and gasto-oesophageal reflux disease presented with an urticarial skin eruption. A drug reaction is suspected since he has recently started a new drug.\n\nWhich of the following medications is most likely to be responsible?", "A 60-year-old woman presents with raised, erythematous lesions on the limbs and blistering in the mouth and eyes. She had been taking a number of drugs prescribed by her GP.\n\nWhich may be responsible for her presentation?", "A 67-year-old female with confirmed COPD requests a GP house call. She complains of paroxysms of breathlessness that make her anxious and cause tingling around her mouth. She is on a combination inhaler and uses nebulised salbutamol four times per day. She has been admitted to hospital on six occasions this past year and requests a GP house call nearly every week. She is severely disabled by her breathing, even though her FEV1 is 60% predicted. She has hardly left the house since her husband died 1 year ago and continues to smoke 20 cigarettes per day. On clinical examination she is anxious and has a respiratory rate of 28 breaths per minute. Auscultation of her chest reveals mildly reduced breath sounds bilaterally.\n\nWhat is the most appropriate management of this woman?", "A farmer attends A&E with a hand injury. He has a large contaminated wound on his left hand sustained from a fall whilst herding livestock between fields.\n\nThe most suitable antibiotic to administer for the prevention of tetanus is..", "An 85-year-old man admitted with a urinary tract infection develops confusion with poor concentration. He is restless and frightened. He becomes abusive to staff and has perceptual abnormalities. There is no significant previous psychiatric history.\n\nWhat is the SINGLE most likely diagnosis?", "For which of the following disorders is Young's operation performed?", "How is obesity defined?", "Regarding recurrent episodes of anaphylaxis which of the following is true?", "Rhinitis syndrome in the 'Mast cell mediator release' category are categorised by having the following except...", "Which of the following vaccines contain live virus?\n\nSelect two.", "The outstanding symptom of acute pancreatitis is...", "The vaccine against measles also vaccinates individuals against which other two diseases?", "This man presents with acutely swollen and painful right knee and these lesions are present on his ears.\n\nWhich of the following is the likely diagnosis?|test_image_2", "Which of the following immunoglobulin is characteristically elevetated in filariasis?", "Which of the following statements is true about immunological reactions?", "Which of the following statements is true of ataxia telangiectasia?", "Which one of the following is inherited in an autosomal dominant fashion?", "Which one of the following is true of IgE?", "Which one of the following statements correctly applies to pertussis Infection in children?", "Which one of the following statements is true regarding scabies?", "Which type of allergic reaction is seen in allergic fungal sinusitis?"]; var aGeneralMedicalAnswers = ["", "Allergic rhinitis|Asthma|Gastro-oesophageal reflux|Habit cough|Pertussis", "Allergic rhinitis|Asthma|Cystic fibrosis|Gastroesophageal reflux|Sinusitis", "Allergic rhinitis|Asthma|Croup|Gastroesophageal reflux|Sinusitis", "Allergic rhinitis|Nasal foreign body|Sinusitis|Vasomotor rhinitis|Viral URI", "Haemolytic complement (CH50) level|Plasma tryptase activity|Serum complement C3 level|Serum total IgE level|Serum venom-specific IgE level", "Allergic rhinitis|Upper respiratory tract infection|Sinusitis|Asthma|Croup", "High glucose, high protein, polymorphs ++|Low glucose, high protein, polymorphs ++|Low glucose, high protein, lymphocytes ++|Normal glucose, high protein, polymorphs ++|Normal glucose, high protein, lymphocytes ++", "Meningitis|Migraine|Cluster headache|Sub arachnoid haemorrhage|Sinusitis", "Acute severe asthma|Anaphylaxis|Croup|Foreign body aspiration|Trauma", "Gastroesophageal reflux|Allergic rhinitis|Sinusitis|Asthma|Croup", "Hodgkin's disease|Infective endocarditis|Inflammatory bowel disease|Multiple myeloma|Pneumonia", "Observation only|Oral amoxicillin|Oral clarithromycin|Oral co-amoxiclav|Salmeterol metered-dose inhaler at bedtime", "Amoxicillin 1g IV + gentamicin 120mg IV pre-procedure|Amoxicillin 3g PO pre-procedure|Gentamicin 120mg IM pre-procedure|Metronidazole 1g PO pre-procedure|No antibiotics required", "Bupropion|Nictoine gum|Nicotine patches|Smoking cessation counselling|Smoking cessation counselling and bupropion", "Aspirin|Atorvastatin|Omeprazole|Paracetamol|Sodium valproate", "Nifedipine|Paracetamol|Paroxetine|Prednisolone|Sulphasalazine", "Prescribe a regular anxiolytic|Prescribe an antidepressant|Order an oxygen concentrator|Refer for pulmonary rehabilitation|Refer for smoking cessation counselling", "A cephalosporin|Erythromycin|Flucloxacillin|Metronidazole|Penicillin", "Acute confusional state|Drug induced psychosis|Lewy body dementia|Multi-infarct dementia|Psychotic depression", "Allergic rhinitis|Atrophic rhinitis|Vasomotor rhinitis|Idiopathic rhinitis", "A body mass index (BMI) above 30|A body mass index (BMI) of 27|A waist circumference of over 36 inches (78 cm)|A weight of over 100 kg|A weight of 110kg.", "IgM levels reflect disease activity|He is likely to have higher IgE levels than his unaffected sibling|Attacks are unlikely to be triggered by inhaled or ingested antigen|Exposure to the triggering antigen is likely to occur several hours before the attack|Histamine antagonists have no role in his management", "Sneezing|Marked post natal drainage|Lacrimation|Marked nasal congestion", "Rubella|Influenza|Mumps|Rabies", "Abdominal bloating|Agonising upper abdominal pain|Constipation|Jaundice|Weight gain", "Chickenpox and influenza|Cholera and malaria|Mumps and rabies|Mumps and rubella", "Gout|Hypercholesterolaemia|Inflammatory bowel disease|Lyme disease|Rheumatoid arthritis", "IgA|IgE|IgG|IgM", "Angio-neurotic oedema is the most severe form of type I reaction.|Deficiencies in the terminal components of complement increase the risk of meningococcal disease.|Graves' disease is caused by a type IV reaction.|Serum sickness is caused by a type II reaction.|Urticaria usually responds to cimetidine.", "Inheritance is X-linked recessive.|The usual presentation is with lower respiratory infections.|Chromosome fragility is increased.|The immunodeficiency primarily affects phagocyte function.|Chronic thrombocytopenia is an important feature.", "Neurofibromatosis|Glucose 6 phosphate dehydrogenase deficiency|Wilson disease|Bartter's syndrome|Haemochromatosis", "Is present in plasma in the same concentration as IgG|Is increased acutely in an asthmatic attack|Crosses the normal placenta|Is increased in the serum of atopic individuals|Is involved in type 2 hypersensitivity", "It rarely affects infants under 6 months of age|Is infectious for at least 2 months after the termination of the coughing|Infection lasts for less than 1 week|Is usually diagnosed by growing the organism from a cough plate|Inspiratory whooping is a characteristic symptom of disease", "Typically it affects the face.|It causes generalised pruritus.|It is caused by staphaureus.|Is best treated by salicylate emulsion.|It can be spread by a droplet infection.", "Types 1 and 2|Types 2 and 3|Types 1 and 3|Types 4 and 1"]; var aGeneralMedicalRightAnswer = ["", "Pertussis", "Asthma", "Asthma", "Vasomotor rhinitis", "Plasma tryptase activity", "Upper respiratory tract infection", "Low glucose, high protein, polymorphs ++", "Sub arachnoid haemorrhage", "Anaphylaxis", "Asthma", "Infective endocarditis", "Observation only", "No antibiotics required", "Smoking cessation counselling and bupropion", "Aspirin", "Sulphasalazine", "Refer for pulmonary rehabilitation", "Penicillin", "Acute confusional state", "Atrophic rhinitis", "A body mass index (BMI) above 30", "He is likely to have higher IgE levels than his unaffected sibling", "Marked nasal congestion", "Rubella|Mumps", "Agonising upper abdominal pain", "Mumps and rubella", "Gout", "IgE", "Deficiencies in the terminal components of complement increase the risk of meningococcal disease.", "Chromosome fragility is increased.", "Neurofibromatosis", "Is increased in the serum of atopic individuals", "Inspiratory whooping is a characteristic symptom of disease", "It causes generalised pruritus.", "Types 4 and 1"]; var aPaediatricsQuestions = ["", "A 10-month-old girl is referred with a florid skin rash. Soon after birth she developed cradle cap and dry skin on the cheeks. This gradually improved, but over the past few months she has had dry red skin over the trunk, the elbows, wrists, knees, ankles and base of the ears. This is itchy and disturbs sleep. She was born at 41 weeks weighing 3.34 kg and there were no other neonatal problems. She has been fully immunised. Mother has hay fever and asthma.\n\nOn examination she is on the 10th centile for height, weight and OFC. Temperature is 36.4\u00B0C, RR 30/min and HR 100/min. She has a dry red scaly rash on patches of the trunk, elbows, wrists, ankles and knees. She has enlarged glands in the axillae and groins.\n\nWhat is the most likely diagnosis?", "A 12-hour-old infant has an episode of desaturation and bradycardia on the neonatal unit. She was born at 42 weeks following a difficult forceps delivery for fetal distress. Her Apgars were 1 at 1 minute and 2 at 5 minutes. She was resuscitated vigorously and transferred ventilated to the NICU.\n\nOn arrival her temperature was 36.1\u00B0C, she was taking occasional gasps and HR was 100/min. There were no obvious dysmorphic features, but she remained floppy and pale. She was given 20 mL/kg of N. saline intravenously. Cord gases showed pH of 7.12 and base deficit of 24. O2 saturations were 92% in air. She was stabilised on the ventilator at 16/4, 35% O2 60/min, inspiratory time of 0.5 seconds. After a few hours of relative stability she developed drops in saturation associated with mouthing movements on the ET tube.\n\nWhat is the most likely diagnosis?", "A 13-year old girl presents with menorrhagia and is found to have von Willebrand's disease.\n\nWhich of the following coagulation parameters would be expected to be abnormal?", "A 15-year-old female is a close contact of a student who has developed meningitis. The last contact she had with her friend was two days ago when her friend developed headache. She has not received any previous vaccination for meningitis.\n\nWhat is the most appropriate action for this girl?", "A 17-month-old girl presents with eye-rolling followed by generalised shaking of the limbs for 3 minutes. She has had a cold for 3 days, but became very warm this afternoon just prior to the episode. She has no previous history of note, and had a full term normal delivery with no neonatal complications. Her immunisations are up to date. There is no FH/SH of note.\n\nOn examination she is alert though febrile at 39.8\u00B0C, with flushed cheeks. She has a crusty nasal discharge. Respiratory rate is 20/min and heart rate 120/min. Her chest is clear and urinalysis is negative.\n\nWhat is the most likely diagnosis?", "A 2-day-old boy presents with rapidly increasing unconjugated jaundice. He was born at 41 weeks weighing 2.91 kg and there were no neonatal problems. Pregnancy was uncomplicated. FBC 12.0 g/dL, reticulocytes 22%. Film shows polychromasia and nucleated red cells. DCT-ve. Mother and baby both O+ve.\n\nWhat is the most likely diagnosis?", "A 2-month-old girl presents with a napkin rash. This has gradually worsened over the past 1-2 weeks. Otherwise she has been well. She was born at term weighing 3.01 kg and there were no neonatal problems. She has received her first set of routine immunisations and is on no medications. There is no family history of note.\n\nOn examination her temperature is 36.8\u00B0C, respiratory rate 35/min and heart rate 110/min. She is completely healthy apart from a symmetrical confluent red rash in the napkin area. This has a peeling border, with 2-3 mm circular red spots with peeling borders lateral to it.\n\nWhat is the most likely diagnosis?", "A 2-year-old girl presents with a raised itchy rash. She had been eating a chocolate bar when she spat it out saying it hurt her mouth. Within minutes the rash had appeared over her face and trunk. She was 39+1/40 weighing 3.25 kg and there were no neonatal problems apart from cradle cap. She has been fully immunised to date. There is a family history of asthma.\n\nOn examination she has a florid raised rash over her face. Some of the lesions are coalescing. She is scratching, but breathing and tongue size are normal. Her temperature is 36.9\u00B0C (tympanic), respiratory rate 30/min, and heart rate of 100/min.\n\nWhat is the most likely diagnosis?", "A 2-year-old girl presents with redness and swelling of the left cheek. The previous day she had accidentally scratched herself in this area. Full term normal delivery, no neonatal problems. Immunisations up to date. No family or social history of note.\n\nOn examination the temperature is 38.3\u00B0C, respiratory rate 20/min and heart rate 100/min. There is a graze on her left cheek, which is red, oedematous and painful to touch. She has tender submandibular nodes on that side.\n\nWhat is the most likely diagnosis?", "A 2.5-year-old boy is referred with behaviour problems and poor speech. He speaks very seldom, and is unable to sustain a conversation. He always prefers to play on his own, lining up his Thomas the Tank engine set repetitively, ignoring his older and younger siblings. He throws tantrums when his routine is disturned. He was born at 37+3/40 weighing 3.51 kg and there were no neonatal problems. Pregnancy had been uncomplicated. On examination he is apyrexial, and there are no specific abnormalities to find.\n\nWhat is the most likely diagnosis?", "A 21-month-old boy presents with high fever followed by generalised convulsion lasting for 25 minutes. Following this he is drowsy for several hours. He has has an ear infection for the past 3 days and is on antibiotics from the family doctor. Full term normal delivery with no neonatal complications. Immunisations up to date. There is no FH/SH of note.\n\nOn examination he has a temperature of 38.9\u00B0C and a red right eardrum. Respiratory rate is 20/min and pulse is 115/min . He is well perfused and there are no focal neurological findings. He has no neck stiffness or rash.\n\nWhat is the most likely diagnosis?", "A 3-month-old girl presents with apnoea. She had been well that morning, but had become unsettled, crying inconsolably and gradually becoming more mottled. Mother was bringing her to the emergency department when she stopped breathing. She responded to physical stimulation. She was born at 43 weeks weighing 3.6kg and there were no neonatal problems. On examination she has a temperature of 36.3\u00B0C (tympanic), RR 30/min and HR of 240/min. Her pulse is thready. She has a 3 cm liver and gallop rhythm.\n\nWhat is the most likely diagnosis?", "A 4-day-old girl is admitted with jaundice, which was first noted the previous day. Pregnancy had been normal. She was born at 37.5 weeks gestation weighing 3.29 kg and there were no neonatal problems. No family or social history of note.\n\nOn examination the temperature is 36.8\u00B0C, respiratory rate 32/min and pulse 110/min. Weight is 3.10 kg. Moderate jaundice over face and trunk. No liver enlargement and stools are pigmented.\n\nWhat is the most likely diagnosis?", "A 4-month-old child is diagnosed with napkin rash. \n\nWhich of the following is the most appropriate treatment of mild napkin rash?", "A 6-year-old girl presents with vomiting, fever, anorexia and malaise. She has been unwell for a few days only. Full term normal delivery with no neonatal complications. Immunisations up to date. Her brother has recently had jaundice.\n\nOn examination she has a fever to 38.4\u00B0C, RR 16/min and HR 95/min. She is well hydrated and there are no other abnormalities to find.\n\nWhat is the most likely diagnosis?", "A 7-month-old girl presents with fever and a rash. She was completely well until 5 days ago, when she developed a slight cold. The next day she developed fever to 39.7\u00B0C, which has persisted despite antipyretics. Despite this she has remained relatively well and continues to drink, though her appetite is poor. \n\nToday she has developed a rash over the face and trunk. She was born at term weighing 3.8 kg and there were no neonatal problems. She is fully immunised to date and there is no family history or social history of note. On examination she has a temperature of 36.8\u00B0C, respiratory rate 25/min and heart rate 100/min. \n\nThe rash is macular, profuse, pink and blanching. It is most prominent over the face and trunk. She has shotty cervical lymphadenopathy.\n\nWhat is the most likely diagnosis?", "A 7-year-old boy presents to the emergency department having been bitten by a dog. The animal has no known diseases. Full term normal delivery with no neonatal complications. Immunisations up to date.\n\nOn examination he is distressed, but apyrexial. He has several penetrating teeth marks on the left arm, which is swollen and tender. Otherwise he is well.\n\nOther than analgesia, what should your first action be in this boy's management?", "A 7-year-old child presents with a six month history of worsening polyuria and polydipsia together with diffuse bone pain. Examination reveals exophalmos, seborrhoeic dermatitis and features suggesting mastoiditis.\n\nWhat is the most likely diagnosis?", "A 7-year-old girl presents with ankle and knee pain and skin rash. She has been well apart from a cold 2 weeks previously. Full term normal delivery, no neonatal problems. Immunisations up to date. No family or social history of note.\n\nOn examination she looks well. The temperature is 37.8\u00B0C, with respiratory rate 15/min, pulse 80/min and blood pressure 100/70 mmHg. She has a scanty non-blanching rash over the shins. Her abdomen is soft and non-tender. There is swelling, redness, tenderness and decreased movement of the right knee and left ankle.\n\nWhat is the most likely diagnosis?", "A 9-year-old boy is brought to casualty by his mother. He complains of painful swelling of his wrists, knees and ankles. His mother tells you that he had suffered an upper respiratory tract infection two weeks previously. He subsequently develops melaena, renal impairment with haematuria and proteinuria, testicular swelling, and a rash affecting the lower limbs. \n\nWhat is the most likely diagnosis?", "A 9-year-old boy presents with a history of headache and persistent green nasal discharge. At night he has a cough and snores loudly. The headache is exacerbated by leaning forwards.\n\nOn examination he is apyrexial, but has a persistent nasal obstruction and nasal speech. He is tender over the maxillae and forehead.\n\nWhat is the most likely diagnosis?", "A 9-year-old girl presents with a history of clear nasal discharge for several weeks, accompanied by sneezing and red eyes. This has happened for the last 2 spring times. Full term normal delivery, no neonatal problems. Immunisations up to date. No family or social history of note.\n\nOn examination she is apyrexial and well. She has clear rhinorrhoea, is constantly rubbing her nose and eyes, and has bilateral non-purulent conjunctivitis. She breathes through her mouth.\n\nWhat is the most likely diagnosis?", "A 9-year-old girl presents with fever, frontal headache, generalised convulsion and decreased level of consciouness. She was well until 48 hours before when she had become febrile. The generalised convulsion had begun 20 minutes previously. She has no previous history of note. Full term normal delivery with no neonatal complications. Immunisations up to date. There is no FH/SH of note.\n\nOn examination she has a temperature of 38.7\u00B0C, and responds only to pain. Respiratory rate is 12/min and chest clinically clear. Heart rate is 100/min. Abdominal examination is normal. After the fit is terminated by PR diazepam she appears to have a right focal weakness.\n\nWhat is the most likely diagnosis?", "A child is noticed to have palpable purpura on the elbows.\n\nWhich one of the following is most compatible with a diagnosis of Henoch-Schonlein syndrome?", "A child of 5 years is suspected to have Giardiasis.\n\nWhich one of the following drugs is the most appropriate treatment?", "A term female infant weighing 3.2 kg develops jaundice gradually from the first day of life. The jaundice is uncojugated, is 75 mcg/L at birth, rising to 290 on day 3 and settling with phototherapy. Hb 14.0 g/dL, retic 5%. Film shows polychromasia, nucleated red cells and microspherocytes. Direct Coomb's test is weakly +ve. Baby is A+ve and mother O+ve.\n\nWhat is the most likely diagnosis?", "A young child is noted to have a platelet count of 50 X109/L (150-400 X109). \n\nWhich one of the following conditions may explain the thrombocytopenia?", "An 18-month-old girl presents with stridor at 1 in the morning. She has had a cold for 48 hours, with low-grade fever, but went to bed as usual at 7.30 in the evening. She awoke 4 hours later, crying and distressed, with a barking cough. \n\nWhat is the most likely diagnosis?", "Feeding difficulties in the neonatal period may be due to all of the following except...", "Small intestinal lesions in children with a pathognomonic biopsy finding are seen in...", "Stiff neck in a young child may be present in the following conditions except...", "The parents of a 7-year-old child are concerned that he has started bedwetting, as for the last 3 years he has been dry at night. \n\nWhat is the most appropriate action for this child?", "What is the most common mode of inheritance of von Willebrand's Disease?", "What proportion of the total number of children born with some degree of hearing impairment are detected by neonatal screening of babies considered at 'high-risk' of having congenital hearing loss?", "What would be the best prophylaxis for a 4-year-old male presenting with febrile seizures?", "Which of the following are features of Neurofibromatosis?"]; var aPaediatricsAnswers = ["", "Ammoniacal dermatitis|Atopic dermatitis|Contact dermatitis|Psoriasis|Seborrhoeic dermatitis", "Acute life-threatening event|Cardiac dysrhythmias|Seizures|Sudden infant death syndrome", "Activated partial thromboplastin time (APTT)|Factor VIII activity|Prothrombin time|Thrombin time|Thrombocytopenia", "No treatment is required and the girl can be reassured|Treat with antibiotics only|She should receive the vaccination only|She should receive meningococcal immunoglobulin only|She should receive immediate empirical antimicrobial therapy and vaccination", "Cerebral abscess|Encephalitis|Febrile convulsion, complex|Febrile convulsion, simple|Meningitis", "Marrow failure|Haemolytic anaemia, congenital or acquired|Occult blood loss|Haemaglobinopathies eg sickle cell, thalassaemia|Malignancy", "Ammoniacal dermatitis|Histiocytosis|Napkin candidiasis|Seborrhoeic dermatitis|Scabies", "Atopic dermatitis|Contact dermatitis|Impetigo|Scabies|Urticaria", "Cellulitis|Ethmoiditis|Measles|Mumps|Urinary tract infection", "Autism|Global developmental delay|Impaired hearing|Pervasive developmental disorder|Speech delay, isolated", "Electrolyte disturbance|Encephalitis|Febrile convulsion, complex|Febrile convulsion, simple|Meningitis", "Acute life-threatening event|Cardiac dysrhythmias|Seizures|Sudden infant death syndrome", "ABO incompatibility|Breast milk jaundice|Hypothyroidism|Physiological jaundice|Rhesus disease", "Oral flucloxacillin|Bactroban cream|Exposure to air|Topical betamethasone|Topical iodine", "Pyelonephritis|Inborn errors of metabolism|Congenital adrenal hyperplasia|Hepatitis|Diabetic ketoacidosis", "CMV infection|Infectious mononucleosis|Measles|Parvovirus infection|Roseola infantum", "Clean wound|Confirm tetanus status|Give analgesia|Give antibiotics|Surgical opinion", "Acute lymphoblastic leukaemia|Graves' Disease|Langherhan's cell histiocytosis|Meningioma|Type 1 diabetes mellitus", "Acute leukaemia|Chronic meningococcaemia|Henoch-Schonlein purpura|Rheumatic fever|Von Willibrand's disease", "Henoch-Schonlein purpura|Juvenile idiopathic arthritis|Polyarteritis nodosa|Reiter's syndrome|Systemic lupus erythematosus", "Allergic rhinitis|Cluster headache|Cystic fibrosis|Nasal polyp|Sinusitis", "Allergic rhinitis|Nasal foreign body|Sinusitis|Vasomotor rhinitis|Viral URI", "Cerebral abscess|Electrolyte disturbance|Herpes encephalitis|Idiopathic epilepsy|Bacterial meningitis", "Haemolytic anaemia|Petechiae|Splenomegaly|Sudden onset of oedema in the hands and scrotum|Watery diarrhoea", "Metronidazole|Cotrimoxazole|Tetracycline|Penicillin V|Cefuroxime", "ABO incompatibility|Breast milk jaundice|Physiological jaundice|Rhesus disease", "Disseminated intravascular coagulation|Henoch-Schonlein purpura|Kawasaki disease|Leukaemia in remission|Vitamin K deficiency", "Aspiration of foreign body|Asthma|Bacterial tracheitis|Croup|Epiglottitis", "Prematurity|Hiatus hernia|Cerebral birth trauma|Physiological jaundice|Congenital heart disease", "Abeta-lipoproteinaemia|Giardiasis|Tropical sprue|All of the above", "Acute poliomyelitis|Retropharyngeal abscess|Rubeola|Still's disease|Tuberculosis", "Reassure that bedwetting would be expected at this age|Investigate for secondary causes|Suggest a star chart for this child|Prescribe DDAVP|Suggest a pre-bed routine and avoid drinks before going to bed.", "Autosomal dominant|Autosomal recessive|Co-dominant|X-linked recessive", "25%|50%|75%|95%|100%", "Diazepam|Paracetamol and diazepam|Paracetamol 6 hourly|Phenobarbitone", "Cushing's syndrome|Haemangiomas of the retina|Nephroblastoma|Osteosarcoma|Scoliosis"]; var aPaediatricsRightAnswer = ["", "Atopic dermatitis", "Seizures", "Activated partial thromboplastin time (APTT)", "She should receive immediate empirical antimicrobial therapy and vaccination", "Febrile convulsion, simple", "Haemolytic anaemia, congenital or acquired", "Napkin candidiasis", "Urticaria", "Cellulitis", "Autism", "Febrile convulsion, complex", "Cardiac dysrhythmias", "Physiological jaundice", "Exposure to air", "Hepatitis", "Roseola infantum", "Clean wound", "Langherhan's cell histiocytosis", "Henoch-Schonlein purpura", "Henoch-Schonlein purpura", "Sinusitis", "Allergic rhinitis", "Herpes encephalitis", "Petechiae", "Metronidazole", "ABO incompatibility", "Disseminated intravascular coagulation", "Croup", "Physiological jaundice", "Abeta-lipoproteinaemia", "Rubeola", "Investigate for secondary causes", "Autosomal dominant", "50%", "Paracetamol 6 hourly", "Scoliosis"]; var aCardiologyQuestions = ["", "A 16-year-old girl was found to have delta wave on ECG suggestive of Wolff-Parkinson-White syndrome. There was no tachycardia, and she was asymptomatic. \n\nWhat is the next step in management?", "A 21-year-old man with Hypertrophic Cardiomyopathy presents in clinic with dizzy spells, but no syncopal episodes.\n\nWhich of the following, if present, would indicate an increased risk of sudden cardiac death?", "A 28-year-old man with Hypertrophic Cardiomyopathy has an out-of-hospital cardiac arrest and is successfully resuscitated. \n\nWhat is the most appropriate treatment?", "A 34-year-old male presents with palpitations. The ECG shows a slurred upstroke in the QRS complexes in the chest leads.\n\nWhat is the treatment of choice?", "A 43-year-old man presents to casualty with a 3-hour history of palpitations. He has a history of frequent attacks of palpitations which are terminated by carotid sinus massage. The 12-lead ECG shows a narrow complex tachycardia of 180 bpm with no visible P waves.\n\nWhat treatment should be given to stop the tachyarrhythmia?", "A 45-year-old woman is referred to the outpatient clinic by her GP following diagnosis of significant hypertension after a routine check-up. Her blood pressure in clinic is measured at 180/100 mmHg. Her electrocardiogram reveals changes characteristic of left ventricular hypertrophy. \n\nWhat is the most likely cause for her hypertension?", "A 45-year-old runner develops chest pain and collapses whilst out jogging. He arrives at A&E within 1 hour. He is awake and is given a sublingual nitrate, which reduces his discomfort. His sinus rhythm is at a rate of 90 bpm, and blood pressure is 120/85. An ECG shows 3 mm of ST segment depression in leads II, III, AVF, V5 and V6.\n\nWhich of the following is the best next step in management of this patient?", "A 50-year-old man with known severe aortic stenosis develops syncopal symptoms on exertion.\n\nWhat is the next step in his management?", "A 52-year-old man with a known history of hypertension attends and outpatient clinic and has a blood pressure level of 150/90. He has previously reduced his salt intake, but continues to drink six bottles of wine per week. He is on a beta-blocker and thiazide diuretic treatment.\n\nWhat is the next step in treatment?", "A 55-year-old woman presented with dizziness and breathlessness. The breathlessness was worse with exertion, but she also found that she was breathless lying in bed at night and had started to sleep on four pillows in order to alleviate the symptoms. Over the three days preceding her consultation, she also felt dizzy. On examination, she was thin but otherwise appeared well. Her pulse was 110 bpm and regular. Her blood pressure was 110/55 mmHg. Her jugular venous pulse was raised 4 cm above the sternal angle. There were bibasal fine inspiratory crackles in both lungs on auscultation. Examination of her abdomen was unremarkable. Examination of the cardiovascular system revealed a tapping apex beat in the 5th intercostal space in the midclavicular line. \n\nWhat is the most likely cause these symptoms and signs?", "A 62-year-old man with a longstanding history of hypertension is seen in the outpatient clinic. Investigations include:\n\nCreatinine 280 \u00B5mol/L (60-110) Urinalysis Blood ++\nProtein 1.8 g/L\nUltrasound scan of kidneys: left 8.5 cm, right 8.9 cm\n\nWhat is the best investigation to diagnose the cause of his renal impairment?", "A 64-year-old man is noted to have hypertension (180/100 mmHg). He has a history of a myocardial infarction two years ago and has a background history of asthma.\n\nWhat is the antihypertensive of choice for this patient?", "A 65-year-old woman presents with a 4-hour history of fatigue and palpitations. On examination she is vomiting, and is noted to have a slight tremor, some lid lag and an irregular pulse of 140 bpm, with some fine basal crackles. ECG confirms atrial fibrillation with a rate of approximately 130 bpm. Thyroid function tests show:\n\nFree T4 31.8 pmol/L (10-22)\nTSH 0.05 mU/L (0.4-5)\n\nWhich of the following is the most appropriate initial treatment for this patient?", "A 70-year-old woman with established aortic stenosis attends for annual review.\n\nWhich one of the following factors is the most important in deciding the timing of surgery?", "A 72-year-old man with type II diabetes mellitus presented following the sudden onset of palpitations. An ECG revealed rapid atrial fibrillation. He was commenced on Amiodarone but the atrial fibrillation persisted. \n\nWhich of the following has been shown to be of greatest benefit in reducing his future risk of vascular events?", "A 72-year-old patient with type 2 diabetes and stable ischaemic heart disease is admitted with palpitations. He is taking metformin 500 mg tds, aspirin 75 mg daily, ramipril 2.5 mg daily and simvastatin 40 mg daily. On examination, his pulse rate is 140 bpm, and blood pressure is 110/68 mmHg. There is no evidence of left ventricular failure and his ECG confirms atrial fibrillation.\n\nWhich of the following would be the most appropriate medication for control of his atrial fibrillation?", "A patient presents to casualty with a history of ringing in the ears and headache from taking a heart drug, the name of which he does not know.\n\nExamination reveals increased QT in ECG. What is the probable drug?", "A patient presents with suspected congestive heart failure. You wish to calculate a their ejection fraction due to a complaint of dyspnoea.\n\nWhich of the following echocardiographic measures would be mandatory?", "A patient with known angina attends clinic for pre-operative assessment.\n\nWhich of the following statements is incorrect?", "Abciximab acts through...", "An early systolic murmur may be caused by all of the following except...", "Coarctation of the aorta is associated with all the following except...", "Cyanosis is a feature of which of the following conditions?", "In patients with ischaemic heart disease (IHD), which of the following statements is FALSE?", "In the ECG, the P-wave is absent in...", "In which of the following is the Bundle of Kent seen?", "The Bundle of Kent is related to...", "Troponin-T is preferable to CK-MB in the diagnosis of acute myocardial infarction (M1) in all of the following situations except...", "Unsynchronised defibrillation is used in...", "Which of the following conditions is associated with Wolff-Parkinson-White syndrome?", "Which of the following does not cause a mid-diastolic murmur?", "Which of the following is currently recommended as the drug of choice in treating refractory ventricular fibrillation or pulseless ventricular tachycardia?", "Which of the following conditions requires the highest level of anticoagulation?", "Which of the following represents an absolute contra-indication to exercise testing?", "Which of the following would be expected to reduce maternal mortality when given in eclampsia?"]; var aCardiologyAnswers = ["", "Beta-blocker therapy|Electrophysiological study and provocation of arrhythmia|Reassurance|Repeat ECG", "Asymmetric septal hypertrophy with maximum wall thickness of 2.1 cm|Ventricular tachycardia|Left ventricular outflow tract gradient of 80 mm/Hg|Systolic Anterior Movement of the mitral valve on echocardiography|Worsening exertional angina", "Alcohol Septal Ablation|Amiodarone|Beta-blockers|Implantable Defibrillator|Myomectomy", "Amiodarone|Aspirin|Diltiazem|Radiofrequency ablation|Warfarin", "Adenosine|Amiodarone|Digoxin|Lidocaine|Verapamil", "Coarctation of the aorta|Conn's Syndrome|Essential hypertension|Phaeochromcytoma", "admission with initiation of aspirin, beta-blocker, and heparin therapy|an exercise stress test to rule out ischaemia as the cause of his symptoms|cardiac catheterisation and percutaneous transluminal coronary angioplasty|reassurance and discharge|thrombolysis", "Aortic valvuloplasty|Aortic valve replacement|Close outpatient follow-up with serial echocardiograms|Exercise test looking for dysrhythmias|Observe until he develops symptoms of breathlessness", "Commence an ACE inhibitor|Increase thiazide diuretic dose to 5 mg|Reassurance|Reduction of alcohol intake|Reduction of salt in cooking ingredients", "Aortic regurgitation|Atrial septal defect|Mitral stenosis|Subacute bacterial endocarditis|Tricuspid stenosis", "Intravenous urogram (IVU)|Isotope renogram|Renal angiogram|Renal biopsy|Retrograde pyelogram", "Angiotensin-converting enzyme (ACE) inhibitor|Alpha-blocker|Amlodipine|Beta-blocker|Thiazide diuretic", "Anticoagulation|DC cardioversion|IV amiodarone|IV digoxin|IV Metoprolol", "Aortic valve gradient of 50 mmHg|Left ventricular hypertrophy|Valvular calcification|The patient's symptomatology", "Anticoagulation|Aspirin|Continuation of Amiodarone|DC cardioversion|Digoxin", "IV Amiodarone|IV Bisoprolol|IV Digoxin|IV Flecainide|Urgent DC cardioversion", "Amiodarone|Digoxin|Lidocaine|Quinidine", "Aortic valve peak velocity|Pulse wave of mitral inflow|Left ventricular end-diastolic diameter|M-mode of the mitral valve|M-mode of the aortic valve", "Angiotensin converting enzyme inhibitor (ACE-I) therapy reduces myocardial infarction rates|A positive troponin-T without creatinine kinase (CK) rise is diagnostic of a non-Q wave myocardial infarction|A fall in blood pressure on exercise testing suggests severe coronary disease|The only finding on examination may be a fourth heart sound during an acute attack|Dyspnoea after an attack of angina is the hallmark of poor left ventricular (LV) function", "monoclonal antibody to the platelet glycoprotein IIb/IIIa receptor|Anti-androgen|Anti-oestrogen|Anti-progestrogen", "Aortic stenosis|Aortic sclerosis|Hypertophic obstructive cardiomyopathy|Tricuspid regurgitation", "bicuspid aortic valve|cerebrovascular aneurysms|hypoplastic aortic arch|pulmonary stenosis", "Patent ductus arteriosus|Ventricular septal defect|Severe pulmonary stenosis|Atrial septal defect|Mitral atresia", "A fall in blood pressure on exercise testing suggests severe coronary disease|The only finding on examination may be a fourth heart sound during an acute attack|Dyspnoea after an attack of angina is the hallmark of poor left ventricular (LV) function|Angiotensin-converting enzyme (ACE) inhibitor therapy reduces myocardial infarction rates|A positive troponin-T test without creatinine kinase (CK) rise is diagnostic of a non-Q wave", "Wolff-Parkinson-White syndrome|Atrial fibrillation|Ventricular tachycardia|Ventricular fibrillation|Atrial tachycardia", "Prinzmetal angina|Arrhythmogenic right ventricular cardiomyopathy|Sick sinus syndrome|Wolff-Parkinson-White syndrome", "Wolff-Parkinson-White syndrome|Lown-Ganong-Levine syndrome|Constrictive pericarditis|Dressler syndrome", "bedside diagnosis of MI|postoperatively (after CABG)|reinfarction after 4 days|small infarcts", "Atrial fibrillation|Atrial flutter|SVT|Ventricular fibrillation", "Hypertrophic cardiomyopathy|Ebstein's anomaly|Mitral valve prolapse|Secundum atrial septal defect|Ventricular tachycardia in the absence of drug therapy", "Left atrial myxoma|Mitral stenosis|Aortic regurgitation|Tricuspid stenosis", "Adenosine|Amiodarone|Bretylium|Lidocaine|Magnesium", "Bioprosthetic valve implantation in aortic position with chronic atrial fibrillation|Non-valvular atrial fibrillation with previous embolic stroke|Severe mitral stenosis with atrial fibrillation|Starr-Edwards valve in mitral position in sinus rhythm|St. Jude (bileaflet) valve in mitral position in sinus rhythm", "Severe aortic stenosis|Severe left anterior descending coronary stenosis|One week following Myocardial Infarction|Peripheral Vascular Disease", "Insulin and dextrose infusion|Low-dose dopamine infusion|Magnesium infusion|Phenytoin infusion|Salbutamol infusion"]; var aCardiologyRightAnswer = ["", "Reassurance", "Ventricular tachycardia", "Implantable Defibrillator", "Radiofrequency ablation", "Adenosine", "Essential hypertension", "admission with initiation of aspirin, beta-blocker, and heparin therapy", "Aortic valve replacement", "Reduction of alcohol intake", "Mitral stenosis", "Renal biopsy", "Angiotensin-converting enzyme (ACE) inhibitor", "IV digoxin", "The patient's symptomatology", "Anticoagulation", "IV Bisoprolol", "Quinidine", "Left ventricular end-diastolic diameter", "A fall in blood pressure on exercise testing suggests severe coronary disease", "monoclonal antibody to the platelet glycoprotein IIb/IIIa receptor", "Tricuspid regurgitation", "pulmonary stenosis", "Severe pulmonary stenosis", "Dyspnoea after an attack of angina is the hallmark of poor left ventricular (LV) function", "Atrial fibrillation", "Wolff-Parkinson-White syndrome", "Wolff-Parkinson-White syndrome", "reinfarction after 4 days", "Ventricular fibrillation", "Ventricular tachycardia in the absence of drug therapy", "Aortic regurgitation", "Amiodarone", "Starr-Edwards valve in mitral position in sinus rhythm", "Severe aortic stenosis", "Magnesium infusion"]; var aEmergencyMedicineQuestions = ["", "A 14-year-old boy falls awkwardly while swinging from a rope in an adventure playground. He lands head first, causing violent flexion of his neck. An ambulance is called.\n\nHe has previously been fit and well. Full term normal delivery, no neonatal problems. Immunisations up to date. No family or social history of note.On examination the temperature is 36.5\u00B0C.\n\nHe has been intubated and is being bag ventilated in 100% Oxygen. Heart rate is 60/min and pulse is thready, though the peripheries are warm and pink. Blood pressure is 75 mmHg systolic by dynamap. He is paralysed from the neck down, and has a GCS of 8.\n\nWhat is the most mechanism of shock?", "A 16-year-old female attends casualty 15 hours after ingesting approximately 30g of Paracetamol and 2g of Dihydrocodeine.On examination, she is drowsy with a Glasgow Come Scale of 15. Her pulse is 100 beats per minute, blood pressure is 110/66 mmHg and she has pinpoint pupils, with saturations of 96% on air.\n\nWhat is the most appropriate treatment for this patient?", "A 16-year-old female presents with a three year history of recurrent colicky loin pain. One year ago she passed a renal calculus.24-hour urine collection showed normal levels of calcium, phosphate and urate, but elevated levels of arginine, cystine, lysine and ornithine.\n\nWhich one of the following features is characteristic of this condition?", "A 17-year-old male was admitted to A+E from the inpatient psychiatric unit. He had a short history of severe depression and his admission to the psychiatric unit had been arranged from the community. However, shortly after arriving in the psychiatric unit he collapsed. An empty pill bottle was found in his pocket. \n\nOn admission to the Accident and Emergency Unit he was semi-conscious with a GCS of 6. His pupils were equal and dilated and responded sluggishly to light. Multiple muscle twitches were noted and he was globally hyperreflexic. His ECG showed a broad complex tachycardia. \n\nAfter appropriate supportive care, which of the following would be the most appropriate specific treatment for this young man?", "A 18-year-old female is brought to A+E unconscious after having taken an overdose.\n\nOn examination she has...\nGlasgow coma score 6\nRespiratory rate 8 breaths per minute\nHeart rate 52 beats per minute\nBlood pressure 84/62 mmHg\n\nHer pupils are small but are reactive to light, muscle tone is reduced and plantar responses are flexor.\n\nWhat is the most likely cause of this presentation?", "A 19-year old man was admitted to Casualty from the inpatient psychiatric unit. He had a known history of severe depression and his admission to the psychiatric unit had been arranged from the community. However, shortly after arriving in the psychiatric unit he collapsed. An empty pill bottle was found in his pocket.\n\nOn admission to the Accident and Emergency Unit he was semi-conscious. His pupils were equal and dilated and responded sluggishly to light. Multiple muscle twitches were noted and he was globally hyperreflexic. His ECG showed a broad complex tachycardia.\n\nHow should this patient be treated?", "A 23-year-old female presents 16 weeks into her pregnancy with a vaginal discharge. Further investigation confirms infection with Chlamydia trachomatis.\n\nWhich of the following is the most appropriate treatment for this patient?", "A 30-year-old man is admitted three hours after taking an overdose of amitriptyline and diazepam. On examination he was drowsy with a Glasgow Coma Scale of 8, he had a pulse of 140 beats per minute, a blood pressure of 114/88 mmHg and dilated pupils. His oxygen saturation was 90% on room air.\n\nWhat is the most appropriate initial action for this patient?", "A 34-year-old female attends the Emergency Department and complains of two days of fevers. She had complained of vague, flu-like symptoms for the last week. In the 12 hours prior to admission, her partner reports that she has a reduced level of consciousness with drowsiness. Just 3 weeks previously, the patient and her partner had returned from a 4 week tour of the southern states of the USA in a camper van.On examination, the heart rate is 70 and regular, and the blood pressure is 145/75. Cardiovascular and respiratory examination is entirely normal. GCS is 13, power, tone sensation and reflexes are normal in the upper and lower limbs. The only neurological abnormality seems to be a bizarre twitching of the eyebrows, mouth and digits. There are no skin rashes.Investigations show...\n\nHaemoglobin 14.3 g/dL (11.5-16.5)\nWhite cell count 7.3 x109/L (4-11 x109)\nPlatelets 249 x109/L (150-400 x109)\nSerum sodium 139 mmol/L (137-144)\nSerum potassium 3.9 mmol/L (3.5-4.9)\nSerum urea 2.8 mmol/L (2.5-7.5)\nSerum creatinine 89 \u00B5mol/L (60-110)\nSerum glucose 6.1 mmol/L (3.0-6.0)\nSerum calcium 2.5 mmol/L(NR 2.2 - 2.6)\nLiver function tests Normal\nCSF examination reveals...\n\nGlucose 4.0 mmol/L (3.3-4.4)\nRed cells 10\nWhite cells 1\nCSF protein 0.4 g/L (0.15-0.45)\nOligoclonal bands... Absent\nA T2-weighted MRI of the brain is reported as showing high signal intensity and swelling in the thalamus bilaterally. On returning to the ward from the MRI scanner the patient has a generalised tonic-clonic seizure.\n\nWhat is the most likely diagnosis?", "A 36-year-old Afro Caribbean woman presents having suffered her fourth miscarriage. She has a history of venous thrombosis. She is positive for the lupus anticoagulant.\n\nWhich is the likely diagnosis?", "A 36-year-old female is found unresponsive at a home by family members. She has a known history of depression. On examination, she has a respiratory rate of 6/min, temperature of 38\u00B0C, pulse 140 beats/min and BP 85/40 mmHg. Chest was clear bilaterally with shallow respiratory effort. No murmurs were detected and she had thready peripheral pulses. Abdomen was soft and non-tender. On neurological examination, she had no meningism, moved all four limbs to deep pain and had symmetrically brisk reflexes.Investigations...\n\nHb 13.1 g/dL (11.5-16.5)\nWCC 11.9 x109/L (4-11 x109)\nPlatelets 350 x109/L (150-400 x109)\nPlasma sodium 132 mmol/L (137-144)\nPlasma potassium 3.8 mmol/L (3.5-4.9)\nPlasma urea 7.1 mmol/L (2.5-7.5)\nPlasma creatinine 110 \u00B5mol/L (60-110)\nPlasma glucose 5.5 mmol/L (3.0-6.0)\nPlasma calcium 2.2 mmol/L (2.2-2.6)\nChest x-ray is normal\nECG Wide complex tachycardia\n\nArterial blood gases on air...\nPaO2 11.2 kPa (11.3-12.6)\nPaCO2 5.9 kPa (4.7-6.0)\npH 7.31 (7.36-7.44)\nCT brain Normal\nCSF opening pressure 16 mm H2O (50-180)\nCSF cell count 2 cells/ml\nCSF protein 0.3 g/L (0.15-0.45)\nCSF glucose 4.5 mmol/L (3.3-4.4)\nShortly after the lumbar puncture, she had a grand mal seizure.\n\nWhat is the most likely diagnosis?", "A 36-year-old woman presented to the Accident & Emergency department with an episode of loss consciousness whilst out walking her dog. There was no history of tongue biting or loss of continence. There were no witnesses to the collapse.\n\nOn direct questioning she admitted to being increasingly breathless on exertion and feeling fatigued. She had no history of respiratory disease but was unable to comment on her family history as she was adopted at birth. Although she took no regular medication she did admit to recreational drug use including ecstasy. On examination she was mildly cyanosed but was alert and orientated.\n\nHer pulse was 90 beats per minute regular, temperature 36.5\u00B0C, blood pressure 100/80 mmHg and oxygen saturations 88% on room air. Auscultation of her chest revealed an accentuated second heart sound, a pansystolic murmur at the left sternal edge and an early diastolic murmur at the second left space.An Electrocardiogram revealed a sinus tachycardia.\n\nWhat is the most likely diagnosis?", "A 38-year-old male is admitted with an hour history of chest pain, confusion and agitation after taking a recreational drug.\n\nOn examination, he is confused, has a temperature of 38.3\u00B0C and a blood pressure of 188/102 mmHg.\n\nWhich of the following drugs is most likely to be responsible for his presentation?", "A 42-year-old homeless man is brought into accident and emergency department at approximately 11pm by the emergency ambulance crew. He is known to have a history of alcohol abuse and on this occasion, he was found by a group of passers-by outside a nightclub having sustained a laceration to his forehead following a fall onto the pavement.\n\nOn arrival to accident and emergency department, he was described as being unkempt with a strong odour of alcohol. He appeared to be moderately intoxicated with alcohol and on examination he was found to have a superficial laceration over his left forehead, which required no suturing. His Glasgow Coma Scale was 14/15. No localising signs were found on examination of the central nervous system. He was admitted overnight for observations.\n\nHe took his own discharge at approx 9am the next day but returned to the ward later on the same day complaining shortness of breath and blurred vision. In addition, he had developed abdominal pain associated with vomiting and diarrhoea.\n\nOn examination, he had a respiratory rate of 30/min. Pulse rate of 100/min regular, blood pressure of 110/60 mmHg and heart sounds normal. There were occasional coarse crepitations in both lung fields which cleared on coughing. Examination of the abdomen revealed generalised tenderness with no masses or hepato-splenomegaly. Rectal examination was normal. The only other positive findings were hyperaemia and blurring of the optic discs bilaterally.Initial investigations showed...\n\npH 7.25 (7.36-7.44)\npO2 14.3 kPa (11.3-12.6)\npCO2 3.7 kPa (4.7-6.0)\nBicarbonate 12 mmol/L (20-28)\nBase excess -12 mmol/L (+/-2)\nSerum sodium 132 mmol/L (137-144)\nSerum potassium 4.1 mmol/L (3.5-4.9)\nSerum urea 7.2 mmol/L (2.5-7.5)\nSerum creatinine 113 \u00B5mol/L (60-110)\nSerum chloride 96 mmol/L (95-107)\nSerum glucose 11.4 mmol/L (3.0-6.0)\n\nWhat is the most likely cause for his abnormal investigations?", "A 45-year-old female is admitted with fatigue, nausea and weight loss. She is known to have abused alcohol for many years and has previously developed delirium tremens. She stopped drinking alcohol two days ago.\n\nOn examination, she is thin, alert and orientated. She is slightly icteric, with features of chronic liver disease but there is no flapping tremor. Pulse is 88 bpm regular, blood pressure is 106/74 mmHg and temperature is 37\u00B0C.She is treated with IV thiamine.\n\nWhich one of the following agents would be recommended for the prevention of acute alcohol withdrawal?", "A 56 year-old man with a history of hypertension, hiatus hernia, and occasional cocaine use presents to the accident and emergency department with acute onset of dizziness, chest pain and bilateral limb weakness. On the morning of admission, he experienced an acute onset of chest discomfort associated with dizziness and had to sit down in a chair. Shortly afterwards, he noticed tingling in all extremities, became diaphoretic, and could not move his limbs. He denies involvement of his face, vertigo, or diplopia. His speech is clear. The patient denies any trauma.\n\nOn examination, he is apyrexial, wearing a collar, tachypnoiec and gasping for air between short phrases. He is weak in all his limbs (right more than left) with a sensory loss to the level of C3/4. Sensation was absent to pin-prick and temperature up to C3/4 level. Vibration sense and proprioception were normal. Deep tendon reflexes were absent throughout with decreased anal tone. Plantars were upgoing bilaterally.\n\nInvestigations showed...\n\nHb 12.9 g/dL (13.0-18.0)\nWCC 5.7 x109/L (4-11 x109)\nPlatelets 250 x109/L (150-400 x109)\nPlasma sodium 145 mmol/L (137-144)\nPlasma potassium 3.9 mmol/L (3.5-4.9)\nPlasma urea 6.8 mmol/L (2.5-7.5)\nPlasma creatinine 101 \u00B5mol/L (60-110)\nPlasma glucose 5.9 mmol/L (3.0-6.0)\nCSF opening pressure 16 mm H2O (50-180)\nCSF cell count <2 cells/ml\nCSF protein 0.4 g/L (0.15-0.45)\nCSF glucose 6.8 mmol/L (3.3-4.4)\nCSF microbiology No organism on gram stain or growth on culture\nUrine toxicology Positive for cocaine only.\nCT scan of brain...\n normal\n\nWhat is the likely diagnosis?", "A 56-year-old male is admitted with acute myocardial infarction.\n\nWhich of the following drugs should be avoided during the first 24 hours?", "A 59-year-old man who was active all his life develops sudden severe anterior chest pain that radiates to his back. Within minutes, he is unconscious. He has a history of hypertension, but a recent treadmill test had revealed no evidence for cardiac disease.\n\nWhich of the following is the most likely diagnosis?", "A 62-year-old man is seen in a well man clinic. Past medical history includes hypertension, angina and hypercholesterolaemia for which he takes amlodipine, ramipril, simvastatin and aspirin. He smokes 20 cigarettes per day. On examination, his pulse is 76 beats per minute regular and blood pressure is 145/84 mm/Hg. A vague pulsatile mass is detected in the epigastrium.\n\nWhat is the next appropriate step in management?", "A 65-year-old male is admitted with a two hour history of central chest pain associated with sweating and nausea. A myocardial infarction is supected.\n\nWhich of the following is an indication for thrombolytic therapy?", "A 65-year-old woman undergoes temporary pacing due to complete heart block following acute myocardial infarction.\n\nWhich coronary artery is most likely to have been occluded?", "A 67-year-old insulin dependent diabetic with a broad complex pulseless tachyarrhythmia (with a protected airway) has been defibrillated 3 times. He has just finished receiving 2 minutes of cardiopulmonary resuscitation and has received adrenaline.\n\nWhich of the following is the next step in the management of the arrest?", "A 72-year-old man presented to Casualty with a two hour history of chest pain and breathlessness. The pain started while eating his evening meal. He described the pain as a severe central chest pain radiating up into his neck and also through his back between the shoulder blades. He denied any recent history of exertional chest discomfort or dyspnoea.\n\nHe had a 15-year history of hypertension for which he was taking bendroflumethiazide and nifedipine. He was a smoker of 20 cigarettes per day and drank approximately 40 units of alcohol per week. On examination he was anxious, pale and sweaty. His pulse was 122 beats per minute with blood pressure of 90/45 mmHg, equal in both arms. His heart sounds were normal and no murmurs were heard.\n\nExamination of his chest revealed a dull percussion note at the left base with corresponding loss of breath sounds. Peripheral pulses were normal. The remainder of the examination was normal.His ECG showed a sinus tachycardia with T wave inversion in lead III and aVF. His chest x-ray showed a small left pleural effusion.\n\nWhat is the most likely diagnosis?", "A 76-year-old man presented to A+E after a syncopal episode at home. \n\nHe recovered spontaneously but his wife, who witnessed the episode, insisted that he go to hospital. His only recollection of the episode was that he suddenly felt light-headed and then he passed out. He said that the episode was not preceded by chest pain or breathlessness. \n\nHe had a previous history of an anterior myocardial infarction three months previously. On examination, he appeared well. His pulse was 80 beats per minute and regular with a blood pressure of 110/70 mmHg. \n\nHe had a diffuse apex beat. The heart sounds were normal with no added sounds or murmurs. A 12-lead ECG showed ST segment elevation in leads V3 to V6 and frequent ventricular extrasystoles. A serum troponin-T, taken twelve hours after the episode, was normal. \n\nWhat is the most likely diagnosis?", "An 18-year-old male with sickle cell disease presents with severe abdominal pain. His blood pressure is 180/100 mmHg, heart rate 110 bpm, and temperature 38.0\u00B0C.\n\nWhat is your first action?", "An 54-year-old male redevelops chest pain 72 hours after treatment for an anterior myocardial infarction.\n\nWhich of the following markers will be the most sensitive in detecting reinfarction?", "An 87-year-old man was admitted to Accident and Emergency with a 2-hour history of sharp central chest pain and breathlessness. One week ago he noticed his left leg had become swollen, but had decided not to consult medical advice. Apart from essential hypertension, for which he was taking bendroflumethiazide, he had no other medical conditions. He was a lifelong non-smoker. On clinical examination he was dyspnoeic at rest with a respiratory rate of 24 breaths per minute. His blood pressure was 110/80 mmHg, pulse 90 beats per minute and regular with oxygen saturations of 86% on room air. Auscultation of his chest revealed a loud second heart sound over the right second intercostal space. Analysis of arterial blood gases on air showed...pH 7.46 (7.36-7.44)\n\nPaO2 7.0 kPa (11.3-12.6)\nPaCO2 3.8 kPa (4.7-6.0)\nStandard HCO3 24 mmol/L (20-28) A CT pulmonary angiogram showed a large saddle embolism affecting his pulmonary trunk.\n\nWhat is the most appropriate management?", "Causes of dilated pupils include...", "Commonest cause of an aneurysm is...", "In most cardiac arrest situations 1mg of adrenaline (epinephrine) is given intravenously every 3 minutes.\n\nWhat is the correct volume and concentration of the adrenaline?", "In the consideration of Disseminated Intravascular Coagulation (DIC), which of the following statements is most correct?", "Which of the following diseases is usually caused through improperly canned meat?", "Which of the following is not a recognised effect of chronic cocaine abuse?", "Which of the following is the specific treatment of organophosphate poisoning?", "Which of the following statements regarding Disseminated intravascular coagulation is most correct?"]; var aEmergencyMedicineAnswers = ["", "Anaemic|Cardiogenic|Distributive|Hypovolaemic|Septic", "10% Dextrose infusion|Activated charcoal by mouth|Gastric lavage|N-Acetylcysteine intravenously|Naloxone intravenously", "Accumulation of cystine in collecting system|Autosomal dominant inheritance|Cystine deposits within the cornea|Functional defects within the glomeruli", "D/C cardioversion|Intravenous lidocaine|Intravenous magnesium sulphate|Intravenous sodium bicarbonate|Oral activated charcoal", "Diazepam|Dihydrocodeine|Diphenhydramine|Ecstasy (MDMA)|Methanol", "Oral activated charcoal|D/C cardioversion|Intravenous sodium bicarbonate|Intravenous lidocaine|Intravenous magnesium sulphate", "Azithromycin|Ciprofloxacin|Co-trimoxazole|Doxycycline|Metronidazole", "activated charcoal|CT head scan|ECG|IV atenolol|IV flumazenil", "Guillain-Barre Syndrome|Somatisation disorder|Lyme disease|Cysticercosis|West Nile Virus infection", "Anti phospholipid syndrome|Bacterial vaginosis|Poorly controlled diabetes mellitus|Systemic lupus erythematosis|Uterine abnormality", "Cerebral hypoperfusion secondary to cardiac disease|Tricyclic antidepressant overdose|Herpes simplex encephalitis|Meningoccocal meningitis|Subarachnoid haemorrhage", "Acute Pulmonary Embolism|Epilepsy|Hypertrophic Cardiomyopathy|Mixed Aortic Valve disease|Pulmonary Arterial Hypertension", "Cocaine|Ecstasy (MDMA)|Gamma hydroxybutyrate (GHB)|LSD|Opiates", "Diabetic ketoacidosis|Ecstasy ingestion|Ethylene glycol ingestion|Methanol ingestion|Pancreatitis", "IV Diazepam|Oral Diazepam|IM Haloperidol|Oral Quetiapine|No preventative treatment required", "Epidural abscess|Disc herniation/spondylitis|Spinal cord compression secondary to trauma|Spinal cord ischaemic stroke at C3/4|Transverse myelitis", "Aspirin|Digoxin|Metoprolol|Streptokinase", "Acute myocardial infarction|Group A streptococcal infection|Pulmonary embolus|Right middle cerebral artery embolus|Tear in the aortic intima", "Computed tomography scan|Emergency admission|Reassurance|Referral to a vascular surgeon|Ultrasound scan", "1mm ST elevation in leads V2 and V6|1mm ST elevation in leads II, III and aVF.|2mm ST depression in leads V2-4|T wave inversion in lead V3-5|Q waves in leads V2-4", "Anterior descending|Circumflex|Left main coronary|Obtuse marginal|Right coronary", "Adrenaline 1 mg|Amiodarone 300mg|DC shock|Lidocaine 100mg|Removal of oxygen and then DC shock", "Acute coronary syndrome (unstable angina)|Acute inferior myocardial infarction|Aortic dissection|Oesophageal rupture|Pulmonary embolism", "Acute lateral myocardial infarction|Heart failure with secondary ventricular tachycardia|Intermittent complete heart block post-myocardial infarction|Left ventricular aneurysm with secondary ventricular tachycardia|Postural hypotension due to poor left ventricular function", "AXR|CXR|IV Normal saline and analgesia|IV Benzylpenicillin 2.4g|Urgent surgical consult", "CK-MB|LDH|Myoglobin|Troponin I|Troponin T", "Continuous infusion of unfractionated heparin|Low molecular weight heparin at a dose of 1.5mg/kg|Urgent placement of IVC filter|Urgent thrombolysis|Urgent referral for endarterectomy", "Argyll Robertson pupil|Ethylene glycol poisoning|Myotonic dystrophy|Organophosphate poisoning", "Trauma|Syphilis|Atherosclerosis|Diabetes mellitus", "0.1ml of 1 in 100|1ml of 1 in 1000|10ml of 1 in 1000|1ml of 1 in 10,000|10ml of 1 in 10,000", "The presence of DIC does not increase mortality from the underlying disease|In DIC asociated with sepsis secondary to retained products of conception, treatment of antibiotics will alleviate the process|Organ failure is a common finding in DIC|The intrinsic pathway is not involved in the pathophysiology of DIC|There are no randomised control trials to guide treatment in DIC", "Salmonellosis|Botulism|Shigellosis|Cholera", "Hallucinations|Hypersomnia|Hyponatraemia|Severe anxiety and paranoid ideation|Sexual dysfunction in men", "Atropine|Pralidoxime|Neostigmine|Adrenaline", "Removal of the underlying cause of the DIC will lead to resolution the manifestations of DIC|DIC is associated with a rising platelet count|DIC is associated with rising fibrinogen levels|Normal clotting parameters effectively excludes a diagnosis of DIC|DIC is associated with an elevated D-Dimer"]; var aEmergencyMedicineRightAnswer = ["", "Distributive", "N-Acetylcysteine intravenously", "Accumulation of cystine in collecting system", "Intravenous sodium bicarbonate", "Dihydrocodeine", "Intravenous sodium bicarbonate", "Azithromycin", "ECG", "West Nile Virus infection", "Anti phospholipid syndrome", "Tricyclic antidepressant overdose", "Pulmonary Arterial Hypertension", "Cocaine", "Methanol ingestion", "Oral Diazepam", "Spinal cord ischaemic stroke at C3/4", "Digoxin", "Tear in the aortic intima", "Ultrasound scan", "1mm ST elevation in leads II, III and aVF.", "Right coronary", "Amiodarone 300mg", "Oesophageal rupture", "Left ventricular aneurysm with secondary ventricular tachycardia", "IV Normal saline and analgesia", "CK-MB", "Low molecular weight heparin at a dose of 1.5mg/kg", "Ethylene glycol poisoning", "Atherosclerosis", "10ml of 1 in 10,000", "Organ failure is a common finding in DIC", "Botulism", "Hyponatraemia", "Pralidoxime", "DIC is associated with an elevated D-Dimer"]; var aGastrointestinalQuestions = ["", "A 12-month-old male child suddenly draws up his legs and screams with pain. This is repeated periodically throughout the night interspersed with periods of quiet sleep. When seen after 12 hours the child looks pale, has just vomited and passed a thin blood-stained stool; there is a mass around umbilicus.\n\nWhat is the most likely diagnosis?", "A 15-year-old male is suspected of having Giardiasis following a visit to Romania.\n\nWhich of the following is the most appropriate way of confirming the diagnosis?", "A 17-year-old male from India presents with fever of 4 months duration and splenomegaly.\n\nWhat is the most likely diagnosis?", "A 17-year-old male student attends clinic complaining of right knee pain and left ankle pain. These pains have deteriorated over the last two months and are associated with episodic diarrhoea.\n\nWhat is the most likely diagnosis?", "A 17-year-old student returns from a back-packing trip to Nepal with a two-week history of offensive diarrhoea and weight loss.\n\nWhat is the most likely infective organism?", "A 19-year-old man is referred by his General Practitioner with a 3-month history of severe intermittent bloody diarrhoea. A barium enema shows multiple ulcers and evidence of inflammatory changes extending from the rectum to the mid transverse colon. A colonoscopy is performed and biopsies, taken from multiple sites, show acute and chronic inflammation restricted to the mucosa.\n\nThe most likely diagnosis is", "A 25-year-old shop attendant presents to the local accidents and emergency department with left loin pain, which radiates into his groin. He is clearly in some discomfort. Upon being informed that he has renal colic, the patient expresses an urgent desire for some analgesia. \n\nWhich of the following is the most appropriate medication to prescribe in the circumstances?", "A 29-year-old female with Turner's syndrome is referred by the GP concerned about her blood pressure which he has found to be persistently elevated at between 140-160/90 mmHg.\n\nOn examination she is noted to have a blood pressure of 148/92 mmHg, with no radio-femoral delay and no murmur audible.\n\nWhich of the following is the most likely cause of her hypertension?", "A 33-year-old barrister presents to the surgical emergency unit with worsening of crampy lower abdominal pain (she has had it on and off for 4 weeks), diarrhoea (8-10 times/day) and loss of appetite. She has lost 2 stone in weight in the last 3 months. She has not noticed any blood in her stools.\n\nOn examination, she appears pale and her temperature is 37.8oC. Abdominal examination reveals a mildly tender mass over her right iliac fossa. Per rectal examination reveals an empty rectum but there are a few tender abscesses in the perianal region.\n\nFrom the options below choose the one that you think is the most likely diagnosis in this patient.", "A 35 year-old patient presented with a 4-month history of nausea and weight loss (8 kg). He complained of vague abdominal discomfort with no clear exacerbating or relieving factors.\n\nHis only past history was of a partial gastrectomy 20 years previously for a gastric ulcer. He was not taking any prescribed medications. On examination he has a hyperpigmented, velvety rash in the axillae.\n\nWhat is the most likely diagnosis?", "A 35-year-old woman has had 4 previous live births. 16 weeks into her fifth pregnancy she presents with diffuse lower abdominal pain. On examination she is tender in the suprapubic area. She has a fundal height of 25cm and there is a firm mass related to the uterus. She has urinary frequency but no dysuria. Only one fetal heart is heard.\n\nWhat is the cause of this situation?", "A 43-year-old woman presents to the Accident and Emergency department with an 8-hour history of severe right upper quadrant pain and vomiting. She says that the pain exacerbates on breathing and is radiating to her right scapula. On examination, she is pale and mildly jaundiced. Her pulse rate is 104/min and temperature is 38.8\u00BA C.\n\nAbdominal examination reveals a tender mass over the right hypochondrium. She says that she used to get this type of pain following a fatty meal, although not this severe. Serum amylase is not elevated.\n\nFrom the options below choose the one that you think is the most likely diagnosis in this patient.", "A 45-year-old man had recurrent nephrolithiasis. Renal function tests and serum calcium measurements were normal. A 24 hour urine collection revealed...\n\nVolume 3L\nCalcium 15 mmol/24 hours (2.5-7.5)\nOxalate 200 mmol/24 hours (90-450)\nUric acid 3 mmol/24 hours (1.48-4.45)\nCitrate 2mmol/24hours (0.3-3.4)\n\nWhat is the most useful therapy to reduce stone formation?", "A 45-year-old man presents with restlessness and drowsiness. He is known to drink in excess of fifty units of alcohol per week. On examination he has a broad-based gait. There is nystagmus and bilateral lateral rectus muscle palsy.\n\nWhat is the most likely diagnosis?", "A 50-year-old male who is well known to the casualty department attends inebriated. He has an alcoholic encephalopathy with a Glasgow Coma Scale of 13. He is jaundiced, describes no symptoms, but is mildly short of breath.\n\nYou are presented with his blood results...\n\nHaemoglobin 7.4 g/dl (12 - 16 g/dl)\nWhite cell count 10.1 x109/l (4 - 10 x109/l)\nPlatelets 137 x 109/l (140-400 x109/l)\nSodium 133 mmol/l (133 - 144 mmol/L)\nPotassium 3.7 mmol/l (3.5 - 5x 109/l)\nUrea 12 mmol/l (3 - 8 x 109/l)\nCreatinine 113 mol/l (50 - 100)\nAST 124 U/L (5 - 40)\nAlkaline Phosphatase 224 U/L (50 - 110)\nTotal Protein 54 g/l (60 - 80g/L)\nBilirubin 63 mol/l (3 - 18)\nCholesterol 15.3 mmol/l (<5.5 mmol/L)\nTriglycerides 7.2 mmol/l (<2.2 mmol/L)\nBlood film Profound spherocytosis\n\nWhich of the following is the most appropriate treatment for this patient?", "A 55-year-old male undergoes an endoscopy after being referred by his GP with recurrent indigestion. The endoscopy reveals a small duodenal ulcer that is not bleeding, and Helicobacter pylori is demonstrated to be present.\n\nHow would you treat this patient?", "A 55-year-old publican presents with a haematemesis. His wife provides a history that he has consumed approximately 4 cans of lager per day together with liberal quantities of spirits for many years. He has tried to stop drinking in the past but failed.\n\nExamination reveals that he is oriented but distressed, has a pulse of 120 beats per minute, a blood pressure of 108/70 mmHg, and has numerous spider naevi over his chest. Abdominal examination reveals a distended abdomen with ascites.\n\nWhat would you request next for this patient?", "A 63-year-old male with a long history of alcohol abuse presents with haemetemesis. He is known to have oesophageal varices.\n\nWhich of the following would be the most appropriate treatment for this patient?", "A 64-year-old woman presents with symptoms suggestive of irritable bowel syndrome.\n\nWhich of the following would represent a 'red flag' indicator and prompt further investigation?", "A 64-year-old male presents with acute left sided abdominal pain that radiates through to the back and is associated with vomiting. There is no particular medical history of note.\n\nOn examination, he has a temperature of 37.5\u00B0C, a respiratory rate of 28/min, a pulse of 110/min and a blood pressure of 160/82 mmHg. His abdomen is tender to touch particularly over the hypochondrium and bowel sounds are present. Urinalysis reveals amylase 3+ with glucose 2+.\n\nWhich of the following is the most likely diagnosis?", "A 65-year-old man presents as an emergency with tearing back pain believed by the general practitioner to be renal colic. This is his first episode of such pain.\n\nPast medical history includes hypertension and hypercholesterolaemia and he is a current smoker of 30 cigarettes a day. Dipstick testing of his urine is normal. On assessment in the emergency unit he has a pulse of 82 beats per minute and a blood pressure of 138/90 mmHg and as there is no house officer available, he is provided with analgesia and is sent to the urology ward for clerking.\n\nBefore he is assessed he becomes acutely unwell with a blood pressure of 106/68 mmHg and a pulse of 120 beats per minute.\n\nWhat is the likely diagnosis?", "A 72-year-old female presents with abdominal pain and melaena. She has a history of hypertension, type 2 diabetes and right knee osteoarthritis.\n\nWhich of the following drugs may be responsible for her presentation?", "A 76-year-old man underwent emergency repair of an abdominal aortic aneurysm 5 days ago. He has made a good recovery and is mobilising well. He suddenly develops diarrhoea that contains moderate amounts of fresh blood.\n\nWhat is the best investigation to carry out next?", "in that has localised to the right iliac fossa. He is found to be pyrexial with localised peritonism in the right iliac fossa.\n\nWhat is the main cell type involved at a cellular level in this child's condition?", "A newborn presented with a bloated abdomen shortly after birth with passage of small quantities of meconium. A full-thickness biopsy of the rectum was carried out.\n\nWhich one of the following is most likely to be present?", "A young infant presents with a suspected diagnosis of pyloric stenosis.\n\nWhich of the following is a feature of this diagnosis?", "Reflux oesophagitis of gastric contents...", "The following are likely in severe pyloric stenosis...\n\nSelect three", "Toxic dilatation of the colon is associated with...\n\nSelect two", "Which of the following is most characteristic of a patient who has vitamin C deficiency?", "Which of the following is the commonest cause of traveller's diarrhoea?", "Which of the following statements applies to infants with gastroenteritis and severe dehydration?", "Which of the following vitamins is used in the treatment of confusion in patients with chronic alcoholism?", "Which one of the following statements is true regarding Giardia lamblia?", "You are called to the home of a 76-year-old patient who has a short history of deteriorating epigastric pain, which is radiating through to his back. By the time you arrive he is clammy and despite a history of long-standing hypertension, his blood pressure is 116/72 mmHg with a pulse of 106 bpm.\n\nOn examination there is an epigastric mass but femoral pulses are barely palpable.\n\nWhat is the likely diagnosis?"]; var aGastrointestinalAnswers = ["", "Appendicitis|Intussusception|Gastroenteritis|Round worm obstruction", "Blood culture|Stool microscopy x 3|Stool toxicology|Upper GI endoscopy with biopsy|Urine culture", "Coccidiomycosis|Giardiasis|Tropical sprue|Typhoid|Visceral leishmaniasis", "Amoebic dysentery|Coeliac disease|Chronic appendicitis|Ulcerative colitis|Whipple's disease", "Escherichia coli|Giardia intestinalis (G.lamblia)|Shigella flexneri|Samonella typhi|Yersinia enterocolitica", "AIDS-associated diarrhoea|Amoebiasis|Ischaemic colitis|Ulcerative colitis", "Gabapentin|Intra muscular diclofenac|Oral amitryptiline|Oral morphine|Oral paracetamol", "Coarctation of the aorta|Essential hypertension|Primary hyperaldosteronism|Renal artery stenosis|Single horsehoe kidney", "Acute appendicitis|Acute colonic diverticulitis|Crohn's disease|Intestinal amoebiasis|Ulcerative colitis", "Adenocarcinoma of the stomach|Carcinoma of the pancreas|Blind loop syndrome|Peptic ulcer disease|Acute intermittent porphyria", "Placental abruption|Acute appendicitis|Uterine fibroids|Polyhydramnios|Urinary tract infection", "Acute appendicitis|Acute cholecystitis|Acute pancreatitis|Cirrhosis of the liver|Gall stones", "allopurinol|dietary calcium restriction|penicillamine|potassium citrate|thiazide diuretic", "Alcohol withdrawal|Folic acid deficiency|Subdural haematoma|Syphilis|Wernicke's encephalopathy", "IV Steroids|Oesophago-gastro-duodenoscopy|MRI pancreas|Supportive therapy|Urgent laporotomy", "Bismuth alone|Carbenoxolone alone|Omeprazole alone|Omeprazole, Amoxicillin and Clarithromycin|Ranitidine, Amoxicillin and Metronidazole", "Endoscopy|Gastrograffin enema|Serum alpha-Fetoprotein (AFP)|Abdominal ultrasound scan|Laparotomy", "Pharmacotherapy|Sclerotherapy|Transjugular intrahepatic portosystemic shunt (TIPS)|Sengstaken-Blakemore tube", "abdominal pain|bloating|change in bowel habit for last 2 years|anaemia and weight loss|weight gain", "Acute pancreatitis|Diabetic ketoacidosis|Mesenteric infarction|Ruptured aortic aneurysm|Splenic infarction", "Acute pancreatitis|Perforated duodenal ulcer|Pyeolnephritis|Renal colic|Ruptured aortic aneurysm", "Atenolol|Bendroflumethiazide|Diclofenac|Metformin|Tramadol", "Abdominal aortic angiography|Determination of prothrombin time|Flexible sigmoidoscopy|Gastroscopy|Barium enema", "Eosinophils|Erythrocytes|Macrophages|Monocytes|Neutrophils", "Fibrosis of submucosa|Hyalinisation of the muscular coat|Thickened muscularis propria|Lack of ganglion cells", "Projectile vomiting|Anorexia|Loose stools|More frequent in girls|Hyperchloraemic acidosis", "is a cause of asthma|can be improved by Helicobacter pylori eradication|occurs during transient relaxation of the lower oesophageal sphincter|is neutralised by bicarbonate secreted by the oesophageal mucosa|can be excluded by a normal appearance at endoscopy", "Acid urine|Hypercalcaemia|Hypokalaemia|Hypochloraemia|Metabolic acidosis", "diverticulosis|coeliac disease|Hirschsprung's disease|Crohn's disease|pseudomembranous colitis", "Diarrhea and delusions|Ocular muscle palsy and dementia|Cheilosis and beefy red tongue|Perifollicular haemorrhages and hyperkeratosis|Paraethesias and ataxia", "Escherichia coli|Entamoeba histolytica|Giardia lamblia|Shigella flexneri|Yersinia enterocolitica", "In most instances require treatment with an antibiotic that is not absorbed from the gut|Usually have blood in their stools|Should be admitted to hospital if they are unable to tolerate fluid orally|Always develop lactose intolerance|Should have a barium meal if the initial refeeding with milk is unsuccessful", "Niacin|Riboflavin|Thiamine|Vitamin B12", "May cause intestinal malabsorption|Often causes bloody diarrhoea|May cause haemolytic uraemic syndrome|May be excluded by stool microscopy|May be treated with Co-Trimoxazole (Septrin)", "Acute pancreatitis|Choledocholithiasis|Gastric cancer|Perforated peptic ulcer|Ruptured aortic aneurysm"]; var aGastrointestinalRightAnswer = ["", "Intussusception", "Stool microscopy x 3", "Visceral leishmaniasis", "Ulcerative colitis", "Giardia intestinalis (G.lamblia)", "Ulcerative colitis", "Intra muscular diclofenac", "Essential hypertension", "Crohn's disease", "Adenocarcinoma of the stomach", "Uterine fibroids", "Acute cholecystitis", "thiazide diuretic", "Wernicke's encephalopathy", "Supportive therapy", "Omeprazole, Amoxicillin and Clarithromycin", "Endoscopy", "Sclerotherapy", "anaemia and weight loss", "Acute pancreatitis", "Ruptured aortic aneurysm", "Diclofenac", "Flexible sigmoidoscopy", "Neutrophils", "Lack of ganglion cells", "Projectile vomiting", "occurs during transient relaxation of the lower oesophageal sphincter", "Acid urine|Hypercalcaemia|Hypokalaemia", "Crohn's disease|pseudomembranous colitis", "Perifollicular haemorrhages and hyperkeratosis", "Escherichia coli", "Should be admitted to hospital if they are unable to tolerate fluid orally", "Thiamine", "May cause intestinal malabsorption", "Ruptured aortic aneurysm"]; var aRespiratoryQuestions = ["", "A 14-year-old girl presents with a history of cough and breathlessness on exercise. She has seasonal rhinitis, and admits to have started smoking. Clinical examination is unremarkable.\n\nWhat is the most likely diagnosis?", "A 16-year-old girl presented with acute Guillain-Barr syndrome and has developed worsening proximal muscle weakness.\n\nWhich one of the following tests should be used to monitor her respiratory function?", "A 22-year-old man presented to Casualty with dyspnoea. He had no past history of note and had previously been fit and well. He reported that he had experienced some upper anterior chest discomfort after climbing the four flights of stairs to his apartment and that this was accompanied by an unusual degree of breathlessness.\n\nThe symptoms subsided once he had rested, but occurred again later in the day when he climbed the stairs again.On examination he appeared well and was not dyspnoeic at rest. Heart sounds were normal. An additional clicking noise was heard in the left 4th intercostal space; this sound occurred with each heart beat.\n\nWhat is the most likely cause for his pain?", "A 23-year-old man with known peanut allergy presented to the Emergency department with anyphylaxis. He has a swollen face and lips. His BP is 90/60, pulse 110 bpm and he is wheezy.\n\nWhich of the following formulations of adrenaline should be given?", "A 23-year-old student is brought in to the Casualty department drowsy. The patient lives alone in a one bedroom flat. She is normally fit and well although had recently been complaining of difficulty concentrating in lectures. She smokes 20 cigarettes a day. She was on no medication and had no previous medical history of note. She had vomited. On examination she was flushed. She had a bounding pulse of 120 beats per minute. Her blood pressure was 180/100 mmHg. Oxygen saturations were normal.\n\nInitial investigations showed...\n\nHaemoglobin 12.8 g/dL (11.5-16.5)\nWhite cell count 10.5 x109/L (4-11 x109)\nPlatelets 280 x109/L (150-400 x109)\nSerum sodium 134 mmol/L (137-144)\nSerum potassium 3.6 mmol/L (3.5-4.9)\nSerum urea 7.4 mmol/L (2.5-7.5)\nSerum creatinine 80 \u00B5mol/L (60-110)\nDrug screen Negative\nArterial blood gases on air...\npO2 8.6 kPa (11.3-12.6)\npCO2 4.7 kPa (4.7-6.0)\npH 7.42 (7.36-7.44)\nThe chest x-ray was normal.\n\nWhat investigation would confirm the diagnosis?", "A 3-year-old boy presents with respiratory distress. He began having coryzal symptoms 2 days ago, but his distress has greatly increased today. He was born at term weighing 3.5kg and there were no neonatal problems. Apart from mild eczema he had been healthy.\n\nOn examination he looked tired and had severe respiratory distress with marked recession. His respiratory rate was 60/min and pulse 150/min. Oxygen saturations were 89% in air, but rose to 92% after oxygen. His chest was hyperinflated and tympanic. Air entry was equal but poor. No added sounds were heard.\n\nWhat is the most likely diagnosis?", "A 33-year-old otherwise healthy man presents with a 7-day history of cough. The cough was initially productive of small amounts of clear sputum, which has now turned yellowish. He has no fever, chills, or shortness of breath but has difficulty sleeping because of the persistent cough.\n\nOn physical examination, his vital signs are normal and examination of the lungs reveals no wheezing, crackles, or rhonchi.\n\nIn addition to symptomatic relief with antitussives, what is the most appropriate treatment strategy for this patient?", "A 40-year-old woman had upper respiratory tract infection with a productive cough 2 weeks ago. She reports burning in her chest during the coughing. One week ago, she coughed up about one teaspoonful of yellow sputum that contained flecks of blood. The patient coughed up a small amount of blood-tinged sputum again the next morning but has had no subsequent haemoptysis. She is beginning to feel better and the cough seems to be resolving.\n\nShe has never smoked cigarettes and has no history of respiratory problems.\n\nThe patient appears healthy with no abnormalities to find on chest, heart or abdominal examination. Chest x-ray is normal.\n\nWhich of the following would you now recommend?", "A 42-year-old male farmer has been spraying his crop with insecticide and presents with dyspnoea, lacrimation, salivation and eye pain. He is given high flow oxygen and intravenous access is obtained.\n\nOn examination he has miosis, is bradycardic and has marked bronchorrhoea and bronchospasm. \n\nWhich of the following should immediately be given?", "A 50-year-old male presented with acute respiratory failure during an episode of acute pancreatitis and was thought to have developed adult respiratory distress syndrome (ARDS).\n\nWhich of the following would support a diagnosis of ARDS?", "A 51-year-old politician experiences palpitations, and when he receives an ECG it demonstrates a regular narrow complex tachycardia of 180 bpm. Which of the following is not a recognised problem with the use of intravenous adenosine in this patient?", "A 52-year-old woman who complains of exertional breathlessness presents to the clinic as she is desperate to stop smoking. She has had a number of unsuccessful attempts to stop smoking over the years and has tried nicotine patches.\n\nWhich of the following would be an appropriate choice to assist in her attempts at smoking cessation?", "A 55-year-old man who has a 25 pack-year history of smoking presents with productive cough with mucoid sputum of 2 years' duration.\n\nOn examination he has scattered ronchi and wheezing.\n\nThe likeliest diagnosis is...", "A 55-year-old man who has been on bed rest for the past 10 days due to a backache complains of breathlessness and chest pain. The chest x-ray is normal, but you suspect a pulmonary embolism.\n\nWhich of the following is the most appropriate next investigation for this patient?", "A 58-year-old male is newly diagnosed with type 2 diabetes. He smokes 20 cigarettes per day. You advise that he should stop smoking as part of a lifestyle intervention.\n\nWhich of these statements about the immediate benefits of stopping smoking is true?", "A 62-year-old man with carcinoma of the lung presented to the emergency department with respiratory distress. His ECG shows electrical alternans.\n\nWhich of the following is the most likely diagnosis?", "A 63-year-old man is brought to hospital after being found unconscious in his caravan. He is drowsy but rousable and complains of a severe headache and nausea.\n\nOn examination his temperature is 36.5\u00B0C but appears flushed. Neck is supple and there is no palpable lymphadenopathy. BP 110/65. Heart sounds normal with no murmurs or added sounds. Chest clear to auscultation. The remainder of the examination is unremarkable.\n\nHis son reported that his father, usually a skilled model-maker, had appeared clumsy lately and had been confused at times when talking on the telephone.\n\nInvestigations\n\nHaemoglobin 15.8 g/dL (13.0-18.0)\nWhite cell count 10.1 x109/L (4-11 x109)\nPlatelets 401 x109/L (150-400 x109)\nSerum sodium 140 mmol/L (137-144)\nSerum potassium 4.4 mmol/L (3.5-4.9)\nSerum urea 5.8 mmol/L (2.5-7.5)\nSerum creatinine 110 \u00B5mol/L\nSerum glucose 4.5 mmol/L (3.0-6.0)\nCSF opening pressure 15cm H2O\nCSF cell count <3 cells/ml\nCSF protein 0.4 g/L\nCSF glucose 5.6 mmol/L (3.3-4.4)\nArterial blood gases breathing air...\nPaO2 11.6 kPa (11.3-12.6)\nPaCO2 4.3 kPa (4.7-6.0)\nHCO3 20 mmol/L (20-28)\npH 7.33 (7.36-7.44)\n\nWhat is the most appropriate next investigation?", "A 65-year-old obese man presents with night time sweats, nocturia, poor concentration and day time somnolence.\n\nYou suspect sleep apnoea. To which of the following conditions does this diagnosis predispose?", "A 67-year-old man who has a long history of chronic bronchitis is admitted from home with an acute exacerbation. Investigations show...\n\npCO2 82 mmHg (35-45)\npO2 50 mmHg (75-100)\n\nWhich of the following applies to this patient?", "A 69-year-old man with a known history of chronic obstructive pulmonary disease was seen for a routine review in the outpatient clinic. He was found to be hypertensive at 145/100 mmHg consistently for the last few visits despite attempts to cut his salt and alcohol intake. His general practitioner decided to institute antihypertensive medication.\n\nWhat would be the best choice of antihypertensive medication?", "A 78-year-old man is seen by the district nurse for review of a poorly healing ulcer on his heel. He has long-standing diabetes mellitus and despite advice to cease smoking he continues to do so even after 2 myocardial infarctions and a CVA.\n\nOn examination there is an ulcer with a 'punched out' appearance on the heel from which there is pus exuding and there is also surrounding cellulitis. Popliteal and pedal pulses are absent and the femoral pulse is poor.\n\nWhich of the following is the correct initial management for this patient?", "A patient has just received intravenous ceftazidime. They immediately become flushed and wheezy, with a blood pressure of 80/40 mmHg.\n\nWhich of the following is the most appropriate immediate management for this patient?", "In adult basic life support the correct ratio of chest compressions to ventilations is...", "In carbon monoxide poisoning, with a Carboxy-haemoglobin of 30%, the most appropriate treatment is which of the following?", "In which one of the following diseases does the patient have to be isolated?", "Most of the cells making up the infiltrate in hypersensitivity pneumonitis are which of the following?", "Obstructive sleep apnoea syndrome is best diagnosed by the following...", "Of the following interventions for reducing coronary risk, which is the most effective in reducing the risk of myocardial infarction?", "Smoking causes all except...", "Which of the following actions would best preserve FVC in a patient with emphysema?", "Which of the following conditions is a type of hypersensitivity reaction?", "Which of the following conditions is an infectious respiratory disease?", "Which ONE of the following is true regarding acute pulmonary embolism?", "You are asked to see a patient who attends A+E with shortness of breath. The chest X-ray shows right lower lobe consolidation.\n\nYou suspect community acquired pneumonia. Which of the following features should prompt admission to hospital?"]; var aRespiratoryAnswers = ["", "Allergic rhinitis|Asthma|Cystic fibrosis|Gastroesophageal reflux", "Arterial blood gas|Chest expansion|FEV1/FVC ratio|Peak expiratory flow rate|Vital capacity", "Acute pericarditis|Unstable angina|Aortic dissection|Pulmonary embolism|Spontaneous pneumothorax", "0.5 ml of 1 to 10000 adrenaline IM|0.5 ml of 1 to 1000 adrenaline IM|5 ml of 1 to 1000 adrenaline IM|10 ml of 1 to 10000 adrenaline IV|Nebulised adrenaline", "Blood Glucose|Blood Lactate|Carboxy Haemoglobin|Electroencephalogram|Lumbar Puncture", "Asthma|Pneumonia, atypical|Pneumonia, bacterial|Pneumonia, viral|Virus-induced wheeze", "Observation only|Oral amoxicillin|Oral clarithromycin|Oral co-amoxiclav|Salmeterol metered-dose inhaler at bedtime", "CT of the chest|Fiberoptic bronchoscopy|Indirect laryngoscopy|Observation only|Sputum cytology", "Intramuscular adrenaline|Intravenous atropine|Intravenous pyridostigmine|Nebulised salbutamol|Tropicamide ophthalmic drops", "High pulmonary capillary wedge pressure|High protein pulmonary oedema|Hypercapnia|Increased lung compliance", "The need for dose reduction if the patient is on theophylline|The need for dose reduction if the patient is on disopyramide|Bronchospasm if the patient is asthmatic|Production of chest pain even if this patient has normal coronary arteries|Possible worsening of re-entry tachycardia if this patient has Wolff-Parkinson-White syndrome", "Acupuncture|Hypnotism|Nicotine gum|Nortriptyline|Varenicline", "Bronchial Asthma|Bronchiectasis|Chronic Bronchitis|Pneumonitis|Fibrosing Alveolitis", "Echocardiography|Pulmonary ateriography|Pulmonary Venous Angiography|MDCT of the chest", "A reduction in circulating levels of carbon monoxide is seen|Body weight falls|Reduction in sense of smell|Resting blood pressure rises|Resting pulse rate rises", "Cardiac Tamponade|Constrictive Pericarditis|Pleural Effusion|Pneumothorax", "CT scan head|Mini mental state examination|Methaemoglobin level|Carboxyhaemoglobin level|Estimation of carbon monoxide diffusion factor (KCO)", "Hypoglycaemia|Hypotension|Insulin sensitivity|Osteoporosis|Sudden death", "A metabolic acidosis with a low bicarbonate would be expected|Extensor plantar responses may be expected|Gentamicin would be a reasonable initial treatment until cultures are available|Oxygen therapy should aim to increase the pO2 to above 60mmHg (8kPa)|Peripheral oedema indicates coexisting heart failure", "Amlodipine|Hydrochlorothiazide|Bisoprolol|Doxazosin|Ramipril", "Wound culture then broad-spectrum antibiotics|Charing Cross 4-layer bandage|Graduated compression stockings|Nicotine patches|Optimisation of diabetic control", "Chlorphenamine 10mg IV|Epinephrine 0.2mls of 1 to 1000 IV|Epinephrine 0.5mg IV|Epinephrine 0.5mg i.m.|Hydrocortisone 100mg i.v.", "5 to 1|8 to 1|10 to 1|15 to 2|30 to 2", "Hyperbaric oxygen|High flow oxygen via a facial mask|CT brain and lumbar puncture|Intravenous fluid and oxygen via nasal prongs|Urgent senior surgical opinion to exclude bowel obstruction", "Infectious mononucleosis|Pulmonary Tuberculosis|Giardiasis|Paronchia|Pneumonia", "Eosinophils|Lymphocytes|Red blood cells|Bacteria", "Polygraphic sleep studies|Therapeutic trial of amphetamines|EEG|Blood gases during apneic episodes|Presence of HLA-DR2 and DQw1", "medical therapy to lower LDL below 3.0 mmol/L|post-menopausal oestrogen replacement therapy|reduction of diastolic blood pressure from 100 to 90 mmHg|smoking cessation|weight loss to achieve ideal body weight", "chronic bronchitis|bronchiectasis|emphysema|bronchogenic cancer", "High dose long term inhaled steroid|Aminophylline|Long term oxygen therapy|Smoking cessation|Oral steroids and regular antibiotic therapy", "Acute bronchitis|Emphysema|Hay fever|Stroke", "Asthma|Bronchitis|Emphysema|Tuberculosis", "a normal ECG excludes the diagnosis|embolectomy is more effective than thrombolysis in improving survival|Heparin is as effective as thrombolytic therapy|the presence of hypoxaemia is an indication for thrombolysis|thrombolysis administered through a peripheral vein is as effective as through a pulmonary artery catheter", "Audible Bronchial breathing|A PaO2 of 9.8 kPa (11-13)|A SaO2 of 95%|A respiratory rate of 32/min|A White cell count of 16.8x109/l (4-10)"]; var aRespiratoryRightAnswer = ["", "Asthma", "Vital capacity", "Spontaneous pneumothorax", "0.5 ml of 1 to 1000 adrenaline IM", "Carboxy Haemoglobin", "Asthma", "Observation only", "Observation only", "Intravenous atropine", "High protein pulmonary oedema", "The need for dose reduction if the patient is on theophylline", "Varenicline", "Chronic Bronchitis", "MDCT of the chest", "A reduction in circulating levels of carbon monoxide is seen", "Cardiac Tamponade", "Carboxyhaemoglobin level", "Sudden death", "Extensor plantar responses may be expected", "Hydrochlorothiazide", "Wound culture then broad-spectrum antibiotics", "Epinephrine 0.5mg i.m.", "30 to 2", "Hyperbaric oxygen", "Pulmonary Tuberculosis", "Lymphocytes", "Polygraphic sleep studies", "smoking cessation", "bronchiectasis", "Smoking cessation", "Hay fever", "Tuberculosis", "thrombolysis administered through a peripheral vein is as effective as through a pulmonary artery catheter", "A respiratory rate of 32/min"]; var aEndocrinologyQuestions = ["", "A 12-year-old girl presents with severe vomiting and abdominal pain. She has become progressively unwell over the last few days, drinking a lot, but today has kept little down and has been losing weight. She has previously been well. Full term normal delivery with no neonatal complications. Immunisations up to date. There is no FH/SH of note.\n\nOn examination she is apyrexial, with RR 20/min, HR 110/min. She has dry mouth, reduced skin turgor, sunken eyes and peripheries cool to the elbows. She has diffuse abdominal tenderness, but no guarding or rebound.\n\nWhat is the most likely diagnosis?", "A 16-year-old girl is diagnosed with Turner's syndrome.\n\nWhich of the following autoimmune conditions is most commonly associated with Turner's?", "A 17-year-old girl presents with vomiting and her investigations show...\n\nSodium 120 mmol/L (137-144)\nPotassium 3.0 mmol/L (3.5-4.9)\nUrea 2.2 mmol/L (2.5-7.5)\nUrine sodium 2 mmol/L\nUrine osmolality 700 mosmol/kg (350-1000)\n\nWhat is the most likely diagnosis?", "A 19-year-old female presents with heavy irregular menstrual bleeding and has a BMI of 35.\n\nWhich of the following is the most likely diagnosis?", "A 22-year-old female presents with weight gain and oligomenorrhoea.\n\nIn the absence of any other endocrine causes for her presentation, which of the following is a supportive criterion for a diagnosis of Polycystic Ovarian Syndrome?", "A 25-year-old female presents with weight loss and anxiety. On examination she has a fine tremor of the outstretched hands, lid lag, a modest goitre over which there is a bruit.\n\nWhich of the following is the likely diagnosis?", "A 26-year-old woman presents with episodes of dizziness mainly on standing. Her biochemical profile shows hyperkalaemic acidosis.\n\nWhich underlying condition is she most likely to have?", "A 29-year-old female student nurse presents with a discrete thyroid swelling. An isotope scan reveals it to be a 'cold nodule'. She has scattered local cervical lymphadenopathy.\n\nWhat is the likely diagnosis?", "A 35-year-old man presents with weakness and tiredness. He is noted to be hypertensive. Electrolytes show a hypokalaemia and a hypomagnesaemia. \n\nWhich investigation would you select for this patient?", "A 35-year-old woman presents to A+E with abdominal pain. She admits to having been recently referred to an endocrinologist by her general practitioner for investigation of Addison's disease.\n\nWhich biochemical result would be in keeping with a diagnosis of Addison's disease?", "A 36-year-old woman attends her GP's surgery. She has been diagnosed with hypothyroidism recently and takes thyroxine 100 microgrammes daily. The GP has the benefit of thyroid function and other tests from the previous week.\n\nWhich test is the best for monitoring progress and treatment?", "A 42-year-old male presents with an episode of renal colic. Over a number of months he has also been aware of polyuria and polydipsia. His weight has been steady and he has otherwise been in good health. He drinks occasional alcohol and is a smoker of 10 cigarettes daily. On examination his blood pressure is 142/82 mmHg and his BMI is 32.3 kg/m2. His blood results reveal...\n\nFBC Normal\nU+Es Normal\nCalcium 2.9 mmol/L (2.2-2.6)\nPhosphate 1.5 mmol/L (0.8-1.4)\nGlucose 6.2 mmol/L (3.0-6.0)\n\nSubsequently you check his PTH concentration...\n\nPTH 12.6 pmol/L (0.9-5.4)\n\nWhich of the following is the most likely diagnosis?", "A 45-year-old female attends the diabetic annual review clinic. Her body mass index has increased over the year to 33.3.\n\nHow do you calculate body mass index?", "A 45-year-old man is admitted as an emergency with renal colic. His medical history includes renal calculi and acute pancreatitis and is being investigated for bone pain. Biochemical investigations are requested.\n\nWhich of the following is a likely finding?", "A 52-year-old woman presents with tiredness and weight gain. She is confirmed to have autoimmune thyroiditis.\n\nWhich of the following tumours is she at increased risk of developing?", "A 56-year-old lorry driver, who is 104kg attends the clinic. Your practice nurse has carried out a fasting glucose which was 7.9mmol/l. This was repeated and was 8.6mmol/l.Diet and lifestyle advice has been given, but 3 months on, the HbA1c is 8.5%.\n\nWhat should you do next?", "A 56-year-old woman with a longstanding history of chronic renal failure who has been on haemodialysis for 5 years complains of bone pain affecting her left hand. An x-ray is performed and is reported as demonstrating osteitis fibrosa cystica.\n\nWhat is the clinical diagnosis?", "A child is diagnosed with congenital adrenal hyperplasia.\n\nWhich of the following statements correctly applies to his condition...\n\nChoose one", "An 80-year-old woman presents to A+E acutely unwell after being found unresponsive, on the floor of her house, by her son. She has a history of hypothyroidism and of taking thyroxine daily. However, her compliance with treatment is questionable. \n\nOn examination she is unrouseable, with a Glasgow Coma Scale of 6/15, a central temperature of 34\u00B0C, oxygen saturations of 95% on air, a pulse of 44 beats per minute and a blood pressure of 100/80 mmHg. There are no specific localising signs on neurological examination, but both plantars were extensor. \n\nPrior to results of her emergency blood tests being available, what is the most appropriate immediate treatment for this patient?", "Autoimmune Addison's disease is associated with all of the following except...\n\nChoose one", "Characteristic features of untreated Addison's disease include...\n\nChoose three", "In the following diseases an enzyme defect has been demonstrated...\n\nChoose two", "Small intestinal lesions in children with a pathognomonic biopsy finding are seen in...", "Tall stature is seen in all except", "The following are useful treatments for aspects of Polycystic Ovarian Syndrome...\n\nChoose three", "The most common cause of ambiguous genitalia is...", "Which of the following are recognised causes of post-neonatal hypoglycaemia...\n\nChoose two", "Which of the following percentages most accurately reflects the mortality associated with the modern management of diabetic ketoacidosis?", "Which of the following statements is true of Type 2 Diabetes Mellitus?", "Which one of the following drugs is used for fetal therapy of congenital adrenal hyperplasia (CAH)?", "Which one of the following is a cause of delayed bone age?", "Which one of the following is associated with babies born to mothers with Diabetes Mellitus?", "Which one of the following is more typical of type 2 diabetes than type 1 diabetes?"]; var aEndocrinologyAnswers = ["", "Congenital adrenal hyperplasia|Diabetic ketoacidosis|Hepatitis|Inborn errors of metabolism|Pyelonephritis", "Addison's disease|Autoimmune hepatitis|Hashimoto's thyroiditis|Sjogren's syndrome|Vitamin B12 deficiency", "Addison's disease|Bulimia nervosa|Diuretic abuse|Syndrome of inappropriate antidiuretic hormone secretion|Water intoxication", "Endometriosis|Ovarian tumour|Polycystic ovarian syndrome|Prolactinoma|Von Willebrands disease", "Acanthosis nigricans|Blood pressure of 134/88 mmHg|BMI of 31 kg/m2|Facial hirsutism|Fasting plasma glucose of 6.8 mmol/l", "DeQuervain's thyroiditis|Graves' disease|Hashimoto's thyroiditis|Multinodular goitre|Toxic thyroid nodule", "Cushing's syndrome|Addison's disease|Conn's syndrome|Type 1 renal tubular acidosis|Bulimia nervosa", "Anaplastic carcinoma|Graves disease|Medullary carcinoma|Papillary carcinoma|Subacute thyroiditis", "Colonoscopy|Plasma renin toaldosterone ratio|Serum amylase|Serum calcium|Oral glucose tolerance test", "A low urea|Hyperglycaemia|Hyperkalaemia|Hypernatraemia|Hypokalaemia", "Free thyroxine levels|Protein bound iodine levels|Thyroid stimulating hormone levels|Thyroid peroxidase antibody levels|Triiodothyronine levels", "Bronchogenic carcinoma with ectopic PTH secretion|Primary hyperparathyroidism|Sarcoidosis|Secondary hyperparathyroidism|Vitamin D excess", "Height/Weight|Height/(Weight)2|Weight/Height|Weight/(Height)2|Weight/v Height", "Hyperphosphataemia|Deficiency of vitamin D3|Hypercalcaemia|Hypocalcaeima|Hypocalciuria", "Anaplastic carcinoma of the thyroid|Follicular carcinoma of the thyroid|Medullary carcinoma of the thyroid|Papillary carcinoma of the thyroid|Thyroid lymphoma", "Commence Acarbose|Commence Insulin|Commence Metformin|Commence Gliclazide|Refer to a diabetologist", "Osteoarthritis|Osteoporosis|Secondary hyperparathyroidism|Primary hyperparathyroidism|Paget's disease", "It has an X-linked inheritance|There is over-production of cortisol|Hypokalaemia occurs.|Undescended testes is associated.|If untreated he may be infertile later.", "Intravenous 50% Glucose|Intravenous Hydrocortisone|Intravenous Normal Saline|Intravenous Thyronine (T3)|Oral thyroxine via NG tube", "premature ovarian failure|hypokalaemia|hypothyroidism|vitiligo|Sjogren's syndrome", "Hypotension|Congestive cardiac failure|Hypoglycaemia|Loss of pubic hair in a menstruant female|Weight gain", "Cystic fibrosis|Phenylketonuria|Fragile X syndrome|Haemophilia|Congenital adrenal hyperplasia", "Abeta-lipoproteinaemia|Giardiasis|Tropical sprue|All of the above", "acromegaly|congenital adrenal hyperplasia|homocystinuria|Soto's syndrome", "Topical eflornithine for hirsutism|Metformin to improve fertility|Topical minoxidil for hirsutism|Spironolactone to improve fertility|The combined oral contraceptive for hirsutism", "Congenital adrenal hyperplasia|Klinefelter's syndrome|Testicular feminisation|Kallman's syndrome", "Tricyclic overdose|Urea cycle defects|Congenital adrenal hyperplasia|Medium chain Acyl coenzyme-A dehydrogenase deficiency|Intravenous Salbutamol", "0.01%|0%|2-3%|5-6%|8-10%", "20% of patients develop macrovascular complications within 10years of diagnosis|Drug treatment is associated with a 25% reduction in microvascular complications compared with diet alone.|A single fasting plasma glucose above 8 mmol/l is diagnostic of diabetes.|Type 2 diabetes is associated with being underweight|Metformin is the preferable treatment in the obese patient with type 2 diabetes", "Hydrocortisone|Prednisolone|Fludrocortisone|Dexamethasone", "Central precocious puberty|Congenital hypothyroidism in a 6-year-old boy treated with thyroxine since 7 days old|Newly diagnosed adrenal hyperplasia in a 5-year-old boy|Newly diagnosed growth hormone deficiency in a 6-year-old girl|Obesity", "Anaemia|Hypercalcaemia|Hyperglycaemia|Hyperthyroidism|Shoulder dystocia", "more likely to be younger|more likely to have complications of diabetes|more likely to be obese|less likely to have a family member affected|will be insulin dependent"]; var aEndocrinologyRightAnswer = ["", "Diabetic ketoacidosis", "Hashimoto's thyroiditis", "Bulimia nervosa", "Polycystic ovarian syndrome", "Facial hirsutism", "Graves' disease", "Addison's disease", "Papillary carcinoma", "Plasma renin toaldosterone ratio", "Hyperkalaemia", "Thyroid stimulating hormone levels", "Primary hyperparathyroidism", "Weight/(Height)2", "Hypercalcaemia", "Thyroid lymphoma", "Commence Metformin", "Secondary hyperparathyroidism", "If untreated he may be infertile later.", "Intravenous Thyronine (T3)", "hypokalaemia", "Hypotension|Hypoglycaemia|Loss of pubic hair in a menstruant female", "Phenylketonuria|Congenital adrenal hyperplasia", "Abeta-lipoproteinaemia", "congenital adrenal hyperplasia", "Topical eflornithine for hirsutism|Metformin to improve fertility|The combined oral contraceptive for hirsutism", "Congenital adrenal hyperplasia", "Congenital adrenal hyperplasia|Medium chain Acyl coenzyme-A dehydrogenase deficiency", "2-3%", "Metformin is the preferable treatment in the obese patient with type 2 diabetes", "Dexamethasone", "Newly diagnosed growth hormone deficiency in a 6-year-old girl", "Shoulder dystocia", "more likely to be obese"]; var aDermatologyQuestions = ["", "A 16-year-old boy presented with asymptomatic, multiple, erythematous lesions with a colarette of scales at the periphery of the lesions. These lesions were confined to his trunk.\n\nWhich of the following is the most likely diagnosis is?", "A 16-year-old girl presents with areas of hair loss on the scalp. Medical history includes atopic eczema and she has a number of depigmented areas on her hands.\n\nWhat is the most likely diagnosis?", "A 16-year-old girl presents with Henoch-Schonlein's purpura and renal involvement. \n\nWhat is the most likely outcome?", "A 17-year-old girl presents with a two week history of urticaria. Over the last couple of days she has been aware of new lesions occurring on a daily basis.\n\nWhich one of the following statements is most likely to be correct?", "A 24-year-old woman attends clinic complaining of numerous depigmented areas on the arms and legs, which is suspected to be vitiligo.\n\nWhich of the following diseases is most likely to accompany this skin condition?", "A 28-year-old Afro-Caribbean woman undergoes excision of a sebaceous cyst from her back. Initially the wound heals well without complication. Subsequently the scar becomes raised and grows to extend beyond the margins of the original incision. \n\nThe scar remains unchanged for 10 years after.\n\nWhat is the probable diagnosis?", "A 3-year-old boy presents with an itchy rash. This has been present on his wrists and hands for 3 weeks and disturbs his sleep. \n\nHe was born at 37+2/40 weighing 3.56kg and there were no neonatal problems. He is fully immunised and on no medication. His 5-year-old sister has a similar rash.\n\nOn examination his temperature is 36.4\u00B0C, RR 20/min and HR 90/min. He has red raised papules around his wrist and small linear skin breaks in the finger webs. Otherwise there are no abnormalities to find.\n\nWhat is the most likely diagnosis?", "A 32-year-old woman presents with concerns regarding hair loss. She has been aware of patches of hair loss over the last three months. There is no associated pruritus.\n\nIn her past medical history she has been diagnosed with hypothyroidism for which she takes thyroxine 100 micrograms daily. She has regular withdrawal bleeds taking the combined oral contraceptive.\n\nOn examination, she appears well, has a BMI of 22 kg/m2 and a blood pressure of 122/72 mmHg. Examining her scalp, lifting up normal hair reveals two discrete patches of hair loss approximately 2-3 cm in diameter located on the vertex of the head and also on the left temporo-occipital region.\n\nWhat is the most likely cause of her hair loss?", "A 33-year-old female attends her GP concerned regarding a mole.\n\nWhich of the following characteristics of the lesion would raise suspicion that it is a malignant melanoma?", "A 33-year-old female is admitted with a diffuse erythematous rash including the palms and soles of her feet, in total covering 57% TBSA \n\nWhich one of the following drugs may account for her presentation?", "A 35-year-old farmer presents with a skin lesion which is not healing. It started to develop as an itchy sore like an insect bite which then turned into a blister and formed a black ulcer.\n\nHe says it is not painful but is quite unsightly.\n\nWhat is the most likely diagnosis?", "A 40-year-old male developed persistent oral ulcers followed by multiple flaccid bullae on the trunk and extremities. Direct examination of a skin biopsy with immunofluorescence showed intercellular IgG deposits in the epidermis.\n\nWhich of the following is the most likely diagnosis?", "A 43-year-old woman with atopic dermatitis (atopic eczema) presented with an acute generalized exacerbation of her disease. She was admitted to hospital but failed to improve with emollients, topical betamethasone-17-valerate and oral antihistamine.\n\nWhich one of the following drugs is the most appropriate treatment?", "A 45-year-old teacher presents 6 weeks after he returns from a hiking holiday in South America with a shallow, painless ulcer of the nose.\n\nWhat is the likely diagnosis?", "A 59-year-old patient of South Asian origin presents with a widespread blistering rash.\n\nWhich of the following features would be consistent with a diagnosis of Pemphigus?", "A 6-month-old boy is brought to clinic by his parents. He had a fever for three days, and as this disappeared he was noted to have a rash. \n\nOn examination he is noted to be apyrexial but has a macular rash on the trunk and lower limbs. \n\nWhich of the following is the most likely diagnosis?", "A 70-year-old woman complained of a rash that had developed over a month. She had otherwise been fit and well. On examination, there were numerous tense, fluid filled blisters over the trunk and limbs, but no mucosal involvement was evident.\n\nWhat is the most likely diagnosis?", "A 72-year-old dairy farmer presents with a small white lesion on his left cheek. It has grown slowly over several months and it now has a central ulcer.\n\nWhat is the most likely nature of this lesion?", "A 78-year-old man complains of an itchy rash that has appeared on his legs over the last 2 weeks. He has been using a moisturising lotion but this has not helped his symptoms. He is otherwise well and just takes ibuprofen occasionally for osteoarthritis of the knees.\n\nWhat is the most likely diagnosis?", "A 16-year-old girl known to be allergic to bee stings presents after suffering a bee sting. \n\nWhich of the following is the most likely clinical outcome?", "All of the following are zoonoses except...", "An 18-year-old woman presents with a pruritic rash, which started as a single lesion on her abdomen, 2 weeks previously, with multiple smaller lesions developing over the chest and abdomen. \n\nShe is known to have asthma and hay fever, and is taking salbutamol inhalers. There is a family history of diabetes. \n\nA urine examination was negative for glucose. Examination revealed a scaly rash over the abdomen and chest wall. \n\nWhat is the most likely diagnosis?", "An 18-year-old woman attends antenatal clinic 12 weeks into her pregnancy where the doctor incidentally notes numerous small lumps over her trunk and freckles in her axillae. She reports that none of her relatives have any similar features.\n\nWhat is the most likely diagnosis?", "An 85-year-old woman presents with an itchy rash on both hands, anterior aspects of both elbows, axillae and groin. Other residents in her nursing home have complained of similar symptoms.\n\nWhat is the likely diagnosis?", "During a follow-up visit at an asthma clinic a 38-year-old female complains of the appearance of a mole.\n\nWhich of the following characteristics of the lesion would raise suspicion that it is a malignant melanoma?", "Lupus Pernio is seen in...\n\nChoose one", "Which of the following concerning pityriasis rosea is correct?", "Which of the following is true of cutaneous anthrax?", "Which of the following suggests a diagnosis of molluscum contagiosum rather than chickenpox?", "Which of the following tests is most likely to assist in the diagnosis of a patient who presents with an itchy annular plaque on the face?", "Which one of the following features is not a feature of Kawasaki disease?", "Which one of the following statements is true regarding scabies?"]; var aDermatologyAnswers = ["", "Pityriasis versicolor|Pityriasis alba|Pityriasis rubra pilaris|Pityriasis rosea", "Alopecia areata|Hypothyroidism|Seborrhoeic dermatitis|Systemic lupus erythematosus|Trichotillomania", "A high probability of relapse|Complete renal recovery|Persistent hypertension|Persistent proteinuria|Requirement for long-term corticosteroids", "She is likely to have taken penicillin recently|She is likely to have an associated asthma|She is unlikely to have any identifiable trigger factor|There is likely to be a nut allergy|The lesions will be present for at least 24 hours", "Addison's disease|Tuberous sclerosis|Hypoparathyroidism|Pernicious anaemia|Systemic lupus erythematosus", "Contracted scar|Hypertrophic scar|Keloid scar|Koebners phenomenon|Marjorlin's ulcer", "Ammoniacal dermatitis|Atopic dermatitis|Impetigo|Napkin candidiasis|Scabies", "Alopecia areata|Androgenic alopecia|Drug induced|Psoriasis|Systemic lupus erythematosus", "Lesion is 5 mm in diameter.|Lesion is present on face.|Lesion is pigmented uniformly.|Lesion has irregular edge.|Lesion is smoothly raised.", "Diazepam|Fluoxetine|Mebeverine|Oral contraceptive|Carbamazepine", "Brucellosis|Cutaneous anthrax|Orf|Primary syphilis|Pyogenic granuloma", "Bullous pemphigoid|Bullous lupus erythematosus|Epidermolysis bullosa acquisita|Pemphigus vulgaris", "Acitretin|Amoxicillin|Cyclosporine|Colchicine|Dapsone", "Fusobacterium ulcerans|Leishmaniasis|Squamous cell carcinoma|Trichomoniasis|Trypanosomiasis", "Acanthosis|Blisters arising within the supepidermal area|IgA antibodies|Oral involvement|Treatment with Methotrexate", "Eryhtema Multiforme.|Henoch-Schonlein purpura|Idiopathic thrombocytopenia.|Meningococcal septicaemia|Roseola infantum", "Dermatitis herpetiformis|Erythema multiforme|Herpes simplex|Pemphigoid|Pemphigus vulgaris", "Amelanotic malignant melanoma|Basal cell carcinoma|Basal cell papilloma (Seborrhoeic keratosis)|Cowpox|Squamous cell carcinoma", "Bullous pemphigoid|Dermatitis herpetiformis|Necrolytic migratory erythema|Pemphigus vulgaris|Toxic epidermal necrolysis", "Anaphylaxis|Facial rash|Local irritation at site of sting only|Stridor|Widespread urticaria", "Typhoid|Brucellosis|Anthrax|Rocky Mountain spotted fever", "Eczema|Erythema multiforme|Erythema migrans|Guttate psoriasis|Pityriasis rosea", "Acanthosis nigricans|Dysplastic naevus syndrome|Mastocytosis|Neurofibromatosis|Tuberous sclerosis", "Bullous Pemphigus|Henoch-Schonlein purpura|Pemphigus Vulgaris|Psoriasis|Scabies", "Lesion is 6 mm in diameter|Lesion is present on face|Lesion is deeply pigmented|Lesion has irregular outline|Lesion is raised", "HIV infection|Mycosis fungoides|Sarcoidosis|Tuberculosis of the skin", "It is characterised by flat scaly patches|It is due to a fungal infection|It is frequently associated with oro-genital itching|May be preceded by intense itching|Tends to recur after apparent cure", "causes a black eschar which overlies pus|lesions are usually painful and tender|lesions are associated with marked oedema|Mortality is approximately 20% despite antibiotic therapy|Is very likely to occur in subjects exposed to anthrax spores", "Presence of macules and papules|Absence of erythema surrounding lesions|Lesions disappearing within a month|Presence of pruritis|Positive contact history", "Gram's stain|Potassium hydroxide mount|Tissue smear|Wood's lamp examination", "Cervical lymphadenopathy|Non-exudative bilateral conjunctivitis|Raised temperature, which does not respond to antipyretics and lasts more than 5 days|Small infarctions at the growth plate of long bones|Strawberry tongue", "Typically it affects the face.|It causes generalised pruritus.|It is caused by staphaureus.|Is best treated by salicylate emulsion.|It can be spread by a droplet infection."]; var aDermatologyRightAnswer = ["", "Pityriasis rosea", "Alopecia areata", "Complete renal recovery", "She is unlikely to have any identifiable trigger factor", "Pernicious anaemia", "Keloid scar", "Scabies", "Alopecia areata", "Lesion has irregular edge.", "Carbamazepine", "Cutaneous anthrax", "Pemphigus vulgaris", "Cyclosporine", "Leishmaniasis", "Oral involvement", "Roseola infantum", "Pemphigoid", "Basal cell carcinoma", "Bullous pemphigoid", "Anaphylaxis", "Rocky Mountain spotted fever", "Pityriasis rosea", "Neurofibromatosis", "Scabies", "Lesion has irregular outline", "Sarcoidosis", "It is characterised by flat scaly patches", "lesions are associated with marked oedema", "Absence of erythema surrounding lesions", "Potassium hydroxide mount", "Small infarctions at the growth plate of long bones", "It causes generalised pruritus."]; var aOrthopaedicsQuestions = ["", "A 17-year-old girl who had completed treatment for acute lymphoblastic leukaemia 6 months previously presents with a short history of marked, right hip pain and associated limp.\n\nWhat is the most likely diagnosis?", "A 33-year-old female presents with pain at the elbow, which she has been aware of for the last 2 weeks.\n\nWhich of the following would be consistent with a diagnosis of tennis elbow?", "A 35-year-old man who is a keen sportsman presents to his general practitioner. He complains of pain on the lateral side of his elbow, radiating to the forearm.\n\nOn examination he is tender in this area.\n\nWhat is the most likely diagnosis?", "A 45-year-old male was prescribed steroids following renal transplantation. After 2 years he had difficulty in walking and pain in both hips.\n\nWhich of the following is the most likely cause?", "A 5-year-old boy presents to Accident and Emergency complaining of acute pain over his upper tibia. He is febrile and he refuses to move his leg. A diagnosis of osteomyelitis is suspected.\n\nThe likely infecting organism is?", "A 55-year-old man is admitted with a swollen knee. On examination it is hot, red and has a very limited range of movement. He has had no previous surgery and has no other past medical history of note.\n\nWhat is the most appropriate investigation to exclude a septic joint?", "A 60-year-old woman develops a fracture of the wrist following a fall; dual energy x-ray absorptiometry (DEXA) scan reveals osteoporosis in lumbar spine and hip. She has been commenced on once weekly alendronate 70 mg daily and also takes a calcichew tablet.\n\nBy what mechanism does the bisphosphonate function in the treatment of osteoporosis?", "A 60-year-old man with diabetes mellitus presents with painless, swollen right ankle joint. Radiographs of the ankle show a destroyed joint with a large number of loose bodies.\n\nWhich of the following is the most probable diagnosis?", "A 68-year-old woman complained of pain at the base of her right thumb. There was tenderness and swelling of the right first carpo-metacarpal joint.\n\nWhat is the most likely diagnosis?", "A 76-year-old woman has had Paget's disease of bone for at least 15 years. She develops a destructive mass in the bony pelvis and a diagnosis of primary tumour is considered.\n\nWhat is the most likely primary tumour?", "All the following are related to recurrent shoulder dislocation except...\n\nChoose one", "All the following disorders typically involve the distal interphalangeal joint except...\n\nChoose one", "An 85-year-old woman presented with bilateral osteoarthritis of the knees. She had no history of previous gastrointestinal disease.\n\nWhich of the following is the most appropriate initial treatment for her?", "An otherwise healthy middle-aged man with no prior medical history has had increasing back pain and right hip pain for the past 10 years. The pain is worse at the end of the day. He has bony enlargement of the distal interphalangeal joints. A radiograph of the spine reveals the presence of prominent osteophytes involving the vertebral bodies. There is sclerosis with narrowing of the joint space at the right acetabulum seen on a radiograph of the pelvis.\n\nWhich of the following pathological processes is most likely to be taking place in this patient?", "An overweight 12-year-old boy attends A+E complaining of hip and knee pain after a minor fall from his bike. On examination his knee appears normal but there is restricted range of movement at the hip.\n\nThe likely diagnosis is...", "If the greater tuberosity of the humerus is lost, which of the following movements will be affected?", "Osteoarthritis refers primarily to the degeneration of what tissue?", "The most commonly injured nerve in anterior dislocation of the shoulder is...", "Treatment of osteoarthritis includes all of the following except...\n\nChoose one", "Which of the following does NOT lead to joint erosion?\n\nChoose one", "Which of the following is a feature of Cushing's syndrome?", "Which of the following is associated with joint pain that improves with exercise?", "Which of the following is one of the earliest visible changes associated with osteoarthritis?", "Which of the following joints is affected most commonly in osteoarthritis?", "Which of the following joints is not typically affected by osteoarthrosis?", "Which of the following muscles is NOT in the rotator cuff?", "Which one of the following is not a classical radiographic sign of osteoarthritis?", "Which one of the following is true for primary nodal osteoarthritis?", "Which segments of the vertebral column are normally lordotic (in a state of lordosis)?"]; var aOrthopaedicsAnswers = ["", "Avascular necrosis of the femoral head|Gout|Osteoarthritis|Pseudogout|Septic arthritis", "Pain on pressure over the medial epicondyle|Pain on wrist extension against resistance|Pain on pronation of the forearm|Pain on flexion of the fingers against resistance|Pain on extension of the elbow", "Tennis elbow|Rheumatoid arthritis|De Quervain's tenosynovitis|Olecrannon bursitis|Golfer's elbow", "Primary osteoarthritis|Avascular necrosis|Tuberculosis|Aluminium toxicity", "Clostridium difficile|Haemophilus influenzae|Pseudomonas|Salmonella|Staphylococcus aureus", "Full blood count|Serum uric acid|X-ray of knee|MRI of knee|Joint aspiration", "Enhancing the absorption and action of vitamin D|Enhancing the absorption of calcium from the gut|Enhancing the survival and function of osteoblasts|Enhancing the survival and function of osteoclasts|Reducing the survival and function of osteoclasts", "Charcot's Joint|Clutton's Joint|Osteoarthritis|Rheumatoid Arthritis", "Avascular necrosis of the scaphoid|De Quervain's tenosynovitis|Osteoarthritis|Psoriatic arthritis|Rheumatoid arthritis", "Chondrosarcoma|Exostosis|Multiple myeloma|Osteoma|Osteosarcoma", "Hill-Sachs defect|Bankart lesion|Lax capsule|Rotator cuff injury", "Rheumatoid arthritis|Osteoarthritis|Psoriatic arthropathy|Multiple histocytosis", "Celecoxib|Naproxen|Dihydrocodeine|Paracetamol|Topical diclofenac", "Gout|Lyme disease|Osteoarthritis|Osteomyelitis|Rheumatoid arthritis", "Chondromalaichae patella|Osteosarcoma|Perthe's disease|Septic arthritis|Slipped upper femoral epyphesis", "Adduction and flexion|Abduction and lateral rotation|Medial rotation and adduction|Flexion and medial rotation", "Muscle|Cartilage|Nerve|Tendon", "Nerve of Bell|Axillary nerve|Radial nerve|Median nerve", "Graded muscle exercises|Replacement of articular surfaces|Correction of deformities|Increase the weight bearing by the affected joint|Rest to the joint in acute phase", "Osteoarthritis (OA)|Psoriatic arthropathy|Rheumatoid arthritis (RA)|Systemic lupus erythematosus", "Osteoarthritis|Fibrous dysplasia|Vertebral collapse|Calcium pyrophosphate arthropathy|Osteomalacia", "Osteoarthritis|Ankylosing spondylitis|Neurogenic joint|Rheumatoid arthritis", "Loss of water|Fibrillation|Decreased collagen content|Decreased hyaluronic acid level", "Elbow joint|Hip joint|Interphalangeal joint|Metatarso-phalangeal joint", "Knee joint|Hip joint|Interphalangeal joint|Metacarpophalangeal joint|Shoulder joint", "Infraspinatus|Subscapularis|Supraspinatus|Teres major|Teres minor", "loss of joint space|cysts|erosions|sclerosis|osteophytes", "Usually affects the cervical spine|Does not affect the elbow|Does not affect the knee|Has a high incidence in the British population due to climate|Hip disease is more common in Chinese", "Cervical and lumbar|Lumbar and sacral|Sacral and coccyx|Thoracic and sacral"]; var aOrthopaedicsRightAnswer = ["", "Avascular necrosis of the femoral head", "Pain on wrist extension against resistance", "Tennis elbow", "Avascular necrosis", "Staphylococcus aureus", "Joint aspiration", "Reducing the survival and function of osteoclasts", "Charcot's Joint", "Osteoarthritis", "Osteosarcoma", "Rotator cuff injury", "Rheumatoid arthritis", "Paracetamol", "Osteoarthritis", "Slipped upper femoral epyphesis", "Abduction and lateral rotation", "Cartilage", "Axillary nerve", "Increase the weight bearing by the affected joint", "Systemic lupus erythematosus", "Vertebral collapse", "Ankylosing spondylitis", "Fibrillation", "Hip joint", "Metacarpophalangeal joint", "Teres major", "erosions", "Does not affect the elbow", "Cervical and lumbar"]; var aNeurologyQuestions = ["", "A 32-year-old shop worker presents with a 24-hour history of weakness in the hands. She also complains of shortness of breath. The oxygen saturations are 90% on air. The biceps and triceps reflexes are absent in the left arm and reduced in the right arm.\n\nWhich of the following are recognised treatments of this acute presentation?", "A 17-year-old female presents with three headaches over a 6- month period. She describes the headaches as severe, right-sided and lasting for twelve hours and as associated with nausea and photophobia. Each is preceded by spots before her eyes.\n\nWhat is the most appropriate initial treatment for this patient?", "A 20-year-old female presents with seizures. She is fit and healthy but had been unwell for 3 days prior to admission with flu-like symptoms. The patients friends tell you that prior to the seizure she had become confused and her behaviour had been out of character.\n\nOn examination the patient is post-ictal, with a fever of 39.1\u00B0C. She has a pulse of 100 bpm and a blood pressure of 130/71 mmHg. A CT head shows no abnormalities. CSF examination shows no organisms, with a white cell count of 353/mm3 (<5) mostly lymphocytes with a protein concentration of 2.3 g/l (0.29-1.98) and glucose of 3.2 mmol/l (3.0-6.0mmol/l).\n\nWhat is the likely diagnosis?", "A 20-year-old woman has a history of paroxysmal episodes of dysarthria, ataxia and diplopia lasting for 20-30 minutes, followed by right-sided severe headache associated with vomiting lasting for 1-3 days. The episodes occur once every month. MRI brain and MR angiogram are normal.\n\nWhat is the most likely diagnosis?", "A 21-year-old student is referred to the medical team on call with fever, neck stiffness and altered Glasgow Coma Scale. Acute bacterial meningitis is suspected.\n\nWhich of the following would be the most appropriate antibiotic choice for this patient?", "A 22-year-old woman was seen in casualty with a 5-day history of progressive weakness and lethargy. She had initially complained of a constant dry mouth and nausea associated with some swallowing difficulties. However, in the last few days she has noticed blurring of vision and more recently she has noticed upper limb weakness and breathlessness on exertion. She denied haemoptysis, sputum or cough but did complain of a sore throat. Preceding her symptoms she had experienced some abdominal pain but thought it may have been due to her period. She denied any medical problems and was a smoker of 20 cigarettes per day.\n\nOn examination she was alert and orientated. Her temperature was 36.7\u00BA, blood pressure 110/60mmHg, pulse 78/min and respiratory rate 20/min. There was evidence of intravenous drug abuse with several track marks and puncture sites found on both thighs. On cranial nerve examination she had mild bilateral ptosis with restricted ocular movements on right lateral and right superior gaze. There were reduced palatal movements and neck extension was weak. Examination of the upper limb revealed reduced reflexes bilaterally with some proximal weakness, however sensory examination was normal. On examination of the lower limb, reflexes were all depressed, and power and sensory examination was normal.\n\nChest examination was normal other than slightly reduced expansion 4 cm and abdominal examination was entirely normal.\n\nBlood tests...\nFull blood count and biochemical profile were all normal\n\nLumbar Puncture...\nOpening pressure 12cm H20 (5 - 18 cm H20)\nProtein 0.65 g/L (0.15 - 0.45 g/L)\nWhite cell count 3 per ml (=5)\nRed cell count 2 per ml (=5)\nTensilon test Positive\n\nWhat is the likely diagnosis for this patient?", "A 23-year-old final year medical student is referred to the outpatient clinic with a 2-month history of gradual onset left-sided headache occurring at least once a week. The headache, which is accompanied by nausea and photophobia, prevents her from studying for her exams.\n\nWhich of the following is correct about this person's headache?", "A 29-year-old woman presented to the Emergency Department with a diagnosis of DVT. She is in the third trimester of her first pregnancy and she has been 'taking it easy' by resting a lot at home.\n\nIn the department she develops a right hemipareses.\n\nWhich of the following is the most likely underlying cardiac abnormality?", "A 30-year-old woman presents with Raynaud's phenomenon.\n\nWhich one of the following clinical features suggests an underlying connective tissue disease?", "A 32-year-old singing teacher presented to casualty with a 4-day history of worsening weakness affecting both legs. She had noticed marked difficulty walking downstairs and rising up out of a chair. She complained of severe lower back pain although denied any history of trauma and had not noticed any problems with her bowel or bladder. In the last 24 hours she had also developed some facial weakness and had been unable to sing. She denied any sensory disturbance. She did mention she had cut her finger on a rose trellis whilst out gardening in the last week otherwise she had felt well in herself.\n\nShe had a past medical history of psoriasis and hypothyroidism and took regular thyroxine. She was a non-smoker and did not drink any alcohol.\n\nOn examination her blood pressure was 135/86 mmHg, pulse was 87/min and regular and temperature was 36.7\u00C2\u00BA. Heart sounds were normal and chest was clear. On cranial nerve examination there was some mild bilateral facial weakness and ptosis. Pupillary responses were intact and the rest of the cranial nerves were normal.\n\nNeck flexion and extension was intact. Upper limb examination revealed some mild weakness of shoulder abduction and adduction, which was non-fatigable with intact distal power. Tone and sensation were both intact; however, reflexes were depressed. Examination of the lower limb revealed marked weakness of hip flexion and extension (2/5), reduced tone and absent knee, ankle reflexes. Plantar responses were mute. Sensory examination was normal.\n\nInvestigations revealed...\n\nHaemoglobin 14.7 g/dl (13.0 - 18.0 g/dL)\nWhite cell count 6.4 x 109/L (4 - 11 x 109/L)\nPlatelets 199 x 109/L (150 - 400 x 109/L)\nESR (Westergren) 18 mm/1st hour (0 - 15 mm/1st hour)\nSerum sodium 136 mmol/L ( 137 - 144 mmol/L)\nSerum potassium 4.5 mmol/L (3.5 - 4.9 mmol/L)\nSerum urea 4.2 mmol/L (2.5 - 7.5 mmol/L)\nSerum creatinine 89 umol/L (60 - 110 umol/L)\nSerum creatine kinase 102 U/L (24 - 170 U/L)\nA lumbar puncture was performed and yielded the following data...\n\nOpening pressure 13 cmH2O (5 - 18 cmH2O)\nCSF protein 0.95 g/L (0.15 - 0.45 g/L)\nCSF white cell count 4 cells per ml (<5 cells per ml)\nCSF red cell count 2 cells per ml (<5 cells per ml)\n\nWhat is the likely diagnosis in this patient?", "A 35-year-old man presents with an inherited neurological disorder. His father developed the disease in his 60s and his daughter was born 2 years ago with a severe form of the condition. His mother, sister, wife and other child, a son, are unaffected.\n\nWhat is the genetic basis underlying this condition?", "A 40-year-old man suffers an intracerebral infarction.\n\nWhich of the following features in this patient would not be considered as a risk factor for his stroke?", "A 45-year-old man presented with diplopia, dysarthria and difficulty with swallowing. Over the next few days he developed weakness of the upper and lower limbs. On day 4 he was unable to walk unaided. He denied any sensory symptoms or bladder disturbances. His previous medical history is unremarkable.\n\nHe is a non-smoker, does not drink alcohol excessively. He does not take any drugs.\n\nOn examination he was apyrexial. His general medical examination was normal. His higher mental function was unremarkable. There were no signs of meningism. Cranial nerve examination showed bilateral dilated and fixed pupils. He had binocular diplopia but no obvious ophthalmoplegia. He was dysarthric with weak cough.\n\nHis vital capacity was 3.15 standing and 2.00 lying flat. He had lower motor neuron tetraparesis of power 3/5. He was hyporeflexic with normal sensation and was unable to walk unaided. Investgations including full blood count, urea and electrolytes, liver function tests, serum calcium, thyroid function tests, autoantibody screen, erythrocyte sedimentation rate and serum C-reactive protein were normal. His electrocardiogram and chest radiograph were normal. A CT scan of his brain was normal, as were nerve conduction studies and an electromyogram (EMG).\n\nWhat is the most likely diagnosis?", "A 47-year-old man presented with a 5-day history of bilateral facial weakness and diplopia worse on right lateral gaze. He could not fully close his eyes, which were becoming red and dry. He denied any recent infections or headaches, and had not noticed any difficulties with breathing or any weakness or numbness of his upper or lower limbs.\n\nHe had a past medical history of left uveitis, which was diagnosed at 18 years of age. This had been treated with topical steroids. Otherwise he was on no regular medication, was a non-smoker and drank 24 units of alcohol per week.\n\nOn examination his blood pressure was 135/80 mmHg, pulse was 75/min and regular and temperature was 37.1\u00B0C. There was a circular nodular lesion over the left shin, which appeared painful. On cranial nerve examination there was marked bilateral lower motor neuron facial weakness with an additional right VI nerve palsy. There appeared to be some fullness around the left angle of the jaw. Peripheral nervous system examination did not reveal any abnormal findings.\n\nA CT scan of the brain was normal. A lumbar puncture was performed and the following data were obtained...\n\nOpening pressure 16 cmH20\nCSF protein 1.5 g/L (NR 0.15 - 0.45)\nCSF white cell count 125 cells per ml (NR =5)\nCSF white cell differential 90% lymphocytes\nCSF red cell count 4 cells per ml (NR =5)\nCSF glucose 3.5 mmol/L (NR 3.3 - 4.4)\nCSF Angiotensin converting enzyme Normal\nCSF Oligoclonal bands Positive\nSerum Oligoclonal bands Negative\n\nWhat is the most likely diagnosis in this patient?", "A 48-year-old school teacher presents with a sudden weakness of her right arm and leg associated with a headache at the back of her head. She says that she felt a sharp pain at the top of her neck and back of her head and she fell to the floor and noticed that her right arm and leg were weak. The symptoms have persisted. She has had no nausea or vomiting . \n\nOn examination she is slightly drowsy lying in bed and has 4/5 right sided weakness. Her right plantar is upgoing and reflexes reduced on the right side. BP is 130/80, pulse 100 bpm regular, chest clear, heart sounds normal. There is some neck stiffness. Eye movements are normal, pupils are equal and reacting to light.\n\nWhich of the following conditions is the most likely cause of her symptoms?", "A 50-year-old man who is known to be a long-time heavy drinker is admitted with three generalised convulsive seizures in the space of 2 hours. He denies any alcohol consumption in the last 48 hours. There is no other past medical history of note. A CT scan of the brain was unremarkable.\n\nWhich of the following is the most appropriate treatment for this patient's condition?", "A 6-month-old boy is brought to a clinic by his parents. He had a fever for 3 days, and as this disappeared he was noted to have a rash.\n\nOn examination he is noted to be apyrexial but has a macular rash on the trunk and lower limbs.\n\nWhich of the following is the most likely diagnosis?", "A 65-year-old man presents with unsteadiness, rigidity of movement and tremor of the right hand.\n\nWhich of the following features most strongly suggest Idiopathic Parkinson Disease?", "A 66-year-old male presents with a sudden onset of ataxia, vomiting and headache, followed by increasing drowsiness.\n\nWhat is the most likely diagnosis?", "A 70-year-old female patient presents with a 2-month history of disinhibition, impulsiveness, social inappropriateness, apathy, withdrawal.\n\nThe most likely anatomical site of the neurological lesion is at the...", "A 72-year-old lady has 4 months of memory loss, urinary incontinence and falls. On examination she has mild memory loss and a broad-based, slow gait. Muscle tone is normal and both plantar reflexes are downgoing.\n\nWhat is the likely diagnosis?", "A 72-year-old man presented with a sudden onset of expressive dysphasia, and right hemiparesis. He smoked 20 cigarettes per day, and drank ten units of alcohol per week. He was known to be hypertensive and took 2.5 mg of bendroflumethiazide.\n\nOn examination, he had expressive aphasia, right sided homonymous hemianopia and a right extensor plantar response. His pulse is 80 and regular, BP 130/80 mmHg and heart sounds were normal.CT brain showed a left middle cerebral artery territory ischaemic stroke. His ECG showed sinus rhythm. Doppler of carotids showed 20-30% stenosis of the right internal carotid artery and 40% stenosis of the left internal carotid artery. He had been started on aspirin 300 mg per day and simvastatin 40 mg on the day of admission. All of these above investigation had been completed by day three of his admission.\n\nWhat is the next most appropriate step of management?", "A 72-year-old man presents with Parkinson's disease.\n\nWhich of the following is a likely mechanism underlying the neurodegeneration seen in this condition?", "A 76-year-old male presents with cognitive impairment and is diagnosed with dementia.\n\nWhich of the following is the most probable cause of the dementia?", "A previously well 46-year-old man presents with a 2-day history of progressively worsening headaches, dizziness, double vision, dry mouth and swallowing difficulties. His wife has also noticed that his face has been slightly asymmetrical over the last day or so. He denies any sensory or gastrointestinal symptoms. Three days ago he injured his left hand while gardening and the wound on his little finger is red and tender.\n\nOn examination, he is alert and orientated. Pulse is 60 beats/min, BP 130/65 mmHg, temperature 38\u00B0C. He has ptosis, large poorly reactive pupils, diplopia on looking to the extremities horizontally bilaterally, weakness of closing the eyelids (right worse than left) and inability to whistle properly. He also chokes when asked to swallow a little water. Power is mildly generally reduced in the upper limbs and lower limbs. Deep tendon reflexes are generally depressed and sensation is normal.\n\nInvestigations reveal...\n\nHaemoglobin 14.0 g/dL (13.0-18.0)\nWhite blood count 10.0 x109/L (4-11 x109)\nPlatelets 200 x109/L (150-400 x109)\nSerum sodium 139 mmol/L (137-144)\nSerum potassium 4.0 mmol/L (3.5-4.9)\nSerum urea 6.8 mmol/L (2.5-7.5)\nPlasma glucose 7.5 mmol/L (3.0-6.0)\n\nCSF examination\nOpening pressure 15 mm H2O (50-180)\nCell count < 2 per mm3\nCSF protein 0.3 g/L (0.15-0.45)\nCSF glucose 6.1 mmol/L (3.3-4.4)\n\nWhat is the most likely diagnosis?", "An 18-year-old college student is admitted with a 2- week history of paraesthesia and weakness affecting all four limbs. Examination shows mild distal weakness, absent reflexes, and glove and stocking sensory loss. FVC is 900mls. CT head is normal. Lumbar puncture reveals...\n\nLymphocytes 5\nRed cell 1\nGlucose 4.5 mmol/L (3.3-4.4)\nGlucose 4.5 mmol/L (3.3-4.4)\nProtein 0.9 g/L (0.15-0.45)\n\nWhat is the likely diagnosis?", "Concerning the Glasgow Coma Scale, which of the following indicates a verbal score of 1?", "A young woman presents with a 3-week history of deteriorating weight loss and shortness of breath, and has developed tender, slightly raised lesions on her legs.\n\nWhich of the following is the likely diagnosis?", "Which of the following anatomical considerations is correct?", "Which visual field defect is most likely to occur with multiple sclerosis?"]; var aNeurologyAnswers = ["", "G-CSF|Edrophonium|Non-steroidal anti-inflammatory drugs|Physiotherapy|Plasmapharesis", "Diclofenac at the onset of the next attack|Ergotamine suppository at the onset of the next attack|Paracetamol plus metoclopramide at the onset of the next attack|Prophylaxis with propranolol|Sumatriptan at the onset of the next attack", "Epilepsy|Herpes simplex encephalitis|Meningococcal meningitis|Pneumococcal meningitis|Viral meningitis", "Basilar artery transient ischaemic attacks|Basilar migraine|Brain stem arteriovenous malformation|Giant cell arteritis|Multiple sclerosis", "Augmentin and Clarithromycin|Cefotaxime and Vancomycin|Cefuroxime and Metronidazole|Ciprofloxacin|Tazocin and Amikacin", "Botulism|Cerebrovascular disease of the brainstem|Lambert Eaton syndrome|Miller Fisher variant of Guillan-Barre syndrome|Myasthenia Gravis", "A family history of similar headaches is common.|It is associated with a high ESR.|It responds well to beta agonists.|Oxygen inhalation is an appropriate method of treatment.|Unilateral tearing and conjunctival injection is a common accompaniment", "Patent ductus arteriosus|Patent foramen ovale|Primum atrial septal defect|Secundum atrial septal defect|Ventricular septal defect", "History of chilblains.|Involvement of toes.|One previous miscarriage in early pregnancy.|Symmetrical involvement of fingers.|Symptoms developed as a teenager.", "Botulism|Guillain-Barre syndrome|Myasthenia Gravis|Vasculitic neuropathy|Viral myositis", "Autosomal recessive inheritance|Mitochondrial disease|Polygenic inheritance|Trinucleotide repeat disease|X-linked inheritance", "Blood pressure 156/72 mmHg|Marijuana use|Mitral valve prolapse|Plasma cholesterol of 6.5 mmol/l|Smoker of 5 cigarettes per day", "Guillan-Barre syndrome|Lyme disease|Myasthenia gravis|Botulism|Vasculitis", "Behcet's disease|Bilateral Bell's palsy|Lyme disease|Miller Fisher variant of Guillian-Barre syndrome|Sarcoidosis", "extradural haematoma|haemorrhagic stroke|intracerebral tumour|ischaemic stroke|sub-arachnoid haemorrhage", "Intravenous lorazepam|Intravenous lorazepam followed by long-term oral valproate|Intravenous phenytoin followed by long-term oral phenytoin|Long-term oral valproate|No antiepileptic drug therapy is indicated", "Erythema Multiforme|Henoch-Schonlein purpura|Idiopathic thrombocytopenia.|Meningococcal septicaemia|Roseola infantum", "Intention tremor|Slowness of the movement|The asymmetry of tremor|Titubation|Tremor that disappears when he sleeps", "Acute cerebellar haemorrhage|Acute subdural haemorrhage|Frontal subdural empyema|Herpes simplex encephalitis|Pituitary apoplexy", "frontal lobe|parietal lobe|temporal lobe|occipital lobe|internal capsule", "Alzheimer's disease|Frontal lobe dementia|Multi-infarct dementia|Normal-pressure hydrocephalus|Parkinson's disease", "Add clopidogrel|Admit to stroke unit|Left carotid angioplasty|Left carotid endarterectomy|Thrombolysis with t-PA", "Aberrant fusion of 2 genes|Impaired protein degradation|Over expression of cellular oncogene|Telomere shortening", "Alzheimer's disease|Creutzfeldt-Jacob disease|Lewy body dementia|Pick's disease|Vascular dementia", "Botulism|Guillain-Barre syndrome|Lyme disease|Myasthenia gravis|Tetanus", "B12 deficiency|Diabetic neuropathy|Guillan-Barre syndrome|Multiple sclerosis|Viral meningitis", "Disoriented response|Inappropriate words|Incomprehensible words|No response", "Drug reaction|Cellulitis|Mycoplasma pneumonia|Thyrotoxicosis|Sarcoidosis", "optic chiasm lesions characteristically produce a bitemporal hemianopia|central scotoma occurs early in papilloedema|in cortical blindness pupillary reactions are abnormal|optic tract lesions produce an ipsilateral homonymous hemianopia|opticokinetic nystagmus is found with bilateral infarction of the parieto-occipital lobes", "tunnel vision|bitemporal hemianopia|unilateral blurred vision|homonymous hemianopia|increased blind spot"]; var aNeurologyRightAnswer = ["", "Plasmapharesis", "Paracetamol plus metoclopramide at the onset of the next attack", "Herpes simplex encephalitis", "Basilar migraine", "Cefotaxime and Vancomycin", "Botulism", "A family history of similar headaches is common.", "Patent foramen ovale", "History of chilblains.", "Guillain-Barre syndrome", "Trinucleotide repeat disease", "Marijuana use", "Botulism", "Sarcoidosis", "sub-arachnoid haemorrhage", "Intravenous lorazepam", "Roseola infantum", "The asymmetry of tremor", "Acute cerebellar haemorrhage", "frontal lobe", "Normal-pressure hydrocephalus", "Admit to stroke unit", "Impaired protein degradation", "Alzheimer's disease", "Botulism", "Guillan-Barre syndrome", "No response", "Sarcoidosis", "optic chiasm lesions characteristically produce a bitemporal hemianopia", "unilateral blurred vision"]; var aInfectionQuestions = ["", "A 12-year-old girl presents with left ear pain and fever, worsening over the past 3 days. Today mother has noted a whitish creamy discharge from the ear canal. She was born at 38/40 gestation weighing 3.8kg and there were no neonatal problems. She is fully immunised. She trains regularly in a swimming team.\n\nOn examination she has a temperature of 38.2\u00B0C and has a red left tragus. This is exquisitely tender, and examination of the drum is impossible because of the pain and creamy thin discharge. She has shotty tender posterior cervical glands.\n\nWhat is the most likely diagnosis?", "A 15-year-old girl presents with a 7-day history of fever and malaise, with tender neck glands and discomfort in swallowing. She has previously been well. Full-term normal delivery, no neonatal problems. Immunisations up to date. No family or social history of note.\n\nOn examination the temperature is 38.5\u00B0C, respiratory rate 15/min and pulse 80/min. Appears well and is well perfused. She has a scanty blanching erythematous rash over the trunk, tender cervical and inguinal glands, and a 4 cm spleen.\n\nWhat is the most likely diagnosis?", "A 2-year-old girl presents with redness and swelling of the left cheek. The previous day she had accidentally scratched herself in this area. Full term normal delivery, no neonatal problems. Immunisations up to date. No family or social history of note.\n\nOn examination the temperature is 38.3\u00B0C, RR 20/min, HR 100/min.There is a graze on her left cheek, which is red, oedematous and painful to touch. She has tender submandibular nodes on that side.\n\nWhat is the most likely diagnosis?", "A 20 year-old-woman presented with a solitary, crusted, thickened lesion on her face one month after returning from a holiday in Central America.\n\nWhat is the most likely diagnosis?", "A 23-year-old female has recently developed fever and pain of the left wrist, right ankle and left knee along with a few painful skin lesions in the limbs close to the joints.\n\nWhich of the following is the most likely diagnosis?", "A 25-year-old man returned from a stag weekend in Latvia three days ago. He is complaining of pain on passing urine and a white discharge from the end of his penis. He is also complaining of a painful and swollen left knee.\n\nOn examination he has a white discharge from his penis and his left knee is erythematous, swollen and tender.\n\nWhich of these is the most likely diagnosis?", "A 28-year-old man from London comes to see you complaining that he has been treated by one of your partners for oral thrush for a number of months but the topical treatment has not been successful. Your take a history and find that he is also on warfarin for a DVT which had no obvious precipitant and has recently had an attack of shingles.\n\nHe has not taken any antibiotics recently. He tells you that he has recently separated from his long term male partner. On examination he is thin and has typical candida on his tongue and palate.\n\nWhich of these tests would be most appropriate?", "A 30-year-old renal transplant recipient presented with non-Hodgkin's lymphoma.\n\nWhich virus is most likely to be of aetiological significance?", "A 30-year-old woman presents with itching around the vulva, perineum, buttocks and inner thighs which has been present for a number of weeks.\n\nOn examination she looks rather unkempt and on the affected area there are sinuous, scaling reddish lesions 5-15mm long; some have vesicles at the end.\n\nWhat is the most likely diagnosis?", "A 30-year-old woman presents with multiple painful genital ulcers. She also complains of feeling unwell and feverish with headache and muscle pains. She had unprotected sex with a casual male partner two weeks previously.\n\nOn examination she has multiple shallow ulcers covering her vulva along with a low grade pyrexia and mildly tender muscles.\n\nWhich of these is the most likely diagnosis?", "A 33-year-old type 1 diabetic male presents with a two day history of pain in his left hand, fever and a rash. This began after he pricked his finger in the garden whilst pruning a bush. His diabetic control has been quite reasonable with a HbA1c of 7.1% (3.8-6.4) on basal bolus insulin consisting of Lispro tds and Humulin I in the evenings.\n\nOn examination he has a painful, red and swollen middle finger with the redness extending to the metacaropophalangeal joint. He is diagnosed with cellulites and is prescribed antibiotics.\n\nWhat is the most likely infective organism?", "A 33-year-old type 1 diabetic male presents with a two day history of pain, swelling and redness in his left middle finger. This began after he pricked his finger in the garden whilst pruning a bush. His diabetic control has been quite reasonable with a HbA1c of 7.1% (3.8-6.4) on basal bolus insulin consisting of Lispro tds and Humulin I in the evenings.\n\nOn examination he has a painful, red and swollen middle finger with the redness extending to the metacarpophalangeal joint. He is diagnosed with cellulitis.\n\nWhat is the most appropriate treatment for this patient?", "A 42-year-old businessman presented to Casualty 6 weeks after returning from a business trip to Thailand. On examination he was febrile (38.5\u00B0C) and had generalised lymphadenopathy and a diffuse macular rash. Atypical lymphocytes were seen on a blood film. He had taken mefloquine as malaria prophylaxis.\n\nWhat is the most likely diagnosis?", "A 45-year-old man returned from a two-week trip in Zimbabwe. Fourteen days later he presented with fever, sore throat, headaches and a widespread maculopapular rash. On examination there was generalised lymphadenopathy and a widespread maculopapular rash.\n\nWhat is the most likely diagnosis?", "A 45-year-old teacher presents 6 weeks after he returns from a hiking holiday in South America with a shallow, painless ulcer of the nose.\n\nWhat is the likely diagnosis?", "A 55-year-old white man presents with fever, intermittent rigors, and worsening fatigue. He had returned from a business trip to West Africa six months previously.\n\nWhat is the most likely diagnosis?", "A 55-year-old man who has sex with men presents with general malaise, right upper quadrant pain and yellowing of the eyes. He has had multiple casual sexual partners in the preceding months and admits to not always using a condom. He has had no recent foreign travel.\n\nOn examination he is jaundiced, he is tender in the right upper quadrant and you can just feel a liver edge.\n\nWhich of these is the most likely infection?", "A 56-year-old man from Thailand presented with abdominal pain and a mass in the right upper quadrant. He reported that he had been diagnosed with viral hepatitis several years previously. Investigations showed...\n\nSerum alpha-fetoprotein 13,500 IU/L(< 10)\n\nWhat is the most likely underlying viral infection?", "A 6 month old boy is brought to clinic by his parents. He had a fever for three days, and as this disappeared he was noted to have a rash. On examination he is noted to be apyrexial but has a macular rash on the trunk and lower limbs.\n\nWhich of the following is the most likely diagnosis?", "A child of 5 years is suspected to have Giardiasis.\n\nWhich one of the following statements regarding his condition is correct?", "A patient is planning to travel through the southern states of America, but is worried about West Nile Virus.\n\nWhich of the following statements regarding West Nile Virus is correct?", "A patient on the ward with bloody diarrhoea has been diagnosed with Clostridium difficile.\n\nWhich of the following is also associated with Clostridial infection?", "A patient presents with a 36 hour history of Varicella zoster in the T4 dermatome. She complains of severe pain in the skin supplied by T4.\n\nWhat is the most appropriate management?", "AIDS is not transmitted by...", "An 18-month-old boy presents with fever and redness and swelling of the left eye, worsening over the past 2 days. He has previously been well. Full-term normal delivery with no neonatal complications. Immunisations up to date. There is no FH/SH of note.\n\nOn examination his temperature is 38.2\u00B0C, respiratory rate 25/min and heart rate100/min. Well perfused. His left eye is virtually closed by painful red swelling. There is yellow crusting of the lid margin. On soaking the eyelids open there is proptosis and painful movement of the eyes.\n\nWhat is the most likely diagnosis?", "An 85-year-old woman presents with an itchy rash on both hands, anterior aspects of both elbows, axillae and groins. Other residents in her nursing home have complained of similar symptoms.\n\nWhat is the likely diagnosis?", "Cellulitis is most commonly caused by...", "Epstein-Barr virus is responsible for all the following conditions except...", "Respiratory symptoms are a typical feature of which of the following diseases...", "The test most likely detect the diagnosis of a patient who presents with an itchy annular plaque on the face is...", "Varicella-Zoster infection..."]; var aInfectionAnswers = ["", "Group A streptococcal pharyngitis|Mastoiditis|Otitis externa|Otitis media, acute|Otitis media, recurrent", "HIV|Infectious mononucleosis|Kawasaki disease|Mycobacterial adenitis|Streptococcal pharyngitis", "Cellulitis|Erythrasma|Folliculitis|Parvovirus infection|Staphylococcal scalded skin syndrome", "Cutaneous anthrax|Cutaneous leishmaniasis|Impetigo|Leprosy|Onchocerciasis", "Chlamydia trachomatis|Meningococcaemia|Gonococcaemia|Anthrax", "Chlamydial infection|Gonorrhoea|Pyelonephritis|Reiter's syndrome|Trichomoniasis", "Clotting screen|HIV test|Orogastoduodenoscopy (OGD)|Swab of tongue for MC&S|Syphilis serology", "Adenovirus|Cytomegalovirus|Epstein Barr virus|Herpes simplex type 1|Varicella-zoster", "Genital warts|Lichen planus|Lymphgranuloma venereum|Pubic lice|Scabies", "Chancroid|Herpes simplex virus|Herpes zoster virus|Lymphogranuloma venereum|Syphilis", "Escherichia coli|Klebsiella|MRSA|Pseudomonas aeruginosa|Streptococcus pyogenes", "Admit to hospital for IV antibiotics|Oral Flucloxacillin only|Oral metronidazole only|Oral penicillin V only|Oral penicillin V and Flucloxallin", "Acute HIV disease (seroconversion illness)|Dengue fever|Plasmodium falciparum malaria|Glandular fever|Secondary syphilis", "acute HIV infection|schistomsomiasis|strongyloidiasis|tick typhus|typhoid fever", "Fusobacterium ulcerans|Leishmaniasis|Squamous cell carcinoma|Trichomoniasis|Trypanosomiasis", "Brucellosis|Leishmaniasis|Plasmodium falciparum malaria|Plasmodium ovale malaria|Typhoid fever", "Cytomegalovirus|Epstein-Barr Virus|Hepatitis A|Hepatitis B|Hepatitis C", "Hepatitis A virus|Hepatitis B virus|Hepatitis C virus|Hepatitis D virus|Hepatitis E virus", "Roseola infantum|Meningococcal septicaemia|Eryhtema Multiforme|Idiopathic thrombocytopenia.|Henoch-Schonlein purpura", "It is a potential cause of folate deficiency|Is typically associated with vomiting|Is acquired through aerosilisation|The diagnosis can be excluded by negative stool microscopy|It may be treated with Co-Trimoxazole (Septrin)", "Infection is non-fatal|Is a member of the arborvirus family|Transplacental transmission does not occur|May be associated with Poliomyelitis-like paralysis|Treatment with interferon is effective in West Nile Virus encephalitis", "Anthrax|Diptheria|Gonorrhoea|Meningitis|Tetanus", "Aciclovir|Carbamazepine|Famciclovir|Nothing|Prednisolone", "Blood transfusion|Mosquitoes bites.|Breast milk|Plasma", "Cavernous sinus thrombosis|Graves' disease|Neuroblastoma|Orbital cellulitis, postseptal|Orbital cellulitis, preseptal", "Bullous Pemphigus|Henloch schonlein Purpura|Pemphigus Vulgaris|Psoriasis|Scabies", "Clostridium|E. Coli|Mycoplasma|Streptococcus", "Burkitt's lymphoma|Infectious mononucleosis|Nasopharyngeal carcinoma|Carcinoma cervix", "Onchocerciasis|Taenia Solium|Strongyloides|Rocky mountain spotted fever", "Gram's stain|Potassium hydroxide mount|Wood's lamp examination|Tissue smear", "Gamma Interferon is an effective treatment|produces latent infection within the anterior horn cells|causes urinary incontinence|causes congenital limb deformity|associated pneumonitis is equally common in smokers and non-smokers"]; var aInfectionRightAnswer = ["", "Otitis externa", "Infectious mononucleosis", "Cellulitis", "Cutaneous leishmaniasis", "Gonococcaemia", "Gonorrhoea", "HIV test", "Epstein Barr virus", "Scabies", "Herpes simplex virus", "Streptococcus pyogenes", "Oral penicillin V and Flucloxallin", "Acute HIV disease (seroconversion illness)", "acute HIV infection", "Leishmaniasis", "Plasmodium ovale malaria", "Hepatitis B", "Hepatitis B virus", "Roseola infantum", "It is a potential cause of folate deficiency", "May be associated with Poliomyelitis-like paralysis", "Tetanus", "Aciclovir", "Mosquitoes bites.", "Orbital cellulitis, postseptal", "Scabies", "Streptococcus", "Carcinoma cervix", "Strongyloides", "Potassium hydroxide mount", "causes congenital limb deformity"]; function generateGeneralMedicalArray() { var _local1 = 0; while (_local1 < aGeneralMedicalQuestions.length) { var _local2 = aGeneralMedicalQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aGeneralMedicalAnswers.length) { var _local2 = aGeneralMedicalAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aGeneralMedicalRightAnswer.length) { var _local2 = aGeneralMedicalRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generatePaediatricsArray() { var _local1 = 0; while (_local1 < aPaediatricsQuestions.length) { var _local2 = aPaediatricsQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aPaediatricsAnswers.length) { var _local2 = aPaediatricsAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aPaediatricsRightAnswer.length) { var _local2 = aPaediatricsRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateEmergencyMedicineArray() { var _local1 = 0; while (_local1 < aEmergencyMedicineQuestions.length) { var _local2 = aEmergencyMedicineQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aEmergencyMedicineAnswers.length) { var _local2 = aEmergencyMedicineAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aEmergencyMedicineRightAnswer.length) { var _local2 = aEmergencyMedicineRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateCardiologyArray() { var _local1 = 0; while (_local1 < aCardiologyQuestions.length) { var _local2 = aCardiologyQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aCardiologyAnswers.length) { var _local2 = aCardiologyAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aCardiologyRightAnswer.length) { var _local2 = aCardiologyRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateGastrointestinalMedicineArray() { var _local1 = 0; while (_local1 < aGastrointestinalQuestions.length) { var _local2 = aGastrointestinalQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aGastrointestinalAnswers.length) { var _local2 = aGastrointestinalAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aGastrointestinalRightAnswer.length) { var _local2 = aGastrointestinalRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateRespiratoryArray() { var _local1 = 0; while (_local1 < aRespiratoryQuestions.length) { var _local2 = aRespiratoryQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aRespiratoryAnswers.length) { var _local2 = aRespiratoryAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aRespiratoryRightAnswer.length) { var _local2 = aRespiratoryRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateEndocrinologyArray() { var _local1 = 0; while (_local1 < aEndocrinologyQuestions.length) { var _local2 = aEndocrinologyQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aEndocrinologyAnswers.length) { var _local2 = aEndocrinologyAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aEndocrinologyRightAnswer.length) { var _local2 = aEndocrinologyRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateDermatologyArray() { var _local1 = 0; while (_local1 < aDermatologyQuestions.length) { var _local2 = aDermatologyQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aDermatologyAnswers.length) { var _local2 = aDermatologyAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aDermatologyRightAnswer.length) { var _local2 = aDermatologyRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateOrthopaedicsArray() { var _local1 = 0; while (_local1 < aOrthopaedicsQuestions.length) { var _local2 = aOrthopaedicsQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aOrthopaedicsAnswers.length) { var _local2 = aOrthopaedicsAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aOrthopaedicsRightAnswer.length) { var _local2 = aOrthopaedicsRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateNeurologyArray() { var _local1 = 0; while (_local1 < aNeurologyQuestions.length) { var _local2 = aNeurologyQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aNeurologyAnswers.length) { var _local2 = aNeurologyAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aNeurologyRightAnswer.length) { var _local2 = aNeurologyRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } function generateInfectionArray() { var _local1 = 0; while (_local1 < aInfectionQuestions.length) { var _local2 = aInfectionQuestions[_local1]; aQuestions.push(_local2); _local1++; } _local1 = 0; while (_local1 < aInfectionAnswers.length) { var _local2 = aInfectionAnswers[_local1]; aAnswers.push(_local2); _local1++; } _local1 = 0; while (_local1 < aInfectionRightAnswer.length) { var _local2 = aInfectionRightAnswer[_local1]; aRightAnswer.push(_local2); _local1++; } } var aQuestions = new Array(); var aAnswers = new Array(); var aRightAnswer = new Array();
Frame 11
stop();
Frame 12
stop();
Frame 13
stop();
Symbol 11 MovieClip [RemotingDebugClasses] Frame 1
#initclip 94 Object.registerClass("RemotingDebugClasses", mx.remoting.DebugClasses); #endinitclip preview._visible = false; stop();
Symbol 56 MovieClip [RemotingClasses] Frame 1
#initclip 95 Object.registerClass("RemotingClasses", mx.remoting.ApiClasses); #endinitclip preview._visible = false; stop();
Symbol 78 MovieClip [CheckThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 89 MovieClip [CheckBoxAssets] Frame 1
#initclip 96 mx.controls.CheckBox.prototype.adjustFocusRect = function () { var _local4 = this._parent.focus_mc; var _local2 = this.iconName; var _local3 = this.getStyle("themeColor"); if (_local3 == undefined) { _local3 = 8453965 /* 0x80FF4D */; } var _local8 = _local2._width + 4; var _local5 = _local2._height + 4; _local4.setSize(_local8, _local5, 0, 100, _local3); var _local7 = _local2._x; var _local6 = _local2._y; _local4.move((this.x - 2) + _local7, (this.y + _local6) - 2); }; #endinitclip
Symbol 91 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 93 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 96 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 98 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 101 MovieClip [Defaults] Frame 1
#initclip 97 Object.registerClass("Defaults", mx.skins.halo.Defaults); #endinitclip
Symbol 102 MovieClip [UIObjectExtensions] Frame 1
#initclip 98 Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions); #endinitclip
Symbol 103 MovieClip [UIObject] Frame 1
#initclip 99 Object.registerClass("UIObject", mx.core.UIObject); #endinitclip stop();
Symbol 106 Button
on (keyPress "<Tab>") { this.tabHandler(); }
Symbol 107 MovieClip Frame 1
#initclip 100 Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } #endinitclip
Symbol 108 MovieClip [FocusRect] Frame 1
#initclip 101 Object.registerClass("FocusRect", mx.skins.halo.FocusRect); #endinitclip
Symbol 109 MovieClip [FocusManager] Frame 1
#initclip 102 Object.registerClass("FocusManager", mx.managers.FocusManager); #endinitclip stop();
Symbol 110 MovieClip [UIComponentExtensions] Frame 1
#initclip 103 Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions); #endinitclip
Symbol 111 MovieClip [UIComponent] Frame 1
#initclip 104 Object.registerClass("UIComponent", mx.core.UIComponent); #endinitclip stop();
Symbol 112 MovieClip [SimpleButton] Frame 1
#initclip 105 Object.registerClass("SimpleButton", mx.controls.SimpleButton); #endinitclip stop();
Symbol 113 MovieClip [Border] Frame 1
#initclip 106 Object.registerClass("Border", mx.skins.Border); #endinitclip stop();
Symbol 114 MovieClip [RectBorder] Frame 1
#initclip 107 mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder)); Object.registerClass("RectBorder", mx.skins.halo.RectBorder); #endinitclip stop();
Symbol 115 MovieClip [ButtonSkin] Frame 1
#initclip 108 Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin); #endinitclip
Symbol 116 MovieClip [Button] Frame 1
#initclip 109 Object.registerClass("Button", mx.controls.Button); #endinitclip stop();
Instance of Symbol 112 MovieClip [SimpleButton] in Symbol 116 MovieClip [Button] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 117 MovieClip [CheckBox] Frame 1
#initclip 110 Object.registerClass("CheckBox", mx.controls.CheckBox); #endinitclip stop();
Instance of Symbol 116 MovieClip [Button] in Symbol 117 MovieClip [CheckBox] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 139 MovieClip [CustomBorder] Frame 1
#initclip 111 Object.registerClass("CustomBorder", mx.skins.CustomBorder); mx.skins.SkinElement.registerElement("CustomBorder", mx.skins.CustomBorder); #endinitclip
Symbol 151 MovieClip [ScrollThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 153 MovieClip [ScrollThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 164 MovieClip [ThumbThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 166 MovieClip [ThumbThemeColor3] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 173 MovieClip [ThumbThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 194 MovieClip [BtnDownArrow] Frame 1
#initclip 112 Object.registerClass("BtnDownArrow", mx.controls.SimpleButton); #endinitclip
Symbol 195 MovieClip [BtnUpArrow] Frame 1
#initclip 113 Object.registerClass("BtnUpArrow", mx.controls.SimpleButton); #endinitclip
Symbol 197 MovieClip [VScrollBar] Frame 1
#initclip 114 Object.registerClass("VScrollBar", mx.controls.VScrollBar); #endinitclip stop();
Instance of Symbol 116 MovieClip [Button] in Symbol 197 MovieClip [VScrollBar] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 112 MovieClip [SimpleButton] in Symbol 197 MovieClip [VScrollBar] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 198 MovieClip [HScrollBar] Frame 1
#initclip 115 Object.registerClass("HScrollBar", mx.controls.HScrollBar); #endinitclip stop();
Instance of Symbol 116 MovieClip [Button] in Symbol 198 MovieClip [HScrollBar] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 112 MovieClip [SimpleButton] in Symbol 198 MovieClip [HScrollBar] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 199 MovieClip [UIScrollBar] Frame 1
#initclip 116 Object.registerClass("UIScrollBar", mx.controls.UIScrollBar); #endinitclip stop();
Instance of Symbol 197 MovieClip [VScrollBar] in Symbol 199 MovieClip [UIScrollBar] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 198 MovieClip [HScrollBar] in Symbol 199 MovieClip [UIScrollBar] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 211 MovieClip Frame 100
stop();
Symbol 215 Button
on (release) { getURL ("http://www.tamba.co.uk", "_new"); }
Symbol 518 MovieClip [__Packages.remoting.RemotingFunctions] Frame 0
class remoting.RemotingFunctions { var gatewayUrl, serviceName, service, serial; function RemotingFunctions (gatewayUrl, serviceName) { this.gatewayUrl = gatewayUrl; this.serviceName = serviceName; service = new remoting.RemotingService(gatewayUrl, serviceName, remoting.RemotingService.NO_RETRY); serial = new it.sephiroth.Serializer(); } function getLeaguesSet() { service.getLeagues(null, this, gotLeaguesSet); } function gotLeaguesSet(objResult) { _root.set_league.showLeagues(_root.objRemote.serial.unserialize(objResult.__get__result())); } function getLeaguesView() { service.getLeagues(null, this, gotLeaguesView); } function gotLeaguesView(objResult) { _root.select_league.showLeagues(_root.objRemote.serial.unserialize(objResult.__get__result())); } function getHighScores(intMax, intLeague) { service.getHighScores([intMax, intLeague], this, gotHighScores); } function gotHighScores(objResult) { _root.leaderboard.showHighScores(_root.objRemote.serial.unserialize(objResult.__get__result())); } function setHighScores(strUserName, strUserEmail, intScore, intOptOut) { var _local2 = new as.md5(); var _local3 = _local2.hash((((((("client=bmjp10&name=" + strUserName) + "&score=") + intScore) + "&email=") + strUserEmail) + "&optout=") + intOptOut); service.setHighScores([strUserName, strUserEmail, intScore, intOptOut, _local3], this, setHighScoresResult); } function setHighScoresResult(objResult) { _root.intScoreID = objResult.result; _root.gotoAndStop("set_league"); } function sendToFriend(strUserName, strUserEmail, strFriendName, strFriendEmail, intUserScore, intOptOut) { service.sendToFriend([strUserName, strUserEmail, strFriendName, strFriendEmail, intUserScore, intOptOut], this, sentToFriend); } function sentToFriend() { _root.sendfriend.friend_name.text = ""; _root.sendfriend.friend_email.text = ""; _root.sendfriend.error_text.text = "Email sent! Would you like to send another?"; } function makeLeague(strLeague) { var _local3 = _root.intScoreID; var _local4 = new as.md5(); var _local5 = _local4.hash((("client=bmjp10&id=" + _local3) + "&name=") + strLeague); service.makeLeague([_local3, strLeague, _local5], this, leagueResult); } function setLeague(intLeague) { var _local3 = _root.intScoreID; trace((("id:" + _root.intScoreID) + ", league+") + intLeague); var _local4 = new as.md5(); var _local6 = _local4.hash((("client=bmjp10&id=" + _local3) + "&league=") + intLeague); service.setLeague([_local3, intLeague, _local6], this, leagueResult); } function leagueResult(objResult) { _root.intLeagueID = objResult.result; _root.gotoAndStop("leaderboard"); } }
Symbol 519 MovieClip [__Packages.remoting.RemotingService] Frame 0
class remoting.RemotingService { var gatewayUrl, serviceName, defaultSettings, service, dispatchEvent; function RemotingService (gatewayUrl, serviceName, defaultSettings) { mx.events.EventDispatcher.initialize(this); this.gatewayUrl = gatewayUrl; this.serviceName = serviceName; this.defaultSettings = defaultSettings; init(); } function init() { mx.remoting.debug.NetDebug.initialize(); service = new mx.remoting.Service(gatewayUrl, null, serviceName); } function setCredentials(user, pass) { service.__get__connection().setCredentials(user, pass); } function __resolve(p_methodName) { if ((p_methodName.indexOf("Handler") != -1) || (p_methodName.indexOf("__q_") != -1)) { return(null); } var _local2 = new remoting.RemotingMethod(service, p_methodName, defaultSettings); _local2.addEventListener("busy", mx.utils.Delegate.create(this, handleBusy)); _local2.addEventListener("result", mx.utils.Delegate.create(this, handleResult)); _local2.addEventListener("fault", mx.utils.Delegate.create(this, handleFault)); _local2.addEventListener("timeout", mx.utils.Delegate.create(this, handleTimeout)); _local2.addEventListener("call", mx.utils.Delegate.create(this, handleCall)); this[p_methodName] = mx.utils.Delegate.create(_local2, _local2.exec); return(this[p_methodName]); } function handleBusy(eventObj) { hasBeenBusy = true; dispatchEvent({type:"busy", target:this}); } function handleResult(eventObj) { removePendingCall(); dispatchEvent({type:"result", target:this, result:eventObj.result, args:eventObj.args, methodName:eventObj.methodName}); } function handleTimeout(eventObj) { removePendingCall(); dispatchEvent({type:"timeout", target:this, args:eventObj.args, methodName:eventObj.methodName}); } function handleFault(eventObj) { removePendingCall(); if (eventObj.fault.faultcode == "AMFPHP_AUTH_MISMATCH") { dispatchEvent({type:"authFault", target:this, fault:eventObj.fault, methodName:eventObj.methodName, args:eventObj.args}); } else { dispatchEvent({type:"fault", target:this, fault:eventObj.fault, methodName:eventObj.methodName, args:eventObj.args}); } } function handleCall(eventObj) { pendingCalls = pendingCalls + 1; } function removePendingCall() { pendingCalls = pendingCalls - 1; if ((pendingCalls == 0) && (hasBeenBusy)) { hasBeenBusy = false; dispatchEvent({type:"clear", target:this}); } } static var NO_RETRY = {maxAttempts:1, timeout:20000}; static var BUSY_TIME = 750; var pendingCalls = 0; var hasBeenBusy = false; }
Symbol 63 MovieClip [__Packages.mx.remoting.Service] Frame 0
class mx.remoting.Service extends Object { var __conn, __serviceName, __responder; function Service (gatewayURI, logger, serviceName, conn, resp) { var _local1 = this; var _local2 = conn; var _local3 = gatewayURI; super(); _local1.log = logger; _local1.log.logInfo("Creating Service for " + serviceName, mx.services.Log.VERBOSE); if ((_local3 == "") && (_local2 == null)) { _local3 = mx.remoting.NetServices.gatewayUrl; } _local3 = mx.remoting.NetServices.getHttpUrl(_local3); if (_local2 == null) { _local2 = mx.remoting.NetServices.getConnection(_local3); if (_local2 == null) { _local1.log.logInfo("Creating gateway connection for " + _local3, mx.services.Log.VERBOSE); _local2 = mx.remoting.NetServices.createGatewayConnection(_local3, logger); } } _local1.__conn = _local2; _local2.updateConfig(); _local1._allowRes = true; _local1.__serviceName = serviceName; _local1.__responder = resp; _local1.log.logInfo("Successfully created Service", mx.services.Log.VERBOSE); } function get connection() { return(__conn); } function __resolve(methodName) { var _local2 = this; if (_local2._allowRes) { var _local1 = _local2.__makeOpFunc(methodName); _local2[methodName] = _local1; return(_local1); } return(null); } function __makeOpFunc(name) { var op = (new mx.remoting.Operation(name, this)); var _local1 = function () { op.invoke(arguments); return(op.send()); }; _local1.send = function () { return(op.createThenSend()); }; _local1.setResponder = function (resp) { op.responder = resp; }; _local1.getRequest = function () { return(op.request); }; _local1.setRequest = function (val) { op.request = val; }; _local1.addProperty("request", _local1.getRequest, _local1.setRequest); _local1.operation = op; return(_local1); } function get name() { return(__serviceName); } function get responder() { return(__responder); } static var version = "1.2.0.124"; var _allowRes = false; }
Symbol 12 MovieClip [__Packages.mx.services.Log] Frame 0
class mx.services.Log { var level, name; function Log (logLevel, name) { level = ((logLevel == undefined) ? (BRIEF) : (logLevel)); this.name = ((name == undefined) ? "" : (name)); } function logInfo(msg, level) { if (level == undefined) { level = BRIEF; } if (level <= this.level) { if (level == DEBUG) { onLog((((getDateString() + " [DEBUG] ") + name) + ": ") + msg); } else { onLog((((getDateString() + " [INFO] ") + name) + ": ") + msg); } } } function logDebug(msg) { logInfo(msg, DEBUG); } function getDateString() { var _local1 = new Date(); return(((((((((_local1.getMonth() + 1) + "/") + _local1.getDate()) + " ") + _local1.getHours()) + ":") + _local1.getMinutes()) + ":") + _local1.getSeconds()); } function onLog(message) { trace(message); } static var NONE = -1; static var BRIEF = 0; static var VERBOSE = 1; static var DEBUG = 2; }
Symbol 13 MovieClip [__Packages.mx.remoting.Connection] Frame 0
class mx.remoting.Connection extends NetConnection { var uri; function Connection () { super(); } function getService(serviceName, client) { var _local1 = new mx.remoting.NetServiceProxy(this, serviceName, client); return(_local1); } function setCredentials(userId, password) { addHeader("Credentials", false, {userid:userId, password:password}); } function clone() { var _local1 = new mx.remoting.Connection(); _local1.connect(uri); return(_local1); } function getDebugId() { return(null); } function getDebugConfig() { return(null); } function setDebugId(id) { } function call() { super.call.apply(super, arguments); } function close() { super.close(); } function connect(url) { return(super.connect(url)); } function addHeader(name, mustUnderstand, obj) { super.addHeader(name, mustUnderstand, obj); } function trace(traceObj) { } function AppendToGatewayUrl(urlSuffix) { var _local1 = this; _local1.__urlSuffix = urlSuffix; if (_local1.__originalUrl == null) { _local1.__originalUrl = _local1.uri; } var _local2 = _local1.__originalUrl + urlSuffix; _local1.connect(_local2); } function ReplaceGatewayUrl(newUrl) { connect(newUrl); } function RequestPersistentHeader(info) { var _local1 = info; addHeader(_local1.name, _local1.mustUnderstand, _local1.data); } static var version = "1.2.0.124"; }
Symbol 19 MovieClip [__Packages.mx.remoting.NetServiceProxy] Frame 0
class mx.remoting.NetServiceProxy extends Object { var nc, client; function NetServiceProxy (netC, servName, cli) { var _local1 = this; super(); if (netC != null) { _local1.nc = netC; _local1.serviceName = servName; _local1.client = cli; } _local1._allowRes = true; } function _setParentService(service) { nc = service.nc; client = service.client; } function __resolve(methodName) { var _local1 = this; var _local2 = arguments; if (_local1._allowRes) { var _local3 = function () { var _local1 = this; var _local2 = arguments; if (_local1.client != null) { _local2.unshift(new mx.remoting.NetServiceProxyResponder(_local1, methodName)); } else if (typeof(_local2[0].onResult) != "function") { mx.remoting.NetServices.trace("NetServices", "warning", 3, "There is no defaultResponder, and no responder was given in call to " + methodName); _local2.unshift(new mx.remoting.NetServiceProxyResponder(_local1, methodName)); } if (typeof(_local1.serviceName) == "function") { _local1.serviceName = _local1.servicename; } _local2.unshift((_local1.serviceName + ".") + methodName); return(_local1.nc.call.apply(_local1.nc, _local2)); }; return(_local3); } return(null); } static function registerNetServiceProxy() { Object.registerClass("NetServiceProxy", mx.remoting.NetServiceProxy); return(true); } static var init = registerNetServiceProxy(); var _allowRes = false; }
Symbol 62 MovieClip [__Packages.mx.rpc.Responder] Frame 0
interface mx.rpc.Responder{}
Symbol 61 MovieClip [__Packages.mx.rpc.FaultEvent] Frame 0
class mx.rpc.FaultEvent extends Object { var __fault; function FaultEvent (f) { super(); __fault = f; } function get fault() { return(__fault); } }
Symbol 60 MovieClip [__Packages.mx.rpc.Fault] Frame 0
class mx.rpc.Fault extends Object { var __faultcode, __faultstring, __detail, __type; function Fault (code, msg, detail, type) { var _local1 = this; super(); _local1.__faultcode = code; _local1.__faultstring = msg; _local1.__detail = detail; _local1.__type = type; } function get faultcode() { return(__faultcode); } function get faultstring() { return(__faultstring); } function get detail() { return(__detail); } function get description() { var _local2 = this; if (_local2.__description == null) { if (_local2.__faultstring.indexOf(":") > -1) { _local2.__description = _local2.__faultstring.substring(_local2.__faultstring.indexOf(":") + 1); var _local1 = 0; while (_local2.__description.indexOf(" ", _local1) == _local1) { _local1++; } if (_local1 > 0) { _local2.__description = _local2.__description.substring(_local1); } } else { _local2.__description = _local2.__faultstring; } } return(_local2.__description); } function get type() { return(__type); } }
Symbol 59 MovieClip [__Packages.mx.rpc.ResultEvent] Frame 0
class mx.rpc.ResultEvent extends Object { var __result; function ResultEvent (res) { super(); __result = res; } function get result() { return(__result); } }
Symbol 18 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 42 MovieClip [__Packages.mx.remoting.debug.NetDebug] Frame 0
class mx.remoting.debug.NetDebug extends Object { static var ndSingleton; var _ncs, _nextNewId, _glc, _config; function NetDebug () { var _local1 = this; super(); _local1._ncs = new Array(); _local1._config = mx.remoting.debug.NetDebugConfig.getDefaultNetDebugConfig(false); _local1._glc = new mx.remoting.debug.GlobalLocalConnection(false, _local1); _local1._glc.sendCommand(new mx.remoting.debug.commands.GetConfig()); _local1._nextNewId = 0; if (_global.System.onStatus == undefined) { _global.System.onStatus = globalOnStatus; } mx.remoting.NetServices.traceNetServices = traceNetServices; } function addNetConnection(nc) { _ncs.push(nc); return(_nextNewId++); } function requestNewConfig() { return(sendCommand(new mx.remoting.debug.commands.GetConfig())); } function removeNetConnection(nc) { var _local2 = this; var _local3 = _local2._ncs.length; var _local1 = 0; while (_local1 < _local3) { if (nc == _local2._ncs[_local1]) { _local2._ncs.splice(_local1, 1); return; } _local1++; } } function sendDebugEvent(eventobj) { if (!_glc.send(eventobj)) { _glc.send(new mx.remoting.debug.events.NetDebugFailedSendError(stripNCDEventToMinmal(eventobj))); return(false); } return(true); } function sendCommand(commandobj) { return(_glc.sendCommand(commandobj)); } function updateConfig(config) { var _local2 = this; mx.utils.ObjectCopy.copyProperties(_local2._config, config); var _local3 = _local2._ncs.length; var _local1 = 0; while (_local1 < _local3) { if (_local2._ncs[_local1] != null) { _local2._ncs[_local1].updateConfig(config); } _local1++; } } function sendStatus(statusobj) { var _local1 = this; if (_local1._config.m_debug && (_local1._config.client.m_debug)) { return(_local1._glc.send(new mx.remoting.debug.events.NetDebugStatus(statusobj))); } return(undefined); } function onEvent(eventObj) { return(sendDebugEvent(eventObj)); } function onEventError(errorObj) { return(sendDebugEvent(new mx.remoting.debug.events.NetDebugError(errorObj))); } function onReceiveCommand(commandobj) { this[commandobj.command](commandobj.data); } function onReceiveError(errorobj) { sendDebugEvent(new mx.remoting.debug.events.NetDebugError(errorobj)); } function getConfig() { return(_config); } static function getNetDebug() { return(ndSingleton); } static function trace(obj) { getNetDebug()._trace(obj); } static function traceNetServices(who, severity, number, message) { getNetDebug()._traceNetServices(who, severity, number, message); } static function globalOnStatus(statusobj) { getNetDebug().sendStatus(statusobj); } static function initialize() { if (ndSingleton == null) { ndSingleton = new mx.remoting.debug.NetDebug(); mx.remoting.debug.ConnectionMixin.initialize(); } return(true); } static function stripNCDEventToMinmal(ev) { var _local1 = ev; var _local2 = new Object(); if (_local1.eventType != null) { _local2.eventType = _local1.eventType; } if (_local1.source != null) { _local2.source = _local1.source; } if (_local1.movieUrl != null) { _local2.movieUrl = _local1.movieUrl; } if (_local1.date != null) { _local2.date = _local1.date; } if (_local1.time != null) { _local2.time = _local1.time; } if (_local1.protocol != null) { _local2.protocol = _local1.protocol; } if (_local1.debugId != null) { _local2.debugId = _local1.debugId; } return(_local2); } function _traceNetServices(who, severity, number, message) { var _local1 = this; if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { if (!_local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTraceNetServices(who, severity, number, message))) { } } } function _trace(traceobj) { var _local1 = this; if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { if (!_local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTrace(traceobj))) { } } } static var version = "1.2.0.124"; }
Symbol 26 MovieClip [__Packages.mx.remoting.debug.NetDebugConfig] Frame 0
class mx.remoting.debug.NetDebugConfig extends Object { function NetDebugConfig () { super(); Object.registerClass("NetDebugConfig", mx.remoting.debug.NetDebugConfig); } static function getNetDebugVersion() { return(1); } static function attachNetDebugConfigFunctions(ndc) { var _local1 = ndc; _local1.setDebug = function (setval) { this.m_debug = setval; }; _local1.getDebug = function () { return(this.m_debug); }; for (var _local2 in _local1) { if (typeof(_local1[_local2]) == "object") { attachNetDebugConfigFunctions(_local1[_local2]); } } return(null); } static function getDefaultNetDebugConfig(isController) { var _local1 = _global; if (_local1.netDebugConfigSO == undefined) { var _local2 = "TestMovie_Config_Info"; if (isController) { _local2 = "Controller_Config_Info"; } _local1.netDebugConfigSO = SharedObject.getLocal(_local2); } if (_local1.netDebugConfigSO.data.config == undefined) { _local1.netDebugConfigSO.data.config = getRealDefaultNetDebugConfig(); } _local1.netDebugConfigSO.flush(); return(_local1.netDebugConfigSO.data.config); } static function getRealDefaultNetDebugConfig() { var _local1 = new mx.remoting.debug.NetDebugConfig(); _local1.m_debug = true; _local1.client = new mx.remoting.debug.NetDebugConfig(); _local1.client.m_debug = true; _local1.client.trace = true; _local1.client.recordset = true; _local1.client.http = true; _local1.client.rtmp = true; _local1.realtime_server = new mx.remoting.debug.NetDebugConfig(); _local1.realtime_server.m_debug = true; _local1.realtime_server.trace = true; _local1.app_server = new mx.remoting.debug.NetDebugConfig(); _local1.app_server.m_debug = true; _local1.app_server.trace = true; _local1.app_server.error = true; _local1.app_server.recordset = true; _local1.app_server.httpheaders = false; _local1.app_server.amf = false; _local1.app_server.amfheaders = false; _local1.app_server.coldfusion = true; return(_local1); } }
Symbol 35 MovieClip [__Packages.mx.remoting.debug.GlobalLocalConnection] Frame 0
class mx.remoting.debug.GlobalLocalConnection extends Object { var sendPrefix; function GlobalLocalConnection (isController, receiver, domainName) { var _local2 = this; var _local3 = _global; super(); _local2.maxConnections = 10; var sToMovie = "_NetDebugLocalToDebugMovie"; var sToController = "_NetDebugLocalToController"; var connectname = null; if (isController) { connectname = sToController; _local2.sendNames = new Array(); _local2.sendNames.push(sToMovie); var _local1 = 0; while (_local1 < _local2.maxConnections) { _local2.sendNames.push(sToMovie + _local1); _local1++; } _local2.maxConnections = 0; } else { connectname = sToMovie; _local2.sendNames = new Array(); _local2.sendNames.push(sToController); } _local2.setDomainName(domainName); if (_local3.g_NetDebugLocalConnection == undefined) { _local3.g_NetDebugLocalConnection = new LocalConnection(); _local3.g_NetDebugLocalConnection.allowDomain = function () { return(true); }; } if (receiver != null) { _local3.g_NetDebugLocalConnection.m_Receiver = receiver; _local3.g_NetDebugLocalConnection.onData = function (dataobj) { _global.g_NetDebugLocalConnection.m_Receiver.onReceive(dataobj); }; _local3.g_NetDebugLocalConnection.onCommand = function (commandobj) { _global.g_NetDebugLocalConnection.m_Receiver.onReceiveCommand(commandobj); }; if (!_local3.g_NetDebugLocalConnection.connect(connectname)) { var connected = false; var _local1 = 0; while (_local1 < _local2.maxConnections) { if (_local3.g_NetDebugLocalConnection.connect(connectname + _local1)) { connected = true; break; } _local1++; } if (!connected) { if (isController) { receiver.onReceiveError(new mx.remoting.debug.events.NetDebugDuplicateNCDError()); } } } } } function setDomainName(domainName) { var _local1 = domainName; if ((_local1 != null) && (_local1 != "")) { sendPrefix = _local1 + ":"; } else { sendPrefix = ""; } } function send(dataobj) { return(sendRaw("onData", dataobj)); } function sendCommand(commandObj) { return(sendRaw("onCommand", commandObj)); } function sendRaw(functionName, obj) { var _local3 = this; var _local2 = true; var snlen = _local3.sendNames.length; var _local1 = 0; while (_local1 < snlen) { _local2 = Boolean(_local2 & _global.g_NetDebugLocalConnection.send(_local3.sendPrefix + _local3.sendNames[_local1], functionName, obj)); _local1++; } return(_local2); } }
Symbol 520 MovieClip [__Packages.remoting.RemotingMethod] Frame 0
class remoting.RemotingMethod { var service, methodName, defaultSettings, dispatchEvent; function RemotingMethod (service, methodName, defaultSettings) { mx.events.EventDispatcher.initialize(this); this.service = service; this.methodName = methodName; this.defaultSettings = defaultSettings; } function exec() { var _local4 = null; if (arguments.length == 5) { _local4 = arguments.pop(); } if (_local4 == null) { _local4 = defaultSettings; } var _local6 = arguments.slice(0, 4); var _local3 = new remoting.RemotingCall(service, methodName, _local6[0], _local6[1], _local6[2], _local6[3], _local4); _local3.exec(); dispatchEvent({target:this, type:"call", args:_local3.args, methodName:methodName}); _local3.faultHandler = mx.utils.Delegate.create(this, onFault); _local3.resultHandler = mx.utils.Delegate.create(this, onResult); _local3.busyHandler = mx.utils.Delegate.create(this, onBusy); _local3.timeoutHandler = mx.utils.Delegate.create(this, onTimeout); } function onFault(rc, fault) { dispatchEvent({target:this, type:"fault", args:rc.args, methodName:methodName, fault:fault.__get__fault()}); } function onResult(rc, result) { dispatchEvent({target:this, type:"result", args:rc.args, methodName:methodName, result:result.__get__result()}); } function onBusy() { dispatchEvent({target:this, type:"busy"}); } function onTimeout(rc) { dispatchEvent({target:this, type:"timeout", methodName:methodName, args:rc.args}); } }
Symbol 521 MovieClip [__Packages.remoting.RemotingCall] Frame 0
class remoting.RemotingCall { var service, methodName, args, resultCb, faultCb, meta, pc, busyInt, timeoutInt, busyHandler, resultHandler, faultHandler, timeoutHandler; function RemotingCall (service, methodName, args, scope, resultCb, faultCb, meta) { this.service = service; this.methodName = methodName; this.args = args; this.resultCb = mx.utils.Delegate.create(scope, resultCb); this.faultCb = mx.utils.Delegate.create(scope, faultCb); this.meta = meta; if (meta.timeout != null) { timeout = meta.timeout; } if (meta.maxAttempts != null) { maxAttempts = meta.maxAttempts; } } function exec() { pc = service[methodName].apply(this, args); pc.__set__responder(new mx.rpc.RelayResponder(this, "onResult", "onFault")); if (attempt == 0) { busyInt = setInterval(mx.utils.Delegate.create(this, onBusy), remoting.RemotingService.BUSY_TIME); timeoutInt = setInterval(mx.utils.Delegate.create(this, onTimeout), timeout); } attempt++; } function onBusy(re) { clearInterval(busyInt); busyHandler(); } function onResult(re) { if (!completed) { clearInterval(timeoutInt); clearInterval(busyInt); resultHandler(this, re); resultCb.apply(this, [re, args]); completed = true; } } function onFault(fe) { if (!completed) { clearInterval(timeoutInt); clearInterval(busyInt); faultCb.apply(this, [fe, args]); faultHandler(this, fe); completed = true; } } function onTimeout() { clearInterval(busyInt); if (attempt >= maxAttempts) { clearInterval(timeoutInt); var _local2 = new mx.rpc.FaultEvent(new mx.rpc.Fault("TIMEOUT", methodName + " timed out", "", "")); faultCb.apply(this, [_local2, args]); timeoutHandler(this); } else { exec(); } } var attempt = 0; var timeout = 5000; var maxAttempts = 3; var completed = false; }
Symbol 58 MovieClip [__Packages.mx.remoting.PendingCall] Frame 0
class mx.remoting.PendingCall extends Object { var __service, __methodName, __responder; function PendingCall (srv, methodName) { super(); __service = srv; __methodName = methodName; } function get responder() { return(__responder); } function set responder(res) { __responder = res; //return(responder); } function onResult(result) { var _local1 = result; var _local2 = this; _local1.serviceName = ((typeof(_local1.serviceName) == "function") ? (_local1.servicename) : (_local1.serviceName)); if (_local1 != null) { if (_local1 instanceof mx.remoting.NetServiceProxy) { var serv = (new mx.remoting.Service(null, null, _local1.serviceName, _local2.__service.__get__connection(), _local2.__service.__get__responder())); _local1 = serv; } else if (_local1 instanceof mx.remoting.RecordSet) { var _local3 = new mx.remoting.NetServiceProxy(_local2.__service.__get__connection()); _local1._setParentService(_local3); _local1.logger = _local2.__service.log; } } if (_local2.__responder != null) { _local2.__responder.onResult(new mx.rpc.ResultEvent(_local1)); } if (_local2.__service.log != null) { _local2.__service.log.logInfo((((_local2.__service.__get__name() + ".") + _local2.__methodName) + "() returned ") + mx.data.binding.ObjectDumper.toString(_local1)); } } function onStatus(status) { var _local1 = this; var _local2 = status; if (_local1.__responder != null) { _local1.__responder.onFault(new mx.rpc.FaultEvent(new mx.rpc.Fault(_local2.code, _local2.description, _local2.details, _local2.type))); } if (_local1.__service.log != null) { _local1.__service.log.logDebug("Service invocation failed."); _local1.__service.log.logDebug((((_local1.__service.__get__name() + ".") + _local1.__methodName) + "() returned ") + mx.data.binding.ObjectDumper.toString(_local2)); } } function get methodName() { return(__methodName); } static var inited = mx.remoting.NetServiceProxy.registerNetServiceProxy(); }
Symbol 522 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 66 MovieClip [__Packages.mx.rpc.RelayResponder] Frame 0
class mx.rpc.RelayResponder extends Object { var __onFault, __obj, __onResult; function RelayResponder (resp, resultFunc, faultFunc) { var _local1 = this; super(); _local1.__obj = resp; _local1.__onFault = faultFunc; _local1.__onResult = resultFunc; } function onFault(fault) { __obj[__onFault](fault); } function onResult(result) { __obj[__onResult](result); } }
Symbol 523 MovieClip [__Packages.it.sephiroth.Serializer] Frame 0
class it.sephiroth.Serializer { var buffer; function Serializer () { } function serialize(what) { var _local2 = new String(""); _local2 = serialize_internal("", what); return(_local2); } function serialize_internal(buf, struct_c) { if (((!isNaN(struct_c)) && (struct_c.__proto__ != Boolean.prototype)) && (struct_c.__proto__ != Date.prototype)) { var _local2 = new Number(struct_c); } else { var _local2 = struct_c; } switch (_local2.__proto__) { case Boolean.prototype : buf = ((buf + "b:") + int(_local2)) + ";"; break; case null : case undefined : buf = buf + "N;"; break; case Number.prototype : if (_local2 >= 1E15) { buf = ((buf + "d:") + _local2) + ";"; } else if ((_local2 % 1) == 0) { buf = ((buf + "i:") + _local2) + ";"; } else { buf = ((buf + "d:") + _local2) + ";"; } break; case String.prototype : buf = ((((buf + "s:") + calcLength(_local2)) + ":\"") + _local2) + "\";"; break; case Date.prototype : buf = ((((buf + "s:") + length(_local2)) + ":\"") + _local2) + "\";"; break; case Object.prototype : var _local4 = 0; var _local5 = new String(""); buf = buf + "O:8:\"stdClass\":"; for (var _local6 in _local2) { _local5 = _local5 + (serialize_internal("", _local6) + serialize_internal("", _local2[_local6])); _local4 = _local4 + 1; } buf = (((buf + _local4) + ":{") + _local5) + "}"; break; case Array.prototype : _local4 = 0; _local5 = new String(""); buf = buf + "a:"; for (var _local6 in _local2) { _local5 = _local5 + (serialize_internal("", _local6) + serialize_internal("", _local2[_local6])); _local4 = _local4 + 1; } buf = (((buf + _local4) + ":{") + _local5) + "}"; break; default : buf = buf + "i:0;"; } return(buf); } function calcLength(struct) { var _local1; var _local3 = 0; var _local4 = struct.length; var _local2 = 0; while (_local2 < _local4) { _local1 = ord(struct.charAt(_local2)); if (_local1 < 128) { _local3 = _local3 + 1; } else if (_local1 < 1024) { _local3 = _local3 + 2; } else if (_local1 < 32768) { _local3 = _local3 + 3; } else if (_local1 < 2097152) { _local3 = _local3 + 4; } _local2++; } return(_local3); } function unserialize(what) { buffer = what; return(unserialize_internal(what)); } function unserialize_internal(obj) { var _local3 = obj.charAt(0); var _local2; switch (_local3) { case "d" : _local2 = parse_double(); break; case "i" : _local2 = parse_int(); break; case "b" : _local2 = parse_boolean(); break; case "s" : _local2 = parse_string(); break; case "a" : _local2 = parse_array(); break; case "O" : _local2 = parse_object(); break; case "N" : } if (_local2[0] != -1) { buffer = buffer.substr(buffer.indexOf(";", (_local2[0] + length(_local3)) + length(_local2[0].toString())) + 1); } return(_local2[1]); } function parse_array() { var _local3 = 0; var _local5 = getArrayLength(); var _local4 = new Array(); while (_local3 < _local5) { var _local2 = getNext(); _local4[_local2[0]] = _local2[1]; _local3++; } buffer = buffer.substr(1); return(new Array(-1, _local4)); } function parse_object() { var _local6 = parse_string(); buffer = buffer.substr(buffer.indexOf(":", _local6[0])); var _local7 = _local6[1]; var _local3 = 0; var _local5 = getObjectLength(); var _local4 = new Object(); while (_local3 < _local5) { var _local2 = getNext(); _local4[_local2[0]] = _local2[1]; _local3++; } buffer = buffer.substr(1); return(new Array(-1, _local4)); } function parse_string() { var _local2 = getStringLenght(); var _local3 = getCStringLenght(); if (_local2 eq _local3) { var _local4 = buffer.substr(length(_local2) + 4, _local2).toString(); } else { var _local4 = buffer.substr(length(_local2) + 4, _local3).toString(); } return(new Array(_local3, _local4)); } function parse_boolean() { var _local2 = getLength(); var _local3 = ((_local2 < 1) ? false : true); return(new Array(length(_local2.toString()), _local3)); } function parse_double() { var _local2 = getFloatLength(); var _local3 = _local2; return(new Array(length(_local2.toString()), _local3)); } function parse_int() { var _local2 = getLength(); var _local3 = _local2; return(new Array(length(_local2.toString()), _local3)); } function getStringLenght(str) { var _local2 = parseInt(buffer.substr(2, buffer.indexOf(":", 3) - 2)); return(_local2); } function getCStringLenght(str) { var _local6 = parseInt(buffer.substr(2, buffer.indexOf(":", 3) - 2)); var _local2; var _local3 = _local6; var _local4; var _local5 = buffer; _local4 = 4 + _local6.toString().length; _local2 = 0; while (_local2 < _local3) { if (_local5.charCodeAt(_local2 + _local4) > 128) { _local3 = _local3 - 1; } _local2++; } return(_local3); } function getLength() { var _local2 = parseInt(buffer.substr(2, buffer.indexOf(";", 3) - 2)); return(_local2); } function getFloatLength() { var _local2 = parseFloat(buffer.substr(2, buffer.indexOf(";", 3) - 2)); return(_local2); } function getArrayLength() { var _local2 = parseInt(buffer.substr(2, (buffer.indexOf(":", 2) - buffer.indexOf(":", 1)) + 1)); buffer = buffer.substr(buffer.indexOf(":", 2) + 2); return(_local2); } function getObjectLength() { var _local2 = parseInt(buffer.substr(1, buffer.indexOf(":", 1))); buffer = buffer.substr(buffer.indexOf(":", 1) + 2); return(_local2); } function getNext(str) { var _local2 = unserialize_internal(buffer); var _local3 = unserialize_internal(buffer); return(new Array(_local2, _local3)); } static var className = "it.sephiroth.Serializer"; static var classVersion = "2.1.6"; var instanceName = "Serializer"; }
Symbol 524 MovieClip [__Packages.as.md5] Frame 0
class as.md5 { function md5 (b64pad, chrsz) { if (b64pad != undefined) { this.b64pad = b64pad; } if (((chrsz != undefined) && (chrsz == 8)) || (chrsz == 16)) { this.chrsz = chrsz; } } function hash(s) { return(hex_md5(s)); } function hex_md5(s) { return(binl2hex(core_md5(str2binl(s), s.length * chrsz))); } function b64_md5(s) { return(binl2b64(core_md5(str2binl(s), s.length * chrsz))); } function str_md5(s) { return(binl2str(core_md5(str2binl(s), s.length * chrsz))); } function hex_hmac_md5(key, data) { return(binl2hex(core_hmac_md5(key, data))); } function b64_hmac_md5(key, data) { return(binl2b64(core_hmac_md5(key, data))); } function str_hmac_md5(key, data) { return(binl2str(core_hmac_md5(key, data))); } function md5_cmn(q, a, b, x, s, t) { return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b)); } function md5_ff(a, b, c, d, x, s, t) { return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t)); } function md5_gg(a, b, c, d, x, s, t) { return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t)); } function md5_hh(a, b, c, d, x, s, t) { return(md5_cmn((b ^ c) ^ d, a, b, x, s, t)); } function md5_ii(a, b, c, d, x, s, t) { return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t)); } function core_md5(x, len) { x[len >> 5] = x[len >> 5] | (128 << (len % 32)); x[(((len + 64) >>> 9) << 4) + 14] = len; var _local5 = 1732584193 /* 0x67452301 */; var _local4 = -271733879; var _local3 = -1732584194; var _local2 = 271733878 /* 0x10325476 */; var _local6 = 0; while (_local6 < x.length) { var _local11 = _local5; var _local10 = _local4; var _local9 = _local3; var _local8 = _local2; _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 0], 7, -680876936); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 1], 12, -389564586); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 2], 17, 606105819); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 3], 22, -1044525330); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 4], 7, -176418897); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 5], 12, 1200080426); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 6], 17, -1473231341); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 7], 22, -45705983); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 8], 7, 1770035416); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 9], 12, -1958414417); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 10], 17, -42063); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 11], 22, -1990404162); _local5 = md5_ff(_local5, _local4, _local3, _local2, x[_local6 + 12], 7, 1804603682); _local2 = md5_ff(_local2, _local5, _local4, _local3, x[_local6 + 13], 12, -40341101); _local3 = md5_ff(_local3, _local2, _local5, _local4, x[_local6 + 14], 17, -1502002290); _local4 = md5_ff(_local4, _local3, _local2, _local5, x[_local6 + 15], 22, 1236535329); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 1], 5, -165796510); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 6], 9, -1069501632); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 11], 14, 643717713); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 0], 20, -373897302); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 5], 5, -701558691); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 10], 9, 38016083); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 15], 14, -660478335); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 4], 20, -405537848); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 9], 5, 568446438); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 14], 9, -1019803690); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 3], 14, -187363961); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 8], 20, 1163531501); _local5 = md5_gg(_local5, _local4, _local3, _local2, x[_local6 + 13], 5, -1444681467); _local2 = md5_gg(_local2, _local5, _local4, _local3, x[_local6 + 2], 9, -51403784); _local3 = md5_gg(_local3, _local2, _local5, _local4, x[_local6 + 7], 14, 1735328473); _local4 = md5_gg(_local4, _local3, _local2, _local5, x[_local6 + 12], 20, -1926607734); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 5], 4, -378558); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 8], 11, -2022574463); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 11], 16, 1839030562); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 14], 23, -35309556); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 1], 4, -1530992060); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 4], 11, 1272893353); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 7], 16, -155497632); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 10], 23, -1094730640); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 13], 4, 681279174); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 0], 11, -358537222); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 3], 16, -722521979); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 6], 23, 76029189); _local5 = md5_hh(_local5, _local4, _local3, _local2, x[_local6 + 9], 4, -640364487); _local2 = md5_hh(_local2, _local5, _local4, _local3, x[_local6 + 12], 11, -421815835); _local3 = md5_hh(_local3, _local2, _local5, _local4, x[_local6 + 15], 16, 530742520); _local4 = md5_hh(_local4, _local3, _local2, _local5, x[_local6 + 2], 23, -995338651); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 0], 6, -198630844); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 7], 10, 1126891415); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 14], 15, -1416354905); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 5], 21, -57434055); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 12], 6, 1700485571); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 3], 10, -1894986606); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 10], 15, -1051523); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 1], 21, -2054922799); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 8], 6, 1873313359); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 15], 10, -30611744); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 6], 15, -1560198380); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 13], 21, 1309151649); _local5 = md5_ii(_local5, _local4, _local3, _local2, x[_local6 + 4], 6, -145523070); _local2 = md5_ii(_local2, _local5, _local4, _local3, x[_local6 + 11], 10, -1120210379); _local3 = md5_ii(_local3, _local2, _local5, _local4, x[_local6 + 2], 15, 718787259); _local4 = md5_ii(_local4, _local3, _local2, _local5, x[_local6 + 9], 21, -343485551); _local5 = safe_add(_local5, _local11); _local4 = safe_add(_local4, _local10); _local3 = safe_add(_local3, _local9); _local2 = safe_add(_local2, _local8); _local6 = _local6 + 16; } return(Array(_local5, _local4, _local3, _local2)); } function core_hmac_md5(key, data) { var _local3 = new Array(str2binl(key)); if (_local3.length > 16) { _local3 = core_md5(_local3, key.length * chrsz); } var _local4 = new Array(16); var _local5 = new Array(16); var _local2 = 0; while (_local2 < 16) { _local4[_local2] = _local3[_local2] ^ 909522486; _local5[_local2] = _local3[_local2] ^ 1549556828; _local2++; } var _local6 = new Array(core_md5(_local4.concat(str2binl(data)), 512 + (data.length * chrsz))); return(core_md5(_local5.concat(_local6), 640)); } function safe_add(x, y) { var _local1 = new Number((x & 65535) + (y & 65535)); var _local2 = new Number(((x >> 16) + (y >> 16)) + (_local1 >> 16)); return((_local2 << 16) | (_local1 & 65535)); } function bit_rol(num, cnt) { return((num << cnt) | (num >>> (32 - cnt))); } function str2binl(str) { var _local4 = new Array(); var _local5 = (1 << chrsz) - 1; var _local2 = 0; while (_local2 < (str.length * chrsz)) { _local4[_local2 >> 5] = _local4[_local2 >> 5] | ((str.charCodeAt(_local2 / chrsz) & _local5) << (_local2 % 32)); _local2 = _local2 + chrsz; } return(_local4); } function binl2str(bin) { var _local4 = new String(""); var _local5 = (1 << chrsz) - 1; var _local2 = 0; while (_local2 < (bin.length * 32)) { _local4 = _local4 + String.fromCharCode((bin[_local2 >> 5] >>> (_local2 % 32)) & _local5); _local2 = _local2 + chrsz; } return(_local4); } function binl2hex(binarray) { var _local3 = "0123456789abcdef"; var _local4 = new String(""); var _local1 = 0; while (_local1 < (binarray.length * 4)) { _local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15)); _local1++; } return(_local4); } function binl2b64(binarray) { var _local7 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; var _local5 = new String(""); var _local3 = 0; while (_local3 < (binarray.length * 4)) { var _local6 = ((((binarray[_local3 >> 2] >> (8 * (_local3 % 4))) & 255) << 16) | (((binarray[(_local3 + 1) >> 2] >> (8 * ((_local3 + 1) % 4))) & 255) << 8)) | ((binarray[(_local3 + 2) >> 2] >> (8 * ((_local3 + 2) % 4))) & 255); var _local2 = 0; while (_local2 < 4) { if (((_local3 * 8) + (_local2 * 6)) > (binarray.length * 32)) { _local5 = _local5 + b64pad; } else { _local5 = _local5 + _local7.charAt((_local6 >> (6 * (3 - _local2))) & 63); } _local2++; } _local3 = _local3 + 3; } return(_local5); } var b64pad = new String(""); var chrsz = new Number(8); }
Symbol 7 MovieClip [__Packages.mx.remoting.DebugClasses] Frame 0
class mx.remoting.DebugClasses extends MovieClip { function DebugClasses () { super(); } }
Symbol 14 MovieClip [__Packages.mx.remoting.NetServices] Frame 0
class mx.remoting.NetServices extends Object { static var defaultGatewayUrl, logger, traceNetServices; function NetServices () { super(); } static function setDefaultGatewayUrl(url) { defaultGatewayUrl = url; } static function setGatewayUrl(url) { gatewayUrl = url; } static function createGatewayConnection(url, infoLogger) { var _local1 = url; logger = infoLogger; if (_local1 == undefined) { _local1 = gatewayUrl; if (_local1 == undefined) { _local1 = defaultGatewayUrl; } } if (_local1 == undefined) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is undefined"); logger.logInfo(("NetServices: createGatewayConnection - gateway url <" + _local1) + "> is undefined", mx.services.Log.DEBUG); return(null); } var _local2 = new mx.remoting.Connection(); _local2.connect(_local1); __sharedConnections[_local1] = _local2; return(_local2); } static function getConnection(uri) { return(__sharedConnections[uri]); } static function getHostUrl() { var _local2 = _root; if (!isHttpUrl(_local2._url)) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is invalid"); return(null); } var _local1 = _local2._url.indexOf("/", 8); if (_local1 < 0) { trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is invalid"); return(null); } return(_local2._url.substring(0, _local1)); } static function isHttpUrl(url) { return((url.indexOf("http://") == 0) || (url.indexOf("https://") == 0)); } static function getHttpUrl(url) { var _local1 = url; if (!isHttpUrl(_local1)) { _local1 = getHostUrl() + _local1; } return(_local1); } static function trace(who, severity, number, message) { traceNetServices(who, severity, number, message); } static var version = "1.2.0.124"; static var gatewayUrl = _root.gatewayUrl; static var __sharedConnections = new Array(); }
Symbol 15 MovieClip [__Packages.mx.data.DataRange] Frame 0
interface mx.data.DataRange{}
Symbol 16 MovieClip [__Packages.mx.data.PageableData] Frame 0
interface mx.data.PageableData{}
Symbol 17 MovieClip [__Packages.mx.data.PageableList] Frame 0
interface mx.data.PageableList{}
Symbol 20 MovieClip [__Packages.mx.utils.Iterator] Frame 0
interface mx.utils.Iterator{}
Symbol 21 MovieClip [__Packages.mx.remoting.RecordSet] Frame 0
class mx.remoting.RecordSet extends Object { var mTitles, _items, mRecordSetID, dispatchEvent, gateway_conn, mDataFetcher; function RecordSet (columnNames) { var _local1 = this; super(); mx.events.EventDispatcher.initialize(_local1); _local1._items = new Array(); _local1.uniqueID = 0; if (_local1.mTitles != null) { } else { if (_local1.serverInfo == null) { if (_local1.serverinfo != null) { _local1.serverInfo = _local1.serverinfo; } } if (_local1.serverInfo == null) { _local1.mTitles = columnNames; } else if (_local1.serverInfo.version != 1) { mx.remoting.NetServices.trace("RecordSet", "warning", 100, "Received incompatible RecordSet version from server"); } else { _local1.mTitles = _local1.serverInfo.columnNames; _local1.mRecordsAvailable = 0; _local1.setData(((_local1.serverInfo.cursor == null) ? 0 : (_local1.serverInfo.cursor - 1)), _local1.serverInfo.initialData); if (_local1.serverInfo.initialData.length != _local1.serverInfo.totalCount) { _local1.mRecordSetID = _local1.serverInfo.id; if (_local1.mRecordSetID != null) { _local1.serviceName = ((_local1.serverInfo.serviceName == null) ? "RecordSet" : (_local1.serverInfo.serviceName)); _local1.mTotalCount = _local1.serverInfo.totalCount; _local1.mDeliveryMode = "ondemand"; _local1.mAllNotified = false; _local1.mOutstandingRecordCount = 0; } else { mx.remoting.NetServices.trace("RecordSet", "warning", 102, "Missing some records, but there's no RecordSet id"); } } _local1.serverInfo = null; } } } function addItem(item) { addItemAt(length, item); } function addItemAt(index, item) { var _local1 = index; var _local2 = this; var _local3 = true; if ((_local1 < _local2.__get__length()) && (_local1 >= 0)) { _local2.items.splice(_local1, 0, item); } else if (_local1 == _local2.__get__length()) { _local2.items[_local1] = item; } else { _local3 = false; mx.remoting.NetServices.trace("Cannot add an item outside the bounds of the RecordSet"); return; } if (_local3) { item.__ID__ = _local2.uniqueID++; } _local2.updateViews("addItems", _local1, _local1); } function addEventListener(event, listener) { } function clear() { var _local1 = this; if (_local1.checkLocal()) { } else { var _local2 = _local1.items.length; _local1.items.splice(0); _local1.uniqueID = 0; _local1.updateViews("removeItems", 0, _local2); } } function contains(itmToCheck) { var _local2 = itmToCheck; if (isObjectEmpty(_local2)) { return(false); } var itemAtIndex; var _local3; var _local1 = 0; while (_local1 < items.length) { itemAtIndex = items[_local1]; _local3 = true; for (var t in _local2) { if (_local2[t] != itemAtIndex[t]) { _local3 = false; break; } } if (_local3) { return(true); } _local1++; } return(false); } function getColumnNames() { return(mTitles); } function get columnNames() { return(getColumnNames()); } function getLocalLength() { return(items.length); } function getLength() { var _local1 = this; if (_local1.mRecordSetID != null) { return(_local1.mTotalCount); } return(_local1.items.length); } function getIterator() { var _local1 = new mx.remoting.RecordSetIterator(this); return(_local1); } function get length() { return(getLength()); } function getItemAt(index) { var _local1 = index; var _local2 = this; if ((_local1 < 0) || (_local1 >= _local2.__get__length())) { return(null); } if (_local2.mRecordSetID == null) { return(_local2.items[_local1]); } _local2.requestRecord(_local1); var _local3 = _local2.items[_local1]; if (_local3 == 1) { return("in progress"); } return(_local3); } function getItemID(index) { return(items[index].__ID__); } function get items() { return(_items); } function initialize(info) { } function filter(filterFunction, context) { if (checkLocal()) { } else { var _local3 = new mx.remoting.RecordSet(mTitles); var rcount = length; var _local2 = 0; while (_local2 < rcount) { var _local1 = getItemAt(_local2); if (((_local1 != null) && (_local1 != 1)) && (filterFunction(_local1, context))) { _local3.addItem(_local1); } _local2++; } return(_local3); } return(undefined); } function sortItems(compareFunc, optionFlags) { var _local1 = this; if (_local1.checkLocal()) { } else { _local1.items.sort(compareFunc, optionFlags); _local1.updateViews("sort"); } } function sortItemsBy(fieldNames, order, optionFlags) { var _local1 = this; if (_local1.checkLocal()) { } else { if (typeof(order) == "string") { _local1.items.sortOn(fieldNames); if (order.toUpperCase() == "DESC") { _local1.items.reverse(); } } else { _local1.items.sortOn(fieldNames, optionFlags); } _local1.updateViews("sort"); } } function sort(compareFunc) { var _local1 = this; if (_local1.checkLocal()) { } else { _local1.items.sort(compareFunc); _local1.updateViews("sort"); } } function isEmpty() { return(items.length == 0); } function isLocal() { return(mRecordSetID == null); } function isFullyPopulated() { return(isLocal()); } function getRemoteLength() { var _local1 = this; if (_local1.isLocal()) { return(_local1.mRecordsAvailable); } return(_local1.mTotalCount); } function getNumberAvailable() { var _local1 = this; if (_local1.isLocal()) { return(_local1.getLength()); } return(_local1.mRecordsAvailable); } function replaceItemAt(index, item) { var _local1 = index; var _local2 = this; if ((_local1 >= 0) && (_local1 <= _local2.__get__length())) { var _local3 = _local2.getItemID(_local1); _local2.items[_local1] = item; _local2.items[_local1].__ID__ = _local3; _local2.updateViews("updateItems", _local1, _local1); } } function removeAll() { clear(); } function removeItemAt(index) { var _local1 = index; var _local2 = this; var _local3 = _local2._items[_local1]; _local2._items.splice(_local1, 1); var rItems = [_local2._items[_local1]]; var rIDs = [_local2.getItemID(_local1)]; _local2.dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:_local1, lastItem:_local1, removedItems:rItems, removedIDs:rIDs}); return(_local3); } function removeEventListener(event, listener) { } function requestRange(range) { var _local1 = range.getStart(); var _local2 = range.getEnd(); return(internalRequestRange(_local1, _local2)); } function setDeliveryMode(mode, pagesize, numPrefetchPages) { var _local1 = this; var _local2 = pagesize; var _local3 = numPrefetchPages; _local1.mDeliveryMode = mode.toLowerCase(); _local1.stopFetchAll(); if ((_local2 == null) || (_local2 <= 0)) { _local2 = 25; } switch (_local1.mDeliveryMode) { case "ondemand" : return; case "page" : if (_local3 == null) { _local3 = 0; } _local1.mPageSize = _local2; _local1.mNumPrefetchPages = _local3; return; case "fetchall" : _local1.stopFetchAll(); _local1.startFetchAll(_local2); return; default : mx.remoting.NetServices.trace("RecordSet", "warning", 107, "SetDeliveryMode: unknown mode string"); } } function editField(index, fieldName, value) { changeFieldValue(index, fieldName, value); } function getEditingData(index, fieldName) { return(items[index][fieldName]); } function setField(index, fieldName, value) { changeFieldValue(index, fieldName, value); } function changeFieldValue(index, fieldName, value) { var _local1 = index; var _local2 = this; if (_local2.checkLocal()) { } else if ((_local1 < 0) || (_local1 >= _local2.getLength())) { } else { _local2.items[_local1][fieldName] = value; _local2.updateViews("updateItems", _local1, _local1); } } function isObjectEmpty(objToCheck) { var _local2 = objToCheck; var _local1 = true; for (var _local3 in _local2) { _local1 = false; return(_local1); } return(_local1); } function arrayToObject(anArray) { if (mTitles == null) { mx.remoting.NetServices.trace("RecordSet", "warning", 105, "getItem: titles are not available"); return(null); } var _local3 = new Object(); var alen = anArray.length; var _local2; var _local1 = 0; while (_local1 < alen) { _local2 = mTitles[_local1]; if (_local2 == null) { _local2 = ("column" + _local1) + 1; } _local3[_local2] = anArray[_local1]; _local1++; } return(_local3); } function checkLocal() { if (isLocal()) { return(false); } mx.remoting.NetServices.trace("RecordSet", "warning", 108, "Operation not allowed on partial recordset"); return(true); } function getRecordSetService() { var _local1 = this; if (_local1.mRecordSetService == null) { if (_local1.gateway_conn == null) { _local1.gateway_conn = mx.remoting.NetServices.createGatewayConnection(); } else if (_global.netDebugInstance != undefined) { _local1.gateway_conn = _local1.gateway_conn.clone(); } if (_global.netDebugInstance != undefined) { _local1.gateway_conn.setupRecordSet(); _local1.gateway_conn.setDebugId("RecordSet " + _local1.mRecordSetID); } _local1.mRecordSetService = _local1.gateway_conn.getService(_local1.serviceName, _local1); if (_local1.mRecordSetService == null) { mx.remoting.NetServices.trace("RecordSet", "warning", 101, "Failed to create RecordSet service"); _local1.mRecordSetService = null; } } return(_local1.mRecordSetService); } function internalRequestRange(index, lastIndex) { var _local1 = index; var _local2 = this; var highestRequested = -1; if (_local1 < 0) { _local1 = 0; } if (lastIndex >= _local2.getRemoteLength()) { lastIndex = _local2.getRemoteLength() - 1; } var _local3; var last; while (_local1 <= lastIndex) { while ((_local1 <= lastIndex) && (_local2.items[_local1] != null)) { _local1++; } _local3 = _local1; while ((_local1 <= lastIndex) && (_local2.items[_local1] == null)) { _local2.mOutstandingRecordCount++; _local2.items[_local1] = 1; _local1++; } last = _local1 - 1; if (_local3 <= last) { _local2.logger.logInfo((((" Fetching records from index [" + _local3) + "] to index [") + last) + "]"); _local2.getRecordSetService().getRecords(_local2.mRecordSetID, _local3 + 1, (last - _local3) + 1); highestRequested = last; _local2.updateViews("fetchRows", _local3, last); } } return(highestRequested); } function removeItems(index, len) { var _local3 = index; var _local2 = new Array(); var _local1 = 0; while (_local1 < len) { _local2.push(getItemID(_local3 + _local1)); _local1++; } var oldItems = items.splice(_local3, len); dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:_local3, lastItem:(_local3 + len) - 1, removedItems:oldItems, removedIDs:_local2}); } function getRecords_Result(info) { var _local1 = this; var _local2 = info; _local1.setData(_local2.Cursor - 1, _local2.Page); _local1.mOutstandingRecordCount = _local1.mOutstandingRecordCount - _local2.Page.length; _local1.updateViews("updateItems", _local2.Cursor - 1, ((_local2.Cursor - 1) + _local2.Page.length) - 1); if ((_local1.mRecordsAvailable == _local1.mTotalCount) && (!_local1.mAllNotified)) { _local1.updateViews("allRows"); _local1.mRecordSetService.release(); _local1.mAllNotified = true; _local1.mRecordSetID = null; _local1.mRecordSetService = null; } } function release_Result() { } function requestOneRecord(index) { var _local1 = this; var _local2 = index; if (_local1.items[_local2] == null) { if (_local1.mDeliveryMode == "ondemand") { _local1.logger.logInfo((" INFO: Fetching Record [" + _local2) + "]"); } _local1.getRecordSetService().getRecords(_local1.mRecordSetID, _local2 + 1, 1); _local1.mOutstandingRecordCount++; _local1.items[_local2] = 1; _local1.updateViews("fetchRows", _local2, _local2); } } function requestRecord(index) { var _local1 = this; if (_local1.mDeliveryMode != "page") { _local1.requestOneRecord(index); } else { var _local2 = int(index / _local1.mPageSize) * _local1.mPageSize; var _local3 = (_local2 + (_local1.mPageSize * (_local1.mNumPrefetchPages + 1))) - 1; _local1.internalRequestRange(_local2, _local3); } } function _setParentService(service) { gateway_conn = service.nc; } function setData(start, dataArray) { var _local1 = this; var datalen = dataArray.length; var _local3; var rec; var _local2 = 0; while (_local2 < datalen) { _local3 = _local2 + start; rec = _local1.items[_local3]; if ((rec != null) && (rec != 1)) { mx.remoting.NetServices.trace("RecordSet", "warning", 106, "Already got record # " + _local3); } else { _local1.mRecordsAvailable = _local1.mRecordsAvailable + 1; } _local1.items[_local3] = _local1.arrayToObject(dataArray[_local2]); _local1.items[_local3].__ID__ = _local1.uniqueID++; _local2++; } } function startFetchAll(pagesize) { var _local1 = this; if (_local1.mDataFetcher != null) { _local1.mDataFetcher.disable(); } _local1.mDataFetcher = new mx.remoting.RsDataFetcher(_local1, pagesize); } function stopFetchAll() { mDataFetcher.disable(); mDataFetcher = null; } function updateViews(event, first, last) { dispatchEvent({type:"modelChanged", eventName:event, firstItem:first, lastItem:last}); } static function registerRecordSet() { Object.registerClass("RecordSet", mx.remoting.RecordSet); return(true); } static var version = "1.2.0.124"; static var init = registerRecordSet(); }
Symbol 22 MovieClip [__Packages.mx.remoting.RecordSetIterator] Frame 0
class mx.remoting.RecordSetIterator { var _recordSet, _cursor; function RecordSetIterator (rec) { _recordSet = rec; _cursor = 0; } function hasNext() { return(_cursor < _recordSet.getLength()); } function next() { return(_recordSet.getItemAt(_cursor++)); } static var version = "1.2.0.124"; }
Symbol 23 MovieClip [__Packages.mx.remoting.RsDataRange] Frame 0
class mx.remoting.RsDataRange extends Object { var _start, _end; function RsDataRange (s, e) { super(); _start = s; _end = e; } function getStart() { return(_start); } function getEnd() { return(_end); } function setEnd(e) { _end = e; } function setStart(s) { _start = s; } }
Symbol 24 MovieClip [__Packages.mx.remoting.RsDataFetcher] Frame 0
class mx.remoting.RsDataFetcher extends Object { var mEnabled; function RsDataFetcher (pgRS, increment) { var _local1 = this; super(); _local1.mRecordSet = pgRS; _local1.mRecordSet.addEventListener("modelChanged", _local1); _local1.mIncrement = increment; _local1.mNextRecord = 0; _local1.mEnabled = true; _local1.doNext(); } function disable() { mEnabled = false; } function doNext() { var _local1 = this; if (_local1.mEnabled) { do { if (_local1.mNextRecord >= _local1.mRecordSet.getRemoteLength()) { return; } var _local2 = new mx.remoting.RsDataRange(_local1.mNextRecord, (_local1.mNextRecord + _local1.mIncrement) - 1); _local1.mHighestRequested = _local1.mRecordSet.requestRange(_local2); _local1.mNextRecord = _local1.mNextRecord + _local1.mIncrement; } while (_local1.mHighestRequested <= 0); } } function modelChanged(eventObj) { var _local1 = this; var _local2 = eventObj; if (((_local2.eventName == "updateItems") && (_local2.firstItem <= _local1.mHighestRequested)) && (_local2.lastItem >= _local1.mHighestRequested)) { _local1.doNext(); } if (_local2.eventName == "allRows") { _local1.disable(); } } }
Symbol 25 MovieClip [__Packages.mx.remoting.NetServiceProxyResponder] Frame 0
class mx.remoting.NetServiceProxyResponder extends Object { var service, methodName; function NetServiceProxyResponder (serv, method) { super(); service = serv; methodName = method; } function onResult(result) { var _local2 = result; var _local1 = service.client; if ((_local2 instanceof mx.remoting.NetServiceProxy) || (_local2 instanceof mx.remoting.RecordSet)) { _local2._setParentService(service); } var _local3 = methodName + "_Result"; if (typeof(_local1[_local3]) == "function") { _local1[_local3].apply(_local1, [_local2]); } else if (typeof(_local1.onResult) == "function") { _local1.onResult(_local2); } else { mx.remoting.NetServices.trace("NetServices", "info", 1, (_local3 + " was received from server: ") + _local2); } } function onStatus(result) { var _local2 = result; var _local1 = service.client; var _local3 = methodName + "_Status"; if (typeof(_local1[_local3]) == "function") { _local1[_local3].apply(_local1, [_local2]); } else if (typeof(_local1.onStatus) == "function") { _local1.onStatus(_local2); } else if (typeof(_root.onStatus) == "function") { _root.onStatus(_local2); } else if (typeof(_global.System.onStatus) == "function") { _global.System.onStatus(_local2); } else { mx.remoting.NetServices.trace("NetServices", "info", 2, (((_local3 + " was received from server: <") + _local2.level) + "> ") + _local2.description); } } }
Symbol 27 MovieClip [__Packages.mx.utils.ObjectCopy] Frame 0
class mx.utils.ObjectCopy { function ObjectCopy () { } static function copy(refObj) { var _local1 = new Function(refObj.__proto__.constructor)(); copyProperties(_local1, refObj); return(_local1); } static function copyProperties(dstObj, srcObj) { var _local2 = srcObj; var to; for (var i in _local2) { to = typeof(_local2[i]); if (to != "function") { if (to == "object") { if (_local2[i] instanceof Array) { var p = new Array(); var _local3 = _local2[i]; var _local1 = 0; while (_local1 < _local3.length) { p[_local1] = _local3[_local1]; _local1++; } dstObj[i] = p; } else if (_local2[i] instanceof String) { dstObj[i] = new String(_local2[i]); } else if (_local2[i] instanceof Number) { dstObj[i] = new Number(_local2[i]); } else if (_local2[i] instanceof Boolean) { dstObj[i] = new Boolean(_local2[i]); } else { dstObj[i] = copy(_local2[i]); } } else { dstObj[i] = _local2[i]; } } } } }
Symbol 28 MovieClip [__Packages.mx.remoting.debug.events.NetDebug] Frame 0
class mx.remoting.debug.events.NetDebug extends Object { var date, time; function NetDebug () { super(); init(); } function init() { var _local1 = this; _local1.eventType = "DebugEvent"; _local1.source = "Client"; _local1.movieUrl = unescape(_root._url); _local1.initDate(); } function initDate() { var _local1 = new Date(); date = _local1; time = _local1.getTime(); } }
Symbol 29 MovieClip [__Packages.mx.remoting.debug.events.NetDebugNetConnection] Frame 0
class mx.remoting.debug.events.NetDebugNetConnection extends mx.remoting.debug.events.NetDebug { function NetDebugNetConnection () { super(); } }
Symbol 30 MovieClip [__Packages.mx.remoting.debug.events.NetDebugConnect] Frame 0
class mx.remoting.debug.events.NetDebugConnect extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugConnect (args) { var _local1 = args; var _local2 = this; super(); _local2.eventType = "Connect"; _local2.connectString = _local1[0]; if (_local1[1] != null) { _local2.userName = _local1[1]; } if (_local1[2] != null) { _local2.password = _local1[2]; } } }
Symbol 31 MovieClip [__Packages.mx.remoting.debug.commands.Local] Frame 0
class mx.remoting.debug.commands.Local extends Object { var command, data; function Local () { super(); } function init(commandname, dataobj) { command = commandname; data = dataobj; } }
Symbol 32 MovieClip [__Packages.mx.remoting.debug.commands.StartRTMPTrace] Frame 0
class mx.remoting.debug.commands.StartRTMPTrace extends mx.remoting.debug.commands.Local { var init; function StartRTMPTrace (cs) { super(); var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; init("startRealTimeTrace", _local1); } }
Symbol 33 MovieClip [__Packages.mx.remoting.debug.ConnectionMixin] Frame 0
class mx.remoting.debug.ConnectionMixin extends Object { var _protocol, _id, _config; function ConnectionMixin () { super(); } static function initialize() { var _local1 = mx.remoting.Connection.prototype; var _local2 = mx.remoting.debug.ConnectionMixin.prototype; if (!_local1.netDebugProxyFunctions) { _local1.netDebugProxyFunctions = true; _local1.realConnect = _local1.connect; _local1.realCall = _local1.call; _local1.realClose = _local1.close; _local1.realAddHeader = _local1.addHeader; _local1.connect = _local2.netDebugProxyConnect; _local1.call = _local2.netDebugProxyCall; _local1.close = _local2.netDebugProxyClose; _local1.addHeader = _local2.netDebugProxyAddHeader; _local1.attachDebug = _local2.attachDebug; _local1.sendDebugEvent = _local2.sendDebugEvent; _local1.sendServerEvent = _local2.sendServerEvent; _local1.sendClientEvent = _local2.sendClientEvent; _local1.addNetDebugHeader = _local2.addNetDebugHeader; _local1.updateConfig = _local2.updateConfig; _local1.getNetDebug = _local2.getNetDebug; _local1.isRealTime = _local2.isRealTime; _local1.setupRecordSet = _local2.setupRecordSet; _local1.setDebugId = _local2.setDebugId; _local1.getDebugId = _local2.getDebugId; _local1.getDebugConfig = _local2.getDebugConfig; _local1.trace = _local2.trace; return(true); } return(false); } function attachDebug() { var _local1 = this; if (!_attached) { _attached = true; _local1._headerAdded = false; _local1._configured = false; _local1._config = new mx.remoting.debug.NetDebugConfig(); mx.utils.ObjectCopy.copyProperties(_local1._config, _local1.getNetDebug().getConfig()); _local1._protocol = "none"; _local1._id = String(_local1.getNetDebug().addNetConnection(_local1)); } } function sendDebugEvent(eventobj) { var _local1 = this; var _local2 = eventobj; _local2.protocol = _local1._protocol; _local2.debugId = _local1._id; return(_local1.getNetDebug().onEvent(_local2)); } function sendServerEvent(eventobj) { eventobj.movieUrl = unescape(_root._url); if (!sendDebugEvent(eventobj)) { } } function sendClientEvent(eventobj) { var _local1 = this; if (_local1._config.m_debug && (_local1._config.client.m_debug)) { if ((_local1._config.client.http && (_local1._protocol == "http")) || (_local1._config.client.rtmp && (_local1._protocol.substr(0, 4) == "rtmp"))) { if (!_local1.sendDebugEvent(eventobj)) { } } } } function addNetDebugHeader() { var _local1 = this; if (!_local1._headerAdded) { _local1._headerAdded = true; if ((_local1._config.m_debug && (_local1._config.app_server.m_debug)) && (_local1._protocol == "http")) { _local1.realAddHeader("amf_server_debug", true, _local1._config.app_server); } else { _local1.realAddHeader("amf_server_debug", true, undefined); } } } function updateConfig(config) { var _local1 = this; var _local2 = config; _local1.attachDebug(); if ((_local2 == null) && (!_local1._configured)) { _local1._configured = true; _local2 = mx.remoting.debug.NetDebugConfig.getRealDefaultNetDebugConfig(); } mx.utils.ObjectCopy.copyProperties(_local1._config, _local2); _local1._headerAdded = false; } function isRealTime() { return(_protocol.substr(0, 4) == "rtmp"); } function setupRecordSet() { var _local1 = this; _local1.attachDebug(); _local1._config.client.http = _local1._config.client.recordset; } function netDebugProxyConnect() { var _local1 = this; var _local2 = arguments; _local1.attachDebug(); var _local3 = _local2[0].substr(0, 4); if ((_local3 == "http") || (_local3.substr(0, 4) == "rtmp")) { if (_local2[0].charAt(4) == ":") { _local1._protocol = _local3; } else { _local1._protocol = _local2[0].substr(0, 5); } } else { _local1._protocol = "http"; } _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugConnect(_local2)); if (_local1.isRealTime()) { _local1._connectString = _local2[0]; _local1.getNetDebug().sendCommand(new mx.remoting.debug.commands.StartRTMPTrace(_local2[0])); var ret = _local1.realConnect.apply(_local1, _local2); _local1.realCall("@getClientID", new mx.remoting.RTMPClientIDResponse(_local2[0], _local1)); return(ret); } return(Boolean(_local1.realConnect.apply(_local1, _local2))); } function netDebugProxyCall() { var _local1 = this; var _local2 = arguments; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugCall(_local2)); _local1.addNetDebugHeader(); if (_local1._config.app_server) { _local2[1] = new mx.remoting.debug.NetDebugResponseProxy(_local1, _local2[1]); return(Boolean(_local1.realCall.apply(_local1, _local2))); } return(Boolean(_local1.realCall.apply(_local1, _local2))); } function netDebugProxyClose() { var _local1 = this; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugClose()); if (_local1.isRealTime()) { _local1.getNetDebug().sendCommand(new mx.remoting.debug.commands.StopRTMPTrace(_local1._connectString, _local1._clientId)); } var _local2 = _local1.realClose(); _local1.getNetDebug().removeNetConnection(_local1); return(_local2); } function netDebugProxyAddHeader() { var _local1 = this; _local1.attachDebug(); _local1.sendClientEvent(new mx.remoting.debug.events.NetDebugAddHeader(arguments)); return(Boolean(_local1.realAddHeader.apply(_local1, arguments))); } function setDebugId(id) { attachDebug(); _id = id; } function getDebugId() { attachDebug(); return(_id); } function trace(traceobj) { var _local1 = this; _local1.attachDebug(); if ((_local1._config.m_debug && (_local1._config.client.m_debug)) && (_local1._config.client.trace)) { _local1.sendDebugEvent(new mx.remoting.debug.events.NetDebugTrace(traceobj)); } } function getDebugConfig() { attachDebug(); return(_config); } function getNetDebug() { return(mx.remoting.debug.NetDebug.getNetDebug()); } static var _attached = false; }
Symbol 34 MovieClip [__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError] Frame 0
class mx.remoting.debug.events.NetDebugDuplicateNCDError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugDuplicateNCDError () { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.message = "NCD_ALREADY_RUNNING"; } }
Symbol 36 MovieClip [__Packages.mx.remoting.debug.commands.GetConfig] Frame 0
class mx.remoting.debug.commands.GetConfig extends mx.remoting.debug.commands.Local { var init; function GetConfig () { super(); } function GetConfigCommand() { super(); init("getConfig", null); } }
Symbol 37 MovieClip [__Packages.mx.remoting.debug.events.NetDebugFailedSendError] Frame 0
class mx.remoting.debug.events.NetDebugFailedSendError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugFailedSendError (ev) { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.originalEvent = ev; _local1.message = "NCD_FAILED_TO_SEND_EVENT"; } }
Symbol 38 MovieClip [__Packages.mx.remoting.debug.events.NetDebugStatus] Frame 0
class mx.remoting.debug.events.NetDebugStatus extends mx.remoting.debug.events.NetDebugNetConnection { var eventType, status; function NetDebugStatus (statusobj) { super(); eventType = "Status"; status = statusobj; } }
Symbol 39 MovieClip [__Packages.mx.remoting.debug.events.NetDebugError] Frame 0
class mx.remoting.debug.events.NetDebugError extends mx.remoting.debug.events.NetDebug { var eventType, error; function NetDebugError (dataobj) { super(); eventType = "NetDebugError"; error = dataobj; } }
Symbol 40 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTraceNetServices] Frame 0
class mx.remoting.debug.events.NetDebugTraceNetServices extends mx.remoting.debug.events.NetDebug { function NetDebugTraceNetServices (w, s, n, m) { var _local1 = this; super(); _local1.eventType = "NetServicesTrace"; _local1.trace = m; _local1.who = w; _local1.severity = s; _local1.number = n; } }
Symbol 41 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTrace] Frame 0
class mx.remoting.debug.events.NetDebugTrace extends mx.remoting.debug.events.NetDebug { var eventType, trace; function NetDebugTrace (traceobj) { super(); eventType = "Trace"; trace = traceobj; } }
Symbol 43 MovieClip [__Packages.mx.remoting.debug.commands.AddRTMPClient] Frame 0
class mx.remoting.debug.commands.AddRTMPClient extends mx.remoting.debug.commands.Local { var init; function AddRTMPClient (cs, cid) { super(); var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; _local1.clientid = cid; init("addRealTimeClient", _local1); } }
Symbol 44 MovieClip [__Packages.mx.remoting.RTMPClientIDResponse] Frame 0
class mx.remoting.RTMPClientIDResponse extends Object { var _connectString, _nc; function RTMPClientIDResponse (cs, nc) { super(); _connectString = cs; _nc = nc; } function onResult(cid) { _nc._clientId = cid; mx.remoting.debug.NetDebug.getNetDebug().sendCommand(new mx.remoting.debug.commands.AddRTMPClient(_connectString, cid)); } }
Symbol 45 MovieClip [__Packages.mx.remoting.debug.events.NetDebugCall] Frame 0
class mx.remoting.debug.events.NetDebugCall extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugCall (args) { var _local2 = this; var _local3 = args; super(); _local2.eventType = "Call"; _local2.methodName = _local3[0]; _local2.parameters = new Array(); var alen = _local3.length; var _local1 = 2; while (_local1 < alen) { _local2.parameters[_local1 - 2] = _local3[_local1]; _local1++; } } }
Symbol 46 MovieClip [__Packages.mx.remoting.debug.events.NetDebugResult] Frame 0
class mx.remoting.debug.events.NetDebugResult extends mx.remoting.debug.events.NetDebugNetConnection { var eventType, result; function NetDebugResult (resultobj) { super(); eventType = "Result"; result = resultobj; } }
Symbol 47 MovieClip [__Packages.mx.remoting.debug.events.NetDebugReceiveCall] Frame 0
class mx.remoting.debug.events.NetDebugReceiveCall extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugReceiveCall (mName, args) { var _local1 = this; super(); _local1.eventType = "ReceivedCall"; _local1.methodName = mName; _local1.parameters = args; } }
Symbol 48 MovieClip [__Packages.mx.remoting.debug.NetDebugResponseProxy] Frame 0
class mx.remoting.debug.NetDebugResponseProxy extends Object { var _sourceNC, _originalNR; function NetDebugResponseProxy (source, original) { super(); _sourceNC = source; _originalNR = original; } function onDebugEvents(debugevents) { var _local3 = debugevents; var _local2 = _local3.length; var _local1 = 0; while (_local1 < _local2) { _sourceNC.sendServerEvent(_local3[_local1]); _local1++; } } function onResult(resultobj) { _sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugResult(resultobj)); _originalNR.onResult(resultobj); } function onStatus(statusobj) { var _local1 = this; var _local2 = statusobj; _local1._sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugStatus(_local2)); if (_local1._originalNR.onStatus != undefined) { _local1._originalNR.onStatus(_local2); } else { _global.System.onStatus(_local2); } } function __resolve(name) { var _local1 = name; trace("NetDebugResponseProxy.__resolve name: " + _local1); _sourceNC.sendClientEvent(new mx.remoting.debug.events.NetDebugReceiveCall(_local1, arguments)); _originalNR[_local1].apply(arguments); return(null); } }
Symbol 49 MovieClip [__Packages.mx.remoting.debug.events.NetDebugClose] Frame 0
class mx.remoting.debug.events.NetDebugClose extends mx.remoting.debug.events.NetDebugNetConnection { var eventType; function NetDebugClose () { super(); eventType = "Close"; } }
Symbol 50 MovieClip [__Packages.mx.remoting.debug.commands.StopRTMPTrace] Frame 0
class mx.remoting.debug.commands.StopRTMPTrace extends mx.remoting.debug.commands.Local { var init; function StopRTMPTrace () { super(); } function StopRTMPTraceCommand(cs, cid) { var _local1 = new Object(); _local1.connectstring = cs; _local1.url = _root._url; _local1.clientid = cid; init("stopRealTimeTrace", _local1); } }
Symbol 51 MovieClip [__Packages.mx.remoting.debug.events.NetDebugAddHeader] Frame 0
class mx.remoting.debug.events.NetDebugAddHeader extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugAddHeader (args) { var _local1 = this; var _local2 = args; super(); _local1.eventType = "AddHeader"; _local1.headerName = _local2[0]; _local1.mustUnderstand = _local2[1]; if (_local2[2] != null) { _local1.headerObject = _local2[2]; } } }
Symbol 52 MovieClip [__Packages.mx.remoting.debug.events.NetDebugInfoError] Frame 0
class mx.remoting.debug.events.NetDebugInfoError extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugInfoError (infoobj, mes) { var _local1 = this; super(); _local1.eventType = "Error"; _local1.source = "NCD"; _local1.info = infoobj; if (mes != null) { _local1.message = mes; } } }
Symbol 53 MovieClip [__Packages.mx.remoting.debug.events.NetDebugRtmpLog] Frame 0
class mx.remoting.debug.events.NetDebugRtmpLog extends mx.remoting.debug.events.NetDebugNetConnection { function NetDebugRtmpLog (infoobj) { var _local1 = this; super(); _local1.eventType = "Trace"; _local1.source = "Flash Communication Server"; _local1.info = infoobj; _local1.trace = infoobj.description; } }
Symbol 54 MovieClip [__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig] Frame 0
class mx.remoting.debug.commands.UpdateNetDebugConfig extends mx.remoting.debug.commands.Local { var init; function UpdateNetDebugConfig () { super(); } function UpdateNetDebugCommand(dataobj) { super(); init("updateConfig", dataobj); } }
Symbol 55 MovieClip [__Packages.mx.remoting.ApiClasses] Frame 0
class mx.remoting.ApiClasses extends MovieClip { function ApiClasses () { super(); } }
Symbol 57 MovieClip [__Packages.mx.remoting.DataGlue] Frame 0
class mx.remoting.DataGlue extends Object { var __dataProv, __labelStr, __dataStr, formatFunction; function DataGlue (dp) { super(); __dataProv = dp; } function get dataProvider() { return(__dataProv); } function get labelString() { return(__labelStr); } function set labelString(val) { __labelStr = val; //return(labelString); } function get dataString() { return(__dataStr); } function set dataString(val) { __dataStr = val; //return(dataString); } static function bindFormatStrings(dataConsumer, dp, labelStr, dataStr) { var _local1 = new mx.remoting.DataGlue(dp); _local1.__set__labelString(labelStr); _local1.__set__dataString(dataStr); _local1.getItemAt = mx.remoting.DataGlue.prototype.getItemAt_FormatString; dataConsumer.dataProvider = _local1; } static function bindFormatFunction(dataConsumer, dp, formatFunc) { var _local1 = new mx.remoting.DataGlue(dp); _local1.formatFunction = formatFunc; _local1.getItemAt = mx.remoting.DataGlue.prototype.getItemAt_FormatFunction; dataConsumer.setDataProvider(_local1); } function addEventListener(eventName, listener) { dataProvider.addEventListener(eventName, listener); } function get length() { return(getLength()); } function getLength() { return(dataProvider.length); } function format(formatString, item) { var _local3 = formatString.split("#"); var result = ""; var tlen = _local3.length; var _local2; var _local1 = 0; while (_local1 < tlen) { result = result + _local3[_local1]; _local2 = _local3[_local1 + 1]; if (_local2 != undefined) { result = result + item[_local2]; } _local1 = _local1 + 2; } return(result); } function getItemAt_FormatString(index) { var _local2 = this; var _local1 = _local2.dataProvider.getItemAt(index); if ((_local1 == "in progress") || (_local1 == undefined)) { return(_local1); } return({label:_local2.format(_local2.__get__labelString(), _local1), data:((_local2.__get__dataString() == null) ? (_local1) : (_local2.format(_local2.__get__dataString(), _local1)))}); } function getItemAt_FormatFunction(index) { var _local1 = dataProvider.getItemAt(index); if ((_local1 == "in progress") || (_local1 == undefined)) { return(_local1); } return(formatFunction(_local1)); } function getItemID(index) { return(dataProvider.getItemID(index)); } function addItemAt(index, value) { dataProvider.addItemAt(index, value); } function addItem(value) { dataProvider.addItem(value); } function removeItemAt(index) { dataProvider.removeItemAt(index); } function removeAll() { dataProvider.removeAll(); } function replaceItemAt(index, itemObj) { dataProvider.replaceItemAt(index, itemObj); } function sortItemsBy(fieldNames, optionFlags) { dataProvider.sortItemsBy(fieldNames, optionFlags); } function sortItems(compareFunc, optionFlags) { dataProvider.sortItems(compareFunc, optionFlags); } static var version = "1.2.0.124"; }
Symbol 64 MovieClip [__Packages.mx.remoting.Operation] Frame 0
class mx.remoting.Operation { var __arguments, __responder, __request, __methodName; function Operation (methodName, parent) { var _local1 = this; _local1.__service = parent; _local1.__responder = parent.responder; _local1.__methodName = methodName; _local1.__invokationName = (_local1.__service.__get__name() + ".") + methodName; _local1.__request = new Object(); _local1.__arguments = new Array(); } function createThenSend(Void) { createArguments(); return(send()); } function send(Void) { var _local1 = this; _local1.__service.log.logInfo((("Invoking " + _local1.__methodName) + " on ") + _local1.__service.__get__name()); var _local3 = new mx.remoting.PendingCall(_local1.__service, _local1.__methodName); _local3.__set__responder(_local1.__responder); var _local2 = null; if (_local1.__arguments == null) { _local2 = new Array(); } else { _local2 = _local1.__arguments.concat(); } _local1.__invokationName = (_local1.__service.__get__name() + ".") + _local1.__methodName; _local2.unshift(_local1.__invokationName, _local3); _local1.__service.connection.call.apply(_local1.__service.__get__connection(), _local2); return(_local3); } function invoke(a) { __arguments = a; } function get responder() { return(__responder); } function set responder(r) { __responder = r; //return(responder); } function get request() { return(__request); } function set request(r) { __request = r; //return(request); } function get name() { return(__methodName); } function createArguments() { var _local1 = this; if (_local1.__request != null) { _local1.__arguments = new Array(); for (var _local2 in _local1.__request) { if (_local2 != "arguments") { _local1.__arguments.unshift(_local1.__request[_local2]); } } } } }
Symbol 65 MovieClip [__Packages.mx.data.binding.ObjectDumper] Frame 0
class mx.data.binding.ObjectDumper { var inProgress; function ObjectDumper () { inProgress = new Array(); } static function toString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local1 = indent; var _local2 = maxLineLength; var _local3 = new mx.data.binding.ObjectDumper(); if (_local2 == undefined) { _local2 = 100; } if (_local1 == undefined) { _local1 = 0; } return(_local3.realToString(obj, showFunctions, showUndefined, showXMLstructures, _local2, _local1)); } function realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) { var _local1 = obj; var x = 0; while (x < inProgress.length) { if (inProgress[x] == _local1) { return("***"); } x++; } inProgress.push(_local1); indent++; var t = typeof(_local1); var result; if ((_local1 instanceof XMLNode) && (showXMLstructures != true)) { result = _local1.toString(); } else if (_local1 instanceof Date) { result = _local1.toString(); } else if (t == "object") { var _local3 = new Array(); if (_local1 instanceof Array) { result = "["; var i = 0; while (i < _local1.length) { _local3.push(i); i++; } } else { result = "{"; for (var i in _local1) { _local3.push(i); } _local3.sort(); } var sep = ""; var _local2 = 0; while (_local2 < _local3.length) { var val = _local1[_local3[_local2]]; var show = true; if (typeof(val) == "function") { show = showFunctions == true; } if (typeof(val) == "undefined") { show = showUndefined == true; } if (show) { result = result + sep; if (!(_local1 instanceof Array)) { result = result + (_local3[_local2] + ": "); } result = result + realToString(val, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent); sep = ", `"; } _local2++; } if (_local1 instanceof Array) { result = result + "]"; } else { result = result + "}"; } } else if (t == "function") { result = "function"; } else if (t == "string") { result = ("\"" + _local1) + "\""; } else { result = String(_local1); } if (result == "undefined") { result = "-"; } inProgress.pop(); return(replaceAll(result, "`", ((result.length < maxLineLength) ? "" : (newline + doIndent(indent))))); } static function replaceAll(str, from, to) { var _local3 = str.split(from); var result = ""; var _local2 = ""; var _local1 = 0; while (_local1 < _local3.length) { result = result + (_local2 + _local3[_local1]); _local2 = to; _local1++; } return(result); } function doIndent(indent) { var _local3 = indent; var _local2 = ""; var _local1 = 0; while (_local1 < _local3) { _local2 = _local2 + " "; _local1++; } return(_local2); } }
Symbol 67 MovieClip [__Packages.mx.rpc.DefaultResponder] Frame 0
class mx.rpc.DefaultResponder { var __target; function DefaultResponder (t) { target = (t); } function get target() { return(__target); } function set target(t) { __target = t; //return(target); } function onResult(event) { trace("RPC Result: " + event.__get__result()); } function onFault(event) { trace("RPC Fault: " + event.fault.faultstring); } }
Symbol 68 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip { var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled; 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() { return(_parent.width - (_x + width)); } function get bottom() { return(_parent.height - (_y + 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) { if (x != _visible) { _visible = x; if (noEvent != true) { dispatchEvent({type:(x ? "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) { if (methodTable == undefined) { methodTable = new Array(); } methodTable.push({obj:obj, fn:fn}); onEnterFrame = doLaterDispatcher; } function doLaterDispatcher(Void) { delete onEnterFrame; if (invalidateFlag) { redraw(); } var _local3 = methodTable; methodTable = new Array(); if (_local3.length > 0) { var _local2; while (_local2 = _local3.shift() , _local2 != undefined) { _local2.obj[_local2.fn](); } } } function cancelAllDoLaters(Void) { delete onEnterFrame; methodTable = new Array(); } function invalidate(Void) { invalidateFlag = true; onEnterFrame = doLaterDispatcher; } function invalidateStyle(Void) { invalidate(); } function redraw(bAlways) { if (invalidateFlag || (bAlways)) { invalidateFlag = false; var _local2; for (_local2 in tfList) { tfList[_local2].draw(); } draw(); dispatchEvent({type:"draw"}); } } function draw(Void) { } function move(x, y, noEvent) { var _local3 = _x; var _local2 = _y; _x = x; _y = y; if (noEvent != true) { dispatchEvent({type:"move", oldX:_local3, oldY:_local2}); } } function setSize(w, h, noEvent) { var _local2 = __width; var _local3 = __height; __width = w; __height = h; size(); if (noEvent != true) { dispatchEvent({type:"resize", oldWidth:_local2, oldHeight:_local3}); } } function size(Void) { _width = __width; _height = __height; } function drawRect(x1, y1, x2, y2) { moveTo(x1, y1); lineTo(x2, y1); lineTo(x2, y2); lineTo(x1, y2); lineTo(x1, y1); } function createLabel(name, depth, text) { createTextField(name, depth, 0, 0, 0, 0); var _local2 = this[name]; _local2._color = textColorList; _local2._visible = false; _local2.__text = text; if (tfList == undefined) { tfList = new Object(); } tfList[name] = _local2; _local2.invalidateStyle(); invalidate(); _local2.styleName = this; return(_local2); } function createObject(linkageName, id, depth, initobj) { return(attachMovie(linkageName, id, depth, initobj)); } function createClassObject(className, id, depth, initobj) { var _local3 = className.symbolName == undefined; if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className); } var _local4 = createObject(className.symbolOwner.symbolName, id, depth, initobj); if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return(_local4); } function createEmptyObject(id, depth) { return(createClassObject(mx.core.UIObject, id, depth)); } function destroyObject(id) { var _local2 = this[id]; if (_local2.getDepth() < 0) { var _local4 = buildDepthTable(); var _local5 = findNextAvailableDepth(0, _local4, "up"); var _local3 = _local5; _local2.swapDepths(_local3); } _local2.removeMovieClip(); delete this[id]; } function getSkinIDName(tag) { return(idNames[tag]); } function setSkin(tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return(createObject(linkageName, getSkinIDName(tag), tag, initObj)); } function createSkin(tag) { var _local2 = getSkinIDName(tag); createEmptyObject(_local2, tag); return(this[_local2]); } function createChildren(Void) { } function _createChildren(Void) { createChildren(); childrenCreated = true; } function constructObject(Void) { if (_name == undefined) { return(undefined); } init(); _createChildren(); createAccessibilityImplementation(); _endInit(); if (validateNow) { redraw(true); } else { invalidate(); } } function initFromClipParameters(Void) { var _local4 = false; var _local2; for (_local2 in clipParameters) { if (hasOwnProperty(_local2)) { _local4 = true; this["def_" + _local2] = this[_local2]; delete this[_local2]; } } if (_local4) { for (_local2 in clipParameters) { var _local3 = this["def_" + _local2]; if (_local3 != undefined) { this[_local2] = _local3; } } } } function init(Void) { __width = _width; __height = _height; if (initProperties == undefined) { initFromClipParameters(); } else { initProperties(); } if (_global.cascadingStyles == true) { stylecache = new Object(); } } function getClassStyleDeclaration(Void) { var _local4 = this; var _local3 = className; while (_local3 != undefined) { if (ignoreClassStyleDeclaration[_local3] == undefined) { if (_global.styles[_local3] != undefined) { return(_global.styles[_local3]); } } _local4 = _local4.__proto__; _local3 = _local4.className; } } function setColor(color) { } function __getTextFormat(tf, bAll) { var _local8 = stylecache.tf; if (_local8 != undefined) { var _local3; for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { tf[_local3] = _local8[_local3]; } } } return(false); } var _local6 = false; for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { var _local5 = _tf[_local3]; if (_local5 != undefined) { tf[_local3] = _local5; } else if ((_local3 == "font") && (fontFamily != undefined)) { tf[_local3] = fontFamily; } else if ((_local3 == "size") && (fontSize != undefined)) { tf[_local3] = fontSize; } else if ((_local3 == "color") && (color != undefined)) { tf[_local3] = color; } else if ((_local3 == "leftMargin") && (marginLeft != undefined)) { tf[_local3] = marginLeft; } else if ((_local3 == "rightMargin") && (marginRight != undefined)) { tf[_local3] = marginRight; } else if ((_local3 == "italic") && (fontStyle != undefined)) { tf[_local3] = fontStyle == _local3; } else if ((_local3 == "bold") && (fontWeight != undefined)) { tf[_local3] = fontWeight == _local3; } else if ((_local3 == "align") && (textAlign != undefined)) { tf[_local3] = textAlign; } else if ((_local3 == "indent") && (textIndent != undefined)) { tf[_local3] = textIndent; } else if ((_local3 == "underline") && (textDecoration != undefined)) { tf[_local3] = textDecoration == _local3; } else if ((_local3 == "embedFonts") && (embedFonts != undefined)) { tf[_local3] = embedFonts; } else { _local6 = true; } } } } if (_local6) { var _local9 = styleName; if (_local9 != undefined) { if (typeof(_local9) != "string") { _local6 = _local9.__getTextFormat(tf, true, this); } else if (_global.styles[_local9] != undefined) { _local6 = _global.styles[_local9].__getTextFormat(tf, true, this); } } } if (_local6) { var _local10 = getClassStyleDeclaration(); if (_local10 != undefined) { _local6 = _local10.__getTextFormat(tf, true, this); } } if (_local6) { if (_global.cascadingStyles) { if (_parent != undefined) { _local6 = _parent.__getTextFormat(tf, false); } } } if (_local6) { _local6 = _global.style.__getTextFormat(tf, true, this); } return(_local6); } function _getTextFormat(Void) { var _local2 = stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); __getTextFormat(_local2, true); stylecache.tf = _local2; if (enabled == false) { var _local3 = getStyle("disabledColor"); _local2.color = _local3; } return(_local2); } function getStyleName(Void) { var _local2 = styleName; if (_local2 != undefined) { if (typeof(_local2) != "string") { return(_local2.getStyleName()); } return(_local2); } if (_parent != undefined) { return(_parent.getStyleName()); } return(undefined); } function getStyle(styleProp) { var _local3; _global.getStyleCounter++; if (this[styleProp] != undefined) { return(this[styleProp]); } var _local6 = styleName; if (_local6 != undefined) { if (typeof(_local6) != "string") { _local3 = _local6.getStyle(styleProp); } else { var _local7 = _global.styles[_local6]; _local3 = _local7.getStyle(styleProp); } } if (_local3 != undefined) { return(_local3); } var _local7 = getClassStyleDeclaration(); if (_local7 != undefined) { _local3 = _local7[styleProp]; } if (_local3 != undefined) { return(_local3); } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) { var _local5 = stylecache; if (_local5 != undefined) { if (_local5[styleProp] != undefined) { return(_local5[styleProp]); } } if (_parent != undefined) { _local3 = _parent.getStyle(styleProp); } else { _local3 = _global.style[styleProp]; } if (_local5 != undefined) { _local5[styleProp] = _local3; } return(_local3); } } if (_local3 == undefined) { _local3 = _global.style[styleProp]; } return(_local3); } static function mergeClipParameters(o, p) { for (var _local3 in p) { o[_local3] = p[_local3]; } return(true); } static var symbolName = "UIObject"; static var symbolOwner = mx.core.UIObject; static var version = "2.0.2.127"; 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 69 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject { var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled; 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) { setEnabled(newValue); invalidate(); delete 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 _local2 = this; while (_local2 != undefined) { if (_local2.focusManager != undefined) { return(_local2.focusManager); } _local2 = _local2._parent; } return(undefined); } function onKillFocus(newFocus) { removeEventListener("keyDown", this); removeEventListener("keyUp", this); dispatchEvent({type:"focusOut"}); drawFocus(false); } function onSetFocus(oldFocus) { addEventListener("keyDown", this); addEventListener("keyUp", this); dispatchEvent({type:"focusIn"}); if (getFocusManager().bDrawFocus != false) { drawFocus(true); } } function findFocusInChildren(o) { if (o.focusTextField != undefined) { return(o.focusTextField); } if (o.tabEnabled == true) { return(o); } return(undefined); } function findFocusFromObject(o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return(undefined); } if (o._parent.tabEnabled == true) { o = o._parent; } else if (o._parent.tabChildren) { o = findFocusInChildren(o._parent); } else { o = findFocusFromObject(o._parent); } } return(o); } function pressFocus() { var _local3 = findFocusFromObject(this); var _local2 = getFocus(); if (_local3 != _local2) { _local2.drawFocus(false); if (getFocusManager().bDrawFocus != false) { _local3.drawFocus(true); } } } function releaseFocus() { var _local2 = findFocusFromObject(this); if (_local2 != getFocus()) { _local2.setFocus(); } } function isParent(o) { while (o != undefined) { if (o == this) { return(true); } o = o._parent; } return(false); } function size() { } function init() { super.init(); _xscale = 100; _yscale = 100; _focusrect = _global.useFocusRect == false; watch("enabled", enabledChanged); if (enabled == false) { 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.2.127"; 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 70 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent { static var emphasizedStyleDeclaration; var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle; function SimpleButton () { super(); } function init(Void) { super.init(); if (preset == undefined) { boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } useHandCursor = false; } function createChildren(Void) { if (preset != undefined) { var _local2 = this[idNames[preset]]; this[refNames[preset]] = _local2; skinName = _local2; if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } initializing = false; } else if (__state == true) { setStateVar(true); } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } } } function setIcon(tag, linkageName) { return(setSkin(tag + 8, linkageName)); } function changeIcon(tag, linkageName) { linkLength = linkageName.length; var _local2 = stateNames[tag] + "Icon"; this[_local2] = linkageName; this[idNames[tag + 8]] = _local2; setStateVar(getState()); } function changeSkin(tag, linkageName) { var _local2 = stateNames[tag] + "Skin"; this[_local2] = linkageName; this[idNames[tag]] = _local2; setStateVar(getState()); } function viewIcon(varName) { var _local4 = varName + "Icon"; var _local3 = this[_local4]; if (typeof(_local3) == "string") { var _local5 = _local3; if (__emphasized) { if (this[_local3 + "Emphasized"].length > 0) { _local3 = _local3 + "Emphasized"; } } if (this[_local3].length == 0) { return(undefined); } _local3 = setIcon(tagMap[_local5], this[_local3]); if ((_local3 == undefined) && (_global.isLivePreview)) { _local3 = setIcon(0, "ButtonIcon"); } this[_local4] = _local3; } iconName._visible = false; iconName = _local3; iconName._visible = true; } function removeIcons() { var _local3 = 0; while (_local3 < 2) { var _local2 = 8; while (_local2 < 16) { destroyObject(idNames[_local2]); this[stateNames[_local2 - 8] + "Icon"] = ""; _local2++; } _local3++; } refresh(); } function setSkin(tag, linkageName, initobj) { var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this}))); calcSize(tag, _local3); return(_local3); } function calcSize(Void) { __width = _width; __height = _height; } function viewSkin(varName, initObj) { var _local3 = varName + "Skin"; var _local2 = this[_local3]; if (typeof(_local2) == "string") { var _local4 = _local2; if (__emphasized) { if (this[_local2 + "Emphasized"].length > 0) { _local2 = _local2 + "Emphasized"; } } if (this[_local2].length == 0) { return(undefined); } _local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this}))); this[_local3] = _local2; } skinName._visible = false; skinName = _local2; skinName._visible = true; } function showEmphasized(e) { if (e && (!__emphatic)) { if (emphasizedStyleDeclaration != undefined) { __emphaticStyleName = styleName; styleName = emphasizedStyleDeclaration; } __emphatic = true; } else { if (__emphatic) { styleName = __emphaticStyleName; } __emphatic = false; } } function refresh(Void) { var _local2 = getState(); if (enabled == false) { viewIcon("disabled"); viewSkin("disabled"); } else { viewSkin(phase); viewIcon(phase); } setView(phase == "down"); iconName.enabled = enabled; } function setView(offset) { if (iconName == undefined) { return(undefined); } var _local2 = (offset ? (btnOffset) : 0); iconName._x = ((__width - iconName._width) / 2) + _local2; iconName._y = ((__height - iconName._height) / 2) + _local2; } function setStateVar(state) { if (state) { if (trueOverSkin.length == 0) { rolloverSkin = tus; } else { rolloverSkin = trs; } if (trueOverIcon.length == 0) { rolloverIcon = tui; } else { rolloverIcon = tri; } upSkin = tus; downSkin = tds; disabledSkin = dts; upIcon = tui; downIcon = tdi; disabledIcon = dti; } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } else { rolloverSkin = frs; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } else { rolloverIcon = fri; } upSkin = fus; downSkin = fds; disabledSkin = dfs; upIcon = fui; downIcon = fdi; disabledIcon = dfi; } __state = state; } function setState(state) { if (state != __state) { setStateVar(state); invalidate(); } } function size(Void) { refresh(); } function draw(Void) { if (initializing) { initializing = false; skinName.visible = true; iconName.visible = true; } size(); } function getState(Void) { return(__state); } function setToggle(val) { __toggle = val; if (__toggle == false) { 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) { if (__toggle) { setState(val); } else { setState((initializing ? (val) : (__state))); } } function getSelected() { return(__state); } function setEnabled(val) { if (enabled != val) { super.setEnabled(val); invalidate(); } } function onPress(Void) { pressFocus(); phase = "down"; refresh(); dispatchEvent({type:"buttonDown"}); if (autoRepeat) { interval = setInterval(this, "onPressDelay", getStyle("repeatDelay")); } } function onPressDelay(Void) { dispatchEvent({type:"buttonDown"}); if (autoRepeat) { clearInterval(interval); interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval")); } } function onPressRepeat(Void) { dispatchEvent({type:"buttonDown"}); updateAfterEvent(); } function onRelease(Void) { releaseFocus(); phase = "rollover"; if (interval != undefined) { clearInterval(interval); delete interval; } if (getToggle()) { setState(!getState()); } else { refresh(); } dispatchEvent({type:"click"}); } function onDragOut(Void) { phase = "up"; refresh(); dispatchEvent({type:"buttonDragOut"}); } function onDragOver(Void) { if (phase != "up") { onPress(); return(undefined); } phase = "down"; refresh(); } function onReleaseOutside(Void) { releaseFocus(); phase = "up"; if (interval != undefined) { clearInterval(interval); delete interval; } } function onRollOver(Void) { phase = "rollover"; refresh(); } function onRollOut(Void) { phase = "up"; refresh(); } function getLabel(Void) { return(fui.text); } function setLabel(val) { if (typeof(fui) == "string") { createLabel("fui", 8, val); fui.styleName = this; } else { fui.text = val; } var _local4 = fui._getTextFormat(); var _local2 = _local4.getTextExtent2(val); fui._width = _local2.width + 5; fui._height = _local2.height + 5; iconName = fui; setView(__state); } function get emphasized() { return(__emphasized); } function set emphasized(val) { __emphasized = val; var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]] = stateNames[_local2] + "Skin"; if (typeof(this[idNames[_local2 + 8]]) == "movieclip") { this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon"; } _local2++; } showEmphasized(__emphasized); setStateVar(__state); invalidateStyle(); //return(emphasized); } function keyDown(e) { if (e.code == 32) { onPress(); } } function keyUp(e) { if (e.code == 32) { onRelease(); } } function onKillFocus(newFocus) { super.onKillFocus(); if (phase != "up") { phase = "up"; refresh(); } } static var symbolName = "SimpleButton"; static var symbolOwner = mx.controls.SimpleButton; static var version = "2.0.2.127"; 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 71 MovieClip [__Packages.mx.controls.Button] Frame 0
class mx.controls.Button extends mx.controls.SimpleButton { var initializing, labelPath, initIcon, getState, enabled, phase, idNames, __width, __height, setState, invalidate, iconName, refresh, createLabel, _iconLinkageName, removeIcons, hitArea_mc, createEmptyObject; function Button () { super(); } function init(Void) { super.init(); } function draw() { if (initializing) { labelPath.visible = true; } super.draw(); if (initIcon != undefined) { _setIcon(initIcon); } delete 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 _local3 = (getState() ? "true" : "false"); _local3 = _local3 + (enabled ? (phase) : "disabled"); super.viewSkin(varName, {styleName:this, borderStyle:_local3}); } function invalidateStyle(c) { labelPath.invalidateStyle(c); super.invalidateStyle(c); } function setColor(c) { var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]].redraw(true); _local2++; } } function setEnabled(enable) { labelPath.enabled = enable; super.setEnabled(enable); } function calcSize(tag, ref) { if ((__width == undefined) || (__height == undefined)) { return(undefined); } if (tag < 7) { ref.setSize(__width, __height, true); } } function size(Void) { setState(getState()); setHitArea(__width, __height); var _local3 = 0; while (_local3 < 8) { var _local4 = idNames[_local3]; if (typeof(this[_local4]) == "movieclip") { this[_local4].setSize(__width, __height, true); } _local3++; } super.size(); } function set labelPlacement(val) { __labelPlacement = val; invalidate(); //return(labelPlacement); } function get labelPlacement() { return(__labelPlacement); } function getLabelPlacement(Void) { return(__labelPlacement); } function setLabelPlacement(val) { __labelPlacement = val; invalidate(); } function getBtnOffset(Void) { if (getState()) { var _local2 = btnOffset; } else if (phase == "down") { var _local2 = btnOffset; } else { var _local2 = 0; } return(_local2); } function setView(offset) { var _local16 = (offset ? (btnOffset) : 0); var _local12 = getLabelPlacement(); var _local7 = 0; var _local6 = 0; var _local9 = 0; var _local8 = 0; var _local5 = 0; var _local4 = 0; var _local3 = labelPath; var _local2 = iconName; var _local15 = _local3.textWidth; var _local14 = _local3.textHeight; var _local10 = (__width - borderW) - borderW; var _local11 = (__height - borderW) - borderW; if (_local2 != undefined) { _local7 = _local2._width; _local6 = _local2._height; } if ((_local12 == "left") || (_local12 == "right")) { if (_local3 != undefined) { _local9 = Math.min(_local10 - _local7, _local15 + 5); _local3._width = _local9; _local8 = Math.min(_local11, _local14 + 5); _local3._height = _local8; } if (_local12 == "right") { _local5 = _local7; if (centerContent) { _local5 = _local5 + (((_local10 - _local9) - _local7) / 2); } _local2._x = _local5 - _local7; } else { _local5 = (_local10 - _local9) - _local7; if (centerContent) { _local5 = _local5 / 2; } _local2._x = _local5 + _local9; } _local4 = 0; _local2._y = _local4; if (centerContent) { _local2._y = (_local11 - _local6) / 2; _local4 = (_local11 - _local8) / 2; } if (!centerContent) { _local2._y = _local2._y + Math.max(0, (_local8 - _local6) / 2); } } else { if (_local3 != undefined) { _local9 = Math.min(_local10, _local15 + 5); _local3._width = _local9; _local8 = Math.min(_local11 - _local6, _local14 + 5); _local3._height = _local8; } _local5 = (_local10 - _local9) / 2; _local2._x = (_local10 - _local7) / 2; if (_local12 == "top") { _local4 = (_local11 - _local8) - _local6; if (centerContent) { _local4 = _local4 / 2; } _local2._y = _local4 + _local8; } else { _local4 = _local6; if (centerContent) { _local4 = _local4 + (((_local11 - _local8) - _local6) / 2); } _local2._y = _local4 - _local6; } } var _local13 = borderW + _local16; _local3._x = _local5 + _local13; _local3._y = _local4 + _local13; _local2._x = _local2._x + _local13; _local2._y = _local2._y + _local13; } function set label(lbl) { setLabel(lbl); //return(label); } function setLabel(label) { if (label == "") { labelPath.removeTextField(); refresh(); return(undefined); } if (labelPath == undefined) { var _local2 = createLabel("labelPath", 200, label); _local2._width = _local2.textWidth + 5; _local2._height = _local2.textHeight + 5; if (initializing) { _local2.visible = false; } } else { delete labelPath.__text; labelPath.text = label; refresh(); } } function getLabel(Void) { return(((labelPath.__text != undefined) ? (labelPath.__text) : (labelPath.text))); } function get label() { return(getLabel()); } function _getIcon(Void) { return(_iconLinkageName); } function get icon() { if (initializing) { return(initIcon); } return(_iconLinkageName); } function _setIcon(linkage) { if (initializing) { if (linkage == "") { return(undefined); } initIcon = linkage; } else { if (linkage == "") { removeIcons(); return(undefined); } super.changeIcon(0, linkage); super.changeIcon(1, linkage); super.changeIcon(3, linkage); super.changeIcon(4, linkage); super.changeIcon(5, linkage); _iconLinkageName = linkage; refresh(); } } function set icon(linkage) { _setIcon(linkage); //return(icon); } function setHitArea(w, h) { if (hitArea_mc == undefined) { createEmptyObject("hitArea_mc", 100); } var _local2 = hitArea_mc; _local2.clear(); _local2.beginFill(16711680); _local2.drawRect(0, 0, w, h); _local2.endFill(); _local2.setVisible(false); } static var symbolName = "Button"; static var symbolOwner = mx.controls.Button; var className = "Button"; static var version = "2.0.2.127"; 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 72 MovieClip [__Packages.mx.controls.CheckBox] Frame 0
class mx.controls.CheckBox extends mx.controls.Button { var _getTextFormat, labelPath, iconName; function CheckBox () { super(); } function onRelease() { super.onRelease(); } function init() { super.init(); } function size() { super.size(); } function get emphasized() { return(undefined); } function calcPreferredHeight() { var _local5 = _getTextFormat(); var _local3 = _local5.getTextExtent2(labelPath.text).height; var _local4 = iconName._height; var _local2 = 0; if ((__labelPlacement == "left") || (__labelPlacement == "right")) { _local2 = Math.max(_local3, _local4); } else { _local2 = _local3 + _local4; } 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.2.127"; 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 118 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 119 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles { function CSSTextStyles () { } static function addTextStyles(o, bColor) { o.addProperty("textAlign", function () { return(this._tf.align); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.align = x; }); o.addProperty("fontWeight", function () { return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.bold = x == "bold"; }); if (bColor) { o.addProperty("color", function () { return(this._tf.color); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.color = x; }); } o.addProperty("fontFamily", function () { return(this._tf.font); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.font = x; }); o.addProperty("textIndent", function () { return(this._tf.indent); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.indent = x; }); o.addProperty("fontStyle", function () { return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.italic = x == "italic"; }); o.addProperty("marginLeft", function () { return(this._tf.leftMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.leftMargin = x; }); o.addProperty("marginRight", function () { return(this._tf.rightMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.rightMargin = x; }); o.addProperty("fontSize", function () { return(this._tf.size); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.size = x; }); o.addProperty("textDecoration", function () { return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.underline = x == "underline"; }); o.addProperty("embedFonts", function () { return(this._tf.embedFonts); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.embedFonts = x; }); } }
Symbol 120 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 121 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration { var _tf; function CSSStyleDeclaration () { } function __getTextFormat(tf, bAll) { var _local5 = false; if (_tf != undefined) { var _local2; for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) { if (tf[_local2] == undefined) { var _local3 = _tf[_local2]; if (_local3 != undefined) { tf[_local2] = _local3; } else { _local5 = true; } } } } } else { _local5 = true; } return(_local5); } function getStyle(styleProp) { var _local2 = this[styleProp]; var _local3 = mx.styles.StyleManager.getColorName(_local2); return(((_local3 == undefined) ? (_local2) : (_local3))); } 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 122 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher { var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener; function UIEventDispatcher () { super(); } static function addKeyEvents(obj) { if (obj.keyHandler == undefined) { var _local1 = (obj.keyHandler = new Object()); _local1.owner = obj; _local1.onKeyDown = _fEventDispatcher.onKeyDown; _local1.onKeyUp = _fEventDispatcher.onKeyUp; } Key.addListener(obj.keyHandler); } static function removeKeyEvents(obj) { Key.removeListener(obj.keyHandler); } static function addLoadEvents(obj) { if (obj.onLoad == undefined) { obj.onLoad = _fEventDispatcher.onLoad; obj.onUnload = _fEventDispatcher.onUnload; if (obj.getBytesTotal() == obj.getBytesLoaded()) { obj.doLater(obj, "onLoad"); } } } static function removeLoadEvents(obj) { delete obj.onLoad; delete obj.onUnload; } static function initialize(obj) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.UIEventDispatcher(); } obj.addEventListener = _fEventDispatcher.__addEventListener; obj.__origAddEventListener = _fEventDispatcher.addEventListener; obj.removeEventListener = _fEventDispatcher.removeEventListener; obj.dispatchEvent = _fEventDispatcher.dispatchEvent; obj.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(mx.events.EventDispatcher, eventObj); dispatchQueue(this, eventObj); } 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) { if (__sentLoadEvent != true) { dispatchEvent({type:"load"}); } __sentLoadEvent = true; } function onUnload(Void) { dispatchEvent({type:"unload"}); } function __addEventListener(event, handler) { __origAddEventListener(event, handler); var _local3 = lowLevelEvents; for (var _local5 in _local3) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local2 = _local3[_local5][0]; mx.events.UIEventDispatcher[_local2](this); } } } function removeEventListener(event, handler) { var _local6 = "__q_" + event; mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler); if (this[_local6].length == 0) { var _local2 = lowLevelEvents; for (var _local5 in _local2) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local3 = _local2[_local5][1]; mx.events.UIEventDispatcher[_local2[_local5][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 123 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement { var getStyle, _color, onEnterFrame; function ColoredSkinElement () { } function setColor(c) { if (c != undefined) { var _local2 = new Color(this); _local2.setRGB(c); } } function draw(Void) { setColor(getStyle(_color)); onEnterFrame = undefined; } function invalidateStyle(Void) { onEnterFrame = draw; } static function setColorStyle(p, colorStyle) { if (p._color == undefined) { p._color = colorStyle; } p.setColor = mixins.setColor; p.invalidateStyle = mixins.invalidateStyle; p.draw = mixins.draw; p.setColor(p.getStyle(colorStyle)); } static var mixins = new mx.skins.ColoredSkinElement(); }
Symbol 124 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions { function UIObjectExtensions () { } static function addGeometry(tf, ui) { tf.addProperty("width", ui.__get__width, null); tf.addProperty("height", ui.__get__height, null); tf.addProperty("left", ui.__get__left, null); tf.addProperty("x", ui.__get__x, null); tf.addProperty("top", ui.__get__top, null); tf.addProperty("y", ui.__get__y, null); tf.addProperty("right", ui.__get__right, null); tf.addProperty("bottom", ui.__get__bottom, null); tf.addProperty("visible", ui.__get__visible, ui.__set__visible); } static function Extensions() { if (bExtended == true) { return(true); } bExtended = true; var _local6 = mx.core.UIObject.prototype; var _local9 = mx.skins.SkinElement.prototype; addGeometry(_local9, _local6); mx.events.UIEventDispatcher.initialize(_local6); var _local13 = mx.skins.ColoredSkinElement; mx.styles.CSSTextStyles.addTextStyles(_local6); var _local5 = MovieClip.prototype; _local5.getTopLevel = _local6.getTopLevel; _local5.createLabel = _local6.createLabel; _local5.createObject = _local6.createObject; _local5.createClassObject = _local6.createClassObject; _local5.createEmptyObject = _local6.createEmptyObject; _local5.destroyObject = _local6.destroyObject; _global.ASSetPropFlags(_local5, "getTopLevel", 1); _global.ASSetPropFlags(_local5, "createLabel", 1); _global.ASSetPropFlags(_local5, "createObject", 1); _global.ASSetPropFlags(_local5, "createClassObject", 1); _global.ASSetPropFlags(_local5, "createEmptyObject", 1); _global.ASSetPropFlags(_local5, "destroyObject", 1); _local5.__getTextFormat = _local6.__getTextFormat; _local5._getTextFormat = _local6._getTextFormat; _local5.getStyleName = _local6.getStyleName; _local5.getStyle = _local6.getStyle; _global.ASSetPropFlags(_local5, "__getTextFormat", 1); _global.ASSetPropFlags(_local5, "_getTextFormat", 1); _global.ASSetPropFlags(_local5, "getStyleName", 1); _global.ASSetPropFlags(_local5, "getStyle", 1); var _local7 = TextField.prototype; addGeometry(_local7, _local6); _local7.addProperty("enabled", function () { return(this.__enabled); }, function (x) { this.__enabled = x; this.invalidateStyle(); }); _local7.move = _local9.move; _local7.setSize = _local9.setSize; _local7.invalidateStyle = function () { this.invalidateFlag = true; }; _local7.draw = function () { if (this.invalidateFlag) { this.invalidateFlag = false; var _local2 = this._getTextFormat(); this.setTextFormat(_local2); this.setNewTextFormat(_local2); this.embedFonts = _local2.embedFonts == true; if (this.__text != undefined) { if (this.text == "") { this.text = this.__text; } delete this.__text; } this._visible = true; } }; _local7.setColor = function (color) { this.textColor = color; }; _local7.getStyle = _local5.getStyle; _local7.__getTextFormat = _local6.__getTextFormat; _local7.setValue = function (v) { this.text = v; }; _local7.getValue = function () { return(this.text); }; _local7.addProperty("value", function () { return(this.getValue()); }, function (v) { this.setValue(v); }); _local7._getTextFormat = function () { var _local2 = this.stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); this.__getTextFormat(_local2); this.stylecache.tf = _local2; if (this.__enabled == false) { if (this.enabledColor == undefined) { var _local4 = this.getTextFormat(); this.enabledColor = _local4.color; } var _local3 = this.getStyle("disabledColor"); _local2.color = _local3; } else if (this.enabledColor != undefined) { if (_local2.color == undefined) { _local2.color = this.enabledColor; } } return(_local2); }; _local7.getPreferredWidth = function () { this.draw(); return(this.textWidth + 4); }; _local7.getPreferredHeight = function () { this.draw(); return(this.textHeight + 4); }; TextFormat.prototype.getTextExtent2 = function (s) { var _local3 = _root._getTextExtent; if (_local3 == undefined) { _root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100); _local3 = _root._getTextExtent; _local3._visible = false; } _root._getTextExtent.text = s; var _local4 = this.align; this.align = "left"; _root._getTextExtent.setTextFormat(this); this.align = _local4; return({width:_local3.textWidth, height:_local3.textHeight}); }; if (_global.style == undefined) { _global.style = new mx.styles.CSSStyleDeclaration(); _global.cascadingStyles = true; _global.styles = new Object(); _global.skinRegistry = new Object(); if (_global._origWidth == undefined) { _global.origWidth = Stage.width; _global.origHeight = Stage.height; } } var _local4 = _root; while (_local4._parent != undefined) { _local4 = _local4._parent; } _local4.addProperty("width", function () { return(Stage.width); }, null); _local4.addProperty("height", function () { return(Stage.height); }, null); _global.ASSetPropFlags(_local4, "width", 1); _global.ASSetPropFlags(_local4, "height", 1); return(true); } static var bExtended = false; static var UIObjectExtended = Extensions(); static var UIObjectDependency = mx.core.UIObject; static var SkinElementDependency = mx.skins.SkinElement; static var CSSTextStylesDependency = mx.styles.CSSTextStyles; static var UIEventDispatcherDependency = mx.events.UIEventDispatcher; }
Symbol 125 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults { var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill; function Defaults () { } static function setThemeDefaults() { var _local2 = _global.style; _local2.themeColor = 8453965 /* 0x80FF4D */; _local2.disabledColor = 8684164 /* 0x848284 */; _local2.modalTransparency = 0; _local2.filled = true; _local2.stroked = true; _local2.strokeWidth = 1; _local2.strokeColor = 0; _local2.fillColor = 16777215 /* 0xFFFFFF */; _local2.repeatInterval = 35; _local2.repeatDelay = 500; _local2.fontFamily = "_sans"; _local2.fontSize = 12; _local2.selectionColor = 13500353 /* 0xCDFFC1 */; _local2.rollOverColor = 14942166 /* 0xE3FFD6 */; _local2.useRollOver = true; _local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */; _local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */; _local2.selectionDuration = 200; _local2.openDuration = 250; _local2.borderStyle = "inset"; _local2.color = 734012 /* 0x0B333C */; _local2.textSelectedColor = 24371; _local2.textRollOverColor = 2831164 /* 0x2B333C */; _local2.textDisabledColor = 16777215 /* 0xFFFFFF */; _local2.vGridLines = true; _local2.hGridLines = false; _local2.vGridLineColor = 6710886 /* 0x666666 */; _local2.hGridLineColor = 6710886 /* 0x666666 */; _local2.headerColor = 15395562 /* 0xEAEAEA */; _local2.indentation = 17; _local2.folderOpenIcon = "TreeFolderOpen"; _local2.folderClosedIcon = "TreeFolderClosed"; _local2.defaultLeafIcon = "TreeNodeIcon"; _local2.disclosureOpenIcon = "TreeDisclosureOpen"; _local2.disclosureClosedIcon = "TreeDisclosureClosed"; _local2.popupDuration = 150; _local2.todayColor = 6710886 /* 0x666666 */; _local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration()); _local2.backgroundColor = 16777215 /* 0xFFFFFF */; _local2.borderColor = 13290186 /* 0xCACACA */; _local2.borderStyle = "inset"; _local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration()); _local2.borderStyle = "inset"; _local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration()); _local2.textAlign = "center"; _local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration()); _local2.borderColor = 14015965 /* 0xD5DDDD */; _local2.buttonColor = 7305079 /* 0x6F7777 */; _local2.shadowColor = 15658734 /* 0xEEEEEE */; _local2.highlightColor = 12897484 /* 0xC4CCCC */; _local2.shadowCapColor = 14015965 /* 0xD5DDDD */; _local2.borderCapColor = 9542041 /* 0x919999 */; var _local4 = new Object(); _local4.borderColor = 16711680 /* 0xFF0000 */; _local4.buttonColor = 16711680 /* 0xFF0000 */; _local4.shadowColor = 16711680 /* 0xFF0000 */; _local4.highlightColor = 16711680 /* 0xFF0000 */; _local4.shadowCapColor = 16711680 /* 0xFF0000 */; _local4.borderCapColor = 16711680 /* 0xFF0000 */; mx.core.UIComponent.prototype.origBorderStyles = _local4; var _local3; _local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration()); _local3.backgroundColor = 16777215 /* 0xFFFFFF */; _local3.borderStyle = "inset"; _global.styles.TextArea = _global.styles.TextInput; _local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "default"; _local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "alert"; _local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "inset"; _local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "none"; _local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration()); _local3.color = 11187123 /* 0xAAB3B3 */; _local3.fontWeight = "bold"; _local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3.fontSize = "11"; _local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "solid"; _local3.backgroundColor = 16777215 /* 0xFFFFFF */; _local3.borderColor = 9081738 /* 0x8A938A */; _local3.headerHeight = 22; _local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1))); _local3.verticalGap = -1; _local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration()); _local3.borderColor = 9542041 /* 0x919999 */; _local3.headerColor = 16777215 /* 0xFFFFFF */; _local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration()); _local3.fontSize = 10; _local3.textAlign = "right"; _local3.color = 2831164 /* 0x2B333C */; _local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3.fontSize = 11; _local3.textAlign = "center"; _local3.color = 2831164 /* 0x2B333C */; _local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration()); _local3.color = 16777215 /* 0xFFFFFF */; _local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration()); _local3.fontSize = 12; _local3.fontWeight = "bold"; _local3.textAlign = "center"; } function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) { if (typeof(r) == "object") { var _local18 = r.br; var _local16 = r.bl; var _local15 = r.tl; var _local10 = r.tr; } else { var _local10 = r; var _local15 = _local10; var _local16 = _local15; var _local18 = _local16; } if (typeof(c) == "object") { if (typeof(alpha) != "object") { var _local9 = [alpha, alpha]; } else { var _local9 = alpha; } if (ratios == undefined) { ratios = [0, 255]; } var _local14 = h * 0.7; if (typeof(rot) != "object") { var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */}; } else { var _local11 = rot; } if (gradient == "radial") { beginGradientFill("radial", c, _local9, ratios, _local11); } else { beginGradientFill("linear", c, _local9, ratios, _local11); } } else if (c != undefined) { beginFill(c, alpha); } r = _local18; var _local13 = r - (r * 0.707106781186547); var _local12 = r - (r * 0.414213562373095); moveTo(x + w, (y + h) - r); lineTo(x + w, (y + h) - r); curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13); curveTo((x + w) - _local12, y + h, (x + w) - r, y + h); r = _local16; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo(x + r, y + h); curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13); curveTo(x, (y + h) - _local12, x, (y + h) - r); r = _local15; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo(x, y + r); curveTo(x, y + _local12, x + _local13, y + _local13); curveTo(x + _local12, y, x + r, y); r = _local10; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo((x + w) - r, y); curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13); curveTo(x + w, y + _local12, x + w, y + r); lineTo(x + w, (y + h) - r); if (c != undefined) { endFill(); } } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); setThemeDefaults(); mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return(true); } static var classConstructed = classConstruct(); static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; static var UIObjectDependency = mx.core.UIObject; }
Symbol 126 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager { var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth; function DepthManager () { MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth; MovieClip.prototype.createChildAtDepth = createChildAtDepth; MovieClip.prototype.setDepthTo = setDepthTo; MovieClip.prototype.setDepthAbove = setDepthAbove; MovieClip.prototype.setDepthBelow = setDepthBelow; MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth; MovieClip.prototype.shuffleDepths = shuffleDepths; MovieClip.prototype.getDepthByFlag = getDepthByFlag; MovieClip.prototype.buildDepthTable = buildDepthTable; _global.ASSetPropFlags(MovieClip.prototype, "createClassChildAtDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "createChildAtDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthTo", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthAbove", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthBelow", 1); _global.ASSetPropFlags(MovieClip.prototype, "findNextAvailableDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "shuffleDepths", 1); _global.ASSetPropFlags(MovieClip.prototype, "getDepthByFlag", 1); _global.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); } 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); } function createClassChildAtDepth(className, depthFlag, initObj) { if (_childCounter == undefined) { _childCounter = 0; } var _local3 = buildDepthTable(); var _local2 = getDepthByFlag(depthFlag, _local3); var _local6 = "down"; if (depthFlag == kBottom) { _local6 = "up"; } var _local5; if (_local3[_local2] != undefined) { _local5 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local6); } var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj); if (_local5 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local5, _local3, _local6); } if (depthFlag == kTopmost) { _local4._topmost = true; } return(_local4); } function createChildAtDepth(linkageName, depthFlag, initObj) { if (_childCounter == undefined) { _childCounter = 0; } var _local3 = buildDepthTable(); var _local2 = getDepthByFlag(depthFlag, _local3); var _local6 = "down"; if (depthFlag == kBottom) { _local6 = "up"; } var _local5; if (_local3[_local2] != undefined) { _local5 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local6); } var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj); if (_local5 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local5, _local3, _local6); } if (depthFlag == kTopmost) { _local4._topmost = true; } return(_local4); } function setDepthTo(depthFlag) { var _local2 = _parent.buildDepthTable(); var _local3 = _parent.getDepthByFlag(depthFlag, _local2); if (_local2[_local3] != undefined) { shuffleDepths(this, _local3, _local2, undefined); } else { swapDepths(_local3); } if (depthFlag == kTopmost) { _topmost = true; } else { delete _topmost; } } function setDepthAbove(targetInstance) { if (targetInstance._parent != _parent) { return(undefined); } var _local2 = targetInstance.getDepth() + 1; var _local3 = _parent.buildDepthTable(); if ((_local3[_local2] != undefined) && (getDepth() < _local2)) { _local2 = _local2 - 1; } if (_local2 > highestDepth) { _local2 = highestDepth; } if (_local2 == highestDepth) { _parent.shuffleDepths(this, _local2, _local3, "down"); } else if (_local3[_local2] != undefined) { _parent.shuffleDepths(this, _local2, _local3, undefined); } else { swapDepths(_local2); } } function setDepthBelow(targetInstance) { if (targetInstance._parent != _parent) { return(undefined); } var _local6 = targetInstance.getDepth() - 1; var _local3 = _parent.buildDepthTable(); if ((_local3[_local6] != undefined) && (getDepth() > _local6)) { _local6 = _local6 + 1; } var _local4 = lowestDepth + numberOfAuthortimeLayers; var _local5; for (_local5 in _local3) { var _local2 = _local3[_local5]; if (_local2._parent != undefined) { _local4 = Math.min(_local4, _local2.getDepth()); } } if (_local6 < _local4) { _local6 = _local4; } if (_local6 == _local4) { _parent.shuffleDepths(this, _local6, _local3, "up"); } else if (_local3[_local6] != undefined) { _parent.shuffleDepths(this, _local6, _local3, undefined); } else { swapDepths(_local6); } } function findNextAvailableDepth(targetDepth, depthTable, direction) { var _local5 = lowestDepth + numberOfAuthortimeLayers; if (targetDepth < _local5) { targetDepth = _local5; } if (depthTable[targetDepth] == undefined) { return(targetDepth); } var _local2 = targetDepth; var _local1 = targetDepth; if (direction == "down") { while (depthTable[_local1] != undefined) { _local1--; } return(_local1); } while (depthTable[_local2] != undefined) { _local2++; } return(_local2); } function shuffleDepths(subject, targetDepth, depthTable, direction) { var _local9 = lowestDepth + numberOfAuthortimeLayers; var _local8 = _local9; var _local5; for (_local5 in depthTable) { var _local7 = depthTable[_local5]; if (_local7._parent != undefined) { _local9 = Math.min(_local9, _local7.getDepth()); } } if (direction == undefined) { if (subject.getDepth() > targetDepth) { direction = "up"; } else { direction = "down"; } } var _local1 = new Array(); for (_local5 in depthTable) { var _local7 = depthTable[_local5]; if (_local7._parent != undefined) { _local1.push(_local7); } } _local1.sort(sortFunction); if (direction == "up") { var _local3; var _local11; do { if (_local1.length <= 0) { break; } _local3 = _local1.pop(); } while (_local3 != subject); do { if (_local1.length <= 0) { break; } _local11 = subject.getDepth(); _local3 = _local1.pop(); var _local4 = _local3.getDepth(); if (_local11 > (_local4 + 1)) { if (_local4 >= 0) { subject.swapDepths(_local4 + 1); } else if ((_local11 > _local8) && (_local4 < _local8)) { subject.swapDepths(_local8); } } subject.swapDepths(_local3); } while (_local4 != targetDepth); } else if (direction == "down") { var _local3; do { if (_local1.length <= 0) { break; } _local3 = _local1.shift(); } while (_local3 != subject); do { if (_local1.length <= 0) { break; } var _local11 = _local3.getDepth(); _local3 = _local1.shift(); var _local4 = _local3.getDepth(); if ((_local11 < (_local4 - 1)) && (_local4 > 0)) { subject.swapDepths(_local4 - 1); } subject.swapDepths(_local3); } while (_local4 != targetDepth); } } function getDepthByFlag(depthFlag, depthTable) { var _local2 = 0; if ((depthFlag == kTop) || (depthFlag == kNotopmost)) { var _local5 = 0; var _local7 = false; var _local8; for (_local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { if (!_local9._topmost) { _local2 = Math.max(_local2, _local9.getDepth()); } else if (!_local7) { _local5 = _local9.getDepth(); _local7 = true; } else { _local5 = Math.min(_local5, _local9.getDepth()); } } } } _local2 = _local2 + 20; if (_local7) { if (_local2 >= _local5) { _local2 = _local5 - 1; } } } else if (depthFlag == kBottom) { for (var _local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { _local2 = Math.min(_local2, _local9.getDepth()); } } } _local2 = _local2 - 20; } else if (depthFlag == kTopmost) { for (var _local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { _local2 = Math.max(_local2, _local9.getDepth()); } } } _local2 = _local2 + 100; } if (_local2 >= highestDepth) { _local2 = highestDepth; } var _local6 = lowestDepth + numberOfAuthortimeLayers; for (var _local9 in depthTable) { var _local4 = depthTable[_local9]; if (_local4._parent != undefined) { _local6 = Math.min(_local6, _local4.getDepth()); } } if (_local2 <= _local6) { _local2 = _local6; } return(_local2); } function buildDepthTable(Void) { var _local5 = new Array(); var _local4; for (_local4 in this) { var _local2 = this[_local4]; var _local3 = typeof(_local2); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) { if (_local2._parent == this) { _local5[_local2.getDepth()] = _local2; } } } return(_local5); } 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 127 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 _local7 = Stage.width; var _local6 = Stage.height; var _local9 = _global.origWidth; var _local8 = _global.origHeight; var _local3 = Stage.align; var _local5 = (_local9 - _local7) / 2; var _local4 = (_local8 - _local6) / 2; if (_local3 == "T") { _local4 = 0; } else if (_local3 == "B") { _local4 = _local8 - _local6; } else if (_local3 == "L") { _local5 = 0; } else if (_local3 == "R") { _local5 = _local9 - _local7; } else if (_local3 == "LT") { _local4 = 0; _local5 = 0; } else if (_local3 == "TR") { _local4 = 0; _local5 = _local9 - _local7; } else if (_local3 == "LB") { _local4 = _local8 - _local6; _local5 = 0; } else if (_local3 == "RB") { _local4 = _local8 - _local6; _local5 = _local9 - _local7; } if (__screen == undefined) { __screen = new Object(); } __screen.x = _local5; __screen.y = _local4; __screen.width = _local7; __screen.height = _local6; _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 128 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent { var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, lastMouse, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, findFocusFromObject; function FocusManager () { super(); } function get defaultPushButton() { return(__defaultPushButton); } function set defaultPushButton(x) { if (x != __defaultPushButton) { __defaultPushButton.__set__emphasized(false); __defaultPushButton = x; defPushButton = x; x.__set__emphasized(true); } //return(defaultPushButton); } function getMaxTabIndex(o) { var _local3 = 0; var _local6; for (_local6 in o) { var _local2 = o[_local6]; if (_local2._parent == o) { if (_local2.tabIndex != undefined) { if (_local2.tabIndex > _local3) { _local3 = _local2.tabIndex; } } if (_local2.tabChildren == true) { var _local4 = getMaxTabIndex(_local2); if (_local4 > _local3) { _local3 = _local4; } } } } return(_local3); } function getNextTabIndex(Void) { return(getMaxTabIndex(form) + 1); } function get nextTabIndex() { return(getNextTabIndex()); } function relocate(Void) { var _local2 = mx.managers.SystemManager.__get__screen(); move(_local2.x - 1, _local2.y - 1); } function init(Void) { super.init(); tabEnabled = false; _width = (_height = 1); _x = (_y = -1); _alpha = 0; _parent.focusManager = this; _parent.tabChildren = true; _parent.tabEnabled = false; form = _parent; _parent.addEventListener("hide", this); _parent.addEventListener("reveal", this); mx.managers.SystemManager.init(); mx.managers.SystemManager.addFocusManager(form); tabCapture.tabIndex = 0; watch("enabled", enabledChanged); Selection.addListener(this); lastMouse = new Object(); _global.ASSetPropFlags(_parent, "focusManager", 1); _global.ASSetPropFlags(_parent, "tabChildren", 1); _global.ASSetPropFlags(_parent, "tabEnabled", 1); } function enabledChanged(id, oldValue, newValue) { _visible = newValue; return(newValue); } function activate(Void) { Key.addListener(this); activated = (_visible = true); if (lastFocus != undefined) { bNeedFocus = true; if (!mx.managers.SystemManager.isMouseDown) { doLater(this, "restoreFocus"); } } } function deactivate(Void) { Key.removeListener(this); activated = (_visible = false); var _local2 = getSelectionFocus(); var _local3 = getActualFocus(_local2); if (isOurFocus(_local3)) { lastSelFocus = _local2; lastFocus = _local3; } cancelAllDoLaters(); } function isOurFocus(o) { if (o.focusManager == this) { return(true); } while (o != undefined) { if (o.focusManager != undefined) { return(false); } if (o._parent == _parent) { return(true); } o = o._parent; } return(false); } function onSetFocus(o, n) { if (n == null) { if (activated) { bNeedFocus = true; } } else { var _local2 = getFocus(); if (isOurFocus(_local2)) { bNeedFocus = false; lastFocus = _local2; lastSelFocus = n; } } } function restoreFocus(Void) { var _local2 = lastSelFocus.hscroll; if (_local2 != undefined) { var _local5 = lastSelFocus.scroll; var _local4 = lastSelFocus.background; } lastFocus.setFocus(); var _local3 = Selection; Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex); if (_local2 != undefined) { lastSelFocus.scroll = _local5; lastSelFocus.hscroll = _local2; lastSelFocus.background = _local4; } } function onUnload(Void) { mx.managers.SystemManager.removeFocusManager(form); } function setFocus(o) { if (o == null) { Selection.setFocus(null); } else if (o.setFocus == undefined) { Selection.setFocus(o); } else { o.setFocus(); } } function getActualFocus(o) { var _local1 = o._parent; while (_local1 != undefined) { if (_local1.focusTextField != undefined) { while (_local1.focusTextField != undefined) { o = _local1; _local1 = _local1._parent; if (_local1 == undefined) { return(undefined); } if (_local1.focusTextField == undefined) { return(o); } } } if (_local1.tabEnabled != true) { return(o); } o = _local1; _local1 = o._parent; } return(undefined); } function getSelectionFocus() { var m = Selection.getFocus(); var o = eval (m); return(o); } function getFocus(Void) { var _local2 = getSelectionFocus(); return(getActualFocus(_local2)); } function walkTree(p, index, groupName, dir, lookup, firstChild) { var _local5 = true; var _local11; for (_local11 in p) { var _local2 = p[_local11]; if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; if (_local2 != _lastTarget) { if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) { continue; } if ((_local2 instanceof TextField) && (_local2.selectable == false)) { continue; } if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) { if (firstChild) { _firstNode = _local2; firstChild = false; } } if (_nextIsNext == true) { if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) { _nextNode = _local2; } } if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) { if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) { } else { _lastx = _local2; } } } else { _prevNode = _lastx; _needPrev = false; _nextIsNext = true; } if (_local2.tabIndex != undefined) { if (_local2.tabIndex == index) { if (_foundList[_local2._name] == undefined) { if (_needPrev) { _prevObj = _local2; _needPrev = false; } _nextObj = _local2; } } if (dir && (_local2.tabIndex > index)) { if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) { _nextObj = _local2; } } else if ((!dir) && (_local2.tabIndex < index)) { if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) { _prevObj = _local2; } } if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) { _firstObj = _local2; } if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) { _lastObj = _local2; } } if (_local2.tabChildren) { getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild)); } _local5 = false; } else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) { if (_local2 == _lastTarget) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; if (_prevNode == undefined) { var _local3 = _lastx; var _local7 = false; while (_local3 != undefined) { if (_local3 == _local2) { _local7 = true; break; } _local3 = _local3._parent; } if (_local7 == false) { _prevNode = _lastx; } } _needPrev = false; if (_nextNode == undefined) { _nextIsNext = true; } } else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild)); } _local5 = false; } } _lastNode = _lastx; if (lookup) { if (p._parent != undefined) { if (p != _parent) { if ((_prevNode == undefined) && (dir)) { _needPrev = true; } else if ((_nextNode == undefined) && (!dir)) { _nextIsNext = false; } _lastTarget = _lastTarget._parent; getTabCandidate(p._parent, index, groupName, dir, true); } } } } function getTabCandidate(o, index, groupName, dir, firstChild) { var _local2; var _local3 = true; if (o == _parent) { _local2 = o; _local3 = false; } else { _local2 = o._parent; if (_local2 == undefined) { _local2 = o; _local3 = false; } } walkTree(_local2, index, groupName, dir, _local3, firstChild); } function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) { walkTree(o, index, groupName, dir, false, firstChild); } function getFocusManagerFromObject(o) { while (o != undefined) { if (o.focusManager != undefined) { return(o.focusManager); } o = o._parent; } return(undefined); } function tabHandler(Void) { bDrawFocus = true; var _local5 = getSelectionFocus(); var _local4 = getActualFocus(_local5); if (_local4 != _local5) { _local5 = _local4; } if (getFocusManagerFromObject(_local5) != this) { _local5 == undefined; } if (_local5 == undefined) { _local5 = form; } else if (_local5.tabIndex != undefined) { if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) { _foundList = new Object(); _foundList.tabIndex = _local5.tabIndex; } _foundList[_local5._name] = _local5; } var _local3 = Key.isDown(16) != true; _searchKey = getTimer(); _needPrev = true; _nextIsNext = false; _lastx = undefined; _firstNode = undefined; _lastNode = undefined; _nextNode = undefined; _prevNode = undefined; _firstObj = undefined; _lastObj = undefined; _nextObj = undefined; _prevObj = undefined; _lastTarget = _local5; var _local6 = _local5; getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true); var _local2; if (_local3) { if (_nextObj != undefined) { _local2 = _nextObj; } else { _local2 = _firstObj; } } else if (_prevObj != undefined) { _local2 = _prevObj; } else { _local2 = _lastObj; } if (_local2.tabIndex != _local5.tabIndex) { _foundList = new Object(); _foundList.tabIndex = _local2.tabIndex; _foundList[_local2._name] = _local2; } else { if (_foundList == undefined) { _foundList = new Object(); _foundList.tabIndex = _local2.tabIndex; } _foundList[_local2._name] = _local2; } if (_local2 == undefined) { if (_local3 == false) { if (_nextNode != undefined) { _local2 = _nextNode; } else { _local2 = _firstNode; } } else if ((_prevNode == undefined) || (_local5 == form)) { _local2 = _lastNode; } else { _local2 = _prevNode; } } if (_local2 == undefined) { return(undefined); } lastTabFocus = _local2; setFocus(_local2); if (_local2.emphasized != undefined) { if (defPushButton != undefined) { _local5 = defPushButton; defPushButton = _local2; _local5.emphasized = false; _local2.emphasized = true; } } else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) { _local5 = defPushButton; defPushButton = __defaultPushButton; _local5.emphasized = false; __defaultPushButton.__set__emphasized(true); } } function onKeyDown(Void) { mx.managers.SystemManager.idleFrames = 0; if (defaultPushButtonEnabled) { if (Key.getCode() == 13) { if (defaultPushButton != undefined) { doLater(this, "sendDefaultPushButtonEvent"); } } } } function sendDefaultPushButtonEvent(Void) { defPushButton.dispatchEvent({type:"click"}); } function getMousedComponentFromChildren(x, y, o) { for (var _local7 in o) { var _local2 = o[_local7]; if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) { _local2._searchKey = _searchKey; if (_local2.hitTest(x, y, true)) { if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) { return(_local2); } var _local3 = getMousedComponentFromChildren(x, y, _local2); if (_local3 != undefined) { return(_local3); } return(_local2); } } } return(undefined); } function mouseActivate(Void) { if (!bNeedFocus) { return(undefined); } _searchKey = getTimer(); var _local2 = getMousedComponentFromChildren(lastMouse.x, lastMouse.y, form); if (_local2 instanceof mx.core.UIComponent) { return(undefined); } _local2 = findFocusFromObject(_local2); if (_local2 == lastFocus) { return(undefined); } if (_local2 == undefined) { doLater(this, "restoreFocus"); return(undefined); } var _local3 = _local2.hscroll; if (_local3 != undefined) { var _local6 = _local2.scroll; var _local5 = _local2.background; } setFocus(_local2); var _local4 = Selection; Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex); if (_local3 != undefined) { _local2.scroll = _local6; _local2.hscroll = _local3; _local2.background = _local5; } } function _onMouseDown(Void) { bDrawFocus = false; if (lastFocus != undefined) { lastFocus.drawFocus(false); } mx.managers.SystemManager.idleFrames = 0; var _local3 = Selection; _local3.lastBeginIndex = Selection.getBeginIndex(); _local3.lastEndIndex = Selection.getEndIndex(); lastMouse.x = _root._xmouse; lastMouse.y = _root._ymouse; _root.localToGlobal(lastMouse); } function onMouseUp(Void) { if (_visible) { doLater(this, "mouseActivate"); } } function handleEvent(e) { if (e.type == "reveal") { mx.managers.SystemManager.activate(form); } else { mx.managers.SystemManager.deactivate(form); } } static function enableFocusManagement() { if (!initialized) { initialized = true; Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } } } static var symbolName = "FocusManager"; static var symbolOwner = mx.managers.FocusManager; static var version = "2.0.2.127"; var className = "FocusManager"; var bNeedFocus = false; var bDrawFocus = false; var defaultPushButtonEnabled = true; var activated = true; static var initialized = false; static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 129 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement { var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible; function FocusRect () { super(); boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function draw(o) { o.adjustFocusRect(); } function setSize(w, h, r, a, rectCol) { _xscale = (_yscale = 100); clear(); if (typeof(r) == "object") { r.br = ((r.br > 2) ? (r.br - 2) : 0); r.bl = ((r.bl > 2) ? (r.bl - 2) : 0); r.tr = ((r.tr > 2) ? (r.tr - 2) : 0); r.tl = ((r.tl > 2) ? (r.tl - 2) : 0); beginFill(rectCol, a * 0.3); drawRoundRect(0, 0, w, h, r); drawRoundRect(2, 2, w - 4, h - 4, r); endFill(); r.br = ((r.br > 1) ? (r.br + 1) : 0); r.bl = ((r.bl > 1) ? (r.bl + 1) : 0); r.tr = ((r.tr > 1) ? (r.tr + 1) : 0); r.tl = ((r.tl > 1) ? (r.tl + 1) : 0); beginFill(rectCol, a * 0.3); drawRoundRect(1, 1, w - 2, h - 2, r); r.br = ((r.br > 1) ? (r.br - 1) : 0); r.bl = ((r.bl > 1) ? (r.bl - 1) : 0); r.tr = ((r.tr > 1) ? (r.tr - 1) : 0); r.tl = ((r.tl > 1) ? (r.tl - 1) : 0); drawRoundRect(2, 2, w - 4, h - 4, r); endFill(); } else { var _local5; if (r != 0) { _local5 = r - 2; } else { _local5 = 0; } beginFill(rectCol, a * 0.3); drawRoundRect(0, 0, w, h, r); drawRoundRect(2, 2, w - 4, h - 4, _local5); endFill(); beginFill(rectCol, a * 0.3); if (r != 0) { _local5 = r - 2; r = r - 1; } else { _local5 = 0; r = 0; } drawRoundRect(1, 1, w - 2, h - 2, r); drawRoundRect(2, 2, w - 4, h - 4, _local5); endFill(); } } function handleEvent(e) { if (e.type == "unload") { _visible = true; } else if (e.type == "resize") { e.target.adjustFocusRect(); } else if (e.type == "move") { e.target.adjustFocusRect(); } } static function classConstruct() { mx.core.UIComponent.prototype.drawFocus = function (focused) { var _local2 = this._parent.focus_mc; if (!focused) { _local2._visible = false; this.removeEventListener("unload", _local2); this.removeEventListener("move", _local2); this.removeEventListener("resize", _local2); } else { if (_local2 == undefined) { _local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop); _local2.tabEnabled = false; this._parent.focus_mc = _local2; } else { _local2._visible = true; } _local2.draw(this); if (_local2.getDepth() < this.getDepth()) { _local2.setDepthAbove(this); } this.addEventListener("unload", _local2); this.addEventListener("move", _local2); this.addEventListener("resize", _local2); } }; mx.core.UIComponent.prototype.adjustFocusRect = function () { var _local2 = this.getStyle("themeColor"); if (_local2 == undefined) { _local2 = 8453965 /* 0x80FF4D */; } var _local3 = this._parent.focus_mc; _local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2); _local3.move(this.x - 2, this.y - 2); }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect; mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return(true); } static var classConstructed = classConstruct(); static var DefaultsDependency = mx.skins.halo.Defaults; static var UIComponentDependency = mx.core.UIComponent; }
Symbol 130 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows { function OverlappedWindows () { } static function checkIdle(Void) { if (mx.managers.SystemManager.idleFrames > 10) { mx.managers.SystemManager.dispatchEvent({type:"idle"}); } else { mx.managers.SystemManager.idleFrames++; } } static function __addEventListener(e, o, l) { if (e == "idle") { if (mx.managers.SystemManager.interval == undefined) { mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100); } } mx.managers.SystemManager._xAddEventListener(e, o, l); } static function __removeEventListener(e, o, l) { if (e == "idle") { if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) { clearInterval(mx.managers.SystemManager.interval); } } else { mx.managers.SystemManager._xRemoveEventListener(e, o, l); } } static function onMouseDown(Void) { mx.managers.SystemManager.idleFrames = 0; mx.managers.SystemManager.isMouseDown = true; var _local5 = _root; var _local3; var _local8 = _root._xmouse; var _local7 = _root._ymouse; if (mx.managers.SystemManager.form.modalWindow == undefined) { if (mx.managers.SystemManager.forms.length > 1) { var _local6 = mx.managers.SystemManager.forms.length; var _local4; _local4 = 0; while (_local4 < _local6) { var _local2 = mx.managers.SystemManager.forms[_local4]; if (_local2._visible) { if (_local2.hitTest(_local8, _local7)) { if (_local3 == undefined) { _local3 = _local2.getDepth(); _local5 = _local2; } else if (_local3 < _local2.getDepth()) { _local3 = _local2.getDepth(); _local5 = _local2; } } } _local4++; } if (_local5 != mx.managers.SystemManager.form) { mx.managers.SystemManager.activate(_local5); } } } var _local9 = mx.managers.SystemManager.form; _local9.focusManager._onMouseDown(); } static function onMouseMove(Void) { mx.managers.SystemManager.idleFrames = 0; } static function onMouseUp(Void) { mx.managers.SystemManager.isMouseDown = false; mx.managers.SystemManager.idleFrames = 0; } static function activate(f) { if (mx.managers.SystemManager.form != undefined) { if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) { var _local1 = mx.managers.SystemManager.form; _local1.focusManager.deactivate(); } } mx.managers.SystemManager.form = f; f.focusManager.activate(); } static function deactivate(f) { if (mx.managers.SystemManager.form != undefined) { if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) { var _local5 = mx.managers.SystemManager.form; _local5.focusManager.deactivate(); var _local3 = mx.managers.SystemManager.forms.length; var _local1; var _local2; _local1 = 0; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1] == f) { _local1 = _local1 + 1; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1]._visible == true) { _local2 = mx.managers.SystemManager.forms[_local1]; } _local1++; } mx.managers.SystemManager.form = _local2; break; } if (mx.managers.SystemManager.forms[_local1]._visible == true) { _local2 = mx.managers.SystemManager.forms[_local1]; } _local1++; } _local5 = mx.managers.SystemManager.form; _local5.focusManager.activate(); } } } static function addFocusManager(f) { mx.managers.SystemManager.forms.push(f); mx.managers.SystemManager.activate(f); } static function removeFocusManager(f) { var _local3 = mx.managers.SystemManager.forms.length; var _local1; _local1 = 0; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1] == f) { if (mx.managers.SystemManager.form == f) { mx.managers.SystemManager.deactivate(f); } mx.managers.SystemManager.forms.splice(_local1, 1); return(undefined); } _local1++; } } static function enableOverlappedWindows() { if (!initialized) { initialized = true; mx.managers.SystemManager.checkIdle = checkIdle; mx.managers.SystemManager.__addEventListener = __addEventListener; mx.managers.SystemManager.__removeEventListener = __removeEventListener; mx.managers.SystemManager.onMouseDown = onMouseDown; mx.managers.SystemManager.onMouseMove = onMouseMove; mx.managers.SystemManager.onMouseUp = onMouseUp; mx.managers.SystemManager.activate = activate; mx.managers.SystemManager.deactivate = deactivate; mx.managers.SystemManager.addFocusManager = addFocusManager; mx.managers.SystemManager.removeFocusManager = removeFocusManager; } } static var initialized = false; static var SystemManagerDependency = mx.managers.SystemManager; }
Symbol 131 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle { var styleName, stylecache, _color, setColor, invalidateStyle; function CSSSetStyle () { } function _setStyle(styleProp, newValue) { this[styleProp] = newValue; if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) { if (styleProp == "color") { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } } _level0.changeTextStyleInChildren(styleProp); return(undefined); } if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } if (styleProp == "themeColor") { var _local7 = mx.styles.StyleManager.colorNames.haloBlue; var _local6 = mx.styles.StyleManager.colorNames.haloGreen; var _local8 = mx.styles.StyleManager.colorNames.haloOrange; var _local4 = {}; _local4[_local7] = 12188666 /* 0xB9FBFA */; _local4[_local6] = 13500353 /* 0xCDFFC1 */; _local4[_local8] = 16766319 /* 0xFFD56F */; var _local5 = {}; _local5[_local7] = 13958653 /* 0xD4FDFD */; _local5[_local6] = 14942166 /* 0xE3FFD6 */; _local5[_local8] = 16772787 /* 0xFFEEB3 */; var _local9 = _local4[newValue]; var _local10 = _local5[newValue]; if (_local9 == undefined) { _local9 = newValue; } if (_local10 == undefined) { _local10 = newValue; } setStyle("selectionColor", _local9); setStyle("rollOverColor", _local10); } _level0.changeColorStyleInChildren(styleName, styleProp, newValue); } else { if ((styleProp == "backgroundColor") && (isNaN(newValue))) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } _level0.notifyStyleChangeInChildren(styleName, styleProp, newValue); } } function changeTextStyleInChildren(styleProp) { var _local4 = getTimer(); var _local5; for (_local5 in this) { var _local2 = this[_local5]; if (_local2._parent == this) { if (_local2.searchKey != _local4) { if (_local2.stylecache != undefined) { delete _local2.stylecache.tf; delete _local2.stylecache[styleProp]; } _local2.invalidateStyle(styleProp); _local2.changeTextStyleInChildren(styleProp); _local2.searchKey = _local4; } } } } function changeColorStyleInChildren(sheetName, colorStyle, newValue) { var _local6 = getTimer(); var _local7; for (_local7 in this) { var _local2 = this[_local7]; if (_local2._parent == this) { if (_local2.searchKey != _local6) { if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) { if (_local2.stylecache != undefined) { delete _local2.stylecache[colorStyle]; } if (typeof(_local2._color) == "string") { if (_local2._color == colorStyle) { var _local4 = _local2.getStyle(colorStyle); if (colorStyle == "color") { if (stylecache.tf.color != undefined) { stylecache.tf.color = _local4; } } _local2.setColor(_local4); } } else if (_local2._color[colorStyle] != undefined) { if (typeof(_local2) != "movieclip") { _local2._parent.invalidateStyle(); } else { _local2.invalidateStyle(colorStyle); } } } _local2.changeColorStyleInChildren(sheetName, colorStyle, newValue); _local2.searchKey = _local6; } } } } function notifyStyleChangeInChildren(sheetName, styleProp, newValue) { var _local5 = getTimer(); var _local6; for (_local6 in this) { var _local2 = this[_local6]; if (_local2._parent == this) { if (_local2.searchKey != _local5) { if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) { if (_local2.stylecache != undefined) { delete _local2.stylecache[styleProp]; delete _local2.stylecache.tf; } delete _local2.enabledColor; _local2.invalidateStyle(styleProp); } _local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue); _local2.searchKey = _local5; } } } } function setStyle(styleProp, newValue) { if (stylecache != undefined) { delete stylecache[styleProp]; delete stylecache.tf; } this[styleProp] = newValue; if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } if (styleProp == "themeColor") { var _local10 = mx.styles.StyleManager.colorNames.haloBlue; var _local9 = mx.styles.StyleManager.colorNames.haloGreen; var _local11 = mx.styles.StyleManager.colorNames.haloOrange; var _local6 = {}; _local6[_local10] = 12188666 /* 0xB9FBFA */; _local6[_local9] = 13500353 /* 0xCDFFC1 */; _local6[_local11] = 16766319 /* 0xFFD56F */; var _local7 = {}; _local7[_local10] = 13958653 /* 0xD4FDFD */; _local7[_local9] = 14942166 /* 0xE3FFD6 */; _local7[_local11] = 16772787 /* 0xFFEEB3 */; var _local12 = _local6[newValue]; var _local13 = _local7[newValue]; if (_local12 == undefined) { _local12 = newValue; } if (_local13 == undefined) { _local13 = newValue; } setStyle("selectionColor", _local12); setStyle("rollOverColor", _local13); } if (typeof(_color) == "string") { if (_color == styleProp) { if (styleProp == "color") { if (stylecache.tf.color != undefined) { stylecache.tf.color = newValue; } } setColor(newValue); } } else if (_color[styleProp] != undefined) { invalidateStyle(styleProp); } changeColorStyleInChildren(undefined, styleProp, newValue); } else { if ((styleProp == "backgroundColor") && (isNaN(newValue))) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } invalidateStyle(styleProp); } if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) { var _local8; var _local5 = newValue; if (styleProp == "styleName") { _local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5)); _local5 = _local8.themeColor; if (_local5 != undefined) { _local8.rollOverColor = (_local8.selectionColor = _local5); } } notifyStyleChangeInChildren(undefined, styleProp, newValue); } } static function enableRunTimeCSS() { } static function classConstruct() { var _local2 = MovieClip.prototype; var _local3 = mx.styles.CSSSetStyle.prototype; mx.styles.CSSStyleDeclaration.prototype.setStyle = _local3._setStyle; _local2.changeTextStyleInChildren = _local3.changeTextStyleInChildren; _local2.changeColorStyleInChildren = _local3.changeColorStyleInChildren; _local2.notifyStyleChangeInChildren = _local3.notifyStyleChangeInChildren; _local2.setStyle = _local3.setStyle; _global.ASSetPropFlags(_local2, "changeTextStyleInChildren", 1); _global.ASSetPropFlags(_local2, "changeColorStyleInChildren", 1); _global.ASSetPropFlags(_local2, "notifyStyleChangeInChildren", 1); _global.ASSetPropFlags(_local2, "setStyle", 1); var _local4 = TextField.prototype; _local4.setStyle = _local2.setStyle; _local4.changeTextStyleInChildren = _local3.changeTextStyleInChildren; return(true); } static var classConstructed = classConstruct(); static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; }
Symbol 132 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions { function UIComponentExtensions () { } static function Extensions() { if (bExtended == true) { return(true); } bExtended = true; TextField.prototype.setFocus = function () { Selection.setFocus(this); }; TextField.prototype.onSetFocus = function (oldFocus) { if (this.tabEnabled != false) { if (this.getFocusManager().bDrawFocus) { this.drawFocus(true); } } }; TextField.prototype.onKillFocus = function (oldFocus) { if (this.tabEnabled != false) { this.drawFocus(false); } }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager; mx.managers.OverlappedWindows.enableOverlappedWindows(); mx.styles.CSSSetStyle.enableRunTimeCSS(); mx.managers.FocusManager.enableFocusManagement(); } static var bExtended = false; static var UIComponentExtended = Extensions(); static var UIComponentDependency = mx.core.UIComponent; static var FocusManagerDependency = mx.managers.FocusManager; static var OverlappedWindowsDependency = mx.managers.OverlappedWindows; }
Symbol 133 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 134 MovieClip [__Packages.mx.skins.RectBorder] Frame 0
class mx.skins.RectBorder extends mx.skins.Border { var __width, __height, offset, __borderMetrics; 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 = offset; if (__borderMetrics == undefined) { __borderMetrics = {left:_local2, top:_local2, right:_local2, bottom:_local2}; } else { __borderMetrics.left = _local2; __borderMetrics.top = _local2; __borderMetrics.right = _local2; __borderMetrics.bottom = _local2; } return(__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.2.127"; var className = "RectBorder"; var borderStyleName = "borderStyle"; var borderColorName = "borderColor"; var shadowColorName = "shadowColor"; var highlightColorName = "highlightColor"; var buttonColorName = "buttonColor"; var backgroundColorName = "backgroundColor"; }
Symbol 135 MovieClip [__Packages.mx.skins.halo.RectBorder] Frame 0
class mx.skins.halo.RectBorder extends mx.skins.RectBorder { var offset, getStyle, borderStyleName, __borderMetrics, className, borderColorName, backgroundColorName, shadowColorName, highlightColorName, buttonColorName, __get__width, __get__height, clear, _color, drawRoundRect, beginFill, drawRect, endFill; function RectBorder () { super(); } function init(Void) { borderWidths.default = 3; super.init(); } function getBorderMetrics(Void) { if (offset == undefined) { var _local3 = getStyle(borderStyleName); offset = borderWidths[_local3]; } if ((getStyle(borderStyleName) == "default") || (getStyle(borderStyleName) == "alert")) { __borderMetrics = {left:3, top:1, right:3, bottom:3}; return(__borderMetrics); } return(super.getBorderMetrics()); } function drawBorder(Void) { var _local6 = _global.styles[className]; if (_local6 == undefined) { _local6 = _global.styles.RectBorder; } var _local5 = getStyle(borderStyleName); var _local7 = getStyle(borderColorName); if (_local7 == undefined) { _local7 = _local6[borderColorName]; } var _local8 = getStyle(backgroundColorName); if (_local8 == undefined) { _local8 = _local6[backgroundColorName]; } var _local16 = getStyle("backgroundImage"); if (_local5 != "none") { var _local14 = getStyle(shadowColorName); if (_local14 == undefined) { _local14 = _local6[shadowColorName]; } var _local13 = getStyle(highlightColorName); if (_local13 == undefined) { _local13 = _local6[highlightColorName]; } var _local12 = getStyle(buttonColorName); if (_local12 == undefined) { _local12 = _local6[buttonColorName]; } var _local11 = getStyle(borderCapColorName); if (_local11 == undefined) { _local11 = _local6[borderCapColorName]; } var _local10 = getStyle(shadowCapColorName); if (_local10 == undefined) { _local10 = _local6[shadowCapColorName]; } } offset = borderWidths[_local5]; var _local9 = offset; var _local3 = __get__width(); var _local4 = __get__height(); clear(); _color = undefined; if (_local5 == "none") { } else if (_local5 == "inset") { _color = colorList; draw3dBorder(_local11, _local12, _local7, _local13, _local14, _local10); } else if (_local5 == "outset") { _color = colorList; draw3dBorder(_local11, _local7, _local12, _local14, _local13, _local10); } else if (_local5 == "alert") { var _local15 = getStyle("themeColor"); drawRoundRect(0, 5, _local3, _local4 - 5, 5, 6184542, 10); drawRoundRect(1, 4, _local3 - 2, _local4 - 5, 4, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, _local15, 50); drawRoundRect(3, 1, _local3 - 6, _local4 - 4, 2, 16777215, 100); } else if (_local5 == "default") { drawRoundRect(0, 5, _local3, _local4 - 5, {tl:5, tr:5, br:0, bl:0}, 6184542, 10); drawRoundRect(1, 4, _local3 - 2, _local4 - 5, {tl:4, tr:4, br:0, bl:0}, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, {tl:3, tr:3, br:0, bl:0}, [12897484, 11844796], 100, 0, "radial"); drawRoundRect(3, 1, _local3 - 6, _local4 - 4, {tl:2, tr:2, br:0, bl:0}, 16777215, 100); } else if (_local5 == "dropDown") { drawRoundRect(0, 0, _local3 + 1, _local4, {tl:4, tr:0, br:0, bl:4}, [13290186, 7895160], 100, -10, "linear"); drawRoundRect(1, 1, _local3 - 1, _local4 - 2, {tl:3, tr:0, br:0, bl:3}, 16777215, 100); } else if (_local5 == "menuBorder") { var _local15 = getStyle("themeColor"); drawRoundRect(4, 4, _local3 - 2, _local4 - 3, 0, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(4, 4, _local3 - 1, _local4 - 2, 0, 6184542, 10); drawRoundRect(0, 0, _local3 + 1, _local4, 0, [0, 14342874], 100, 250, "linear"); drawRoundRect(0, 0, _local3 + 1, _local4, 0, _local15, 50); drawRoundRect(2, 2, _local3 - 3, _local4 - 4, 0, 16777215, 100); } else if (_local5 == "comboNonEdit") { } else { beginFill(_local7); drawRect(0, 0, _local3, _local4); drawRect(1, 1, _local3 - 1, _local4 - 1); endFill(); _color = borderColorName; } if (_local8 != undefined) { beginFill(_local8); drawRect(_local9, _local9, __get__width() - _local9, __get__height() - _local9); endFill(); } } function draw3dBorder(c1, c2, c3, c4, c5, c6) { var _local3 = __get__width(); var _local2 = __get__height(); beginFill(c1); drawRect(0, 0, _local3, _local2); drawRect(1, 0, _local3 - 1, _local2); endFill(); beginFill(c2); drawRect(1, 0, _local3 - 1, 1); endFill(); beginFill(c3); drawRect(1, _local2 - 1, _local3 - 1, _local2); endFill(); beginFill(c4); drawRect(1, 1, _local3 - 1, 2); endFill(); beginFill(c5); drawRect(1, _local2 - 2, _local3 - 1, _local2 - 1); endFill(); beginFill(c6); drawRect(1, 2, _local3 - 1, _local2 - 2); drawRect(2, 2, _local3 - 2, _local2 - 2); endFill(); } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); _global.styles.rectBorderClass = mx.skins.halo.RectBorder; _global.skinRegistry.RectBorder = true; return(true); } static var symbolName = "RectBorder"; static var symbolOwner = mx.skins.halo.RectBorder; static var version = "2.0.2.127"; var borderCapColorName = "borderCapColor"; var shadowCapColorName = "shadowCapColor"; var colorList = {highlightColor:0, borderColor:0, buttonColor:0, shadowColor:0, borderCapColor:0, shadowCapColor:0}; var borderWidths = {none:0, solid:1, inset:2, outset:2, alert:3, dropDown:2, menuBorder:2, comboNonEdit:2}; static var classConstructed = classConstruct(); static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 136 MovieClip [__Packages.mx.skins.halo.ButtonSkin] Frame 0
class mx.skins.halo.ButtonSkin extends mx.skins.RectBorder { var __get__width, __get__height, getStyle, _parent, clear, drawRoundRect, __get__x, __get__y; function ButtonSkin () { super(); } function init() { super.init(); } function size() { drawHaloRect(__get__width(), __get__height()); } function drawHaloRect(w, h) { var _local6 = getStyle("borderStyle"); var _local4 = getStyle("themeColor"); var _local5 = _parent.emphasized; clear(); switch (_local6) { case "falseup" : if (_local5) { drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 75); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 75); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); } else { drawRoundRect(0, 0, w, h, 5, 9542041, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, "radial"); drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, "radial"); drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100); } break; case "falsedown" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20); break; case "falserollover" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 50); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case "falsedisabled" : drawRoundRect(0, 0, w, h, 5, 13159628, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); break; case "trueup" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16250871, 100); break; case "truedown" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20); break; case "truerollover" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 40); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case "truedisabled" : drawRoundRect(0, 0, w, h, 5, 13159628, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); } } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); _global.skinRegistry.ButtonSkin = true; return(true); } static var symbolName = "ButtonSkin"; static var symbolOwner = mx.skins.halo.ButtonSkin; var className = "ButtonSkin"; var backgroundColorName = "buttonColor"; static var classConstructed = classConstruct(); static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 137 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar] Frame 0
class mx.controls.scrollClasses.ScrollBar extends mx.core.UIComponent { var isScrolling, scrollTrack_mc, scrollThumb_mc, __height, tabEnabled, focusEnabled, boundingBox_mc, setSkin, upArrow_mc, _minHeight, _minWidth, downArrow_mc, createObject, createClassObject, enabled, _height, dispatchEvent, minMode, maxMode, plusMode, minusMode, _parent, getStyle, scrolling, _ymouse; function ScrollBar () { super(); } function get scrollPosition() { return(_scrollPosition); } function set scrollPosition(pos) { _scrollPosition = pos; if (isScrolling != true) { pos = Math.min(pos, maxPos); pos = Math.max(pos, minPos); var _local3 = (((pos - minPos) * (scrollTrack_mc.height - scrollThumb_mc._height)) / (maxPos - minPos)) + scrollTrack_mc.top; scrollThumb_mc.move(0, _local3); } //return(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) { super.init(); _scrollPosition = 0; tabEnabled = false; focusEnabled = false; boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function createChildren(Void) { if (scrollTrack_mc == undefined) { setSkin(skinIDTrack, scrollTrackName); } 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 (upArrow_mc == undefined) { _local2 = createButton(upArrowName, "upArrow_mc", skinIDUpArrow, _local3); } _local2.buttonDownHandler = onUpArrow; _local2.clickHandler = onScrollChanged; _minHeight = _local2.height; _minWidth = _local2.width; if (downArrow_mc == undefined) { _local2 = createButton(downArrowName, "downArrow_mc", skinIDDownArrow, _local3); } _local2.buttonDownHandler = onDownArrow; _local2.clickHandler = onScrollChanged; _minHeight = _minHeight + _local2.height; } function createButton(linkageName, id, skinID, o) { if (skinID == skinIDUpArrow) { o.falseUpSkin = upArrowUpName; o.falseDownSkin = upArrowDownName; o.falseOverSkin = upArrowOverName; } else { o.falseUpSkin = downArrowUpName; o.falseDownSkin = downArrowDownName; o.falseOverSkin = downArrowOverName; } var _local3 = createObject(linkageName, id, skinID, o); this[id].visible = false; this[id].useHandCursor = false; return(_local3); } function createThumb(Void) { var _local2 = new Object(); _local2.validateNow = true; _local2.tabEnabled = false; _local2.leftSkin = thumbTopName; _local2.middleSkin = thumbMiddleName; _local2.rightSkin = thumbBottomName; _local2.gripSkin = thumbGripName; createClassObject(mx.controls.scrollClasses.ScrollThumb, "scrollThumb_mc", skinIDThumb, _local2); } function setScrollProperties(pSize, mnPos, mxPos, ls) { var _local4; var _local2 = scrollTrack_mc; pageSize = pSize; largeScroll = (((ls != undefined) && (ls > 0)) ? (ls) : (pSize)); minPos = Math.max(mnPos, 0); maxPos = Math.max(mxPos, 0); _scrollPosition = Math.max(minPos, _scrollPosition); _scrollPosition = Math.min(maxPos, _scrollPosition); if (((maxPos - minPos) > 0) && (enabled)) { var _local5 = _scrollPosition; if (!initializing) { upArrow_mc.enabled = true; downArrow_mc.enabled = true; } _local2.onPress = (_local2.onDragOver = startTrackScroller); _local2.onRelease = releaseScrolling; _local2.onDragOut = (_local2.stopScrolling = stopScrolling); _local2.onReleaseOutside = releaseScrolling; _local2.useHandCursor = false; if (scrollThumb_mc == undefined) { createThumb(); } var _local3 = scrollThumb_mc; if (scrollTrackOverName.length > 0) { _local2.onRollOver = trackOver; _local2.onRollOut = trackOut; } _local4 = (pageSize / ((maxPos - minPos) + pageSize)) * _local2.height; if (_local4 < _local3.minHeight) { if (_local2.height < _local3.minHeight) { _local3.__set__visible(false); } else { _local4 = _local3.minHeight; _local3.__set__visible(true); _local3.setSize(_minWidth, _local3.minHeight + 0); } } else { _local3.__set__visible(true); _local3.setSize(_minWidth, _local4); } _local3.setRange(upArrow_mc.__get__height() + 0, (virtualHeight - downArrow_mc.__get__height()) - _local3.__get__height(), minPos, maxPos); _local5 = Math.min(_local5, maxPos); scrollPosition = (Math.max(_local5, minPos)); } else { scrollThumb_mc.__set__visible(false); if (!initializing) { upArrow_mc.enabled = false; 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 (initializing) { scrollThumb_mc.__set__visible(false); } } function setEnabled(enabledFlag) { super.setEnabled(enabledFlag); setScrollProperties(pageSize, minPos, maxPos, largeScroll); } function draw(Void) { if (initializing) { initializing = false; scrollTrack_mc.visible = true; upArrow_mc.__set__visible(true); downArrow_mc.__set__visible(true); } size(); } function size(Void) { if (_height == 1) { return(undefined); } if (upArrow_mc == undefined) { return(undefined); } var _local3 = upArrow_mc.__get__height(); var _local2 = downArrow_mc.__get__height(); upArrow_mc.move(0, 0); var _local4 = scrollTrack_mc; _local4._y = _local3; _local4._height = (virtualHeight - _local3) - _local2; downArrow_mc.move(0, virtualHeight - _local2); setScrollProperties(pageSize, minPos, maxPos, largeScroll); } function dispatchScrollEvent(detail) { dispatchEvent({type:"scroll", detail:detail}); } function isScrollBarKey(k) { if (k == 36) { if (scrollPosition != 0) { scrollPosition = (0); dispatchScrollEvent(minMode); } return(true); } if (k == 35) { if (scrollPosition < maxPos) { scrollPosition = (maxPos); dispatchScrollEvent(maxMode); } return(true); } return(false); } function scrollIt(inc, mode) { var _local3 = smallScroll; if (inc != "Line") { _local3 = ((largeScroll == 0) ? (pageSize) : (largeScroll)); } var _local2 = _scrollPosition + (mode * _local3); if (_local2 > maxPos) { _local2 = maxPos; } else if (_local2 < minPos) { _local2 = minPos; } if (scrollPosition != _local2) { scrollPosition = (_local2); var _local4 = ((mode < 0) ? (minusMode) : (plusMode)); dispatchScrollEvent(inc + _local4); } } function startTrackScroller(Void) { _parent.pressFocus(); if (_parent.scrollTrackDownName.length > 0) { if (_parent.scrollTrackDown_mc == undefined) { _parent.setSkin(skinIDTrackDown, scrollTrackDownName); } else { _parent.scrollTrackDown_mc.visible = true; } } _parent.trackScroller(); _parent.scrolling = setInterval(_parent, "scrollInterval", getStyle("repeatDelay"), "Page", -1); } function scrollInterval(inc, mode) { clearInterval(scrolling); if (inc == "Page") { trackScroller(); } else { scrollIt(inc, mode); } scrolling = setInterval(this, "scrollInterval", getStyle("repeatInterval"), inc, mode); } function trackScroller(Void) { if ((scrollThumb_mc._y + scrollThumb_mc.__get__height()) < _ymouse) { scrollIt("Page", 1); } else if (scrollThumb_mc._y > _ymouse) { scrollIt("Page", -1); } } function dispatchScrollChangedEvent(Void) { dispatchEvent({type:"scrollChanged"}); } function stopScrolling(Void) { clearInterval(_parent.scrolling); _parent.scrollTrackDown_mc.visible = false; } function releaseScrolling(Void) { _parent.releaseFocus(); stopScrolling(); _parent.dispatchScrollChangedEvent(); } function trackOver(Void) { if (_parent.scrollTrackOverName.length > 0) { if (_parent.scrollTrackOver_mc == undefined) { _parent.setSkin(skinIDTrackOver, scrollTrackOverName); } else { _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 138 MovieClip [__Packages.mx.controls.UIScrollBar] Frame 0
class mx.controls.UIScrollBar extends mx.controls.scrollClasses.ScrollBar { var textField, wasHorizontal, __width, __height, _parent, synchScroll, setScrollProperties, __set__scrollPosition, initializing, _rotation, _xscale, hScroller, vScroller, onChanged, onScroller, scrollPosition, dispatchEvent; function UIScrollBar () { super(); } function init(Void) { super.init(); textField.owner = this; horizontal = (wasHorizontal); if (horizontal) { ((textField != undefined) ? (super.setSize(textField._width, 16)) : (super.setSize(__width, __height))); } else { ((textField != undefined) ? (super.setSize(16, textField._height)) : (super.setSize(__width, __height))); } if (horizontal) { var _local3 = __width; __height = __width; width = _local3; __width = 16; } textField.onScroller = function () { this.hPosition = this.hscroll; this.vPosition = this.scroll - 1; }; if (_targetInstanceName != undefined) { setScrollTarget(_targetInstanceName); _targetInstanceName.addListener(this); } } function get _targetInstanceName() { return(textField); } function get height() { if (wasHorizontal) { return(__width); } return(__height); } function get width() { if (wasHorizontal) { return(__height); } return(__width); } function size(Void) { super.size(); onTextChanged(); } function draw() { super.draw(); } function set _targetInstanceName(t) { if (t == undefined) { textField.removeListener(this); delete textField[(horizontal ? "hScroller" : "vScroller")]; if ((textField.hScroller != undefined) && (textField.vScroller != undefined)) { textField.unwatch("text"); textField.unwatch("htmltext"); } } var _local3 = _parent[t]; textField = _parent[t]; onTextChanged(); //return(_targetInstanceName); } function setSize(w, h) { if (horizontal) { super.setSize(h, w); } else { super.setSize(w, h); } } function onTextChanged(Void) { if (textField == undefined) { return(undefined); } clearInterval(synchScroll); if (horizontal) { var _local2 = textField.hscroll; setScrollProperties(textField._width, 0, textField.maxhscroll); __set__scrollPosition(Math.min(_local2, textField.maxhscroll)); } else { var _local2 = textField.scroll; var _local3 = textField.bottomScroll - textField.scroll; setScrollProperties(_local3, 1, textField.maxscroll); __set__scrollPosition(Math.min(_local2, textField.maxscroll)); } } function get horizontal() { return(wasHorizontal); } function set horizontal(v) { wasHorizontal = v; if (v and initializing) { if (_rotation == 90) { return; } _xscale = -100; _rotation = -90; } if (!initializing) { if (v) { if (_rotation == 0) { _rotation = -90; _xscale = -100; } } else if (_rotation == -90) { _rotation = 0; _xscale = 100; } } //return(horizontal); } function callback(prop, oldval, newval) { clearInterval(hScroller.synchScroll); clearInterval(vScroller.synchScroll); hScroller.synchScroll = setInterval(hScroller, "onTextChanged", 50); vScroller.synchScroll = setInterval(vScroller, "onTextChanged", 50); return(newval); } function setScrollTarget(tF) { if (tF == undefined) { textField.removeListener(this); delete textField[(horizontal ? "hScroller" : "vScroller")]; if ((textField.hScroller != undefined) && (textField.vScroller != undefined)) { textField.unwatch("text"); textField.unwatch("htmltext"); } } textField = undefined; if (!(tF instanceof TextField)) { return(undefined); } textField = tF; if (horizontal) { textField.hScroller = this; textField.hScroller.lineScrollSize = 5; } else { textField.vScroller = this; textField.vScroller.lineScrollSize = 1; } onTextChanged(); onChanged = function (Void) { this.onTextChanged(); }; onScroller = function (Void) { if (!this.isScrolling) { if (!this.horizontal) { this.scrollPosition = this.textField.scroll; } else { this.scrollPosition = this.textField.hscroll; } } }; textField.addListener(this); textField.watch("text", callback); textField.watch("htmlText", callback); } function scrollHandler(Void) { if (horizontal) { var _local2 = textField.background; textField.hscroll = scrollPosition; textField.background = _local2; } else { textField.scroll = scrollPosition; } } function setEnabled(enable) { super.setEnabled(enable); if (enable) { textField.addListener(this); } else { textField.removeListener(); } } function dispatchScrollEvent(detail) { dispatchEvent({type:"scroll"}); } static var symbolName = "UIScrollBar"; static var symbolOwner = mx.controls.UIScrollBar; var className = "UIScrollBar"; var clipParameters = {_targetInstanceName:1, horizontal:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.UIScrollBar.prototype.clipParameters); static var version = "2.0.2.127"; }
Symbol 200 MovieClip [__Packages.mx.skins.CustomBorder] Frame 0
class mx.skins.CustomBorder extends mx.skins.Border { var __width, __height, l_mc, setSkin, minHeight, minWidth, m_mc, r_mc; function CustomBorder () { super(); } function get width() { return(__width); } function get height() { return(__height); } function init(Void) { super.init(); } function createChildren(Void) { } function draw(Void) { if (l_mc == undefined) { var _local2 = setSkin(tagL, leftSkin); if (horizontal) { minHeight = l_mc._height; minWidth = l_mc._width; } else { minHeight = l_mc._height; minWidth = l_mc._width; } } if (m_mc == undefined) { setSkin(tagM, middleSkin); if (horizontal) { minHeight = m_mc._height; minWidth = minWidth + m_mc._width; } else { minHeight = minHeight + m_mc._height; minWidth = m_mc._width; } } if (r_mc == undefined) { setSkin(tagR, rightSkin); if (horizontal) { minHeight = r_mc._height; minWidth = minWidth + r_mc._width; } else { minHeight = minHeight + r_mc._height; minWidth = r_mc._width; } } size(); } function size(Void) { l_mc.move(0, 0); if (horizontal) { r_mc.move(width - r_mc.width, 0); m_mc.move(l_mc.width, 0); m_mc.setSize(r_mc.x - m_mc.x, m_mc.height); } else { r_mc.move(0, height - r_mc.height, 0); m_mc.move(0, l_mc.height); m_mc.setSize(m_mc.width, r_mc.y - m_mc.y); } } static var symbolName = "CustomBorder"; static var symbolOwner = mx.skins.CustomBorder; static var version = "2.0.2.127"; 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 201 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb] Frame 0
class mx.controls.scrollClasses.ScrollThumb extends mx.skins.CustomBorder { var useHandCursor, ymin, ymax, datamin, datamax, scrollMove, lastY, _ymouse, _y, _parent, onMouseMove, grip_mc, setSkin, gripSkin, __get__width, __get__height; function ScrollThumb () { super(); } function createChildren(Void) { super.createChildren(); useHandCursor = false; } function setRange(_ymin, _ymax, _datamin, _datamax) { ymin = _ymin; ymax = _ymax; datamin = _datamin; datamax = _datamax; } function dragThumb(Void) { scrollMove = _ymouse - lastY; scrollMove = scrollMove + _y; if (scrollMove < ymin) { scrollMove = ymin; } else if (scrollMove > ymax) { scrollMove = ymax; } _parent.isScrolling = true; _y = scrollMove; var _local2 = Math.round(((datamax - datamin) * (_y - ymin)) / (ymax - ymin)) + datamin; _parent.scrollPosition = _local2; _parent.dispatchScrollEvent("ThumbTrack"); updateAfterEvent(); } function stopDragThumb(Void) { _parent.isScrolling = false; _parent.dispatchScrollEvent("ThumbPosition"); _parent.dispatchScrollChangedEvent(); delete onMouseMove; } function onPress(Void) { _parent.pressFocus(); lastY = _ymouse; onMouseMove = dragThumb; super.onPress(); } function onRelease(Void) { _parent.releaseFocus(); stopDragThumb(); super.onRelease(); } function onReleaseOutside(Void) { _parent.releaseFocus(); stopDragThumb(); super.onReleaseOutside(); } function draw() { super.draw(); if (grip_mc == undefined) { setSkin(3, gripSkin); } } function size() { super.size(); grip_mc.move((__get__width() - grip_mc.width) / 2, (__get__height() - 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 202 MovieClip [__Packages.mx.controls.VScrollBar] Frame 0
class mx.controls.VScrollBar extends mx.controls.scrollClasses.ScrollBar { var scrollIt; function VScrollBar () { super(); } function init(Void) { super.init(); } function isScrollBarKey(k) { if (k == 38) { scrollIt("Line", -1); return(true); } if (k == 40) { scrollIt("Line", 1); return(true); } if (k == 33) { scrollIt("Page", -1); return(true); } if (k == 34) { scrollIt("Page", 1); return(true); } return(super.isScrollBarKey(k)); } static var symbolName = "VScrollBar"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.127"; var className = "VScrollBar"; var minusMode = "Up"; var plusMode = "Down"; var minMode = "AtTop"; var maxMode = "AtBottom"; }
Symbol 203 MovieClip [__Packages.mx.controls.HScrollBar] Frame 0
class mx.controls.HScrollBar extends mx.controls.scrollClasses.ScrollBar { var _minHeight, _minWidth, _xscale, _rotation, __width, scrollIt; function HScrollBar () { super(); } function getMinWidth(Void) { return(_minHeight); } function getMinHeight(Void) { return(_minWidth); } function init(Void) { super.init(); _xscale = -100; _rotation = -90; } function get virtualHeight() { return(__width); } function isScrollBarKey(k) { if (k == 37) { scrollIt("Line", -1); return(true); } if (k == 39) { scrollIt("Line", 1); return(true); } return(super.isScrollBarKey(k)); } static var symbolName = "HScrollBar"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.127"; var className = "HScrollBar"; var minusMode = "Left"; var plusMode = "Right"; var minMode = "AtLeft"; var maxMode = "AtRight"; }
Symbol 220 Button
on (release) { getURL ("http://bestpractice.bmj.com", "_new"); }
Symbol 223 Button
on (release) { getURL ("http://evidencecentre.bmj.com", "_new"); }
Symbol 248 Button
on (release) { _parent.gotoAndStop("sub_menu"); }
Symbol 249 Button
on (release) { _parent.gotoAndStop("instructions"); }
Symbol 250 Button
on (release) { _parent.gotoAndStop("send_friend"); }
Symbol 251 Button
on (release) { _parent.gotoAndStop("leaderboard"); }
Symbol 252 Button
on (release) { getURL ("http://www.onexamination.com", "_new"); }
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
stop();
Symbol 265 Button
on (release) { _root.gotoAndStop("title"); }
Symbol 267 Button
on (release) { _parent.gotoAndStop("title"); }
Symbol 270 MovieClip Frame 8
stop();
Symbol 273 MovieClip Frame 12
stop();
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 5
stop();
Symbol 281 MovieClip Frame 9
gotoAndStop (1);
Symbol 281 MovieClip Frame 15
stop();
Instance of Symbol 281 MovieClip in Symbol 289 MovieClip Frame 1
on (rollOver) { this.gotoAndPlay(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 281 MovieClip in Symbol 289 MovieClip Frame 1
on (rollOver) { this.gotoAndPlay(2); } on (release) { this._parent._parent._parent.thermometer.gotoAndPlay(6); this._parent._parent.gotoAndStop(3); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 281 MovieClip in Symbol 289 MovieClip Frame 1
on (rollOver) { this.gotoAndPlay(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 281 MovieClip in Symbol 289 MovieClip Frame 1
on (rollOver) { this.gotoAndPlay(2); } on (rollOut) { this.gotoAndStop(1); }
Instance of Symbol 281 MovieClip in Symbol 289 MovieClip Frame 1
on (rollOver) { this.gotoAndPlay(2); } on (rollOut) { this.gotoAndStop(1); }
Symbol 290 MovieClip Frame 1
_root.screens.screen_game.game_bg.gotoAndStop(1); stop();
Symbol 290 MovieClip Frame 2
_root.screens.screen_game.game_bg.gotoAndStop(2); stop();
Symbol 290 MovieClip Frame 3
_root.screens.screen_game.game_bg.gotoAndStop(2); stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 5
stop();
Symbol 311 MovieClip Frame 10
stop();
Symbol 311 MovieClip Frame 15
stop();
Symbol 311 MovieClip Frame 20
stop();
Symbol 311 MovieClip Frame 25
stop();
Symbol 311 MovieClip Frame 30
stop();
Symbol 311 MovieClip Frame 35
stop();
Symbol 311 MovieClip Frame 40
stop();
Symbol 311 MovieClip Frame 45
stop();
Symbol 311 MovieClip Frame 60
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 321 Button
on (release) { _global.selectedAnswer = sText; _parent.checkAnswer(); if (_parent.bMoreThanOneAnswer == true) { btn_element.gotoAndStop(15); } } on (rollOver) { if (btn_element._currentframe != 15) { btn_element.play(); } } on (rollOut) { if (btn_element._currentframe != 15) { btn_element.gotoAndPlay(6); } }
Symbol 334 Button
on (release) { _parent._parent.restartInterval(); _parent._parent.displayQuestion(); _parent._visible = false; }
Symbol 344 Button
on (release) { _parent._parent.play(); }
Symbol 353 Button
on (release) { _parent.intLeagueID = 0; _parent.gotoAndStop("leaderboard"); }
Symbol 355 Button
on (release) { _parent.intScoreSub = 0; _parent.gotoAndStop("sub_menu"); }
Symbol 357 Button
on (release) { if (_parent.intScoreSub == 0) { _parent.gotoAndStop("submit_score"); } else { _parent.gotoAndStop("leaderboard"); } }
Symbol 358 Button
on (release) { _parent.gotoAndStop("send_friend"); }
Symbol 402 Button
on (release) { getURL ("http://bestpractice.bmj.com/best-practice/marketing/free-trial.html", "_new"); }
Symbol 403 MovieClip Frame 233
stop();
Symbol 405 MovieClip Frame 12
stop();
Symbol 408 Button
on (release) { _parent.gotoAndStop("gameover"); }
Symbol 409 Button
on (release) { this.boolSubmit = true; strUserName = user_name.text; strUserEmail = user_email.text; intUserIndexOfAt = strUserEmail.indexOf("@"); intUserLastIndexOfDot = strUserEmail.lastIndexOf("."); intOptOut = 0; if (((!strUserEmail) || (intUserIndexOfAt == -1)) || (intUserLastIndexOfDot == -1)) { this.boolSubmit = false; error_text.text = "Your email address is not valid"; } else if (!strUserName) { this.boolSubmit = false; error_text.text = "Please enter your name"; } if (checkbox.selected) { intOptOut = 1; } else { intOptOut = 0; } if (this.boolSubmit != false) { _parent.intScoreSub = 1; btn_submit._visible = false; error_text.text = "Submitting score, please wait..."; _parent.objRemote.setHighScores(strUserName, strUserEmail, _parent.nTotalBonusPoints, intOptOut); } }
Symbol 422 Button
on (release) { getURL ("http://group.bmj.com/group/about/legal/privacy", "_new"); }
Symbol 423 MovieClip Frame 12
stop();
Instance of Symbol 117 MovieClip [CheckBox] "checkbox" in Symbol 423 MovieClip Frame 12
//component parameters onClipEvent (construct) { label = ""; labelPlacement = "right"; selected = false; }
Symbol 426 Button
on (release) { if (_parent.intGameOver == 1) { _parent.gotoAndStop("gameover"); } else { _parent.gotoAndStop("title"); } }
Symbol 427 Button
on (release) { function sendMail() { trace("Send"); if (j >= (arrSend.length - 1)) { _root.sendfriend.friend_name_1.text = ""; _root.sendfriend.friend_email_1.text = ""; _root.sendfriend.friend_name_2.text = ""; _root.sendfriend.friend_email_2.text = ""; _root.sendfriend.friend_name_3.text = ""; _root.sendfriend.friend_email_3.text = ""; _root.sendfriend.friend_name_4.text = ""; _root.sendfriend.friend_email_4.text = ""; btn_submit._y = 524; trace(btn_submit._y); _root.sendfriend.error_text.text = "Email sent! Would you like to send another?"; clearInterval(k); boolSending = false; } trace(arrSend[j][1]); _root.objRemote.sendToFriend(strUserName, strUserEmail, arrSend[j][0], arrSend[j][1], _parent.nTotalBonusPoints, intOptOut); arrDupe.push(strFriendEmail); j++; } if (boolSending == true) { return(false); } var intSend = 0; var j = 0; var k = 0; this.boolSubmit = true; var arrSend = []; var arrDupe = []; var intOptOut = 0; strUserName = user_name.text; strUserEmail = user_email.text; intUserIndexOfAt = strUserEmail.indexOf("@"); intUserLastIndexOfDot = strUserEmail.lastIndexOf("."); if (!strUserName) { this.boolSubmit = false; error_text.text = "Please enter your name"; } else if (((!strUserEmail) || (intUserIndexOfAt == -1)) || (intUserLastIndexOfDot == -1)) { this.boolSubmit = false; error_text.text = "Your email address is not valid"; } else { i = 1; while (i <= 4) { strFriendName = this["friend_name_" + i].text; strFriendEmail = this["friend_email_" + i].text; intFriendIndexOfAt = strFriendEmail.indexOf("@"); intFriendLastIndexOfDot = strFriendEmail.lastIndexOf("."); if ((strFriendName != "") || (strFriendEmail != "")) { intSend++; if (!strFriendName) { this.boolSubmit = false; error_text.text = ("Friend " + i) + " has a missing name"; break; } if (((!strFriendEmail) || (intFriendIndexOfAt == -1)) || (intFriendLastIndexOfDot == -1)) { this.boolSubmit = false; error_text.text = ("Friend " + i) + " has an invalid email address"; break; } arrSend.push([strFriendName, strFriendEmail]); } i++; } if (intSend == 0) { this.boolSubmit = false; error_text.text = "Please enter your friends' details"; } if (this.boolSubmit != false) { btn_submit._y = 10000; error_text.text = "Sending, please wait..."; if (checkbox.selected) { intOptOut = 1; } else { intOptOut = 0; } k = setInterval(sendMail, 400); boolSending = true; } } }
Symbol 444 MovieClip Frame 12
stop();
Instance of Symbol 117 MovieClip [CheckBox] "checkbox" in Symbol 444 MovieClip Frame 12
//component parameters onClipEvent (construct) { label = ""; labelPlacement = "right"; selected = false; }
Symbol 447 Button
on (release) { _parent.gotoAndStop("select_league"); }
Symbol 464 MovieClip Frame 12
function showHighScores(arrScores) { title_txt.text = arrScores[0].name; i = 1; while (i < arrScores.length) { var _local5 = i + 10000; var _local4 = ("scoreLine" + i) + "_mc"; duplicateMovieClip (scoreList_mc.scoreLine_mc, _local4, _local5); var _local2 = scoreList_mc[("scoreLine" + i) + "_mc"]; _local2._y = 22 * (i - 1); _local2.pos.text = i; _local2.playerName.text = arrScores[i].name; _local2.score.text = arrScores[i].score; if (typeof(arrScores[i].league) == "undefined") { arrScores[i].league = ""; } _local2.leagueName.text = arrScores[i].league; nextScorePos = this.scoreList_mc.scoreLine_mc._height; i++; } scrolling(); } stop(); this.scoreList_mc.scoreLine_mc._visible = false; _root.objRemote.getHighScores(20, _parent.intLeagueID); scrolling = function () { objContent = scoreList_mc; var _local5 = scrollTrack._height; var _local2 = objContent._height; var _local4 = scrollFace._height; var _local3 = maskedView._height; var initPosition = ((scrollFace._y = scrollTrack._y)); var initContentPos = objContent._y; var finalContentPos = ((_local3 - _local2) + initContentPos); var left = scrollTrack._x; var top = scrollTrack._y; var right = scrollTrack._x; var bottom = ((scrollTrack._height - _local4) + scrollTrack._y); var dy = 0; var speed = 10; var moveVal = ((_local2 - _local3) / (_local5 - _local4)); scrollFace.onPress = function () { var _local2 = this._y; startDrag (this, false, left + 1, top, right, bottom); this.onMouseMove = function () { scrollFace._x = scrollTrack._x + 1; dy = Math.abs(initPosition - this._y); objContent._y = Math.round(((dy * -1) * moveVal) + initContentPos); }; }; scrollFace.onMouseUp = function () { stopDrag(); scrollFace._x = left; delete this.onMouseMove; }; btnUp.onPress = function () { this.onEnterFrame = function () { if ((objContent._y + speed) < maskedView._y) { if (scrollFace._y <= top) { scrollFace._y = top; } else { scrollFace._y = scrollFace._y - (speed / moveVal); } objContent._y = objContent._y + speed; } else { scrollFace._y = top; objContent._y = maskedView._y; delete this.onEnterFrame; } }; }; btnUp.onDragOut = function () { delete this.onEnterFrame; }; btnUp.onRelease = function () { delete this.onEnterFrame; }; btnDown.onPress = function () { this.onEnterFrame = function () { if ((objContent._y - speed) > finalContentPos) { if (scrollFace._y >= bottom) { scrollFace._y = bottom; } else { scrollFace._y = scrollFace._y + (speed / moveVal); } objContent._y = objContent._y - speed; } else { scrollFace._y = bottom; objContent._y = finalContentPos; delete this.onEnterFrame; } }; }; btnDown.onRelease = function () { delete this.onEnterFrame; }; btnDown.onDragOut = function () { delete this.onEnterFrame; }; if (_local2 < _local3) { scrollFace._visible = false; scrollTrack._visible = false; btnUp._visible = false; btnDown._visible = false; } else { scrollFace._visible = true; scrollTrack._visible = true; btnUp._visible = true; btnDown._visible = true; } scrollTrack.onPress = function () { scrollFace._y = _ymouse; if (scrollFace._y < (btnUp._y + btnUp._height)) { scrollFace._y = btnUp._y + btnUp._height; } else if ((scrollFace._y + scrollFace._height) > btnDown._y) { scrollFace._y = btnDown._y - scrollFace._height; } dy = Math.abs(initPosition - scrollFace._y); objContent._y = Math.round(((dy * -1) * moveVal) + initContentPos); }; }; scrolling();
Symbol 465 Button
on (release) { _parent.generateGeneralMedicalArray(); _parent.gotoAndStop("game"); }
Symbol 466 Button
on (release) { _parent.generatePaediatricsArray(); _parent.gotoAndStop("game"); }
Symbol 467 Button
on (release) { _parent.generateEmergencyMedicineArray(); _parent.gotoAndStop("game"); }
Symbol 468 Button
on (release) { _parent.generateCardiologyArray(); _parent.gotoAndStop("game"); }
Symbol 469 Button
on (release) { _parent.generateGastrointestinalMedicineArray(); _parent.gotoAndStop("game"); }
Symbol 470 Button
on (release) { _parent.generateRespiratoryArray(); _parent.gotoAndStop("game"); }
Symbol 471 Button
on (release) { _parent.generateEndocrinologyArray(); _parent.gotoAndStop("game"); }
Symbol 472 Button
on (release) { _parent.generateDermatologyArray(); _parent.gotoAndStop("game"); }
Symbol 473 Button
on (release) { _parent.generateOrthopaedicsArray(); _parent.gotoAndStop("game"); }
Symbol 474 Button
on (release) { _parent.generateNeurologyArray(); _parent.gotoAndStop("game"); }
Symbol 475 Button
on (release) { _parent.generateInfectionArray(); _parent.gotoAndStop("game"); }
Symbol 476 Button
on (release) { _parent.gotoAndStop("instructions_2"); }
Symbol 490 MovieClip Frame 12
stop();
Symbol 491 Button
on (release) { _parent.gotoAndStop("sub_menu"); }
Symbol 492 MovieClip Frame 12
stop();
Symbol 495 Button
on (release) { _parent.intLeagueID = 0; _parent.gotoAndStop("leaderboard"); }
Symbol 502 Button
on (release) { if (!isSubmitted) { var strLeague = league_name.text; trace(strLeague.length); if (strLeague.length < 3) { error_text.text = "Your league name should be at least 3 letters"; return(false); } isSubmitted = true; error_text.text = "Submitting score to league - please wait..."; _parent.objRemote.makeLeague(strLeague); } }
Symbol 511 MovieClip Frame 1
function listLeagues(arrData, intPage) { var _local12 = 12; var _local14 = arrData.length; if (_local14 > 12) { btn_prev._visible = true; btn_next._visible = true; } var _local13 = Math.ceil(_local14 / _local12); if (intPage < 0) { intPage = _local13 - 1; } else if (intPage >= _local13) { intPage = 0; } var _local9 = intPage * _local12; var _local10 = _local9 + _local12; var _local5 = 0; var _local6 = 5; var _local8 = 5; arrDataG = arrData; intPageG = intPage; var _local4 = _local9; while (_local4 < _local10) { var _local3 = this.cell_mc.duplicateMovieClip("cell_" + _local5, _local5); _local3._x = _local6; _local3._y = _local8; if (!arrData[_local4]) { _local3._visible = false; } _local3.name_txt.text = arrData[_local4].name; _local3.onRollOver = function () { this.name_txt.textColor = 44783; }; _local3.onRollOut = function () { this.name_txt.textColor = 0; }; _local3.intID = arrData[_local4].id; if (_parent.isSelect != true) { trace(1); _local3.onRelease = function () { _parent._parent.objRemote.setLeague(this.intID); }; } else { _local3.onRelease = function () { _parent._parent.intLeagueID = this.intID; _parent._parent.gotoAndStop("leaderboard"); }; } _local6 = _local6 + 250; _local5++; if ((_local5 % 2) == 0) { _local8 = _local8 + 25; _local6 = 5; } _local4++; } } var intPageG = 0; var arrDataG; cell_mc._visible = false; btn_prev._visible = false; btn_next._visible = false; btn_next.onRelease = function () { listLeagues(arrDataG, intPageG + 1); }; btn_prev.onRelease = function () { listLeagues(arrDataG, intPageG - 1); };
Symbol 515 MovieClip Frame 12
function showLeagues(arrData) { league_mc.listLeagues(arrData, 0); } stop(); var isSubmitted = false; _parent.objRemote.getLeaguesSet();
Symbol 517 MovieClip Frame 12
function showLeagues(arrData) { league_mc.listLeagues(arrData, 0); } stop(); var isSubmitted = false; _parent.objRemote.getLeaguesView(); var isSelect = true;

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClip [test_image_2]Uses:2
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6 328
Symbol 6 MovieClip [test_image_1]Uses:5
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:10
Symbol 10 MovieClipUses:9Used by:11 56
Symbol 11 MovieClip [RemotingDebugClasses]Uses:10
Symbol 56 MovieClip [RemotingClasses]Uses:10
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClip [BoundingBox]Uses:73Used by:108 112 116 117 197 198 199
Symbol 75 GraphicUsed by:76 80 81 83 85 86 87 88
Symbol 76 MovieClip [CheckFalseDisabled]Uses:75Used by:89
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClip [CheckThemeColor1]Uses:77Used by:80 81 86 87 88
Symbol 79 GraphicUsed by:80 86
Symbol 80 MovieClip [CheckFalseDown]Uses:75 78 79Used by:89
Symbol 81 MovieClip [CheckFalseOver]Uses:75 78Used by:89
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClip [CheckFalseUp]Uses:75 82Used by:89
Symbol 84 GraphicUsed by:85 86 87 88
Symbol 85 MovieClip [CheckTrueDisabled]Uses:75 84Used by:89
Symbol 86 MovieClip [CheckTrueDown]Uses:75 79 84 78Used by:89
Symbol 87 MovieClip [CheckTrueOver]Uses:75 78 84Used by:89
Symbol 88 MovieClip [CheckTrueUp]Uses:75 78 84Used by:89
Symbol 89 MovieClip [CheckBoxAssets]Uses:76 80 81 83 85 86 87 88Used by:117
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClip [BrdrShdw]Uses:90Used by:94 99 100
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClip [BrdrFace]Uses:92Used by:94 99 100
Symbol 94 MovieClip [SimpleButtonDown]Uses:91 93Used by:112
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClip [BrdrBlk]Uses:95Used by:99 100
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClip [BrdrHilght]Uses:97Used by:99 100
Symbol 99 MovieClip [SimpleButtonIn]Uses:96 98 91 93Used by:112
Symbol 100 MovieClip [SimpleButtonUp]Uses:96 93 91 98Used by:112
Symbol 101 MovieClip [Defaults]Used by:103
Symbol 102 MovieClip [UIObjectExtensions]Used by:103
Symbol 103 MovieClip [UIObject]Uses:101 102Used by:109 111 113
Symbol 104 GraphicUsed by:106
Symbol 105 GraphicUsed by:106
Symbol 106 ButtonUses:104 105Used by:109
Symbol 107 MovieClipUsed by:109
Symbol 108 MovieClip [FocusRect]Uses:74Used by:109
Symbol 109 MovieClip [FocusManager]Uses:106 107 108 103Used by:111
Symbol 110 MovieClip [UIComponentExtensions]Used by:111
Symbol 111 MovieClip [UIComponent]Uses:103 109 110Used by:112
Symbol 112 MovieClip [SimpleButton]Uses:74 94 99 100 111Used by:116 197 198
Symbol 113 MovieClip [Border]Uses:103Used by:114 116
Symbol 114 MovieClip [RectBorder]Uses:113Used by:116
Symbol 115 MovieClip [ButtonSkin]Used by:116
Symbol 116 MovieClip [Button]Uses:74 112 113 114 115Used by:117 197 198
Symbol 117 MovieClip [CheckBox]Uses:74 89 116Used by:423 444
Symbol 139 MovieClip [CustomBorder]Used by:197 198
Symbol 140 GraphicUsed by:142 178 179 180 183 184 189
Symbol 141 GraphicUsed by:142 178 179 183 184 189
Symbol 142 MovieClip [ScrollTrack]Uses:140 141Used by:149 154 155 156 190 191 192 193 194 195
Symbol 143 GraphicUsed by:149 154 155 156 190 191 192 193
Symbol 144 GraphicUsed by:149 154 155 156 190 191 192 193
Symbol 145 GraphicUsed by:149 154 155 156 190 191 192 193
Symbol 146 GraphicUsed by:149 154 155 156 190 191 192 193
Symbol 147 GraphicUsed by:149 154 155 156 190 191 192 193
Symbol 148 GraphicUsed by:149 154 155 156
Symbol 149 MovieClip [ScrollDownArrowDisabled]Uses:142 143 144 145 146 147 148Used by:196
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClip [ScrollThemeColor1]Uses:150Used by:154 155 191 192
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClip [ScrollThemeColor2]Uses:152Used by:154 191
Symbol 154 MovieClip [ScrollDownArrowDown]Uses:142 143 151 144 145 146 147 153 148Used by:196
Symbol 155 MovieClip [ScrollDownArrowOver]Uses:142 143 151 144 145 146 147 148Used by:196
Symbol 156 MovieClip [ScrollDownArrowUp]Uses:142 143 144 145 146 147 148Used by:196
Symbol 157 GraphicUsed by:162 167 168 169 185 186 187 188
Symbol 158 GraphicUsed by:162 167 168 169 185 186 187 188
Symbol 159 GraphicUsed by:162 167 168 169 185 186 187 188
Symbol 160 GraphicUsed by:162 167 168 169 185 186 187 188
Symbol 161 GraphicUsed by:162 167 168 169 185 186 187 188
Symbol 162 MovieClip [ScrollThumbBottomDisabled]Uses:157 158 159 160 161Used by:196
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClip [ThumbThemeColor1]Uses:163Used by:167 168 186 187
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip [ThumbThemeColor3]Uses:165Used by:167 186
Symbol 167 MovieClip [ScrollThumbBottomDown]Uses:157 164 158 159 160 166 161Used by:196
Symbol 168 MovieClip [ScrollThumbBottomOver]Uses:157 164 158 159 160 161Used by:196
Symbol 169 MovieClip [ScrollThumbBottomUp]Uses:157 158 159 160 161Used by:196
Symbol 170 GraphicUsed by:171 174 175 176
Symbol 171 MovieClip [ScrollThumbGripDisabled]Uses:170Used by:196
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClip [ThumbThemeColor2]Uses:172Used by:174 175 178 179 183
Symbol 174 MovieClip [ScrollThumbGripDown]Uses:173 170Used by:196
Symbol 175 MovieClip [ScrollThumbGripOver]Uses:173 170Used by:196
Symbol 176 MovieClip [ScrollThumbGripUp]Uses:170Used by:196
Symbol 177 GraphicUsed by:178 179 183 184
Symbol 178 MovieClip [ScrollThumbMiddleDisabled]Uses:140 177 173 141Used by:196
Symbol 179 MovieClip [ScrollThumbMiddleDown]Uses:140 173 177 141Used by:196
Symbol 180 MovieClipUses:140Used by:183
Symbol 181 GraphicUsed by:182 190 191 192 193
Symbol 182 MovieClipUses:181Used by:183
Symbol 183 MovieClip [ScrollThumbMiddleOver]Uses:140 173 177 180 182 141Used by:196
Symbol 184 MovieClip [ScrollThumbMiddleUp]Uses:140 177 141Used by:196
Symbol 185 MovieClip [ScrollThumbTopDisabled]Uses:157 158 159 160 161Used by:196
Symbol 186 MovieClip [ScrollThumbTopDown]Uses:157 164 158 159 160 166 161Used by:196
Symbol 187 MovieClip [ScrollThumbTopOver]Uses:157 164 158 159 160 161Used by:196
Symbol 188 MovieClip [ScrollThumbTopUp]Uses:157 158 159 160 161Used by:196
Symbol 189 MovieClip [ScrollTrackDisabled]Uses:140 141Used by:196
Symbol 190 MovieClip [ScrollUpArrowDisabled]Uses:142 143 144 145 146 147 181Used by:196
Symbol 191 MovieClip [ScrollUpArrowDown]Uses:142 143 151 144 145 146 147 153 181Used by:196
Symbol 192 MovieClip [ScrollUpArrowOver]Uses:142 143 151 144 145 181 146 147Used by:196
Symbol 193 MovieClip [ScrollUpArrowUp]Uses:142 143 144 145 146 147 181Used by:196
Symbol 194 MovieClip [BtnDownArrow]Uses:142Used by:196
Symbol 195 MovieClip [BtnUpArrow]Uses:142Used by:196
Symbol 196 MovieClip [ScrollBarAssets]Uses:149 154 155 156 162 167 168 169 171 174 175 176 178 179 183 184 185 186 187 188 189 190 191 192 193 194 195Used by:197 198
Symbol 197 MovieClip [VScrollBar]Uses:74 116 112 139 196Used by:199
Symbol 198 MovieClip [HScrollBar]Uses:74 116 112 139 196Used by:199
Symbol 199 MovieClip [UIScrollBar]Uses:74 197 198Used by:Timeline
Symbol 204 GraphicUsed by:212
Symbol 205 FontUsed by:206
Symbol 206 TextUses:205Used by:212
Symbol 207 GraphicUsed by:211
Symbol 208 ShapeTweeningUsed by:211
Symbol 209 GraphicUsed by:211
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:207 208 209 210Used by:212
Symbol 212 MovieClipUses:204 206 211Used by:Timeline
Symbol 213 FontUsed by:214 216
Symbol 214 TextUses:213Used by:215
Symbol 215 ButtonUses:214Used by:Timeline
Symbol 216 TextUses:213Used by:217
Symbol 217 ButtonUses:216Used by:Timeline
Symbol 518 MovieClip [__Packages.remoting.RemotingFunctions]
Symbol 519 MovieClip [__Packages.remoting.RemotingService]
Symbol 63 MovieClip [__Packages.mx.remoting.Service]
Symbol 12 MovieClip [__Packages.mx.services.Log]
Symbol 13 MovieClip [__Packages.mx.remoting.Connection]
Symbol 19 MovieClip [__Packages.mx.remoting.NetServiceProxy]
Symbol 62 MovieClip [__Packages.mx.rpc.Responder]
Symbol 61 MovieClip [__Packages.mx.rpc.FaultEvent]
Symbol 60 MovieClip [__Packages.mx.rpc.Fault]
Symbol 59 MovieClip [__Packages.mx.rpc.ResultEvent]
Symbol 18 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 42 MovieClip [__Packages.mx.remoting.debug.NetDebug]
Symbol 26 MovieClip [__Packages.mx.remoting.debug.NetDebugConfig]
Symbol 35 MovieClip [__Packages.mx.remoting.debug.GlobalLocalConnection]
Symbol 520 MovieClip [__Packages.remoting.RemotingMethod]
Symbol 521 MovieClip [__Packages.remoting.RemotingCall]
Symbol 58 MovieClip [__Packages.mx.remoting.PendingCall]
Symbol 522 MovieClip [__Packages.mx.utils.Delegate]
Symbol 66 MovieClip [__Packages.mx.rpc.RelayResponder]
Symbol 523 MovieClip [__Packages.it.sephiroth.Serializer]
Symbol 524 MovieClip [__Packages.as.md5]
Symbol 7 MovieClip [__Packages.mx.remoting.DebugClasses]
Symbol 14 MovieClip [__Packages.mx.remoting.NetServices]
Symbol 15 MovieClip [__Packages.mx.data.DataRange]
Symbol 16 MovieClip [__Packages.mx.data.PageableData]
Symbol 17 MovieClip [__Packages.mx.data.PageableList]
Symbol 20 MovieClip [__Packages.mx.utils.Iterator]
Symbol 21 MovieClip [__Packages.mx.remoting.RecordSet]
Symbol 22 MovieClip [__Packages.mx.remoting.RecordSetIterator]
Symbol 23 MovieClip [__Packages.mx.remoting.RsDataRange]
Symbol 24 MovieClip [__Packages.mx.remoting.RsDataFetcher]
Symbol 25 MovieClip [__Packages.mx.remoting.NetServiceProxyResponder]
Symbol 27 MovieClip [__Packages.mx.utils.ObjectCopy]
Symbol 28 MovieClip [__Packages.mx.remoting.debug.events.NetDebug]
Symbol 29 MovieClip [__Packages.mx.remoting.debug.events.NetDebugNetConnection]
Symbol 30 MovieClip [__Packages.mx.remoting.debug.events.NetDebugConnect]
Symbol 31 MovieClip [__Packages.mx.remoting.debug.commands.Local]
Symbol 32 MovieClip [__Packages.mx.remoting.debug.commands.StartRTMPTrace]
Symbol 33 MovieClip [__Packages.mx.remoting.debug.ConnectionMixin]
Symbol 34 MovieClip [__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError]
Symbol 36 MovieClip [__Packages.mx.remoting.debug.commands.GetConfig]
Symbol 37 MovieClip [__Packages.mx.remoting.debug.events.NetDebugFailedSendError]
Symbol 38 MovieClip [__Packages.mx.remoting.debug.events.NetDebugStatus]
Symbol 39 MovieClip [__Packages.mx.remoting.debug.events.NetDebugError]
Symbol 40 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTraceNetServices]
Symbol 41 MovieClip [__Packages.mx.remoting.debug.events.NetDebugTrace]
Symbol 43 MovieClip [__Packages.mx.remoting.debug.commands.AddRTMPClient]
Symbol 44 MovieClip [__Packages.mx.remoting.RTMPClientIDResponse]
Symbol 45 MovieClip [__Packages.mx.remoting.debug.events.NetDebugCall]
Symbol 46 MovieClip [__Packages.mx.remoting.debug.events.NetDebugResult]
Symbol 47 MovieClip [__Packages.mx.remoting.debug.events.NetDebugReceiveCall]
Symbol 48 MovieClip [__Packages.mx.remoting.debug.NetDebugResponseProxy]
Symbol 49 MovieClip [__Packages.mx.remoting.debug.events.NetDebugClose]
Symbol 50 MovieClip [__Packages.mx.remoting.debug.commands.StopRTMPTrace]
Symbol 51 MovieClip [__Packages.mx.remoting.debug.events.NetDebugAddHeader]
Symbol 52 MovieClip [__Packages.mx.remoting.debug.events.NetDebugInfoError]
Symbol 53 MovieClip [__Packages.mx.remoting.debug.events.NetDebugRtmpLog]
Symbol 54 MovieClip [__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig]
Symbol 55 MovieClip [__Packages.mx.remoting.ApiClasses]
Symbol 57 MovieClip [__Packages.mx.remoting.DataGlue]
Symbol 64 MovieClip [__Packages.mx.remoting.Operation]
Symbol 65 MovieClip [__Packages.mx.data.binding.ObjectDumper]
Symbol 67 MovieClip [__Packages.mx.rpc.DefaultResponder]
Symbol 68 MovieClip [__Packages.mx.core.UIObject]
Symbol 69 MovieClip [__Packages.mx.core.UIComponent]
Symbol 70 MovieClip [__Packages.mx.controls.SimpleButton]
Symbol 71 MovieClip [__Packages.mx.controls.Button]
Symbol 72 MovieClip [__Packages.mx.controls.CheckBox]
Symbol 118 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 119 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 120 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 121 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 122 MovieClip [__Packages.mx.events.UIEventDispatcher]
Symbol 123 MovieClip [__Packages.mx.skins.ColoredSkinElement]
Symbol 124 MovieClip [__Packages.mx.core.ext.UIObjectExtensions]
Symbol 125 MovieClip [__Packages.mx.skins.halo.Defaults]
Symbol 126 MovieClip [__Packages.mx.managers.DepthManager]
Symbol 127 MovieClip [__Packages.mx.managers.SystemManager]
Symbol 128 MovieClip [__Packages.mx.managers.FocusManager]
Symbol 129 MovieClip [__Packages.mx.skins.halo.FocusRect]
Symbol 130 MovieClip [__Packages.mx.managers.OverlappedWindows]
Symbol 131 MovieClip [__Packages.mx.styles.CSSSetStyle]
Symbol 132 MovieClip [__Packages.mx.core.ext.UIComponentExtensions]
Symbol 133 MovieClip [__Packages.mx.skins.Border]
Symbol 134 MovieClip [__Packages.mx.skins.RectBorder]
Symbol 135 MovieClip [__Packages.mx.skins.halo.RectBorder]
Symbol 136 MovieClip [__Packages.mx.skins.halo.ButtonSkin]
Symbol 137 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar]
Symbol 138 MovieClip [__Packages.mx.controls.UIScrollBar]
Symbol 200 MovieClip [__Packages.mx.skins.CustomBorder]
Symbol 201 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb]
Symbol 202 MovieClip [__Packages.mx.controls.VScrollBar]
Symbol 203 MovieClip [__Packages.mx.controls.HScrollBar]
Symbol 218 GraphicUsed by:220 223 252 265 341 343 349 402 422 449 458  Timeline
Symbol 219 GraphicUsed by:221
Symbol 220 ButtonUses:218Used by:221
Symbol 221 MovieClipUses:219 220Used by:Timeline
Symbol 222 GraphicUsed by:224
Symbol 223 ButtonUses:218Used by:224
Symbol 224 MovieClipUses:222 223Used by:Timeline
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:227
Symbol 227 MovieClipUses:226Used by:253
Symbol 228 GraphicUsed by:253
Symbol 229 GraphicUsed by:232 234 244 246 263 353 355 357 358 407 425 446 478 494
Symbol 230 FontUsed by:231 233 242 243 245 262 271 354 356 359 361 362 404 406 417 418 424 432 445 448 477 479 480 481 482 483 484 485 486 487 488 489 493 498 501 507 509 516
Symbol 231 TextUses:230Used by:232
Symbol 232 MovieClipUses:229 231Used by:253 273
Symbol 233 TextUses:230Used by:234
Symbol 234 MovieClipUses:229 233Used by:253 490
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClipUses:235Used by:253
Symbol 237 FontUsed by:238 241 272 274 282 283 284 285 286 287 288 320 322 335 337 338 339 340 342 345 347 348 350 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 400 401 411 412 413 414 415 419 420 421 429 430 431 433 434 435 436 437 438 439 440 441 442 443 450 451 452 453 497 499 504 505
Symbol 238 TextUses:237Used by:253
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:253
Symbol 241 TextUses:237Used by:253
Symbol 242 TextUses:230Used by:253
Symbol 243 TextUses:230Used by:244 353
Symbol 244 MovieClipUses:229 243Used by:253
Symbol 245 TextUses:230Used by:246 358
Symbol 246 MovieClipUses:229 245Used by:253
Symbol 247 GraphicUsed by:248 249 250 251 267 321 334 344 408 409 426 427 447 465 466 467 468 469 470 471 472 473 474 475 476 491 495
Symbol 248 ButtonUses:247Used by:253 273
Symbol 249 ButtonUses:247Used by:253
Symbol 250 ButtonUses:247Used by:253
Symbol 251 ButtonUses:247Used by:253
Symbol 252 ButtonUses:218Used by:253
Symbol 253 MovieClipUses:227 228 232 234 236 238 240 241 242 244 246 248 249 250 251 252Used by:Timeline
Symbol 254 GraphicUsed by:273 464 490 492
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:260
Symbol 257 GraphicUsed by:260
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:260
Symbol 260 MovieClipUses:256 257 259Used by:273 319 405 423 444 464 490 492 515 517
Symbol 261 GraphicUsed by:273 405 423 444 464 490 492 515 517
Symbol 262 TextUses:230Used by:263
Symbol 263 MovieClipUses:229 262Used by:273 423 444 464 490 492 517
Symbol 264 GraphicUsed by:266
Symbol 265 ButtonUses:218Used by:266
Symbol 266 MovieClipUses:264 265Used by:273 311 349 405 423 444 464 490 492 515 517
Symbol 267 ButtonUses:247Used by:273 490
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClipUses:268Used by:270
Symbol 270 MovieClipUses:269Used by:273 319 405 423 444 464 490 492 515 517
Symbol 271 TextUses:230Used by:273 492
Symbol 272 TextUses:237Used by:273 492
Symbol 273 MovieClipUses:254 260 261 263 266 267 232 248 270 271 272Used by:Timeline
Symbol 274 TextUses:237Used by:275
Symbol 275 MovieClipUses:274Used by:290
Symbol 276 GraphicUsed by:289
Symbol 277 GraphicUsed by:281
Symbol 278 ShapeTweeningUsed by:281
Symbol 279 GraphicUsed by:281
Symbol 280 ShapeTweeningUsed by:281
Symbol 281 MovieClipUses:277 278 279 280Used by:289 323 336 346
Symbol 282 TextUses:237Used by:289
Symbol 283 TextUses:237Used by:289
Symbol 284 TextUses:237Used by:289
Symbol 285 TextUses:237Used by:289
Symbol 286 TextUses:237Used by:289
Symbol 287 TextUses:237Used by:289
Symbol 288 TextUses:237Used by:289
Symbol 289 MovieClipUses:276 281 282 283 284 285 286 287 288Used by:290
Symbol 290 MovieClipUses:275 289Used by:319
Symbol 291 GraphicUsed by:319
Symbol 292 GraphicUsed by:311
Symbol 293 GraphicUsed by:311
Symbol 294 ShapeTweeningUsed by:311
Symbol 295 GraphicUsed by:311
Symbol 296 ShapeTweeningUsed by:299
Symbol 297 ShapeTweeningUsed by:299
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClipUses:296 297 298Used by:311
Symbol 300 GraphicUsed by:311
Symbol 301 ShapeTweeningUsed by:311
Symbol 302 ShapeTweeningUsed by:311
Symbol 303 ShapeTweeningUsed by:311
Symbol 304 ShapeTweeningUsed by:311
Symbol 305 ShapeTweeningUsed by:311
Symbol 306 ShapeTweeningUsed by:311
Symbol 307 ShapeTweeningUsed by:311
Symbol 308 ShapeTweeningUsed by:311
Symbol 309 ShapeTweeningUsed by:311
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:292 266 293 294 295 299 300 301 302 303 304 305 306 307 308 309 310Used by:319
Symbol 312 GraphicUsed by:318
Symbol 313 GraphicUsed by:314
Symbol 314 MovieClipUses:313Used by:318
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:318
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:312 314 316 317Used by:319
Symbol 319 MovieClipUses:260 270 290 291 311 318Used by:Timeline
Symbol 320 EditableTextUses:237Used by:Timeline
Symbol 321 ButtonUses:247Used by:323
Symbol 322 EditableTextUses:237Used by:323
Symbol 323 MovieClipUses:281 321 322Used by:Timeline
Symbol 324 GraphicUsed by:Timeline
Symbol 325 FontUsed by:326 512 513 514
Symbol 326 EditableTextUses:325Used by:Timeline
Symbol 327 GraphicUsed by:331
Symbol 328 MovieClipUses:5Used by:331
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClipUses:329Used by:331
Symbol 331 MovieClipUses:327 328 330Used by:Timeline
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClipUses:332Used by:Timeline
Symbol 334 ButtonUses:247Used by:336
Symbol 335 EditableTextUses:237Used by:336
Symbol 336 MovieClipUses:281 334 335Used by:341 343
Symbol 337 TextUses:237Used by:341
Symbol 338 TextUses:237Used by:341
Symbol 339 TextUses:237Used by:341 343 349
Symbol 340 EditableTextUses:237Used by:341
Symbol 341 MovieClipUses:218 336 337 338 339 340Used by:Timeline
Symbol 342 TextUses:237Used by:343
Symbol 343 MovieClipUses:218 336 342 339Used by:Timeline
Symbol 344 ButtonUses:247Used by:346
Symbol 345 EditableTextUses:237Used by:346
Symbol 346 MovieClipUses:281 344 345Used by:349
Symbol 347 TextUses:237Used by:349
Symbol 348 TextUses:237Used by:349
Symbol 349 MovieClipUses:218 346 347 348 339 266Used by:Timeline
Symbol 350 TextUses:237Used by:351
Symbol 351 MovieClipUses:350Used by:Timeline
Symbol 352 SoundUsed by:Timeline
Symbol 353 ButtonUses:229 243Used by:405
Symbol 354 TextUses:230Used by:355
Symbol 355 ButtonUses:229 354Used by:405
Symbol 356 TextUses:230Used by:357
Symbol 357 ButtonUses:229 356Used by:405
Symbol 358 ButtonUses:229 245Used by:405
Symbol 359 EditableTextUses:230Used by:405
Symbol 360 GraphicUsed by:405
Symbol 361 TextUses:230Used by:405 423
Symbol 362 TextUses:230Used by:405
Symbol 363 TextUses:237Used by:399
Symbol 364 TextUses:237Used by:399
Symbol 365 TextUses:237Used by:399
Symbol 366 TextUses:237Used by:399
Symbol 367 TextUses:237Used by:399
Symbol 368 TextUses:237Used by:399
Symbol 369 TextUses:237Used by:399
Symbol 370 TextUses:237Used by:399
Symbol 371 TextUses:237Used by:399
Symbol 372 TextUses:237Used by:399
Symbol 373 TextUses:237Used by:399
Symbol 374 TextUses:237Used by:399
Symbol 375 TextUses:237Used by:399
Symbol 376 TextUses:237Used by:399
Symbol 377 TextUses:237Used by:399
Symbol 378 TextUses:237Used by:399
Symbol 379 TextUses:237Used by:399
Symbol 380 TextUses:237Used by:399
Symbol 381 TextUses:237Used by:399
Symbol 382 TextUses:237Used by:399
Symbol 383 TextUses:237Used by:399
Symbol 384 TextUses:237Used by:399
Symbol 385 TextUses:237Used by:399
Symbol 386 TextUses:237Used by:399
Symbol 387 TextUses:237Used by:399
Symbol 388 TextUses:237Used by:399
Symbol 389 TextUses:237Used by:399
Symbol 390 TextUses:237Used by:399
Symbol 391 TextUses:237Used by:399
Symbol 392 TextUses:237Used by:399
Symbol 393 TextUses:237Used by:399
Symbol 394 TextUses:237Used by:399
Symbol 395 TextUses:237Used by:399
Symbol 396 TextUses:237Used by:399
Symbol 397 TextUses:237Used by:399
Symbol 398 TextUses:237Used by:399
Symbol 399 MovieClipUses:363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398Used by:403
Symbol 400 TextUses:237Used by:403
Symbol 401 TextUses:237Used by:403
Symbol 402 ButtonUses:218Used by:403
Symbol 403 MovieClipUses:399 400 401 402Used by:405
Symbol 404 EditableTextUses:230Used by:405
Symbol 405 MovieClipUses:260 261 353 355 357 358 266 359 270 360 361 362 403 404Used by:Timeline
Symbol 406 TextUses:230Used by:407
Symbol 407 MovieClipUses:229 406Used by:423
Symbol 408 ButtonUses:247Used by:423
Symbol 409 ButtonUses:247Used by:423
Symbol 410 GraphicUsed by:423
Symbol 411 TextUses:237Used by:423 444
Symbol 412 TextUses:237Used by:423 444
Symbol 413 TextUses:237Used by:423 444
Symbol 414 TextUses:237Used by:423
Symbol 415 TextUses:237Used by:423 444
Symbol 416 GraphicUsed by:423 444
Symbol 417 TextUses:230Used by:423
Symbol 418 EditableTextUses:230Used by:423
Symbol 419 EditableTextUses:237Used by:423
Symbol 420 EditableTextUses:237Used by:423
Symbol 421 EditableTextUses:237Used by:423
Symbol 422 ButtonUses:218Used by:423 444
Symbol 423 MovieClipUses:260 261 407 263 408 409 266 270 410 411 412 413 414 415 117 416 417 361 418 419 420 421 422Used by:Timeline
Symbol 424 TextUses:230Used by:425
Symbol 425 MovieClipUses:229 424Used by:444
Symbol 426 ButtonUses:247Used by:444 464
Symbol 427 ButtonUses:247Used by:444
Symbol 428 GraphicUsed by:444
Symbol 429 TextUses:237Used by:444
Symbol 430 TextUses:237Used by:444
Symbol 431 TextUses:237Used by:444
Symbol 432 TextUses:230Used by:444
Symbol 433 EditableTextUses:237Used by:444
Symbol 434 EditableTextUses:237Used by:444
Symbol 435 EditableTextUses:237Used by:444
Symbol 436 EditableTextUses:237Used by:444
Symbol 437 EditableTextUses:237Used by:444
Symbol 438 EditableTextUses:237Used by:444
Symbol 439 EditableTextUses:237Used by:444
Symbol 440 EditableTextUses:237Used by:444
Symbol 441 EditableTextUses:237Used by:444
Symbol 442 EditableTextUses:237Used by:444
Symbol 443 EditableTextUses:237Used by:444
Symbol 444 MovieClipUses:260 261 425 266 263 426 427 270 428 411 412 429 430 413 415 431 117 416 432 422 433 434 435 436 437 438 439 440 441 442 443Used by:Timeline
Symbol 445 TextUses:230Used by:446
Symbol 446 MovieClipUses:229 445Used by:464
Symbol 447 ButtonUses:247Used by:464
Symbol 448 EditableTextUses:230Used by:464
Symbol 449 MovieClipUses:218Used by:464
Symbol 450 EditableTextUses:237Used by:454
Symbol 451 EditableTextUses:237Used by:454
Symbol 452 EditableTextUses:237Used by:454
Symbol 453 EditableTextUses:237Used by:454
Symbol 454 MovieClipUses:450 451 452 453Used by:455
Symbol 455 MovieClipUses:454Used by:464
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:456Used by:464
Symbol 458 ButtonUses:218Used by:459
Symbol 459 MovieClipUses:458Used by:464
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:460Used by:464
Symbol 462 GraphicUsed by:463
Symbol 463 MovieClipUses:462Used by:464
Symbol 464 MovieClipUses:254 260 261 263 446 426 447 266 270 448 449 455 457 459 461 463Used by:Timeline
Symbol 465 ButtonUses:247Used by:490
Symbol 466 ButtonUses:247Used by:490
Symbol 467 ButtonUses:247Used by:490
Symbol 468 ButtonUses:247Used by:490
Symbol 469 ButtonUses:247Used by:490
Symbol 470 ButtonUses:247Used by:490
Symbol 471 ButtonUses:247Used by:490
Symbol 472 ButtonUses:247Used by:490
Symbol 473 ButtonUses:247Used by:490
Symbol 474 ButtonUses:247Used by:490
Symbol 475 ButtonUses:247Used by:490
Symbol 476 ButtonUses:247Used by:490
Symbol 477 TextUses:230Used by:490
Symbol 478 MovieClipUses:229Used by:490
Symbol 479 TextUses:230Used by:490
Symbol 480 TextUses:230Used by:490
Symbol 481 TextUses:230Used by:490
Symbol 482 TextUses:230Used by:490
Symbol 483 TextUses:230Used by:490
Symbol 484 TextUses:230Used by:490
Symbol 485 TextUses:230Used by:490
Symbol 486 TextUses:230Used by:490
Symbol 487 TextUses:230Used by:490
Symbol 488 TextUses:230Used by:490
Symbol 489 TextUses:230Used by:490
Symbol 490 MovieClipUses:254 260 261 263 266 267 465 466 467 468 469 470 471 472 473 474 475 234 476 270 477 478 479 480 481 482 483 484 485 486 487 488 489Used by:Timeline
Symbol 491 ButtonUses:247Used by:492
Symbol 492 MovieClipUses:254 260 261 263 266 491 270 271 272Used by:Timeline
Symbol 493 TextUses:230Used by:494
Symbol 494 MovieClipUses:229 493Used by:515
Symbol 495 ButtonUses:247Used by:515 517
Symbol 496 GraphicUsed by:515
Symbol 497 TextUses:237Used by:515
Symbol 498 TextUses:230Used by:515
Symbol 499 EditableTextUses:237Used by:515
Symbol 500 GraphicUsed by:502 508 510
Symbol 501 TextUses:230Used by:502
Symbol 502 ButtonUses:500 501Used by:515
Symbol 503 GraphicUsed by:511
Symbol 504 EditableTextUses:237Used by:506
Symbol 505 TextUses:237Used by:506
Symbol 506 MovieClipUses:504 505Used by:511
Symbol 507 TextUses:230Used by:508
Symbol 508 ButtonUses:500 507Used by:511
Symbol 509 TextUses:230Used by:510
Symbol 510 ButtonUses:500 509Used by:511
Symbol 511 MovieClipUses:503 506 508 510Used by:515 517
Symbol 512 TextUses:325Used by:515
Symbol 513 TextUses:325Used by:515
Symbol 514 EditableTextUses:325Used by:515
Symbol 515 MovieClipUses:260 261 494 495 266 270 496 497 498 499 502 511 512 513 514Used by:Timeline
Symbol 516 TextUses:230Used by:517
Symbol 517 MovieClipUses:260 261 263 495 266 270 516 511Used by:Timeline

Instance Names

"preloader"Frame 1Symbol 212 MovieClip
"btn_sound"Frame 1Symbol 217 Button
"screen_game"Frame 3Symbol 253 MovieClip
"screen_game"Frame 4Symbol 273 MovieClip
"screen_game"Frame 5Symbol 319 MovieClip
"question"Frame 5Symbol 320 EditableText
"answer_0"Frame 5Symbol 323 MovieClip
"answer_1"Frame 5Symbol 323 MovieClip
"answer_2"Frame 5Symbol 323 MovieClip
"answer_3"Frame 5Symbol 323 MovieClip
"answer_4"Frame 5Symbol 323 MovieClip
"display_question_txt"Frame 5Symbol 326 EditableText
"image_display_mc"Frame 5Symbol 331 MovieClip
"scroller_bg"Frame 5Symbol 333 MovieClip
"scroller_ui"Frame 5Symbol 199 MovieClip [UIScrollBar]
"incorrect_mc"Frame 5Symbol 341 MovieClip
"correct_mc"Frame 5Symbol 343 MovieClip
"complete_mc"Frame 5Symbol 349 MovieClip
"multipleAnswer_mc"Frame 5Symbol 351 MovieClip
"screen_gameover"Frame 6Symbol 405 MovieClip
"screen_game"Frame 7Symbol 423 MovieClip
"sendfriend"Frame 8Symbol 444 MovieClip
"leaderboard"Frame 9Symbol 464 MovieClip
"screen_game"Frame 10Symbol 490 MovieClip
"screen_game"Frame 11Symbol 492 MovieClip
"set_league"Frame 12Symbol 515 MovieClip
"select_league"Frame 13Symbol 517 MovieClip
"preview"Symbol 11 MovieClip [RemotingDebugClasses] Frame 1Symbol 10 MovieClip
"preview"Symbol 56 MovieClip [RemotingClasses] Frame 1Symbol 10 MovieClip
"b"Symbol 94 MovieClip [SimpleButtonDown] Frame 1Symbol 91 MovieClip [BrdrShdw]
"face"Symbol 94 MovieClip [SimpleButtonDown] Frame 1Symbol 93 MovieClip [BrdrFace]
"b"Symbol 99 MovieClip [SimpleButtonIn] Frame 1Symbol 96 MovieClip [BrdrBlk]
"it"Symbol 99 MovieClip [SimpleButtonIn] Frame 1Symbol 98 MovieClip [BrdrHilght]
"g"Symbol 99 MovieClip [SimpleButtonIn] Frame 1Symbol 91 MovieClip [BrdrShdw]
"face"Symbol 99 MovieClip [SimpleButtonIn] Frame 1Symbol 93 MovieClip [BrdrFace]
"ob"Symbol 100 MovieClip [SimpleButtonUp] Frame 1Symbol 96 MovieClip [BrdrBlk]
"ol"Symbol 100 MovieClip [SimpleButtonUp] Frame 1Symbol 93 MovieClip [BrdrFace]
"ib"Symbol 100 MovieClip [SimpleButtonUp] Frame 1Symbol 91 MovieClip [BrdrShdw]
"il"Symbol 100 MovieClip [SimpleButtonUp] Frame 1Symbol 98 MovieClip [BrdrHilght]
"face"Symbol 100 MovieClip [SimpleButtonUp] Frame 1Symbol 93 MovieClip [BrdrFace]
"boundingBox_mc"Symbol 108 MovieClip [FocusRect] Frame 1Symbol 74 MovieClip [BoundingBox]
"tabCapture"Symbol 109 MovieClip [FocusManager] Frame 1Symbol 106 Button
"boundingBox_mc"Symbol 112 MovieClip [SimpleButton] Frame 1Symbol 74 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 116 MovieClip [Button] Frame 1Symbol 74 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 117 MovieClip [CheckBox] Frame 1Symbol 74 MovieClip [BoundingBox]
"dfs"Symbol 194 MovieClip [BtnDownArrow] Frame 1Symbol 142 MovieClip [ScrollTrack]
"dfs"Symbol 195 MovieClip [BtnUpArrow] Frame 1Symbol 142 MovieClip [ScrollTrack]
"boundingBox_mc"Symbol 197 MovieClip [VScrollBar] Frame 1Symbol 74 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 198 MovieClip [HScrollBar] Frame 1Symbol 74 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 199 MovieClip [UIScrollBar] Frame 1Symbol 74 MovieClip [BoundingBox]
"inner_mc"Symbol 212 MovieClip Frame 1Symbol 211 MovieClip
"invisible_btn"Symbol 253 MovieClip Frame 1Symbol 248 Button
"invisible_btn"Symbol 253 MovieClip Frame 1Symbol 249 Button
"invisible_btn"Symbol 253 MovieClip Frame 1Symbol 250 Button
"invisible_btn"Symbol 253 MovieClip Frame 1Symbol 251 Button
"questions_bg"Symbol 270 MovieClip Frame 1Symbol 269 MovieClip
"game_bg"Symbol 273 MovieClip Frame 1Symbol 260 MovieClip
"invisible_btn"Symbol 273 MovieClip Frame 1Symbol 267 Button
"invisible_btn"Symbol 273 MovieClip Frame 1Symbol 248 Button
"questions_bg"Symbol 273 MovieClip Frame 5Symbol 270 MovieClip
"question_1"Symbol 290 MovieClip Frame 1Symbol 275 MovieClip
"question_1"Symbol 290 MovieClip Frame 2Symbol 289 MovieClip
"hour_hand"Symbol 318 MovieClip Frame 1Symbol 314 MovieClip
"minute_hand"Symbol 318 MovieClip Frame 1Symbol 314 MovieClip
"second_hand"Symbol 318 MovieClip Frame 1Symbol 316 MovieClip
"game_bg"Symbol 319 MovieClip Frame 1Symbol 260 MovieClip
"questions_bg"Symbol 319 MovieClip Frame 1Symbol 270 MovieClip
"questions"Symbol 319 MovieClip Frame 1Symbol 290 MovieClip
"thermometer"Symbol 319 MovieClip Frame 1Symbol 311 MovieClip
"clock"Symbol 319 MovieClip Frame 1Symbol 318 MovieClip
"btn_element"Symbol 323 MovieClip Frame 1Symbol 281 MovieClip
"invisible_btn"Symbol 323 MovieClip Frame 1Symbol 321 Button
"image_mc"Symbol 331 MovieClip Frame 1Symbol 328 MovieClip
"invisible_btn"Symbol 336 MovieClip Frame 1Symbol 334 Button
"answer_4"Symbol 341 MovieClip Frame 1Symbol 336 MovieClip
"answer"Symbol 341 MovieClip Frame 1Symbol 340 EditableText
"answer_4"Symbol 343 MovieClip Frame 1Symbol 336 MovieClip
"invisible_btn"Symbol 346 MovieClip Frame 1Symbol 344 Button
"game_bg"Symbol 405 MovieClip Frame 1Symbol 260 MovieClip
"scoreTimeDisplay"Symbol 405 MovieClip Frame 1Symbol 359 EditableText
"questions_bg"Symbol 405 MovieClip Frame 5Symbol 270 MovieClip
"score_txt"Symbol 405 MovieClip Frame 12Symbol 404 EditableText
"game_bg"Symbol 423 MovieClip Frame 1Symbol 260 MovieClip
"invisible_btn"Symbol 423 MovieClip Frame 1Symbol 408 Button
"btn_submit"Symbol 423 MovieClip Frame 1Symbol 409 Button
"questions_bg"Symbol 423 MovieClip Frame 5Symbol 270 MovieClip
"checkbox"Symbol 423 MovieClip Frame 12Symbol 117 MovieClip [CheckBox]
"score_txt"Symbol 423 MovieClip Frame 12Symbol 418 EditableText
"user_name"Symbol 423 MovieClip Frame 12Symbol 419 EditableText
"user_email"Symbol 423 MovieClip Frame 12Symbol 420 EditableText
"error_text"Symbol 423 MovieClip Frame 12Symbol 421 EditableText
"game_bg"Symbol 444 MovieClip Frame 1Symbol 260 MovieClip
"invisible_btn"Symbol 444 MovieClip Frame 1Symbol 426 Button
"btn_submit"Symbol 444 MovieClip Frame 1Symbol 427 Button
"questions_bg"Symbol 444 MovieClip Frame 5Symbol 270 MovieClip
"checkbox"Symbol 444 MovieClip Frame 12Symbol 117 MovieClip [CheckBox]
"user_name"Symbol 444 MovieClip Frame 12Symbol 433 EditableText
"user_email"Symbol 444 MovieClip Frame 12Symbol 434 EditableText
"error_text"Symbol 444 MovieClip Frame 12Symbol 435 EditableText
"friend_name_1"Symbol 444 MovieClip Frame 12Symbol 436 EditableText
"friend_email_1"Symbol 444 MovieClip Frame 12Symbol 437 EditableText
"friend_name_2"Symbol 444 MovieClip Frame 12Symbol 438 EditableText
"friend_email_2"Symbol 444 MovieClip Frame 12Symbol 439 EditableText
"friend_name_3"Symbol 444 MovieClip Frame 12Symbol 440 EditableText
"friend_email_3"Symbol 444 MovieClip Frame 12Symbol 441 EditableText
"friend_name_4"Symbol 444 MovieClip Frame 12Symbol 442 EditableText
"friend_email_4"Symbol 444 MovieClip Frame 12Symbol 443 EditableText
"playerName"Symbol 454 MovieClip Frame 1Symbol 450 EditableText
"score"Symbol 454 MovieClip Frame 1Symbol 451 EditableText
"pos"Symbol 454 MovieClip Frame 1Symbol 452 EditableText
"leagueName"Symbol 454 MovieClip Frame 1Symbol 453 EditableText
"scoreLine_mc"Symbol 455 MovieClip Frame 1Symbol 454 MovieClip
"game_bg"Symbol 464 MovieClip Frame 1Symbol 260 MovieClip
"invisible_btn"Symbol 464 MovieClip Frame 1Symbol 426 Button
"invisible_btn"Symbol 464 MovieClip Frame 1Symbol 447 Button
"questions_bg"Symbol 464 MovieClip Frame 5Symbol 270 MovieClip
"title_txt"Symbol 464 MovieClip Frame 12Symbol 448 EditableText
"maskedView"Symbol 464 MovieClip Frame 12Symbol 449 MovieClip
"scoreList_mc"Symbol 464 MovieClip Frame 12Symbol 455 MovieClip
"scrollTrack"Symbol 464 MovieClip Frame 12Symbol 457 MovieClip
"scrollFace"Symbol 464 MovieClip Frame 12Symbol 459 MovieClip
"btnUp"Symbol 464 MovieClip Frame 12Symbol 461 MovieClip
"btnDown"Symbol 464 MovieClip Frame 12Symbol 463 MovieClip
"game_bg"Symbol 490 MovieClip Frame 1Symbol 260 MovieClip
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 267 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 465 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 466 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 467 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 468 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 469 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 470 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 471 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 472 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 473 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 474 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 475 Button
"invisible_btn"Symbol 490 MovieClip Frame 1Symbol 476 Button
"questions_bg"Symbol 490 MovieClip Frame 5Symbol 270 MovieClip
"game_bg"Symbol 492 MovieClip Frame 1Symbol 260 MovieClip
"invisible_btn"Symbol 492 MovieClip Frame 1Symbol 491 Button
"questions_bg"Symbol 492 MovieClip Frame 5Symbol 270 MovieClip
"name_txt"Symbol 506 MovieClip Frame 1Symbol 504 EditableText
"cell_mc"Symbol 511 MovieClip Frame 1Symbol 506 MovieClip
"btn_prev"Symbol 511 MovieClip Frame 1Symbol 508 Button
"btn_next"Symbol 511 MovieClip Frame 1Symbol 510 Button
"game_bg"Symbol 515 MovieClip Frame 1Symbol 260 MovieClip
"invisible_btn"Symbol 515 MovieClip Frame 1Symbol 495 Button
"questions_bg"Symbol 515 MovieClip Frame 5Symbol 270 MovieClip
"league_name"Symbol 515 MovieClip Frame 12Symbol 499 EditableText
"btn_submit"Symbol 515 MovieClip Frame 12Symbol 502 Button
"league_mc"Symbol 515 MovieClip Frame 12Symbol 511 MovieClip
"error_text"Symbol 515 MovieClip Frame 12Symbol 514 EditableText
"game_bg"Symbol 517 MovieClip Frame 1Symbol 260 MovieClip
"invisible_btn"Symbol 517 MovieClip Frame 1Symbol 495 Button
"questions_bg"Symbol 517 MovieClip Frame 5Symbol 270 MovieClip
"league_mc"Symbol 517 MovieClip Frame 12Symbol 511 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 3 as "test_image_2"
ExportAssets (56)Timeline Frame 1Symbol 6 as "test_image_1"
ExportAssets (56)Timeline Frame 1Symbol 11 as "RemotingDebugClasses"
ExportAssets (56)Timeline Frame 1Symbol 56 as "RemotingClasses"
ExportAssets (56)Timeline Frame 1Symbol 74 as "BoundingBox"
ExportAssets (56)Timeline Frame 1Symbol 76 as "CheckFalseDisabled"
ExportAssets (56)Timeline Frame 1Symbol 78 as "CheckThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 80 as "CheckFalseDown"
ExportAssets (56)Timeline Frame 1Symbol 81 as "CheckFalseOver"
ExportAssets (56)Timeline Frame 1Symbol 83 as "CheckFalseUp"
ExportAssets (56)Timeline Frame 1Symbol 85 as "CheckTrueDisabled"
ExportAssets (56)Timeline Frame 1Symbol 86 as "CheckTrueDown"
ExportAssets (56)Timeline Frame 1Symbol 87 as "CheckTrueOver"
ExportAssets (56)Timeline Frame 1Symbol 88 as "CheckTrueUp"
ExportAssets (56)Timeline Frame 1Symbol 89 as "CheckBoxAssets"
ExportAssets (56)Timeline Frame 1Symbol 91 as "BrdrShdw"
ExportAssets (56)Timeline Frame 1Symbol 93 as "BrdrFace"
ExportAssets (56)Timeline Frame 1Symbol 94 as "SimpleButtonDown"
ExportAssets (56)Timeline Frame 1Symbol 96 as "BrdrBlk"
ExportAssets (56)Timeline Frame 1Symbol 98 as "BrdrHilght"
ExportAssets (56)Timeline Frame 1Symbol 99 as "SimpleButtonIn"
ExportAssets (56)Timeline Frame 1Symbol 100 as "SimpleButtonUp"
ExportAssets (56)Timeline Frame 1Symbol 101 as "Defaults"
ExportAssets (56)Timeline Frame 1Symbol 102 as "UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 103 as "UIObject"
ExportAssets (56)Timeline Frame 1Symbol 108 as "FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 109 as "FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 110 as "UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 111 as "UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 112 as "SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 113 as "Border"
ExportAssets (56)Timeline Frame 1Symbol 114 as "RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 115 as "ButtonSkin"
ExportAssets (56)Timeline Frame 1Symbol 116 as "Button"
ExportAssets (56)Timeline Frame 1Symbol 117 as "CheckBox"
ExportAssets (56)Timeline Frame 1Symbol 139 as "CustomBorder"
ExportAssets (56)Timeline Frame 1Symbol 142 as "ScrollTrack"
ExportAssets (56)Timeline Frame 1Symbol 149 as "ScrollDownArrowDisabled"
ExportAssets (56)Timeline Frame 1Symbol 151 as "ScrollThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 153 as "ScrollThemeColor2"
ExportAssets (56)Timeline Frame 1Symbol 154 as "ScrollDownArrowDown"
ExportAssets (56)Timeline Frame 1Symbol 155 as "ScrollDownArrowOver"
ExportAssets (56)Timeline Frame 1Symbol 156 as "ScrollDownArrowUp"
ExportAssets (56)Timeline Frame 1Symbol 162 as "ScrollThumbBottomDisabled"
ExportAssets (56)Timeline Frame 1Symbol 164 as "ThumbThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 166 as "ThumbThemeColor3"
ExportAssets (56)Timeline Frame 1Symbol 167 as "ScrollThumbBottomDown"
ExportAssets (56)Timeline Frame 1Symbol 168 as "ScrollThumbBottomOver"
ExportAssets (56)Timeline Frame 1Symbol 169 as "ScrollThumbBottomUp"
ExportAssets (56)Timeline Frame 1Symbol 171 as "ScrollThumbGripDisabled"
ExportAssets (56)Timeline Frame 1Symbol 173 as "ThumbThemeColor2"
ExportAssets (56)Timeline Frame 1Symbol 174 as "ScrollThumbGripDown"
ExportAssets (56)Timeline Frame 1Symbol 175 as "ScrollThumbGripOver"
ExportAssets (56)Timeline Frame 1Symbol 176 as "ScrollThumbGripUp"
ExportAssets (56)Timeline Frame 1Symbol 178 as "ScrollThumbMiddleDisabled"
ExportAssets (56)Timeline Frame 1Symbol 179 as "ScrollThumbMiddleDown"
ExportAssets (56)Timeline Frame 1Symbol 183 as "ScrollThumbMiddleOver"
ExportAssets (56)Timeline Frame 1Symbol 184 as "ScrollThumbMiddleUp"
ExportAssets (56)Timeline Frame 1Symbol 185 as "ScrollThumbTopDisabled"
ExportAssets (56)Timeline Frame 1Symbol 186 as "ScrollThumbTopDown"
ExportAssets (56)Timeline Frame 1Symbol 187 as "ScrollThumbTopOver"
ExportAssets (56)Timeline Frame 1Symbol 188 as "ScrollThumbTopUp"
ExportAssets (56)Timeline Frame 1Symbol 189 as "ScrollTrackDisabled"
ExportAssets (56)Timeline Frame 1Symbol 190 as "ScrollUpArrowDisabled"
ExportAssets (56)Timeline Frame 1Symbol 191 as "ScrollUpArrowDown"
ExportAssets (56)Timeline Frame 1Symbol 192 as "ScrollUpArrowOver"
ExportAssets (56)Timeline Frame 1Symbol 193 as "ScrollUpArrowUp"
ExportAssets (56)Timeline Frame 1Symbol 194 as "BtnDownArrow"
ExportAssets (56)Timeline Frame 1Symbol 195 as "BtnUpArrow"
ExportAssets (56)Timeline Frame 1Symbol 196 as "ScrollBarAssets"
ExportAssets (56)Timeline Frame 1Symbol 197 as "VScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 198 as "HScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 199 as "UIScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 518 as "__Packages.remoting.RemotingFunctions"
ExportAssets (56)Timeline Frame 1Symbol 519 as "__Packages.remoting.RemotingService"
ExportAssets (56)Timeline Frame 1Symbol 63 as "__Packages.mx.remoting.Service"
ExportAssets (56)Timeline Frame 1Symbol 12 as "__Packages.mx.services.Log"
ExportAssets (56)Timeline Frame 1Symbol 13 as "__Packages.mx.remoting.Connection"
ExportAssets (56)Timeline Frame 1Symbol 19 as "__Packages.mx.remoting.NetServiceProxy"
ExportAssets (56)Timeline Frame 1Symbol 62 as "__Packages.mx.rpc.Responder"
ExportAssets (56)Timeline Frame 1Symbol 61 as "__Packages.mx.rpc.FaultEvent"
ExportAssets (56)Timeline Frame 1Symbol 60 as "__Packages.mx.rpc.Fault"
ExportAssets (56)Timeline Frame 1Symbol 59 as "__Packages.mx.rpc.ResultEvent"
ExportAssets (56)Timeline Frame 1Symbol 18 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 42 as "__Packages.mx.remoting.debug.NetDebug"
ExportAssets (56)Timeline Frame 1Symbol 26 as "__Packages.mx.remoting.debug.NetDebugConfig"
ExportAssets (56)Timeline Frame 1Symbol 35 as "__Packages.mx.remoting.debug.GlobalLocalConnection"
ExportAssets (56)Timeline Frame 1Symbol 520 as "__Packages.remoting.RemotingMethod"
ExportAssets (56)Timeline Frame 1Symbol 521 as "__Packages.remoting.RemotingCall"
ExportAssets (56)Timeline Frame 1Symbol 58 as "__Packages.mx.remoting.PendingCall"
ExportAssets (56)Timeline Frame 1Symbol 522 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 66 as "__Packages.mx.rpc.RelayResponder"
ExportAssets (56)Timeline Frame 1Symbol 523 as "__Packages.it.sephiroth.Serializer"
ExportAssets (56)Timeline Frame 1Symbol 524 as "__Packages.as.md5"
ExportAssets (56)Timeline Frame 1Symbol 7 as "__Packages.mx.remoting.DebugClasses"
ExportAssets (56)Timeline Frame 1Symbol 14 as "__Packages.mx.remoting.NetServices"
ExportAssets (56)Timeline Frame 1Symbol 15 as "__Packages.mx.data.DataRange"
ExportAssets (56)Timeline Frame 1Symbol 16 as "__Packages.mx.data.PageableData"
ExportAssets (56)Timeline Frame 1Symbol 17 as "__Packages.mx.data.PageableList"
ExportAssets (56)Timeline Frame 1Symbol 20 as "__Packages.mx.utils.Iterator"
ExportAssets (56)Timeline Frame 1Symbol 21 as "__Packages.mx.remoting.RecordSet"
ExportAssets (56)Timeline Frame 1Symbol 22 as "__Packages.mx.remoting.RecordSetIterator"
ExportAssets (56)Timeline Frame 1Symbol 23 as "__Packages.mx.remoting.RsDataRange"
ExportAssets (56)Timeline Frame 1Symbol 24 as "__Packages.mx.remoting.RsDataFetcher"
ExportAssets (56)Timeline Frame 1Symbol 25 as "__Packages.mx.remoting.NetServiceProxyResponder"
ExportAssets (56)Timeline Frame 1Symbol 27 as "__Packages.mx.utils.ObjectCopy"
ExportAssets (56)Timeline Frame 1Symbol 28 as "__Packages.mx.remoting.debug.events.NetDebug"
ExportAssets (56)Timeline Frame 1Symbol 29 as "__Packages.mx.remoting.debug.events.NetDebugNetConnection"
ExportAssets (56)Timeline Frame 1Symbol 30 as "__Packages.mx.remoting.debug.events.NetDebugConnect"
ExportAssets (56)Timeline Frame 1Symbol 31 as "__Packages.mx.remoting.debug.commands.Local"
ExportAssets (56)Timeline Frame 1Symbol 32 as "__Packages.mx.remoting.debug.commands.StartRTMPTrace"
ExportAssets (56)Timeline Frame 1Symbol 33 as "__Packages.mx.remoting.debug.ConnectionMixin"
ExportAssets (56)Timeline Frame 1Symbol 34 as "__Packages.mx.remoting.debug.events.NetDebugDuplicateNCDError"
ExportAssets (56)Timeline Frame 1Symbol 36 as "__Packages.mx.remoting.debug.commands.GetConfig"
ExportAssets (56)Timeline Frame 1Symbol 37 as "__Packages.mx.remoting.debug.events.NetDebugFailedSendError"
ExportAssets (56)Timeline Frame 1Symbol 38 as "__Packages.mx.remoting.debug.events.NetDebugStatus"
ExportAssets (56)Timeline Frame 1Symbol 39 as "__Packages.mx.remoting.debug.events.NetDebugError"
ExportAssets (56)Timeline Frame 1Symbol 40 as "__Packages.mx.remoting.debug.events.NetDebugTraceNetServices"
ExportAssets (56)Timeline Frame 1Symbol 41 as "__Packages.mx.remoting.debug.events.NetDebugTrace"
ExportAssets (56)Timeline Frame 1Symbol 43 as "__Packages.mx.remoting.debug.commands.AddRTMPClient"
ExportAssets (56)Timeline Frame 1Symbol 44 as "__Packages.mx.remoting.RTMPClientIDResponse"
ExportAssets (56)Timeline Frame 1Symbol 45 as "__Packages.mx.remoting.debug.events.NetDebugCall"
ExportAssets (56)Timeline Frame 1Symbol 46 as "__Packages.mx.remoting.debug.events.NetDebugResult"
ExportAssets (56)Timeline Frame 1Symbol 47 as "__Packages.mx.remoting.debug.events.NetDebugReceiveCall"
ExportAssets (56)Timeline Frame 1Symbol 48 as "__Packages.mx.remoting.debug.NetDebugResponseProxy"
ExportAssets (56)Timeline Frame 1Symbol 49 as "__Packages.mx.remoting.debug.events.NetDebugClose"
ExportAssets (56)Timeline Frame 1Symbol 50 as "__Packages.mx.remoting.debug.commands.StopRTMPTrace"
ExportAssets (56)Timeline Frame 1Symbol 51 as "__Packages.mx.remoting.debug.events.NetDebugAddHeader"
ExportAssets (56)Timeline Frame 1Symbol 52 as "__Packages.mx.remoting.debug.events.NetDebugInfoError"
ExportAssets (56)Timeline Frame 1Symbol 53 as "__Packages.mx.remoting.debug.events.NetDebugRtmpLog"
ExportAssets (56)Timeline Frame 1Symbol 54 as "__Packages.mx.remoting.debug.commands.UpdateNetDebugConfig"
ExportAssets (56)Timeline Frame 1Symbol 55 as "__Packages.mx.remoting.ApiClasses"
ExportAssets (56)Timeline Frame 1Symbol 57 as "__Packages.mx.remoting.DataGlue"
ExportAssets (56)Timeline Frame 1Symbol 64 as "__Packages.mx.remoting.Operation"
ExportAssets (56)Timeline Frame 1Symbol 65 as "__Packages.mx.data.binding.ObjectDumper"
ExportAssets (56)Timeline Frame 1Symbol 67 as "__Packages.mx.rpc.DefaultResponder"
ExportAssets (56)Timeline Frame 1Symbol 68 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 69 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 70 as "__Packages.mx.controls.SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 71 as "__Packages.mx.controls.Button"
ExportAssets (56)Timeline Frame 1Symbol 72 as "__Packages.mx.controls.CheckBox"
ExportAssets (56)Timeline Frame 1Symbol 118 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 119 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 120 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 121 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 122 as "__Packages.mx.events.UIEventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 123 as "__Packages.mx.skins.ColoredSkinElement"
ExportAssets (56)Timeline Frame 1Symbol 124 as "__Packages.mx.core.ext.UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 125 as "__Packages.mx.skins.halo.Defaults"
ExportAssets (56)Timeline Frame 1Symbol 126 as "__Packages.mx.managers.DepthManager"
ExportAssets (56)Timeline Frame 1Symbol 127 as "__Packages.mx.managers.SystemManager"
ExportAssets (56)Timeline Frame 1Symbol 128 as "__Packages.mx.managers.FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 129 as "__Packages.mx.skins.halo.FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 130 as "__Packages.mx.managers.OverlappedWindows"
ExportAssets (56)Timeline Frame 1Symbol 131 as "__Packages.mx.styles.CSSSetStyle"
ExportAssets (56)Timeline Frame 1Symbol 132 as "__Packages.mx.core.ext.UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 133 as "__Packages.mx.skins.Border"
ExportAssets (56)Timeline Frame 1Symbol 134 as "__Packages.mx.skins.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 135 as "__Packages.mx.skins.halo.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 136 as "__Packages.mx.skins.halo.ButtonSkin"
ExportAssets (56)Timeline Frame 1Symbol 137 as "__Packages.mx.controls.scrollClasses.ScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 138 as "__Packages.mx.controls.UIScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 200 as "__Packages.mx.skins.CustomBorder"
ExportAssets (56)Timeline Frame 1Symbol 201 as "__Packages.mx.controls.scrollClasses.ScrollThumb"
ExportAssets (56)Timeline Frame 1Symbol 202 as "__Packages.mx.controls.VScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 203 as "__Packages.mx.controls.HScrollBar"

Labels

"preloader"Frame 1
"assets"Frame 2
"title"Frame 3
"instructions"Frame 4
"game"Frame 5
"gameover"Frame 6
"submit_score"Frame 7
"send_friend"Frame 8
"leaderboard"Frame 9
"sub_menu"Frame 10
"instructions_2"Frame 11
"set_league"Frame 12
"select_league"Frame 13

Dynamic Text Variables

sTextSymbol 322 EditableText" "
sTextSymbol 335 EditableText" "
sTextSymbol 345 EditableText" "
_root.nTotalBonusPointsSymbol 404 EditableText"  "
_root.nTotalBonusPointsSymbol 418 EditableText" "




http://swfchan.com/16/77489/info.shtml
Created: 4/4 -2019 00:53:11 Last modified: 4/4 -2019 00:53:11 Server time: 15/05 -2024 05:34:36