Combined Code
metadata <main><title>tutorial2a</title><description>Camtasia Video</description></main>
frame 1 {
csMovieFPS = 15;
}
frame 1 {
Stage.scaleMode = 'noScale';
}
// unknown tag 700 length 31
// unknown tag 750 length 0
movieClip 65519 About {
}
frame 1 {
tscwidth = 550;
}
frame 1 {
tscheight = 400;
}
frame 1 {
fps = 15;
}
frame 1 {
config = '<main><config><hasToc type="Boolean">0</hasToc><hasAudio type="Boolean">1</hasAudio><hasAbout type="Boolean">1</hasAbout><hasFullscreen type="Boolean">1</hasFullscreen><startText><![CDATA[APPSmusic tutorial how to make a song]]></startText><startLogo></startLogo><endLogo></endLogo><about><title><![CDATA[APPS tutorial]]></title><logo></logo><width>336</width><height>264</height><tabSelected>2</tabSelected><aboutMedia>About</aboutMedia><aboutText><![CDATA[]]></aboutText><infoText><![CDATA[tutorial by White Tea]]></infoText></about><includeScoreInEmail type="Boolean">0</includeScoreInEmail><rememberQuizAnswers type="Number">0</rememberQuizAnswers><endAction>Stop</endAction><endActionParam></endActionParam><endActionTarget>_self</endActionTarget><volume type="Number">100</volume><brandedContextMenu type="Boolean">false</brandedContextMenu><hasCaptions type="Boolean">0</hasCaptions><captionsVisible type="Boolean">0</captionsVisible><caption><font><type type="String">Microsoft Sans Serif</type><size type="Number">23</size><weight type="Boolean">0</weight><color type="Number">0xFFFFFF</color><cpl type="Number">32</cpl></font><panel><background><color type="Number">0x000000</color><alpha type="Number">50</alpha></background></panel></caption><video1><width type="Number">550</width><height type="Number">400</height></video1><toc><type type="Number">1</type><title></title><media></media><x type="Number">0</x><y type="Number">0</y><width type="Number">0</width><height type="Number">418</height><transparent type="Boolean">1</transparent><horizontalScroll type="Number">0</horizontalScroll><backgroundColor type="Number">0x000000</backgroundColor><alternatingRowColors><array><colors type="Number">0x666666</colors><colors type="Number">0x777777</colors></array></alternatingRowColors><rowDepthColors><array><colors type="Number"></colors><colors type="Number"></colors></array></rowDepthColors><rowRollOverColor type="Number">0xA4A4A4</rowRollOverColor><rowSelectedColor type="Number">0xC0C0C0</rowSelectedColor><rowIndentation>10</rowIndentation><borderStyle>inset</borderStyle><textColor type="Number">0xFFFFFF</textColor><fontFamily>Arial</fontFamily><fontSize type="Number">12</fontSize><fontWeight>none</fontWeight><textAlign>left</textAlign><textDecoration>none</textDecoration><textIndent type="Number">0</textIndent><textRollOverColor type="Number">0xFFFFFF</textRollOverColor><textSelectedColor type="Number">0x000000</textSelectedColor><useRollOver type="Boolean">0</useRollOver><collapsible type="Boolean">0</collapsible></toc><quiz><disableFeedback type="Boolean">0</disableFeedback><txtQuestionOf>Question @ of @</txtQuestionOf><txtPrev>Prev</txtPrev><txtSubmit>Submit</txtSubmit><txtNext>Next</txtNext><txtDone>Done</txtDone><txtPreview>Preview</txtPreview><txtSend>Send</txtSend><txtMainMessage>You have reached the end of the questions and this video. Your answers are ready to be sent.</txtMainMessage><txtEmailContents>E-mail Contents</txtEmailContents><txtEmailTo>E-mail to </txtEmailTo><txtAnswersSent>Your answers have been sent.</txtAnswersSent><txtsummary>You have completed @ of @ questions.</txtsummary><txtScore>Score = @/@</txtScore><txtSummaryTitle>Answers Summary</txtSummaryTitle></quiz></config><playlist><array><fileset><video1><duration type="Number">335.90</duration><uri>tutorial2a.swf</uri><frameRate type="Number">15</frameRate><keyframeRate type="Number">0</keyframeRate><blendingMode>Normal</blendingMode><isFlv type="Boolean">0</isFlv></video1><pip><duration type="Number">335.90</duration><frameRate type="Number">10</frameRate><keyframeRate type="Number">30</keyframeRate><uri>tutorial2a_PIP.jpg</uri></pip><hasPipVideo type="Boolean">0</hasPipVideo><hotspotInfo></hotspotInfo><quizInfo></quizInfo><captionInfo></captionInfo></fileset></array></playlist><tocInfo></tocInfo></main>';
}
// unknown tag 88 length 78
// unknown tag 88 length 75
movieClip 4 TocIconClosedDisabled {
}
movieClip 6 TocIconClosedDown {
}
movieClip 8 TocIconClosedOver {
}
movieClip 10 TocIconClosedUp {
}
movieClip 11 TocIconDisabled {
}
movieClip 12 TocIconDown {
}
movieClip 13 TocIconOver {
}
movieClip 14 TocIconUp {
}
movieClip 15 Slider {
}
movieClip 17 SliderInsetLeft {
}
movieClip 18 SliderInsetMiddle {
}
movieClip 19 SliderInsetRight {
}
movieClip 20 OneStateButton {
}
movieClip 21 VolumeControl {
}
movieClip 23 VolumePanel {
}
movieClip 25 EndScreenLogo {
}
movieClip 27 CamtasiaLogo {
}
movieClip 28 EmailSummary {
}
movieClip 29 EmailPreview {
}
movieClip 30 SCORMSummary {
}
movieClip 32 FeedbackCloseDown {
}
movieClip 34 FeedbackCloseOver {
}
movieClip 36 FeedbackCloseDisabled {
}
movieClip 38 FeedbackCloseUp {
}
movieClip 39 Feedback {
}
movieClip 40 QuizWindow {
}
movieClip 41 QuizApplication {
}
movieClip 42 QuizContent {
}
movieClip 43 ScrollContent {
}
movieClip 44 FeedbackContent {
}
movieClip 46 RedGlassRDisabled {
}
movieClip 48 RedGlassMDisabled {
}
movieClip 50 RedGlassLDisabled {
}
movieClip 52 RedGlassROver {
}
movieClip 54 RedGlassMOver {
}
movieClip 56 RedGlassLOver {
}
movieClip 58 RedGlassRDown {
}
movieClip 60 RedGlassMDown {
}
movieClip 62 RedGlassLDown {
}
movieClip 64 RedGlassLUp {
}
movieClip 66 RedGlassMUp {
}
movieClip 68 RedGlassRUp {
}
movieClip 69 MultipleChoice {
}
movieClip 70 FIB {
}
movieClip 71 ShortAnswer {
}
movieClip 72 TrueFalse {
}
movieClip 73 Likert {
}
movieClip 74 PrevRDisabled {
}
movieClip 75 PrevMDisabled {
}
movieClip 77 PrevLDisabled {
}
movieClip 78 SubmitRDisabled {
}
movieClip 79 SubmitMDisabled {
}
movieClip 80 SubmitLDisabled {
}
movieClip 82 NextROver {
}
movieClip 83 NextMOver {
}
movieClip 85 NextLOver {
}
movieClip 86 SubmitROver {
}
movieClip 87 SubmitMOver {
}
movieClip 89 SubmitLOver {
}
movieClip 90 PrevROver {
}
movieClip 91 PrevMOver {
}
movieClip 93 PrevLOver {
}
movieClip 95 NextRDisabled {
}
movieClip 96 NextMDisabled {
}
movieClip 97 NextLDisabled {
}
movieClip 98 SubmitRDown {
}
movieClip 99 SubmitMDown {
}
movieClip 100 SubmitLDown {
}
movieClip 101 PrevRDown {
}
movieClip 102 PrevMDown {
}
movieClip 104 PrevLDown {
}
movieClip 106 NextRDown {
}
movieClip 107 NextMDown {
}
movieClip 108 NextLDown {
}
movieClip 109 SubmitLUp {
}
movieClip 110 NextLUp {
}
movieClip 112 PrevLUp {
}
movieClip 113 SubmitMUp {
}
movieClip 114 NextMUp {
}
movieClip 115 PrevMUp {
}
movieClip 116 SubmitRUp {
}
movieClip 118 NextRUp {
}
movieClip 119 PrevRUp {
}
movieClip 120 TextObject {
}
movieClip 122 RadioSelectedDisabled {
}
movieClip 124 RadioSelectedDown {
}
movieClip 126 RadioSelectedOver {
}
movieClip 128 RadioSelectedUp {
}
movieClip 130 RadioUnselectedDisabled {
}
movieClip 132 RadioUnselectedDown {
}
movieClip 134 RadioUnselectedOver {
}
movieClip 136 RadioUnselectedUp {
}
movieClip 137 RadioButton {
}
movieClip 138 LabelButton {
}
movieClip 139 ComponentRect {
}
movieClip 141 BeginBGTR {
}
movieClip 143 BeginBGTM {
}
movieClip 145 BeginBGTL {
}
movieClip 147 BeginBGCR {
}
movieClip 149 BeginBGCM {
}
movieClip 151 BeginBGCL {
}
movieClip 153 BeginBGBR {
}
movieClip 155 BeginBGBM {
}
movieClip 157 BeginBGBL {
}
movieClip 160 {
}
movieClip 162 BeginOrbDisabled {
}
movieClip 164 BeginOrbDown {
}
movieClip 166 {
}
movieClip 168 BeginOrbOver {
}
movieClip 170 BeginOrbUp {
}
movieClip 171 {
}
// unknown tag 88 length 76
movieClip 176 {
}
movieClip 177 ReplayDisabled {
}
movieClip 179 ReplayDown {
}
movieClip 181 ReplayOver {
}
movieClip 182 ReplayUp {
}
movieClip 184 AboutIconDisabled {
}
movieClip 186 AboutIconDown {
}
movieClip 188 AboutIconOver {
}
movieClip 189 AboutIconUp {
}
movieClip 190 HotspotContainer {
}
movieClip 191 Hotspot {
}
movieClip 192 CamtasiaApplication {
}
movieClip 193 CamtasiaPlayer {
}
movieClip 194 CaptionWindow {
}
movieClip 195 TOCFixedWindow {
}
movieClip 197 FixedRightIndexBG {
}
movieClip 199 FixedLeftIndexBG {
}
movieClip 200 TreeWrapper {
}
movieClip 201 TOCHeader {
}
movieClip 202 TOCContent {
}
movieClip 203 TOCWindow {
}
movieClip 206 ScrollTrack {
}
movieClip 213 ScrollDownArrowDisabled {
}
movieClip 215 ScrollThemeColor1 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 217 ScrollThemeColor2 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 218 ScrollDownArrowDown {
}
movieClip 219 ScrollDownArrowOver {
}
movieClip 220 ScrollDownArrowUp {
}
movieClip 226 ScrollThumbBottomDisabled {
}
movieClip 228 ThumbThemeColor1 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 230 ThumbThemeColor3 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 231 ScrollThumbBottomDown {
}
movieClip 232 ScrollThumbBottomOver {
}
movieClip 233 ScrollThumbBottomUp {
}
movieClip 235 ScrollThumbGripDisabled {
}
movieClip 237 ThumbThemeColor2 {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor');
}
}
movieClip 238 ScrollThumbGripDown {
}
movieClip 239 ScrollThumbGripOver {
}
movieClip 240 ScrollThumbGripUp {
}
movieClip 242 ScrollThumbMiddleDisabled {
}
movieClip 243 ScrollThumbMiddleDown {
}
movieClip 244 {
}
movieClip 245 {
}
movieClip 246 ScrollThumbMiddleOver {
}
movieClip 247 ScrollThumbMiddleUp {
}
movieClip 248 ScrollThumbTopDisabled {
}
movieClip 249 ScrollThumbTopDown {
}
movieClip 250 ScrollThumbTopOver {
}
movieClip 251 ScrollThumbTopUp {
}
movieClip 252 ScrollTrackDisabled {
}
movieClip 253 ScrollUpArrowDisabled {
}
movieClip 254 ScrollUpArrowDown {
}
movieClip 255 ScrollUpArrowOver {
}
movieClip 256 ScrollUpArrowUp {
}
movieClip 257 BtnDownArrow {
#initclip
Object.registerClass('BtnDownArrow', mx.controls.SimpleButton);
#endinitclip
}
movieClip 258 BtnUpArrow {
#initclip
Object.registerClass('BtnUpArrow', mx.controls.SimpleButton);
#endinitclip
}
movieClip 259 ScrollBarAssets {
}
movieClip 260 VScrollBarAssets {
}
movieClip 261 HScrollBarAssets {
}
movieClip 263 TreeDisclosureClosed {
}
movieClip 265 TreeDisclosureOpen {
}
movieClip 267 TreeFolderClosed {
}
movieClip 269 TreeFolderOpen {
}
movieClip 271 TreeNodeIcon {
}
movieClip 272 TreeAssets {
}
movieClip 273 nullicon {
}
movieClip 276 {
}
movieClip 278 ShareDown {
}
movieClip 280 ShareDisabled {
}
movieClip 281 ShareOver {
}
movieClip 282 ShareUp {
}
movieClip 283 EndScreen {
}
movieClip 284 TimeDisplay {
}
movieClip 285 StartScreen {
}
movieClip 286 AboutWindow {
}
movieClip 287 XSAboutMedia {
}
movieClip 289 AboutLogo {
}
movieClip 291 InfoTabUnselectedOver {
}
movieClip 293 InfoTabUnselectedDisabled {
}
movieClip 295 InfoTabUnselectedDown {
}
movieClip 297 AboutTabUnselectedDisabled {
}
movieClip 299 AboutTabUnselectedDown {
}
movieClip 301 AboutTabUnselectedOver {
}
movieClip 303 InfoTabSelectedOver {
}
movieClip 305 InfoTabSelectedDown {
}
movieClip 307 InfoTabSelectedDisabled {
}
movieClip 309 InfoTabSelectedUp {
}
movieClip 311 InfoTabUnselectedUp {
}
movieClip 313 AboutTabUnselectedUp {
}
movieClip 315 AboutTabSelectedDown {
}
movieClip 317 AboutTabSelectedOver {
}
movieClip 319 AboutTabSelectedDisabled {
}
movieClip 321 AboutTabSelectedUp {
}
movieClip 323 PlayOver {
}
movieClip 325 PlayUp {
}
movieClip 327 PlayDown {
}
movieClip 329 PlayDisabled {
}
movieClip 331 AudioIconSelectedDisabled {
}
movieClip 333 AudioIconSelectedDown {
}
movieClip 335 AudioIconSelectedOver {
}
movieClip 337 AudioIconSelectedUp {
}
movieClip 339 AudioIconDisabled {
}
movieClip 341 AudioIconDown {
}
movieClip 343 AudioIconOver {
}
movieClip 345 AudioIconUp {
}
movieClip 347 PauseDisabled {
}
movieClip 349 PauseDown {
}
movieClip 351 PauseOver {
}
movieClip 353 PauseUp {
}
movieClip 355 CCClosedDisabled {
}
movieClip 356 CCDisabled {
}
movieClip 358 CCClosedDown {
}
movieClip 359 CCDown {
}
movieClip 361 CCClosedOver {
}
movieClip 363 CCOver {
}
movieClip 365 CCClosedUp {
}
movieClip 366 CCUp {
}
movieClip 367 SwfMedia {
}
movieClip 369 FlvMedia {
}
movieClip 370 ProgressBar {
}
movieClip 371 ProgressSlider {
}
movieClip 372 Scale9Panel {
}
movieClip 373 SimpleComponent {
}
movieClip 374 HPanel {
}
movieClip 375 BasicButton {
}
movieClip 376 Slice9Panel {
}
movieClip 377 StartWidget {
}
movieClip 378 ImageSlice {
}
movieClip 379 BitmapThumbnail {
}
movieClip 380 BitmapReflection {
}
movieClip 381 BitmapReflectingThumb {
}
movieClip 382 Label {
}
movieClip 383 SliderTrack {
}
movieClip 385 XSCloseDisabled {
}
movieClip 387 XSCloseDown {
}
movieClip 389 XSCloseOver {
}
movieClip 391 XSCloseUp {
}
movieClip 392 ClickCanvas {
}
movieClip 393 DragCanvas {
}
movieClip 394 BasicCanvas {
}
movieClip 395 XSWindow {
}
movieClip 396 XSPanel {
}
movieClip 398 XSBlackPanelTL {
}
movieClip 400 XSBlackPanelTM {
}
movieClip 402 XSBlackPanelTR {
}
movieClip 404 XSBlackPanelCL {
}
movieClip 406 XSBlackPanelCM {
}
movieClip 408 XSBlackPanelCR {
}
movieClip 410 XSBlackPanelBL {
}
movieClip 412 XSBlackPanelBM {
}
movieClip 414 XSBlackPanelBR {
}
movieClip 416 XSGlassPanelTL {
}
movieClip 418 XSGlassPanelTM {
}
movieClip 420 XSGlassPanelTR {
}
movieClip 421 XSGlassPanelCL {
}
movieClip 422 XSGlassPanelCM {
}
movieClip 423 XSGlassPanelCR {
}
movieClip 425 XSGlassPanelBL {
}
movieClip 426 XSGlassPanelBM {
}
movieClip 428 XSGlassPanelBR {
}
movieClip 430 {
}
movieClip 431 Separator {
}
movieClip 433 ScreenMinUp {
}
movieClip 435 ScreenMaxUp {
}
movieClip 437 ScreenMinDisabled {
}
movieClip 439 ScreenMinDown {
}
movieClip 441 ScreenMinOver {
}
movieClip 443 ScreenMaxDisabled {
}
movieClip 445 ScreenMaxDown {
}
movieClip 447 ScreenMaxOver {
}
movieClip 449 SliderFill {
}
movieClip 451 SliderBase {
}
movieClip 452 SliderThumbDisabled {
}
movieClip 453 SliderThumbDown {
}
movieClip 454 SliderThumbOver {
}
movieClip 455 SliderThumbUp {
}
movieClip 457 BottomMiddle {
}
movieClip 459 BottomRight {
}
movieClip 460 BottomLeft {
}
movieClip 461 TextArea {
}
movieClip 466 {
}
movieClip 470 {
}
movieClip 471 {
}
movieClip 475 {
}
movieClip 476 {
}
movieClip 480 {
}
movieClip 483 {
}
movieClip 484 {
}
movieClip 487 {
}
movieClip 488 {
}
movieClip 489 {
}
movieClip 493 {
}
movieClip 494 {
}
movieClip 498 {
}
movieClip 501 {
}
movieClip 502 {
}
movieClip 505 {
}
movieClip 506 {
}
movieClip 509 {
}
movieClip 512 {
}
movieClip 513 {
}
movieClip 516 {
}
movieClip 517 {
}
movieClip 518 {
}
movieClip 521 {
}
movieClip 522 {
}
movieClip 523 {
}
movieClip 527 {
}
movieClip 530 {
}
movieClip 531 {
}
movieClip 534 {
}
movieClip 535 {
}
movieClip 538 {
}
movieClip 541 {
}
movieClip 542 {
}
movieClip 545 {
}
movieClip 546 {
}
movieClip 547 {
}
movieClip 550 {
}
movieClip 551 {
}
movieClip 554 {
}
movieClip 557 {
}
movieClip 558 {
}
movieClip 561 {
}
movieClip 562 {
}
movieClip 565 {
}
movieClip 568 {
}
movieClip 569 {
}
movieClip 572 {
}
movieClip 573 {
}
movieClip 574 {
}
movieClip 577 {
}
movieClip 578 {
}
movieClip 579 {
}
movieClip 580 {
}
movieClip 581 {
}
movieClip 582 {
}
movieClip 583 TocMedia {
}
movieClip 584 ToolTip {
}
movieClip 590 BoundingBox {
}
movieClip 592 BrdrShdw {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'shadowColor');
}
}
movieClip 594 BrdrFace {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'buttonColor');
}
}
movieClip 595 SimpleButtonDown {
}
movieClip 597 BrdrBlk {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'borderColor');
}
}
movieClip 599 BrdrHilght {
frame 1 {
mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor');
}
}
movieClip 600 SimpleButtonIn {
}
movieClip 601 SimpleButtonUp {
}
movieClip 602 Defaults {
#initclip
Object.registerClass('Defaults', mx.skins.halo.Defaults);
#endinitclip
}
movieClip 603 UIObjectExtensions {
#initclip
Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions);
#endinitclip
}
movieClip 604 UIObject {
#initclip
Object.registerClass('UIObject', mx.core.UIObject);
#endinitclip
frame 1 {
stop();
}
}
button 607 {
on (keyPress '<Tab>') {
this.tabHandler();
}
}
movieClip 608 {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--);
}
#endinitclip
frame 1 {
}
}
movieClip 609 FocusRect {
#initclip
Object.registerClass('FocusRect', mx.skins.halo.FocusRect);
#endinitclip
}
movieClip 610 FocusManager {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
#endinitclip
frame 1 {
stop();
}
}
movieClip 611 UIComponentExtensions {
#initclip
Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions);
#endinitclip
}
movieClip 612 UIComponent {
#initclip
Object.registerClass('UIComponent', mx.core.UIComponent);
#endinitclip
frame 1 {
stop();
}
}
movieClip 613 SimpleButton {
#initclip
Object.registerClass('SimpleButton', mx.controls.SimpleButton);
#endinitclip
frame 1 {
stop();
}
}
movieClip 614 Border {
#initclip
Object.registerClass('Border', mx.skins.Border);
#endinitclip
frame 1 {
stop();
}
}
movieClip 615 RectBorder {
#initclip
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass('RectBorder', mx.skins.halo.RectBorder);
#endinitclip
frame 1 {
stop();
}
}
movieClip 616 ButtonSkin {
#initclip
Object.registerClass('ButtonSkin', mx.skins.halo.ButtonSkin);
#endinitclip
}
movieClip 617 Button {
#initclip
Object.registerClass('Button', mx.controls.Button);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 613 SimpleButton {
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 618 CustomBorder {
#initclip
Object.registerClass('CustomBorder', mx.skins.CustomBorder);
mx.skins.SkinElement.registerElement('CustomBorder', mx.skins.CustomBorder);
#endinitclip
frame 1 {
}
}
movieClip 619 VScrollBar {
#initclip
Object.registerClass('VScrollBar', mx.controls.VScrollBar);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 617 Button {
onClipEvent (initialize) {
icon = '';
label = 'Button';
labelPlacement = 'right';
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
instance of movieClip 613 SimpleButton {
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 620 HScrollBar {
#initclip
Object.registerClass('HScrollBar', mx.controls.HScrollBar);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 617 Button {
onClipEvent (initialize) {
icon = '';
label = 'Button';
labelPlacement = 'right';
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
instance of movieClip 613 SimpleButton {
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 621 UIScrollBar {
#initclip
Object.registerClass('UIScrollBar', mx.controls.UIScrollBar);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 619 VScrollBar {
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
instance of movieClip 620 HScrollBar {
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 657 DataProvider {
#initclip
Object.registerClass('DataProvider', mx.controls.listclasses.DataProvider);
#endinitclip
frame 1 {
stop();
}
}
movieClip 658 DataSelector {
#initclip
Object.registerClass('DataSelector', mx.controls.listclasses.DataSelector);
#endinitclip
frame 1 {
stop();
}
}
movieClip 659 SelectableRow {
#initclip
Object.registerClass('SelectableRow', mx.controls.listclasses.SelectableRow);
#endinitclip
frame 1 {
stop();
}
}
movieClip 660 View {
#initclip
Object.registerClass('View', mx.core.View);
#endinitclip
frame 1 {
stop();
}
}
movieClip 661 ScrollView {
#initclip
Object.registerClass('ScrollView', mx.core.ScrollView);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 620 HScrollBar {
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
instance of movieClip 619 VScrollBar {
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
}
movieClip 662 ScrollSelectList {
#initclip
Object.registerClass('ScrollSelectList', mx.controls.listclasses.ScrollSelectList);
#endinitclip
frame 1 {
stop();
}
}
movieClip 663 List {
#initclip
Object.registerClass('List', mx.controls.List);
#endinitclip
frame 1 {
stop();
}
}
movieClip 664 TreeDataProvider {
#initclip
Object.registerClass('TreeDataProvider', mx.controls.treeclasses.TreeDataProvider);
#endinitclip
}
movieClip 665 TreeRow {
#initclip
Object.registerClass('TreeRow', mx.controls.treeclasses.TreeRow);
#endinitclip
frame 1 {
stop();
}
}
movieClip 666 TSTree {
#initclip
Object.registerClass('TSTree', com.techsmith.camtasia.components.TSTree);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 663 List {
onClipEvent (initialize) {
multipleSelection = false;
rowHeight = 20;
}
}
}
movieClip 672 ScrollPane {
#initclip
Object.registerClass('ScrollPane', mx.containers.ScrollPane);
#endinitclip
frame 1 {
stop();
}
}
frame 1 {
var tscwidth;
var tscheight;
var fps;
var config;
}
movieClip 634 __Packages.mx.skins.ColoredSkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.ColoredSkinElement) {
var v1 = function () {};
mx.skins.ColoredSkinElement = v1;
var v2 = v1.prototype;
v2.setColor = function (c) {
if (c != undefined) {
var v2 = new Color(this);
v2.setRGB(c);
}
};
v2.draw = function (Void) {
this.setColor(this.getStyle(this._color));
this.onEnterFrame = undefined;
};
v2.invalidateStyle = function (Void) {
this.onEnterFrame = this.draw;
};
v1.setColorStyle = function (p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mx.skins.ColoredSkinElement.mixins.setColor;
p.invalidateStyle = mx.skins.ColoredSkinElement.mixins.invalidateStyle;
p.draw = mx.skins.ColoredSkinElement.mixins.draw;
p.setColor(p.getStyle(colorStyle));
};
v1.mixins = new mx.skins.ColoredSkinElement();
ASSetPropFlags(mx.skins.ColoredSkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 585 __Packages.mx.core.UIObject {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIObject) {
var v1 = function () {
super();
this.constructObject();
};
mx.core.UIObject = v1;
mx.core.UIObject extends MovieClip;
var v2 = v1.prototype;
v2.__get__width = function () {
return this._width;
};
v2.__get__height = function () {
return this._height;
};
v2.__get__left = function () {
return this._x;
};
v2.__get__x = function () {
return this._x;
};
v2.__get__top = function () {
return this._y;
};
v2.__get__y = function () {
return this._y;
};
v2.__get__right = function () {
return this._parent.width - (this._x + this.__get__width());
};
v2.__get__bottom = function () {
return this._parent.height - (this._y + this.__get__height());
};
v2.getMinHeight = function (Void) {
return this._minHeight;
};
v2.setMinHeight = function (h) {
this._minHeight = h;
};
v2.__get__minHeight = function () {
return this.getMinHeight();
};
v2.__set__minHeight = function (h) {
this.setMinHeight(h);
return this.__get__minHeight();
};
v2.getMinWidth = function (Void) {
return this._minWidth;
};
v2.setMinWidth = function (w) {
this._minWidth = w;
};
v2.__get__minWidth = function () {
return this.getMinWidth();
};
v2.__set__minWidth = function (w) {
this.setMinWidth(w);
return this.__get__minWidth();
};
v2.setVisible = function (x, noEvent) {
if (x != this._visible) {
this._visible = x;
if (noEvent != true) {
this.dispatchEvent({'type': x ? 'reveal' : 'hide'});
}
}
};
v2.__get__visible = function () {
return this._visible;
};
v2.__set__visible = function (x) {
this.setVisible(x, false);
return this.__get__visible();
};
v2.__get__scaleX = function () {
return this._xscale;
};
v2.__set__scaleX = function (x) {
this._xscale = x;
return this.__get__scaleX();
};
v2.__get__scaleY = function () {
return this._yscale;
};
v2.__set__scaleY = function (y) {
this._yscale = y;
return this.__get__scaleY();
};
v2.doLater = function (obj, fn) {
if (this.methodTable == undefined) {
this.methodTable = new Array();
}
this.methodTable.push({'obj': obj, 'fn': fn});
this.onEnterFrame = this.doLaterDispatcher;
};
v2.doLaterDispatcher = function (Void) {
delete this.onEnterFrame;
if (this.invalidateFlag) {
this.redraw();
}
var v3 = this.methodTable;
this.methodTable = new Array();
if (v3.length > 0) {
var v2;
v2 = v3.shift();
while (v2 != undefined) {
v2.obj[v2.fn]();
}
}
};
v2.cancelAllDoLaters = function (Void) {
delete this.onEnterFrame;
this.methodTable = new Array();
};
v2.invalidate = function (Void) {
this.invalidateFlag = true;
this.onEnterFrame = this.doLaterDispatcher;
};
v2.invalidateStyle = function (Void) {
this.invalidate();
};
v2.redraw = function (bAlways) {
if (this.invalidateFlag || bAlways) {
this.invalidateFlag = false;
var v2;
for (v2 in this.tfList) {
this.tfList[v2].draw();
}
this.draw();
this.dispatchEvent({'type': 'draw'});
}
};
v2.draw = function (Void) {};
v2.move = function (x, y, noEvent) {
var v3 = this._x;
var v2 = this._y;
this._x = x;
this._y = y;
if (noEvent != true) {
this.dispatchEvent({'type': 'move', 'oldX': v3, 'oldY': v2});
}
};
v2.setSize = function (w, h, noEvent) {
var v3 = this.__width;
var v2 = this.__height;
this.__width = w;
this.__height = h;
this.size();
if (noEvent != true) {
this.dispatchEvent({'type': 'resize', 'oldWidth': v3, 'oldHeight': v2});
}
};
v2.size = function (Void) {
this._width = this.__width;
this._height = this.__height;
};
v2.drawRect = function (x1, y1, x2, y2) {
this.moveTo(x1, y1);
this.lineTo(x2, y1);
this.lineTo(x2, y2);
this.lineTo(x1, y2);
this.lineTo(x1, y1);
};
v2.createLabel = function (name, depth, text) {
this.createTextField(name, depth, 0, 0, 0, 0);
var v2 = this[name];
v2._color = mx.core.UIObject.textColorList;
v2._visible = false;
v2.__text = text;
if (this.tfList == undefined) {
this.tfList = new Object();
}
this.tfList[name] = v2;
v2.invalidateStyle();
this.invalidate();
v2.styleName = this;
return v2;
};
v2.createObject = function (linkageName, id, depth, initobj) {
return this.attachMovie(linkageName, id, depth, initobj);
};
v2.createClassObject = function (className, id, depth, initobj) {
var v3 = className.symbolName == undefined;
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var v4 = mx.core.UIObject(this.createObject(className.symbolOwner.symbolName, id, depth, initobj));
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return v4;
};
v2.createEmptyObject = function (id, depth) {
return this.createClassObject(mx.core.UIObject, id, depth);
};
v2.destroyObject = function (id) {
var v2 = this[id];
if (v2.getDepth() < 0) {
var v4 = this.buildDepthTable();
var v5 = this.findNextAvailableDepth(0, v4, 'up');
var v3 = v5;
v2.swapDepths(v3);
}
v2.removeMovieClip();
delete this[id];
};
v2.getSkinIDName = function (tag) {
return this.idNames[tag];
};
v2.setSkin = function (tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return this.createObject(linkageName, this.getSkinIDName(tag), tag, initObj);
};
v2.createSkin = function (tag) {
var v2 = this.getSkinIDName(tag);
this.createEmptyObject(v2, tag);
return this[v2];
};
v2.createChildren = function (Void) {};
v2._createChildren = function (Void) {
this.createChildren();
this.childrenCreated = true;
};
v2.constructObject = function (Void) {
if (this._name == undefined) {
return undefined;
}
this.init();
this._createChildren();
this.createAccessibilityImplementation();
this._endInit();
if (this.validateNow) {
this.redraw(true);
} else {
this.invalidate();
}
};
v2.initFromClipParameters = function (Void) {
var v4 = false;
var v2;
for (v2 in this.clipParameters) {
if (this.hasOwnProperty(v2)) {
v4 = true;
this['def_' + v2] = this[v2];
delete this[v2];
}
}
if (v4) {
for (v2 in this.clipParameters) {
var v3 = this['def_' + v2];
if (v3 != undefined) {
this[v2] = v3;
}
}
}
};
v2.init = function (Void) {
this.__width = this._width;
this.__height = this._height;
if (this.initProperties == undefined) {
this.initFromClipParameters();
} else {
this.initProperties();
}
if (_global.cascadingStyles == true) {
this.stylecache = new Object();
}
};
v2.getClassStyleDeclaration = function (Void) {
var v4 = this;
var v3 = this.className;
while (v3 != undefined) {
if (this.ignoreClassStyleDeclaration[v3] == undefined) {
if (_global.styles[v3] != undefined) {
return _global.styles[v3];
}
}
v4 = v4.__proto__;
v3 = v4.className;
}
};
v2.setColor = function (color) {};
v2.__getTextFormat = function (tf, bAll) {
var v8 = this.stylecache.tf;
if (v8 != undefined) {
var v3;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
tf[v3] = v8[v3];
}
}
}
return false;
}
var v6 = false;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
var v5 = this._tf[v3];
if (v5 != undefined) {
tf[v3] = v5;
} else {
if (v3 == 'font' && this.fontFamily != undefined) {
tf[v3] = this.fontFamily;
} else {
if (v3 == 'size' && this.fontSize != undefined) {
tf[v3] = this.fontSize;
} else {
if (v3 == 'color' && this.color != undefined) {
tf[v3] = this.color;
} else {
if (v3 == 'leftMargin' && this.marginLeft != undefined) {
tf[v3] = this.marginLeft;
} else {
if (v3 == 'rightMargin' && this.marginRight != undefined) {
tf[v3] = this.marginRight;
} else {
if (v3 == 'italic' && this.fontStyle != undefined) {
tf[v3] = this.fontStyle == v3;
} else {
if (v3 == 'bold' && this.fontWeight != undefined) {
tf[v3] = this.fontWeight == v3;
} else {
if (v3 == 'align' && this.textAlign != undefined) {
tf[v3] = this.textAlign;
} else {
if (v3 == 'indent' && this.textIndent != undefined) {
tf[v3] = this.textIndent;
} else {
if (v3 == 'underline' && this.textDecoration != undefined) {
tf[v3] = this.textDecoration == v3;
} else {
if (v3 == 'embedFonts' && this.embedFonts != undefined) {
tf[v3] = this.embedFonts;
} else {
v6 = true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (v6) {
var v9 = this.styleName;
if (v9 != undefined) {
if (typeof v9 != 'string') {
v6 = v9.__getTextFormat(tf, true, this);
} else {
if (_global.styles[v9] != undefined) {
v6 = _global.styles[v9].__getTextFormat(tf, true, this);
}
}
}
}
if (v6) {
var v10 = this.getClassStyleDeclaration();
if (v10 != undefined) {
v6 = v10.__getTextFormat(tf, true, this);
}
}
if (v6) {
if (_global.cascadingStyles) {
if (this._parent != undefined) {
v6 = this._parent.__getTextFormat(tf, false);
}
}
}
if (v6) {
v6 = _global.style.__getTextFormat(tf, true, this);
}
return v6;
};
v2._getTextFormat = function (Void) {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2, true);
this.stylecache.tf = v2;
if (this.enabled == false) {
var v3 = this.getStyle('disabledColor');
v2.color = v3;
}
return v2;
};
v2.getStyleName = function (Void) {
var v2 = this.styleName;
if (v2 != undefined) {
if (typeof v2 != 'string') {
return v2.getStyleName();
} else {
return v2;
}
}
if (this._parent != undefined) {
return this._parent.getStyleName();
} else {
return undefined;
}
};
v2.getStyle = function (styleProp) {
var v3;
++_global.getStyleCounter;
if (this[styleProp] != undefined) {
return this[styleProp];
}
var v6 = this.styleName;
if (v6 != undefined) {
if (typeof v6 != 'string') {
v3 = v6.getStyle(styleProp);
} else {
var v7 = _global.styles[v6];
v3 = v7.getStyle(styleProp);
}
}
if (v3 != undefined) {
return v3;
}
v7 = this.getClassStyleDeclaration();
if (v7 != undefined) {
v3 = v7[styleProp];
}
if (v3 != undefined) {
return v3;
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || mx.styles.StyleManager.isColorStyle(styleProp)) {
var v5 = this.stylecache;
if (v5 != undefined) {
if (v5[styleProp] != undefined) {
return v5[styleProp];
}
}
if (this._parent != undefined) {
v3 = this._parent.getStyle(styleProp);
} else {
v3 = _global.style[styleProp];
}
if (v5 != undefined) {
v5[styleProp] = v3;
}
return v3;
}
}
if (v3 == undefined) {
v3 = _global.style[styleProp];
}
return v3;
};
v1.mergeClipParameters = function (o, p) {
for (var v3 in p) {
o[v3] = p[v3];
}
return true;
};
v1.symbolName = 'UIObject';
v1.symbolOwner = mx.core.UIObject;
v1.version = '2.0.2.127';
v1.textColorList = {'color': 1, 'disabledColor': 1};
v2.invalidateFlag = false;
v2.lineWidth = 1;
v2.lineColor = 0;
v2.tabEnabled = false;
v2.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1};
v2.addProperty('bottom', v2.__get__bottom, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('left', v2.__get__left, function () {});
v2.addProperty('minHeight', v2.__get__minHeight, v2.__set__minHeight);
v2.addProperty('minWidth', v2.__get__minWidth, v2.__set__minWidth);
v2.addProperty('right', v2.__get__right, function () {});
v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX);
v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY);
v2.addProperty('top', v2.__get__top, function () {});
v2.addProperty('visible', v2.__get__visible, v2.__set__visible);
v2.addProperty('width', v2.__get__width, function () {});
v2.addProperty('x', v2.__get__x, function () {});
v2.addProperty('y', v2.__get__y, function () {});
ASSetPropFlags(mx.core.UIObject.prototype, null, 1);
}
#endinitclip
}
movieClip 622 __Packages.mx.skins.SkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.SkinElement) {
var v1 = function () {
super();
};
mx.skins.SkinElement = v1;
mx.skins.SkinElement extends MovieClip;
var v2 = v1.prototype;
v1.registerElement = function (name, className) {
Object.registerClass(name, (className == undefined) ? mx.skins.SkinElement : className);
_global.skinRegistry[name] = true;
};
v2.__set__visible = function (visible) {
this._visible = visible;
};
v2.move = function (x, y) {
this._x = x;
this._y = y;
};
v2.setSize = function (w, h) {
this._width = w;
this._height = h;
};
ASSetPropFlags(mx.skins.SkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 623 __Packages.mx.styles.CSSTextStyles {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSTextStyles) {
var v1 = function () {};
mx.styles.CSSTextStyles = v1;
var v2 = v1.prototype;
v1.addTextStyles = function (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;
});
};
ASSetPropFlags(mx.styles.CSSTextStyles.prototype, null, 1);
}
#endinitclip
}
movieClip 625 __Packages.mx.styles.CSSStyleDeclaration {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSStyleDeclaration) {
var v1 = function () {};
mx.styles.CSSStyleDeclaration = v1;
var v2 = v1.prototype;
v2.__getTextFormat = function (tf, bAll) {
var v5 = false;
if (this._tf != undefined) {
var v2;
for (v2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v2]) {
if (tf[v2] == undefined) {
var v3 = this._tf[v2];
if (v3 != undefined) {
tf[v2] = v3;
} else {
v5 = true;
}
}
}
}
return v5;
}
v5 = true;
return v5;
};
v2.getStyle = function (styleProp) {
var v2 = this[styleProp];
var v3 = mx.styles.StyleManager.getColorName(v2);
return (v3 == undefined) ? v2 : v3;
};
v1.classConstruct = function () {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return true;
};
v1.classConstructed = mx.styles.CSSStyleDeclaration.classConstruct();
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
ASSetPropFlags(mx.styles.CSSStyleDeclaration.prototype, null, 1);
}
#endinitclip
}
movieClip 624 __Packages.mx.styles.StyleManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.StyleManager) {
var v1 = function () {};
mx.styles.StyleManager = v1;
var v2 = v1.prototype;
v1.registerInheritingStyle = function (styleName) {
mx.styles.StyleManager.inheritingStyles[styleName] = true;
};
v1.isInheritingStyle = function (styleName) {
return mx.styles.StyleManager.inheritingStyles[styleName] == true;
};
v1.registerColorStyle = function (styleName) {
mx.styles.StyleManager.colorStyles[styleName] = true;
};
v1.isColorStyle = function (styleName) {
return mx.styles.StyleManager.colorStyles[styleName] == true;
};
v1.registerColorName = function (colorName, colorValue) {
mx.styles.StyleManager.colorNames[colorName] = colorValue;
};
v1.isColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName] != undefined;
};
v1.getColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName];
};
v1.inheritingStyles = {'color': true, 'direction': true, 'fontFamily': true, 'fontSize': true, 'fontStyle': true, 'fontWeight': true, 'textAlign': true, 'textIndent': true};
v1.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};
v1.colorNames = {'black': 0, 'white': 16777215, 'red': 16711680, 'green': 65280, 'blue': 255, 'magenta': 16711935, 'yellow': 16776960, 'cyan': 65535, 'haloGreen': 8453965, 'haloBlue': 2881013, 'haloOrange': 16761344};
v1.TextFormatStyleProps = {'font': true, 'size': true, 'color': true, 'leftMargin': false, 'rightMargin': false, 'italic': true, 'bold': true, 'align': true, 'indent': true, 'underline': false, 'embedFonts': false};
v1.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};
ASSetPropFlags(mx.styles.StyleManager.prototype, null, 1);
}
#endinitclip
}
movieClip 586 __Packages.mx.core.UIComponent {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIComponent) {
var v1 = function () {
super();
};
mx.core.UIComponent = v1;
mx.core.UIComponent extends mx.core.UIObject;
var v2 = v1.prototype;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.setVisible = function (x, noEvent) {
super.setVisible(x, noEvent);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this.setEnabled(newValue);
this.invalidate();
delete this.stylecache.tf;
return newValue;
};
v2.setEnabled = function (enabled) {
this.invalidate();
};
v2.getFocus = function () {
var selFocus = Selection.getFocus();
return (selFocus === null) ? null : eval(selFocus);
};
v2.setFocus = function () {
Selection.setFocus(this);
};
v2.getFocusManager = function () {
var v2 = this;
while (v2 != undefined) {
if (v2.focusManager != undefined) {
return v2.focusManager;
}
v2 = v2._parent;
}
return undefined;
};
v2.onKillFocus = function (newFocus) {
this.removeEventListener('keyDown', this);
this.removeEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusOut'});
this.drawFocus(false);
};
v2.onSetFocus = function (oldFocus) {
this.addEventListener('keyDown', this);
this.addEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusIn'});
if ((this.getFocusManager()).bDrawFocus != false) {
this.drawFocus(true);
}
};
v2.findFocusInChildren = function (o) {
if (o.focusTextField != undefined) {
return o.focusTextField;
}
if (o.tabEnabled == true) {
return o;
}
return undefined;
};
v2.findFocusFromObject = function (o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return undefined;
}
if (o._parent.tabEnabled == true) {
o = o._parent;
return o;
}
if (o._parent.tabChildren) {
o = this.findFocusInChildren(o._parent);
return o;
}
o = this.findFocusFromObject(o._parent);
}
return o;
};
v2.pressFocus = function () {
var v3 = this.findFocusFromObject(this);
var v2 = this.getFocus();
if (v3 != v2) {
v2.drawFocus(false);
if ((this.getFocusManager()).bDrawFocus != false) {
v3.drawFocus(true);
}
}
};
v2.releaseFocus = function () {
var v2 = this.findFocusFromObject(this);
if (v2 != this.getFocus()) {
v2.setFocus();
}
};
v2.isParent = function (o) {
while (o != undefined) {
if (o == this) {
return true;
}
o = o._parent;
}
return false;
};
v2.size = function () {};
v2.init = function () {
super.init();
this._xscale = 100;
this._yscale = 100;
this._focusrect = _global.useFocusRect == false;
this.watch('enabled', this.enabledChanged);
if (this.enabled == false) {
this.setEnabled(false);
}
};
v2.dispatchValueChangedEvent = function (value) {
this.dispatchEvent({'type': 'valueChanged', 'value': value});
};
v1.symbolName = 'UIComponent';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.127';
v1.kStretch = 5000;
v2.focusEnabled = true;
v2.tabEnabled = true;
v2.origBorderStyles = {'themeColor': 16711680};
v2.clipParameters = {};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.core.UIComponent.prototype, null, 1);
}
#endinitclip
}
movieClip 629 __Packages.mx.controls.SimpleButton {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.SimpleButton) {
var v1 = function () {
super();
};
mx.controls.SimpleButton = v1;
mx.controls.SimpleButton extends mx.core.UIComponent;
var v2 = v1.prototype;
v2.init = function (Void) {
super.init();
if (this.preset == undefined) {
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
}
this.useHandCursor = false;
};
v2.createChildren = function (Void) {
if (this.preset != undefined) {
var v2 = this[this.idNames[this.preset]];
this[this.refNames[this.preset]] = v2;
this.skinName = v2;
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
this.initializing = false;
} else {
if (this.__state == true) {
this.setStateVar(true);
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
}
}
};
v2.setIcon = function (tag, linkageName) {
return this.setSkin(tag + 8, linkageName);
};
v2.changeIcon = function (tag, linkageName) {
this.linkLength = linkageName.length;
var v2 = this.stateNames[tag] + 'Icon';
this[v2] = linkageName;
this[this.idNames[tag + 8]] = v2;
this.setStateVar(this.getState());
};
v2.changeSkin = function (tag, linkageName) {
var v2 = this.stateNames[tag] + 'Skin';
this[v2] = linkageName;
this[this.idNames[tag]] = v2;
this.setStateVar(this.getState());
};
v2.viewIcon = function (varName) {
var v4 = varName + 'Icon';
var v3 = this[v4];
if (typeof v3 == 'string') {
var v5 = v3;
if (this.__emphasized) {
if (this[v3 + 'Emphasized'].length > 0) {
v3 += 'Emphasized';
}
}
if (this[v3].length == 0) {
return undefined;
}
v3 = this.setIcon(this.tagMap[v5], this[v3]);
if (v3 == undefined && _global.isLivePreview) {
v3 = this.setIcon(0, 'ButtonIcon');
}
this[v4] = v3;
}
this.iconName._visible = false;
this.iconName = v3;
this.iconName._visible = true;
};
v2.removeIcons = function () {
var v3 = 0;
while (v3 < 2) {
var v2 = 8;
while (v2 < 16) {
this.destroyObject(this.idNames[v2]);
this[this.stateNames[v2 - 8] + 'Icon'] = '';
++v2;
}
++v3;
}
this.refresh();
};
v2.setSkin = function (tag, linkageName, initobj) {
if (initobj == undefined) {
var v3 = super.setSkin(tag, linkageName, {'styleName': this});
this.calcSize(tag, v3);
return v3;
}
var v3 = super.setSkin(tag, linkageName, initobj);
this.calcSize(tag, v3);
return v3;
};
v2.calcSize = function (Void) {
this.__width = this._width;
this.__height = this._height;
};
v2.viewSkin = function (varName, initObj) {
var v3 = varName + 'Skin';
var v2 = this[v3];
if (typeof v2 == 'string') {
var v4 = v2;
if (this.__emphasized) {
if (this[v2 + 'Emphasized'].length > 0) {
v2 += 'Emphasized';
}
}
if (this[v2].length == 0) {
return undefined;
}
v2 = this.setSkin(this.tagMap[v4], this[v2], (initObj != undefined) ? initObj : {'styleName': this});
this[v3] = v2;
}
this.skinName._visible = false;
this.skinName = v2;
this.skinName._visible = true;
};
v2.showEmphasized = function (e) {
if (e && !this.__emphatic) {
if (mx.controls.SimpleButton.emphasizedStyleDeclaration != undefined) {
this.__emphaticStyleName = this.styleName;
this.styleName = mx.controls.SimpleButton.emphasizedStyleDeclaration;
}
this.__emphatic = true;
} else {
if (this.__emphatic) {
this.styleName = this.__emphaticStyleName;
}
this.__emphatic = false;
}
};
v2.refresh = function (Void) {
var v2 = this.getState();
if (this.enabled == false) {
this.viewIcon('disabled');
this.viewSkin('disabled');
} else {
this.viewSkin(this.phase);
this.viewIcon(this.phase);
}
this.setView(this.phase == 'down');
this.iconName.enabled = this.enabled;
};
v2.setView = function (offset) {
if (this.iconName == undefined) {
return undefined;
}
var v2 = offset ? this.btnOffset : 0;
this.iconName._x = (this.__width - this.iconName._width) / 2 + v2;
this.iconName._y = (this.__height - this.iconName._height) / 2 + v2;
};
v2.setStateVar = function (state) {
if (state) {
if (this.trueOverSkin.length == 0) {
this.rolloverSkin = this.tus;
} else {
this.rolloverSkin = this.trs;
}
if (this.trueOverIcon.length == 0) {
this.rolloverIcon = this.tui;
} else {
this.rolloverIcon = this.tri;
}
this.upSkin = this.tus;
this.downSkin = this.tds;
this.disabledSkin = this.dts;
this.upIcon = this.tui;
this.downIcon = this.tdi;
this.disabledIcon = this.dti;
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
} else {
this.rolloverSkin = this.frs;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
} else {
this.rolloverIcon = this.fri;
}
this.upSkin = this.fus;
this.downSkin = this.fds;
this.disabledSkin = this.dfs;
this.upIcon = this.fui;
this.downIcon = this.fdi;
this.disabledIcon = this.dfi;
}
this.__state = state;
};
v2.setState = function (state) {
if (state != this.__state) {
this.setStateVar(state);
this.invalidate();
}
};
v2.size = function (Void) {
this.refresh();
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
this.skinName.visible = true;
this.iconName.visible = true;
}
this.size();
};
v2.getState = function (Void) {
return this.__state;
};
v2.setToggle = function (val) {
this.__toggle = val;
if (this.__toggle == false) {
this.setState(false);
}
};
v2.getToggle = function (Void) {
return this.__toggle;
};
v2.__set__toggle = function (val) {
this.setToggle(val);
return this.__get__toggle();
};
v2.__get__toggle = function () {
return this.getToggle();
};
v2.__set__value = function (val) {
this.setSelected(val);
return this.__get__value();
};
v2.__get__value = function () {
return this.getSelected();
};
v2.__set__selected = function (val) {
this.setSelected(val);
return this.__get__selected();
};
v2.__get__selected = function () {
return this.getSelected();
};
v2.setSelected = function (val) {
if (this.__toggle) {
this.setState(val);
} else {
this.setState(this.initializing ? val : this.__state);
}
};
v2.getSelected = function () {
return this.__state;
};
v2.setEnabled = function (val) {
if (this.enabled != val) {
super.setEnabled(val);
this.invalidate();
}
};
v2.onPress = function (Void) {
this.pressFocus();
this.phase = 'down';
this.refresh();
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
this.interval = setInterval(this, 'onPressDelay', this.getStyle('repeatDelay'));
}
};
v2.onPressDelay = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
clearInterval(this.interval);
this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval'));
}
};
v2.onPressRepeat = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
updateAfterEvent();
};
v2.onRelease = function (Void) {
this.releaseFocus();
this.phase = 'rollover';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
if (this.getToggle()) {
this.setState(!this.getState());
} else {
this.refresh();
}
this.dispatchEvent({'type': 'click'});
};
v2.onDragOut = function (Void) {
this.phase = 'up';
this.refresh();
this.dispatchEvent({'type': 'buttonDragOut'});
};
v2.onDragOver = function (Void) {
if (this.phase != 'up') {
this.onPress();
return undefined;
} else {
this.phase = 'down';
this.refresh();
}
};
v2.onReleaseOutside = function (Void) {
this.releaseFocus();
this.phase = 'up';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
};
v2.onRollOver = function (Void) {
this.phase = 'rollover';
this.refresh();
};
v2.onRollOut = function (Void) {
this.phase = 'up';
this.refresh();
};
v2.getLabel = function (Void) {
return this.fui.text;
};
v2.setLabel = function (val) {
if (typeof this.fui == 'string') {
this.createLabel('fui', 8, val);
this.fui.styleName = this;
} else {
this.fui.text = val;
}
var v4 = this.fui._getTextFormat();
var v2 = v4.getTextExtent2(val);
this.fui._width = v2.width + 5;
this.fui._height = v2.height + 5;
this.iconName = this.fui;
this.setView(this.__state);
};
v2.__get__emphasized = function () {
return this.__emphasized;
};
v2.__set__emphasized = function (val) {
this.__emphasized = val;
var v2 = 0;
while (v2 < 8) {
this[this.idNames[v2]] = this.stateNames[v2] + 'Skin';
if (typeof this[this.idNames[v2 + 8]] == 'movieclip') {
this[this.idNames[v2 + 8]] = this.stateNames[v2] + 'Icon';
}
++v2;
}
this.showEmphasized(this.__emphasized);
this.setStateVar(this.__state);
this.invalidateStyle();
return this.__get__emphasized();
};
v2.keyDown = function (e) {
if (e.code == 32) {
this.onPress();
}
};
v2.keyUp = function (e) {
if (e.code == 32) {
this.onRelease();
}
};
v2.onKillFocus = function (newFocus) {
super.onKillFocus();
if (this.phase != 'up') {
this.phase = 'up';
this.refresh();
}
};
v1.symbolName = 'SimpleButton';
v1.symbolOwner = mx.controls.SimpleButton;
v1.version = '2.0.2.127';
v2.className = 'SimpleButton';
v2.style3dInset = 4;
v2.btnOffset = 1;
v2.__toggle = false;
v2.__state = false;
v2.__emphasized = false;
v2.__emphatic = false;
v1.falseUp = 0;
v1.falseDown = 1;
v1.falseOver = 2;
v1.falseDisabled = 3;
v1.trueUp = 4;
v1.trueDown = 5;
v1.trueOver = 6;
v1.trueDisabled = 7;
v2.falseUpSkin = 'SimpleButtonUp';
v2.falseDownSkin = 'SimpleButtonIn';
v2.falseOverSkin = '';
v2.falseDisabledSkin = 'SimpleButtonUp';
v2.trueUpSkin = 'SimpleButtonIn';
v2.trueDownSkin = '';
v2.trueOverSkin = '';
v2.trueDisabledSkin = 'SimpleButtonIn';
v2.falseUpIcon = '';
v2.falseDownIcon = '';
v2.falseOverIcon = '';
v2.falseDisabledIcon = '';
v2.trueUpIcon = '';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = '';
v2.phase = 'up';
v2.fui = 'falseUpIcon';
v2.fus = 'falseUpSkin';
v2.fdi = 'falseDownIcon';
v2.fds = 'falseDownSkin';
v2.frs = 'falseOverSkin';
v2.fri = 'falseOverIcon';
v2.dfi = 'falseDisabledIcon';
v2.dfs = 'falseDisabledSkin';
v2.tui = 'trueUpIcon';
v2.tus = 'trueUpSkin';
v2.tdi = 'trueDownIcon';
v2.tds = 'trueDownSkin';
v2.trs = 'trueOverSkin';
v2.tri = 'trueOverIcon';
v2.dts = 'trueDisabledSkin';
v2.dti = 'trueDisabledIcon';
v2.rolloverSkin = mx.controls.SimpleButton.prototype.frs;
v2.rolloverIcon = mx.controls.SimpleButton.prototype.fri;
v2.upSkin = mx.controls.SimpleButton.prototype.fus;
v2.downSkin = mx.controls.SimpleButton.prototype.fds;
v2.disabledSkin = mx.controls.SimpleButton.prototype.dfs;
v2.upIcon = mx.controls.SimpleButton.prototype.fui;
v2.downIcon = mx.controls.SimpleButton.prototype.fdi;
v2.disabledIcon = mx.controls.SimpleButton.prototype.dfi;
v2.initializing = true;
v2.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti'];
v2.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled'];
v2.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin'];
v2.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};
v2.addProperty('emphasized', v2.__get__emphasized, v2.__set__emphasized);
v2.addProperty('selected', v2.__get__selected, v2.__set__selected);
v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle);
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1);
}
#endinitclip
}
movieClip 587 __Packages.mx.controls.scrollClasses.ScrollBar {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.scrollClasses) {
_global.mx.controls.scrollClasses = new Object();
}
if (!_global.mx.controls.scrollClasses.ScrollBar) {
var v1 = function () {
super();
};
mx.controls.scrollClasses.ScrollBar = v1;
var v2 = new mx.core.UIComponent();
mx.controls.scrollClasses.ScrollBar.prototype = v2;
v2.__get__scrollPosition = function () {
return this._scrollPosition;
};
v2.__set__scrollPosition = function (pos) {
this._scrollPosition = pos;
if (this.isScrolling != true) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
var v3 = (pos - this.minPos) * (this.scrollTrack_mc.height - this.scrollThumb_mc._height) / (this.maxPos - this.minPos) + this.scrollTrack_mc.top;
this.scrollThumb_mc.move(0, v3);
}
return this.__get__scrollPosition();
};
v2.__get__pageScrollSize = function () {
return this.largeScroll;
};
v2.__set__pageScrollSize = function (lScroll) {
this.largeScroll = lScroll;
return this.__get__pageScrollSize();
};
v2.__set__lineScrollSize = function (sScroll) {
this.smallScroll = sScroll;
return this.__get__lineScrollSize();
};
v2.__get__lineScrollSize = function () {
return this.smallScroll;
};
v2.__get__virtualHeight = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
this._scrollPosition = 0;
this.tabEnabled = false;
this.focusEnabled = false;
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
v2.createChildren = function (Void) {
if (this.scrollTrack_mc == undefined) {
this.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrack, this.scrollTrackName);
}
this.scrollTrack_mc.visible = false;
var v3 = new Object();
v3.enabled = false;
v3.preset = mx.controls.SimpleButton.falseDisabled;
v3.initProperties = 0;
v3.autoRepeat = true;
v3.tabEnabled = false;
var v2;
if (this.upArrow_mc == undefined) {
v2 = this.createButton(this.upArrowName, 'upArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDUpArrow, v3);
}
v2.buttonDownHandler = this.onUpArrow;
v2.clickHandler = this.onScrollChanged;
this._minHeight = v2.height;
this._minWidth = v2.width;
if (this.downArrow_mc == undefined) {
v2 = this.createButton(this.downArrowName, 'downArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDDownArrow, v3);
}
v2.buttonDownHandler = this.onDownArrow;
v2.clickHandler = this.onScrollChanged;
this._minHeight += v2.height;
};
v2.createButton = function (linkageName, id, skinID, o) {
if (skinID == mx.controls.scrollClasses.ScrollBar.skinIDUpArrow) {
o.falseUpSkin = this.upArrowUpName;
o.falseDownSkin = this.upArrowDownName;
o.falseOverSkin = this.upArrowOverName;
var v3 = this.createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return v3;
}
o.falseUpSkin = this.downArrowUpName;
o.falseDownSkin = this.downArrowDownName;
o.falseOverSkin = this.downArrowOverName;
var v3 = this.createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return v3;
};
v2.createThumb = function (Void) {
var v2 = new Object();
v2.validateNow = true;
v2.tabEnabled = false;
v2.leftSkin = this.thumbTopName;
v2.middleSkin = this.thumbMiddleName;
v2.rightSkin = this.thumbBottomName;
v2.gripSkin = this.thumbGripName;
this.createClassObject(mx.controls.scrollClasses.ScrollThumb, 'scrollThumb_mc', mx.controls.scrollClasses.ScrollBar.skinIDThumb, v2);
};
v2.setScrollProperties = function (pSize, mnPos, mxPos, ls) {
var v4;
var v2 = this.scrollTrack_mc;
this.pageSize = pSize;
this.largeScroll = (ls != undefined && ls > 0) ? ls : pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this._scrollPosition = Math.max(this.minPos, this._scrollPosition);
this._scrollPosition = Math.min(this.maxPos, this._scrollPosition);
if (this.maxPos - this.minPos > 0 && this.enabled) {
var v5 = this._scrollPosition;
if (!this.initializing) {
this.upArrow_mc.enabled = true;
this.downArrow_mc.enabled = true;
}
v2.onDragOver = this.startTrackScroller;
v2.onPress = v2.onDragOver;
v2.onRelease = this.releaseScrolling;
v2.stopScrolling = this.stopScrolling;
v2.onDragOut = v2.stopScrolling;
v2.onReleaseOutside = this.releaseScrolling;
v2.useHandCursor = false;
if (this.scrollThumb_mc == undefined) {
this.createThumb();
}
var v3 = this.scrollThumb_mc;
if (this.scrollTrackOverName.length > 0) {
v2.onRollOver = this.trackOver;
v2.onRollOut = this.trackOut;
}
v4 = (this.pageSize / (this.maxPos - this.minPos + this.pageSize)) * v2.height;
if (v4 < v3.minHeight) {
if (v2.height < v3.minHeight) {
v3.__set__visible(false);
} else {
v4 = v3.minHeight;
v3.__set__visible(true);
v3.setSize(this._minWidth, v3.minHeight + 0);
}
} else {
v3.__set__visible(true);
v3.setSize(this._minWidth, v4);
}
v3.setRange(this.upArrow_mc.__get__height() + 0, this.__get__virtualHeight() - this.downArrow_mc.__get__height() - v3.__get__height(), this.minPos, this.maxPos);
v5 = Math.min(v5, this.maxPos);
this.__set__scrollPosition(Math.max(v5, this.minPos));
} else {
this.scrollThumb_mc.__set__visible(false);
if (!this.initializing) {
this.upArrow_mc.enabled = false;
this.downArrow_mc.enabled = false;
}
delete v2.onPress;
delete v2.onDragOver;
delete v2.onRelease;
delete v2.onDragOut;
delete v2.onRollOver;
delete v2.onRollOut;
delete v2.onReleaseOutside;
}
if (this.initializing) {
this.scrollThumb_mc.__set__visible(false);
}
};
v2.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll);
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
this.scrollTrack_mc.visible = true;
this.upArrow_mc.__set__visible(true);
this.downArrow_mc.__set__visible(true);
}
this.size();
};
v2.size = function (Void) {
if (this._height == 1) {
return undefined;
}
if (this.upArrow_mc == undefined) {
return undefined;
}
var v3 = this.upArrow_mc.__get__height();
var v2 = this.downArrow_mc.__get__height();
this.upArrow_mc.move(0, 0);
var v4 = this.scrollTrack_mc;
v4._y = v3;
v4._height = this.__get__virtualHeight() - v3 - v2;
this.downArrow_mc.move(0, this.__get__virtualHeight() - v2);
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll);
};
v2.dispatchScrollEvent = function (detail) {
this.dispatchEvent({'type': 'scroll', 'detail': detail});
};
v2.isScrollBarKey = function (k) {
if (k == 36) {
if (this.__get__scrollPosition() != 0) {
this.__set__scrollPosition(0);
this.dispatchScrollEvent(this.minMode);
}
return true;
return false;
}
if (k == 35) {
if (this.__get__scrollPosition() < this.maxPos) {
this.__set__scrollPosition(this.maxPos);
this.dispatchScrollEvent(this.maxMode);
}
return true;
}
return false;
};
v2.scrollIt = function (inc, mode) {
var v3 = this.smallScroll;
if (inc != 'Line') {
v3 = (this.largeScroll == 0) ? this.pageSize : this.largeScroll;
}
var v2 = this._scrollPosition + mode * v3;
if (v2 > this.maxPos) {
v2 = this.maxPos;
} else {
if (v2 < this.minPos) {
v2 = this.minPos;
}
}
if (this.__get__scrollPosition() != v2) {
this.__set__scrollPosition(v2);
var v4 = mode < 0 ? this.minusMode : this.plusMode;
this.dispatchScrollEvent(inc + v4);
}
};
v2.startTrackScroller = function (Void) {
this._parent.pressFocus();
if (this._parent.scrollTrackDownName.length > 0) {
if (this._parent.scrollTrackDown_mc == undefined) {
this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackDown, this.scrollTrackDownName);
} else {
this._parent.scrollTrackDown_mc.visible = true;
}
}
this._parent.trackScroller();
this._parent.scrolling = setInterval(this._parent, 'scrollInterval', this.getStyle('repeatDelay'), 'Page', -1);
};
v2.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == 'Page') {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, 'scrollInterval', this.getStyle('repeatInterval'), inc, mode);
};
v2.trackScroller = function (Void) {
if (this.scrollThumb_mc._y + this.scrollThumb_mc.__get__height() < this._ymouse) {
this.scrollIt('Page', 1);
} else {
if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt('Page', -1);
}
}
};
v2.dispatchScrollChangedEvent = function (Void) {
this.dispatchEvent({'type': 'scrollChanged'});
};
v2.stopScrolling = function (Void) {
clearInterval(this._parent.scrolling);
this._parent.scrollTrackDown_mc.visible = false;
};
v2.releaseScrolling = function (Void) {
this._parent.releaseFocus();
this.stopScrolling();
this._parent.dispatchScrollChangedEvent();
};
v2.trackOver = function (Void) {
if (this._parent.scrollTrackOverName.length > 0) {
if (this._parent.scrollTrackOver_mc == undefined) {
this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackOver, this.scrollTrackOverName);
} else {
this._parent.scrollTrackOver_mc.visible = true;
}
}
};
v2.trackOut = function (Void) {
this._parent.scrollTrackOver_mc.visible = false;
};
v2.onUpArrow = function (Void) {
this._parent.scrollIt('Line', -1);
};
v2.onDownArrow = function (Void) {
this._parent.scrollIt('Line', 1);
};
v2.onScrollChanged = function (Void) {
this._parent.dispatchScrollChangedEvent();
};
v1.symbolOwner = mx.core.UIComponent;
v2.className = 'ScrollBar';
v2.minPos = 0;
v2.maxPos = 0;
v2.pageSize = 0;
v2.largeScroll = 0;
v2.smallScroll = 1;
v2._scrollPosition = 0;
v2.scrollTrackName = 'ScrollTrack';
v2.scrollTrackOverName = '';
v2.scrollTrackDownName = '';
v2.upArrowName = 'BtnUpArrow';
v2.upArrowUpName = 'ScrollUpArrowUp';
v2.upArrowOverName = 'ScrollUpArrowOver';
v2.upArrowDownName = 'ScrollUpArrowDown';
v2.downArrowName = 'BtnDownArrow';
v2.downArrowUpName = 'ScrollDownArrowUp';
v2.downArrowOverName = 'ScrollDownArrowOver';
v2.downArrowDownName = 'ScrollDownArrowDown';
v2.thumbTopName = 'ScrollThumbTopUp';
v2.thumbMiddleName = 'ScrollThumbMiddleUp';
v2.thumbBottomName = 'ScrollThumbBottomUp';
v2.thumbGripName = 'ScrollThumbGripUp';
v1.skinIDTrack = 0;
v1.skinIDTrackOver = 1;
v1.skinIDTrackDown = 2;
v1.skinIDUpArrow = 3;
v1.skinIDDownArrow = 4;
v1.skinIDThumb = 5;
v2.idNames = new Array('scrollTrack_mc', 'scrollTrackOver_mc', 'scrollTrackDown_mc', 'upArrow_mc', 'downArrow_mc');
v2.clipParameters = {'minPos': 1, 'maxPos': 1, 'pageSize': 1, 'scrollPosition': 1, 'lineScrollSize': 1, 'pageScrollSize': 1, 'visible': 1, 'enabled': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
v2.initializing = true;
v2.addProperty('lineScrollSize', v2.__get__lineScrollSize, v2.__set__lineScrollSize);
v2.addProperty('pageScrollSize', v2.__get__pageScrollSize, v2.__set__pageScrollSize);
v2.addProperty('scrollPosition', v2.__get__scrollPosition, v2.__set__scrollPosition);
v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {});
ASSetPropFlags(mx.controls.scrollClasses.ScrollBar.prototype, null, 1);
}
#endinitclip
}
movieClip 588 __Packages.mx.controls.UIScrollBar {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.UIScrollBar) {
var v1 = function () {
super();
};
mx.controls.UIScrollBar = v1;
var v2 = new mx.controls.scrollClasses.ScrollBar();
mx.controls.UIScrollBar.prototype = v2;
v2.init = function (Void) {
super.init();
this.textField.owner = this;
this.__set__horizontal(this.wasHorizontal);
if (this.__get__horizontal()) {
(this.textField != undefined) ? super.setSize(this.textField._width, 16) : super.setSize(this.__width, this.__height);
} else {
(this.textField != undefined) ? super.setSize(16, this.textField._height) : super.setSize(this.__width, this.__height);
}
if (this.__get__horizontal()) {
var v3 = this.__width;
this.__height = this.__width;
this.width = v3;
this.__width = 16;
}
this.textField.onScroller = function () {
this.hPosition = this.hscroll;
this.vPosition = this.scroll - 1;
};
if (this.__get___targetInstanceName() != undefined) {
this.setScrollTarget(this.__get___targetInstanceName());
(this.__get___targetInstanceName()).addListener(this);
}
};
v2.__get___targetInstanceName = function () {
return this.textField;
};
v2.__get__height = function () {
if (this.wasHorizontal) {
return this.__width;
} else {
return this.__height;
}
};
v2.__get__width = function () {
if (this.wasHorizontal) {
return this.__height;
} else {
return this.__width;
}
};
v2.size = function (Void) {
super.size();
this.onTextChanged();
};
v2.draw = function () {
super.draw();
};
v2.__set___targetInstanceName = function (t) {
if (t == undefined) {
this.textField.removeListener(this);
delete this.textField[this.__get__horizontal() ? 'hScroller' : 'vScroller'];
if (this.textField.hScroller != undefined && this.textField.vScroller != undefined) {
this.textField.unwatch('text');
this.textField.unwatch('htmltext');
}
}
var v3 = this._parent[t];
this.textField = this._parent[t];
this.onTextChanged();
return this.__get___targetInstanceName();
};
v2.setSize = function (w, h) {
if (this.__get__horizontal()) {
super.setSize(h, w);
} else {
super.setSize(w, h);
}
};
v2.onTextChanged = function (Void) {
if (this.textField == undefined) {
return undefined;
}
clearInterval(this.synchScroll);
if (this.__get__horizontal()) {
var v2 = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.__set__scrollPosition(Math.min(v2, this.textField.maxhscroll));
} else {
var v2 = this.textField.scroll;
var v3 = this.textField.bottomScroll - this.textField.scroll;
this.setScrollProperties(v3, 1, this.textField.maxscroll);
this.__set__scrollPosition(Math.min(v2, this.textField.maxscroll));
}
};
v2.__get__horizontal = function () {
return this.wasHorizontal;
};
v2.__set__horizontal = function (v) {
this.wasHorizontal = v;
if (v and this.initializing) {
if (this._rotation == 90) {
return undefined;
}
this._xscale = -100;
this._rotation = -90;
}
if (!this.initializing) {
if (v) {
if (this._rotation == 0) {
this._rotation = -90;
this._xscale = -100;
}
} else {
if (this._rotation == -90) {
this._rotation = 0;
this._xscale = 100;
}
}
}
return this.__get__horizontal();
};
v2.callback = function (prop, oldval, newval) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, 'onTextChanged', 50);
this.vScroller.synchScroll = setInterval(this.vScroller, 'onTextChanged', 50);
return newval;
};
v2.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[this.__get__horizontal() ? 'hScroller' : 'vScroller'];
if (this.textField.hScroller != undefined && this.textField.vScroller != undefined) {
this.textField.unwatch('text');
this.textField.unwatch('htmltext');
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return undefined;
}
this.textField = tF;
if (this.__get__horizontal()) {
this.textField.hScroller = this;
this.textField.hScroller.lineScrollSize = 5;
} else {
this.textField.vScroller = this;
this.textField.vScroller.lineScrollSize = 1;
}
this.onTextChanged();
this.onChanged = function (Void) {
this.onTextChanged();
};
this.onScroller = function (Void) {
if (!this.isScrolling) {
if (!this.horizontal) {
this.scrollPosition = this.textField.scroll;
} else {
this.scrollPosition = this.textField.hscroll;
}
}
};
this.textField.addListener(this);
this.textField.watch('text', this.callback);
this.textField.watch('htmlText', this.callback);
};
v2.scrollHandler = function (Void) {
if (this.__get__horizontal()) {
var v2 = this.textField.background;
this.textField.hscroll = this.scrollPosition;
this.textField.background = v2;
} else {
this.textField.scroll = this.scrollPosition;
}
};
v2.setEnabled = function (enable) {
super.setEnabled(enable);
if (enable) {
this.textField.addListener(this);
} else {
this.textField.removeListener();
}
};
v2.dispatchScrollEvent = function (detail) {
this.dispatchEvent({'type': 'scroll'});
};
v1.symbolName = 'UIScrollBar';
v1.symbolOwner = mx.controls.UIScrollBar;
v2.className = 'UIScrollBar';
v2.clipParameters = {'_targetInstanceName': 1, 'horizontal': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.UIScrollBar.prototype.clipParameters);
v1.version = '2.0.2.126';
v2.addProperty('_targetInstanceName', v2.__get___targetInstanceName, v2.__set___targetInstanceName);
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('horizontal', v2.__get__horizontal, v2.__set__horizontal);
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.controls.UIScrollBar.prototype, null, 1);
}
#endinitclip
}
movieClip 626 __Packages.mx.skins.Border {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.Border) {
var v1 = function () {
super();
};
mx.skins.Border = v1;
var v2 = new mx.core.UIObject();
mx.skins.Border.prototype = v2;
v2.init = function (Void) {
super.init();
};
v1.symbolName = 'Border';
v1.symbolOwner = mx.skins.Border;
v2.className = 'Border';
v2.tagBorder = 0;
v2.idNames = new Array('border_mc');
ASSetPropFlags(mx.skins.Border.prototype, null, 1);
}
#endinitclip
}
movieClip 627 __Packages.mx.skins.CustomBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.CustomBorder) {
var v1 = function () {
super();
};
mx.skins.CustomBorder = v1;
var v2 = new mx.skins.Border();
mx.skins.CustomBorder.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
};
v2.createChildren = function (Void) {};
v2.draw = function (Void) {
if (this.l_mc == undefined) {
var v2 = this.setSkin(mx.skins.CustomBorder.tagL, this.leftSkin);
if (this.horizontal) {
this.minHeight = this.l_mc._height;
this.minWidth = this.l_mc._width;
} else {
this.minHeight = this.l_mc._height;
this.minWidth = this.l_mc._width;
}
}
if (this.m_mc == undefined) {
this.setSkin(mx.skins.CustomBorder.tagM, this.middleSkin);
if (this.horizontal) {
this.minHeight = this.m_mc._height;
this.minWidth += this.m_mc._width;
} else {
this.minHeight += this.m_mc._height;
this.minWidth = this.m_mc._width;
}
}
if (this.r_mc == undefined) {
this.setSkin(mx.skins.CustomBorder.tagR, this.rightSkin);
if (this.horizontal) {
this.minHeight = this.r_mc._height;
this.minWidth += this.r_mc._width;
} else {
this.minHeight += this.r_mc._height;
this.minWidth = this.r_mc._width;
}
}
this.size();
};
v2.size = function (Void) {
this.l_mc.move(0, 0);
if (this.horizontal) {
this.r_mc.move(this.__get__width() - this.r_mc.width, 0);
this.m_mc.move(this.l_mc.width, 0);
this.m_mc.setSize(this.r_mc.x - this.m_mc.x, this.m_mc.height);
} else {
this.r_mc.move(0, this.__get__height() - this.r_mc.height, 0);
this.m_mc.move(0, this.l_mc.height);
this.m_mc.setSize(this.m_mc.width, this.r_mc.y - this.m_mc.y);
}
};
v1.symbolName = 'CustomBorder';
v1.symbolOwner = mx.skins.CustomBorder;
v1.version = '2.0.2.127';
v2.className = 'CustomBorder';
v1.tagL = 0;
v1.tagM = 1;
v1.tagR = 2;
v2.idNames = new Array('l_mc', 'm_mc', 'r_mc');
v2.leftSkin = 'F3PieceLeft';
v2.middleSkin = 'F3PieceMiddle';
v2.rightSkin = 'F3PieceRight';
v2.horizontal = true;
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.skins.CustomBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 628 __Packages.mx.controls.scrollClasses.ScrollThumb {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.scrollClasses) {
_global.mx.controls.scrollClasses = new Object();
}
if (!_global.mx.controls.scrollClasses.ScrollThumb) {
var v1 = function () {
super();
};
mx.controls.scrollClasses.ScrollThumb = v1;
var v2 = new mx.skins.CustomBorder();
mx.controls.scrollClasses.ScrollThumb.prototype = v2;
v2.createChildren = function (Void) {
super.createChildren();
this.useHandCursor = false;
};
v2.setRange = function (_ymin, _ymax, _datamin, _datamax) {
this.ymin = _ymin;
this.ymax = _ymax;
this.datamin = _datamin;
this.datamax = _datamax;
};
v2.dragThumb = function (Void) {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove += this._y;
if (this.scrollMove < this.ymin) {
this.scrollMove = this.ymin;
} else {
if (this.scrollMove > this.ymax) {
this.scrollMove = this.ymax;
}
}
this._parent.isScrolling = true;
this._y = this.scrollMove;
var v2 = Math.round((this.datamax - this.datamin) * (this._y - this.ymin) / (this.ymax - this.ymin)) + this.datamin;
this._parent.scrollPosition = v2;
this._parent.dispatchScrollEvent('ThumbTrack');
updateAfterEvent();
};
v2.stopDragThumb = function (Void) {
this._parent.isScrolling = false;
this._parent.dispatchScrollEvent('ThumbPosition');
this._parent.dispatchScrollChangedEvent();
delete this.onMouseMove;
};
v2.onPress = function (Void) {
this._parent.pressFocus();
this.lastY = this._ymouse;
this.onMouseMove = this.dragThumb;
super.onPress();
};
v2.onRelease = function (Void) {
this._parent.releaseFocus();
this.stopDragThumb();
super.onRelease();
};
v2.onReleaseOutside = function (Void) {
this._parent.releaseFocus();
this.stopDragThumb();
super.onReleaseOutside();
};
v2.draw = function () {
super.draw();
if (this.grip_mc == undefined) {
this.setSkin(3, this.gripSkin);
}
};
v2.size = function () {
super.size();
this.grip_mc.move((this.__get__width() - this.grip_mc.width) / 2, (this.__get__height() - this.grip_mc.height) / 2);
};
v1.symbolOwner = mx.skins.CustomBorder.symbolOwner;
v2.className = 'ScrollThumb';
v2.btnOffset = 0;
v2.horizontal = false;
v2.idNames = new Array('l_mc', 'm_mc', 'r_mc', 'grip_mc');
ASSetPropFlags(mx.controls.scrollClasses.ScrollThumb.prototype, null, 1);
}
#endinitclip
}
movieClip 630 __Packages.mx.controls.VScrollBar {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.VScrollBar) {
var v1 = function () {
super();
};
mx.controls.VScrollBar = v1;
var v2 = new mx.controls.scrollClasses.ScrollBar();
mx.controls.VScrollBar.prototype = v2;
v2.init = function (Void) {
super.init();
};
v2.isScrollBarKey = function (k) {
if (k == 38) {
this.scrollIt('Line', -1);
return true;
return super.isScrollBarKey(k);
}
if (k == 40) {
this.scrollIt('Line', 1);
return true;
return super.isScrollBarKey(k);
}
if (k == 33) {
this.scrollIt('Page', -1);
return true;
return super.isScrollBarKey(k);
}
if (k == 34) {
this.scrollIt('Page', 1);
return true;
}
return super.isScrollBarKey(k);
};
v1.symbolName = 'VScrollBar';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.127';
v2.className = 'VScrollBar';
v2.minusMode = 'Up';
v2.plusMode = 'Down';
v2.minMode = 'AtTop';
v2.maxMode = 'AtBottom';
ASSetPropFlags(mx.controls.VScrollBar.prototype, null, 1);
}
#endinitclip
}
movieClip 631 __Packages.mx.controls.Button {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.Button) {
var v1 = function () {
super();
};
mx.controls.Button = v1;
var v2 = new mx.controls.SimpleButton();
mx.controls.Button.prototype = v2;
v2.init = function (Void) {
super.init();
};
v2.draw = function () {
if (this.initializing) {
this.labelPath.visible = true;
}
super.draw();
if (this.initIcon != undefined) {
this._setIcon(this.initIcon);
}
delete this.initIcon;
};
v2.onRelease = function (Void) {
super.onRelease();
};
v2.createChildren = function (Void) {
super.createChildren();
};
v2.setSkin = function (tag, linkageName, initobj) {
return super.setSkin(tag, linkageName, initobj);
};
v2.viewSkin = function (varName) {
var v3 = this.getState() ? 'true' : 'false';
v3 += this.enabled ? this.phase : 'disabled';
super.viewSkin(varName, {'styleName': this, 'borderStyle': v3});
};
v2.invalidateStyle = function (c) {
this.labelPath.invalidateStyle(c);
super.invalidateStyle(c);
};
v2.setColor = function (c) {
var v2 = 0;
while (v2 < 8) {
this[this.idNames[v2]].redraw(true);
++v2;
}
};
v2.setEnabled = function (enable) {
this.labelPath.enabled = enable;
super.setEnabled(enable);
};
v2.calcSize = function (tag, ref) {
if (this.__width == undefined || this.__height == undefined) {
return undefined;
}
if (tag < 7) {
ref.setSize(this.__width, this.__height, true);
}
};
v2.size = function (Void) {
this.setState(this.getState());
this.setHitArea(this.__width, this.__height);
var v3 = 0;
while (v3 < 8) {
var v4 = this.idNames[v3];
if (typeof this[v4] == 'movieclip') {
this[v4].setSize(this.__width, this.__height, true);
}
++v3;
}
super.size();
};
v2.__set__labelPlacement = function (val) {
this.__labelPlacement = val;
this.invalidate();
return this.__get__labelPlacement();
};
v2.__get__labelPlacement = function () {
return this.__labelPlacement;
};
v2.getLabelPlacement = function (Void) {
return this.__labelPlacement;
};
v2.setLabelPlacement = function (val) {
this.__labelPlacement = val;
this.invalidate();
};
v2.getBtnOffset = function (Void) {
if (this.getState()) {
var v2 = this.btnOffset;
return v2;
}
if (this.phase == 'down') {
v2 = this.btnOffset;
return v2;
}
v2 = 0;
return v2;
};
v2.setView = function (offset) {
var v16 = offset ? this.btnOffset : 0;
var v12 = this.getLabelPlacement();
var v7 = 0;
var v6 = 0;
var v9 = 0;
var v8 = 0;
var v5 = 0;
var v4 = 0;
var v3 = this.labelPath;
var v2 = this.iconName;
var v15 = v3.textWidth;
var v14 = v3.textHeight;
var v10 = this.__width - this.borderW - this.borderW;
var v11 = this.__height - this.borderW - this.borderW;
if (v2 != undefined) {
v7 = v2._width;
v6 = v2._height;
}
if (v12 == 'left' || v12 == 'right') {
if (v3 != undefined) {
v9 = Math.min(v10 - v7, v15 + 5);
v3._width = v9;
v8 = Math.min(v11, v14 + 5);
v3._height = v8;
}
if (v12 == 'right') {
v5 = v7;
if (this.centerContent) {
v5 += (v10 - v9 - v7) / 2;
}
v2._x = v5 - v7;
} else {
v5 = v10 - v9 - v7;
if (this.centerContent) {
v5 /= 2;
}
v2._x = v5 + v9;
}
v4 = 0;
v2._y = v4;
if (this.centerContent) {
v2._y = (v11 - v6) / 2;
v4 = (v11 - v8) / 2;
}
if (!this.centerContent) {
v2._y += Math.max(0, (v8 - v6) / 2);
}
} else {
if (v3 != undefined) {
v9 = Math.min(v10, v15 + 5);
v3._width = v9;
v8 = Math.min(v11 - v6, v14 + 5);
v3._height = v8;
}
v5 = (v10 - v9) / 2;
v2._x = (v10 - v7) / 2;
if (v12 == 'top') {
v4 = v11 - v8 - v6;
if (this.centerContent) {
v4 /= 2;
}
v2._y = v4 + v8;
} else {
v4 = v6;
if (this.centerContent) {
v4 += (v11 - v8 - v6) / 2;
}
v2._y = v4 - v6;
}
}
var v13 = this.borderW + v16;
v3._x = v5 + v13;
v3._y = v4 + v13;
v2._x += v13;
v2._y += v13;
};
v2.__set__label = function (lbl) {
this.setLabel(lbl);
return this.__get__label();
};
v2.setLabel = function (label) {
if (label == '') {
this.labelPath.removeTextField();
this.refresh();
return undefined;
}
if (this.labelPath == undefined) {
var v2 = this.createLabel('labelPath', 200, label);
v2._width = v2.textWidth + 5;
v2._height = v2.textHeight + 5;
if (this.initializing) {
v2.visible = false;
}
} else {
delete this.labelPath.__text;
this.labelPath.text = label;
this.refresh();
}
};
v2.getLabel = function (Void) {
return (this.labelPath.__text != undefined) ? this.labelPath.__text : this.labelPath.text;
};
v2.__get__label = function () {
return this.getLabel();
};
v2._getIcon = function (Void) {
return this._iconLinkageName;
};
v2.__get__icon = function () {
if (this.initializing) {
return this.initIcon;
}
return this._iconLinkageName;
};
v2._setIcon = function (linkage) {
if (this.initializing) {
if (linkage == '') {
return undefined;
}
this.initIcon = linkage;
} else {
if (linkage == '') {
this.removeIcons();
return undefined;
}
super.changeIcon(0, linkage);
super.changeIcon(1, linkage);
super.changeIcon(3, linkage);
super.changeIcon(4, linkage);
super.changeIcon(5, linkage);
this._iconLinkageName = linkage;
this.refresh();
}
};
v2.__set__icon = function (linkage) {
this._setIcon(linkage);
return this.__get__icon();
};
v2.setHitArea = function (w, h) {
if (this.hitArea_mc == undefined) {
this.createEmptyObject('hitArea_mc', 100);
}
var v2 = this.hitArea_mc;
v2.clear();
v2.beginFill(16711680);
v2.drawRect(0, 0, w, h);
v2.endFill();
v2.setVisible(false);
};
v1.symbolName = 'Button';
v1.symbolOwner = mx.controls.Button;
v2.className = 'Button';
v1.version = '2.0.2.127';
v2.btnOffset = 0;
v2._color = 'buttonColor';
v2.__label = 'default value';
v2.__labelPlacement = 'right';
v2.falseUpSkin = 'ButtonSkin';
v2.falseDownSkin = 'ButtonSkin';
v2.falseOverSkin = 'ButtonSkin';
v2.falseDisabledSkin = 'ButtonSkin';
v2.trueUpSkin = 'ButtonSkin';
v2.trueDownSkin = 'ButtonSkin';
v2.trueOverSkin = 'ButtonSkin';
v2.trueDisabledSkin = 'ButtonSkin';
v2.falseUpIcon = '';
v2.falseDownIcon = '';
v2.falseOverIcon = '';
v2.falseDisabledIcon = '';
v2.trueUpIcon = '';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = '';
v2.clipParameters = {'labelPlacement': 1, 'icon': 1, 'toggle': 1, 'selected': 1, 'label': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters);
v2.centerContent = true;
v2.borderW = 1;
v2.addProperty('icon', v2.__get__icon, v2.__set__icon);
v2.addProperty('label', v2.__get__label, v2.__set__label);
v2.addProperty('labelPlacement', v2.__get__labelPlacement, v2.__set__labelPlacement);
ASSetPropFlags(mx.controls.Button.prototype, null, 1);
}
#endinitclip
}
movieClip 632 __Packages.mx.events.EventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.EventDispatcher) {
var v1 = function () {};
mx.events.EventDispatcher = v1;
var v2 = v1.prototype;
v1._removeEventListener = function (queue, event, handler) {
if (queue != undefined) {
var v4 = queue.length;
var v1;
v1 = 0;
while (v1 < v4) {
var v2 = queue[v1];
if (v2 == handler) {
queue.splice(v1, 1);
return undefined;
}
++v1;
}
}
};
v1.initialize = function (object) {
if (mx.events.EventDispatcher._fEventDispatcher == undefined) {
mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener;
object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener;
object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent;
object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchQueue = function (queueObj, eventObj) {
var v7 = '__q_' + eventObj.type;
var v4 = queueObj[v7];
if (v4 != undefined) {
var v5;
for (v5 in v4) {
var v1 = v4[v5];
var v3 = typeof v1;
if (v3 == 'object' || v3 == 'movieclip') {
if (v1.handleEvent != undefined) {
v1.handleEvent(eventObj);
}
if (v1[eventObj.type] != undefined) {
if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) {
v1[eventObj.type](eventObj);
}
}
} else {
v1.apply(queueObj, [eventObj]);
}
}
}
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(this, eventObj);
};
v2.addEventListener = function (event, handler) {
var v3 = '__q_' + event;
if (this[v3] == undefined) {
this[v3] = new Array();
}
_global.ASSetPropFlags(this, v3, 1);
mx.events.EventDispatcher._removeEventListener(this[v3], event, handler);
this[v3].push(handler);
};
v2.removeEventListener = function (event, handler) {
var v2 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v2], event, handler);
};
v1._fEventDispatcher = undefined;
v1.exceptions = {'move': 1, 'draw': 1, 'load': 1};
ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 633 __Packages.mx.events.UIEventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.UIEventDispatcher) {
var v1 = function () {
super();
};
mx.events.UIEventDispatcher = v1;
var v2 = new mx.events.EventDispatcher();
mx.events.UIEventDispatcher.prototype = v2;
v1.addKeyEvents = function (obj) {
if (obj.keyHandler == undefined) {
obj.keyHandler = new Object();
var v1 = obj.keyHandler;
v1.owner = obj;
v1.onKeyDown = mx.events.UIEventDispatcher._fEventDispatcher.onKeyDown;
v1.onKeyUp = mx.events.UIEventDispatcher._fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
};
v1.removeKeyEvents = function (obj) {
Key.removeListener(obj.keyHandler);
};
v1.addLoadEvents = function (obj) {
if (obj.onLoad == undefined) {
obj.onLoad = mx.events.UIEventDispatcher._fEventDispatcher.onLoad;
obj.onUnload = mx.events.UIEventDispatcher._fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, 'onLoad');
}
}
};
v1.removeLoadEvents = function (obj) {
delete obj.onLoad;
delete obj.onUnload;
};
v1.initialize = function (obj) {
if (mx.events.UIEventDispatcher._fEventDispatcher == undefined) {
mx.events.UIEventDispatcher._fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = mx.events.UIEventDispatcher._fEventDispatcher.__addEventListener;
obj.__origAddEventListener = mx.events.UIEventDispatcher._fEventDispatcher.addEventListener;
obj.removeEventListener = mx.events.UIEventDispatcher._fEventDispatcher.removeEventListener;
obj.dispatchEvent = mx.events.UIEventDispatcher._fEventDispatcher.dispatchEvent;
obj.dispatchQueue = mx.events.UIEventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(mx.events.EventDispatcher, eventObj);
this.dispatchQueue(this, eventObj);
};
v2.onKeyDown = function (Void) {
this.owner.dispatchEvent({'type': 'keyDown', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onKeyUp = function (Void) {
this.owner.dispatchEvent({'type': 'keyUp', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onLoad = function (Void) {
if (this.__sentLoadEvent != true) {
this.dispatchEvent({'type': 'load'});
}
this.__sentLoadEvent = true;
};
v2.onUnload = function (Void) {
this.dispatchEvent({'type': 'unload'});
};
v2.__addEventListener = function (event, handler) {
this.__origAddEventListener(event, handler);
var v3 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v3) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v2 = v3[v5][0];
mx.events.UIEventDispatcher[v2](this);
}
}
};
v2.removeEventListener = function (event, handler) {
var v6 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v6], event, handler);
if (this[v6].length == 0) {
var v2 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v2) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v3 = v2[v5][1];
mx.events.UIEventDispatcher[v2[v5][1]](this);
}
}
}
};
v1.keyEvents = {'keyDown': 1, 'keyUp': 1};
v1.loadEvents = {'load': 1, 'unload': 1};
v1.lowLevelEvents = {'keyEvents': ['addKeyEvents', 'removeKeyEvents'], 'loadEvents': ['addLoadEvents', 'removeLoadEvents']};
v1._fEventDispatcher = undefined;
ASSetPropFlags(mx.events.UIEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 635 __Packages.mx.core.ext.UIObjectExtensions {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ext) {
_global.mx.core.ext = new Object();
}
if (!_global.mx.core.ext.UIObjectExtensions) {
var v1 = function () {};
mx.core.ext.UIObjectExtensions = v1;
var v2 = v1.prototype;
v1.addGeometry = function (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);
};
v1.Extensions = function () {
if (mx.core.ext.UIObjectExtensions.bExtended == true) {
return true;
}
mx.core.ext.UIObjectExtensions.bExtended = true;
var v6 = mx.core.UIObject.prototype;
var v9 = mx.skins.SkinElement.prototype;
mx.core.ext.UIObjectExtensions.addGeometry(v9, v6);
mx.events.UIEventDispatcher.initialize(v6);
var v13 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(v6);
var v5 = MovieClip.prototype;
v5.getTopLevel = v6.getTopLevel;
v5.createLabel = v6.createLabel;
v5.createObject = v6.createObject;
v5.createClassObject = v6.createClassObject;
v5.createEmptyObject = v6.createEmptyObject;
v5.destroyObject = v6.destroyObject;
_global.ASSetPropFlags(v5, 'getTopLevel', 1);
_global.ASSetPropFlags(v5, 'createLabel', 1);
_global.ASSetPropFlags(v5, 'createObject', 1);
_global.ASSetPropFlags(v5, 'createClassObject', 1);
_global.ASSetPropFlags(v5, 'createEmptyObject', 1);
_global.ASSetPropFlags(v5, 'destroyObject', 1);
v5.__getTextFormat = v6.__getTextFormat;
v5._getTextFormat = v6._getTextFormat;
v5.getStyleName = v6.getStyleName;
v5.getStyle = v6.getStyle;
_global.ASSetPropFlags(v5, '__getTextFormat', 1);
_global.ASSetPropFlags(v5, '_getTextFormat', 1);
_global.ASSetPropFlags(v5, 'getStyleName', 1);
_global.ASSetPropFlags(v5, 'getStyle', 1);
var v7 = TextField.prototype;
mx.core.ext.UIObjectExtensions.addGeometry(v7, v6);
v7.addProperty('enabled', function () {
return this.__enabled;
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
v7.move = v9.move;
v7.setSize = v9.setSize;
v7.invalidateStyle = function () {
this.invalidateFlag = true;
};
v7.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var v2 = this._getTextFormat();
this.setTextFormat(v2);
this.setNewTextFormat(v2);
this.embedFonts = v2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == '') {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
v7.setColor = function (color) {
this.textColor = color;
};
v7.getStyle = v5.getStyle;
v7.__getTextFormat = v6.__getTextFormat;
v7.setValue = function (v) {
this.text = v;
};
v7.getValue = function () {
return this.text;
};
v7.addProperty('value', function () {
return this.getValue();
}, function (v) {
this.setValue(v);
});
v7._getTextFormat = function () {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2);
this.stylecache.tf = v2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var v4 = this.getTextFormat();
this.enabledColor = v4.color;
}
var v3 = this.getStyle('disabledColor');
v2.color = v3;
return v2;
}
if (this.enabledColor != undefined) {
if (v2.color == undefined) {
v2.color = this.enabledColor;
}
}
return v2;
};
v7.getPreferredWidth = function () {
this.draw();
return this.textWidth + 4;
};
v7.getPreferredHeight = function () {
this.draw();
return this.textHeight + 4;
};
TextFormat.prototype.getTextExtent2 = function (s) {
var v3 = _root._getTextExtent;
if (v3 == undefined) {
_root.createTextField('_getTextExtent', -2, 0, 0, 1000, 100);
v3 = _root._getTextExtent;
v3._visible = false;
}
_root._getTextExtent.text = s;
var v4 = this.align;
this.align = 'left';
_root._getTextExtent.setTextFormat(this);
this.align = v4;
return {'width': v3.textWidth, 'height': v3.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 v4 = _root;
while (v4._parent != undefined) {
v4 = v4._parent;
}
v4.addProperty('width', function () {
return Stage.width;
}, null);
v4.addProperty('height', function () {
return Stage.height;
}, null);
_global.ASSetPropFlags(v4, 'width', 1);
_global.ASSetPropFlags(v4, 'height', 1);
return true;
};
v1.bExtended = false;
v1.UIObjectExtended = mx.core.ext.UIObjectExtensions.Extensions();
v1.UIObjectDependency = mx.core.UIObject;
v1.SkinElementDependency = mx.skins.SkinElement;
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
v1.UIEventDispatcherDependency = mx.events.UIEventDispatcher;
ASSetPropFlags(mx.core.ext.UIObjectExtensions.prototype, null, 1);
}
#endinitclip
}
movieClip 636 __Packages.mx.skins.halo.Defaults {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.Defaults) {
var v1 = function () {};
mx.skins.halo.Defaults = v1;
var v2 = v1.prototype;
v1.setThemeDefaults = function () {
var v2 = _global.style;
v2.themeColor = 8453965;
v2.disabledColor = 8684164;
v2.modalTransparency = 0;
v2.filled = true;
v2.stroked = true;
v2.strokeWidth = 1;
v2.strokeColor = 0;
v2.fillColor = 16777215;
v2.repeatInterval = 35;
v2.repeatDelay = 500;
v2.fontFamily = '_sans';
v2.fontSize = 12;
v2.selectionColor = 13500353;
v2.rollOverColor = 14942166;
v2.useRollOver = true;
v2.backgroundDisabledColor = 14540253;
v2.selectionDisabledColor = 14540253;
v2.selectionDuration = 200;
v2.openDuration = 250;
v2.borderStyle = 'inset';
v2.color = 734012;
v2.textSelectedColor = 24371;
v2.textRollOverColor = 2831164;
v2.textDisabledColor = 16777215;
v2.vGridLines = true;
v2.hGridLines = false;
v2.vGridLineColor = 6710886;
v2.hGridLineColor = 6710886;
v2.headerColor = 15395562;
v2.indentation = 17;
v2.folderOpenIcon = 'TreeFolderOpen';
v2.folderClosedIcon = 'TreeFolderClosed';
v2.defaultLeafIcon = 'TreeNodeIcon';
v2.disclosureOpenIcon = 'TreeDisclosureOpen';
v2.disclosureClosedIcon = 'TreeDisclosureClosed';
v2.popupDuration = 150;
v2.todayColor = 6710886;
_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.ScrollSelectList;
v2.backgroundColor = 16777215;
v2.borderColor = 13290186;
v2.borderStyle = 'inset';
_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.ComboBox;
v2.borderStyle = 'inset';
_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.NumericStepper;
v2.textAlign = 'center';
_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.RectBorder;
v2.borderColor = 14015965;
v2.buttonColor = 7305079;
v2.shadowColor = 15658734;
v2.highlightColor = 12897484;
v2.shadowCapColor = 14015965;
v2.borderCapColor = 9542041;
var v4 = new Object();
v4.borderColor = 16711680;
v4.buttonColor = 16711680;
v4.shadowColor = 16711680;
v4.highlightColor = 16711680;
v4.shadowCapColor = 16711680;
v4.borderCapColor = 16711680;
mx.core.UIComponent.prototype.origBorderStyles = v4;
var v3;
_global.styles.TextInput = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.TextInput;
v3.backgroundColor = 16777215;
v3.borderStyle = 'inset';
_global.styles.TextArea = _global.styles.TextInput;
_global.styles.Window = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Window;
v3.borderStyle = 'default';
_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.windowStyles;
v3.fontWeight = 'bold';
_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.dataGridStyles;
v3.fontWeight = 'bold';
_global.styles.Alert = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Alert;
v3.borderStyle = 'alert';
_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.ScrollView;
v3.borderStyle = 'inset';
_global.styles.View = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.View;
v3.borderStyle = 'none';
_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.ProgressBar;
v3.color = 11187123;
v3.fontWeight = 'bold';
_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.AccordionHeader;
v3.fontWeight = 'bold';
v3.fontSize = '11';
_global.styles.Accordion = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Accordion;
v3.borderStyle = 'solid';
v3.backgroundColor = 16777215;
v3.borderColor = 9081738;
v3.headerHeight = 22;
v3.marginBottom = -1;
v3.marginTop = -1;
v3.marginRight = -1;
v3.marginLeft = -1;
v3.verticalGap = -1;
_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.DateChooser;
v3.borderColor = 9542041;
v3.headerColor = 16777215;
_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.CalendarLayout;
v3.fontSize = 10;
v3.textAlign = 'right';
v3.color = 2831164;
_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.WeekDayStyle;
v3.fontWeight = 'bold';
v3.fontSize = 11;
v3.textAlign = 'center';
v3.color = 2831164;
_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.TodayStyle;
v3.color = 16777215;
_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.HeaderDateText;
v3.fontSize = 12;
v3.fontWeight = 'bold';
v3.textAlign = 'center';
};
v2.drawRoundRect = function (x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof r == 'object') {
var v18 = r.br;
var v16 = r.bl;
var v15 = r.tl;
var v10 = r.tr;
} else {
var v10 = r;
var v15 = v10;
var v16 = v15;
var v18 = v16;
}
if (typeof c == 'object') {
if (typeof alpha != 'object') {
var v9 = [alpha, alpha];
} else {
var v9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var v14 = h * 0.7;
if (typeof rot != 'object') {
var v11 = {'matrixType': 'box', 'x': -v14, 'y': v14, 'w': w * 2, 'h': h * 4, 'r': rot * 0.0174532925199433};
} else {
var v11 = rot;
}
if (gradient == 'radial') {
this.beginGradientFill('radial', c, v9, ratios, v11);
} else {
this.beginGradientFill('linear', c, v9, ratios, v11);
}
} else {
if (c != undefined) {
this.beginFill(c, alpha);
}
}
r = v18;
var v13 = r - r * Math.SQRT1_2;
var v12 = r - r * 0.414213562373095;
this.moveTo(x + w, y + h - r);
this.lineTo(x + w, y + h - r);
this.curveTo(x + w, y + h - v12, x + w - v13, y + h - v13);
this.curveTo(x + w - v12, y + h, x + w - r, y + h);
r = v16;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x + r, y + h);
this.curveTo(x + v12, y + h, x + v13, y + h - v13);
this.curveTo(x, y + h - v12, x, y + h - r);
r = v15;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x, y + r);
this.curveTo(x, y + v12, x + v13, y + v13);
this.curveTo(x + v12, y, x + r, y);
r = v10;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x + w - r, y);
this.curveTo(x + w - v12, y, x + w - v13, y + v13);
this.curveTo(x + w, y + v12, x + w, y + r);
this.lineTo(x + w, y + h - r);
if (c != undefined) {
this.endFill();
}
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
mx.skins.halo.Defaults.setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return true;
};
v1.classConstructed = mx.skins.halo.Defaults.classConstruct();
v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
v1.UIObjectDependency = mx.core.UIObject;
ASSetPropFlags(mx.skins.halo.Defaults.prototype, null, 1);
}
#endinitclip
}
movieClip 637 __Packages.mx.managers.DepthManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.DepthManager) {
var v1 = function () {
MovieClip.prototype.createClassChildAtDepth = this.createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = this.createChildAtDepth;
MovieClip.prototype.setDepthTo = this.setDepthTo;
MovieClip.prototype.setDepthAbove = this.setDepthAbove;
MovieClip.prototype.setDepthBelow = this.setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = this.findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = this.shuffleDepths;
MovieClip.prototype.getDepthByFlag = this.getDepthByFlag;
MovieClip.prototype.buildDepthTable = this.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);
};
mx.managers.DepthManager = v1;
var v2 = v1.prototype;
v1.sortFunction = function (a, b) {
if (a.getDepth() > b.getDepth()) {
return 1;
}
return -1;
};
v1.test = function (depth) {
if (depth == mx.managers.DepthManager.reservedDepth) {
return false;
} else {
return true;
}
};
v1.createClassObjectAtDepth = function (className, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v1.createObjectAtDepth = function (linkageName, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v2.createClassChildAtDepth = function (className, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v6 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v6 = 'up';
}
var v5;
if (v3[v2] != undefined) {
v5 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v6);
}
var v4 = this.createClassObject(className, 'depthChild' + this._childCounter++, v2, initObj);
if (v5 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v5, v3, v6);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.createChildAtDepth = function (linkageName, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v6 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v6 = 'up';
}
var v5;
if (v3[v2] != undefined) {
v5 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v6);
}
var v4 = this.createObject(linkageName, 'depthChild' + this._childCounter++, v2, initObj);
if (v5 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v5, v3, v6);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.setDepthTo = function (depthFlag) {
var v2 = this._parent.buildDepthTable();
var v3 = this._parent.getDepthByFlag(depthFlag, v2);
if (v2[v3] != undefined) {
this.shuffleDepths(this, v3, v2, undefined);
} else {
this.swapDepths(v3);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
this._topmost = true;
} else {
delete this._topmost;
}
};
v2.setDepthAbove = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v2 = targetInstance.getDepth() + 1;
var v3 = this._parent.buildDepthTable();
if (v3[v2] != undefined && this.getDepth() < v2) {
v2 -= 1;
}
if (v2 > mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
if (v2 == mx.managers.DepthManager.highestDepth) {
this._parent.shuffleDepths(this, v2, v3, 'down');
} else {
if (v3[v2] != undefined) {
this._parent.shuffleDepths(this, v2, v3, undefined);
} else {
this.swapDepths(v2);
}
}
};
v2.setDepthBelow = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v6 = targetInstance.getDepth() - 1;
var v3 = this._parent.buildDepthTable();
if (v3[v6] != undefined && this.getDepth() > v6) {
v6 += 1;
}
var v4 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v5;
for (v5 in v3) {
var v2 = v3[v5];
if (v2._parent != undefined) {
v4 = Math.min(v4, v2.getDepth());
}
}
if (v6 < v4) {
v6 = v4;
}
if (v6 == v4) {
this._parent.shuffleDepths(this, v6, v3, 'up');
} else {
if (v3[v6] != undefined) {
this._parent.shuffleDepths(this, v6, v3, undefined);
} else {
this.swapDepths(v6);
}
}
};
v2.findNextAvailableDepth = function (targetDepth, depthTable, direction) {
var v5 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
if (targetDepth < v5) {
targetDepth = v5;
}
if (depthTable[targetDepth] == undefined) {
return targetDepth;
}
var v2 = targetDepth;
var v1 = targetDepth;
if (direction == 'down') {
while (depthTable[v1] != undefined) {
--v1;
}
return v1;
}
while (depthTable[v2] != undefined) {
++v2;
}
return v2;
};
v2.shuffleDepths = function (subject, targetDepth, depthTable, direction) {
var v9 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v8 = v9;
var v5;
for (v5 in depthTable) {
var v7 = depthTable[v5];
if (v7._parent != undefined) {
v9 = Math.min(v9, v7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = 'up';
} else {
direction = 'down';
}
}
var v1 = new Array();
for (v5 in depthTable) {
v7 = depthTable[v5];
if (v7._parent != undefined) {
v1.push(v7);
}
}
v1.sort(mx.managers.DepthManager.sortFunction);
if (direction == 'up') {
var v3;
var v11;
while (v1.length > 0) {
v3 = v1.pop();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
v11 = subject.getDepth();
v3 = v1.pop();
var v4 = v3.getDepth();
if (v11 > v4 + 1) {
if (v4 >= 0) {
subject.swapDepths(v4 + 1);
} else {
if (v11 > v8 && v4 < v8) {
subject.swapDepths(v8);
}
}
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
} else {
if (direction == 'down') {
var v3;
while (v1.length > 0) {
v3 = v1.shift();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
var v11 = v3.getDepth();
v3 = v1.shift();
var v4 = v3.getDepth();
if (v11 < v4 - 1 && v4 > 0) {
subject.swapDepths(v4 - 1);
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
}
}
};
v2.getDepthByFlag = function (depthFlag, depthTable) {
var v2 = 0;
if (depthFlag == mx.managers.DepthManager.kTop || depthFlag == mx.managers.DepthManager.kNotopmost) {
var v5 = 0;
var v7 = false;
var v8;
for (v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
if (!v9._topmost) {
v2 = Math.max(v2, v9.getDepth());
} else {
if (!v7) {
v5 = v9.getDepth();
v7 = true;
} else {
v5 = Math.min(v5, v9.getDepth());
}
}
}
}
}
v2 += 20;
if (v7) {
if (v2 >= v5) {
v2 = v5 - 1;
}
}
} else {
if (depthFlag == mx.managers.DepthManager.kBottom) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.min(v2, v9.getDepth());
}
}
}
v2 -= 20;
} else {
if (depthFlag == mx.managers.DepthManager.kTopmost) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.max(v2, v9.getDepth());
}
}
}
v2 += 100;
}
}
}
if (v2 >= mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
var v6 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
for (v9 in depthTable) {
var v4 = depthTable[v9];
if (v4._parent != undefined) {
v6 = Math.min(v6, v4.getDepth());
}
}
if (v2 <= v6) {
v2 = v6;
}
return v2;
};
v2.buildDepthTable = function (Void) {
var v5 = new Array();
var v4;
for (v4 in this) {
var v2 = this[v4];
var v3 = typeof v2;
if (v3 == 'movieclip' || v3 == 'object' && v2.__getTextFormat != undefined) {
if (v2._parent == this) {
v5[v2.getDepth()] = v2;
}
}
}
return v5;
};
v1.reservedDepth = 1048575;
v1.highestDepth = 1048574;
v1.lowestDepth = -16383;
v1.numberOfAuthortimeLayers = 383;
v1.kCursor = 101;
v1.kTooltip = 102;
v1.kTop = 201;
v1.kBottom = 202;
v1.kTopmost = 203;
v1.kNotopmost = 204;
v1.holder = _root.createEmptyMovieClip('reserved', mx.managers.DepthManager.reservedDepth);
v1.__depthManager = new mx.managers.DepthManager();
ASSetPropFlags(mx.managers.DepthManager.prototype, null, 1);
}
#endinitclip
}
movieClip 638 __Packages.mx.managers.SystemManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.SystemManager) {
var v1 = function () {};
mx.managers.SystemManager = v1;
var v2 = v1.prototype;
v1.init = function (Void) {
if (mx.managers.SystemManager._initialized == false) {
mx.managers.SystemManager._initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
mx.managers.SystemManager._xAddEventListener = mx.managers.SystemManager.addEventListener;
mx.managers.SystemManager.addEventListener = mx.managers.SystemManager.__addEventListener;
mx.managers.SystemManager._xRemoveEventListener = mx.managers.SystemManager.removeEventListener;
mx.managers.SystemManager.removeEventListener = mx.managers.SystemManager.__removeEventListener;
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.removeFocusManager = function (f) {};
v1.onMouseDown = function (Void) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager._onMouseDown();
};
v1.onResize = function (Void) {
var v7 = Stage.width;
var v6 = Stage.height;
var v9 = _global.origWidth;
var v8 = _global.origHeight;
var v3 = Stage.align;
var v5 = (v9 - v7) / 2;
var v4 = (v8 - v6) / 2;
if (v3 == 'T') {
v4 = 0;
} else {
if (v3 == 'B') {
v4 = v8 - v6;
} else {
if (v3 == 'L') {
v5 = 0;
} else {
if (v3 == 'R') {
v5 = v9 - v7;
} else {
if (v3 == 'LT') {
v4 = 0;
v5 = 0;
} else {
if (v3 == 'TR') {
v4 = 0;
v5 = v9 - v7;
} else {
if (v3 == 'LB') {
v4 = v8 - v6;
v5 = 0;
} else {
if (v3 == 'RB') {
v4 = v8 - v6;
v5 = v9 - v7;
}
}
}
}
}
}
}
}
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.__screen = new Object();
}
mx.managers.SystemManager.__screen.x = v5;
mx.managers.SystemManager.__screen.y = v4;
mx.managers.SystemManager.__screen.width = v7;
mx.managers.SystemManager.__screen.height = v6;
_root.focusManager.relocate();
mx.managers.SystemManager.dispatchEvent({'type': 'resize'});
};
v1.__get__screen = function () {
mx.managers.SystemManager.init();
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.onResize();
}
return mx.managers.SystemManager.__screen;
};
v1._initialized = false;
v1.idleFrames = 0;
v1.isMouseDown = false;
v1.forms = new Array();
v1.addProperty('screen', v1.__get__screen, function () {});
ASSetPropFlags(mx.managers.SystemManager.prototype, null, 1);
}
#endinitclip
}
movieClip 639 __Packages.mx.managers.FocusManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.FocusManager) {
var v1 = function () {
super();
};
mx.managers.FocusManager = v1;
var v2 = new mx.core.UIComponent();
mx.managers.FocusManager.prototype = v2;
v2.__get__defaultPushButton = function () {
return this.__defaultPushButton;
};
v2.__set__defaultPushButton = function (x) {
if (x != this.__defaultPushButton) {
this.__defaultPushButton.__set__emphasized(false);
this.__defaultPushButton = x;
this.defPushButton = x;
x.__set__emphasized(true);
}
return this.__get__defaultPushButton();
};
v2.getMaxTabIndex = function (o) {
var v3 = 0;
var v6;
for (v6 in o) {
var v2 = o[v6];
if (v2._parent == o) {
if (v2.tabIndex != undefined) {
if (v2.tabIndex > v3) {
v3 = v2.tabIndex;
}
}
if (v2.tabChildren == true) {
var v4 = this.getMaxTabIndex(v2);
if (v4 > v3) {
v3 = v4;
}
}
}
}
return v3;
};
v2.getNextTabIndex = function (Void) {
return this.getMaxTabIndex(this.form) + 1;
};
v2.__get__nextTabIndex = function () {
return this.getNextTabIndex();
};
v2.relocate = function (Void) {
var v2 = mx.managers.SystemManager.__get__screen();
this.move(v2.x - 1, v2.y - 1);
};
v2.init = function (Void) {
super.init();
this.tabEnabled = false;
this._height = 1;
this._width = 1;
this._y = -1;
this._x = -1;
this._alpha = 0;
this._parent.focusManager = this;
this._parent.tabChildren = true;
this._parent.tabEnabled = false;
this.form = this._parent;
this._parent.addEventListener('hide', this);
this._parent.addEventListener('reveal', this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(this.form);
this.tabCapture.tabIndex = 0;
this.watch('enabled', this.enabledChanged);
Selection.addListener(this);
this.lastMouse = new Object();
_global.ASSetPropFlags(this._parent, 'focusManager', 1);
_global.ASSetPropFlags(this._parent, 'tabChildren', 1);
_global.ASSetPropFlags(this._parent, 'tabEnabled', 1);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this._visible = newValue;
return newValue;
};
v2.activate = function (Void) {
Key.addListener(this);
this._visible = true;
this.activated = this._visible;
if (this.lastFocus != undefined) {
this.bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
this.doLater(this, 'restoreFocus');
}
}
};
v2.deactivate = function (Void) {
Key.removeListener(this);
this._visible = false;
this.activated = this._visible;
var v2 = this.getSelectionFocus();
var v3 = this.getActualFocus(v2);
if (this.isOurFocus(v3)) {
this.lastSelFocus = v2;
this.lastFocus = v3;
}
this.cancelAllDoLaters();
};
v2.isOurFocus = function (o) {
if (o.focusManager == this) {
return true;
}
while (o != undefined) {
if (o.focusManager != undefined) {
return false;
}
if (o._parent == this._parent) {
return true;
}
o = o._parent;
}
return false;
};
v2.onSetFocus = function (o, n) {
if (n == null) {
if (this.activated) {
this.bNeedFocus = true;
}
} else {
var v2 = this.getFocus();
if (this.isOurFocus(v2)) {
this.bNeedFocus = false;
this.lastFocus = v2;
this.lastSelFocus = n;
}
}
};
v2.restoreFocus = function (Void) {
var v2 = this.lastSelFocus.hscroll;
if (v2 != undefined) {
var v5 = this.lastSelFocus.scroll;
var v4 = this.lastSelFocus.background;
}
this.lastFocus.setFocus();
var v3 = Selection;
Selection.setSelection(v3.lastBeginIndex, v3.lastEndIndex);
if (v2 != undefined) {
this.lastSelFocus.scroll = v5;
this.lastSelFocus.hscroll = v2;
this.lastSelFocus.background = v4;
}
};
v2.onUnload = function (Void) {
mx.managers.SystemManager.removeFocusManager(this.form);
};
v2.setFocus = function (o) {
if (o == null) {
Selection.setFocus(null);
} else {
if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
};
v2.getActualFocus = function (o) {
var v1 = o._parent;
while (v1 != undefined) {
if (v1.focusTextField != undefined) {
while (v1.focusTextField != undefined) {
o = v1;
v1 = v1._parent;
if (v1 == undefined) {
return undefined;
}
if (v1.focusTextField == undefined) {
return o;
}
}
}
if (v1.tabEnabled != true) {
return o;
}
o = v1;
v1 = o._parent;
}
return undefined;
};
v2.getSelectionFocus = function () {
var m = Selection.getFocus();
var o = eval(m);
return o;
};
v2.getFocus = function (Void) {
var v2 = this.getSelectionFocus();
return this.getActualFocus(v2);
};
v2.walkTree = function (p, index, groupName, dir, lookup, firstChild) {
var v5 = true;
var v11;
for (v11 in p) {
var v2 = p[v11];
if (v2._parent == p && v2.enabled != false && v2._visible != false && (v2.tabEnabled == true || v2.tabEnabled != false && (v2.onPress != undefined || v2.onRelease != undefined || v2.onReleaseOutside != undefined || v2.onDragOut != undefined || v2.onDragOver != undefined || v2.onRollOver != undefined || v2.onRollOut != undefined || v2 instanceof TextField))) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
if (v2 != this._lastTarget) {
if ((v2.groupName != undefined || groupName != undefined) && v2.groupName == groupName) {
continue;
}
if (v2 instanceof TextField && v2.selectable == false) {
continue;
}
if (v5 || v2.groupName != undefined && v2.groupName == this._firstNode.groupName && v2.selected == true) {
if (firstChild) {
this._firstNode = v2;
firstChild = false;
}
}
if (this._nextIsNext == true) {
if (v2.groupName != undefined && v2.groupName == this._nextNode.groupName && v2.selected == true || this._nextNode == undefined && (v2.groupName == undefined || v2.groupName != undefined && v2.groupName != groupName)) {
this._nextNode = v2;
}
}
if (v2.groupName == undefined || groupName != v2.groupName) {
if (this._lastx.groupName != undefined && v2.groupName == this._lastx.groupName && this._lastx.selected == true) {
} else {
this._lastx = v2;
}
}
} else {
this._prevNode = this._lastx;
this._needPrev = false;
this._nextIsNext = true;
}
if (v2.tabIndex != undefined) {
if (v2.tabIndex == index) {
if (this._foundList[v2._name] == undefined) {
if (this._needPrev) {
this._prevObj = v2;
this._needPrev = false;
}
this._nextObj = v2;
}
}
if (dir && v2.tabIndex > index) {
if (this._nextObj == undefined || this._nextObj.tabIndex > v2.tabIndex && (v2.groupName == undefined || this._nextObj.groupName == undefined || v2.groupName != this._nextObj.groupName) || this._nextObj.groupName != undefined && this._nextObj.groupName == v2.groupName && this._nextObj.selected != true && (v2.selected == true || this._nextObj.tabIndex > v2.tabIndex)) {
this._nextObj = v2;
}
} else {
if (!dir && v2.tabIndex < index) {
if (this._prevObj == undefined || this._prevObj.tabIndex < v2.tabIndex && (v2.groupName == undefined || this._prevObj.groupName == undefined || v2.groupName != this._prevObj.groupName) || this._prevObj.groupName != undefined && this._prevObj.groupName == v2.groupName && this._prevObj.selected != true && (v2.selected == true || this._prevObj.tabIndex < v2.tabIndex)) {
this._prevObj = v2;
}
}
}
if (this._firstObj == undefined || v2.tabIndex < this._firstObj.tabIndex && (v2.groupName == undefined || this._firstObj.groupName == undefined || v2.groupName != this._firstObj.groupName) || this._firstObj.groupName != undefined && this._firstObj.groupName == v2.groupName && this._firstObj.selected != true && (v2.selected == true || v2.tabIndex < this._firstObj.tabIndex)) {
this._firstObj = v2;
}
if (this._lastObj == undefined || v2.tabIndex > this._lastObj.tabIndex && (v2.groupName == undefined || this._lastObj.groupName == undefined || v2.groupName != this._lastObj.groupName) || this._lastObj.groupName != undefined && this._lastObj.groupName == v2.groupName && this._lastObj.selected != true && (v2.selected == true || v2.tabIndex > this._lastObj.tabIndex)) {
this._lastObj = v2;
}
}
if (v2.tabChildren) {
this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild);
}
v5 = false;
} else {
if (v2._parent == p && v2.tabChildren == true && v2._visible != false) {
if (v2 == this._lastTarget) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
if (this._prevNode == undefined) {
var v3 = this._lastx;
var v7 = false;
while (v3 != undefined) {
if (v3 == v2) {
v7 = true;
break;
}
v3 = v3._parent;
}
if (v7 == false) {
this._prevNode = this._lastx;
}
}
this._needPrev = false;
if (this._nextNode == undefined) {
this._nextIsNext = true;
}
} else {
if (!(v2.focusManager != undefined && v2.focusManager._parent == v2)) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild);
}
}
v5 = false;
}
}
}
this._lastNode = this._lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != this._parent) {
if (this._prevNode == undefined && dir) {
this._needPrev = true;
} else {
if (this._nextNode == undefined && !dir) {
this._nextIsNext = false;
}
}
this._lastTarget = this._lastTarget._parent;
this.getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
};
v2.getTabCandidate = function (o, index, groupName, dir, firstChild) {
var v2;
var v3 = true;
if (o == this._parent) {
v2 = o;
v3 = false;
} else {
v2 = o._parent;
if (v2 == undefined) {
v2 = o;
v3 = false;
}
}
this.walkTree(v2, index, groupName, dir, v3, firstChild);
};
v2.getTabCandidateFromChildren = function (o, index, groupName, dir, firstChild) {
this.walkTree(o, index, groupName, dir, false, firstChild);
};
v2.getFocusManagerFromObject = function (o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return o.focusManager;
}
o = o._parent;
}
return undefined;
};
v2.tabHandler = function (Void) {
this.bDrawFocus = true;
var v5 = this.getSelectionFocus();
var v4 = this.getActualFocus(v5);
if (v4 != v5) {
v5 = v4;
}
if (this.getFocusManagerFromObject(v5) != this) {
v5 == undefined;
}
if (v5 == undefined) {
v5 = this.form;
} else {
if (v5.tabIndex != undefined) {
if (this._foundList != undefined || this._foundList.tabIndex != v5.tabIndex) {
this._foundList = new Object();
this._foundList.tabIndex = v5.tabIndex;
}
this._foundList[v5._name] = v5;
}
}
var v3 = Key.isDown(16) != true;
this._searchKey = getTimer();
this._needPrev = true;
this._nextIsNext = false;
this._lastx = undefined;
this._firstNode = undefined;
this._lastNode = undefined;
this._nextNode = undefined;
this._prevNode = undefined;
this._firstObj = undefined;
this._lastObj = undefined;
this._nextObj = undefined;
this._prevObj = undefined;
this._lastTarget = v5;
var v6 = v5;
this.getTabCandidate(v6, (v5.tabIndex == undefined) ? 0 : v5.tabIndex, v5.groupName, v3, true);
var v2;
if (v3) {
if (this._nextObj != undefined) {
v2 = this._nextObj;
} else {
v2 = this._firstObj;
}
} else {
if (this._prevObj != undefined) {
v2 = this._prevObj;
} else {
v2 = this._lastObj;
}
}
if (v2.tabIndex != v5.tabIndex) {
this._foundList = new Object();
this._foundList.tabIndex = v2.tabIndex;
this._foundList[v2._name] = v2;
} else {
if (this._foundList == undefined) {
this._foundList = new Object();
this._foundList.tabIndex = v2.tabIndex;
}
this._foundList[v2._name] = v2;
}
if (v2 == undefined) {
if (v3 == false) {
if (this._nextNode != undefined) {
v2 = this._nextNode;
} else {
v2 = this._firstNode;
}
} else {
if (this._prevNode == undefined || v5 == this.form) {
v2 = this._lastNode;
} else {
v2 = this._prevNode;
}
}
}
if (v2 == undefined) {
return undefined;
}
this.lastTabFocus = v2;
this.setFocus(v2);
if (v2.emphasized != undefined) {
if (this.defPushButton != undefined) {
v5 = this.defPushButton;
this.defPushButton = v2;
v5.emphasized = false;
v2.emphasized = true;
}
} else {
if (this.defPushButton != undefined && this.defPushButton != this.__defaultPushButton) {
v5 = this.defPushButton;
this.defPushButton = this.__defaultPushButton;
v5.emphasized = false;
this.__defaultPushButton.__set__emphasized(true);
}
}
};
v2.onKeyDown = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
if (this.defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (this.__get__defaultPushButton() != undefined) {
this.doLater(this, 'sendDefaultPushButtonEvent');
}
}
}
};
v2.sendDefaultPushButtonEvent = function (Void) {
this.defPushButton.dispatchEvent({'type': 'click'});
};
v2.getMousedComponentFromChildren = function (x, y, o) {
for (var v7 in o) {
var v2 = o[v7];
if (v2._visible && v2.enabled && v2._parent == o && v2._searchKey != this._searchKey) {
v2._searchKey = this._searchKey;
if (v2.hitTest(x, y, true)) {
if (v2.onPress != undefined || v2.onRelease != undefined) {
return v2;
}
var v3 = this.getMousedComponentFromChildren(x, y, v2);
if (v3 != undefined) {
return v3;
}
return v2;
}
}
}
return undefined;
};
v2.mouseActivate = function (Void) {
if (!this.bNeedFocus) {
return undefined;
}
this._searchKey = getTimer();
var v2 = this.getMousedComponentFromChildren(this.lastMouse.x, this.lastMouse.y, this.form);
if (v2 instanceof mx.core.UIComponent) {
return undefined;
}
v2 = this.findFocusFromObject(v2);
if (v2 == this.lastFocus) {
return undefined;
}
if (v2 == undefined) {
this.doLater(this, 'restoreFocus');
return undefined;
}
var v3 = v2.hscroll;
if (v3 != undefined) {
var v6 = v2.scroll;
var v5 = v2.background;
}
this.setFocus(v2);
var v4 = Selection;
Selection.setSelection(v4.lastBeginIndex, v4.lastEndIndex);
if (v3 != undefined) {
v2.scroll = v6;
v2.hscroll = v3;
v2.background = v5;
}
};
v2._onMouseDown = function (Void) {
this.bDrawFocus = false;
if (this.lastFocus != undefined) {
this.lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var v3 = Selection;
v3.lastBeginIndex = Selection.getBeginIndex();
v3.lastEndIndex = Selection.getEndIndex();
this.lastMouse.x = _root._xmouse;
this.lastMouse.y = _root._ymouse;
_root.localToGlobal(this.lastMouse);
};
v2.onMouseUp = function (Void) {
if (this._visible) {
this.doLater(this, 'mouseActivate');
}
};
v2.handleEvent = function (e) {
if (e.type == 'reveal') {
mx.managers.SystemManager.activate(this.form);
} else {
mx.managers.SystemManager.deactivate(this.form);
}
};
v1.enableFocusManagement = function () {
if (!mx.managers.FocusManager.initialized) {
mx.managers.FocusManager.initialized = true;
Object.registerClass('FocusManager', mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--);
}
}
};
v1.symbolName = 'FocusManager';
v1.symbolOwner = mx.managers.FocusManager;
v1.version = '2.0.2.127';
v2.className = 'FocusManager';
v2.bNeedFocus = false;
v2.bDrawFocus = false;
v2.defaultPushButtonEnabled = true;
v2.activated = true;
v1.initialized = false;
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
v2.addProperty('defaultPushButton', v2.__get__defaultPushButton, v2.__set__defaultPushButton);
v2.addProperty('nextTabIndex', v2.__get__nextTabIndex, function () {});
ASSetPropFlags(mx.managers.FocusManager.prototype, null, 1);
}
#endinitclip
}
movieClip 640 __Packages.mx.skins.halo.FocusRect {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.FocusRect) {
var v1 = function () {
super();
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
mx.skins.halo.FocusRect = v1;
var v2 = new mx.skins.SkinElement();
mx.skins.halo.FocusRect.prototype = v2;
v2.draw = function (o) {
o.adjustFocusRect();
};
v2.setSize = function (w, h, r, a, rectCol) {
this._yscale = 100;
this._xscale = 100;
this.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;
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(0, 0, w, h, r);
this.drawRoundRect(2, 2, w - 4, h - 4, r);
this.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;
this.beginFill(rectCol, a * 0.3);
this.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;
this.drawRoundRect(2, 2, w - 4, h - 4, r);
this.endFill();
} else {
var v5;
if (r != 0) {
v5 = r - 2;
} else {
v5 = 0;
}
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(0, 0, w, h, r);
this.drawRoundRect(2, 2, w - 4, h - 4, v5);
this.endFill();
this.beginFill(rectCol, a * 0.3);
if (r != 0) {
v5 = r - 2;
r -= 1;
} else {
v5 = 0;
r = 0;
}
this.drawRoundRect(1, 1, w - 2, h - 2, r);
this.drawRoundRect(2, 2, w - 4, h - 4, v5);
this.endFill();
}
};
v2.handleEvent = function (e) {
if (e.type == 'unload') {
this._visible = true;
} else {
if (e.type == 'resize') {
e.target.adjustFocusRect();
} else {
if (e.type == 'move') {
e.target.adjustFocusRect();
}
}
}
};
v1.classConstruct = function () {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var v2 = this._parent.focus_mc;
if (!focused) {
v2._visible = false;
this.removeEventListener('unload', v2);
this.removeEventListener('move', v2);
this.removeEventListener('resize', v2);
} else {
if (v2 == undefined) {
v2 = this._parent.createChildAtDepth('FocusRect', mx.managers.DepthManager.kTop);
v2.tabEnabled = false;
this._parent.focus_mc = v2;
} else {
v2._visible = true;
}
v2.draw(this);
if (v2.getDepth() < this.getDepth()) {
v2.setDepthAbove(this);
}
this.addEventListener('unload', v2);
this.addEventListener('move', v2);
this.addEventListener('resize', v2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var v2 = this.getStyle('themeColor');
if (v2 == undefined) {
v2 = 8453965;
}
var v3 = this._parent.focus_mc;
v3.setSize(this.width + 4, this.height + 4, 0, 100, v2);
v3.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;
};
v1.classConstructed = mx.skins.halo.FocusRect.classConstruct();
v1.DefaultsDependency = mx.skins.halo.Defaults;
v1.UIComponentDependency = mx.core.UIComponent;
ASSetPropFlags(mx.skins.halo.FocusRect.prototype, null, 1);
}
#endinitclip
}
movieClip 641 __Packages.mx.managers.OverlappedWindows {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.OverlappedWindows) {
var v1 = function () {};
mx.managers.OverlappedWindows = v1;
var v2 = v1.prototype;
v1.checkIdle = function (Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({'type': 'idle'});
} else {
++mx.managers.SystemManager.idleFrames;
}
};
v1.__addEventListener = function (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);
};
v1.__removeEventListener = function (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);
}
};
v1.onMouseDown = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var v5 = _root;
var v3;
var v8 = _root._xmouse;
var v7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var v6 = mx.managers.SystemManager.forms.length;
var v4;
v4 = 0;
while (v4 < v6) {
var v2 = mx.managers.SystemManager.forms[v4];
if (v2._visible) {
if (v2.hitTest(v8, v7)) {
if (v3 == undefined) {
v3 = v2.getDepth();
v5 = v2;
} else {
if (v3 < v2.getDepth()) {
v3 = v2.getDepth();
v5 = v2;
}
}
}
}
++v4;
}
if (v5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(v5);
}
}
}
var v9 = mx.managers.SystemManager.form;
v9.focusManager._onMouseDown();
};
v1.onMouseMove = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
};
v1.onMouseUp = function (Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
};
v1.activate = function (f) {
if (mx.managers.SystemManager.form != undefined) {
if (mx.managers.SystemManager.form != f && mx.managers.SystemManager.forms.length > 1) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.deactivate = function (f) {
if (mx.managers.SystemManager.form != undefined) {
if (mx.managers.SystemManager.form == f && mx.managers.SystemManager.forms.length > 1) {
var v5 = mx.managers.SystemManager.form;
v5.focusManager.deactivate();
var v3 = mx.managers.SystemManager.forms.length;
var v1;
var v2;
v1 = 0;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1] == f) {
v1 += 1;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1]._visible == true) {
v2 = mx.managers.SystemManager.forms[v1];
}
++v1;
}
mx.managers.SystemManager.form = v2;
break;
} else {
if (mx.managers.SystemManager.forms[v1]._visible == true) {
v2 = mx.managers.SystemManager.forms[v1];
}
}
++v1;
}
v5 = mx.managers.SystemManager.form;
v5.focusManager.activate();
}
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
};
v1.removeFocusManager = function (f) {
var v3 = mx.managers.SystemManager.forms.length;
var v1;
v1 = 0;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(v1, 1);
return undefined;
}
++v1;
}
};
v1.enableOverlappedWindows = function () {
if (!mx.managers.OverlappedWindows.initialized) {
mx.managers.OverlappedWindows.initialized = true;
mx.managers.SystemManager.checkIdle = mx.managers.OverlappedWindows.checkIdle;
mx.managers.SystemManager.__addEventListener = mx.managers.OverlappedWindows.__addEventListener;
mx.managers.SystemManager.__removeEventListener = mx.managers.OverlappedWindows.__removeEventListener;
mx.managers.SystemManager.onMouseDown = mx.managers.OverlappedWindows.onMouseDown;
mx.managers.SystemManager.onMouseMove = mx.managers.OverlappedWindows.onMouseMove;
mx.managers.SystemManager.onMouseUp = mx.managers.OverlappedWindows.onMouseUp;
mx.managers.SystemManager.activate = mx.managers.OverlappedWindows.activate;
mx.managers.SystemManager.deactivate = mx.managers.OverlappedWindows.deactivate;
mx.managers.SystemManager.addFocusManager = mx.managers.OverlappedWindows.addFocusManager;
mx.managers.SystemManager.removeFocusManager = mx.managers.OverlappedWindows.removeFocusManager;
}
};
v1.initialized = false;
v1.SystemManagerDependency = mx.managers.SystemManager;
ASSetPropFlags(mx.managers.OverlappedWindows.prototype, null, 1);
}
#endinitclip
}
movieClip 642 __Packages.mx.styles.CSSSetStyle {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSSetStyle) {
var v1 = function () {};
mx.styles.CSSSetStyle = v1;
var v2 = v1.prototype;
v2._setStyle = function (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 v7 = mx.styles.StyleManager.colorNames.haloBlue;
var v6 = mx.styles.StyleManager.colorNames.haloGreen;
var v8 = mx.styles.StyleManager.colorNames.haloOrange;
var v4 = {};
v4[v7] = 12188666;
v4[v6] = 13500353;
v4[v8] = 16766319;
var v5 = {};
v5[v7] = 13958653;
v5[v6] = 14942166;
v5[v8] = 16772787;
var v9 = v4[newValue];
var v10 = v5[newValue];
if (v9 == undefined) {
v9 = newValue;
}
if (v10 == undefined) {
v10 = newValue;
}
this.setStyle('selectionColor', v9);
this.setStyle('rollOverColor', v10);
}
_level0.changeColorStyleInChildren(this.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(this.styleName, styleProp, newValue);
}
};
v2.changeTextStyleInChildren = function (styleProp) {
var v4 = getTimer();
var v5;
for (v5 in this) {
var v2 = this[v5];
if (v2._parent == this) {
if (v2.searchKey != v4) {
if (v2.stylecache != undefined) {
delete v2.stylecache.tf;
delete v2.stylecache[styleProp];
}
v2.invalidateStyle(styleProp);
v2.changeTextStyleInChildren(styleProp);
v2.searchKey = v4;
}
}
}
};
v2.changeColorStyleInChildren = function (sheetName, colorStyle, newValue) {
var v6 = getTimer();
var v7;
for (v7 in this) {
var v2 = this[v7];
if (v2._parent == this) {
if (v2.searchKey != v6) {
if (v2.getStyleName() == sheetName || sheetName == undefined || sheetName == '_global') {
if (v2.stylecache != undefined) {
delete v2.stylecache[colorStyle];
}
if (typeof v2._color == 'string') {
if (v2._color == colorStyle) {
var v4 = v2.getStyle(colorStyle);
if (colorStyle == 'color') {
if (this.stylecache.tf.color != undefined) {
this.stylecache.tf.color = v4;
}
}
v2.setColor(v4);
}
} else {
if (v2._color[colorStyle] != undefined) {
if (typeof v2 != 'movieclip') {
v2._parent.invalidateStyle();
} else {
v2.invalidateStyle(colorStyle);
}
}
}
}
v2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
v2.searchKey = v6;
}
}
}
};
v2.notifyStyleChangeInChildren = function (sheetName, styleProp, newValue) {
var v5 = getTimer();
var v6;
for (v6 in this) {
var v2 = this[v6];
if (v2._parent == this) {
if (v2.searchKey != v5) {
if (v2.styleName == sheetName || v2.styleName != undefined && typeof v2.styleName == 'movieclip' || sheetName == undefined) {
if (v2.stylecache != undefined) {
delete v2.stylecache[styleProp];
delete v2.stylecache.tf;
}
delete v2.enabledColor;
v2.invalidateStyle(styleProp);
}
v2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
v2.searchKey = v5;
}
}
}
};
v2.setStyle = function (styleProp, newValue) {
if (this.stylecache != undefined) {
delete this.stylecache[styleProp];
delete this.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 v10 = mx.styles.StyleManager.colorNames.haloBlue;
var v9 = mx.styles.StyleManager.colorNames.haloGreen;
var v11 = mx.styles.StyleManager.colorNames.haloOrange;
var v6 = {};
v6[v10] = 12188666;
v6[v9] = 13500353;
v6[v11] = 16766319;
var v7 = {};
v7[v10] = 13958653;
v7[v9] = 14942166;
v7[v11] = 16772787;
var v12 = v6[newValue];
var v13 = v7[newValue];
if (v12 == undefined) {
v12 = newValue;
}
if (v13 == undefined) {
v13 = newValue;
}
this.setStyle('selectionColor', v12);
this.setStyle('rollOverColor', v13);
}
if (typeof this._color == 'string') {
if (this._color == styleProp) {
if (styleProp == 'color') {
if (this.stylecache.tf.color != undefined) {
this.stylecache.tf.color = newValue;
}
}
this.setColor(newValue);
}
} else {
if (this._color[styleProp] != undefined) {
this.invalidateStyle(styleProp);
}
}
this.changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if (styleProp == 'backgroundColor' && isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
this.invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || styleProp == 'styleName') {
var v8;
var v5 = newValue;
if (styleProp == 'styleName') {
v8 = (typeof newValue == 'string') ? _global.styles[newValue] : v5;
v5 = v8.themeColor;
if (v5 != undefined) {
v8.selectionColor = v5;
v8.rollOverColor = v8.selectionColor;
}
}
this.notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
};
v1.enableRunTimeCSS = function () {};
v1.classConstruct = function () {
var v2 = MovieClip.prototype;
var v3 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = v3._setStyle;
v2.changeTextStyleInChildren = v3.changeTextStyleInChildren;
v2.changeColorStyleInChildren = v3.changeColorStyleInChildren;
v2.notifyStyleChangeInChildren = v3.notifyStyleChangeInChildren;
v2.setStyle = v3.setStyle;
_global.ASSetPropFlags(v2, 'changeTextStyleInChildren', 1);
_global.ASSetPropFlags(v2, 'changeColorStyleInChildren', 1);
_global.ASSetPropFlags(v2, 'notifyStyleChangeInChildren', 1);
_global.ASSetPropFlags(v2, 'setStyle', 1);
var v4 = TextField.prototype;
v4.setStyle = v2.setStyle;
v4.changeTextStyleInChildren = v3.changeTextStyleInChildren;
return true;
};
v1.classConstructed = mx.styles.CSSSetStyle.classConstruct();
v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
ASSetPropFlags(mx.styles.CSSSetStyle.prototype, null, 1);
}
#endinitclip
}
movieClip 643 __Packages.mx.core.ext.UIComponentExtensions {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ext) {
_global.mx.core.ext = new Object();
}
if (!_global.mx.core.ext.UIComponentExtensions) {
var v1 = function () {};
mx.core.ext.UIComponentExtensions = v1;
var v2 = v1.prototype;
v1.Extensions = function () {
if (mx.core.ext.UIComponentExtensions.bExtended == true) {
return true;
}
mx.core.ext.UIComponentExtensions.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();
};
v1.bExtended = false;
v1.UIComponentExtended = mx.core.ext.UIComponentExtensions.Extensions();
v1.UIComponentDependency = mx.core.UIComponent;
v1.FocusManagerDependency = mx.managers.FocusManager;
v1.OverlappedWindowsDependency = mx.managers.OverlappedWindows;
ASSetPropFlags(mx.core.ext.UIComponentExtensions.prototype, null, 1);
}
#endinitclip
}
movieClip 644 __Packages.mx.skins.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.RectBorder) {
var v1 = function () {
super();
};
mx.skins.RectBorder = v1;
var v2 = new mx.skins.Border();
mx.skins.RectBorder.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
};
v2.draw = function (Void) {
this.size();
};
v2.getBorderMetrics = function (Void) {
var v2 = this.offset;
if (this.__borderMetrics == undefined) {
this.__borderMetrics = {'left': v2, 'top': v2, 'right': v2, 'bottom': v2};
return this.__borderMetrics;
}
this.__borderMetrics.left = v2;
this.__borderMetrics.top = v2;
this.__borderMetrics.right = v2;
this.__borderMetrics.bottom = v2;
return this.__borderMetrics;
};
v2.__get__borderMetrics = function () {
return this.getBorderMetrics();
};
v2.drawBorder = function (Void) {};
v2.size = function (Void) {
this.drawBorder();
};
v2.setColor = function (Void) {
this.drawBorder();
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.RectBorder;
v1.version = '2.0.2.127';
v2.className = 'RectBorder';
v2.borderStyleName = 'borderStyle';
v2.borderColorName = 'borderColor';
v2.shadowColorName = 'shadowColor';
v2.highlightColorName = 'highlightColor';
v2.buttonColorName = 'buttonColor';
v2.backgroundColorName = 'backgroundColor';
v2.addProperty('borderMetrics', v2.__get__borderMetrics, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 645 __Packages.mx.skins.halo.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.RectBorder) {
var v1 = function () {
super();
};
mx.skins.halo.RectBorder = v1;
var v2 = new mx.skins.RectBorder();
mx.skins.halo.RectBorder.prototype = v2;
v2.init = function (Void) {
this.borderWidths.default = 3;
super.init();
};
v2.getBorderMetrics = function (Void) {
if (this.offset == undefined) {
var v3 = this.getStyle(this.borderStyleName);
this.offset = this.borderWidths[v3];
}
if (this.getStyle(this.borderStyleName) == 'default' || this.getStyle(this.borderStyleName) == 'alert') {
this.__borderMetrics = {'left': 3, 'top': 1, 'right': 3, 'bottom': 3};
return this.__borderMetrics;
}
return super.getBorderMetrics();
};
v2.drawBorder = function (Void) {
var v6 = _global.styles[this.className];
if (v6 == undefined) {
v6 = _global.styles.RectBorder;
}
var v5 = this.getStyle(this.borderStyleName);
var v7 = this.getStyle(this.borderColorName);
if (v7 == undefined) {
v7 = v6[this.borderColorName];
}
var v8 = this.getStyle(this.backgroundColorName);
if (v8 == undefined) {
v8 = v6[this.backgroundColorName];
}
var v16 = this.getStyle('backgroundImage');
if (v5 != 'none') {
var v14 = this.getStyle(this.shadowColorName);
if (v14 == undefined) {
v14 = v6[this.shadowColorName];
}
var v13 = this.getStyle(this.highlightColorName);
if (v13 == undefined) {
v13 = v6[this.highlightColorName];
}
var v12 = this.getStyle(this.buttonColorName);
if (v12 == undefined) {
v12 = v6[this.buttonColorName];
}
var v11 = this.getStyle(this.borderCapColorName);
if (v11 == undefined) {
v11 = v6[this.borderCapColorName];
}
var v10 = this.getStyle(this.shadowCapColorName);
if (v10 == undefined) {
v10 = v6[this.shadowCapColorName];
}
}
this.offset = this.borderWidths[v5];
var v9 = this.offset;
var v3 = this.__get__width();
var v4 = this.__get__height();
this.clear();
this._color = undefined;
if (v5 == 'none') {
} else {
if (v5 == 'inset') {
this._color = this.colorList;
this.draw3dBorder(v11, v12, v7, v13, v14, v10);
} else {
if (v5 == 'outset') {
this._color = this.colorList;
this.draw3dBorder(v11, v7, v12, v14, v13, v10);
} else {
if (v5 == 'alert') {
var v15 = this.getStyle('themeColor');
this.drawRoundRect(0, 5, v3, v4 - 5, 5, 6184542, 10);
this.drawRoundRect(1, 4, v3 - 2, v4 - 5, 4, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, v15, 50);
this.drawRoundRect(3, 1, v3 - 6, v4 - 4, 2, 16777215, 100);
} else {
if (v5 == 'default') {
this.drawRoundRect(0, 5, v3, v4 - 5, {'tl': 5, 'tr': 5, 'br': 0, 'bl': 0}, 6184542, 10);
this.drawRoundRect(1, 4, v3 - 2, v4 - 5, {'tl': 4, 'tr': 4, 'br': 0, 'bl': 0}, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, {'tl': 3, 'tr': 3, 'br': 0, 'bl': 0}, [12897484, 11844796], 100, 0, 'radial');
this.drawRoundRect(3, 1, v3 - 6, v4 - 4, {'tl': 2, 'tr': 2, 'br': 0, 'bl': 0}, 16777215, 100);
} else {
if (v5 == 'dropDown') {
this.drawRoundRect(0, 0, v3 + 1, v4, {'tl': 4, 'tr': 0, 'br': 0, 'bl': 4}, [13290186, 7895160], 100, -10, 'linear');
this.drawRoundRect(1, 1, v3 - 1, v4 - 2, {'tl': 3, 'tr': 0, 'br': 0, 'bl': 3}, 16777215, 100);
} else {
if (v5 == 'menuBorder') {
var v15 = this.getStyle('themeColor');
this.drawRoundRect(4, 4, v3 - 2, v4 - 3, 0, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(4, 4, v3 - 1, v4 - 2, 0, 6184542, 10);
this.drawRoundRect(0, 0, v3 + 1, v4, 0, [0, 14342874], 100, 250, 'linear');
this.drawRoundRect(0, 0, v3 + 1, v4, 0, v15, 50);
this.drawRoundRect(2, 2, v3 - 3, v4 - 4, 0, 16777215, 100);
} else {
if (v5 == 'comboNonEdit') {
} else {
this.beginFill(v7);
this.drawRect(0, 0, v3, v4);
this.drawRect(1, 1, v3 - 1, v4 - 1);
this.endFill();
this._color = this.borderColorName;
}
}
}
}
}
}
}
}
if (v8 != undefined) {
this.beginFill(v8);
this.drawRect(v9, v9, this.__get__width() - v9, this.__get__height() - v9);
this.endFill();
}
};
v2.draw3dBorder = function (c1, c2, c3, c4, c5, c6) {
var v3 = this.__get__width();
var v2 = this.__get__height();
this.beginFill(c1);
this.drawRect(0, 0, v3, v2);
this.drawRect(1, 0, v3 - 1, v2);
this.endFill();
this.beginFill(c2);
this.drawRect(1, 0, v3 - 1, 1);
this.endFill();
this.beginFill(c3);
this.drawRect(1, v2 - 1, v3 - 1, v2);
this.endFill();
this.beginFill(c4);
this.drawRect(1, 1, v3 - 1, 2);
this.endFill();
this.beginFill(c5);
this.drawRect(1, v2 - 2, v3 - 1, v2 - 1);
this.endFill();
this.beginFill(c6);
this.drawRect(1, 2, v3 - 1, v2 - 2);
this.drawRect(2, 2, v3 - 2, v2 - 2);
this.endFill();
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
_global.styles.rectBorderClass = mx.skins.halo.RectBorder;
_global.skinRegistry.RectBorder = true;
return true;
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.halo.RectBorder;
v1.version = '2.0.2.127';
v2.borderCapColorName = 'borderCapColor';
v2.shadowCapColorName = 'shadowCapColor';
v2.colorList = {'highlightColor': 0, 'borderColor': 0, 'buttonColor': 0, 'shadowColor': 0, 'borderCapColor': 0, 'shadowCapColor': 0};
v2.borderWidths = {'none': 0, 'solid': 1, 'inset': 2, 'outset': 2, 'alert': 3, 'dropDown': 2, 'menuBorder': 2, 'comboNonEdit': 2};
v1.classConstructed = mx.skins.halo.RectBorder.classConstruct();
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
ASSetPropFlags(mx.skins.halo.RectBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 646 __Packages.mx.skins.halo.ButtonSkin {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.ButtonSkin) {
var v1 = function () {
super();
};
mx.skins.halo.ButtonSkin = v1;
var v2 = new mx.skins.RectBorder();
mx.skins.halo.ButtonSkin.prototype = v2;
v2.init = function () {
super.init();
};
v2.size = function () {
this.drawHaloRect(this.__get__width(), this.__get__height());
};
v2.drawHaloRect = function (w, h) {
var v6 = this.getStyle('borderStyle');
var v4 = this.getStyle('themeColor');
var v5 = this._parent.emphasized;
this.clear();
switch (v6) {
case 'falseup':
if (v5) {
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100);
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 75);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 75);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
} else {
this.drawRoundRect(0, 0, w, h, 5, 9542041, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, 'radial');
this.drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, 'radial');
this.drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100);
}
break;
case 'falsedown':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50);
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, v4, 20);
break;
case 'falserollover':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100);
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 50);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 50);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case 'falsedisabled':
this.drawRoundRect(0, 0, w, h, 5, 13159628, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
this.drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
break;
case 'trueup':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 10066329, 100);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50);
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16250871, 100);
break;
case 'truedown':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 10066329, 100);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50);
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, v4, 20);
break;
case 'truerollover':
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100);
this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 50);
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 40);
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 40);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case 'truedisabled':
this.drawRoundRect(0, 0, w, h, 5, 13159628, 100);
this.drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
this.drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
this.drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
}
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
_global.skinRegistry.ButtonSkin = true;
return true;
};
v1.symbolName = 'ButtonSkin';
v1.symbolOwner = mx.skins.halo.ButtonSkin;
v2.className = 'ButtonSkin';
v2.backgroundColorName = 'buttonColor';
v1.classConstructed = mx.skins.halo.ButtonSkin.classConstruct();
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
ASSetPropFlags(mx.skins.halo.ButtonSkin.prototype, null, 1);
}
#endinitclip
}
movieClip 647 __Packages.mx.controls.HScrollBar {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.HScrollBar) {
var v1 = function () {
super();
};
mx.controls.HScrollBar = v1;
var v2 = new mx.controls.scrollClasses.ScrollBar();
mx.controls.HScrollBar.prototype = v2;
v2.getMinWidth = function (Void) {
return this._minHeight;
};
v2.getMinHeight = function (Void) {
return this._minWidth;
};
v2.init = function (Void) {
super.init();
this._xscale = -100;
this._rotation = -90;
};
v2.__get__virtualHeight = function () {
return this.__width;
};
v2.isScrollBarKey = function (k) {
if (k == 37) {
this.scrollIt('Line', -1);
return true;
return super.isScrollBarKey(k);
}
if (k == 39) {
this.scrollIt('Line', 1);
return true;
}
return super.isScrollBarKey(k);
};
v1.symbolName = 'HScrollBar';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.127';
v2.className = 'HScrollBar';
v2.minusMode = 'Left';
v2.plusMode = 'Right';
v2.minMode = 'AtLeft';
v2.maxMode = 'AtRight';
v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {});
ASSetPropFlags(mx.controls.HScrollBar.prototype, null, 1);
}
#endinitclip
}
movieClip 648 __Packages.mx.core.View {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.View) {
var v1 = function () {
super();
};
mx.core.View = v1;
var v2 = new mx.core.UIComponent();
mx.core.View.prototype = v2;
v2.init = function () {
super.init();
this.tabChildren = true;
this.tabEnabled = false;
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
v2.size = function () {
this.border_mc.move(0, 0);
this.border_mc.setSize(this.__get__width(), this.__get__height());
this.doLayout();
};
v2.draw = function () {
this.size();
};
v2.__get__numChildren = function () {
var v3 = mx.core.View.childNameBase;
var v2 = 0;
while (!false) {
if (this[v3 + v2] == undefined) {
return v2;
}
++v2;
}
return -1;
};
v2.__get__tabIndex = function () {
return this.tabEnabled ? this.__tabIndex : undefined;
};
v2.__set__tabIndex = function (n) {
this.__tabIndex = n;
return this.__get__tabIndex();
};
v2.addLayoutObject = function (object) {};
v2.createChild = function (className, instanceName, initProps) {
if (this.depth == undefined) {
this.depth = 1;
}
var v2;
if (typeof className == 'string') {
v2 = this.createObject(className, instanceName, this.depth++, initProps);
} else {
v2 = this.createClassObject(className, instanceName, this.depth++, initProps);
}
if (v2 == undefined) {
v2 = this.loadExternal(className, this._loadExternalClass, instanceName, this.depth++, initProps);
this.addLayoutObject(v2);
return v2;
}
this[mx.core.View.childNameBase + this.__get__numChildren()] = v2;
v2._complete = true;
this.childLoaded(v2);
this.addLayoutObject(v2);
return v2;
};
v2.getChildAt = function (childIndex) {
return this[mx.core.View.childNameBase + childIndex];
};
v2.destroyChildAt = function (childIndex) {
if (!(childIndex >= 0 && childIndex < this.__get__numChildren())) {
return undefined;
}
var v4 = mx.core.View.childNameBase + childIndex;
var v6 = this.__get__numChildren();
var v3;
for (v3 in this) {
if (v3 == v4) {
v4 = '';
this.destroyObject(v3);
break;
}
}
var v2 = Number(childIndex);
while (v2 < v6 - 1) {
this[mx.core.View.childNameBase + v2] = this[mx.core.View.childNameBase + (v2 + 1)];
++v2;
}
delete this[mx.core.View.childNameBase + (v6 - 1)];
--this.depth;
};
v2.initLayout = function () {
if (!this.hasBeenLayedOut) {
this.doLayout();
}
};
v2.doLayout = function () {
this.hasBeenLayedOut = true;
};
v2.createChildren = function () {
if (this.border_mc == undefined) {
this.border_mc = this.createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {'styleName': this});
}
this.doLater(this, 'initLayout');
};
v2.convertToUIObject = function (obj) {};
v2.childLoaded = function (obj) {
this.convertToUIObject(obj);
};
v1.extension = function () {
mx.core.ExternalContent.enableExternalContent();
};
v1.symbolName = 'View';
v1.symbolOwner = mx.core.View;
v1.version = '2.0.2.127';
v2.className = 'View';
v1.childNameBase = '_child';
v2.hasBeenLayedOut = false;
v2._loadExternalClass = 'UIComponent';
v2.addProperty('numChildren', v2.__get__numChildren, function () {});
v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex);
ASSetPropFlags(mx.core.View.prototype, null, 1);
}
#endinitclip
}
movieClip 649 __Packages.mx.core.ScrollView {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ScrollView) {
var v1 = function () {
super();
};
mx.core.ScrollView = v1;
var v2 = new mx.core.View();
mx.core.ScrollView.prototype = v2;
v2.getHScrollPolicy = function (Void) {
return this.__hScrollPolicy;
};
v2.setHScrollPolicy = function (policy) {
this.__hScrollPolicy = policy.toLowerCase();
if (this.__width == undefined) {
return undefined;
}
this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding);
};
v2.__get__hScrollPolicy = function () {
return this.getHScrollPolicy();
};
v2.__set__hScrollPolicy = function (policy) {
this.setHScrollPolicy(policy);
return this.__get__hScrollPolicy();
};
v2.getVScrollPolicy = function (Void) {
return this.__vScrollPolicy;
};
v2.setVScrollPolicy = function (policy) {
this.__vScrollPolicy = policy.toLowerCase();
if (this.__width == undefined) {
return undefined;
}
this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding);
};
v2.__get__vScrollPolicy = function () {
return this.getVScrollPolicy();
};
v2.__set__vScrollPolicy = function (policy) {
this.setVScrollPolicy(policy);
return this.__get__vScrollPolicy();
};
v2.__get__hPosition = function () {
return this.getHPosition();
};
v2.__set__hPosition = function (pos) {
this.setHPosition(pos);
return this.__get__hPosition();
};
v2.getHPosition = function (Void) {
return this.__hPosition;
};
v2.setHPosition = function (pos) {
this.hScroller.__set__scrollPosition(pos);
this.__hPosition = pos;
};
v2.__get__vPosition = function () {
return this.getVPosition();
};
v2.__set__vPosition = function (pos) {
this.setVPosition(pos);
return this.__get__vPosition();
};
v2.getVPosition = function (Void) {
return this.__vPosition;
};
v2.setVPosition = function (pos) {
this.vScroller.__set__scrollPosition(pos);
this.__vPosition = pos;
};
v2.__get__maxVPosition = function () {
var v2 = this.vScroller.maxPos;
return (v2 == undefined) ? 0 : v2;
};
v2.__get__maxHPosition = function () {
return this.getMaxHPosition();
};
v2.__set__maxHPosition = function (pos) {
this.setMaxHPosition(pos);
return this.__get__maxHPosition();
};
v2.getMaxHPosition = function (Void) {
if (this.__maxHPosition != undefined) {
return this.__maxHPosition;
}
var v2 = this.hScroller.maxPos;
return (v2 == undefined) ? 0 : v2;
};
v2.setMaxHPosition = function (pos) {
this.__maxHPosition = pos;
};
v2.setScrollProperties = function (colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
var v3 = this.getViewMetrics();
if (hPadding == undefined) {
hPadding = 0;
}
if (wPadding == undefined) {
wPadding = 0;
}
this.propsInited = true;
delete this.scrollAreaChanged;
this.heightPadding = hPadding;
this.widthPadding = wPadding;
if (colWidth == 0) {
colWidth = 1;
}
if (rwHeight == 0) {
rwHeight = 1;
}
var v5 = Math.ceil((this.__width - v3.left - v3.right - this.widthPadding) / colWidth);
if (this.__hScrollPolicy == 'on' || v5 < colCount && this.__hScrollPolicy == 'auto') {
if (this.hScroller == undefined || this.specialHScrollCase) {
delete this.specialHScrollCase;
this.hScroller = this.createObject('HScrollBar', 'hSB', 1001);
this.hScroller.__set__lineScrollSize(20);
this.hScroller.scrollHandler = this.scrollProxy;
this.hScroller.__set__scrollPosition(this.__hPosition);
this.scrollAreaChanged = true;
}
if (this.numberOfCols != colCount || this.columnWidth != colWidth || this.viewableColumns != v5 || this.scrollAreaChanged) {
this.hScroller.setScrollProperties(v5, 0, colCount - v5);
this.viewableColumns = v5;
this.numberOfCols = colCount;
this.columnWidth = colWidth;
}
} else {
if ((this.__hScrollPolicy == 'auto' || this.__hScrollPolicy == 'off') && this.hScroller != undefined) {
this.hScroller.removeMovieClip();
delete this.hScroller;
this.scrollAreaChanged = true;
}
}
if (this.heightPadding == undefined) {
this.heightPadding = 0;
}
var v4 = Math.ceil((this.__height - v3.top - v3.bottom - this.heightPadding) / rwHeight);
var v8 = (this.__height - v3.top - v3.bottom) % rwHeight != 0;
if (this.__vScrollPolicy == 'on' || v4 < rwCount + v8 && this.__vScrollPolicy == 'auto') {
if (this.vScroller == undefined) {
this.vScroller = this.createObject('VScrollBar', 'vSB', 1002);
this.vScroller.scrollHandler = this.scrollProxy;
this.vScroller.__set__scrollPosition(this.__vPosition);
this.scrollAreaChanged = true;
this.rowH = 0;
}
if (this.rowC != rwCount || this.rowH != rwHeight || this.viewableRows + v8 != v4 + this.oldRndUp || this.scrollAreaChanged) {
this.vScroller.setScrollProperties(v4, 0, rwCount - v4 + v8);
this.viewableRows = v4;
this.rowC = rwCount;
this.rowH = rwHeight;
this.oldRndUp = v8;
}
} else {
if ((this.__vScrollPolicy == 'auto' || this.__vScrollPolicy == 'off') && this.vScroller != undefined) {
this.vScroller.removeMovieClip();
delete this.vScroller;
this.scrollAreaChanged = true;
}
}
this.numberOfCols = colCount;
this.columnWidth = colWidth;
if (this.scrollAreaChanged) {
this.doLayout();
var v2 = this.__viewMetrics;
var v12 = (this.owner != undefined) ? this.owner : this;
v12.layoutContent(v2.left, v2.top, this.columnWidth * this.numberOfCols - v2.left - v2.right, this.rowC * this.rowH, this.__width - v2.left - v2.right, this.__height - v2.top - v2.bottom);
}
if (!this.enabled) {
this.setEnabled(false);
}
};
v2.getViewMetrics = function (Void) {
var v2 = this.__viewMetrics;
var v3 = this.border_mc.__get__borderMetrics();
v2.left = v3.left;
v2.right = v3.right;
if (this.vScroller != undefined) {
v2.right += this.vScroller.minWidth;
}
v2.top = v3.top;
if (this.hScroller == undefined && (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == true)) {
this.hScroller = this.createObject('FHScrollBar', 'hSB', 1001);
this.specialHScrollCase = true;
}
v2.bottom = v3.bottom;
if (this.hScroller != undefined) {
v2.bottom += this.hScroller.minHeight;
}
return v2;
};
v2.doLayout = function (Void) {
var v10 = this.__get__width();
var v8 = this.__get__height();
delete this.invLayout;
this.__viewMetrics = this.getViewMetrics();
var v3 = this.__viewMetrics;
var v2 = v3.left;
var v9 = v3.right;
var v5 = v3.top;
var v11 = v3.bottom;
var v7 = this.hScroller;
var v6 = this.vScroller;
v7.setSize(v10 - v2 - v9, v7.minHeight + 0);
v7.move(v2, v8 - v11);
v6.setSize(v6.minWidth + 0, v8 - v5 - v11);
v6.move(v10 - v9, v5);
var v4 = this.mask_mc;
v4._width = v10 - v2 - v9;
v4._height = v8 - v5 - v11;
v4._x = v2;
v4._y = v5;
};
v2.createChild = function (id, name, props) {
var v2 = super.createChild(id, name, props);
return v2;
};
v2.init = function (Void) {
super.init();
this.__viewMetrics = new Object();
if (_global.__SVMouseWheelManager == undefined) {
_global.__SVMouseWheelManager = new Object();
var v4 = _global.__SVMouseWheelManager;
v4.onMouseWheel = this.__onMouseWheel;
Mouse.addListener(v4);
}
};
v2.__onMouseWheel = function (delta, scrollTarget) {
var v4 = scrollTarget;
var v1;
while (v4 != undefined) {
if (v4 instanceof mx.core.ScrollView) {
v1 = v4;
false;
}
v4 = v4._parent;
}
if (v1 != undefined) {
v4 = delta <= 0 ? 1 : -1;
var v2 = v1.vScroller.lineScrollSize;
if (v2 == undefined) {
v2 = 0;
}
v2 = Math.max(Math.abs(delta), v2);
var v3 = v1.vPosition + v2 * v4;
v1.vPosition = Math.max(0, Math.min(v3, v1.maxVPosition));
v1.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': v1.vPosition});
}
};
v2.createChildren = function (Void) {
super.createChildren();
if (this.mask_mc == undefined) {
this.mask_mc = this.createObject('BoundingBox', 'mask_mc', this.MASK_DEPTH);
}
this.mask_mc._visible = false;
};
v2.invalidate = function (Void) {
super.invalidate();
};
v2.draw = function (Void) {
this.size();
};
v2.size = function (Void) {
super.size();
};
v2.scrollProxy = function (docObj) {
this._parent.onScroll(docObj);
};
v2.onScroll = function (docObj) {
var v3 = docObj.target;
var v2 = v3.scrollPosition;
if (v3 == this.vScroller) {
var v4 = 'vertical';
var v5 = '__vPosition';
} else {
var v4 = 'horizontal';
var v5 = '__hPosition';
}
this[v5] = v2;
this.dispatchEvent({'type': 'scroll', 'direction': v4, 'position': v2});
};
v2.setEnabled = function (v) {
this.hScroller.enabled = v;
this.vScroller.enabled = this.hScroller.enabled;
};
v2.childLoaded = function (obj) {
super.childLoaded(obj);
obj.setMask(this.mask_mc);
};
v1.symbolName = 'ScrollView';
v1.symbolOwner = mx.core.ScrollView;
v1.version = '2.0.2.127';
v2.className = 'ScrollView';
v2.__vScrollPolicy = 'auto';
v2.__hScrollPolicy = 'off';
v2.__vPosition = 0;
v2.__hPosition = 0;
v2.numberOfCols = 0;
v2.rowC = 0;
v2.columnWidth = 1;
v2.rowH = 0;
v2.heightPadding = 0;
v2.widthPadding = 0;
v2.MASK_DEPTH = 10000;
v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition);
v2.addProperty('hScrollPolicy', v2.__get__hScrollPolicy, v2.__set__hScrollPolicy);
v2.addProperty('maxHPosition', v2.__get__maxHPosition, v2.__set__maxHPosition);
v2.addProperty('maxVPosition', v2.__get__maxVPosition, function () {});
v2.addProperty('vPosition', v2.__get__vPosition, v2.__set__vPosition);
v2.addProperty('vScrollPolicy', v2.__get__vScrollPolicy, v2.__set__vScrollPolicy);
ASSetPropFlags(mx.core.ScrollView.prototype, null, 1);
}
#endinitclip
}
movieClip 650 __Packages.mx.controls.listclasses.DataSelector {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.listclasses) {
_global.mx.controls.listclasses = new Object();
}
if (!_global.mx.controls.listclasses.DataSelector) {
var v1 = function () {
super();
};
mx.controls.listclasses.DataSelector = v1;
var v2 = new Object();
mx.controls.listclasses.DataSelector.prototype = v2;
v1.Initialize = function (obj) {
var v3 = mx.controls.listclasses.DataSelector.mixinProps;
var v4 = v3.length;
obj = obj.prototype;
var v1 = 0;
while (v1 < v4) {
obj[v3[v1]] = mx.controls.listclasses.DataSelector.mixins[v3[v1]];
++v1;
}
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'dataProvider', true);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'length', false);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'value', false);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedIndex', true);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedIndices', true);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedItems', false);
mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedItem', true);
return true;
};
v2.createProp = function (obj, propName, setter) {
var p = (propName.charAt(0)).toUpperCase() + propName.substr(1);
var v2 = null;
var v4 = function (Void) {
return this['get' + p]();
};
if (setter) {
v2 = function (val) {
this['set' + p](val);
};
}
obj.addProperty(propName, v4, v2);
};
v2.setDataProvider = function (dP) {
if (this.__vPosition != 0) {
this.setVPosition(0);
}
this.clearSelected();
this.__dataProvider.removeEventListener(this);
this.__dataProvider = dP;
dP.addEventListener('modelChanged', this);
dP.addView(this);
this.modelChanged({'eventName': 'updateAll'});
};
v2.getDataProvider = function (Void) {
return this.__dataProvider;
};
v2.addItemAt = function (index, label, data) {
if (index < 0 || !this.enabled) {
return undefined;
}
var v2 = this.__dataProvider;
if (v2 == undefined) {
this.__dataProvider = new Array();
v2 = this.__dataProvider;
v2.addEventListener('modelChanged', this);
index = 0;
}
if (typeof label == 'object' || typeof v2.getItemAt(0) == 'string') {
v2.addItemAt(index, label);
} else {
v2.addItemAt(index, {'label': label, 'data': data});
}
};
v2.addItem = function (label, data) {
this.addItemAt(this.__dataProvider.length, label, data);
};
v2.removeItemAt = function (index) {
return this.__dataProvider.removeItemAt(index);
};
v2.removeAll = function (Void) {
this.__dataProvider.removeAll();
};
v2.replaceItemAt = function (index, newLabel, newData) {
if (typeof newLabel == 'object') {
this.__dataProvider.replaceItemAt(index, newLabel);
} else {
this.__dataProvider.replaceItemAt(index, {'label': newLabel, 'data': newData});
}
};
v2.sortItemsBy = function (fieldName, order) {
this.lastSelID = this.__dataProvider.getItemID(this.lastSelected);
this.__dataProvider.sortItemsBy(fieldName, order);
};
v2.sortItems = function (compareFunc, order) {
this.lastSelID = this.__dataProvider.getItemID(this.lastSelected);
this.__dataProvider.sortItems(compareFunc, order);
};
v2.getLength = function (Void) {
return this.__dataProvider.length;
};
v2.getItemAt = function (index) {
return this.__dataProvider.getItemAt(index);
};
v2.modelChanged = function (eventObj) {
var v3 = eventObj.firstItem;
var v6 = eventObj.lastItem;
var v7 = eventObj.eventName;
if (v7 == undefined) {
v7 = eventObj.event;
v3 = eventObj.firstRow;
v6 = eventObj.lastRow;
if (v7 == 'addRows') {
eventObj.eventName = 'addItems';
v7 = 'addItems';
} else {
if (v7 == 'deleteRows') {
eventObj.eventName = 'removeItems';
v7 = 'removeItems';
} else {
if (v7 == 'updateRows') {
eventObj.eventName = 'updateItems';
v7 = 'updateItems';
}
}
}
}
if (v7 == 'addItems') {
for (var v2 in this.selected) {
var v5 = this.selected[v2];
if (v5 != undefined && v5 >= v3) {
this.selected[v2] += v6 - v3 + 1;
}
}
} else {
if (v7 == 'removeItems') {
if (this.__dataProvider.length == 0) {
delete this.selected;
} else {
var v9 = eventObj.removedIDs;
var v10 = v9.length;
var v2 = 0;
while (v2 < v10) {
var v4 = v9[v2];
if (this.selected[v4] != undefined) {
delete this.selected[v4];
}
++v2;
}
for (v2 in this.selected) {
if (this.selected[v2] >= v3) {
this.selected[v2] -= v6 - v3 + 1;
}
}
}
} else {
if (v7 == 'sort') {
if (typeof this.__dataProvider.getItemAt(0) != 'object') {
delete this.selected;
} else {
var v10 = this.__dataProvider.length;
var v2 = 0;
while (v2 < v10) {
if (this.isSelected(v2)) {
var v4 = this.__dataProvider.getItemID(v2);
if (v4 == this.lastSelID) {
this.lastSelected = v2;
}
this.selected[v4] = v2;
}
++v2;
}
}
} else {
if (v7 == 'filterModel') {
this.setVPosition(0);
}
}
}
}
this.invUpdateControl = true;
this.invalidate();
};
v2.getValue = function (Void) {
var v2 = this.getSelectedItem();
if (typeof v2 != 'object') {
return v2;
}
return (v2.data == undefined) ? v2.label : v2.data;
};
v2.getSelectedIndex = function (Void) {
for (var v3 in this.selected) {
var v2 = this.selected[v3];
if (v2 != undefined) {
return v2;
}
}
};
v2.setSelectedIndex = function (index) {
if (index >= 0 && index < this.__dataProvider.length && this.enabled) {
delete this.selected;
this.selectItem(index, true);
this.lastSelected = index;
this.invUpdateControl = true;
this.invalidate();
} else {
if (index == undefined) {
this.clearSelected();
}
}
};
v2.getSelectedIndices = function (Void) {
var v2 = new Array();
for (var v3 in this.selected) {
v2.push(this.selected[v3]);
}
v2.reverse();
return v2.length > 0 ? v2 : undefined;
};
v2.setSelectedIndices = function (indexArray) {
if (this.multipleSelection != true) {
return undefined;
}
delete this.selected;
var v3 = 0;
while (v3 < indexArray.length) {
var v2 = indexArray[v3];
if (v2 >= 0 && v2 < this.__dataProvider.length) {
this.selectItem(v2, true);
}
++v3;
}
this.invUpdateControl = true;
this.updateControl();
};
v2.getSelectedItems = function (Void) {
var v3 = this.getSelectedIndices();
var v4 = new Array();
var v2 = 0;
while (v2 < v3.length) {
v4.push(this.getItemAt(v3[v2]));
++v2;
}
return v4.length > 0 ? v4 : undefined;
};
v2.getSelectedItem = function (Void) {
return this.__dataProvider.getItemAt(this.getSelectedIndex());
};
v2.selectItem = function (index, selectedFlag) {
if (this.selected == undefined) {
this.selected = new Object();
}
var v2 = this.__dataProvider.getItemID(index);
if (v2 == undefined) {
return undefined;
}
if (selectedFlag && !this.isSelected(index)) {
this.selected[v2] = index;
} else {
if (!selectedFlag) {
delete this.selected[v2];
}
}
};
v2.isSelected = function (index) {
var v2 = this.__dataProvider.getItemID(index);
if (v2 == undefined) {
return false;
}
return this.selected[v2] != undefined;
};
v2.clearSelected = function (transition) {
var v3 = 0;
for (var v4 in this.selected) {
var v2 = this.selected[v4];
if (v2 != undefined && this.__vPosition <= v2 && v2 < this.__vPosition + this.__rowCount) {
this.rows[v2 - this.__vPosition].drawRow(this.rows[v2 - this.__vPosition].item, 'normal', transition && v3 % 3 == 0);
}
++v3;
}
delete this.selected;
};
v1.mixins = new mx.controls.listclasses.DataSelector();
v1.mixinProps = ['setDataProvider', 'getDataProvider', 'addItem', 'addItemAt', 'removeAll', 'removeItemAt', 'replaceItemAt', 'sortItemsBy', 'sortItems', 'getLength', 'getItemAt', 'modelChanged', 'calcPreferredWidthFromData', 'calcPreferredHeightFromData', 'getValue', 'getSelectedIndex', 'getSelectedItem', 'getSelectedIndices', 'getSelectedItems', 'selectItem', 'isSelected', 'clearSelected', 'setSelectedIndex', 'setSelectedIndices'];
ASSetPropFlags(mx.controls.listclasses.DataSelector.prototype, null, 1);
}
#endinitclip
}
movieClip 651 __Packages.mx.controls.listclasses.DataProvider {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.listclasses) {
_global.mx.controls.listclasses = new Object();
}
if (!_global.mx.controls.listclasses.DataProvider) {
var v1 = function (obj) {
super();
};
mx.controls.listclasses.DataProvider = v1;
var v2 = new Object();
mx.controls.listclasses.DataProvider.prototype = v2;
v1.Initialize = function (obj) {
var v4 = mx.controls.listclasses.DataProvider.mixinProps;
var v6 = v4.length;
obj = obj.prototype;
var v3 = 0;
while (v3 < v6) {
obj[v4[v3]] = mx.controls.listclasses.DataProvider.mixins[v4[v3]];
_global.ASSetPropFlags(obj, v4[v3], 1);
++v3;
}
mx.events.EventDispatcher.initialize(obj);
_global.ASSetPropFlags(obj, 'addEventListener', 1);
_global.ASSetPropFlags(obj, 'removeEventListener', 1);
_global.ASSetPropFlags(obj, 'dispatchEvent', 1);
_global.ASSetPropFlags(obj, 'dispatchQueue', 1);
Object.prototype.LargestID = 0;
Object.prototype.getID = function () {
if (this.__ID__ == undefined) {
this.__ID__ = Object.prototype.LargestID++;
_global.ASSetPropFlags(this, '__ID__', 1);
}
return this.__ID__;
};
_global.ASSetPropFlags(Object.prototype, 'LargestID', 1);
_global.ASSetPropFlags(Object.prototype, 'getID', 1);
return true;
};
v2.addItemAt = function (index, value) {
if (index < this.length) {
this.splice(index, 0, value);
} else {
if (index > this.length) {
trace('Cannot add an item past the end of the DataProvider');
return undefined;
}
}
this[index] = value;
this.updateViews('addItems', index, index);
};
v2.addItem = function (value) {
this.addItemAt(this.length, value);
};
v2.addItemsAt = function (index, newItems) {
index = Math.min(this.length, index);
newItems.unshift(index, 0);
this.splice.apply(this, newItems);
newItems.splice(0, 2);
this.updateViews('addItems', index, index + newItems.length - 1);
};
v2.removeItemsAt = function (index, len) {
var v3 = new Array();
var v2 = 0;
while (v2 < len) {
v3.push(this.getItemID(index + v2));
++v2;
}
var v6 = this.splice(index, len);
this.dispatchEvent({'type': 'modelChanged', 'eventName': 'removeItems', 'firstItem': index, 'lastItem': index + len - 1, 'removedItems': v6, 'removedIDs': v3});
};
v2.removeItemAt = function (index) {
var v2 = this[index];
this.removeItemsAt(index, 1);
return v2;
};
v2.removeAll = function (Void) {
this.splice(0);
this.updateViews('removeItems', 0, this.length - 1);
};
v2.replaceItemAt = function (index, itemObj) {
if (index < 0 || index >= this.length) {
return undefined;
}
var v3 = this.getItemID(index);
this[index] = itemObj;
this[index].__ID__ = v3;
this.updateViews('updateItems', index, index);
};
v2.getItemAt = function (index) {
return this[index];
};
v2.getItemID = function (index) {
var v2 = this[index];
if (typeof v2 != 'object' && v2 != undefined) {
return index;
} else {
return v2.getID();
}
};
v2.sortItemsBy = function (fieldName, order) {
if (typeof order == 'string') {
this.sortOn(fieldName);
if (order.toUpperCase() == 'DESC') {
this.reverse();
}
} else {
this.sortOn(fieldName, order);
}
this.updateViews('sort');
};
v2.sortItems = function (compareFunc, optionFlags) {
this.sort(compareFunc, optionFlags);
this.updateViews('sort');
};
v2.editField = function (index, fieldName, newData) {
this[index][fieldName] = newData;
this.dispatchEvent({'type': 'modelChanged', 'eventName': 'updateField', 'firstItem': index, 'lastItem': index, 'fieldName': fieldName});
};
v2.getEditingData = function (index, fieldName) {
return this[index][fieldName];
};
v2.updateViews = function (event, first, last) {
this.dispatchEvent({'type': 'modelChanged', 'eventName': event, 'firstItem': first, 'lastItem': last});
};
v1.mixinProps = ['addView', 'addItem', 'addItemAt', 'removeAll', 'removeItemAt', 'replaceItemAt', 'getItemAt', 'getItemID', 'sortItemsBy', 'sortItems', 'updateViews', 'addItemsAt', 'removeItemsAt', 'getEditingData', 'editField'];
v1.evtDipatcher = mx.events.EventDispatcher;
v1.mixins = new mx.controls.listclasses.DataProvider();
ASSetPropFlags(mx.controls.listclasses.DataProvider.prototype, null, 1);
}
#endinitclip
}
movieClip 652 __Packages.mx.controls.listclasses.ScrollSelectList {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.listclasses) {
_global.mx.controls.listclasses = new Object();
}
if (!_global.mx.controls.listclasses.ScrollSelectList) {
var v1 = function () {
super();
};
mx.controls.listclasses.ScrollSelectList = v1;
var v2 = new mx.core.ScrollView();
mx.controls.listclasses.ScrollSelectList.prototype = v2;
v2.layoutContent = function (x, y, w, h) {
delete this.invLayoutContent;
var v4 = Math.ceil(h / this.__rowHeight);
this.roundUp = h % this.__rowHeight != 0;
var v12 = v4 - this.__rowCount;
if (v12 < 0) {
var v3 = v4;
while (v3 < this.__rowCount) {
this.rows[v3].removeMovieClip();
delete this.rows[v3];
++v3;
}
this.topRowZ += v12;
} else {
if (v12 > 0) {
if (this.rows == undefined) {
this.rows = new Array();
}
var v3 = this.__rowCount;
while (v3 < v4) {
this.rows[v3] = this.listContent.createObject(this.__rowRenderer, 'listRow' + this.topRowZ++, this.topRowZ, {'owner': this, 'styleName': this, 'rowIndex': v3});
var v2 = this.rows[v3];
v2._x = x;
v2._y = Math.round(v3 * this.__rowHeight + y);
v2.setSize(w, this.__rowHeight);
v2.drawRow(this.__dataProvider.getItemAt(this.__vPosition + v3), this.getStateAt(this.__vPosition + v3));
v2.lastY = v2._y;
++v3;
}
}
}
if (w != this.tW) {
var v11 = v12 > 0 ? this.__rowCount : v4;
v3 = 0;
while (v3 < v11) {
this.rows[v3].setSize(w, this.__rowHeight);
++v3;
}
}
if (this.layoutX != x || this.layoutY != y) {
v3 = 0;
while (v3 < v4) {
this.rows[v3]._x = x;
this.rows[v3]._y = Math.round(v3 * this.__rowHeight + y);
++v3;
}
}
this.__rowCount = v4;
this.layoutX = x;
this.layoutY = y;
this.tW = w;
this.tH = h;
};
v2.getRowHeight = function (Void) {
return this.__rowHeight;
};
v2.setRowHeight = function (v) {
this.__rowHeight = v;
this.invRowHeight = true;
this.invalidate();
};
v2.__get__rowHeight = function () {
return this.getRowHeight();
};
v2.__set__rowHeight = function (w) {
this.setRowHeight(w);
return this.__get__rowHeight();
};
v2.setRowCount = function (v) {
this.__rowCount = v;
};
v2.getRowCount = function (Void) {
if (this.__rowCount != 0) {
var v2 = this.__rowCount;
return v2;
}
var v2 = Math.ceil(this.__height / this.__rowHeight);
return v2;
};
v2.__get__rowCount = function () {
return this.getRowCount();
};
v2.__set__rowCount = function (w) {
this.setRowCount(w);
return this.__get__rowCount();
};
v2.setEnabled = function (v) {
super.setEnabled(v);
this.invUpdateControl = true;
this.invalidate();
};
v2.setCellRenderer = function (cR) {
this.__cellRenderer = cR;
var v2 = 0;
while (v2 < this.rows.length) {
this.rows[v2].setCellRenderer(true);
++v2;
}
this.invUpdateControl = true;
this.invalidate();
};
v2.__set__cellRenderer = function (cR) {
this.setCellRenderer(cR);
return this.__get__cellRenderer();
};
v2.__get__cellRenderer = function () {
return this.__cellRenderer;
};
v2.__set__labelField = function (field) {
this.setLabelField(field);
return this.__get__labelField();
};
v2.setLabelField = function (field) {
this.__labelField = field;
this.invUpdateControl = true;
this.invalidate();
};
v2.__get__labelField = function () {
return this.__labelField;
};
v2.__set__labelFunction = function (func) {
this.setLabelFunction(func);
return this.__get__labelFunction();
};
v2.setLabelFunction = function (func) {
this.__labelFunction = func;
this.invUpdateControl = true;
this.invalidate();
};
v2.__get__labelFunction = function () {
return this.__labelFunction;
};
v2.__set__iconField = function (field) {
this.setIconField(field);
return this.__get__iconField();
};
v2.setIconField = function (field) {
this.__iconField = field;
this.invUpdateControl = true;
this.invalidate();
};
v2.__get__iconField = function () {
return this.__iconField;
};
v2.__set__iconFunction = function (func) {
this.setIconFunction(func);
return this.__get__iconFunction();
};
v2.setIconFunction = function (func) {
this.__iconFunction = func;
this.invUpdateControl = true;
this.invalidate();
};
v2.__get__iconFunction = function () {
return this.__iconFunction;
};
v2.setVPosition = function (pos) {
if (pos < 0) {
return undefined;
}
if (pos > 0 && pos > this.getLength() - this.__rowCount + this.roundUp) {
return undefined;
}
var v8 = pos - this.__vPosition;
if (v8 == 0) {
return undefined;
}
this.__vPosition = pos;
var v10 = v8 > 0;
v8 = Math.abs(v8);
if (v8 >= this.__rowCount) {
this.updateControl();
} else {
var v4 = new Array();
var v9 = this.__rowCount - v8;
var v12 = v8 * this.__rowHeight;
var v11 = v9 * this.__rowHeight;
var v6 = v10 ? 1 : -1;
var v3 = 0;
while (v3 < this.__rowCount) {
if (v3 < v8 && v10 || v3 >= v9 && !v10) {
this.rows[v3]._y += Math.round(v6 * v11);
var v5 = v3 + v6 * v9;
var v7 = this.__vPosition + v5;
v4[v5] = this.rows[v3];
v4[v5].rowIndex = v5;
v4[v5].drawRow(this.__dataProvider.getItemAt(v7), this.getStateAt(v7), false);
} else {
this.rows[v3]._y -= Math.round(v6 * v12);
var v5 = v3 - v6 * v8;
v4[v5] = this.rows[v3];
v4[v5].rowIndex = v5;
}
++v3;
}
this.rows = v4;
v3 = 0;
while (v3 < this.__rowCount) {
this.rows[v3].swapDepths(this.baseRowZ + v3);
++v3;
}
}
this.lastPosition = pos;
super.setVPosition(pos);
};
v2.setPropertiesAt = function (index, obj) {
var v2 = this.__dataProvider.getItemID(index);
if (v2 == undefined) {
return undefined;
}
if (this.propertyTable == undefined) {
this.propertyTable = new Object();
}
this.propertyTable[v2] = obj;
this.rows[index - this.__vPosition].drawRow(this.__dataProvider.getItemAt(index), this.getStateAt(index));
};
v2.getPropertiesAt = function (index) {
var v2 = this.__dataProvider.getItemID(index);
if (v2 == undefined) {
return undefined;
}
return this.propertyTable[v2];
};
v2.getPropertiesOf = function (obj) {
var v2 = obj.getID();
if (v2 == undefined) {
return undefined;
}
return this.propertyTable[v2];
};
v2.getStyle = function (styleProp) {
var v2 = super.getStyle(styleProp);
var v3 = mx.styles.StyleManager.colorNames[v2];
if (v3 != undefined) {
v2 = v3;
}
return v2;
};
v2.updateControl = function (Void) {
var v2 = 0;
while (v2 < this.__rowCount) {
this.rows[v2].drawRow(this.__dataProvider.getItemAt(v2 + this.__vPosition), this.getStateAt(v2 + this.__vPosition));
++v2;
}
delete this.invUpdateControl;
};
v2.getStateAt = function (index) {
return this.isSelected(index) ? 'selected' : 'normal';
};
v2.selectRow = function (rowIndex, transition, allowChangeEvent) {
if (!this.selectable) {
return undefined;
}
var v3 = this.__vPosition + rowIndex;
var v8 = this.__dataProvider.getItemAt(v3);
var v5 = this.rows[rowIndex];
if (v8 == undefined) {
return undefined;
}
if (transition == undefined) {
transition = true;
}
if (allowChangeEvent == undefined) {
allowChangeEvent = this.wasKeySelected;
}
this.changeFlag = true;
if (!this.multipleSelection && !Key.isDown(17) || !Key.isDown(16) && !Key.isDown(17)) {
this.clearSelected(transition);
this.selectItem(v3, true);
this.lastSelected = v3;
v5.drawRow(v5.item, this.getStateAt(v3), transition);
} else {
if (Key.isDown(16) && this.multipleSelection) {
if (this.lastSelected == undefined) {
this.lastSelected = v3;
}
var v4 = this.lastSelected < v3 ? 1 : -1;
this.clearSelected(false);
var v2 = this.lastSelected;
while (v2 != v3) {
this.selectItem(v2, true);
if (v2 >= this.__vPosition && v2 < this.__vPosition + this.__rowCount) {
this.rows[v2 - this.__vPosition].drawRow(this.rows[v2 - this.__vPosition].item, 'selected', false);
}
v2 += v4;
}
this.selectItem(v3, true);
v5.drawRow(v5.item, 'selected', transition);
} else {
if (Key.isDown(17)) {
var v7 = this.isSelected(v3);
if (!this.multipleSelection || this.wasKeySelected) {
this.clearSelected(transition);
}
if (!(!this.multipleSelection && v7)) {
this.selectItem(v3, !v7);
var v9 = !v7 ? 'selected' : 'normal';
v5.drawRow(v5.item, v9, transition);
}
this.lastSelected = v3;
}
}
}
if (allowChangeEvent) {
this.dispatchEvent({'type': 'change'});
}
delete this.wasKeySelected;
};
v2.dragScroll = function (Void) {
clearInterval(this.dragScrolling);
if (this._ymouse < 0) {
this.setVPosition(this.__vPosition - 1);
this.selectRow(0, false);
var v2 = Math.min(-this._ymouse - 30, 0);
this.scrollInterval = 0.593 * v2 * v2 + 1 + this.minScrollInterval;
this.dragScrolling = setInterval(this, 'dragScroll', this.scrollInterval);
this.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': this.__vPosition});
} else {
if (this._ymouse > this.__height) {
var v3 = this.__vPosition;
this.setVPosition(this.__vPosition + 1);
if (v3 != this.__vPosition) {
this.selectRow(this.__rowCount - 1 - this.roundUp, false);
}
var v2 = Math.min(this._ymouse - this.__height - 30, 0);
this.scrollInterval = 0.593 * v2 * v2 + 1 + this.minScrollInterval;
this.dragScrolling = setInterval(this, 'dragScroll', this.scrollInterval);
this.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': this.__vPosition});
} else {
this.dragScrolling = setInterval(this, 'dragScroll', 15);
}
}
updateAfterEvent();
};
v2.__onMouseUp = function (Void) {
clearInterval(this.dragScrolling);
delete this.dragScrolling;
delete this.dragScrolling;
delete this.isPressed;
delete this.onMouseUp;
if (!this.selectable) {
return undefined;
}
if (this.changeFlag) {
this.dispatchEvent({'type': 'change'});
}
delete this.changeFlag;
};
v2.moveSelBy = function (incr) {
if (!this.selectable) {
this.setVPosition(this.__vPosition + incr);
return undefined;
}
var v3 = this.getSelectedIndex();
if (v3 == undefined) {
v3 = -1;
}
var v2 = v3 + incr;
v2 = Math.max(0, v2);
v2 = Math.min(this.getLength() - 1, v2);
if (v2 == v3) {
return undefined;
}
if (v3 < this.__vPosition || v3 >= this.__vPosition + this.__rowCount) {
this.setVPosition(v3);
}
if (v2 >= this.__vPosition + this.__rowCount - this.roundUp || v2 < this.__vPosition) {
this.setVPosition(this.__vPosition + incr);
}
this.wasKeySelected = true;
this.selectRow(v2 - this.__vPosition, false);
};
v2.keyDown = function (e) {
if (this.selectable) {
if (this.findInputText()) {
return undefined;
}
}
if (e.code == 40) {
this.moveSelBy(1);
} else {
if (e.code == 38) {
this.moveSelBy(-1);
} else {
if (e.code == 34) {
if (this.selectable) {
var v3 = this.getSelectedIndex();
if (v3 == undefined) {
v3 = 0;
}
this.setVPosition(v3);
}
this.moveSelBy(this.__rowCount - 1 - this.roundUp);
} else {
if (e.code == 33) {
if (this.selectable) {
var v3 = this.getSelectedIndex();
if (v3 == undefined) {
v3 = 0;
}
this.setVPosition(v3);
}
this.moveSelBy(1 - this.__rowCount + this.roundUp);
} else {
if (e.code == 36) {
this.moveSelBy(-this.__dataProvider.length);
} else {
if (e.code == 35) {
this.moveSelBy(this.__dataProvider.length);
}
}
}
}
}
}
};
v2.findInputText = function (Void) {
var v2 = Key.getAscii();
if (v2 >= 33 && v2 <= 126) {
this.findString(String.fromCharCode(v2));
return true;
}
};
v2.findString = function (str) {
if (this.__dataProvider.length == 0) {
return undefined;
}
var v4 = this.getSelectedIndex();
if (v4 == undefined) {
v4 = 0;
}
var v6 = 0;
var v3 = v4 + 1;
while (v3 != v4) {
var v2 = this.__dataProvider.getItemAt(v3);
if (v2 instanceof XMLNode) {
v2 = v2.attributes[this.__labelField];
} else {
if (typeof v2 != 'string') {
v2 = String(v2[this.__labelField]);
}
}
v2 = v2.substring(0, str.length);
if (str == v2 || str.toUpperCase() == v2.toUpperCase()) {
v6 = v3 - v4;
break;
}
if (v3 >= this.getLength() - 1) {
v3 = -1;
}
++v3;
}
if (v6 != 0) {
this.moveSelBy(v6);
}
};
v2.onRowPress = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
this.isPressed = true;
this.dragScrolling = setInterval(this, 'dragScroll', 15);
this.onMouseUp = this.__onMouseUp;
if (!this.selectable) {
return undefined;
}
this.selectRow(rowIndex);
};
v2.onRowRelease = function (rowIndex) {};
v2.onRowRollOver = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
var v2 = this.rows[rowIndex].item;
if (this.getStyle('useRollOver') && v2 != undefined) {
this.rows[rowIndex].drawRow(v2, 'highlighted', false);
}
this.dispatchEvent({'type': 'itemRollOver', 'index': rowIndex + this.__vPosition});
};
v2.onRowRollOut = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
if (this.getStyle('useRollOver')) {
this.rows[rowIndex].drawRow(this.rows[rowIndex].item, this.getStateAt(rowIndex + this.__vPosition), false);
}
this.dispatchEvent({'type': 'itemRollOut', 'index': rowIndex + this.__vPosition});
};
v2.onRowDragOver = function (rowIndex) {
if (!this.enabled || this.isPressed != true || !this.selectable) {
return undefined;
}
if (this.dropEnabled) {
} else {
if (this.dragScrolling) {
this.selectRow(rowIndex, false);
} else {
this.onMouseUp = this.__onMouseUp;
this.onRowPress(rowIndex);
}
}
};
v2.onRowDragOut = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
if (this.dragEnabled) {
} else {
this.onRowRollOut(rowIndex);
}
};
v2.init = function (Void) {
super.init();
this.tabEnabled = true;
this.tabChildren = false;
if (this.__dataProvider == undefined) {
this.__dataProvider = new Array();
this.__dataProvider.addEventListener('modelChanged', this);
}
this.topRowZ = 10;
this.baseRowZ = 10;
};
v2.createChildren = function (Void) {
super.createChildren();
this.listContent = this.createEmptyMovieClip('content_mc', this.CONTENTDEPTH);
this.invLayoutContent = true;
this.invalidate();
};
v2.draw = function (Void) {
if (this.invRowHeight) {
delete this.invRowHeight;
this.__rowCount = 0;
this.listContent.removeMovieClip();
this.listContent = this.createEmptyMovieClip('content_mc', this.CONTENTDEPTH);
}
if (this.invUpdateControl) {
this.updateControl();
}
this.border_mc.draw();
};
v2.invalidateStyle = function (propName) {
if (this.isRowStyle[propName]) {
this.invUpdateControl = true;
this.invalidate();
} else {
var v3 = 0;
while (v3 < this.__rowCount) {
this.rows[v3].invalidateStyle(propName);
++v3;
}
}
super.invalidateStyle(propName);
};
v1.mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.listclasses.ScrollSelectList);
v1.mixIt2 = mx.controls.listclasses.DataProvider.Initialize(Array);
v2.CONTENTDEPTH = 100;
v2.__hPosition = 0;
v2.__rowRenderer = 'SelectableRow';
v2.__rowHeight = 22;
v2.__rowCount = 0;
v2.__labelField = 'label';
v2.minScrollInterval = 30;
v2.dropEnabled = false;
v2.dragEnabled = false;
v2.className = 'ScrollSelectList';
v2.isRowStyle = {'styleName': true, 'backgroundColor': true, 'selectionColor': true, 'rollOverColor': true, 'selectionDisabledColor': true, 'backgroundDisabledColor': true, 'textColor': true, 'textSelectedColor': true, 'textRollOverColor': true, 'textDisabledColor': true, 'alternatingRowColors': true, 'defaultIcon': true};
v2.roundUp = 0;
v2.selectable = true;
v2.multipleSelection = false;
v2.addProperty('cellRenderer', v2.__get__cellRenderer, v2.__set__cellRenderer);
v2.addProperty('iconField', v2.__get__iconField, v2.__set__iconField);
v2.addProperty('iconFunction', v2.__get__iconFunction, v2.__set__iconFunction);
v2.addProperty('labelField', v2.__get__labelField, v2.__set__labelField);
v2.addProperty('labelFunction', v2.__get__labelFunction, v2.__set__labelFunction);
v2.addProperty('rowCount', v2.__get__rowCount, v2.__set__rowCount);
v2.addProperty('rowHeight', v2.__get__rowHeight, v2.__set__rowHeight);
ASSetPropFlags(mx.controls.listclasses.ScrollSelectList.prototype, null, 1);
}
#endinitclip
}
movieClip 653 __Packages.mx.controls.List {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.List) {
var v1 = function () {
super();
};
mx.controls.List = v1;
var v2 = new mx.controls.listclasses.ScrollSelectList();
mx.controls.List.prototype = v2;
v2.setEnabled = function (v) {
super.setEnabled(v);
this.border_mc.backgroundColorName = v ? 'backgroundColor' : 'backgroundDisabledColor';
this.border_mc.invalidate();
};
v2.__get__labels = function () {
return this.__labels;
};
v2.__set__labels = function (lbls) {
this.__labels = lbls;
this.setDataProvider(lbls);
return this.__get__labels();
};
v2.setVPosition = function (pos) {
pos = Math.min(this.__dataProvider.length - this.__get__rowCount() + this.roundUp, pos);
pos = Math.max(0, pos);
super.setVPosition(pos);
};
v2.setHPosition = function (pos) {
pos = Math.max(Math.min(this.__maxHPosition, pos), 0);
super.setHPosition(pos);
this.hScroll(pos);
};
v2.setMaxHPosition = function (pos) {
this.__maxHPosition = pos;
this.invScrollProps = true;
this.invalidate();
};
v2.setHScrollPolicy = function (policy) {
if (policy.toLowerCase() == 'auto' && !this.autoHScrollAble) {
return undefined;
}
super.setHScrollPolicy(policy);
if (policy == 'off') {
this.setHPosition(0);
this.setVPosition(Math.min(this.__dataProvider.length - this.__get__rowCount() + this.roundUp, this.__vPosition));
}
};
v2.setRowCount = function (rC) {
if (isNaN(rC)) {
return undefined;
}
var v2 = this.getViewMetrics();
this.setSize(this.__width, this.__rowHeight * rC + v2.top + v2.bottom);
};
v2.layoutContent = function (x, y, tW, tH, dW, dH) {
this.totalWidth = tW;
this.totalHeight = tH;
this.displayWidth = dW;
var v4 = (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == 'auto') ? Math.max(tW, dW) : dW;
super.layoutContent(x, y, v4, dH);
};
v2.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
var v3 = eventObj.eventName;
if (v3 == 'addItems' || v3 == 'removeItems' || v3 == 'updateAll' || v3 == 'filterModel') {
this.invScrollProps = true;
this.invalidate('invScrollProps');
}
};
v2.onScroll = function (eventObj) {
var v3 = eventObj.target;
if (v3 == this.vScroller) {
this.setVPosition(v3.scrollPosition);
} else {
this.hScroll(v3.scrollPosition);
}
super.onScroll(eventObj);
};
v2.hScroll = function (pos) {
this.__hPosition = pos;
this.listContent._x = -pos;
};
v2.init = function (Void) {
super.init();
if ((this.__get__labels()).length > 0) {
var v6 = new Array();
var v3 = 0;
while (v3 < (this.__get__labels()).length) {
v6.addItem({'label': (this.__get__labels())[v3], 'data': this.data[v3]});
++v3;
}
this.setDataProvider(v6);
}
this.__maxHPosition = 0;
};
v2.createChildren = function (Void) {
super.createChildren();
this.listContent.setMask(this.mask_mc);
this.border_mc.move(0, 0);
this.border_mc.setSize(this.__width, this.__height);
};
v2.getRowCount = function (Void) {
var v2 = this.getViewMetrics();
return (this.__rowCount == 0) ? Math.ceil((this.__height - v2.top - v2.bottom) / this.__rowHeight) : this.__rowCount;
};
v2.size = function (Void) {
super.size();
this.configureScrolling();
var v3 = this.getViewMetrics();
this.layoutContent(v3.left, v3.top, this.__width + this.__maxHPosition, this.totalHeight, this.__width - v3.left - v3.right, this.__height - v3.top - v3.bottom);
};
v2.draw = function (Void) {
if (this.invRowHeight) {
this.invScrollProps = true;
super.draw();
this.listContent.setMask(this.mask_mc);
this.invLayoutContent = true;
}
if (this.invScrollProps) {
this.configureScrolling();
delete this.invScrollProps;
}
if (this.invLayoutContent) {
var v3 = this.getViewMetrics();
this.layoutContent(v3.left, v3.top, this.__width + this.__maxHPosition, this.totalHeight, this.__width - v3.left - v3.right, this.__height - v3.top - v3.bottom);
}
super.draw();
};
v2.configureScrolling = function (Void) {
var v2 = this.__dataProvider.length;
if (this.__vPosition > Math.max(0, v2 - this.getRowCount() + this.roundUp)) {
this.setVPosition(Math.max(0, Math.min(v2 - this.getRowCount() + this.roundUp, this.__vPosition)));
}
var v3 = this.getViewMetrics();
var v4 = (this.__hScrollPolicy != 'off') ? this.__maxHPosition + this.__width - v3.left - v3.right : this.__width - v3.left - v3.right;
if (v2 == undefined) {
v2 = 0;
}
this.setScrollProperties(v4, 1, v2, this.__rowHeight);
if (this.oldVWidth != v4) {
this.invLayoutContent = true;
}
this.oldVWidth = v4;
};
v1.symbolOwner = mx.controls.List;
v1.symbolName = 'List';
v2.className = 'List';
v1.version = '2.0.2.126';
v2.clipParameters = {'rowHeight': 1, 'enabled': 1, 'visible': 1, 'labels': 1};
v2.scrollDepth = 1;
v2.__vScrollPolicy = 'on';
v2.autoHScrollAble = false;
v2.addProperty('labels', v2.__get__labels, v2.__set__labels);
ASSetPropFlags(mx.controls.List.prototype, null, 1);
}
#endinitclip
}
movieClip 654 __Packages.mx.controls.treeclasses.TreeDataProvider {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.treeclasses) {
_global.mx.controls.treeclasses = new Object();
}
if (!_global.mx.controls.treeclasses.TreeDataProvider) {
var v1 = function () {
super();
};
mx.controls.treeclasses.TreeDataProvider = v1;
var v2 = new Object();
mx.controls.treeclasses.TreeDataProvider.prototype = v2;
v1.Initialize = function (obj) {
obj = obj.prototype;
if (obj.addTreeNode != undefined) {
return false;
}
var v4 = mx.controls.treeclasses.TreeDataProvider.mixinProps;
var v5 = v4.length;
var v2 = 0;
while (v2 < v5) {
obj[v4[v2]] = mx.controls.treeclasses.TreeDataProvider.mixins[v4[v2]];
_global.ASSetPropFlags(obj, v4[v2], 1);
++v2;
}
mx.events.EventDispatcher.initialize(obj);
_global.ASSetPropFlags(obj, 'addEventListener', 1);
_global.ASSetPropFlags(obj, 'removeEventListener', 1);
_global.ASSetPropFlags(obj, 'dispatchEvent', 1);
_global.ASSetPropFlags(obj, 'dispatchQueue', 1);
_global.ASSetPropFlags(obj, 'createEvent', 1);
return true;
};
v2.createProp = function (obj, propName, setter) {
var p = (propName.charAt(0)).toUpperCase() + propName.substr(1);
var v2 = null;
var v4 = function (Void) {
return this['get' + p]();
};
if (setter) {
v2 = function (val) {
this['set' + p](val);
};
}
obj.addProperty(propName, v4, v2);
};
v1.convertToNode = function (tag, arg, data) {
if (typeof arg == 'string') {
var v2 = mx.controls.treeclasses.TreeDataProvider.blankXML.createElement(tag);
v2.attributes.label = arg;
if (data != undefined) {
v2.attributes.data = data;
}
return v2;
} else {
if (arg instanceof XML) {
return arg.firstChild.cloneNode(true);
} else {
if (arg instanceof XMLNode) {
return arg;
} else {
if (typeof arg == 'object') {
var v2 = mx.controls.treeclasses.TreeDataProvider.blankXML.createElement(tag);
for (var v3 in arg) {
v2.attributes[v3] = arg[v3];
}
if (data != undefined) {
v2.attributes.data = data;
}
return v2;
}
}
}
}
};
v2.addTreeNode = function (arg, data) {
return this.addTreeNodeAt(this.childNodes.length, arg, data);
};
v2.addTreeNodeAt = function (index, arg, data) {
if (index > this.childNodes.length) {
return undefined;
}
var v2;
if (arg instanceof XMLNode) {
v2 = arg.removeTreeNode();
} else {
v2 = mx.controls.treeclasses.TreeDataProvider.convertToNode('node', arg, data);
}
if (index >= this.childNodes.length) {
this.appendChild(v2);
this.updateViews({'eventName': 'addNode', 'node': v2, 'parentNode': this, 'index': index});
return v2;
}
this.insertBefore(v2, this.childNodes[index]);
this.updateViews({'eventName': 'addNode', 'node': v2, 'parentNode': this, 'index': index});
return v2;
};
v2.getTreeNodeAt = function (index) {
return this.childNodes[index];
};
v2.removeTreeNodeAt = function (index) {
var v2 = this.childNodes[index];
v2.removeNode();
this.updateViews({'eventName': 'removeNode', 'node': v2, 'parentNode': this, 'index': index});
return v2;
};
v2.removeTreeNode = function () {
var v4 = this.parentNode;
var v6;
var v3 = 0;
var v2 = this.parentNode.firstChild;
while (v2 != undefined) {
if (v2 == this) {
v6 = v3;
break;
}
++v3;
v2 = v2.nextSibling;
}
if (v6 != undefined) {
var v8 = this.getRootNode();
this.removeNode();
v4.updateViews({'eventName': 'removeNode', 'node': this, 'parentNode': v4, 'index': v6});
}
return this;
};
v2.removeAll = function () {
while (this.childNodes.length > 0) {
this.removeTreeNodeAt(this.childNodes.length - 1);
}
var v3 = this.getRootNode();
this.updateViews({'eventName': 'updateTree'});
};
v2.getRootNode = function () {
var v2 = this;
for (;;) {
if (!(v2.parentNode != undefined && v2.isTreeRoot == undefined)) break;
v2 = v2.parentNode;
}
return v2;
};
v2.updateViews = function (eventObj) {
var v2 = this;
eventObj.target = this;
eventObj.type = 'modelChanged';
while (v2 != undefined) {
if (v2.isTreeRoot || v2.parentNode == undefined) {
v2.dispatchEvent(eventObj);
}
v2 = v2.parentNode;
}
};
v1.mixinProps = ['addTreeNode', 'addTreeNodeAt', 'getTreeNodeAt', 'removeTreeNodeAt', 'getRootNode', 'getDepth', 'removeAll', 'removeTreeNode', 'updateViews'];
v1.evtDipatcher = mx.events.EventDispatcher;
v1.mixins = new mx.controls.treeclasses.TreeDataProvider();
v1.blankXML = new XML();
v1.largestID = 0;
ASSetPropFlags(mx.controls.treeclasses.TreeDataProvider.prototype, null, 1);
}
#endinitclip
}
movieClip 655 __Packages.mx.controls.Tree {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.Tree) {
var v1 = function () {
super();
};
mx.controls.Tree = v1;
var v2 = new mx.controls.List();
mx.controls.Tree.prototype = v2;
v2.setIcon = function (node, iconID, iconID2) {
if (this.nodeIcons == undefined) {
this.nodeIcons = new Object();
}
if (iconID2 == undefined) {
iconID2 = iconID;
}
this.nodeIcons[node.getID()] = {'iconID': iconID, 'iconID2': iconID2};
var v3 = this.nodeIcons[node.getID()];
this.invUpdateControl = true;
this.invalidate();
};
v2.getIsBranch = function (node) {
return node.hasChildNodes() || this.branchNodes[node.getID()] != undefined;
};
v2.setIsBranch = function (node, branch) {
if (this.branchNodes == undefined) {
this.branchNodes = new Object();
}
if (!branch) {
delete this.branchNodes[node.getID()];
} else {
this.branchNodes[node.getID()] = true;
}
if (this.isNodeVisible(node)) {
this.invUpdateControl = true;
this.invalidate();
}
};
v2.getNodeDepth = function (node) {
var v3 = 0;
var v2 = node;
for (;;) {
if (!(v2.parentNode != undefined && v2 != this.treeDataProvider)) break;
++v3;
v2 = v2.parentNode;
}
return v3;
};
v2.getIsOpen = function (node) {
return this.openNodes[node.getID()] == true;
};
v2.setIsOpen = function (node, open, animate, fireEvent) {
if (!this.getIsBranch(node) || this.getIsOpen(node) == open || this.isOpening) {
return undefined;
}
if (open) {
this.openNodes[node.getID()] = open;
}
if (this.isNodeVisible(node)) {
this.nodeList = this.getDisplayList(node, !open);
this.rowIndex = this.getDisplayIndex(node) + 1 - this.__vPosition;
var v6 = Math.min(this.nodeList.length, this.__rowCount - this.rowIndex);
var v13 = this.getStyle('openDuration');
if (animate && this.rowIndex < this.__rowCount && v6 > 0 && v6 < 20 && v13 != 0) {
this.tween.endTween();
this.opening = open;
this.isOpening = true;
var v7 = v6 * this.__rowHeight;
var v15 = this.rowIndex;
while (v15 < this.__rowCount) {
this.rows[v15].__lastY = this.rows[v15]._y;
++v15;
}
this.maskList = new Array();
this.rowList = new Array();
var v4 = this.__viewMetrics;
var v12 = (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == 'auto') ? this.__width + this.__maxHPosition : this.__width - v4.left - v4.right;
v15 = 0;
while (v15 < v6) {
this.maskList[v15] = this.attachMovie('BoundingBox', 'openMask' + v15, 2001 + v15);
var v3 = this.maskList[v15];
v3._width = this.__width - v4.left - v4.right;
v3._x = v4.left;
v3._height = v7;
v3._y = this.rows[this.rowIndex]._y;
this.rowList[v15] = this.listContent.createObject(this.__rowRenderer, 'treeRow' + this.topRowZ++, this.topRowZ, {'owner': this, 'styleName': this});
var v2 = this.rowList[v15];
v2._x = v4.left;
v2.setSize(v12, this.__rowHeight);
if (open) {
v2.drawRow(this.nodeList[v15], 'normal');
v2._y = this.rows[this.rowIndex]._y - v7 + this.__rowHeight * v15;
v2.setMask(v3);
} else {
var v5 = Math.max(this.__vPosition + this.__rowCount + v15 + this.nodeList.length - v6, this.rowIndex + this.nodeList.length);
v2.drawRow(this.__dataProvider.getItemAt(v5), this.getStateAt(v5));
v2._y = this.rows[this.__rowCount - 1]._y + (v15 + 1) * this.__rowHeight;
this.rows[this.rowIndex + v15].setMask(v3);
}
v2.__lastY = v2._y;
++v15;
}
v13 *= Math.max(v6 / 5, 1);
if (fireEvent) {
this.eventAfterTween = node;
}
this.tween = new mx.effects.Tween(this, 0, open ? v7 : -1 * v7, v13, 5);
var v16 = this.getStyle('openEasing');
if (v16 != undefined) {
this.tween.easingEquation = v16;
}
} else {
this.isOpening = false;
if (open) {
this.addItemsAt(this.getDisplayIndex(node) + 1, this.nodeList);
} else {
this.__dataProvider.removeItemsAt(this.getDisplayIndex(node) + 1, this.nodeList.length);
}
this.invScrollProps = true;
if (fireEvent) {
this.eventPending = node;
}
this.invalidate();
}
}
if (!open) {
this.openNodes[node.getID()] = open;
}
var v15 = this.getDisplayIndex(node);
var v14 = this.rows[v15 - this.__vPosition];
v14.drawRow(v14.item, this.getStateAt(v15));
};
v2.onTweenUpdate = function (val) {
var v2 = this.rowIndex;
while (v2 < this.__rowCount) {
this.rows[v2]._y = this.rows[v2].__lastY + val;
++v2;
}
v2 = 0;
while (v2 < this.rowList.length) {
this.rowList[v2]._y = this.rowList[v2].__lastY + val;
++v2;
}
};
v2.onTweenEnd = function (val) {
var v2 = this.rowIndex;
while (v2 < this.__rowCount) {
this.rows[v2]._y = this.rows[v2].__lastY + val;
delete this.rows[v2].__lastY;
if (v2 >= this.__rowCount - this.rowList.length && this.opening) {
this.rows[v2].removeMovieClip();
}
++v2;
}
v2 = 0;
while (v2 < this.rowList.length) {
this.rowList[v2]._y = this.rowList[v2].__lastY + val;
if (this.opening) {
this.rowList[v2].setMask(undefined);
} else {
this.rows[this.rowIndex + v2].removeMovieClip();
}
this.maskList[v2].removeMovieClip();
++v2;
}
this.isOpening = false;
this.vScroller.__set__scrollPosition(this.__vPosition);
if (this.opening) {
var v4 = this.rowIndex + this.rowList.length;
v2 = this.__rowCount - 1;
while (v2 >= v4) {
this.rows[v2] = this.rows[v2 - this.rowList.length];
this.rows[v2].rowIndex = v2;
--v2;
}
v2 = this.rowIndex;
while (v2 < v4) {
this.rows[v2] = this.rowList[v2 - this.rowIndex];
this.rows[v2].rowIndex = v2;
++v2;
}
this.addItemsAt(this.rowIndex + this.__vPosition, this.nodeList);
} else {
var v3 = this.__rowCount - this.rowList.length;
v2 = this.rowIndex;
while (v2 < v3) {
this.rows[v2] = this.rows[v2 + this.rowList.length];
this.rows[v2].rowIndex = v2;
++v2;
}
v2 = v3;
while (v2 < this.__rowCount) {
this.rows[v2] = this.rowList[v2 - v3];
this.rows[v2].rowIndex = v2;
++v2;
}
this.__dataProvider.removeItemsAt(this.rowIndex + this.__vPosition, this.nodeList.length);
}
if (this.eventAfterTween != undefined) {
this.eventPending = this.eventAfterTween;
this.invalidate();
delete this.eventAfterTween;
}
delete this.tween;
delete this.invUpdateControl;
};
v2.size = function (Void) {
this.tween.endTween();
super.size();
};
v2.setVPosition = function (pos) {
if (this.isOpening) {
return undefined;
}
super.setVPosition(pos);
};
v2.onScroll = function (evt) {
if (this.isOpening) {
return undefined;
}
super.onScroll(evt);
};
v2.addItemsAt = function (index, arr) {
var v4 = this.__dataProvider.slice(0, index);
var v3 = this.__dataProvider.slice(index);
this.__dataProvider = v4.concat(arr, v3);
this.__dataProvider.addEventListener('modelChanged', this);
this.modelChanged({'eventName': 'addItems', 'firstItem': index, 'lastItem': index + arr.length - 1});
};
v2.setDataProvider = function (dP) {
if (this.treeDataProvider != undefined) {
this.treeDataProvider.removeEventListener(this);
}
if (typeof dP == 'string') {
dP = new XML(dP);
}
this.treeDataProvider = dP;
this.treeDataProvider.isTreeRoot = true;
this.setIsBranch(this.treeDataProvider, true);
this.setIsOpen(this.treeDataProvider, true);
this.setDisplayIndex(this.treeDataProvider, -1);
this.treeDataProvider.addEventListener('modelChanged', this);
this.modelChanged({'eventName': 'updateTree'});
};
v2.getDataProvider = function () {
return this.treeDataProvider;
};
v2.refresh = function () {
this.updateControl();
};
v2.addTreeNode = function (label, data) {
if (this.treeDataProvider == undefined) {
this.setDataProvider(new XML());
}
return this.treeDataProvider.addTreeNode(label, data);
};
v2.addTreeNodeAt = function (index, label, data) {
if (this.treeDataProvider == undefined) {
this.setDataProvider(new XML());
}
return this.treeDataProvider.addTreeNodeAt(index, label, data);
};
v2.getTreeNodeAt = function (index) {
return this.treeDataProvider.getTreeNodeAt(index);
};
v2.removeTreeNodeAt = function (index) {
return this.treeDataProvider.removeTreeNodeAt(index);
};
v2.removeAll = function () {
return this.treeDataProvider.removeAll();
};
v2.getNodeDisplayedAt = function (index) {
return this.__dataProvider.getItemAt(index);
};
v2.modelChanged = function (eventObj) {
var v6 = eventObj.eventName;
if (v6 == 'updateTree') {
this.__dataProvider = this.getDisplayList(this.treeDataProvider);
this.__dataProvider.addEventListener('modelChanged', this);
super.modelChanged({'eventName': 'updateAll'});
} else {
if (v6 == 'addNode') {
var v8 = eventObj.node;
if (this.isNodeVisible(v8)) {
if (v8.nextSibling != undefined) {
this.setDisplayIndex(v8, this.getDisplayIndex(v8.nextSibling));
} else {
if (v8.previousSibling != undefined) {
var v7 = this.getDisplayList(v8.previousSibling);
if (v7.length > 0) {
this.setDisplayIndex(v8, this.getDisplayIndex(v7.pop()) + 1);
} else {
this.setDisplayIndex(v8, this.getDisplayIndex(v8.previousSibling) + 1);
}
} else {
this.setDisplayIndex(v8, this.getDisplayIndex(v8.parentNode) + 1);
}
}
var v10 = this.getDisplayList(v8);
v10.unshift(v8);
this.addItemsAt(this.getDisplayIndex(v8), v10);
} else {
this.invUpdateControl = true;
this.invalidate();
}
} else {
if (v6 == 'removeNode') {
var v8 = eventObj.node;
var v9 = this.getDisplayIndex(v8);
if (v9 != undefined) {
var v11 = this.getDisplayList(v8);
this.__dataProvider.removeItemsAt(v9, v11.length + 1);
}
} else {
if (v6 == 'addItems') {
super.modelChanged(eventObj);
var v5 = this.__dataProvider;
var v3 = eventObj.firstItem;
while (v3 < v5.length) {
this.setDisplayIndex(v5[v3], v3);
++v3;
}
} else {
if (v6 == 'removeItems') {
var v5 = this.__dataProvider;
var v3 = eventObj.firstItem;
while (v3 < v5.length) {
this.setDisplayIndex(v5[v3], v3);
++v3;
}
super.modelChanged(eventObj);
} else {
super.modelChanged(eventObj);
}
}
}
}
}
};
v2.isNodeVisible = function (node) {
return this.getDisplayIndex(node) != undefined || this.getDisplayIndex(node.parentNode) != undefined && this.getIsOpen(node.parentNode);
};
v2.getFirstVisibleNode = function () {
return this.__dataProvider.getItemAt(this.__vPosition);
};
v2.setFirstVisibleNode = function (node) {
var v2 = this.getDisplayIndex(node);
if (v2 == undefined) {
return undefined;
}
this.setVPosition(v2);
};
v2.__set__firstVisibleNode = function (node) {
this.setFirstVisibleNode(node);
return this.__get__firstVisibleNode();
};
v2.__get__firstVisibleNode = function () {
return this.getFirstVisibleNode();
};
v2.__set__selectedNode = function (node) {
var v2 = this.getDisplayIndex(node);
if (v2 >= 0) {
this.setSelectedIndex(v2);
}
return this.__get__selectedNode();
};
v2.__get__selectedNode = function () {
return this.getSelectedItem();
};
v2.__set__selectedNodes = function (nodeArray) {
var v5 = new Array();
var v3;
var v2 = 0;
while (v2 < nodeArray.length) {
v3 = this.getDisplayIndex(nodeArray[v2]);
if (v3 != undefined) {
v5.push(v3);
}
++v2;
}
this.setSelectedIndices(v5);
return this.__get__selectedNodes();
};
v2.__get__selectedNodes = function () {
return this.getSelectedItems();
};
v2.getDisplayList = function (node, removed) {
var v5 = new Array();
if (!this.isNodeVisible(node) || !this.getIsOpen(node)) {
return v5;
}
var v6 = this.getDisplayIndex(node);
var v3 = new Array();
var v2 = node.firstChild;
var v4 = v2 == undefined;
while (!v4) {
if (removed) {
this.setDisplayIndex(v2, undefined);
} else {
this.setDisplayIndex(v2, ++v6);
}
v5.push(v2);
if (v2.childNodes.length > 0 && this.getIsOpen(v2)) {
if (v2.nextSibling != undefined) {
v3.push(v2.nextSibling);
}
v2 = v2.firstChild;
} else {
if (v2.nextSibling != undefined) {
v2 = v2.nextSibling;
} else {
if (v3.length == 0) {
v4 = true;
} else {
v2 = v3.pop();
}
}
}
}
return v5;
};
v2.getDisplayIndex = function (node) {
return this.nodeIndices[node.getID()];
};
v2.setDisplayIndex = function (node, UID) {
this.nodeIndices[node.getID()] = UID;
};
v2.keyDown = function (e) {
if (this.isOpening) {
return undefined;
}
var v3 = this.__get__selectedNode();
if (e.ctrlKey) {
super.keyDown(e);
} else {
if (e.code == 32) {
if (this.getIsBranch(v3)) {
var v6 = !this.getIsOpen(v3);
this.setIsOpen(v3, v6, true, true);
}
} else {
if (e.code == 37) {
if (this.getIsOpen(v3)) {
this.setIsOpen(v3, false, true, true);
} else {
this.__set__selectedNode(v3.parentNode);
this.dispatchEvent({'type': 'change'});
var v5 = this.getDisplayIndex(this.__get__selectedNode());
if (v5 < this.__vPosition) {
this.setVPosition(v5);
}
}
} else {
if (e.code == 39) {
if (this.getIsBranch(v3)) {
if (this.getIsOpen(v3)) {
this.__set__selectedNode(v3.firstChild);
this.dispatchEvent({'type': 'change'});
} else {
this.setIsOpen(v3, true, true, true);
}
}
} else {
super.keyDown(e);
}
}
}
}
};
v2.init = function () {
super.init();
this.openNodes = new Object();
this.nodeIndices = new Object();
};
v2.invalidateStyle = function (propName) {
if (this.isNewRowStyle[propName]) {
this.invUpdateControl = true;
this.invalidate();
}
super.invalidateStyle(propName);
};
v2.layoutContent = function (x, y, tW, tH, dW, dH) {
var v5 = 0;
var v6 = 0;
var v3 = 0;
while (v3 < this.rows.length) {
var v4 = this.rows[v3].getDepth();
if (v4 > v5) {
v5 = v4;
v6 = v3;
}
++v3;
}
var v7 = v5 + this.rows.length - v6;
if (this.topRowZ < v7) {
this.topRowZ = v7;
}
super.layoutContent(x, y, tW, tH, dW, dH);
};
v2.draw = function (Void) {
super.draw();
if (this.eventPending != undefined) {
this.dispatchEvent({'type': this.getIsOpen(this.eventPending) ? 'nodeOpen' : 'nodeClose', 'node': this.eventPending});
delete this.eventPending;
}
};
v1.symbolName = 'Tree';
v1.symbolOwner = mx.controls.Tree;
v2.className = 'Tree';
v1.version = '2.0.2.126';
v1.mixIt2 = mx.controls.treeclasses.TreeDataProvider.Initialize(XMLNode);
v2.isNewRowStyle = {'depthColors': true, 'indentation': true, 'disclosureOpenIcon': true, 'disclosureClosedIcon': true, 'folderOpenIcon': true, 'folderClosedIcon': true, 'defaultLeafIcon': true};
v2.__rowRenderer = 'TreeRow';
v2.isOpening = false;
v2.minScrollInterval = 50;
v2.addProperty('firstVisibleNode', v2.__get__firstVisibleNode, v2.__set__firstVisibleNode);
v2.addProperty('selectedNode', v2.__get__selectedNode, v2.__set__selectedNode);
v2.addProperty('selectedNodes', v2.__get__selectedNodes, v2.__set__selectedNodes);
ASSetPropFlags(mx.controls.Tree.prototype, null, 1);
}
#endinitclip
}
movieClip 656 __Packages.com.techsmith.camtasia.components.TSTree {
#initclip
if (!com.techsmith.camtasia.components.TSTree) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.components) {
_global.com.techsmith.camtasia.components = new Object();
}
_global.com.techsmith.camtasia.components.TSTree = function () {
super();
};
_global.com.techsmith.camtasia.components.TSTree extends mx.controls.Tree;
var v1 = _global.com.techsmith.camtasia.components.TSTree.prototype;
v1.onRowPress = function (rowIndex) {
if (!this.enabled) {
return undefined;
}
this.isPressed = true;
this.dragScrolling = _global.setInterval(this, 'dragScroll', 15);
this.onMouseUp = this.__onMouseUp;
if (!this.selectable) {
return undefined;
}
this.selectRow(rowIndex);
this.dispatchEvent({'target': this, 'type': 'rowPress', 'index': this.getSelectedIndex(), 'time': (this.getSelectedItem()).attributes.time});
};
v1.selectRow = function (rowIndex, transition, allowChangeEvent) {
if (!this.selectable) {
return undefined;
}
var v5 = this.__vPosition + rowIndex;
var v6 = this.__dataProvider.getItemAt(v5);
var v7 = this.rows[rowIndex];
if (v6 == undefined) {
return undefined;
}
if (transition == undefined) {
transition = true;
}
if (allowChangeEvent == undefined) {
allowChangeEvent = this.wasKeySelected;
this.changeFlag = true;
}
if (!this.multipleSelection && !Key.isDown(Key.CONTROL) || !Key.isDown(Key.SHIFT) && !Key.isDown(Key.CONTROL)) {
this.clearSelected(transition);
this.selectItem(v5, true);
this.lastSelected = v5;
v7.drawRow(v7.item, this.getStateAt(v5), transition);
} else {
if (Key.isDown(Key.SHIFT) && this.multipleSelection) {
if (this.lastSelected == undefined) {
this.lastSelected = v5;
}
var v8 = this.lastSelected < v5 ? 1 : -1;
this.clearSelected(false);
var v9 = this.lastSelected;
goto 1704;
for (;;) {
v9 += v8;
label 1704:
if (v9 == v5) break;
this.selectItem(v9, true);
if (v9 >= this.__vPosition && v9 < this.__vPosition + this.__rowCount) {
this.rows[v9 - this.__vPosition].drawRow(this.rows[v9 - this.__vPosition].item, 'selected', false);
}
}
this.selectItem(v5, true);
v7.drawRow(v7.item, 'selected', transition);
} else {
if (Key.isDown(Key.CONTROL)) {
var v10 = this.isSelected(v5);
if (!this.multipleSelection || this.wasKeySelected) {
this.clearSelected(transition);
}
if (!(!this.multipleSelection && v10)) {
this.selectItem(v5, !v10);
var v11 = !v10 ? 'selected' : 'normal';
v7.drawRow(v7.item, v11, transition);
}
this.lastSelected = v5;
}
}
}
if (allowChangeEvent) {
this.dispatchEvent({'target': this, 'type': 'rowPress', 'index': this.getSelectedIndex(), 'time': (this.getSelectedItem()).attributes.time});
}
delete this.wasKeySelected;
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.components.TSTree.symbolName = 'TSTree';
_global.com.techsmith.camtasia.components.TSTree.symbolOwner = com.techsmith.camtasia.components.TSTree;
v1.className = 'TSTree';
}
#endinitclip
}
movieClip 667 __Packages.mx.core.ExternalContent {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ExternalContent) {
var v1 = function () {};
mx.core.ExternalContent = v1;
var v2 = v1.prototype;
v2.loadExternal = function (url, placeholderClassName, instanceName, depth, initProps) {
var v2;
v2 = this.createObject(placeholderClassName, instanceName, depth, initProps);
this[mx.core.View.childNameBase + this.numChildren] = v2;
if (this.prepList == undefined) {
this.prepList = new Object();
}
this.prepList[instanceName] = {'obj': v2, 'url': url, 'complete': false, 'initProps': initProps};
this.prepareToLoadMovie(v2);
return v2;
};
v2.prepareToLoadMovie = function (obj) {
obj.unloadMovie();
this.doLater(this, 'waitForUnload');
};
v2.waitForUnload = function () {
var v3;
for (v3 in this.prepList) {
var v2 = this.prepList[v3];
if (v2.obj.getBytesTotal() == 0) {
if (this.loadList == undefined) {
this.loadList = new Object();
}
this.loadList[v3] = v2;
v2.obj.loadMovie(v2.url);
delete this.prepList[v3];
this.doLater(this, 'checkLoadProgress');
} else {
this.doLater(this, 'waitForUnload');
}
}
};
v2.checkLoadProgress = function () {
var v8 = false;
var v3;
for (v3 in this.loadList) {
var v2 = this.loadList[v3];
v2.loaded = v2.obj.getBytesLoaded();
v2.total = v2.obj.getBytesTotal();
if (v2.total > 0) {
v2.obj._visible = false;
this.dispatchEvent({'type': 'progress', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
if (v2.loaded == v2.total) {
if (this.loadedList == undefined) {
this.loadedList = new Object();
}
this.loadedList[v3] = v2;
delete this.loadList[v3];
this.doLater(this, 'contentLoaded');
}
} else {
if (v2.total == -1) {
if (v2.failedOnce != undefined) {
++v2.failedOnce;
if (v2.failedOnce > 3) {
this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
delete this.loadList[v3];
false;
}
} else {
v2.failedOnce = 0;
}
}
}
v8 = true;
}
if (v8) {
this.doLater(this, 'checkLoadProgress');
}
};
v2.contentLoaded = function () {
var v4;
for (v4 in this.loadedList) {
var v2 = this.loadedList[v4];
v2.obj._visible = true;
v2.obj._complete = true;
var v3;
for (v3 in v2.initProps) {
v2.obj[v3] = v2.initProps[v3];
}
this.childLoaded(v2.obj);
this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
delete this.loadedList[v4];
false;
}
};
v2.convertToUIObject = function (obj) {
if (obj.setSize == undefined) {
var v2 = mx.core.UIObject.prototype;
obj.addProperty('width', v2.__get__width, null);
obj.addProperty('height', v2.__get__height, null);
obj.addProperty('left', v2.__get__left, null);
obj.addProperty('x', v2.__get__x, null);
obj.addProperty('top', v2.__get__top, null);
obj.addProperty('y', v2.__get__y, null);
obj.addProperty('right', v2.__get__right, null);
obj.addProperty('bottom', v2.__get__bottom, null);
obj.addProperty('visible', v2.__get__visible, v2.__set__visible);
obj.move = mx.core.UIObject.prototype.move;
obj.setSize = mx.core.UIObject.prototype.setSize;
obj.size = mx.core.UIObject.prototype.size;
mx.events.UIEventDispatcher.initialize(obj);
}
};
v1.enableExternalContent = function () {};
v1.classConstruct = function () {
var v1 = mx.core.View.prototype;
var v2 = mx.core.ExternalContent.prototype;
v1.loadExternal = v2.loadExternal;
v1.prepareToLoadMovie = v2.prepareToLoadMovie;
v1.waitForUnload = v2.waitForUnload;
v1.checkLoadProgress = v2.checkLoadProgress;
v1.contentLoaded = v2.contentLoaded;
v1.convertToUIObject = v2.convertToUIObject;
return true;
};
v1.classConstructed = mx.core.ExternalContent.classConstruct();
v1.ViewDependency = mx.core.View;
ASSetPropFlags(mx.core.ExternalContent.prototype, null, 1);
}
#endinitclip
}
movieClip 668 __Packages.mx.effects.Tween {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.effects) {
_global.mx.effects = new Object();
}
if (!_global.mx.effects.Tween) {
var v1 = function (listenerObj, init, end, dur) {
super();
if (listenerObj == undefined) {
return undefined;
}
if (typeof init != 'number') {
this.arrayMode = true;
}
this.listener = listenerObj;
this.initVal = init;
this.endVal = end;
if (dur != undefined) {
this.duration = dur;
}
this.startTime = getTimer();
if (this.duration == 0) {
this.endTween();
} else {
mx.effects.Tween.AddTween(this);
}
};
mx.effects.Tween = v1;
var v2 = new Object();
mx.effects.Tween.prototype = v2;
v1.AddTween = function (tween) {
tween.ID = mx.effects.Tween.ActiveTweens.length;
mx.effects.Tween.ActiveTweens.push(tween);
if (mx.effects.Tween.IntervalToken == undefined) {
mx.effects.Tween.Dispatcher.DispatchTweens = mx.effects.Tween.DispatchTweens;
mx.effects.Tween.IntervalToken = setInterval(mx.effects.Tween.Dispatcher, 'DispatchTweens', mx.effects.Tween.Interval);
}
};
v1.RemoveTweenAt = function (index) {
var v2 = mx.effects.Tween.ActiveTweens;
if (index >= v2.length || index < 0 || index == undefined) {
return undefined;
}
v2.splice(index, 1);
var v4 = v2.length;
var v1 = index;
while (v1 < v4) {
--v2[v1].ID;
++v1;
}
if (v4 == 0) {
clearInterval(mx.effects.Tween.IntervalToken);
delete mx.effects.Tween.IntervalToken;
}
};
v1.DispatchTweens = function (Void) {
var v2 = mx.effects.Tween.ActiveTweens;
var v3 = v2.length;
var v1 = 0;
while (v1 < v3) {
v2[v1].doInterval();
++v1;
}
updateAfterEvent();
};
v2.doInterval = function () {
var v2 = getTimer() - this.startTime;
var v3 = this.getCurVal(v2);
if (v2 >= this.duration) {
this.endTween();
} else {
if (this.updateFunc != undefined) {
this.listener[this.updateFunc](v3);
} else {
this.listener.onTweenUpdate(v3);
}
}
};
v2.getCurVal = function (curTime) {
if (this.arrayMode) {
var v3 = new Array();
var v2 = 0;
while (v2 < this.initVal.length) {
v3[v2] = this.easingEquation(curTime, this.initVal[v2], this.endVal[v2] - this.initVal[v2], this.duration);
++v2;
}
return v3;
} else {
return this.easingEquation(curTime, this.initVal, this.endVal - this.initVal, this.duration);
}
};
v2.endTween = function () {
if (this.endFunc != undefined) {
this.listener[this.endFunc](this.endVal);
} else {
this.listener.onTweenEnd(this.endVal);
}
mx.effects.Tween.RemoveTweenAt(this.ID);
};
v2.setTweenHandlers = function (update, end) {
this.updateFunc = update;
this.endFunc = end;
};
v2.easingEquation = function (t, b, c, d) {
return (c / 2) * (Math.sin(Math.PI * (t / d - 0.5)) + 1) + b;
};
v1.ActiveTweens = new Array();
v1.Interval = 10;
v1.Dispatcher = new Object();
v2.duration = 3000;
ASSetPropFlags(mx.effects.Tween.prototype, null, 1);
}
#endinitclip
}
movieClip 669 __Packages.mx.controls.listclasses.SelectableRow {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.listclasses) {
_global.mx.controls.listclasses = new Object();
}
if (!_global.mx.controls.listclasses.SelectableRow) {
var v1 = function () {
super();
};
mx.controls.listclasses.SelectableRow = v1;
var v2 = new mx.core.UIComponent();
mx.controls.listclasses.SelectableRow.prototype = v2;
v2.setValue = function (itmObj, state) {
var v7 = this.__height;
var v2 = this.cell;
var v5 = this.owner;
var v8 = this.itemToString(itmObj);
if (v2.getValue() != v8) {
v2.setValue(v8, itmObj, state);
}
var v4 = (v5.getPropertiesAt(this.rowIndex + v5.__vPosition)).icon;
if (v4 == undefined) {
v4 = v5.__iconFunction(itmObj);
if (v4 == undefined) {
v4 = itmObj[v5.__iconField];
if (v4 == undefined) {
v4 = v5.getStyle('defaultIcon');
}
}
}
var v3 = this.icon_mc;
if (v4 != undefined && itmObj != undefined) {
v3 = this.createObject(v4, 'icon_mc', 20);
v3._x = 2;
v3._y = (v7 - v3._height) / 2;
v2._x = 4 + v3._width;
} else {
v3.removeMovieClip();
v2._x = 2;
}
var v9 = (v3 == undefined) ? 0 : v3._width;
v2.setSize(this.__width - v9, Math.min(v7, v2.getPreferredHeight()));
v2._y = (v7 - v2._height) / 2;
};
v2.size = function (Void) {
var v3 = this.backGround;
var v2 = this.cell;
var v4 = this.__height;
var v5 = this.__width;
var v6 = (this.icon_mc == undefined) ? 0 : this.icon_mc._width;
v2.setSize(v5 - v6, Math.min(v4, v2.getPreferredHeight()));
v2._y = (v4 - v2._height) / 2;
this.icon_mc._y = (v4 - this.icon_mc._height) / 2;
v3._x = 0;
v3._width = v5;
v3._height = v4;
this.drawRowFill(v3, this.normalColor);
this.drawRowFill(this.highlight, this.highlightColor);
};
v2.setCellRenderer = function (forceSizing) {
var v3 = this.owner.__cellRenderer;
var v4;
if (this.cell != undefined) {
v4 = this.cell._x;
this.cell.removeMovieClip();
this.cell.removeTextField();
}
var v2;
if (v3 == undefined) {
this.cell = this.createLabel('cll', 0, {'styleName': this});
v2 = this.cell;
v2.styleName = this.owner;
v2.selectable = false;
v2.tabEnabled = false;
v2.background = false;
v2.border = false;
} else {
if (typeof v3 == 'string') {
this.cell = this.createObject(v3, 'cll', 0, {'styleName': this});
v2 = this.cell;
} else {
this.cell = this.createClassObject(v3, 'cll', 0, {'styleName': this});
v2 = this.cell;
}
}
v2.owner = this;
v2.listOwner = this.owner;
v2.getCellIndex = this.getCellIndex;
v2.getDataLabel = this.getDataLabel;
if (v4 != undefined) {
v2._x = v4;
}
if (forceSizing) {
this.size();
}
};
v2.getCellIndex = function (Void) {
return {'columnIndex': 0, 'itemIndex': this.owner.rowIndex + this.listOwner.__vPosition};
};
v2.getDataLabel = function () {
return this.listOwner.labelField;
};
v2.init = function (Void) {
super.init();
this.tabEnabled = false;
};
v2.createChildren = function (Void) {
this.setCellRenderer(false);
this.setupBG();
this.setState(this.state, false);
};
v2.drawRow = function (itmObj, state, transition) {
this.item = itmObj;
this.setState(state, transition);
this.setValue(itmObj, state, transition);
};
v2.itemToString = function (itmObj) {
if (itmObj == undefined) {
return ' ';
}
var v2 = this.owner.__labelFunction(itmObj);
if (v2 == undefined) {
v2 = itmObj instanceof XMLNode ? itmObj.attributes[this.owner.__labelField] : itmObj[this.owner.__labelField];
if (v2 == undefined) {
v2 = ' ';
if (typeof itmObj == 'object') {
for (var v4 in itmObj) {
if (v4 != '__ID__') {
v2 = itmObj[v4] + ', ' + v2;
}
}
v2 = v2.substring(0, v2.length - 2);
return v2;
}
v2 = itmObj;
}
}
return v2;
};
v2.setupBG = function (Void) {
this.backGround = this.createEmptyMovieClip('bG_mc', mx.controls.listclasses.SelectableRow.LOWEST_DEPTH);
var v2 = this.backGround;
this.drawRowFill(v2, this.normalColor);
this.highlight = this.createEmptyMovieClip('tran_mc', mx.controls.listclasses.SelectableRow.LOWEST_DEPTH + 10);
v2.owner = this;
v2.grandOwner = this.owner;
v2.onPress = this.bGOnPress;
v2.onRelease = this.bGOnRelease;
v2.onRollOver = this.bGOnRollOver;
v2.onRollOut = this.bGOnRollOut;
v2.onDragOver = this.bGOnDragOver;
v2.onDragOut = this.bGOnDragOut;
v2.useHandCursor = false;
v2.trackAsMenu = true;
v2.drawRect = this.drawRect;
this.highlight.drawRect = this.drawRect;
};
v2.drawRowFill = function (mc, newClr) {
mc.clear();
mc.beginFill(newClr);
mc.drawRect(1, 0, this.__width, this.__height);
mc.endFill();
mc._width = this.__width;
mc._height = this.__height;
};
v2.setState = function (newState, transition) {
var v2 = this.highlight;
var v8 = this.backGround;
var v4 = this.__height;
var v3 = this.owner;
if (!v3.enabled) {
if (newState == 'selected' || this.state == 'selected') {
this.highlightColor = v3.getStyle('selectionDisabledColor');
this.drawRowFill(v2, this.highlightColor);
v2._visible = true;
v2._y = 0;
v2._height = v4;
} else {
v2._visible = false;
this.normalColor = v3.getStyle('backgroundDisabledColor');
this.drawRowFill(v8, this.normalColor);
}
this.cell.__enabled = false;
this.cell.setColor(v3.getStyle('disabledColor'));
} else {
this.cell.__enabled = true;
if (transition && (newState == this.state || newState == 'highlighted' && this.state == 'selected')) {
this.isChangedToSelected = true;
return undefined;
}
var v6 = v3.getStyle('selectionDuration');
var v7 = 0;
if (this.isChangedToSelected && newState == 'selected') {
transition = false;
}
var v10 = transition && v6 != 0;
if (newState == 'normal') {
v7 = v3.getStyle('color');
this.normalColor = this.getNormalColor();
this.drawRowFill(v8, this.normalColor);
if (v10) {
v6 /= 2;
v2._height = v4;
v2._width = this.__width;
v2._y = 0;
this.bGTween = new mx.effects.Tween(this, v4 + 2, v4 * 0.2, v6, 5);
} else {
v2._visible = false;
}
delete this.isChangedToSelected;
} else {
this.highlightColor = v3.getStyle((newState == 'highlighted') ? 'rollOverColor' : 'selectionColor');
this.drawRowFill(v2, this.highlightColor);
v2._visible = true;
v7 = v3.getStyle((newState == 'highlighted') ? 'textRollOverColor' : 'textSelectedColor');
if (v10) {
v2._height = v4 * 0.5;
v2._y = (v4 - v2._height) / 2;
this.bGTween = new mx.effects.Tween(this, v2._height, v4 + 2, v6, 5);
var v9 = v3.getStyle('selectionEasing');
if (v9 != undefined) {
this.bGTween.easingEquation = v9;
}
} else {
v2._y = 0;
v2._height = v4;
}
}
this.cell.setColor(v7);
}
this.state = newState;
};
v2.onTweenUpdate = function (val) {
this.highlight._height = val;
this.highlight._y = (this.__height - val) / 2;
};
v2.onTweenEnd = function (val) {
this.onTweenUpdate(val);
this.highlight._visible = this.state != 'normal';
};
v2.getNormalColor = function (Void) {
var v3;
var v2 = this.owner;
if (!this.owner.enabled) {
v3 = v2.getStyle('backgroundDisabledColor');
return v3;
}
var v5 = this.rowIndex + v2.__vPosition;
if (this.rowIndex == undefined) {
v3 = (v2.getPropertiesOf(this.item)).backgroundColor;
} else {
v3 = (v2.getPropertiesAt(v5)).backgroundColor;
}
if (v3 == undefined) {
var v4 = v2.getStyle('alternatingRowColors');
if (v4 == undefined) {
v3 = v2.getStyle('backgroundColor');
return v3;
}
v3 = v4[v5 % v4.length];
}
return v3;
};
v2.invalidateStyle = function (propName) {
this.cell.invalidateStyle(propName);
super.invalidateStyle(propName);
};
v2.bGOnPress = function (Void) {
this.grandOwner.pressFocus();
this.grandOwner.onRowPress(this.owner.rowIndex);
};
v2.bGOnRelease = function (Void) {
this.grandOwner.releaseFocus();
this.grandOwner.onRowRelease(this.owner.rowIndex);
};
v2.bGOnRollOver = function (Void) {
this.grandOwner.onRowRollOver(this.owner.rowIndex);
};
v2.bGOnRollOut = function (Void) {
this.grandOwner.onRowRollOut(this.owner.rowIndex);
};
v2.bGOnDragOver = function (Void) {
this.grandOwner.onRowDragOver(this.owner.rowIndex);
};
v2.bGOnDragOut = function (Void) {
this.grandOwner.onRowDragOut(this.owner.rowIndex);
};
v1.LOWEST_DEPTH = -16384;
v2.state = 'normal';
v2.disabledColor = 15263976;
v2.normalColor = 16777215;
ASSetPropFlags(mx.controls.listclasses.SelectableRow.prototype, null, 1);
}
#endinitclip
}
movieClip 670 __Packages.mx.controls.treeclasses.TreeRow {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.treeclasses) {
_global.mx.controls.treeclasses = new Object();
}
if (!_global.mx.controls.treeclasses.TreeRow) {
var v1 = function () {
super();
};
mx.controls.treeclasses.TreeRow = v1;
var v2 = new mx.controls.listclasses.SelectableRow();
mx.controls.treeclasses.TreeRow.prototype = v2;
v2.setValue = function (item, state) {
this.node = item;
var v4 = this.owner.getIsBranch(this.node);
super.setValue(this.node, state);
if (this.node == undefined) {
this.nodeIcon._visible = false;
this.disclosure._visible = this.nodeIcon._visible;
return undefined;
}
this.nodeIcon._visible = true;
this.open = this.owner.getIsOpen(this.node);
var v6 = (this.owner.getNodeDepth(this.node) - 1) * this.getStyle('indentation');
var v5 = this.owner.getStyle(this.open ? 'disclosureOpenIcon' : 'disclosureClosedIcon');
this.disclosure = this.createObject(v5, 'disclosure', 3);
this.disclosure.onPress = this.disclosurePress;
this.disclosure.useHandCursor = false;
this.disclosure._visible = v4;
this.disclosure._x = v6 + 4;
var v3 = this.owner.nodeIcons[this.node.getID()][this.open ? 'iconID2' : 'iconID'];
if (v3 == undefined) {
v3 = this.owner.__iconFunction(this.node);
}
if (v4) {
if (v3 == undefined) {
v3 = this.owner.getStyle(this.open ? 'folderOpenIcon' : 'folderClosedIcon');
}
} else {
if (v3 == undefined) {
v3 = this.node.attributes[this.owner.iconField];
}
if (v3 == undefined) {
v3 = this.owner.getStyle('defaultLeafIcon');
}
}
this.nodeIcon.removeMovieClip();
this.nodeIcon = this.createObject(v3, 'nodeIcon', 20);
this.nodeIcon._x = this.disclosure._x + this.disclosure._width + 2;
this.cell._x = this.nodeIcon._x + this.nodeIcon._width + 2;
this.size();
};
v2.getNormalColor = function () {
this.node = this.item;
var v6 = super.getNormalColor();
var v7 = this.rowIndex + this.owner.__vPosition;
var v5 = this.owner.getColorAt(v7);
if (v5 == undefined) {
var v4 = this.owner.getStyle('depthColors');
if (v4 == undefined) {
return v6;
return v5;
}
var v3 = this.owner.getNodeDepth(this.node);
if (v3 == undefined) {
v3 = 1;
}
v5 = v4[(v3 - 1) % v4.length];
}
return v5;
};
v2.createChildren = function () {
super.createChildren();
if (this.disclosure == undefined) {
this.createObject('Disclosure', 'disclosure', 3, {'_visible': false});
this.disclosure.onPress = this.disclosurePress;
this.disclosure.useHandCursor = false;
}
};
v2.size = function () {
super.size();
this.disclosure._y = (this.__height - this.disclosure._height) / 2;
this.nodeIcon._y = (this.__get__height() - this.nodeIcon._height) / 2;
this.cell.setSize(this.__width - this.cell._x, this.__height);
};
v2.disclosurePress = function () {
var v3 = this._parent;
var v2 = v3.owner;
if (v2.isOpening || !v2.enabled) {
return undefined;
}
var v4 = v3.open ? 90 : 0;
v3.open = !this._parent.open;
v2.pressFocus();
v2.releaseFocus();
v2.setIsOpen(v3.node, v3.open, true, true);
};
v2.indentAdjust = 3;
ASSetPropFlags(mx.controls.treeclasses.TreeRow.prototype, null, 1);
}
#endinitclip
}
movieClip 671 __Packages.mx.containers.ScrollPane {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.containers) {
_global.mx.containers = new Object();
}
if (!_global.mx.containers.ScrollPane) {
var v1 = function () {
super();
};
mx.containers.ScrollPane = v1;
var v2 = new mx.core.ScrollView();
mx.containers.ScrollPane.prototype = v2;
v2.getBytesTotal = function () {
return this._total;
};
v2.getBytesLoaded = function () {
return this._loaded;
};
v2.__set__contentPath = function (scrollableContent) {
if (!this.initializing) {
if (scrollableContent == undefined) {
this.destroyChildAt(0);
} else {
if (this[mx.core.View.childNameBase + 0] != undefined) {
this.destroyChildAt(0);
}
this.createChild(scrollableContent, 'spContentHolder');
}
}
this.__scrollContent = scrollableContent;
return this.__get__contentPath();
};
v2.__get__contentPath = function () {
return this.__scrollContent;
};
v2.__get__content = function () {
return this.spContentHolder;
};
v2.setHPosition = function (position) {
if (position <= this.hScroller.maxPos && position >= this.hScroller.minPos) {
super.setHPosition(position);
this.spContentHolder._x = -position;
}
};
v2.setVPosition = function (position) {
if (position <= this.vScroller.maxPos && position >= this.vScroller.minPos) {
super.setVPosition(position);
this.spContentHolder._y = -position;
}
};
v2.__get__vLineScrollSize = function () {
return this.__vLineScrollSize;
};
v2.__set__vLineScrollSize = function (vLineSize) {
this.__vLineScrollSize = vLineSize;
this.vScroller.__set__lineScrollSize(vLineSize);
return this.__get__vLineScrollSize();
};
v2.__get__hLineScrollSize = function () {
return this.__hLineScrollSize;
};
v2.__set__hLineScrollSize = function (hLineSize) {
this.__hLineScrollSize = hLineSize;
this.hScroller.__set__lineScrollSize(hLineSize);
return this.__get__hLineScrollSize();
};
v2.__get__vPageScrollSize = function () {
return this.__vPageScrollSize;
};
v2.__set__vPageScrollSize = function (vPageSize) {
this.__vPageScrollSize = vPageSize;
this.vScroller.__set__pageScrollSize(vPageSize);
return this.__get__vPageScrollSize();
};
v2.__get__hPageScrollSize = function () {
return this.__hPageScrollSize;
};
v2.__set__hPageScrollSize = function (hPageSize) {
this.__hPageScrollSize = hPageSize;
this.hScroller.__set__pageScrollSize(hPageSize);
return this.__get__hPageScrollSize();
};
v2.__set__hScrollPolicy = function (policy) {
this.__hScrollPolicy = policy.toLowerCase();
this.setScrollProperties(this.spContentHolder._width, 1, this.spContentHolder._height, 1);
return this.__get__hScrollPolicy();
};
v2.__set__vScrollPolicy = function (policy) {
this.__vScrollPolicy = policy.toLowerCase();
this.setScrollProperties(this.spContentHolder._width, 1, this.spContentHolder._height, 1);
return this.__get__vScrollPolicy();
};
v2.__get__scrollDrag = function () {
return this.__scrollDrag;
};
v2.__set__scrollDrag = function (s) {
this.__scrollDrag = s;
if (this.__scrollDrag) {
this.spContentHolder.useHandCursor = true;
this.spContentHolder.onPress = function () {
this._parent.startDragLoop();
};
this.spContentHolder.tabEnabled = false;
this.spContentHolder.onReleaseOutside = function () {
delete this.onMouseMove;
};
this.spContentHolder.onRelease = this.spContentHolder.onReleaseOutside;
this.__scrollDrag = true;
} else {
delete this.spContentHolder.onPress;
this.spContentHolder.tabEnabled = false;
this.spContentHolder.tabChildren = true;
this.spContentHolder.useHandCursor = false;
this.__scrollDrag = false;
}
return this.__get__scrollDrag();
};
v2.init = function (Void) {
super.init();
this.tabEnabled = true;
this.keyDown = this._onKeyDown;
};
v2.createChildren = function (Void) {
super.createChildren();
this.mask_mc._visible = false;
this.initializing = false;
if (this.__scrollContent != undefined && this.__scrollContent != '') {
this.__set__contentPath(this.__scrollContent);
}
};
v2.size = function (Void) {
super.size();
this.setScrollProperties(this.spContentHolder._width, 1, this.spContentHolder._height, 1);
this.hPosition = Math.min(this.hPosition, this.__get__maxHPosition());
this.vPosition = Math.min(this.vPosition, this.__get__maxVPosition());
};
v2.setScrollProperties = function (columnCount, columnWidth, rowCount, rowHeight) {
super.setScrollProperties(columnCount, columnWidth, rowCount, rowHeight);
this.hScroller.__set__lineScrollSize(this.__hLineScrollSize);
this.hScroller.__set__pageScrollSize(this.__hPageScrollSize);
this.vScroller.__set__lineScrollSize(this.__vLineScrollSize);
this.vScroller.__set__pageScrollSize(this.__vPageScrollSize);
};
v2.onScroll = function (scrollEvent) {
this.spContentHolder._x = -this.__hPosition;
this.spContentHolder._y = -this.__vPosition;
super.onScroll(scrollEvent);
};
v2.childLoaded = function (obj) {
super.childLoaded(obj);
this.onComplete();
};
v2.onComplete = function (Void) {
this.setScrollProperties(this.spContentHolder._width, 1, this.spContentHolder._height, 1);
this.hPosition = 0;
this.vPosition = 0;
this.__set__scrollDrag(this.__scrollDrag);
this.invalidate();
};
v2.startDragLoop = function (Void) {
this.spContentHolder.lastX = this.spContentHolder._xmouse;
this.spContentHolder.lastY = this.spContentHolder._ymouse;
this.spContentHolder.onMouseMove = function () {
var v5 = this.lastX - this._xmouse;
var v4 = this.lastY - this._ymouse;
v5 += this._parent.hPosition;
v4 += this._parent.vPosition;
var v3 = this._parent.getViewMetrics();
var v7 = this._parent.__height - v3.top - v3.bottom;
var v6 = this._parent.__width - v3.left - v3.right;
this._parent.__hPosition = Math.max(0, Math.min(v5, this._width - v6));
this._parent.__vPosition = Math.max(0, Math.min(v4, this._height - v7));
this._parent.hScroller.scrollPosition = this._parent.__hPosition;
this._x = -this._parent.hPosition;
this._parent.vScroller.scrollPosition = this._parent.__vPosition;
this._y = -this._parent.vPosition;
super.dispatchEvent({'type': 'scroll'});
};
};
v2.dispatchEvent = function (o) {
o.target = this;
this._total = o.total;
this._loaded = o.current;
super.dispatchEvent(o);
};
v2.refreshPane = function (Void) {
this.__set__contentPath(this.__scrollContent);
};
v2._onKeyDown = function (e) {
if (this.hScroller != undefined && this.__hPosition <= this.hScroller.maxPos && this.__hPosition >= this.hScroller.minPos) {
if (e.code == 37) {
this.hPosition -= this.hLineScrollSize;
} else {
if (e.code == 39) {
this.hPosition += this.hLineScrollSize;
}
}
}
if (this.vScroller != undefined && this.__vPosition <= this.vScroller.maxPos && this.__vPosition >= this.vScroller.minPos) {
if (e.code == 33) {
this.vPosition -= this.vPageScrollSize;
} else {
if (e.code == 34) {
this.vPosition += this.vPageScrollSize;
}
}
if (e.code == 40) {
this.vPosition += this.vLineScrollSize;
} else {
if (e.code == 38) {
this.vPosition -= this.vLineScrollSize;
}
}
}
if (e.code == 36) {
this.vPosition = this.vScroller.minPos;
} else {
if (e.code == 35) {
this.vPosition = this.vScroller.maxPos;
}
}
};
v1.symbolName = 'ScrollPane';
v1.symbolOwner = mx.containers.ScrollPane;
v2.className = 'ScrollPane';
v1.version = '2.0.2.127';
v2.__hScrollPolicy = 'auto';
v2.__scrollDrag = false;
v2.__vLineScrollSize = 5;
v2.__hLineScrollSize = 5;
v2.__vPageScrollSize = 20;
v2.__hPageScrollSize = 20;
v2.clipParameters = {'contentPath': 1, 'scrollDrag': 1, 'hScrollPolicy': 1, 'vScrollPolicy': 1, 'vLineScrollSize': 1, 'hLineScrollSize': 1, 'vPageScrollSize': 1, 'hPageScrollSize': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.containers.ScrollPane.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters);
v2.initializing = true;
v2.addProperty('content', v2.__get__content, function () {});
v2.addProperty('contentPath', v2.__get__contentPath, v2.__set__contentPath);
v2.addProperty('hLineScrollSize', v2.__get__hLineScrollSize, v2.__set__hLineScrollSize);
v2.addProperty('hPageScrollSize', v2.__get__hPageScrollSize, v2.__set__hPageScrollSize);
v2.addProperty('hScrollPolicy', function () {}, v2.__set__hScrollPolicy);
v2.addProperty('scrollDrag', v2.__get__scrollDrag, v2.__set__scrollDrag);
v2.addProperty('vLineScrollSize', v2.__get__vLineScrollSize, v2.__set__vLineScrollSize);
v2.addProperty('vPageScrollSize', v2.__get__vPageScrollSize, v2.__set__vPageScrollSize);
v2.addProperty('vScrollPolicy', function () {}, v2.__set__vScrollPolicy);
ASSetPropFlags(mx.containers.ScrollPane.prototype, null, 1);
}
#endinitclip
}
movieClip 20480 __Packages.com.techsmith.ui.Movable {
#initclip
if (!com.techsmith.ui.Movable) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.Movable = function () {
super();
};
_global.com.techsmith.ui.Movable extends MovieClip;
var v1 = _global.com.techsmith.ui.Movable.prototype;
v1.move = function (x, y) {
this._x = x;
this._y = y;
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20481 __Packages.com.techsmith.events.IEventDispatcher {
#initclip
if (!com.techsmith.events.IEventDispatcher) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.events) {
_global.com.techsmith.events = new Object();
}
_global.com.techsmith.events.IEventDispatcher = function () {};
var v1 = _global.com.techsmith.events.IEventDispatcher.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20482 __Packages.com.techsmith.ui.ComponentBase {
#initclip
if (!com.techsmith.ui.ComponentBase) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.ComponentBase = function () {
super();
this.dispatcher = new com.techsmith.events.EventDispatcher();
};
_global.com.techsmith.ui.ComponentBase extends com.techsmith.ui.Movable;
var v1 = _global.com.techsmith.ui.ComponentBase.prototype;
_global.com.techsmith.ui.ComponentBase.create = function (container, name, depth, init) {
Object.registerClass('ComponentBase', com.techsmith.ui.ComponentBase);
var v6 = container.attachMovie('ComponentBase', name, depth, init);
return com.techsmith.ui.ComponentBase(v6);
};
v1.setEnabled = function (val) {
this.enabled = val;
};
v1.init = function () {};
v1.setSize = function (w, h) {};
v1.setText = function (t) {};
v1.size = function () {};
v1.destroy = function () {
this.removeAllListeners();
delete this.dispatcher;
this.removeMovieClip(this);
};
v1.onUnload = function () {
this.destroy();
};
v1.createLabel = function (id, init, props) {
this.createTextField(id, init.depth, init.x, init.y, init.w, init.h);
var v5 = this[id];
for (var i in props) {
v5[i] = props[i];
}
return v5;
};
v1.setScale = function (xscale, yscale) {
this._xscale = xscale;
this._yscale = yscale;
};
v1.setVisible = function (visible) {
this._visible = visible;
};
v1.setOpacity = function (percent) {
this._alpha = percent;
};
v1.getDimensions = function () {
return new com.techsmith.utils.Dimension(this._width, this._height);
};
v1.getLocation = function () {
return new com.techsmith.utils.Point(this._x, this._y);
};
v1.addEventListener = function (event, scope) {
this.dispatcher.addEventListener(event, scope);
};
v1.removeEventListener = function (event, scope) {
this.dispatcher.removeEventListener(event, scope);
};
v1.dispatchEvent = function (eventObj) {
this.dispatcher.dispatchEvent(eventObj);
};
v1.removeEventListeners = function (event) {
this.dispatcher.removeEventListeners(event);
};
v1.removeAllListeners = function () {
this.dispatcher.removeAllListeners();
};
v1.__get__width = function () {
return this._width;
};
v1.__get__height = function () {
return this._height;
};
v1.__get__x = function () {
return this._x;
};
v1.__get__y = function () {
return this._y;
};
v1.addProperty('x', v1.__get__x, function () {});
v1.addProperty('height', v1.__get__height, function () {});
v1.addProperty('y', v1.__get__y, function () {});
v1.addProperty('width', v1.__get__width, function () {});
_global.com.techsmith.ui.ComponentBase implements com.techsmith.events.IEventDispatcher;
ASSetPropFlags(v1, null, 1);
v1.dispatcher = null;
}
#endinitclip
}
movieClip 20483 __Packages.com.techsmith.ui.Component {
#initclip
if (!com.techsmith.ui.Component) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.Component = function () {
super();
com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.FuseFMP, com.mosesSupposes.fuse.PennerEasing);
this.useHandCursor = false;
};
_global.com.techsmith.ui.Component extends com.techsmith.ui.ComponentBase;
var v1 = _global.com.techsmith.ui.Component.prototype;
_global.com.techsmith.ui.Component.create = function (container, name, depth, init) {
Object.registerClass('Component', com.techsmith.ui.Component);
var v6 = container.attachMovie('Component', name, depth, init);
return com.techsmith.ui.Component(v6);
};
v1.createRect = function (source) {
return new flash.geom.Rectangle(0, 0, source._width, source._height);
};
v1.getRect = function () {
return new flash.geom.Rectangle(0, 0, this._width, this._height);
};
v1.createShadow = function (filter) {
var v3 = new Array();
if (filter == null) {
filter = new flash.filters.DropShadowFilter(4, 45, 0, 0.8, 8, 8, 1, 3, false, false, false);
}
v3.push(filter);
this.filters = v3;
};
v1.animate = function (fuseSequence, loopSequence) {
if (com.mosesSupposes.fuse.ZigoEngine.isTweening(this)) {
com.mosesSupposes.fuse.Fuse.close();
}
if (loopSequence != null) {
this.loop = loopSequence;
}
this.fuse = fuseSequence;
this.fuse.addTarget(this);
this.fuse.addEventListener(com.techsmith.events.Events.ON_COMPLETE, com.techsmith.utils.Delegate.create(this, this.fuseComplete));
this.fuse.start();
};
v1.fuseComplete = function (e) {
if (this.loop) {
this.fuse.start();
} else {
this.destroyAnimation();
}
this.dispatchEvent({'type': com.techsmith.events.Events.ANIMATION_COMPLETE, 'target': this});
};
v1.destroyAnimation = function () {
com.mosesSupposes.fuse.Fuse.close();
this.fuse.removeAllListeners();
this.fuse.destroy();
delete this.fuse;
};
v1.destroy = function () {
this.destroyAnimation();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.fuse = null;
v1.loop = false;
}
#endinitclip
}
movieClip 20484 __Packages.com.techsmith.ui.TextObject {
#initclip
if (!com.techsmith.ui.TextObject) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.TextObject = function () {
super();
};
_global.com.techsmith.ui.TextObject extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.TextObject.prototype;
_global.com.techsmith.ui.TextObject.create = function (container, name, depth, init) {
Object.registerClass('TextObject', com.techsmith.ui.TextObject);
var v6 = container.attachMovie('TextObject', name, depth, init);
return com.techsmith.ui.TextObject(v6);
};
v1.init = function (w, h, format, textprops) {
this.__width = w;
this.__height = h;
this.textFormat = format;
this.textProps = textprops;
this.draw();
this.addEventCallbacks();
};
v1.draw = function () {
this.drawBackground();
this.createField();
this.createFormat();
};
v1.createField = function () {
var v2 = this.textPadding;
var v3 = this.__width - this.textPadding * 2;
var v4 = this.__height - this.textPadding * 2;
if (this.border) {
v2 = this.borderPadding + this.textPadding;
v3 = this.__width - (this.borderPadding + this.textPadding * 2);
v4 = this.__height - (this.borderPadding + this.textPadding * 2);
}
this.textField = this.createLabel('textField', {'depth': 3, 'x': v2, 'y': v2, 'w': v3, 'h': v4});
this.tfMaxWidth = v3;
this.tfMaxHeight = v4;
if (this.type == null) {
this.type = 'input';
}
if (this.selectable == null) {
this.selectable = true;
}
if (this.html == null) {
this.html = true;
}
if (this.wordWrap == null) {
this.wordWrap = true;
}
if (this.multiline == null) {
this.multiline = true;
}
this.textField.type = this.type;
this.textField.selectable = this.selectable;
this.textField.html = this.html;
this.textField.wordWrap = this.wordWrap;
this.textField.multiline = this.multiline;
for (var i in this.textProps) {
this.textField[i] = this.textProps[i];
}
this.type = this.textField.type;
};
v1.createFormat = function () {
if (this.textFormat == null) {
this.textFormat = new TextFormat();
this.textFormat.align = this.align;
this.textFormat.font = this.font;
this.textFormat.bold = this.bold;
this.textFormat.size = this.size;
if (!this.html) {
this.textFormat.color = _global.parseInt(this.textColor, 16);
}
this.textFormat.leftMargin = 0;
}
this.textField.setNewTextFormat(this.textFormat);
};
v1.drawBackground = function () {
this.background = this.createEmptyMovieClip('background', 1);
var v2 = this.__width;
var v3 = this.__height;
var v4 = 0;
var v5 = 0;
if (this.border) {
com.techsmith.utils.shapes.Rectangle.draw(this.background, undefined, this.__width, this.__height, undefined, {'thickness': this.strokeWeight, 'rgb': this.borderColor, 'alpha': 100}, {'x': 0, 'y': 0});
v2 = this.__width - this.borderPadding * 2;
v3 = this.__height - this.borderPadding * 2;
v4 = this.borderPadding;
v5 = this.borderPadding;
}
com.techsmith.utils.shapes.Rectangle.draw(this.background, this.fillColor, v2, v3, this.fillOpacity, {'thickness': this.strokeWeight, 'rgb': this.strokeColor, 'alpha': this.strokeOpacity}, {'x': v4, 'y': v5});
this.fillWidth = v2;
this.fillHeight = v3;
this.fillx = v4;
this.filly = v5;
};
v1.drawFocusHighlight = function () {
this.highlight = this.createEmptyMovieClip('highlight', 2);
com.techsmith.utils.shapes.Rectangle.draw(this.highlight, undefined, this.__width, this.__height, undefined, {'thickness': this.strokeWeight, 'rgb': this.highlightColor, 'alpha': 100}, {'x': 0, 'y': 0});
};
v1.drawDisabled = function () {
this.disabledClip = this.createEmptyMovieClip('disabledClip', 4);
com.techsmith.utils.shapes.Rectangle.draw(this.disabledClip, this.disabledColor, this.__width, this.__height, 60, undefined, {'x': 0, 'y': 0});
};
v1.addEventCallbacks = function () {
this.textField.onSetFocus = com.techsmith.utils.Delegate.create(this, this.onSetFocus);
this.textField.onKillFocus = com.techsmith.utils.Delegate.create(this, this.onKillFocus);
this.textField.addListener(this);
};
v1.removeEventCallbacks = function () {
delete this.textField.onSetFocus;
delete this.textField.onKillFous;
this.textField.removeListener(this);
};
v1.getHtmlColor = function (s) {
return '<font color=\'#' + this.textColor + '\'>' + s + '</font>';
};
v1.setText = function (s) {
this.text = s;
if (this.textField.html) {
this.textField.htmlText = this.getHtmlColor(s);
} else {
this.textField.text = s;
}
this.textField.setTextFormat(this.textFormat);
};
v1.getText = function () {
return this.textField.text;
};
v1.getFormattedText = function () {
return this.textField.htmlText;
};
v1.setEnabled = function (bEnabled) {
if (bEnabled) {
this.focusEnabled = true;
this.textField.type = this.type;
this.textField.selectable = true;
this.disabledClip.removeMovieClip();
} else {
this.onKillFocus();
this.focusEnabled = false;
this.textField.selectable = false;
this.textField.type = 'dynamic';
this.drawDisabled();
}
};
v1.giveFocus = function () {
Selection.setFocus(this.textField);
};
v1.onSetFocus = function (oldFocus) {
this.drawFocusHighlight();
Key.addListener(this);
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.FOCUS_IN});
};
v1.onKillFocus = function (newFocus) {
Key.removeListener(this);
this.highlight.removeMovieClip();
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.FOCUS_OUT});
};
v1.onChanged = function () {
this.text = this.textField.text;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.CHANGE});
};
v1.onKeyDown = function () {
if (Key.getCode() == Key.ENTER) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.KEY_ENTER});
}
};
v1.destroy = function () {
this.onKillFocus();
this.removeEventCallbacks();
this.textField.removeTextField();
this.removeAllListeners();
super.destroy();
};
v1.onUnload = function () {
this.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.__width = null;
v1.__height = null;
v1.text = '';
v1.textField = null;
v1.textProps = null;
v1.textFormat = null;
v1.textColor = '666666';
v1.background = null;
v1.highlight = null;
v1.disabledClip = null;
v1.borderColor = 13158600;
v1.strokeColor = 13158600;
v1.strokeOpacity = 100;
v1.fillColor = 16777215;
v1.highlightColor = 11066869;
v1.disabledColor = 16777215;
v1.fillOpacity = 100;
v1.type = null;
v1.selectable = null;
v1.html = null;
v1.wordWrap = null;
v1.multiline = null;
v1.textPadding = 3;
v1.borderPadding = 3;
v1.strokeWeight = 1;
v1.border = true;
v1.fillWidth = null;
v1.fillHeight = null;
v1.fillx = null;
v1.filly = null;
v1.tfMaxWidth = null;
v1.tfMaxHeight = null;
v1.focusEnabled = true;
v1.align = 'left';
v1.font = 'Arial';
v1.size = 14;
v1.bold = false;
}
#endinitclip
}
movieClip 20485 __Packages.com.techsmith.camtasia.CamtasiaPlayer {
#initclip
if (!com.techsmith.camtasia.CamtasiaPlayer) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.CamtasiaPlayer = function () {
super();
};
_global.com.techsmith.camtasia.CamtasiaPlayer extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.CamtasiaPlayer.prototype;
_global.com.techsmith.camtasia.CamtasiaPlayer.create = function (container, name, depth, init) {
Object.registerClass('CamtasiaPlayer', com.techsmith.camtasia.CamtasiaPlayer);
var v6 = container.attachMovie('CamtasiaPlayer', name, depth, init);
return com.techsmith.camtasia.CamtasiaPlayer(v6);
};
v1.init = function (dim, content, fps, options) {
this.content = content;
content.gotoAndStop(1);
this.fps = fps;
this.layoutApplication(dim, options);
this.registerListeners();
};
v1.start = function () {
this.rollMedia();
this.playback.setSelected(false);
this.content.onEnterFrame = com.techsmith.utils.Delegate.create(this, this.enterFrameHandler);
};
v1.layoutApplication = function (dim, options) {
this.background = com.techsmith.ui.panels.HPanel.create(this, 'background', 1);
this.background.init(new com.techsmith.utils.Dimension(dim.width, this.controlsHeight), new com.techsmith.ui.panels.PanelStyle('BottomLeft', 'BottomMiddle', 'BottomRight'));
this.background.move(0, 0);
this.playback = com.techsmith.ui.BasicButton.create(this, 'playback', 2);
this.playback.init(new com.techsmith.ui.ButtonStyle('Pause', 'Play', true));
this.playback.move(this.background._x + this.margin, this.background._y + (this.background._height - this.playback._height) / 2);
this.playback.setSelected(true);
this.slider = com.brooksandrus.ui.ProgressSlider.create(this, 'slider', 3);
this.separator = this.attachMovie('Separator', 'separator', 4);
this.time = com.techsmith.camtasia.TimeDisplay.create(this, 'time', 20);
this.time.init(this.framesToSeconds(this.content._totalframes));
this.time.move(dim.width - (this.margin + this.time._width), this.background._y + (this.background._height - this.time._height) / 2);
var v4 = new Array();
if (options.about) {
this.about = com.techsmith.ui.BasicButton.create(this, 'about', 9);
this.about.init(new com.techsmith.ui.ButtonStyle('AboutIcon', null, false));
this.about.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.aboutHandler));
v4.push(this.about);
}
if (options.captions) {
this.captions = com.techsmith.ui.BasicButton.create(this, 'captions', 8);
this.captions.init(new com.techsmith.ui.ButtonStyle('CC', 'CCClosed', true));
this.captions.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.captionsHandler));
v4.push(this.captions);
}
if (options.fullscreen) {
this.fullscreen = com.techsmith.ui.BasicButton.create(this, 'fullscreen', 7);
this.fullscreen.init(new com.techsmith.ui.ButtonStyle('ScreenMax', 'ScreenMin', true));
this.fullscreen.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.fullscreenHandler));
v4.push(this.fullscreen);
}
if (options.toc) {
this.toc = com.techsmith.ui.BasicButton.create(this, 'toc', 6);
this.toc.init(new com.techsmith.ui.ButtonStyle('TocIcon', 'TocIconClosed', true));
this.toc.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.tocHandler));
v4.push(this.toc);
}
if (options.audio) {
this.audio = com.techsmith.ui.BasicButton.create(this, 'audio', 5);
this.audio.init(new com.techsmith.ui.ButtonStyle('AudioIcon', 'AudioIconSelected', true));
v4.push(this.audio);
}
v4.push(this.separator);
var v5 = this.time._x;
var v6 = 0;
goto 4179;
for (;;) {
++v6;
label 4179:
if (v6 >= v4.length) break;
v4[v6]._x = v5 - (v4[v6]._width + this.padding);
v4[v6]._y = Math.round(this.background._y + (this.background._height - v4[v6]._height) / 2);
v5 = v4[v6]._x;
}
var v7 = Math.round(this.separator._x - (this.playback._x + this.playback._width + this.padding * 4));
var v8 = 2;
var v9 = new com.techsmith.utils.Dimension(v7, v8);
var v10 = new com.techsmith.ui.panels.PanelStyle('SliderBase');
var v11 = new flash.geom.Rectangle(0.5, 0.5, 8, 2);
var v12 = v9;
var v13 = new com.techsmith.ui.panels.PanelStyle('SliderFill');
var v14 = v11;
this.slider.init(v9, v10, v11, v12, v13, v14);
this.slider.setProgress({'percent': 100});
var v15 = Math.round(this.playback._x + this.playback._width + this.padding * 2);
var v16 = this.background._y + (this.background._height - this.slider.height) / 2;
this.slider.move(v15, v16);
};
v1.registerListeners = function () {
this.playback.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.playbackHandler));
this.playback.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE_OUT, com.techsmith.utils.Delegate.create(this, this.playbackHandler));
this.slider.addEventListener(com.techsmith.events.Events.PROGRESS, com.techsmith.utils.Delegate.create(this, this.progressHandler));
this.slider.addEventListener(com.techsmith.events.Events.DRAG_START, com.techsmith.utils.Delegate.create(this, this.dragHandler));
this.slider.addEventListener(com.techsmith.events.Events.DRAG_STOP, com.techsmith.utils.Delegate.create(this, this.dragHandler));
this.audio.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.audioClickHandler));
this.audio.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OVER, com.techsmith.utils.Delegate.create(this, this.audioOverHandler));
this.audio.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OUT, com.techsmith.utils.Delegate.create(this, this.tipOutHandler));
this.toc.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OVER, com.techsmith.utils.Delegate.create(this, this.tipOverHandler));
this.toc.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OUT, com.techsmith.utils.Delegate.create(this, this.tipOutHandler));
this.captions.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OVER, com.techsmith.utils.Delegate.create(this, this.tipOverHandler));
this.captions.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OUT, com.techsmith.utils.Delegate.create(this, this.tipOutHandler));
this.fullscreen.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OVER, com.techsmith.utils.Delegate.create(this, this.tipOverHandler));
this.fullscreen.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OUT, com.techsmith.utils.Delegate.create(this, this.tipOutHandler));
this.about.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OVER, com.techsmith.utils.Delegate.create(this, this.tipOverHandler));
this.about.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OUT, com.techsmith.utils.Delegate.create(this, this.tipOutHandler));
};
v1.playbackHandler = function (e) {
if (e.selected) {
this.freezeMedia();
} else {
this.rollMedia();
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.STARTED});
}
};
v1.freezeMedia = function () {
this.content.stop();
this.isPlaying = false;
delete this.content.onEnterFrame;
};
v1.rollMedia = function () {
this.content.play();
this.isPlaying = true;
this.content.onEnterFrame = com.techsmith.utils.Delegate.create(this, this.enterFrameHandler);
};
v1.seek = function (time) {
var v3 = this.content._framesloaded;
var v4 = this.content._totalframes;
var v5 = this.content._currentframe;
var v6 = Math.round(time * this.fps) + 1;
if (v6 > v3 && v3 != v4) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.SEEK_ERROR});
return undefined;
}
if (v6 > v4) {
v6 = v4;
}
if (this.isPlaying && v6 < v4) {
this.content.gotoAndPlay(v6);
} else {
this.content.gotoAndStop(v6);
}
var v7 = (v6 == 1) ? 0 : v6 / v4;
this.updateTime(this.framesToSeconds(v6));
this.updateSlider(v7);
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.SEEK_COMPLETE, 'time': time, 'currentframe': this.content._currentframe, 'totalframe': this.content._totalframes, 'playing': this.isPlaying});
};
v1.replay = function () {
this.playMedia();
};
v1.playMedia = function () {
if (!this.isPlaying) {
this.playback.setSelected(false);
this.rollMedia();
}
};
v1.stopMedia = function () {
if (this.isPlaying) {
this.playback.setSelected(true);
this.freezeMedia();
}
};
v1.aboutEnabled = function (enable) {
this.about.setEnabled(enable);
};
v1.setProgress = function (percent) {
this.slider.setProgress({'percent': percent});
};
v1.getAudioPosition = function () {
return new com.techsmith.utils.Point(this.audio._x, this._y);
};
v1.getAudioDimensions = function () {
return new com.techsmith.utils.Dimension(this.audio._width, this.audio._height);
};
v1.setAudioState = function (value) {
this.audio.setSelected(value);
};
v1.getAudioState = function () {
return this.audio.getSelected();
};
v1.progressHandler = function (e) {
var v3 = Math.round(e.fractPercent * this.content._totalframes);
if (v3 == 0) {
v3 = 1;
}
this.updateTime(this.framesToSeconds(v3));
this.updateSlider(e.fractPercent);
this.content.gotoAndStop(v3);
this.dispatchEvent({'type': com.techsmith.events.Events.ENTER_FRAME, 'target': this, 'currentframe': this.content._currentframe, 'totalframe': this.content._totalframes, 'playing': this.isPlaying});
};
v1.dragHandler = function (e) {
if (e.type == com.techsmith.events.Events.DRAG_START) {
if (this.isPlaying) {
delete this.content.onEnterFrame;
}
this.dispatchEvent(e);
} else {
if (this.isPlaying) {
this.content.play();
this.content.onEnterFrame = com.techsmith.utils.Delegate.create(this, this.enterFrameHandler);
}
}
if (e.type == com.techsmith.events.Events.DRAG_STOP) {
this.dispatchEvent(e);
}
};
v1.audioClickHandler = function (e) {
this.dispatchEvent({'type': com.techsmith.camtasia.CamtasiaPlayer.AUDIO_CLICK, 'target': this});
this.tipOutHandler();
};
v1.audioOverHandler = function (e) {
this.dispatchEvent({'type': com.techsmith.camtasia.CamtasiaPlayer.AUDIO_OVER, 'target': this});
this.tipOverHandler(e);
};
v1.tipOverHandler = function (e) {
switch (com.techsmith.ui.BasicButton(e.target)) {
case this.audio:
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.TOOLTIP, 'message': 'Volume'});
break;
case this.toc:
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.TOOLTIP, 'message': 'Table of Contents'});
break;
case this.captions:
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.TOOLTIP, 'message': 'Closed Captioning'});
break;
case this.fullscreen:
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.TOOLTIP, 'message': 'Fullscreen'});
break;
case this.about:
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.TOOLTIP, 'message': 'About / Info'});
}
};
v1.tipOutHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.TOOLTIP, 'message': 'destroy'});
};
v1.aboutHandler = function (e) {
e.target = this;
e.id = 'about';
this.dispatchEvent(e);
this.tipOutHandler();
};
v1.captionsHandler = function (e) {
e.target = this;
e.id = 'captions';
this.dispatchEvent(e);
this.tipOutHandler();
};
v1.fullscreenHandler = function (e) {
if (Stage.displayState == 'normal') {
Stage.displayState = 'fullscreen';
this.dispatchEvent({'type': com.techsmith.events.Events.CHANGE, 'target': this, 'display': 'max'});
} else {
Stage.displayState = 'normal';
this.dispatchEvent({'type': com.techsmith.events.Events.CHANGE, 'target': this, 'display': 'min'});
}
this.tipOutHandler();
};
v1.tocHandler = function (e) {
e.target = this;
e.id = 'toc';
this.dispatchEvent(e);
this.tipOutHandler();
};
v1.enterFrameHandler = function () {
var v2 = this.content._currentframe;
var v3 = this.content._totalframes;
if (v2 == v3) {
this.freezeMedia();
this.playback.setSelected(true);
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.COMPLETE});
}
this.updateTime(this.framesToSeconds(this.content._currentframe));
this.updateSlider(this.content._currentframe / v3);
this.dispatchEvent({'type': com.techsmith.events.Events.ENTER_FRAME, 'target': this, 'currentframe': this.content._currentframe, 'totalframe': this.content._totalframes, 'playing': this.isPlaying});
};
v1.framesToSeconds = function (frame) {
return frame / this.fps;
};
v1.updateTime = function (seconds) {
this.time.setTime(seconds);
};
v1.updateSlider = function (percent) {
this.slider.setPosition(percent * 100);
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.CamtasiaPlayer.AUDIO_CLICK = 'audioClick';
_global.com.techsmith.camtasia.CamtasiaPlayer.AUDIO_OVER = 'audioOver';
v1.background = null;
v1.playback = null;
v1.slider = null;
v1.separator = null;
v1.audio = null;
v1.toc = null;
v1.captions = null;
v1.fullscreen = null;
v1.about = null;
v1.time = null;
v1.content = null;
v1.margin = 5;
v1.padding = 5;
v1.controlsHeight = 18;
v1.fps = 0;
v1.isPlaying = false;
}
#endinitclip
}
movieClip 20486 __Packages.com.techsmith.ui.Container {
#initclip
if (!com.techsmith.ui.Container) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.Container = function () {
super();
this.children = new com.techsmith.ui.ComponentCollection();
this.depthManager = new com.techsmith.ui.managers.DepthManager();
};
_global.com.techsmith.ui.Container extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.Container.prototype;
_global.com.techsmith.ui.Container.create = function (container, name, depth, init) {
Object.registerClass('Container', com.techsmith.ui.Container);
var v6 = container.attachMovie('Container', name, depth, init);
return com.techsmith.ui.Container(v6);
};
v1.addChild = function (component, id, init) {
var v5 = component.create(this, id, this.depthManager.getNextDepth(), init);
if (v5 instanceof com.techsmith.ui.Container) {
this.children.addItem(v5);
return v5;
}
this.children.addItem(v5);
return v5;
};
v1.addChildAt = function (component, id, depth, init) {
var v6 = component.create(this, id, depth, init);
this.children.addItem(v6);
return v6;
};
v1.addChildComponent = function (component) {
this.children.addItem(component);
};
v1.addChildComponentAt = function (component, index) {
this.children.addItemAt(component, index);
};
v1.getCollectionIndex = function (item) {
var v3 = this.children.getItemIndex(item);
if (v3 == null || _global.isNaN(v3)) {
return -1;
} else {
return v3;
}
};
v1.getCollectionIndexById = function (id) {
var v3 = this.children.getItemIndexById(id);
if (v3 == null || _global.isNaN(v3)) {
return -1;
} else {
return v3;
}
};
v1.getChildren = function () {
return this.children;
};
v1.getChildAt = function (index) {
return this.children.getItemAt(index);
};
v1.getChildById = function (id) {
return this.children.getItemById(id);
};
v1.createChildren = function () {};
v1.destroy = function () {
super.destroy();
var v3 = this.children.getIterator();
while (v3.hasNext()) {
var v4 = com.techsmith.ui.Component(v3.next());
v4.destroy();
this.children.removeItem(v4);
}
delete this.children;
};
v1.onUnload = function () {
this.destroy();
};
v1.getNextDepth = function () {
return this.depthManager.getNextDepth();
};
ASSetPropFlags(v1, null, 1);
v1.children = null;
v1.depthManager = null;
}
#endinitclip
}
movieClip 20487 __Packages.com.techsmith.ui.Window {
#initclip
if (!com.techsmith.ui.Window) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.Window = function () {
super();
};
_global.com.techsmith.ui.Window extends com.techsmith.ui.Container;
var v1 = _global.com.techsmith.ui.Window.prototype;
_global.com.techsmith.ui.Window.create = function (container, name, depth, init) {
Object.registerClass('Window', com.techsmith.ui.Window);
var v6 = container.attachMovie('Window', name, depth, init);
return com.techsmith.ui.Window(v6);
};
v1.init = function (bDim, style) {};
v1.setupContent = function () {};
v1.getContentDepth = function () {
if (this.content != null) {
var v2 = this.content.getDepth();
return v2;
}
v2 = this.depthManager.getNextDepth();
return v2;
};
v1.alignCanvas = function (bDim, fDim) {
this.background.move(0, 0);
if (this.centerCanvas) {
this.foreground.move(this.hPadding, this.vPadding);
} else {
this.foreground.move(this.fillx, this.filly);
}
};
v1.setTitle = function (title) {};
v1.setContent = function () {};
v1.getContentLoc = function () {
var v2 = this.vContentPadding;
if (this.exit != null) {
v2 += (this.exit.getLocation()).y + (this.exit.getDimensions()).height;
}
return new com.techsmith.utils.Point(this.hContentPadding, v2);
};
v1.positionContent = function () {
var v2 = this.getContentLoc();
this.content.move(v2.x, v2.y);
};
v1.exitButtonHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.CLOSE});
this.destroy();
};
v1.destroy = function () {
this.exit.destroy();
this.content.destroy();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.hPadding = 1;
v1.vPadding = 1;
v1.fillx = 1;
v1.filly = 1;
v1.hContentPadding = 8;
v1.vContentPadding = 6;
v1.composite = true;
v1.centerCanvas = true;
v1.background = null;
v1.foreground = null;
v1.dragArea = null;
v1.exit = null;
v1.content = null;
v1.label = null;
v1.exitStyle = null;
v1.bgStyle = null;
v1.fgStyle = null;
v1.bgDim = null;
v1.fgDim = null;
v1.draggable = true;
}
#endinitclip
}
movieClip 20488 __Packages.com.techsmith.xskin.ui.XSWindow {
#initclip
if (!com.techsmith.xskin.ui.XSWindow) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
_global.com.techsmith.xskin.ui.XSWindow = function () {
super();
this.bgStyle = com.techsmith.xskin.ui.panels.styles.StyleFactory.GLASS;
this.fgStyle = com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK;
this.exitStyle = (this.exitStyle == null) ? new com.techsmith.ui.ButtonStyle('XSClose', null, false) : this.exitStyle;
};
_global.com.techsmith.xskin.ui.XSWindow extends com.techsmith.ui.Window;
var v1 = _global.com.techsmith.xskin.ui.XSWindow.prototype;
_global.com.techsmith.xskin.ui.XSWindow.create = function (container, name, depth, init) {
Object.registerClass('XSWindow', com.techsmith.xskin.ui.XSWindow);
var v6 = container.attachMovie('XSWindow', name, depth, init);
return com.techsmith.xskin.ui.XSWindow(v6);
};
v1.init = function (bDim) {
this.setupWindowChrome(bDim);
this.setupContent();
};
v1.setupWindowChrome = function (bDim) {
this.background = this.addChild(com.techsmith.xskin.ui.panels.XSPanel, 'background');
if (this.composite) {
this.foreground = this.addChild(com.techsmith.xskin.ui.panels.XSPanel, 'foreground');
}
this.dragArea = this.addChild(com.techsmith.xskin.ui.panels.XSPanel, 'dragArea', {'dragScope': this});
this.background.init(bDim, com.techsmith.ui.canvas.AbstractCanvas.BASIC, this.bgStyle);
var v3 = new com.techsmith.utils.Dimension(bDim.width - this.hPadding * 2, bDim.height - this.vPadding * 2);
this.foreground.init(v3, com.techsmith.ui.canvas.AbstractCanvas.BASIC, this.fgStyle);
this.dragArea.init(bDim, com.techsmith.ui.canvas.AbstractCanvas.DRAG, this.bgStyle);
this.dragArea.setOpacity(0);
this.alignCanvas(bDim, v3);
this.bgDim = bDim;
this.fgDim = v3;
this.exit = this.addChild(com.techsmith.ui.BasicButton, 'exit');
this.exit.init(this.exitStyle);
this.exit.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.exitButtonHandler));
var v4 = bDim.width - ((this.exit.getDimensions()).width + this.hContentPadding);
this.exit.move(v4, 0);
};
v1.setupContent = function (tab) {};
v1.addToCollection = function (id, comp) {
var v4 = this.getCollectionIndexById(id);
if (v4 == -1) {
this.addChildComponent(comp);
} else {
this.addChildComponentAt(v4);
}
};
v1.setTitle = function (title) {
this.label.setText(title);
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20489 __Packages.com.techsmith.camtasia.quiz.ISummary {
#initclip
if (!com.techsmith.camtasia.quiz.ISummary) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.ISummary = function () {};
var v1 = _global.com.techsmith.camtasia.quiz.ISummary.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20490 __Packages.com.techsmith.camtasia.quiz.SCORMSummary {
#initclip
if (!com.techsmith.camtasia.quiz.SCORMSummary) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.SCORMSummary = function () {
super();
};
_global.com.techsmith.camtasia.quiz.SCORMSummary extends com.techsmith.xskin.ui.XSWindow;
var v1 = _global.com.techsmith.camtasia.quiz.SCORMSummary.prototype;
_global.com.techsmith.camtasia.quiz.SCORMSummary.create = function (container, name, depth, init) {
Object.registerClass('SCORMSummary', com.techsmith.camtasia.quiz.SCORMSummary);
var v6 = container.attachMovie('SCORMSummary', name, depth, init);
return com.techsmith.camtasia.quiz.SCORMSummary(v6);
};
v1.init = function (dim, style, summaryData) {
this.summaryData = summaryData;
super.init(dim, style);
};
v1.setupWindowChrome = function (bDim) {
super.setupWindowChrome(bDim);
this.label = this.addChild(com.techsmith.ui.Label, 'label', {'multiline': false, 'color': 'FFFFFF', 'size': 14});
var v4 = this.getContentLoc();
this.label.move(v4.x, (v4.y - this.label._height) / 2);
this.sendBtn = this.addChild(com.techsmith.ui.LabelButton, 'sendBtn', {'defaultFontColor': 16777215});
var v5 = new com.techsmith.ui.panels.PanelStyle('RedGlassLUp', 'RedGlassMUp', 'RedGlassRUp');
var v6 = new com.techsmith.ui.panels.PanelStyle('RedGlassLOver', 'RedGlassMOver', 'RedGlassROver');
var v7 = new com.techsmith.ui.panels.PanelStyle('RedGlassLDown', 'RedGlassMDown', 'RedGlassRDown');
var v8 = new com.techsmith.ui.panels.PanelStyle('RedGlassLDisabled', 'RedGlassMDisabled', 'RedGlassRDisabled');
this.sendBtn.init('', 75, null, {'up': v5, 'over': v6, 'down': v7, 'disabled': v8});
var v9 = this._width - (this.sendBtn._width + this.hmargin);
var v10 = this._height - (this.vmargin - (this.vmargin - this.sendBtn._height) / 2);
var v11 = 5;
this.sendBtn.move(v9, v10);
this.status = this.addChild(com.techsmith.ui.TextObject, 'status', {'border': false, 'fillOpacity': 0, 'strokeOpacity': 0, 'size': 10, 'textColor': 'FFFFFF', 'type': 'dynamic', 'selectable': false});
this.status.init(this.sendBtn._x - (this.hmargin + 5), 22);
this.status.move(this.hmargin, v10 - (this.status._height - this.sendBtn._height) / 2);
this.sendBtn.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.sendBtnHandler));
};
v1.setupContent = function () {
this.content = this.addChild(com.techsmith.ui.TextObject, 'content', {'border': false, 'fillOpacity': 20, 'textColor': 'FFFFFF', 'type': 'dynamic', 'selectable': false});
this.content.init(this.bgDim.width - 20, this.bgDim.height - 62);
this.content.move((this.bgDim.width - this.content.width) / 2, (this.bgDim.height - this.content.height) / 2);
};
v1.updateUI = function () {
this.sendBtn.setEnabled(false);
this.content.setEnabled(false);
};
v1.setMessage = function (message) {
this.content.setText(message);
};
v1.setStatus = function (message) {
this.status.setText(message);
};
v1.setButtonLabels = function (previewLabel, sendLabel) {
this.sendBtn.setLabel(sendLabel);
};
v1.sendBtnHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.SCORMSummary.SEND_EVENT});
};
v1.destroy = function () {
this.sendBtn.removeAllListeners();
super.destroy();
};
_global.com.techsmith.camtasia.quiz.SCORMSummary implements com.techsmith.camtasia.quiz.ISummary;
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.quiz.SCORMSummary.SEND_EVENT = 'scormSendEvent';
v1.sendBtn = null;
v1.status = null;
v1.hmargin = 10;
v1.vmargin = 31;
v1.summaryData = null;
}
#endinitclip
}
movieClip 20491 __Packages.com.techsmith.ui.VolumeControl {
#initclip
if (!com.techsmith.ui.VolumeControl) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.VolumeControl = function () {
super();
this.backdrop = com.techsmith.ui.OneStateButton.create(this, 'backdrop', 3);
this.backdrop.init('VolumePanel');
var v3 = new com.techsmith.ui.panels.PanelStyle('SliderInsetLeft', 'SliderInsetMiddle', 'SliderInsetRight');
this.slider = com.techsmith.ui.Slider.create(this, 'slider', 4);
this.slider.init(new com.techsmith.utils.Dimension(75, 9), v3, v3);
this.slider._rotation = -90;
this.slider.setPosition(50);
var v4 = (this.backdrop._height - this.slider._height) / 2;
this.slider.move((this.backdrop._width - this.slider._width) / 2, this.backdrop._height - v4);
this.backdrop.addEventListener(com.techsmith.events.Events.MOUSE_ROLL_OUT, com.techsmith.utils.Delegate.create(this, this.mouseoutHandler));
this.backdrop.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE_OUT, com.techsmith.utils.Delegate.create(this, this.mouseoutHandler));
this.slider.addEventListener(com.techsmith.events.Events.PROGRESS, com.techsmith.utils.Delegate.create(this, this.positionHandler));
this.timerID = _global.setTimeout(this, 'checkActive', 3000);
};
_global.com.techsmith.ui.VolumeControl extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.VolumeControl.prototype;
_global.com.techsmith.ui.VolumeControl.create = function (container, name, depth, init) {
Object.registerClass('VolumeControl', com.techsmith.ui.VolumeControl);
var v6 = container.attachMovie('VolumeControl', name, depth, init);
return com.techsmith.ui.VolumeControl(v6);
};
v1.setPosition = function (volume) {
this.slider.setPosition(volume);
};
v1.checkActive = function () {
var v2 = this.hitTest(this._parent._xmouse, this._parent._ymouse, true);
if (!v2) {
this.destroy();
}
};
v1.positionHandler = function (e) {
this.dispatchEvent({'type': com.techsmith.ui.VolumeControl.VOLUME_EVENT, 'target': this, 'volume': e.percent});
};
v1.mouseoutHandler = function (e) {
this.checkActive();
};
v1.destroy = function () {
_global.clearTimeout(this.timerID);
this.backdrop.removeAllListeners();
this.slider.removeAllListeners();
this.backdrop.destroy();
this.slider.destroy();
this.removeAllListeners();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.ui.VolumeControl.VOLUME_EVENT = 'volumeEvent';
}
#endinitclip
}
movieClip 20492 __Packages.com.techsmith.ui.ButtonBase {
#initclip
if (!com.techsmith.ui.ButtonBase) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.ButtonBase = function () {
super();
};
_global.com.techsmith.ui.ButtonBase extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.ButtonBase.prototype;
v1.onRollOver = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_ROLL_OVER});
};
v1.onPress = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_PRESS});
};
v1.onRelease = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE});
};
v1.onReleaseOutside = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE_OUT});
};
v1.onRollOut = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_ROLL_OUT});
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20493 __Packages.com.techsmith.ui.BasicButton {
#initclip
if (!com.techsmith.ui.BasicButton) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.BasicButton = function () {
super();
};
_global.com.techsmith.ui.BasicButton extends com.techsmith.ui.ButtonBase;
var v1 = _global.com.techsmith.ui.BasicButton.prototype;
_global.com.techsmith.ui.BasicButton.create = function (container, name, depth, init) {
Object.registerClass('BasicButton', com.techsmith.ui.BasicButton);
var v6 = container.attachMovie('BasicButton', name, depth, init);
return com.techsmith.ui.BasicButton(v6);
};
v1.init = function (style) {
this.styleObj = style;
this.toggle = style.toggle;
if (!this.toggle) {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
} else {
if (this.selected) {
this.stateGraphic = this.attachMovie(this.styleObj.trueUpSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
}
}
this.positionIcon();
};
v1.positionIcon = function () {
this.stateGraphic._x = this.graphicx;
this.stateGraphic._y = this.graphicy;
};
v1.setSelected = function (selected, fireEvent) {
if (this.selected == selected) {
return undefined;
}
this.selected = selected;
if (selected) {
if (this.enabled) {
this.stateGraphic = this.attachMovie(this.styleObj.trueUpSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.trueDisabledSkin, 'stateGraphic', 2);
}
} else {
if (this.enabled) {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseDisabledSkin, 'stateGraphic', 2);
}
}
this.positionIcon();
if (fireEvent) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE});
}
};
v1.onRollOver = function () {
if (!this.toggle) {
this.stateGraphic = this.attachMovie(this.styleObj.falseOverSkin, 'stateGraphic', 2);
} else {
if (this.selected) {
this.stateGraphic = this.attachMovie(this.styleObj.trueOverSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseOverSkin, 'stateGraphic', 2);
}
}
this.positionIcon();
super.onRollOver();
};
v1.onPress = function () {
if (!this.toggle) {
this.stateGraphic = this.attachMovie(this.styleObj.falseDownSkin, 'stateGraphic', 2);
} else {
if (this.selected) {
this.stateGraphic = this.attachMovie(this.styleObj.trueDownSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseDownSkin, 'stateGraphic', 2);
}
}
this.positionIcon();
super.onPress();
};
v1.onRelease = function () {
this.selected = this.selected ? false : true;
if (!this.toggle) {
this.stateGraphic = this.attachMovie(this.styleObj.falseOverSkin, 'stateGraphic', 2);
} else {
if (this.selected) {
this.stateGraphic = this.attachMovie(this.styleObj.trueOverSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseOverSkin, 'stateGraphic', 2);
}
}
this.positionIcon();
if (this.toggle) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE, 'selected': this.selected});
} else {
super.onRelease();
}
};
v1.onReleaseOutside = function () {
this.selected = this.selected ? false : true;
if (!this.toggle) {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
} else {
if (this.selected) {
this.stateGraphic = this.attachMovie(this.styleObj.trueUpSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
}
}
this.positionIcon();
super.onReleaseOutside();
};
v1.onRollOut = function () {
if (!this.toggle) {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
} else {
if (this.selected) {
this.stateGraphic = this.attachMovie(this.styleObj.trueUpSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
}
}
this.positionIcon();
super.onRollOut();
};
v1.setEnabled = function (enable) {
this.enabled = enable;
if (!enable) {
if (!this.toggle) {
this.stateGraphic = this.attachMovie(this.styleObj.falseDisabledSkin, 'stateGraphic', 2);
} else {
if (this.selected) {
this.stateGraphic = this.attachMovie(this.styleObj.trueDisabledSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseDisabledSkin, 'stateGraphic', 2);
}
}
} else {
if (enable) {
if (!this.toggle) {
this.stateGraphic = this.attachMovie(this.styleObj.trueUpSkin, 'stateGraphic', 2);
} else {
if (this.selected) {
this.stateGraphic = this.attachMovie(this.styleObj.trueUpSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
}
}
}
}
this.positionIcon();
};
v1.getSelected = function () {
return this.selected;
};
ASSetPropFlags(v1, null, 1);
v1.selected = false;
v1.styleObj = null;
v1.stateGraphic = null;
v1.toggle = false;
v1.graphicy = 0;
v1.graphicx = 0;
}
#endinitclip
}
movieClip 20494 __Packages.com.techsmith.ui.RadioButton {
#initclip
if (!com.techsmith.ui.RadioButton) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.RadioButton = function () {
super();
this.tabEnabled = true;
if (this.useHighlight) {
this.highlight = this.createEmptyMovieClip('highlight', 1);
this.margin = this.highlightMargin;
}
this.indent = 10;
this.labelIndent = 2;
this.labelTopIndent = 2;
if (this.style == null) {
this.style = new com.techsmith.ui.ButtonStyle('RadioUnselected', 'RadioSelected', true);
}
};
_global.com.techsmith.ui.RadioButton extends com.techsmith.ui.BasicButton;
var v1 = _global.com.techsmith.ui.RadioButton.prototype;
_global.com.techsmith.ui.RadioButton.create = function (container, name, depth, init) {
Object.registerClass('RadioButton', com.techsmith.ui.RadioButton);
var v6 = container.attachMovie('RadioButton', name, depth, init);
return com.techsmith.ui.RadioButton(v6);
};
v1.init = function (label, w, group, font, size, weight, highlightColor, fieldProps) {
super.init(this.style);
this.groupName = group;
if (this._parent[group] == null) {
this._parent[group] = new com.techsmith.ui.RadioButtonGroup();
}
this.radioGroup = this._parent[group];
if (font == null) {
font = 'Arial';
}
if (size == null) {
size = 12;
}
if (weight == null) {
weight = false;
}
if (highlightColor == null) {
this.highlightColor = 13421772;
} else {
this.highlightColor = highlightColor;
}
this.radioGroup.addRadioButton(this);
this.createLabelFormat(font, size, weight);
this.label = label;
this.__width = w;
var v11 = this.__width - (this.margin * 2 + this.indent);
this.metrics = this.measure(label, v11);
this.__height = Math.max(this.stateGraphic._height, this.metrics.textFieldHeight - this.labelTopIndent);
this.graphicx = this.margin;
this.stateGraphic._x = this.graphicx;
this.createLabel();
for (var i in fieldProps) {
this.labelField[i] = fieldProps[i];
}
this.setLabel(label);
this.createHighlight();
};
v1.createLabelFormat = function (font, size, weight) {
this.labelFormat = new TextFormat();
this.labelFormat.font = font;
this.labelFormat.size = size;
this.labelFormat.bold = weight;
this.labelFormat.align = 'left';
this.labelFormat.color = this.fontColor;
};
v1.createLabel = function () {
var v2 = this.stateGraphic._x + this.stateGraphic._width + this.labelIndent;
this.createTextField('labelField', 6, v2, this.labelTopIndent, this.__width - (this.margin * 2 + v2), this.__height);
this.labelField._x = this.margin + this.stateGraphic._width + this.indent;
this.labelField._y = this.labelTopIndent;
this.labelField.html = true;
this.labelField.multiline = true;
this.labelField.wordWrap = true;
this.labelField.autoSize = true;
};
v1.createHighlight = function () {
this.highlight.clear();
com.techsmith.utils.shapes.Rectangle.draw(this.highlight, this.highlightColor, this.__width, this._height, 25, null, null);
this.highlight._visible = this.isHighlighted;
};
v1.centerIcon = function () {
if (this.__height > this.stateGraphic.__height) {
this.graphicy = (this.__height - this.labelTopIndent - this.stateGraphic._height) / 2;
this.stateGraphic._y = this.graphicy;
}
};
v1.measure = function (label, w) {
if (w == null) {
var v4 = this.labelFormat.getTextExtent(label);
return v4;
}
v4 = this.labelFormat.getTextExtent(label, w);
return v4;
};
v1.onRollOver = function () {
super.onRollOver();
this.isHighlighted = true;
this.highlight._visible = true;
};
v1.onRollOut = function () {
super.onRollOut();
this.isHighlighted = false;
this.highlight._visible = false;
};
v1.onRelease = function () {
if (!this.selected) {
super.onRelease();
this.positionIcon();
this.radioGroup.enforceSelectionRules(this);
}
};
v1.onReleaseOutside = function () {
this.isHighlighted = false;
this.highlight._visible = false;
};
v1.destroy = function () {
if (this.radioGroup.getSelected() == this) {
this.radioGroup.setSelected(null);
this.radioGroup.removeRadioButton(this);
}
super.destroy();
};
v1.setEnabled = function (enable) {
super.setEnabled(enable);
if (!enable) {
this.highlight._visible = false;
}
};
v1.setSelected = function (select, groupInited, fireEvent) {
if (this.selected == select && select) {
return undefined;
}
this.selected = select;
if (this.selected) {
if (this.enabled) {
this.stateGraphic = this.attachMovie(this.styleObj.trueUpSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.trueDisabledSkin, 'stateGraphic', 2);
}
} else {
if (this.enabled) {
this.stateGraphic = this.attachMovie(this.styleObj.falseUpSkin, 'stateGraphic', 2);
} else {
this.stateGraphic = this.attachMovie(this.styleObj.falseDisabledSkin, 'stateGraphic', 2);
}
}
this.positionIcon();
if (select && (!groupInited || groupInited == null)) {
this.radioGroup.enforceSelectionRules(this);
}
if (fireEvent) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE, 'data': this.data});
}
};
v1.setLabel = function (label) {
label = label;
if (this.labelField.html) {
this.labelField.htmlText = label;
} else {
this.labelField.text = label;
}
this.labelField.setTextFormat(this.labelFormat);
};
v1.__set__width = function (w) {
this.__height = w;
return this.__get__width();
};
v1.__get__width = function () {
return this._width;
};
v1.__get__height = function () {
return this._height;
};
v1.isSelected = function () {
return this.selected;
};
v1.getGroupName = function () {
return this.groupName;
};
v1.getGroup = function () {
return this.radioGroup;
};
v1.getValue = function () {
if (this.data == null) {
return this.label;
} else {
return this.data.toString();
}
};
v1.getData = function () {
return this.data;
};
v1.setData = function (data) {
this.data = data;
};
v1.getLabel = function () {
return this.label;
};
v1.addProperty('width', v1.__get__width, v1.__set__width);
v1.addProperty('height', v1.__get__height, function () {});
ASSetPropFlags(v1, null, 1);
v1.label = null;
v1.labelField = null;
v1.labelFormat = null;
v1.__width = null;
v1.__height = null;
v1.metrics = null;
v1.highlight = null;
v1.indent = null;
v1.margin = 0;
v1.labelIndent = null;
v1.labelTopIndent = null;
v1.isHighlighted = false;
v1.highlightColor = null;
v1.groupName = null;
v1.radioGroup = null;
v1.data = null;
v1.style = null;
v1.useHighlight = true;
v1.highlightMargin = 25;
v1.fontColor = 6710886;
}
#endinitclip
}
movieClip 20495 __Packages.com.brooksandrus.utils.Collection {
#initclip
if (!com.brooksandrus.utils.Collection) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.utils) {
_global.com.brooksandrus.utils = new Object();
}
_global.com.brooksandrus.utils.Collection = function () {};
var v1 = _global.com.brooksandrus.utils.Collection.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20496 __Packages.com.brooksandrus.utils.CollectionImpl {
#initclip
if (!com.brooksandrus.utils.CollectionImpl) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.utils) {
_global.com.brooksandrus.utils = new Object();
}
_global.com.brooksandrus.utils.CollectionImpl = function () {
this.items = [];
};
var v1 = _global.com.brooksandrus.utils.CollectionImpl.prototype;
v1.addItem = function (item) {
var v3 = false;
if (item != null) {
this.items.push(item);
v3 = true;
}
return v3;
};
v1.itemExists = function (item) {
var v3 = this.items.length;
var v4 = 0;
goto 642;
for (;;) {
++v4;
label 642:
if (v4 >= v3) break;
if (item == this.items[v4]) {
return true;
}
}
return false;
};
v1.addItemAt = function (item, index) {
var v4 = false;
if (item != null) {
this.items.splice(index, 0, item);
v4 = true;
}
return v4;
};
v1.removeItem = function (item) {
var v3 = false;
var v4 = this.getItemIndex(item);
if (v4 > -1) {
this.items.splice(v4, 1);
v3 = true;
}
return v3;
};
v1.getItemAt = function (index) {
return this.items[index];
};
v1.getItemIndex = function (item) {
var v3 = this.items.length;
var v4 = 0;
goto 1026;
for (;;) {
++v4;
label 1026:
if (v4 >= v3) break;
if (this.items[v4] == item) {
return v4;
}
}
return -1;
};
v1.replaceItemAt = function (item, index) {
var v4 = false;
if (item != null && index < this.items.length) {
this.items[index] = item;
v4 = true;
}
return v4;
};
v1.getLength = function () {
return this.items.length;
};
v1.isEmpty = function () {
return this.items.length == 0;
};
v1.getIterator = function () {
return new com.brooksandrus.utils.IteratorImpl(this);
};
v1.clear = function () {
this.items = [];
};
_global.com.brooksandrus.utils.CollectionImpl implements com.brooksandrus.utils.Collection;
ASSetPropFlags(v1, null, 1);
v1.items = null;
}
#endinitclip
}
movieClip 20497 __Packages.com.techsmith.ui.ComponentCollection {
#initclip
if (!com.techsmith.ui.ComponentCollection) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.ComponentCollection = function () {
super();
};
_global.com.techsmith.ui.ComponentCollection extends com.brooksandrus.utils.CollectionImpl;
var v1 = _global.com.techsmith.ui.ComponentCollection.prototype;
v1.addItem = function (item) {
return super.addItem(item);
};
v1.addItemAt = function (item, index) {
return super.addItemAt(item, index);
};
v1.getItemAt = function (index) {
return com.techsmith.ui.Component(super.getItemAt(index));
};
v1.getItemById = function (id) {
var v3 = this.items.length;
var v4 = 0;
goto 707;
for (;;) {
++v4;
label 707:
if (v4 >= v3) break;
var v5 = com.techsmith.ui.Component(this.items[v4]);
if (v5._name == id) {
return v5;
}
}
return null;
};
v1.getItemIndexById = function (id) {
var v3 = this.items.length;
var v4 = 0;
goto 872;
for (;;) {
++v4;
label 872:
if (v4 >= v3) break;
if (this.items[v4]._name == id) {
return v4;
}
return null;
}
};
v1.getItemIndex = function (item) {
return super.getItemIndex(item);
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20498 __Packages.com.techsmith.ui.UniqueComponentCollection {
#initclip
if (!com.techsmith.ui.UniqueComponentCollection) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.UniqueComponentCollection = function () {
super();
};
_global.com.techsmith.ui.UniqueComponentCollection extends com.techsmith.ui.ComponentCollection;
var v1 = _global.com.techsmith.ui.UniqueComponentCollection.prototype;
v1.addItem = function (item) {
if (!this.itemExists(item)) {
return super.addItem(item);
}
return false;
};
v1.addItemAt = function (item, index) {
if (!this.itemExists(item)) {
return super.addItemAt(item, index);
}
return false;
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20499 __Packages.com.brooksandrus.drawing.Rect {
#initclip
if (!com.brooksandrus.drawing.Rect) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.drawing) {
_global.com.brooksandrus.drawing = new Object();
}
_global.com.brooksandrus.drawing.Rect = function () {};
var v1 = _global.com.brooksandrus.drawing.Rect.prototype;
v1.gdraw = function (scope, width, height, colors, alphas, ratios, lStyle, location) {
var v10 = new flash.geom.Matrix();
if (this.orientation == 'top' && this.type != 'radial') {
var v11 = 90;
var v12 = v11 * Math.PI / 180;
v10.createGradientBox(width, height, v12);
}
this.setLineStyle(scope, lStyle);
scope.beginGradientFill(this.type, colors, alphas, ratios, v10);
this.drawFill(scope, width, height, location);
};
v1.draw = function (scope, width, height, color, alpha, lStyle, location) {
this.setLineStyle(scope, lStyle);
scope.beginFill(color, alpha);
this.drawFill(scope, width, height, location);
};
v1.setLineStyle = function (scope, lStyle) {
if (lStyle != null) {
scope.lineStyle(lStyle.thickness, lStyle.rgb, lStyle.alpha, lStyle.pixelHinting, lStyle.noScale, lStyle.capsStyle, lStyle.jointStyle, lStyle.miterLimit);
}
};
v1.drawFill = function (scope, width, height, location) {
if (location == null) {
location = {'x': 0, 'y': 0};
}
scope.moveTo(location.x, location.y);
scope.lineTo(width + location.x, location.y);
scope.lineTo(width + location.x, location.y + height);
scope.lineTo(location.x, location.y + height);
scope.lineTo(location.x, location.y);
scope.endFill();
};
ASSetPropFlags(v1, null, 1);
_global.com.brooksandrus.drawing.Rect.LEFT_RIGHT = 'left';
_global.com.brooksandrus.drawing.Rect.TOP_BOTTOM = 'top';
v1.type = 'linear';
v1.orientation = com.brooksandrus.drawing.Rect.TOP_BOTTOM;
}
#endinitclip
}
movieClip 20500 __Packages.com.techsmith.ui.Slider {
#initclip
if (!com.techsmith.ui.Slider) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.Slider = function () {
super();
};
_global.com.techsmith.ui.Slider extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.Slider.prototype;
_global.com.techsmith.ui.Slider.create = function (container, name, depth, init) {
Object.registerClass('Slider', com.techsmith.ui.Slider);
var v6 = container.attachMovie('Slider', name, depth, init);
return com.techsmith.ui.Slider(v6);
};
v1.init = function (dim, trackStyle, clickTrackStyle) {
this.setupThumb();
this.setupTrack(dim, trackStyle, clickTrackStyle);
this.initThumbPosition();
this.setupConstraints();
};
v1.setupTrack = function (dim, trackStyle, clickTrackStyle) {
this.track = com.techsmith.ui.panels.HPanel.create(this, 'track', 2);
this.track.init(dim, trackStyle);
this.clickTrack = com.techsmith.ui.SliderTrack.create(this, 'clickTrack', 3);
this.clickTrack.init(new com.techsmith.utils.Dimension(dim.width, this.thumb._height));
this.clickTrack.addEventListener(com.techsmith.events.Events.MOUSE_PRESS, com.techsmith.utils.Delegate.create(this, this.trackPressHandler));
this.clickTrack.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.thumbDragStopHandler));
};
v1.setupThumb = function () {
this.thumb = com.techsmith.ui.BasicButton.create(this, 'thumb', 4);
this.thumb.init(new com.techsmith.ui.ButtonStyle(this.thumbStyleShortcut, null, false));
this.thumb.addEventListener(com.techsmith.events.Events.MOUSE_PRESS, com.techsmith.utils.Delegate.create(this, this.thumbDragStartHandler));
this.thumb.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.thumbDragStopHandler));
this.thumb.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE_OUT, com.techsmith.utils.Delegate.create(this, this.thumbDragStopHandler));
};
v1.initThumbPosition = function () {
this.track.move(0, (this.thumb._height - this.track._height) / 2);
var v2 = this.track.getDimensions();
var v3 = this.thumb.getDimensions();
var v4 = this.track.getLocation();
var v5 = v3.width / 2;
var v6 = v4.x - v5;
var v7 = v4.y - (v3.height - v2.height) / 2;
this.thumb.move(v6, v7);
this.clickTrack.move(v4.x, v7);
};
v1.setupConstraints = function () {
var v2 = this.track.getDimensions();
var v3 = this.thumb.getDimensions();
var v4 = this.track.getLocation();
var v5 = v3.width / 2;
var v6 = v4.x - v5;
var v7 = v4.y - (v3.height - v2.height) / 2;
var v8 = v4.x + v2.width - v5;
this.constraints = {'left': v6, 'top': v7, 'right': v8, 'bottom': v7, 'width': Math.abs(v6) + v8, 'height': Math.abs(v7) * 2};
};
v1.setSize = function (dim) {
this.dimensions = dim;
this.track.setSize(dim.width, dim.height);
this.clickTrack.setSize(dim.width, this.thumb.height);
};
v1.trackPressHandler = function (e) {
var v3 = Math.abs(this.constraints.left) + Math.abs(this.constraints.right);
var v4 = (e.percent / 100) * v3;
if (this.constraints.left < 0) {
v4 += this.constraints.left;
}
if (v4 <= this.constraints.right) {
this.thumb.move(v4, this.thumb._y);
}
this.thumbDragStartHandler({'target': this.track, 'type': com.techsmith.events.Events.MOUSE_PRESS});
};
v1.thumbDragStartHandler = function (e) {
if (this.constraints != null) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.DRAG_START});
this.thumb.startDrag(false, this.constraints.left, this.constraints.top, this.constraints.right, this.constraints.bottom);
this.thumb.onEnterFrame = com.techsmith.utils.Delegate.create(this, this.dragDispatcher);
}
};
v1.thumbDragStopHandler = function (e) {
this.stopDrag();
delete this.thumb.onEnterFrame;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.DRAG_STOP});
};
v1.setConstraints = function (percent) {
var v3 = this.track.getDimensions();
var v4 = this.thumb.getDimensions();
var v5 = this.track.getLocation();
var v6 = v4.width / 2;
var v7 = v5.x - v6;
var v8 = v5.y - (v4.height - v3.height) / 2;
var v9 = v5.x + v3.width - v6;
this.constraints.right = v3.width * (percent / 100);
};
v1.dragDispatcher = function () {
var v2 = this.thumb._x;
if (this.constraints.left < 0) {
v2 += Math.abs(this.constraints.left);
}
var v3 = v2 / this.constraints.width;
var v4 = (v2 / this.constraints.width) * 100;
this.dispatchEvent({'type': com.techsmith.events.Events.PROGRESS, 'target': this, 'percent': v4, 'fractPercent': v3});
};
v1.setPosition = function (percent) {
if (percent < 0) {
percent = 0;
}
if (percent > 100) {
percent = 100;
}
var v3 = Math.abs(this.constraints.left) + Math.abs(this.constraints.right);
var v4 = (percent / 100) * v3;
if (this.constraints.left < 0) {
v4 += this.constraints.left;
}
this.thumb.move(v4, this.thumb._y);
};
ASSetPropFlags(v1, null, 1);
v1.trackBase = null;
v1.track = null;
v1.clickTrack = null;
v1.trackStyle = null;
v1.trackBaseStyle = null;
v1.thumb = null;
v1.thumbStyle = null;
v1.constraints = null;
v1.dimensions = null;
v1.thumbStyleShortcut = 'SliderThumb';
}
#endinitclip
}
movieClip 20501 __Packages.com.techsmith.camtasia.quiz.questions.QuestionBase {
#initclip
if (!com.techsmith.camtasia.quiz.questions.QuestionBase) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
if (!com.techsmith.camtasia.quiz.questions) {
_global.com.techsmith.camtasia.quiz.questions = new Object();
}
_global.com.techsmith.camtasia.quiz.questions.QuestionBase = function () {
super();
};
_global.com.techsmith.camtasia.quiz.questions.QuestionBase extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.quiz.questions.QuestionBase.prototype;
v1.init = function (w, h, questionData) {
this.qWidth = w;
this.qHeight = h;
this.questionData = questionData;
this.question = questionData.question;
this.createQuestionField();
};
v1.drawBackground = function () {
this.background.removeMovieClip();
this.background = this.createEmptyMovieClip('background', 1);
var v2 = new com.brooksandrus.drawing.Rect();
v2.draw(this.background, this.qWidth, this.qHeight + 5, 16711680, 0);
};
v1.createQuestionField = function () {
this.questionFormat = new TextFormat();
this.questionFormat.align = 'left';
this.questionFormat.font = 'Arial';
this.questionFormat.bold = false;
this.questionFormat.size = 14;
this.questionFormat.color = this.fontColor;
var v2 = this.questionFormat.getTextExtent(this.question, com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_TEXT_WIDTH);
this.questionHeight = v2.textFieldHeight;
this.createTextField('questionField', 7, 13, 10, com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_TEXT_WIDTH, this.questionHeight);
this.questionField.multiline = true;
this.questionField.wordWrap = true;
this.questionField.html = false;
};
v1.changedAnswer = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.CHANGE});
};
v1.notImpl = function () {
var v2 = 0;
goto 1972;
for (;;) {
++v2;
label 1972:
if (v2 >= 10000) break;
trace('NOT IMPL');
}
};
v1.setQuestion = function (q) {
this.question = q;
if (this.questionField.html) {
this.questionField.htmlText = q;
} else {
this.questionField.text = q;
}
this.questionField.setTextFormat(this.questionFormat);
};
v1.getAnswer = function () {
this.notImpl();
return null;
};
v1.isCorrect = function () {
this.notImpl();
return false;
};
v1.isReadyToSubmit = function () {
return this.getAnswer() != '';
};
v1.isSurvey = function () {
return this.questionData.survey;
};
v1.hasFeedback = function () {
return this.questionData.feedback;
};
v1.getUserData = function () {
return {'strAnswer': this.getAnswer(), 'bCorrect': this.isCorrect()};
};
v1.getFeedback = function () {
if (!this.hasFeedback()) {
return {'strFeedback': '', 'strDetailedFeedback': ''};
}
if (!this.isCorrect()) {
return {'strFeedback': this.questionData.incorrect, 'strDetailedFeedback': ''};
}
return {'strFeedback': this.questionData.correct, 'strDetailedFeedback': ''};
};
v1.getSubmitButtonText = function () {
return this.questionData.submit;
};
v1.adjustForScrollBar = function (hasScroll) {
var v3 = hasScroll ? com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_TEXT_WIDTH - 16 : com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_TEXT_WIDTH;
if (this.questionField._width == v3) {
return undefined;
}
this.questionField._width = v3;
var v4 = this.questionFormat.getTextExtent(this.question, this.questionField._width);
this.questionHeight = v4.textFieldHeight;
this.questionField._height = this.questionHeight;
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_PADDING = 10;
_global.com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_TEXT_WIDTH = 417;
v1.qWidth = null;
v1.qHeight = null;
v1.questionData = null;
v1.question = null;
v1.questionField = null;
v1.questionFormat = null;
v1.questionHeight = null;
v1.fontColor = 6710886;
v1.background = null;
}
#endinitclip
}
movieClip 20502 __Packages.com.techsmith.camtasia.quiz.IQuestion {
#initclip
if (!com.techsmith.camtasia.quiz.IQuestion) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.IQuestion = function () {};
var v1 = _global.com.techsmith.camtasia.quiz.IQuestion.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20503 __Packages.com.techsmith.camtasia.quiz.questions.ShortAnswer {
#initclip
if (!com.techsmith.camtasia.quiz.questions.ShortAnswer) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
if (!com.techsmith.camtasia.quiz.questions) {
_global.com.techsmith.camtasia.quiz.questions = new Object();
}
_global.com.techsmith.camtasia.quiz.questions.ShortAnswer = function () {
super();
};
_global.com.techsmith.camtasia.quiz.questions.ShortAnswer extends com.techsmith.camtasia.quiz.questions.QuestionBase;
var v1 = _global.com.techsmith.camtasia.quiz.questions.ShortAnswer.prototype;
_global.com.techsmith.camtasia.quiz.questions.ShortAnswer.create = function (container, name, depth, init) {
Object.registerClass('ShortAnswer', com.techsmith.camtasia.quiz.questions.ShortAnswer);
var v6 = container.attachMovie('ShortAnswer', name, depth, init);
return com.techsmith.camtasia.quiz.questions.ShortAnswer(v6);
};
v1.init = function (w, h, objQuestionData) {
super.init(w, h, objQuestionData);
this.createQuestion();
};
v1.createQuestion = function () {
this.setQuestion(this.questionData.question);
this.answer = com.techsmith.ui.TextArea.create(this, 'answer', 10, {'border': false, 'fillOpacity': 20, 'type': 'input', 'textColor': 'FFFFFF', 'html': false});
var v2 = 75;
var v3 = com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_PADDING + this.vPadding;
if (this.questionField._y + this.questionHeight + v3 + v2 > this.qHeight) {
this.adjustForScrollBar(true);
}
var v4 = Math.max(this.qHeight - (this.questionHeight + v3 * 2), v2);
var v5 = this.contentWidth - this.vPadding * 4;
this.answer.init(v5, v4);
this.answer.move(this.questionField._x, this.questionHeight + v3);
this.answer.addEventListener('enter', {'handleEvent': function () {
trace('answer <enter>');
}});
this.answer.addEventListener('change', com.techsmith.utils.Delegate.create(this, this.changedAnswer));
if (this.questionData.userData.strAnswer != undefined) {
this.answer.setText(this.questionData.userData.strAnswer);
}
this.changedAnswer();
this.answer.giveFocus();
};
v1.dispose = function () {
this.answer.removeAllListeners();
this.answer.destroy();
};
v1.onUnload = function () {
this.answer.removeEventListener('enter', this);
this.answer.removeEventListener('change', this);
};
v1.getAnswer = function () {
return this.answer.getText();
};
v1.isCorrect = function () {
if (this.isSurvey()) {
return true;
}
for (var idx in this.questionData.arrFITBAnswers) {
if (this.questionData.arrFITBAnswers[idx].toLowerCase() == (this.getAnswer()).toLowerCase()) {
return true;
}
}
return false;
};
v1.enable = function (bEnable) {
this.answer.setEnabled(bEnable);
};
_global.com.techsmith.camtasia.quiz.questions.ShortAnswer implements com.techsmith.camtasia.quiz.IQuestion;
ASSetPropFlags(v1, null, 1);
v1.answer = null;
v1.contentWidth = 460;
v1.vPadding = 10;
}
#endinitclip
}
movieClip 20504 __Packages.com.techsmith.ui.OneStateButton {
#initclip
if (!com.techsmith.ui.OneStateButton) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.OneStateButton = function () {
super();
};
_global.com.techsmith.ui.OneStateButton extends com.techsmith.ui.ButtonBase;
var v1 = _global.com.techsmith.ui.OneStateButton.prototype;
_global.com.techsmith.ui.OneStateButton.create = function (container, name, depth, init) {
Object.registerClass('OneStateButton', com.techsmith.ui.OneStateButton);
var v6 = container.attachMovie('OneStateButton', name, depth, init);
return com.techsmith.ui.OneStateButton(v6);
};
v1.init = function (id) {
this.graphic = this.attachMovie(id, 'graphic', 3);
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20505 __Packages.com.techsmith.ui.LabelButton {
#initclip
if (!com.techsmith.ui.LabelButton) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.LabelButton = function () {
super();
};
_global.com.techsmith.ui.LabelButton extends com.techsmith.ui.ButtonBase;
var v1 = _global.com.techsmith.ui.LabelButton.prototype;
_global.com.techsmith.ui.LabelButton.create = function (container, name, depth, init) {
Object.registerClass('LabelButton', com.techsmith.ui.LabelButton);
var v6 = container.attachMovie('LabelButton', name, depth, init);
return com.techsmith.ui.LabelButton(v6);
};
v1.init = function (label, width, tf, styles) {
if (label == null) {
label = '';
}
if (width == null) {
width = 100;
}
if (styles.up == null) {
this.up = new com.techsmith.ui.panels.PanelStyle('ButtonLUp', 'ButtonMUp', 'ButtonRUp');
} else {
this.up = styles.up;
}
if (styles.over == null) {
this.over = new com.techsmith.ui.panels.PanelStyle('ButtonLOver', 'ButtonMOver', 'ButtonROver');
} else {
this.over = styles.over;
}
if (styles.down == null) {
this.down = new com.techsmith.ui.panels.PanelStyle('ButtonLDown', 'ButtonMDown', 'ButtonRDown');
} else {
this.down = styles.down;
}
if (styles.disabled == null) {
this.disabled = new com.techsmith.ui.panels.PanelStyle('ButtonLDisabled', 'ButtonMDisabled', 'ButtonRDisabled');
} else {
this.disabled = styles.disabled;
}
this.graphic = com.techsmith.ui.panels.HPanel.create(this, 'graphic', 1);
this.graphic.init(new com.techsmith.utils.Dimension(width, this.height), this.up);
this.text = label;
this.width = width;
this.createTextFormat(tf);
this.createLabelField();
this.setLabel(this.text);
};
v1.createLabelField = function () {
var v2 = this.format.getTextExtent('Test');
var v3 = this._height;
this.label = this.createLabel('label', {'depth': 2, 'x': 0, 'y': 0, 'w': this.width, 'h': v2.textFieldHeight});
if (this.label._height > v3) {
this.label._y = -((this.label._height + 1 - v3) / 2);
} else {
this.label._y = (this._height - this.label._height) / 2;
}
this.label._x = 0;
this.label.html = true;
this.label.embedFonts = this.embedFont;
};
v1.createTextFormat = function (obj) {
if (obj == null) {
this.format = new TextFormat();
this.format.align = 'center';
this.format.font = 'Arial';
this.format.size = this.defaultFontSize;
this.format.leftMargin = 2;
this.format.rightMargin = 2;
this.format.color = this.defaultFontColor;
} else {
this.format = obj;
}
this.defaultFontColor = this.format.color;
};
v1.setSize = function (width, height) {
this.width = width;
this.height = height;
this.label._width = width;
this.graphic.setSize(width, this.graphic._height);
};
v1.setLabel = function (text) {
this.text = text;
this.label.htmlText = text;
this.label.setTextFormat(this.format);
};
v1.setEnabled = function (enable) {
this.graphic.enabled = enable;
if (!enable) {
this.format.color = this.disabledFontColor;
this.graphic.init(new com.techsmith.utils.Dimension(this.width, this.height), this.disabled);
} else {
this.format.color = this.defaultFontColor;
if (this.overState) {
this.graphic.init(new com.techsmith.utils.Dimension(this.width, this.height), this.over);
} else {
this.graphic.init(new com.techsmith.utils.Dimension(this.width, this.height), this.up);
}
}
this.label.setTextFormat(this.format);
};
v1.onRollOver = function () {
this.overState = true;
if (this.graphic.enabled) {
this.graphic.init(new com.techsmith.utils.Dimension(this.width, this.height), this.over);
super.onRollOver();
}
};
v1.onRollOut = function () {
this.overState = false;
if (this.graphic.enabled) {
this.graphic.init(new com.techsmith.utils.Dimension(this.width, this.height), this.up);
super.onRollOut();
}
};
v1.onPress = function () {
if (this.graphic.enabled) {
this.graphic.init(new com.techsmith.utils.Dimension(this.width, this.height), this.down);
super.onPress();
}
};
v1.onRelease = function () {
if (this.graphic.enabled) {
this.graphic.init(new com.techsmith.utils.Dimension(this.width, this.height), this.up);
super.onRelease();
}
};
v1.onReleaseOutside = function () {
this.overState = false;
if (this.graphic.enabled) {
this.graphic.init(new com.techsmith.utils.Dimension(this.width, this.height), this.up);
super.onReleaseOutside();
}
};
ASSetPropFlags(v1, null, 1);
v1.text = null;
v1.label = null;
v1.format = null;
v1.width = null;
v1.height = 27;
v1.disabledFontColor = 13555676;
v1.defaultFontColor = 0;
v1.defaultFontSize = 12;
v1.graphic = null;
v1.embedFont = false;
v1.up = null;
v1.over = null;
v1.down = null;
v1.disabled = null;
v1.mask = null;
v1.overState = false;
}
#endinitclip
}
movieClip 20506 __Packages.com.techsmith.ui.canvas.ICanvasFactory {
#initclip
if (!com.techsmith.ui.canvas.ICanvasFactory) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.canvas) {
_global.com.techsmith.ui.canvas = new Object();
}
_global.com.techsmith.ui.canvas.ICanvasFactory = function () {};
var v1 = _global.com.techsmith.ui.canvas.ICanvasFactory.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20507 __Packages.com.techsmith.media.Media {
#initclip
if (!com.techsmith.media.Media) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.media) {
_global.com.techsmith.media = new Object();
}
_global.com.techsmith.media.Media = function () {
super();
};
_global.com.techsmith.media.Media extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.media.Media.prototype;
v1.load = function (url, autostart, fps, length) {};
v1.pauseMedia = function () {};
v1.playMedia = function () {};
v1.seek = function (time) {};
v1.getTime = function () {
return null;
};
v1.getContent = function () {
return null;
};
v1.isPlaying = function () {
return null;
};
v1.addMask = function (mask) {};
v1.setSize = function (dim) {};
v1.getDuration = function () {
return this.duration;
};
v1.setDuration = function (seconds) {
this.duration = seconds;
};
v1.getMediaType = function () {
return this.fileUrl.substr(this.fileUrl.lastIndexOf('.') + 1);
};
ASSetPropFlags(v1, null, 1);
v1.fileUrl = null;
v1.streamingUrl = null;
v1.dimensions = null;
v1.duration = null;
v1.loading = true;
v1.autostart = null;
v1.playing = false;
v1.loop = false;
}
#endinitclip
}
movieClip 20508 __Packages.com.techsmith.utils.Dimension {
#initclip
if (!com.techsmith.utils.Dimension) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.utils) {
_global.com.techsmith.utils = new Object();
}
_global.com.techsmith.utils.Dimension = function (w, h) {
if (w != null) {
this.width = w;
}
if (h != null) {
this.height = h;
}
};
var v1 = _global.com.techsmith.utils.Dimension.prototype;
ASSetPropFlags(v1, null, 1);
v1.width = 0;
v1.height = 0;
}
#endinitclip
}
movieClip 20509 __Packages.com.techsmith.camtasia.quiz.QuizContent {
#initclip
if (!com.techsmith.camtasia.quiz.QuizContent) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.QuizContent = function () {
super();
};
_global.com.techsmith.camtasia.quiz.QuizContent extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.quiz.QuizContent.prototype;
_global.com.techsmith.camtasia.quiz.QuizContent.create = function (container, name, depth, init) {
Object.registerClass('QuizContent', com.techsmith.camtasia.quiz.QuizContent);
var v6 = container.attachMovie('QuizContent', name, depth, init);
return com.techsmith.camtasia.quiz.QuizContent(v6);
};
v1.init = function (w, h, questionData) {
this.qwidth = w;
this.qheight = h;
this.background = com.techsmith.ui.ComponentRect.create(this, 'background', 1);
this.background.init(new com.techsmith.utils.Dimension(w, h), [16777215], [10], [255], {'thickness': 1, 'rgb': 16777215, 'alpha': 100});
this.scrollpane = mx.containers.ScrollPane(this.attachMovie('ScrollPane', 'scrollpane', 2));
this.scrollpane.setStyle('borderStyle', 'none');
this.scrollpane.hScrollPolicy = 'none';
this.scrollpane.vPageScrollSize = 60;
this.scrollpane.vLineScrollSize = 30;
this.scrollpane.setSize(w, h);
this.scrollpane.contentPath = 'ScrollContent';
};
v1.createQuestion = function (type, qdata, init) {
(com.techsmith.ui.Component(this.question)).removeAllListeners();
this.question.dispose();
switch (type.substr(0, 4)) {
case 'fitb':
this.question = com.techsmith.camtasia.quiz.IQuestion(com.techsmith.camtasia.quiz.questions.FIB.create(this.scrollpane.content, 'question', 1, init));
break;
case 'mult':
this.question = com.techsmith.camtasia.quiz.IQuestion(com.techsmith.camtasia.quiz.questions.MultipleChoice.create(this.scrollpane.content, 'question', 1, init));
break;
case 'shor':
this.question = com.techsmith.camtasia.quiz.IQuestion(com.techsmith.camtasia.quiz.questions.ShortAnswer.create(this.scrollpane.content, 'question', 1, init));
break;
case 'tf':
this.question = com.techsmith.camtasia.quiz.IQuestion(com.techsmith.camtasia.quiz.questions.TrueFalse.create(this.scrollpane.content, 'question', 1, init));
break;
case 'likert':
this.question = com.techsmith.camtasia.quiz.IQuestion(com.techsmith.camtasia.quiz.questions.Likert.create(this.scrollpane.content, 'question', 1, init));
break;
default:
this.question = com.techsmith.camtasia.quiz.IQuestion(com.techsmith.camtasia.quiz.questions.MultipleChoice.create(this.scrollpane.content, 'question', 1, init));
}
this.question.init(this.qwidth, this.qheight, qdata);
(com.techsmith.ui.Component(this.question)).addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.answerChangedHandler));
this.scrollpane.vPosition = 0;
this.scrollpane.size();
_global.setTimeout(this.scrollBug, 100);
};
v1.scrollBug = function () {
this.scrollpane.size();
};
v1.isReadyToSubmit = function () {
return this.question.isReadyToSubmit();
};
v1.getUserData = function () {
return this.question.getUserData();
};
v1.hasFeedback = function () {
return this.question.hasFeedback();
};
v1.getFeedback = function () {
return this.question.getFeedback();
};
v1.enable = function (enable) {
this.question.enable(enable);
};
v1.getSubmitButtonText = function () {
return this.question.getSubmitButtonText();
};
v1.dispose = function () {
(com.techsmith.ui.Component(this.question)).destroy();
this.question.dispose();
this.scrollpane.removeMovieClip();
super.destroy();
};
v1.isCorrect = function () {
return this.question.isCorrect();
};
v1.destroy = function () {
this.dispose();
};
v1.answerChangedHandler = function (e) {
e.questionType = e.target;
e.target = this;
e.type = com.techsmith.events.Events.CHANGE;
this.dispatchEvent(e);
};
_global.com.techsmith.camtasia.quiz.QuizContent implements com.techsmith.camtasia.quiz.IQuestion;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20510 __Packages.com.techsmith.camtasia.CaptionWindow {
#initclip
if (!com.techsmith.camtasia.CaptionWindow) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.CaptionWindow = function () {
super();
};
_global.com.techsmith.camtasia.CaptionWindow extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.CaptionWindow.prototype;
_global.com.techsmith.camtasia.CaptionWindow.create = function (container, name, depth, init) {
Object.registerClass('CaptionWindow', com.techsmith.camtasia.CaptionWindow);
var v6 = container.attachMovie('CaptionWindow', name, depth, init);
return com.techsmith.camtasia.CaptionWindow(v6);
};
v1.init = function (width, fontColor, fontFace, fontSize, bold, panelColor, panelOpacity, cpl) {
if (fontColor != null) {
this.color = fontColor;
}
if (fontFace != null) {
this.face = fontFace;
}
if (fontSize != null) {
this.size = fontSize;
}
if (bold != null) {
this.weight = bold;
}
if (panelColor != null) {
this.bgColor = panelColor;
}
if (panelOpacity != null) {
this.bgOpacity = panelOpacity;
}
if (cpl != null) {
this.charsPerLine = cpl;
}
this.format = new TextFormat();
this.format.font = this.face;
this.format.align = 'center';
this.format.size = this.size;
this.format.color = this.color;
this.format.bold = this.weight;
var v10 = 'WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW\nWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW\nWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW';
var v11 = this.face == 'dinot';
this.field = this.createLabel('field', {'depth': 2, 'x': 0, 'y': 0, 'w': width, 'h': 0}, {'wordWrap': true, 'multiline': true, 'autoSize': 'center', 'html': true, 'embedFonts': v11});
this.setText(v10);
var v12 = this.field._height;
this.field._height = v12;
this.field.autoSize = 'none';
this.setText('');
this.background = this.createEmptyMovieClip('background', 1);
var v13 = new com.brooksandrus.drawing.Rect();
v13.draw(this.background, width, v12, panelColor, panelOpacity);
};
v1.setText = function (caption) {
this.field.htmlText = caption;
this.field.setTextFormat(this.format);
};
v1.hide = function (hideCaptions) {
if (hideCaptions) {
this._visible = false;
} else {
this._visible = true;
}
};
v1.find = function (captions, time) {
var v4 = false;
var v5 = captions.length;
var v6 = 0;
goto 1864;
for (;;) {
++v6;
label 1864:
if (v6 >= v5) break;
var v7 = captions[v6];
if (v7.Time > time) {
if (v6 > 0) {
v4 = true;
this.setText(captions[v6 - 1].Caption);
}
break;
}
if (v6 == v5 - 1) {
v4 = true;
this.setText(captions[v6].Caption);
}
}
if (!v4) {
this.setText('');
}
};
ASSetPropFlags(v1, null, 1);
v1.color = 16777215;
v1.face = 'Arial';
v1.size = 23;
v1.weight = false;
v1.bgColor = 0;
v1.bgOpacity = 0;
v1.charsPerLine = 32;
v1.format = null;
v1.field = null;
v1.background = null;
}
#endinitclip
}
movieClip 20511 __Packages.com.brooksandrus.ui.ProgressBar {
#initclip
if (!com.brooksandrus.ui.ProgressBar) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.ui) {
_global.com.brooksandrus.ui = new Object();
}
_global.com.brooksandrus.ui.ProgressBar = function () {
super();
};
_global.com.brooksandrus.ui.ProgressBar extends com.techsmith.ui.Component;
var v1 = _global.com.brooksandrus.ui.ProgressBar.prototype;
_global.com.brooksandrus.ui.ProgressBar.create = function (container, name, depth, init) {
Object.registerClass('ProgressBar', com.brooksandrus.ui.ProgressBar);
var v6 = container.attachMovie('ProgressBar', name, depth, init);
return com.brooksandrus.ui.ProgressBar(v6);
};
v1.init = function (baseDim, baseStyle, baseRect, fillDim, fillStyle, fillRect) {
if (baseStyle.CENTER_LEFT != null) {
this.base = com.techsmith.ui.panels.Slice9Panel.create(this, 'base', 2);
} else {
if (baseRect == null) {
this.base = com.techsmith.ui.panels.HPanel.create(this, 'base', 2);
} else {
this.base = com.techsmith.ui.panels.Scale9Panel.create(this, 'base', 2);
}
}
this.base.init(baseDim, baseStyle, baseRect);
if (fillStyle.CENTER_LEFT != null) {
this.fill = com.techsmith.ui.panels.Slice9Panel.create(this, 'fill', 3);
this.mask = com.techsmith.ui.panels.Slice9Panel.create(this, 'mask', 4);
} else {
if (fillRect == null) {
this.fill = com.techsmith.ui.panels.HPanel.create(this, 'fill', 3);
this.mask = com.techsmith.ui.panels.HPanel.create(this, 'mask', 4);
} else {
this.fill = com.techsmith.ui.panels.Scale9Panel.create(this, 'fill', 3);
this.mask = com.techsmith.ui.panels.Scale9Panel.create(this, 'mask', 4);
}
}
this.fill.init(fillDim, fillStyle, fillRect);
this.mask.init(fillDim, fillStyle, fillRect);
if (this.hasMessageField) {
this.percentField = this.createLabel('percentField', {'depth': 5, 'x': 0, 'y': 0, 'w': 35, 'h': 20});
this.messageField = this.createLabel('messageField', {'depth': 6, 'x': 0, 'y': 0, 'w': fillDim.width - 40, 'h': 20});
}
this.layoutPanels();
this.createFormat();
};
v1.layoutPanels = function () {
var v2 = com.techsmith.ui.Component(this.base);
var v3 = com.techsmith.ui.Component(this.fill);
var v4 = com.techsmith.ui.Component(this.mask);
var v5 = this._width;
var v6 = this._height;
v2.move((v5 - v2._width) / 2, (v6 - v2._height) / 2);
var v7 = v2._x + (v2._width - v4._width) / 2;
var v8 = v2._y + (v2._height - v4._height) / 2;
v4.move(v7, v8);
v3.move(-v3._width + v7, v8);
v3.setMask(v4);
if (this.hasMessageField) {
var v9 = 2;
this.percentField._x = v2._x + (v2._width - this.percentField._width);
this.percentField._y = v2._y + v2._height + v9;
this.messageField._x = v2._x;
this.messageField._y = v2._y + v2._height + v9;
}
};
v1.createFormat = function () {
if (this.percentFormat == null) {
this.percentFormat = new TextFormat();
this.percentFormat.font = 'Arial';
this.percentFormat.size = 11;
this.percentFormat.color = this.textColor;
this.percentFormat.align = 'left';
}
if (this.messageFormat == null) {
this.messageFormat = new TextFormat();
this.messageFormat.font = 'Arial';
this.messageFormat.size = 11;
this.messageFormat.color = this.textColor;
this.percentFormat.align = 'right';
}
};
v1.setEventSource = function (source) {
source.addEventListener(com.techsmith.events.Events.PROGRESS, com.techsmith.utils.Delegate.create(this, this.setProgress));
};
v1.setProgress = function (e) {
var v3 = com.techsmith.ui.Component(this.fill);
var v4 = com.techsmith.ui.Component(this.mask);
var v5 = (e.percent / 100) * v3.width;
v3.move(v4._x + (v5 - v3._width), v3._y);
if (e.message != null) {
this.message = e.message;
}
this.messageField.text = this.message;
this.percentField.text = e.percent + ' % ';
this.messageField.setTextFormat(this.messageFormat);
this.percentField.setTextFormat(this.percentFormat);
};
v1.getInnerTrackLocation = function () {
return new com.techsmith.utils.Point((com.techsmith.ui.Component(this.mask))._x, (com.techsmith.ui.Component(this.mask))._y);
};
v1.getInnerTrackDimensions = function () {
return this.fill.getDimensions();
};
v1.getDimensions = function () {
return new com.techsmith.utils.Dimension(this.width, this.height);
};
v1.__get__width = function () {
return (com.techsmith.ui.Component(this.base))._width;
};
v1.destroy = function () {
super.destroy();
};
v1.addProperty('width', v1.__get__width, function () {});
ASSetPropFlags(v1, null, 1);
v1.message = 'Loading Media';
v1.textColor = 16777215;
v1.hasMessageField = false;
}
#endinitclip
}
movieClip 20512 __Packages.com.techsmith.camtasia.StartScreen {
#initclip
if (!com.techsmith.camtasia.StartScreen) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.StartScreen = function () {
super();
this.background = this.createEmptyMovieClip('background', 1);
this.thumbnail = com.techsmith.ui.BitmapReflectingThumb.create(this, 'thumbnail', 2);
this.begin = com.techsmith.ui.StartWidget.create(this, 'begin', 3, {'pixels': this.blurHeight});
this.thumbnail._visible = false;
this.thumbnail.outline = true;
this.thumbnail.gradientFade = 1;
};
_global.com.techsmith.camtasia.StartScreen extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.StartScreen.prototype;
_global.com.techsmith.camtasia.StartScreen.create = function (container, name, depth, init) {
Object.registerClass('StartScreen', com.techsmith.camtasia.StartScreen);
var v6 = container.attachMovie('StartScreen', name, depth, init);
return com.techsmith.camtasia.StartScreen(v6);
};
v1.init = function (src, dim, icon, text) {
this.labelIcon = (icon != null) ? icon : '';
this.labelText = (text != null) ? text : '';
src._visible = true;
this.thumbnail.createBitmap(src, 0.45 * dim.width, com.techsmith.ui.Bitmap.HORIZONTAL_CONSTRAINT);
src._visible = false;
this.thumbnail._visible = true;
var v6 = 1;
var v7 = (this.thumbnail._height / 2 - this.blurHeight) / 2;
var v8 = new flash.geom.Rectangle(v6, v7, this.thumbnail._width - v6 * 2, this.blurHeight);
this.begin.init(this.thumbnail, com.techsmith.ui.panels.Slice9Panel, new com.techsmith.ui.panels.PanelStyle('BeginBGTL', 'BeginBGTM', 'BeginBGTR', 'BeginBGCL', 'BeginBGCM', 'BeginBGCR', 'BeginBGBL', 'BeginBGBM', 'BeginBGBR'), v8);
var v9 = [100, 100];
var v10 = [0, 255];
var v11 = new com.brooksandrus.drawing.Rect();
v11.gdraw(this.background, dim.width, dim.height, this.colors, v9, v10);
var v12 = this.thumbnail._height / 4;
var v13 = (dim.width - this.thumbnail._width) / 2;
var v14 = (dim.height - v12 * 3) / 2;
this.thumbnail.move(v13, -this.thumbnail._height);
this.begin.move(v13 + v6, this.thumbnail._y + v7);
var v15 = new TextFormat();
v15.font = 'Arial';
v15.align = 'left';
v15.size = 12;
v15.color = 16777215;
v15.bold = false;
this.label = com.techsmith.ui.Label.create(this, 'label', 4, {'multiline': false, 'url': this.labelIcon, 'labelPosition': com.techsmith.ui.Label.TEXT_LEFT});
this.label.setFormat(v15);
this.label.setText(this.labelText);
this.label.move(v13 + (this.thumbnail._width - this.label._width), this.thumbnail._y + v12 * 3);
this.begin.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.beginHandler));
var v16 = new com.mosesSupposes.fuse.Fuse();
v16.push({'Blur_blur': 50, 'seconds': 0, 'delay': 0});
v16.push({'Blur_blur': 0, 'y': v14, 'ease': com.mosesSupposes.fuse.PennerEasing.easeInQuart, 'seconds': 0.5, 'delay': 0});
var v17 = new com.mosesSupposes.fuse.Fuse();
v17.push({'Blur_blur': 50, 'seconds': 0, 'delay': 0});
v17.push({'Blur_blur': 0, 'y': v14 + v7, 'ease': com.mosesSupposes.fuse.PennerEasing.easeInQuart, 'seconds': 0.5, 'delay': 0});
var v18 = new com.mosesSupposes.fuse.Fuse();
v18.push({'Blur_blur': 50, 'seconds': 0, 'delay': 0});
v18.push({'Blur_blur': 0, 'y': v14 + v12 * 3, 'ease': com.mosesSupposes.fuse.PennerEasing.easeInQuart, 'seconds': 0.5, 'delay': 0});
src._visible = true;
this.thumbnail.animate(v16, false);
this.begin.animate(v17, false);
this.label.animate(v18, false);
};
v1.beginHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE});
};
v1.destroy = function () {
this.begin.removeAllListeners();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.colors = [1710618, 1710618];
v1.labelIcon = 'CamtasiaLogo';
v1.labelText = 'Created with';
v1.blurHeight = 60;
}
#endinitclip
}
movieClip 20513 __Packages.com.techsmith.ui.canvas.ICanvasStyleFactory {
#initclip
if (!com.techsmith.ui.canvas.ICanvasStyleFactory) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.canvas) {
_global.com.techsmith.ui.canvas = new Object();
}
_global.com.techsmith.ui.canvas.ICanvasStyleFactory = function () {};
var v1 = _global.com.techsmith.ui.canvas.ICanvasStyleFactory.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20514 __Packages.com.techsmith.camtasia.quiz.FeedbackContent {
#initclip
if (!com.techsmith.camtasia.quiz.FeedbackContent) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.FeedbackContent = function () {
super();
};
_global.com.techsmith.camtasia.quiz.FeedbackContent extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.quiz.FeedbackContent.prototype;
_global.com.techsmith.camtasia.quiz.FeedbackContent.create = function (container, name, depth, init) {
Object.registerClass('FeedbackContent', com.techsmith.camtasia.quiz.FeedbackContent);
var v6 = container.attachMovie('FeedbackContent', name, depth, init);
return com.techsmith.camtasia.quiz.FeedbackContent(v6);
};
v1.init = function (dim) {
var v3 = new TextFormat();
v3.font = 'Arial';
v3.size = 30;
v3.bold = true;
v3.align = 'center';
v3.color = 3355443;
var v4 = new TextFormat();
v4.font = 'Arial';
v4.size = 14;
v4.bold = false;
v4.align = 'center';
v4.leftMargin = 10;
v4.rightMargin = 10;
v4.color = 3355443;
this.qlevel = com.techsmith.ui.TextObject.create(this, 'qlevel', 1, {'border': false, 'fillOpacity': 0, 'strokeColor': 3355443, 'strokeOpacity': 0, 'align': 'center', 'selectable': false, 'textColor': '333333'});
this.alevel = com.techsmith.ui.TextArea.create(this, 'alvel', 2, {'border': false, 'fillOpacity': 0, 'strokeColor': 3355443, 'strokeOpacity': 0, 'align': 'center', 'selectable': false, 'textColor': '333333'});
this.qlevel.init(dim.width, this.qHeight, v3);
this.alevel.init(dim.width, dim.height - (this.qHeight + this.hPadding), v4);
this.alevel.move(this.qlevel.x, this.qlevel.y + this.qlevel.height + this.hPadding);
};
v1.setFeedback = function (q, a) {
if (q != null) {
this.qlevel.setText(q);
}
if (a != null) {
this.alevel.setText(a);
}
};
ASSetPropFlags(v1, null, 1);
v1.qHeight = 42;
v1.hPadding = 8;
}
#endinitclip
}
movieClip 20515 __Packages.com.techsmith.ui.RadioButtonGroup {
#initclip
if (!com.techsmith.ui.RadioButtonGroup) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.RadioButtonGroup = function () {
this.dispatcher = new com.techsmith.events.EventDispatcher();
this.collection = new com.techsmith.ui.UniqueComponentCollection();
};
var v1 = _global.com.techsmith.ui.RadioButtonGroup.prototype;
v1.addRadioButton = function (button) {
this.collection.addItem(button);
button.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.clickHandler));
};
v1.removeRadioButton = function (button) {
this.collection.removeItem(button);
};
v1.clickHandler = function (e) {
this.selected = e.target;
e.button = e.target;
e.target = this;
this.dispatchEvent(e);
};
v1.destroy = function () {
var v4 = this.collection.getIterator();
while (v4.hasNext()) {
var v3 = com.techsmith.ui.RadioButton(v4.next());
v3.destroy();
}
super.destroy();
};
v1.enforceSelectionRules = function (button) {
var v3 = this.collection.getIterator();
while (v3.hasNext()) {
var v4 = com.techsmith.ui.RadioButton(v3.next());
if (v4 != button) {
v4.setSelected(false, true);
} else {
this.selected = v4;
}
}
};
v1.setSelected = function (button) {
this.selected = button;
button.setSelected(true);
this.enforceSelectionRules(button);
};
v1.setEnabled = function (enable) {
var v4 = this.collection.getIterator();
while (v4.hasNext()) {
var v3 = com.techsmith.ui.RadioButton(v4.next());
v3.setEnabled(enable);
}
};
v1.getSelected = function () {
return this.selected;
};
v1.getSelectedName = function () {
return this.selected._name;
};
v1.getValue = function () {
return this.selected.getValue();
};
v1.getLabel = function () {
return this.selected.getLabel();
};
v1.getData = function () {
return this.selected.getData();
};
v1.setData = function (data) {
if (this.selected != null) {
this.selected.setData(data);
return true;
} else {
return false;
}
};
v1.addEventListener = function (event, scope) {
this.dispatcher.addEventListener(event, scope);
};
v1.removeEventListener = function (event, scope) {
this.dispatcher.removeEventListener(event, scope);
};
v1.dispatchEvent = function (eventObj) {
this.dispatcher.dispatchEvent(eventObj);
};
v1.removeEventListeners = function (event) {
this.dispatcher.removeEventListeners(event);
};
v1.removeAllListeners = function () {
this.dispatcher.removeAllListeners();
};
_global.com.techsmith.ui.RadioButtonGroup implements com.techsmith.events.IEventDispatcher;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20516 __Packages.com.techsmith.camtasia.hotspot.HotspotContainer {
#initclip
if (!com.techsmith.camtasia.hotspot.HotspotContainer) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.hotspot) {
_global.com.techsmith.camtasia.hotspot = new Object();
}
_global.com.techsmith.camtasia.hotspot.HotspotContainer = function () {
super();
};
_global.com.techsmith.camtasia.hotspot.HotspotContainer extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.hotspot.HotspotContainer.prototype;
_global.com.techsmith.camtasia.hotspot.HotspotContainer.create = function (container, name, depth, init) {
Object.registerClass('HotspotContainer', com.techsmith.camtasia.hotspot.HotspotContainer);
var v6 = container.attachMovie('HotspotContainer', name, depth, init);
return com.techsmith.camtasia.hotspot.HotspotContainer(v6);
};
v1.__set__warning = function (message) {
this._warning = message;
return this.__get__warning();
};
v1.__get__warning = function () {
return this._warning;
};
v1.insecureDomain = function (currentDomain) {
var v3 = false;
if (this.warning == null || this.warning == '') {
return v3;
} else {
var v4 = System.security.sandboxType;
if (v4 == 'localWithFile' || (v4 == 'localTrusted' || v4 == undefined && (currentDomain.substr(0, 5)).toLowerCase() == 'file:')) {
v3 = true;
}
return v3;
}
};
v1.find = function (hotspots, time, fps) {
var v5 = false;
var v6 = hotspots.length;
var v7 = 0;
goto 1480;
for (;;) {
++v7;
label 1480:
if (v7 >= v6) break;
var v8 = this['hs' + v7];
var v9 = v8 == null;
if (time >= hotspots[v7].start && time <= hotspots[v7].end) {
if (v9) {
v8 = com.techsmith.camtasia.hotspot.Hotspot.create(this, 'hs' + v7, v7, {'id': v7, 'debugging': false});
v8.init(hotspots[v7].start, hotspots[v7].end, hotspots[v7].x0, hotspots[v7].y0, hotspots[v7].x1, hotspots[v7].y1, hotspots[v7].pause, hotspots[v7].time, hotspots[v7].url, hotspots[v7].jumpandplay, hotspots[v7].newWindow);
v8.move(hotspots[v7].x0, hotspots[v7].y0);
v8.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.clickHandler));
}
var v10 = v8.end;
var v11 = 1 / fps;
var v12 = Number(String(time));
var v13 = Number(String(v10 - v11));
var v14 = Number(String(v10 + v11));
if (v8.pause && !v5) {
if (v12 > v13 && v12 < v14) {
if (!v5) {
v5 = true;
this.dispatchEvent({'type': com.techsmith.events.Events.CHANGE, 'target': this, 'id': v8.id});
}
}
}
} else {
if (!v9) {
v8.destroy();
}
}
}
};
v1.clickHandler = function (e) {
var v3 = e.action;
var v4 = e.directive;
switch (v4) {
case com.techsmith.camtasia.hotspot.HotspotConstants.GET_URL:
this.getURL(v3.url, v3.target);
break;
case com.techsmith.camtasia.hotspot.HotspotConstants.SEEK_TIME:
this.dispatchEvent({'type': com.techsmith.events.Events.MOUSE_RELEASE, 'target': this, 'id': e.id, 'action': v4, 'time': v3.time, 'jumpandplay': e.jumpandplay});
break;
case com.techsmith.camtasia.hotspot.HotspotConstants.NONE:
this.dispatchEvent({'type': com.techsmith.events.Events.MOUSE_RELEASE, 'target': this, 'id': e.id, 'action': v4});
}
};
v1.addProperty('warning', v1.__get__warning, v1.__set__warning);
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20517 __Packages.com.techsmith.ui.canvas.CanvasFactory {
#initclip
if (!com.techsmith.ui.canvas.CanvasFactory) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.canvas) {
_global.com.techsmith.ui.canvas = new Object();
}
_global.com.techsmith.ui.canvas.CanvasFactory = function () {};
var v1 = _global.com.techsmith.ui.canvas.CanvasFactory.prototype;
v1.createCanvas = function (container, instance, depth, type, init) {
switch (type) {
case com.techsmith.ui.canvas.AbstractCanvas.BASIC:
return com.techsmith.ui.panels.Slice9Panel(com.techsmith.ui.canvas.BasicCanvas.create(container, instance, depth, init));
break;
case com.techsmith.ui.canvas.AbstractCanvas.CLICK:
return com.techsmith.ui.panels.Slice9Panel(com.techsmith.ui.canvas.ClickCanvas.create(container, instance, depth, init));
break;
case com.techsmith.ui.canvas.AbstractCanvas.DRAG:
return com.techsmith.ui.panels.Slice9Panel(com.techsmith.ui.canvas.DragCanvas.create(container, instance, depth, init));
break;
default:
return com.techsmith.ui.panels.Slice9Panel(com.techsmith.ui.canvas.BasicCanvas.create(container, instance, depth, init));
}
};
_global.com.techsmith.ui.canvas.CanvasFactory implements com.techsmith.ui.canvas.ICanvasFactory;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20518 __Packages.com.techsmith.media.FlvMedia {
#initclip
if (!com.techsmith.media.FlvMedia) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.media) {
_global.com.techsmith.media = new Object();
}
_global.com.techsmith.media.FlvMedia = function () {
super();
this.setupVideo();
};
_global.com.techsmith.media.FlvMedia extends com.techsmith.media.Media;
var v1 = _global.com.techsmith.media.FlvMedia.prototype;
_global.com.techsmith.media.FlvMedia.create = function (container, name, depth, init) {
Object.registerClass('FlvMedia', com.techsmith.media.FlvMedia);
var v6 = container.attachMovie('FlvMedia', name, depth, init);
return com.techsmith.media.FlvMedia(v6);
};
v1.setupVideo = function () {
if (this.connection == null) {
this.connection = new NetConnection();
}
this.connection.connect(this.streamingUrl);
if (this.stream == null) {
this.stream = new NetStream(this.connection);
}
this.video.attachVideo(this.stream);
this.stream.onStatus = com.techsmith.utils.Delegate.create(this, this.nsStatus);
this.stream.onMetaData = com.techsmith.utils.Delegate.create(this, this.nsMetadata);
this.stream.onCuePoint = com.techsmith.utils.Delegate.create(this, this.nsCuepoint);
};
v1.load = function (url, autostart, length) {
if (url != this.fileUrl) {
this.fileUrl = url;
this.loading = true;
this.duration = (length != null) ? length : null;
this.lastValidTime = 0;
if (autostart == null) {
autostart = true;
}
this.autostart = autostart;
this.stream.play(url);
this.playing = true;
this.onEnterFrame = this.mediaOnEnterFrame;
if (!autostart) {
this.pauseMedia();
this.stream.seek(0);
}
}
};
v1.pauseMedia = function () {
if (!this.loading) {
delete this.onEnterFrame;
}
this.stream.pause(true);
this.playing = false;
};
v1.playMedia = function () {
trace('stream.time: ' + this.stream.time);
if (this.stream.time < this.duration || this.duration) {
if (this.onEnterFrame == undefined) {
this.onEnterFrame = this.mediaOnEnterFrame;
}
this.stream.pause(false);
this.playing = true;
}
};
v1.seek = function (time, supressEvent) {
if (this.stream.time != time) {
if (supressEvent == null) {
supressEvent = false;
}
if (this.timeId != -1) {
_global.clearInterval(this.timeId);
}
if (time > this.duration && this.duration != null) {
time = this.duration;
this.pauseMedia();
}
this.lastValidTime = this.stream.time;
this.timeId = _global.setInterval(this, 'updateTime', 1, this.stream.time, supressEvent);
this.stream.seek(time);
}
};
v1.updateTime = function (snapshot, supressEvent) {
if (this.stream.time != snapshot) {
_global.clearInterval(this.timeId);
this.timeId = -1;
if (!supressEvent) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.SEEK_COMPLETE, 'time': this.stream.time});
}
if (this.onEnterFrame == undefined) {
var v4 = this.getPosition(this.stream.time, this.duration);
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.PLAYHEAD_POSITION, 'percent': v4.percent, 'rawPercent': v4.raw, 'time': this.stream.time, 'duration': this.duration});
}
}
};
v1.getTime = function () {
return this.stream.time;
};
v1.getContent = function () {
return {'connection': this.connection, 'stream': this.stream, 'video': this.video};
};
v1.setSize = function (dim) {
this.video._width = dim.width;
this.video._height = dim.height;
this.dimensions = dim;
};
v1.nsCuepoint = function (e) {
if (e.type == 'event') {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MEDIA_EVENT, 'cuepoint': e, 'time': this.stream.time});
}
if (e.type == 'navigation') {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MEDIA_NAVIGATION, 'cuepoint': e, 'time': this.stream.time});
}
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.NS_CUEPOINT, 'cuepoint': e, 'time': this.stream.time});
};
v1.nsMetadata = function (info) {
this.metadata = info;
if (info.lastkeyframetimestamp != null) {
this.duration = info.lastkeyframetimestamp;
} else {
if (info.duration != null && this.duration == null) {
this.duration = info.duration;
}
}
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.NS_METADATA, 'metadata': info});
};
v1.nsStatus = function (info) {
switch (info.code) {
case 'NetStream.Seek.InvalidTime':
this.seekRecovery();
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.SEEK_ERROR});
break;
case 'NetStream.Play.Start':
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.STARTED});
break;
case 'NetStream.Play.Stop':
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.STOPPED, 'time': this.stream.time});
this.pauseMedia();
break;
case 'NetStream.Seek.Notify':
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.NS_SEEK_EXECUTED});
break;
case 'NetStream.Buffer.Empty':
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.NS_BUFFER_EMPTY});
break;
case 'NetStream.Buffer.Full':
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.NS_BUFFER_FULL});
break;
case 'NetStream.Buffer.Flush':
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.NS_BUFFER_FLUSH});
break;
case 'NetStream.Play.StreamNotFound':
this.playing = false;
delete this.onEnterFrame;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.STREAM_ERROR, 'lastValidTime': this.lastValidTime});
}
};
v1.seekRecovery = function () {
if (this.autoRecoverSeeking) {
this.seek(this.lastValidTime, true);
if (this.playing) {
this.playMedia();
}
}
};
v1.mediaOnEnterFrame = function () {
if (this.loading) {
this.loadProgress();
}
if (this.isPlaying()) {
this.playheadPosition();
}
};
v1.loadProgress = function () {
var v2 = this.stream.bytesLoaded;
var v3 = this.stream.bytesTotal;
var v4 = v2 / v3;
var v5 = v4 * 100;
if (v2 <= v3) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.LOADING, 'percent': v5, 'rawPercent': v4, 'bytesLoaded': v2, 'bytesTotal': v3});
}
if (v2 == v3) {
this.loading = false;
if (!this.isPlaying()) {
delete this.onEnterFrame;
}
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.COMPLETE});
}
};
v1.getPosition = function (current, total) {
var v4 = current / total;
var v5 = v4 * 100;
return {'percent': v5, 'raw': v4, 'time': this.stream.time};
};
v1.playheadPosition = function () {
if (this.duration == null) {
return undefined;
}
var v2 = this.stream.time;
if (v2 == null || _global.isNaN(v2)) {
v2 = 0;
}
var v3 = v2 / this.duration;
var v4 = v3 * 100;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.PLAYHEAD_POSITION, 'percent': v4, 'rawPercent': v3, 'seconds': v2, 'duration': this.duration});
if (v4 >= 100 && !this.loop) {
this.pauseMedia();
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.STOPPED});
}
};
v1.isPlaying = function () {
return this.playing;
};
v1.destroy = function () {
this.video.clear();
this.stream.close();
_global.clearInterval(this.timeId);
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.connection = null;
v1.stream = null;
v1.video = null;
v1.timeId = -1;
v1.metadata = null;
v1.lastValidTime = 0;
v1.autoRecoverSeeking = true;
}
#endinitclip
}
movieClip 20519 __Packages.com.techsmith.camtasia.toc.ITOCWindow {
#initclip
if (!com.techsmith.camtasia.toc.ITOCWindow) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.toc) {
_global.com.techsmith.camtasia.toc = new Object();
}
_global.com.techsmith.camtasia.toc.ITOCWindow = function () {};
var v1 = _global.com.techsmith.camtasia.toc.ITOCWindow.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20520 __Packages.com.mosesSupposes.fuse.FuseKitCommon {
#initclip
if (!com.mosesSupposes.fuse.FuseKitCommon) {
if (!com) {
_global.com = new Object();
}
if (!com.mosesSupposes) {
_global.com.mosesSupposes = new Object();
}
if (!com.mosesSupposes.fuse) {
_global.com.mosesSupposes.fuse = new Object();
}
_global.com.mosesSupposes.fuse.FuseKitCommon = function () {};
var v1 = _global.com.mosesSupposes.fuse.FuseKitCommon.prototype;
_global.com.mosesSupposes.fuse.FuseKitCommon._cts = function () {
return '|_tint|_tintPercent|_brightness|_brightOffset|_contrast|_invertColor|_colorReset|_colorTransform|';
};
_global.com.mosesSupposes.fuse.FuseKitCommon._underscoreable = function () {
return com.mosesSupposes.fuse.FuseKitCommon._cts() + '_frame|_x|_y|_xscale|_yscale|_scale|_width|_height|_size|_rotation|_alpha|_visible|';
};
_global.com.mosesSupposes.fuse.FuseKitCommon._cbprops = function () {
return '|skipLevel|cycles|easyfunc|func|scope|args|startfunc|startscope|startargs|updfunc|updscope|updargs|extra1|extra2|';
};
_global.com.mosesSupposes.fuse.FuseKitCommon._fuseprops = function () {
return '|command|label|delay|event|eventparams|target|addTarget|trigger|startAt|ease|easing|seconds|duration|time|';
};
_global.com.mosesSupposes.fuse.FuseKitCommon.output = function (s) {
if (typeof com.mosesSupposes.fuse.FuseKitCommon.logOutput == 'function') {
com.mosesSupposes.fuse.FuseKitCommon.logOutput(s);
} else {
trace(s);
}
};
_global.com.mosesSupposes.fuse.FuseKitCommon.error = function (errorCode) {
var v3 = arguments[1];
var v4 = arguments[2];
var v5 = arguments[3];
if (com.mosesSupposes.fuse.FuseKitCommon.VERBOSE != true) {
com.mosesSupposes.fuse.FuseKitCommon.output('[FuseKitCommon#' + super + ']');
return undefined;
}
var v6 = '';
var v7 = '\n';
switch (super) {
case '001':
v6 += '** ERROR: When using simpleSetup to extend prototypes, you must pass the Shortcuts class. **';
v6 += v7 + ' import com.mosesSupposes.fuse.*;';
v6 += v7 + ' ZigoEngine.simpleSetup(Shortcuts);' + v7;
break;
case '002':
v6 += '** ZigoEngine.doShortcut: shortcuts missing. Use the setup commands: import com.mosesSupposes.fuse.*; ZigoEngine.register(Shortcuts); **';
break;
case '003':
v6 += v7 + '*** Error: DO NOT use #include "lmc_tween.as" with this version of ZigoEngine! ***' + v7;
break;
case '004':
v6 += '** ZigoEngine.doTween - too few arguments [' + v3 + ']. If you are trying to use Object Syntax without Fuse, pass FuseItem in your register() or simpleSetup() call. **';
break;
case '005':
v6 += '** ZigoEngine.doTween - missing targets[' + v3 + '] and/or props[' + v4 + '] **';
break;
case '006':
v6 += '** Error: easing shortcut string not recognized ("' + v3 + '"). You may need to pass the in PennerEasing class during register or simpleSetup. **';
break;
case '007':
v6 += '- ZigoEngine: Target locked [' + v3 + '], ignoring tween call [' + v4 + ']';
break;
case '008':
v6 += '** ZigoEngine: You must register the Shortcuts class in order to use easy string-type callback parsing. **';
break;
case '009':
v6 += '-ZigoEngine: A callback parameter "' + v3 + '" was not recognized.';
break;
case '010':
v6 += '-Engine unable to parse ' + ((v3 == 1) ? 'callback[' : String(v3) + ' callbacks[') + v4 + ']. Try using the syntax {scope:this, func:"myFunction"}';
break;
case '011':
v6 += '-ZigoEngine: Callbacks discarded via skipLevel 2 option [' + v3 + '|' + v4 + '].';
break;
case '012':
v6 += '-Engine set props or ignored no-change tween on: ' + v3 + ', props passed:[' + v4 + '], endvals passed:[' + v5 + ']';
break;
case '013':
v6 += '-Engine added tween on:\n\ttargets:[' + v3 + ']\n\tprops:[' + v4 + ']\n\tendvals:[' + v5 + ']';
break;
case '014':
v6 += '** Error: easing function passed is not usable with this engine. Functions need to follow the Robert Penner model. **';
break;
case '101':
v6 += '** ERROR: Fuse simpleSetup was removed in version 2.0! **';
v6 += v7 + ' You must now use the following commands:';
v6 += v7 + v7 + '\timport com.mosesSupposes.fuse.*;';
v6 += v7 + '\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);';
v6 += v7 + 'Note that PennerEasing is optional, and FuseFMP is also accepted. (FuseFMP.simpleSetup is run automatically if included.)' + v7;
break;
case '102':
v6 += '** Fuse skipTo label not found: "' + v3 + '" **';
break;
case '103':
v6 += '** Fuse skipTo failed (' + v3 + ') **';
break;
case '104':
v6 += '** Fuse command skipTo (' + v3 + ') ignored - targets the current index (' + v4 + '). **';
break;
case '105':
v6 += '** An unsupported Array method was called on Fuse. **';
break;
case '106':
v6 += '** ERROR: You have not set up Fuse correctly. **';
v6 += v7 + 'You must now use the following commands (PennerEasing is optional).';
v6 += v7 + '\timport com.mosesSupposes.fuse.*;';
v6 += v7 + '\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);' + v7;
break;
case '107':
v6 += '** Fuse :: id not found - Aborting open(). **';
break;
case '108':
v6 += '** Fuse.startRecent: No recent Fuse found to start! **';
break;
case '109':
v6 += '** Commands other than "delay" are not allowed within groups. Command discarded ("' + v3 + '")';
break;
case '110':
v6 += '** A Fuse.addCommand parameter ("' + v3 + '") is not valid and was discarded. If you are trying to add a function-call try the syntax Fuse.addCommand(this,"myCallback",param1,param2); **';
break;
case '111':
v6 += '** A Fuse command parameter failed. ("' + v3 + '") **';
break;
case '112':
v6 += '** Fuse: missing com.mosesSupposes.fuse.ZigoEngine! Cannot tween. **';
break;
case '113':
v6 += '** FuseItem: A callback has been discarded. Actions with a command may only contain: label, delay, scope, args. **';
break;
case '114':
v6 += '** FuseItem: command ("' + v3 + '") discarded. Commands may not appear within action groups (arrays). **';
break;
case '115':
v6 += v3 + ' overlapping prop discarded: ' + v4;
break;
case '116':
v6 += '** FuseItem Error: Delays within groups (arrays) and start/update callbacks are not supported when using Fuse without ZigoEngine. Although you need to restructure your Fuse, it should be possible to achieve the same results. **' + v7;
break;
case '117':
v6 += '** ' + v3 + ': infinite cycles are not allowed within Fuses - discarded. **';
break;
case '118':
v6 += '** Fuse Error: No targets in ' + v3 + ((v4 == true) ? ' [Unable to set start props] **' : ' [Skipping this action] **');
break;
case '119':
v6 += '** Fuse warning: ' + v4 + ((v4 == 1) ? ' target missing in ' : ' targets missing in ') + v5 + ((v3 == true) ? ' during setStartProps **' : ' **');
break;
case '120':
v6 += '** ' + v3 + ': conflict with "' + v4 + '". Property might be doubled within a grouped-action array. **';
break;
case '121':
v6 += '** Timecode formatting requires "00:" formatting (example:"01:01:33" yields 61.33 seconds.) **';
break;
case '122':
v6 += '** FuseItem: You must register the Shortcuts class in order to use easy string-type callback parsing. **';
break;
case '123':
v6 += '** FuseItem unable to target callback. Try using the syntax {scope:this, func:"myFunction"} **';
break;
case '124':
v6 += '** Event "' + v3 + '" reserved by Fuse. **';
break;
case '125':
v6 += '** A Fuse event parameter failed in ' + v3 + ' **';
break;
case '126':
v6 += '** ' + v3 + ': trigger:' + v4 + ' ignored - only one trigger is allowed per action **';
break;
case '201':
v6 += '**** FuseFMP cannot initialize argument ' + v3 + ' (BitmapFilters cannot be applied to this object type) ****';
break;
case '301':
v6 += '** The shortcuts fadeIn or fadeOut only accept 3 arguments: seconds, ease, and delay. **';
}
com.mosesSupposes.fuse.FuseKitCommon.output(v6);
};
ASSetPropFlags(v1, null, 1);
_global.com.mosesSupposes.fuse.FuseKitCommon.VERSION = 'Fuse Kit 2.0 Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License';
_global.com.mosesSupposes.fuse.FuseKitCommon.VERBOSE = true;
_global.com.mosesSupposes.fuse.FuseKitCommon.ALL = 'ALL';
_global.com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR = 'ALLCOLOR';
}
#endinitclip
}
movieClip 20521 __Packages.com.techsmith.camtasia.TimeDisplay {
#initclip
if (!com.techsmith.camtasia.TimeDisplay) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.TimeDisplay = function () {
super();
this.formatter = com.techsmith.utils.TimeFormatter.getInstance();
this.label = this.createLabel('label', {'x': 0, 'y': 0, 'w': 60, 'h': 16});
this.label.embedFonts = true;
this.label.antiAliasType = 'advanced';
this.label.selectable = false;
};
_global.com.techsmith.camtasia.TimeDisplay extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.TimeDisplay.prototype;
_global.com.techsmith.camtasia.TimeDisplay.create = function (container, name, depth, init) {
Object.registerClass('TimeDisplay', com.techsmith.camtasia.TimeDisplay);
var v6 = container.attachMovie('TimeDisplay', name, depth, init);
return com.techsmith.camtasia.TimeDisplay(v6);
};
v1.init = function (duration) {
this.duration = ' / ' + this.formatter.format(duration);
this.createFormat();
this.setTime(0);
};
v1.createFormat = function () {
this.format = new TextFormat();
this.format.color = 16777215;
this.format.size = 10;
this.format.font = 'dinot';
this.format.align = 'right';
};
v1.setTime = function (time) {
this.label.text = this.formatter.format(time) + this.duration;
this.label.setTextFormat(this.format);
};
ASSetPropFlags(v1, null, 1);
v1.label = null;
v1.duration = null;
v1.formatter = null;
v1.format = null;
}
#endinitclip
}
movieClip 20522 __Packages.com.techsmith.camtasia.hotspot.Hotspot {
#initclip
if (!com.techsmith.camtasia.hotspot.Hotspot) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.hotspot) {
_global.com.techsmith.camtasia.hotspot = new Object();
}
_global.com.techsmith.camtasia.hotspot.Hotspot = function () {
super();
this.useHandCursor = true;
this.directive = com.techsmith.camtasia.hotspot.HotspotConstants.NONE;
};
_global.com.techsmith.camtasia.hotspot.Hotspot extends com.techsmith.ui.ButtonBase;
var v1 = _global.com.techsmith.camtasia.hotspot.Hotspot.prototype;
_global.com.techsmith.camtasia.hotspot.Hotspot.create = function (container, name, depth, init) {
Object.registerClass('Hotspot', com.techsmith.camtasia.hotspot.Hotspot);
var v6 = container.attachMovie('Hotspot', name, depth, init);
return com.techsmith.camtasia.hotspot.Hotspot(v6);
};
v1.init = function (start, end, x0, y0, x1, y1, pause, time, url, jumpandplay, target) {
this._start = start;
this._end = end;
this.draw(x1 - x0, y1 - y0);
this._pause = pause;
this._jumpandplay = jumpandplay;
if (time != null) {
this.directive = com.techsmith.camtasia.hotspot.HotspotConstants.SEEK_TIME;
}
if (url != null) {
this.directive = com.techsmith.camtasia.hotspot.HotspotConstants.GET_URL;
}
this._action = new com.techsmith.camtasia.hotspot.Action(time, url, target);
};
v1.setSize = function (w, h) {
this._width = w;
this._height = h;
};
v1.__get__id = function () {
return this._id;
};
v1.__set__id = function (value) {
this._id = value;
return this.__get__id();
};
v1.__get__start = function () {
return this._start;
};
v1.__get__end = function () {
return this._end;
};
v1.__get__action = function () {
return this._action;
};
v1.__get__pause = function () {
return this._pause;
};
v1.onRelease = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE, 'id': this._id, 'pause': this._pause, 'directive': this.directive, 'action': this.action, 'jumpandplay': this._jumpandplay});
};
v1.draw = function (width, height) {
var v4 = new com.brooksandrus.drawing.Rect();
var v5 = this.debugging ? 50 : 0;
v4.draw(this, width, height, this.color, v5);
};
v1.__set__debug = function (val) {
this.debugging = val;
return this.__get__debug();
};
v1.__get__debug = function () {
return this.debugging;
};
v1.addProperty('pause', v1.__get__pause, function () {});
v1.addProperty('start', v1.__get__start, function () {});
v1.addProperty('debug', v1.__get__debug, v1.__set__debug);
v1.addProperty('action', v1.__get__action, function () {});
v1.addProperty('end', v1.__get__end, function () {});
v1.addProperty('id', v1.__get__id, v1.__set__id);
ASSetPropFlags(v1, null, 1);
v1.debugging = false;
v1.color = 16763904;
}
#endinitclip
}
movieClip 20523 __Packages.com.techsmith.camtasia.quiz.EmailSummary {
#initclip
if (!com.techsmith.camtasia.quiz.EmailSummary) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.EmailSummary = function () {
super();
this.bgStyle = com.techsmith.xskin.ui.panels.styles.StyleFactory.GLASS;
this.fgStyle = com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK;
};
_global.com.techsmith.camtasia.quiz.EmailSummary extends com.techsmith.xskin.ui.XSWindow;
var v1 = _global.com.techsmith.camtasia.quiz.EmailSummary.prototype;
_global.com.techsmith.camtasia.quiz.EmailSummary.create = function (container, name, depth, init) {
Object.registerClass('EmailSummary', com.techsmith.camtasia.quiz.EmailSummary);
var v6 = container.attachMovie('EmailSummary', name, depth, init);
return com.techsmith.camtasia.quiz.EmailSummary(v6);
};
v1.init = function (dim, style, summaryData) {
this.summaryData = summaryData;
super.init(dim, style);
};
v1.setupWindowChrome = function (bDim) {
super.setupWindowChrome(bDim);
this.label = this.addChild(com.techsmith.ui.Label, 'label', {'multiline': false, 'color': 'FFFFFF', 'size': 14});
var v4 = this.getContentLoc();
this.label.move(v4.x, (v4.y - this.label._height) / 2);
this.previewBtn = this.addChild(com.techsmith.ui.LabelButton, 'previewBtn', {'defaultFontColor': 16777215});
var v5 = new com.techsmith.ui.panels.PanelStyle('RedGlassLUp', 'RedGlassMUp', 'RedGlassRUp');
var v6 = new com.techsmith.ui.panels.PanelStyle('RedGlassLOver', 'RedGlassMOver', 'RedGlassROver');
var v7 = new com.techsmith.ui.panels.PanelStyle('RedGlassLDown', 'RedGlassMDown', 'RedGlassRDown');
var v8 = new com.techsmith.ui.panels.PanelStyle('RedGlassLDisabled', 'RedGlassMDisabled', 'RedGlassRDisabled');
this.previewBtn.init('', 75, null, {'up': v5, 'over': v6, 'down': v7, 'disabled': v8});
this.sendBtn = this.addChild(com.techsmith.ui.LabelButton, 'sendBtn', {'defaultFontColor': 16777215});
this.sendBtn.init('', 75, null, {'up': v5, 'over': v6, 'down': v7, 'disabled': v8});
var v9 = this._width - (this.previewBtn._width + this.hmargin);
var v10 = this._height - (this.vmargin - (this.vmargin - this.previewBtn._height) / 2);
var v11 = 5;
this.sendBtn.move(v9, v10);
this.previewBtn.move(this.sendBtn._x - (this.previewBtn._width + v11), v10);
this.status = this.addChild(com.techsmith.ui.TextObject, 'status', {'border': false, 'fillOpacity': 0, 'strokeOpacity': 0, 'size': 10, 'textColor': 'FFFFFF', 'type': 'dynamic', 'selectable': false});
this.status.init(this.previewBtn._x - (this.hmargin + 5), 22);
this.status.move(this.hmargin, v10 - (this.status._height - this.previewBtn._height) / 2);
this.previewBtn.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.previewBtnHandler));
this.sendBtn.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.sendBtnHandler));
};
v1.setupContent = function () {
this.content = this.addChild(com.techsmith.ui.TextArea, 'content', {'border': false, 'fillOpacity': 20, 'strokeColor': 16777215, 'textColor': 'FFFFFF', 'type': 'dynamic', 'selectable': false});
this.content.init(this.bgDim.width - 20, this.bgDim.height - 62);
this.content.move((this.bgDim.width - this.content.width) / 2, (this.bgDim.height - this.content.height) / 2);
};
v1.updateUI = function () {
this.sendBtn.setEnabled(false);
this.previewBtn.setEnabled(false);
this.content.setEnabled(false);
};
v1.setMessage = function (message) {
this.content.setText(message);
};
v1.setStatus = function (message) {
this.status.setText(message);
};
v1.setButtonLabels = function (previewText, sendText) {
this.previewBtn.setLabel(previewText);
this.sendBtn.setLabel(sendText);
};
v1.setPreview = function (title, message) {
this.preview.setTitle(title);
this.preview.setMessage(message);
};
v1.previewBtnHandler = function (e) {
this.previewBtn.setEnabled(false);
this.preview = com.techsmith.camtasia.quiz.EmailPreview.create(this, 'preview', this.previewDepth);
this.preview.init(new com.techsmith.utils.Dimension(320, 240));
this.preview.move((this.width - this.preview.width) / 2, (this.height - this.preview.height) / 2);
this.preview.addEventListener(com.techsmith.events.Events.CLOSE, com.techsmith.utils.Delegate.create(this, this.previewCloseHandler));
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.EmailSummary.PREVIEW_EVENT});
};
v1.sendBtnHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.EmailSummary.SEND_EVENT});
};
v1.previewCloseHandler = function (e) {
this.previewBtn.setEnabled(true);
this.preview.removeAllListeners();
};
_global.com.techsmith.camtasia.quiz.EmailSummary implements com.techsmith.camtasia.quiz.ISummary;
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.quiz.EmailSummary.SEND_EVENT = 'emailSendEvent';
_global.com.techsmith.camtasia.quiz.EmailSummary.PREVIEW_EVENT = 'previewEvent';
v1.previewBtn = null;
v1.sendBtn = null;
v1.status = null;
v1.message = null;
v1.preview = null;
v1.hmargin = 10;
v1.vmargin = 31;
v1.previewDepth = 100;
v1.summaryData = null;
}
#endinitclip
}
movieClip 20524 __Packages.com.techsmith.ui.BlurredPanel {
#initclip
if (!com.techsmith.ui.BlurredPanel) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.BlurredPanel = function () {
super();
};
_global.com.techsmith.ui.BlurredPanel extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.BlurredPanel.prototype;
_global.com.techsmith.ui.BlurredPanel.create = function (container, name, depth, init) {
Object.registerClass('BlurredPanel', com.techsmith.ui.BlurredPanel);
var v6 = container.attachMovie('BlurredPanel', name, depth, init);
return com.techsmith.ui.BlurredPanel(v6);
};
v1.init = function (src, panelType, style, rect) {
this.background = com.techsmith.ui.ImageSlice.create(this, 'background', 1, {'pixels': this.pixels});
this.background.createBitmap(src, rect);
var v6 = new com.techsmith.utils.ImageBlur(this.background);
this.panel = panelType.create(this, 'panel', 2);
this.panel.init(new com.techsmith.utils.Dimension(this.background.width, this.background.height), style);
};
ASSetPropFlags(v1, null, 1);
v1.pixels = 50;
}
#endinitclip
}
movieClip 20525 __Packages.com.techsmith.ui.managers.DepthManager {
#initclip
if (!com.techsmith.ui.managers.DepthManager) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.managers) {
_global.com.techsmith.ui.managers = new Object();
}
_global.com.techsmith.ui.managers.DepthManager = function (startingDepth) {
if (startingDepth != null) {
this.currentDepth = startingDepth;
}
};
var v1 = _global.com.techsmith.ui.managers.DepthManager.prototype;
v1.getNextDepth = function () {
++this.currentDepth;
return this.currentDepth;
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.ui.managers.DepthManager.MAX_DEPTH = 1048675;
v1.currentDepth = 0;
}
#endinitclip
}
movieClip 20526 __Packages.com.techsmith.camtasia.toc.TOCContent {
#initclip
if (!com.techsmith.camtasia.toc.TOCContent) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.toc) {
_global.com.techsmith.camtasia.toc = new Object();
}
_global.com.techsmith.camtasia.toc.TOCContent = function () {
super();
};
_global.com.techsmith.camtasia.toc.TOCContent extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.toc.TOCContent.prototype;
_global.com.techsmith.camtasia.toc.TOCContent.create = function (container, name, depth, init) {
Object.registerClass('TOCContent', com.techsmith.camtasia.toc.TOCContent);
var v6 = container.attachMovie('TOCContent', name, depth, init);
return com.techsmith.camtasia.toc.TOCContent(v6);
};
v1.init = function (dim, url, autostart, fps) {
this.dim = dim;
this.setupTree(dim);
if (url != null && url != '') {
this.header = com.techsmith.camtasia.toc.TOCHeader.create(this, 'header', 1);
var v6 = url.lastIndexOf('.');
if (v6 != -1) {
this.header.addEventListener(com.techsmith.events.Events.INIT, com.techsmith.utils.Delegate.create(this, this.headerInitHandler));
}
this.header.load(url, {'autoStart': autostart, 'fps': fps});
if (v6 == -1) {
this.headerInitHandler();
}
}
};
v1.headerInitHandler = function (e) {
var v3 = 100;
var v4 = (this.dim.width / this.header._width) * 100;
var v5 = (this.dim.height / this.header._height) * 100;
v3 = Math.min(v4, v5);
this.header._xscale = v3;
this.header._yscale = v3;
this.header.drawOutline();
this.body.setSize(Math.max(this.header.width, this.dim.width), this.dim.height - (this.header.height + this.padding));
var v6 = (this.dim.width - this.header._width) / 2;
this.header.move(v6, 0);
this.body.move(v6, this.header.y + this.header.height + this.padding);
};
v1.setupTree = function (dim) {
this.body = com.techsmith.camtasia.toc.TreeWrapper.create(this, 'wrapper', 2);
this.body.setSize(dim.width, dim.height);
this.body.addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.changeHandler));
};
v1.changeHandler = function (e) {
e.target = this;
this.dispatchEvent(e);
};
v1.__set__dataProvider = function (dataprovider) {
this.body.dataProvider = dataprovider;
return this.__get__dataProvider();
};
v1.setStyle = function (styles) {
this.body.setStyle(styles);
};
v1.setSelected = function (currentTime) {
this.body.setSelected(currentTime);
};
v1.expandTree = function (node) {
this.body.expandTree(node);
};
v1.setRowsTransparent = function () {
this.body.setRowsTransparent();
};
v1.getTree = function () {
return this.body.getTree();
};
v1.addProperty('dataProvider', function () {}, v1.__set__dataProvider);
ASSetPropFlags(v1, null, 1);
v1.padding = 5;
}
#endinitclip
}
movieClip 20527 __Packages.com.brooksandrus.utils.Iterator {
#initclip
if (!com.brooksandrus.utils.Iterator) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.utils) {
_global.com.brooksandrus.utils = new Object();
}
_global.com.brooksandrus.utils.Iterator = function () {};
var v1 = _global.com.brooksandrus.utils.Iterator.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20528 __Packages.com.techsmith.ui.panels.PanelStyle {
#initclip
if (!com.techsmith.ui.panels.PanelStyle) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.panels) {
_global.com.techsmith.ui.panels = new Object();
}
_global.com.techsmith.ui.panels.PanelStyle = function (tl, tm, tr, cl, cm, cr, bl, bm, br) {
this.TOP_LEFT = tl;
this.TOP_MIDDLE = tm;
this.TOP_RIGHT = tr;
this.CENTER_LEFT = cl;
this.CENTER_MIDDLE = cm;
this.CENTER_RIGHT = cr;
this.BOTTOM_LEFT = bl;
this.BOTTOM_MIDDLE = bm;
this.BOTTOM_RIGHT = br;
};
var v1 = _global.com.techsmith.ui.panels.PanelStyle.prototype;
ASSetPropFlags(v1, null, 1);
v1.TOP_LEFT = null;
v1.TOP_MIDDLE = null;
v1.TOP_RIGHT = null;
v1.CENTER_LEFT = null;
v1.CENTER_MIDDLE = null;
v1.CENTER_RIGHT = null;
v1.BOTTOM_LEFT = null;
v1.BOTTOM_MIDDLE = null;
v1.BOTTOM_RIGHT = null;
}
#endinitclip
}
movieClip 20529 __Packages.com.techsmith.xskin.ui.panels.styles.BlackExploded {
#initclip
if (!com.techsmith.xskin.ui.panels.styles.BlackExploded) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
if (!com.techsmith.xskin.ui.panels.styles) {
_global.com.techsmith.xskin.ui.panels.styles = new Object();
}
_global.com.techsmith.xskin.ui.panels.styles.BlackExploded = function () {
super('XSBlackExplodedPanelTL', 'XSBlackExplodedPanelTM', 'XSBlackExplodedPanelTR', 'XSBlackExplodedPanelCL', 'XSBlackExplodedPanelCM', 'XSBlackExplodedPanelCR', 'XSBlackExplodedPanelBL', 'XSBlackExplodedPanelBM', 'XSBlackExplodedPanelBR');
};
_global.com.techsmith.xskin.ui.panels.styles.BlackExploded extends com.techsmith.ui.panels.PanelStyle;
var v1 = _global.com.techsmith.xskin.ui.panels.styles.BlackExploded.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20530 __Packages.com.mosesSupposes.fuse.PennerEasing {
#initclip
if (!com.mosesSupposes.fuse.PennerEasing) {
if (!com) {
_global.com = new Object();
}
if (!com.mosesSupposes) {
_global.com.mosesSupposes = new Object();
}
if (!com.mosesSupposes.fuse) {
_global.com.mosesSupposes.fuse = new Object();
}
_global.com.mosesSupposes.fuse.PennerEasing = function () {};
var v1 = _global.com.mosesSupposes.fuse.PennerEasing.prototype;
_global.com.mosesSupposes.fuse.PennerEasing.linear = function (t, b, c, d) {
return c * t / d + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInQuad = function (t, b, c, d) {
t /= d;
return c * t * t + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutQuad = function (t, b, c, d) {
t /= d;
return -c * t * (t - 2) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutQuad = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (c / 2) * t * t + b;
}
return (-c / 2) * (--t * (t - 2) - 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInExpo = function (t, b, c, d) {
return (t == 0) ? b : c * Math.pow(2, 10 * (t / d - 1)) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutExpo = function (t, b, c, d) {
return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutExpo = function (t, b, c, d) {
if (t == 0) {
return b;
}
if (t == d) {
return b + c;
}
t /= d / 2;
if (t < 1) {
return (c / 2) * Math.pow(2, 10 * (t - 1)) + b;
}
return (c / 2) * (-Math.pow(2, -10 * --t) + 2) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInExpo = function (t, b, c, d) {
if (t == 0) {
return b;
}
if (t == d) {
return b + c;
}
t /= d / 2;
if (t < 1) {
return (c / 2) * (-Math.pow(2, -10 * t) + 1) + b;
}
return (c / 2) * (Math.pow(2, 10 * (t - 2)) + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInElastic = function (t, b, c, d, a, p) {
if (t == 0) {
return b;
}
t /= d;
if (t == 1) {
return b + c;
}
if (!p) {
p = d * 0.3;
}
if (!a || a < Math.abs(c)) {
a = c;
var v8 = p / 4;
t -= 1;
return -(a * Math.pow(2, 10 * t) * Math.sin((t * d - v8) * (2 * Math.PI) / p)) + b;
}
v8 = (p / 2 * Math.PI) * Math.asin(c / a);
t -= 1;
return -(a * Math.pow(2, 10 * t) * Math.sin((t * d - v8) * (2 * Math.PI) / p)) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutElastic = function (t, b, c, d, a, p) {
if (t == 0) {
return b;
}
t /= d;
if (t == 1) {
return b + c;
}
if (!p) {
p = d * 0.3;
}
if (!a || a < Math.abs(c)) {
a = c;
var v8 = p / 4;
return a * Math.pow(2, -10 * t) * Math.sin((t * d - v8) * (2 * Math.PI) / p) + c + b;
}
v8 = (p / 2 * Math.PI) * Math.asin(c / a);
return a * Math.pow(2, -10 * t) * Math.sin((t * d - v8) * (2 * Math.PI) / p) + c + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutElastic = function (t, b, c, d, a, p) {
if (t == 0) {
return b;
}
t /= d / 2;
if (t == 2) {
return b + c;
}
if (!p) {
p = d * (0.3 * 1.5);
}
if (!a || a < Math.abs(c)) {
a = c;
var v8 = p / 4;
} else {
var v8 = (p / 2 * Math.PI) * Math.asin(c / a);
}
if (t < 1) {
t -= 1;
return -0.5 * (a * Math.pow(2, 10 * t) * Math.sin((t * d - v8) * (2 * Math.PI) / p)) + b;
}
t -= 1;
return a * Math.pow(2, -10 * t) * Math.sin((t * d - v8) * (2 * Math.PI) / p) * 0.5 + c + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInElastic = function (t, b, c, d, a, p) {
if (t == 0) {
return b;
}
t /= d / 2;
if (t == 2) {
return b + c;
}
if (!p) {
p = d * (0.3 * 1.5);
}
if (!a || a < Math.abs(c)) {
a = c;
var v8 = p / 4;
} else {
var v8 = (p / 2 * Math.PI) * Math.asin(c / a);
}
if (t < 1) {
return 0.5 * (a * Math.pow(2, -10 * t) * Math.sin((t * d - v8) * (2 * Math.PI) / p)) + c / 2 + b;
}
return c / 2 + 0.5 * (a * Math.pow(2, 10 * (t - 2)) * Math.sin((t * d - v8) * (2 * Math.PI) / p)) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInBack = function (t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t /= d;
return c * t * t * ((s + 1) * t - s) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutBack = function (t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d - 1;
return c * (t * t * ((s + 1) * t + s) + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutBack = function (t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t /= d / 2;
if (t < 1) {
s *= 1.525;
return (c / 2) * (t * t * ((s + 1) * t - s)) + b;
}
t -= 2;
s *= 1.525;
return (c / 2) * (t * t * ((s + 1) * t + s) + 2) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInBack = function (t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t /= d / 2;
if (t < 1) {
s *= 1.525;
return (c / 2) * (--t * t * ((s + 1) * t + s) + 1) + b;
}
s *= 1.525;
return (c / 2) * (--t * t * ((s + 1) * t - s) + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutBounce = function (t, b, c, d) {
t /= d;
if (t < 1 / 2.75) {
return c * (7.5625 * t * t) + b;
} else {
if (t < 2 / 2.75) {
t -= 1.5 / 2.75;
return c * (7.5625 * t * t + 0.75) + b;
} else {
if (t < 2.5 / 2.75) {
t -= 2.25 / 2.75;
return c * (7.5625 * t * t + 0.9375) + b;
} else {
t -= 2.625 / 2.75;
return c * (7.5625 * t * t + 0.984375) + b;
}
}
}
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInBounce = function (t, b, c, d) {
return c - com.mosesSupposes.fuse.PennerEasing.easeOutBounce(d - t, 0, c, d) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutBounce = function (t, b, c, d) {
if (t < d / 2) {
return com.mosesSupposes.fuse.PennerEasing.easeInBounce(t * 2, 0, c, d) * 0.5 + b;
} else {
return com.mosesSupposes.fuse.PennerEasing.easeOutBounce(t * 2 - d, 0, c, d) * 0.5 + c * 0.5 + b;
}
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInBounce = function (t, b, c, d) {
if (t < d / 2) {
return com.mosesSupposes.fuse.PennerEasing.easeOutBounce(t * 2, 0, c, d) * 0.5 + b;
}
return com.mosesSupposes.fuse.PennerEasing.easeInBounce(t * 2 - d, 0, c, d) * 0.5 + c * 0.5 + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInCubic = function (t, b, c, d) {
t /= d;
return c * t * t * t + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutCubic = function (t, b, c, d) {
t = t / d - 1;
return c * (t * t * t + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutCubic = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (c / 2) * t * t * t + b;
}
t -= 2;
return (c / 2) * (t * t * t + 2) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInCubic = function (t, b, c, d) {
t /= d / 2;
return (c / 2) * (--t * t * t + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInQuart = function (t, b, c, d) {
t /= d;
return c * t * t * t * t + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutQuart = function (t, b, c, d) {
t = t / d - 1;
return -c * (t * t * t * t - 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutQuart = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (c / 2) * t * t * t * t + b;
}
t -= 2;
return (-c / 2) * (t * t * t * t - 2) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInQuart = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (-c / 2) * (--t * t * t * t - 1) + b;
}
return (c / 2) * (--t * t * t * t + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInQuint = function (t, b, c, d) {
t /= d;
return c * t * t * t * t * t + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutQuint = function (t, b, c, d) {
t = t / d - 1;
return c * (t * t * t * t * t + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutQuint = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (c / 2) * t * t * t * t * t + b;
}
t -= 2;
return (c / 2) * (t * t * t * t * t + 2) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInQuint = function (t, b, c, d) {
t /= d / 2;
return (c / 2) * (--t * t * t * t * t + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInSine = function (t, b, c, d) {
return -c * Math.cos((t / d) * (Math.PI / 2)) + c + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutSine = function (t, b, c, d) {
return c * Math.sin((t / d) * (Math.PI / 2)) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutSine = function (t, b, c, d) {
return (-c / 2) * (Math.cos(Math.PI * t / d) - 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInSine = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (c / 2) * Math.sin(Math.PI * t / 2) + b;
}
return (-c / 2) * (Math.cos(Math.PI * --t / 2) - 2) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInCirc = function (t, b, c, d) {
t /= d;
return -c * (Math.sqrt(1 - t * t) - 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutCirc = function (t, b, c, d) {
t = t / d - 1;
return c * Math.sqrt(1 - t * t) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeInOutCirc = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (-c / 2) * (Math.sqrt(1 - t * t) - 1) + b;
}
t -= 2;
return (c / 2) * (Math.sqrt(1 - t * t) + 1) + b;
};
_global.com.mosesSupposes.fuse.PennerEasing.easeOutInCirc = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (c / 2) * Math.sqrt(1 - --t * t) + b;
}
return (c / 2) * (2 - Math.sqrt(1 - --t * t)) + b;
};
ASSetPropFlags(v1, null, 1);
_global.com.mosesSupposes.fuse.PennerEasing.registryKey = 'pennerEasing';
}
#endinitclip
}
movieClip 20531 __Packages.com.techsmith.camtasia.quiz.QuizModel {
#initclip
if (!com.techsmith.camtasia.quiz.QuizModel) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.QuizModel = function () {
this.alreadyReportedScores = false;
this.fps = 1;
};
var v1 = _global.com.techsmith.camtasia.quiz.QuizModel.prototype;
v1.init = function (quizzes, globalData, useCookie) {
this.useCookie = useCookie;
this.globalData = globalData;
this.quizzes = quizzes;
this.allPopups = new Array();
var v5 = 0;
goto 1443;
for (;;) {
++v5;
label 1443:
if (v5 >= quizzes.length) break;
var v6 = 0;
goto 1489;
for (;;) {
++v6;
label 1489:
if (v6 >= quizzes[v5].popup.length) break;
this.allPopups.push(quizzes[v5].popup[v6]);
}
}
};
v1.initIndex = function (id, fps, duration) {
this.fps = fps;
this.data = this.quizzes[id];
if (this.idInit[id] != id) {
this.idInit[id] = id;
this.onDoneLoadingXML(duration);
}
};
v1.onDoneLoadingXML = function (duration) {
for (var i in this.data.popup) {
var v3 = this.data.popup[i];
v3.time = Math.min(v3.time, duration);
v3.frame = Math.max(1, Math.round(Number(v3.time) * this.fps));
v3.nextID = this.data['frm' + v3.frame];
v3.data.feedback = v3.data.feedback && !this.globalData.disableFeedback;
this.data['pop' + this.data['frm' + v3.frame]].prevID = v3.id;
this.data['frm' + v3.frame] = v3.id;
this.data['pop' + v3.id] = v3;
}
if (this.useCookie) {
this.loadAllUserInput();
}
};
v1.popup = function (popupID) {
return this.data['pop' + popupID];
};
v1.popupIDOnFrame = function (frame) {
return this.data['frm' + frame];
};
v1.popupIDOnFrameRange = function (frame0, frame1) {
var v4 = frame0;
goto 2233;
for (;;) {
++v4;
label 2233:
if (v4 > frame1) break;
if (this.popupIDOnFrame(v4) != undefined) {
return this.popupIDOnFrame(v4);
}
}
return undefined;
};
v1.popupNextID = function (popupID) {
return (this.popup(popupID)).nextID;
};
v1.popupPrevID = function (popupID) {
return (this.popup(popupID)).prevID;
};
v1.popupNextIDInGroup = function (popupID) {
var v3 = (this.popup(popupID)).nextID;
return (v3 != undefined && (this.popup(popupID)).data.title == (this.popup(v3)).data.title) ? v3 : undefined;
};
v1.popupPrevIDInGroup = function (popupID) {
var v3 = (this.popup(popupID)).prevID;
return (v3 != undefined && (this.popup(popupID)).data.title == (this.popup(v3)).data.title) ? v3 : undefined;
};
v1.groupStats = function (popupID) {
var v3 = 0;
var v4 = 0;
var v5 = popupID;
goto 2780;
for (;;) {
v5 = this.popupPrevIDInGroup(v5);
label 2780:
if (v5 == undefined) break;
++v3;
}
var v6 = popupID;
goto 2845;
for (;;) {
v6 = this.popupNextIDInGroup(v6);
label 2845:
if (v6 == undefined) break;
++v4;
}
return {'pos': v3, 'tot': v4 + v3 - 1};
};
v1.popupNextIDRange = function (popupID, frame1) {
var v4 = this.popup(popupID);
return (v4.nextID != undefined) ? v4.nextID : this.popupIDOnFrameRange(v4.frame + 1, frame1);
};
v1.getPopupData = function (popupID) {
if ((this.popup(popupID)).type == 'summary') {
var v3 = new Object();
v3.nNumQ = this.countQuestions();
v3.nNumQScored = this.countQuestions(this.isScored);
v3.nNumQCorrect = this.countQuestions(this.isScored, this.isCorrect);
v3.nNumQAnswered = this.countQuestions(this.isAnswered);
v3.nNumQScoredUnanswered = this.countQuestions(this.isScored, this.isUnanswered);
v3.nNumQUnscoredUnanswered = this.countQuestions(this.isUnscored, this.isUnanswered);
v3.alreadyReportedScores = this.alreadyReportedScores;
v3.strEmailContent = this.getEmailContent();
(this.popup(popupID)).data.dyn = v3;
}
return (this.popup(popupID)).data;
};
v1.getPopupFilename = function (popupID) {
return (this.popup(popupID)).filename;
};
v1.reportResults = function (popupID, userData) {
(this.popup(popupID)).data.userData = userData;
if (this.useCookie) {
this.saveUserInput(popupID);
}
return (!userData.bCorrect && int((this.popup(popupID)).data.feedback)) ? (this.popup(popupID)).data : {};
};
v1.isSummaryID = function (popupID) {
return this.isSummary(this.popup(popupID));
};
v1.isSummary = function (objPopup) {
return objPopup.type == 'summary';
};
v1.isQuestionID = function (popupID) {
return this.isQuestion(this.popup(popupID));
};
v1.isQuestion = function (objPopup) {
return objPopup.type == 'question';
};
v1.isCorrect = function (objPopup) {
return objPopup.data.userData.bCorrect;
};
v1.isAnswered = function (objPopup) {
return objPopup.data.userData.strAnswer != undefined && objPopup.data.userData.strAnswer != '';
};
v1.isUnanswered = function (objPopup) {
return !this.isAnswered(objPopup);
};
v1.isScored = function (objPopup) {
return objPopup.data.scored;
};
v1.isUnscored = function (objPopup) {
return !objPopup.data.scored;
};
v1.isTrue = function () {
return true;
};
v1.countQuestions = function (func1, func2) {
func1 = (func1 != undefined) ? func1 : this.isTrue;
func2 = (func2 != undefined) ? func2 : this.isTrue;
var v4 = 0;
var v5 = 0;
goto 4243;
for (;;) {
++v5;
label 4243:
if (v5 >= this.allPopups.length) break;
var v6 = this.allPopups[v5];
v4 += (this.isQuestion(v6) && (func1(v6) && func2(v6))) ? 1 : 0;
}
return v4;
};
v1.numQScored = function () {
return this.countQuestions(this.isScored);
};
v1.numQCorrect = function () {
return this.countQuestions(this.isScored, this.isCorrect);
};
v1.numQ = function () {
return this.countQuestions();
};
v1.numQAnswered = function () {
return this.countQuestions(this.isAnswered);
};
v1.getEmailContent = function () {
var v2 = '';
var v3 = 1;
var v4 = '';
if (this.globalData.includeScoreInEmail) {
v2 += com.techsmith.utils.Util.sprintf(this.globalData.txtScore, this.numQCorrect(), this.numQScored()) + '\n\n';
}
var v5 = 0;
goto 4743;
for (;;) {
for (;;) {
++v5;
label 4743:
if (v5 >= this.allPopups.length) break;
var v6 = this.allPopups[v5];
if (this.isQuestion(v6)) break;
if (v6.data.title != v4) {
if (v4 != '') {
v2 += '\n';
}
v2 += v6.data.title + '\n';
v3 = 1;
}
var v7 = (v6.data.userData.strAnswer != undefined) ? v6.data.userData.strAnswer : '---';
v2 += v3++ + '. ' + v7 + '\n';
v4 = v6.data.title;
}
}
return v2;
};
v1.getCookie = function () {
return SharedObject.getLocal('quizdata');
};
v1.saveUserInput = function (popupID) {
var v3 = this.getCookie();
v3.data['popup' + popupID] = (this.popup(popupID)).data.userData;
v3.flush();
};
v1.loadAllUserInput = function () {
var v2 = this.getCookie();
var v3 = 0;
goto 5252;
for (;;) {
++v3;
label 5252:
if (v3 >= this.data.popup.length) break;
var v4 = this.data.popup[v3];
v4.data.userData = v2.data['popup' + v4.id];
}
};
v1.clearCookie = function () {
var v2 = this.getCookie();
for (var a in v2.data) {
delete v2.data[a];
}
v2.flush();
};
ASSetPropFlags(v1, null, 1);
v1.idInit = [];
v1.useCookie = true;
}
#endinitclip
}
movieClip 20532 __Packages.com.techsmith.ui.ButtonStyle {
#initclip
if (!com.techsmith.ui.ButtonStyle) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.ButtonStyle = function (falseSkin, trueSkin, tog) {
if (falseSkin != null) {
this.falseUpSkin = falseSkin + 'Up';
this.falseOverSkin = falseSkin + 'Over';
this.falseDownSkin = falseSkin + 'Down';
this.falseDisabledSkin = falseSkin + 'Disabled';
}
if (trueSkin != null) {
this.trueUpSkin = trueSkin + 'Up';
this.trueOverSkin = trueSkin + 'Over';
this.trueDownSkin = trueSkin + 'Down';
this.trueDisabledSkin = trueSkin + 'Disabled';
}
if (tog == null) {
this.toggle = false;
} else {
this.toggle = tog;
}
};
var v1 = _global.com.techsmith.ui.ButtonStyle.prototype;
ASSetPropFlags(v1, null, 1);
v1.falseUpSkin = null;
v1.falseOverSkin = null;
v1.falseDownSkin = null;
v1.falseDisabledSkin = null;
v1.trueUpSkin = null;
v1.trueOverSkin = null;
v1.trueDownSkin = null;
v1.trueDisabledSkin = null;
v1.toggle = null;
}
#endinitclip
}
movieClip 20533 __Packages.com.mosesSupposes.fuse.FuseFMP {
#initclip
if (!com.mosesSupposes.fuse.FuseFMP) {
if (!com) {
_global.com = new Object();
}
if (!com.mosesSupposes) {
_global.com.mosesSupposes = new Object();
}
if (!com.mosesSupposes.fuse) {
_global.com.mosesSupposes.fuse = new Object();
}
_global.com.mosesSupposes.fuse.FuseFMP = function () {};
var v1 = _global.com.mosesSupposes.fuse.FuseFMP.prototype;
_global.com.mosesSupposes.fuse.FuseFMP.simpleSetup = function () {
com.mosesSupposes.fuse.FuseFMP.initialize(MovieClip.prototype, Button.prototype, TextField.prototype);
_global.FuseFMP = com.mosesSupposes.fuse.FuseFMP;
for (var i in com.mosesSupposes.fuse.FuseFMP.$fclasses) {
_global[i] = com.mosesSupposes.fuse.FuseFMP.$fclasses[i];
}
};
_global.com.mosesSupposes.fuse.FuseFMP.initialize = function (target) {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.$shortcuts = {'getFilterName': function (f) {
return com.mosesSupposes.fuse.FuseFMP.getFilterName(f);
}, 'getFilterIndex': function (f) {
return com.mosesSupposes.fuse.FuseFMP.getFilterIndex(this, f);
}, 'getFilter': function (f, createNew) {
return com.mosesSupposes.fuse.FuseFMP.getFilter(this, f, createNew);
}, 'writeFilter': function (f, pObj) {
return com.mosesSupposes.fuse.FuseFMP.writeFilter(this, f, pObj);
}, 'removeFilter': function (f) {
return com.mosesSupposes.fuse.FuseFMP.removeFilter(this, f);
}, 'getFilterProp': function (prop, createNew) {
return com.mosesSupposes.fuse.FuseFMP.getFilterProp(this, prop, createNew);
}, 'setFilterProp': function (prop, v) {
com.mosesSupposes.fuse.FuseFMP.setFilterProp(this, prop, v);
}, 'setFilterProps': function (fOrPObj, pObj) {
com.mosesSupposes.fuse.FuseFMP.setFilterProps(this, fOrPObj, pObj);
}, 'traceAllFilters': function () {
com.mosesSupposes.fuse.FuseFMP.traceAllFilters();
}};
com.mosesSupposes.fuse.FuseFMP.$fclasses = {'BevelFilter': flash.filters.BevelFilter, 'BlurFilter': flash.filters.BlurFilter, 'ColorMatrixFilter': flash.filters.ColorMatrixFilter, 'ConvolutionFilter': flash.filters.ConvolutionFilter, 'DisplacementMapFilter': flash.filters.DisplacementMapFilter, 'DropShadowFilter': flash.filters.DropShadowFilter, 'GlowFilter': flash.filters.GlowFilter, 'GradientBevelFilter': flash.filters.GradientBevelFilter, 'GradientGlowFilter': flash.filters.GradientGlowFilter};
com.mosesSupposes.fuse.FuseFMP.$gro = {'__resolve': function (name) {
var v2 = function () {
var v2 = this;
if (v2.filters != undefined) {
var v3 = name.split('_');
if (v3[1] == 'blur') {
v3[1] = 'blurX';
}
return (com.mosesSupposes.fuse.FuseFMP.getFilter(this, v3[0] + 'Filter', false))[v3[1]];
}
};
return v2;
}};
com.mosesSupposes.fuse.FuseFMP.$sro = {'__resolve': function (name) {
var v2 = function (val) {
var v3 = this;
if (v3.filters != undefined) {
com.mosesSupposes.fuse.FuseFMP.setFilterProp(this, name, val);
}
};
return v2;
}};
}
if (arguments[0] == null) {
return undefined;
}
var v3 = [MovieClip, Button, TextField];
for (var i in arguments) {
var v4 = false;
for (var j in v3) {
if (arguments[i] instanceof v3[j] || arguments[i] == (Function(v3[j])).prototype) {
v4 = true;
break;
}
}
if (!v4) {
com.mosesSupposes.fuse.FuseKitCommon.error('201', i);
continue;
}
for (var $filtername in com.mosesSupposes.fuse.FuseFMP.$fclasses) {
var v5 = new com.mosesSupposes.fuse.FuseFMP.$fclasses[$filtername]();
for (var b in v5) {
if (typeof v5[b] == 'function') {
continue;
}
var v6 = $filtername.substr(0, -6) + '_' + b;
arguments[i].addProperty(v6, com.mosesSupposes.fuse.FuseFMP.$gro[v6], com.mosesSupposes.fuse.FuseFMP.$sro[v6]);
_global.ASSetPropFlags(arguments[i], v6, 3, 1);
if (b == 'blurX') {
v6 = v6.slice(0, -1);
arguments[i].addProperty(v6, com.mosesSupposes.fuse.FuseFMP.$gro[v6], com.mosesSupposes.fuse.FuseFMP.$sro[v6]);
_global.ASSetPropFlags(arguments[i], v6, 3, 1);
}
}
}
for (var s in com.mosesSupposes.fuse.FuseFMP.$shortcuts) {
arguments[i][s] = com.mosesSupposes.fuse.FuseFMP.$shortcuts[s];
_global.ASSetPropFlags(arguments[i], s, 7, 1);
}
}
};
_global.com.mosesSupposes.fuse.FuseFMP.deinitialize = function () {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
return undefined;
}
if (arguments.length == 0) {
arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype);
}
for (var i in arguments) {
for (var $filtername in com.mosesSupposes.fuse.FuseFMP.$fclasses) {
super = new com.mosesSupposes.fuse.FuseFMP.$fclasses[$filtername]();
for (var b in super) {
if (typeof super[b] == 'function') {
continue;
}
var v3 = $filtername.substr(0, -6) + '_' + b;
_global.ASSetPropFlags(arguments[i], v3, 0, 2);
arguments[i].addProperty(v3, null, null);
delete arguments[i][v3];
}
}
for (var s in com.mosesSupposes.fuse.FuseFMP.$shortcuts) {
_global.ASSetPropFlags(arguments[i], s, 0, 2);
delete arguments[i][s];
}
}
};
_global.com.mosesSupposes.fuse.FuseFMP.getFilterName = function ($myFilter) {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.initialize(null);
}
for (var a in com.mosesSupposes.fuse.FuseFMP.$fclasses) {
if ($myFilter.__proto__ == (Function(com.mosesSupposes.fuse.FuseFMP.$fclasses[a])).prototype) {
return a;
}
}
return null;
};
_global.com.mosesSupposes.fuse.FuseFMP.getFilterIndex = function ($obj, $myFilter) {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.initialize(null);
}
$myFilter = com.mosesSupposes.fuse.FuseFMP.$getInstance($myFilter);
if ($myFilter === null) {
return -1;
}
var v4 = $obj.filters;
var v5 = 0;
goto 4676;
for (;;) {
++v5;
label 4676:
if (v5 >= v4.length) break;
if (v4[v5].__proto__ == $myFilter.__proto__) {
return v5;
}
}
return -1;
};
_global.com.mosesSupposes.fuse.FuseFMP.getFilter = function ($obj, $myFilter, $createNew) {
var v5 = com.mosesSupposes.fuse.FuseFMP.getFilterIndex($obj, $myFilter);
if (v5 == -1) {
if ($createNew != true) {
return null;
}
v5 = com.mosesSupposes.fuse.FuseFMP.writeFilter($obj, $myFilter);
if (v5 == -1) {
return null;
}
}
return $obj.filters[v5];
};
_global.com.mosesSupposes.fuse.FuseFMP.writeFilter = function ($obj, $myFilter, $propsObj) {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.initialize(null);
}
$myFilter = com.mosesSupposes.fuse.FuseFMP.$getInstance($myFilter);
if ($myFilter === null) {
return -1;
}
var v5 = $obj.filters;
var v6 = com.mosesSupposes.fuse.FuseFMP.getFilterIndex($obj, $myFilter);
if (v6 == -1) {
v5.push($myFilter);
} else {
v5[v6] = $myFilter;
}
$obj.filters = v5;
if (typeof $propsObj == 'object') {
com.mosesSupposes.fuse.FuseFMP.setFilterProps($obj, $myFilter, $propsObj);
}
v6 = com.mosesSupposes.fuse.FuseFMP.getFilterIndex($obj, $myFilter);
return v6;
};
_global.com.mosesSupposes.fuse.FuseFMP.removeFilter = function ($obj, $myFilter) {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.initialize(null);
}
$myFilter = com.mosesSupposes.fuse.FuseFMP.$getInstance($myFilter);
var v4 = $obj.filters;
var v5 = com.mosesSupposes.fuse.FuseFMP.getFilterIndex($obj, $myFilter);
if (v5 == -1) {
return false;
}
v4.splice(v5, 1);
$obj.filters = v4;
return true;
};
_global.com.mosesSupposes.fuse.FuseFMP.getFilterProp = function ($obj, $filtername, $createNew) {
var v5 = $filtername.split('_');
if (v5[1] == 'blur') {
v5[1] = 'blurX';
}
return (com.mosesSupposes.fuse.FuseFMP.getFilter($obj, v5[0] + 'Filter', $createNew))[v5[1]];
};
_global.com.mosesSupposes.fuse.FuseFMP.setFilterProp = function ($obj, $propname, $val) {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.initialize(null);
}
var v5 = $propname.split('_');
var v6 = v5[0] + 'Filter';
if (com.mosesSupposes.fuse.FuseFMP.$fclasses[v6] == undefined) {
return undefined;
}
var v7 = new com.mosesSupposes.fuse.FuseFMP.$fclasses[v6]();
var v8 = v5[1];
var v9 = $obj.filters.length || 0;
while (--v9 > -1) {
var v10 = $obj.filters[v9];
if (v10.__proto__ == v7.__proto__) {
v7 = v10;
break;
}
}
if (v8 == 'blur') {
v7.blurX = $val;
v7.blurY = $val;
} else {
if (v8.indexOf('lor') > -1) {
if (typeof $val == 'string' && v8.charAt(2) != 'l') {
if ($val.charAt(0) == '#') {
$val = $val.slice(1);
}
$val = (($val.charAt(1)).toLowerCase() != 'x') ? Number('0x' + $val) : Number($val);
}
}
v7[v8] = $val;
}
if (v9 == -1) {
$obj.filters = [v7];
} else {
var v11 = $obj.filters;
v11[v9] = v7;
$obj.filters = v11;
}
};
_global.com.mosesSupposes.fuse.FuseFMP.setFilterProps = function ($obj, $filterOrPropsObj, $propsObj) {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.initialize(null);
}
if (!(super instanceof Array)) {
super = [super];
}
var v5 = new Object();
if (arguments.length == 3) {
for (var i in super) {
var v8 = com.mosesSupposes.fuse.FuseFMP.getFilter(super[i], $filterOrPropsObj, true);
if (v8 == null) {
continue;
}
var v9 = (com.mosesSupposes.fuse.FuseFMP.getFilterName(v8)).substr(0, -6) + '_';
for (var v6 in $propsObj) {
v5[v6] = $propsObj[v6];
}
for (v6 in v5) {
var v7 = v5[v6];
if (v6.indexOf(v9) == 0) {
v6 = v6.slice(v9.length);
}
if (v6 == 'blur') {
(flash.filters.BlurFilter(v8)).blurX = Number(v7);
(flash.filters.BlurFilter(v8)).blurY = Number(v7);
} else {
if (v6.indexOf('lor') > -1 && (v6.charAt(2) != 'l' && typeof v7 == 'string')) {
if (v7.charAt(0) == '#') {
v7 = v7.slice(1);
}
v7 = ((v7.charAt(1)).toLowerCase() != 'x') ? Number('0x' + v7) : Number(v7);
} else {
v8[v6] = v7;
}
}
}
com.mosesSupposes.fuse.FuseFMP.writeFilter(super[i], v8);
}
} else {
if (typeof $filterOrPropsObj == 'object') {
$propsObj = $filterOrPropsObj;
for (var v6 in $propsObj) {
var v10 = v6.split('_');
var v11 = v10[0] + 'Filter';
if (com.mosesSupposes.fuse.FuseFMP.$fclasses[v11] == undefined) {
continue;
}
if (v5[v11] == undefined) {
v5[v11] = {};
}
if (v10[1] == 'blur') {
(flash.filters.BlurFilter(v5[v11])).blurX = $propsObj[v6];
(flash.filters.BlurFilter(v5[v11])).blurY = $propsObj[v6];
} else {
v5[v11][v10[1]] = $propsObj[v6];
}
}
for (var i in super) {
for (var $fname in v5) {
var v12 = com.mosesSupposes.fuse.FuseFMP.getFilter(super[i], $fname, true);
if (v12 == null) {
continue;
}
for (v6 in v5[$fname]) {
var v7 = v5[$fname][v6];
if (v6.indexOf('lor') > -1 && (v6.charAt(2) != 'l' && typeof v7 == 'string')) {
if (v7.charAt(0) == '#') {
v7 = v7.slice(1);
}
v7 = ((v7.charAt(1)).toLowerCase() != 'x') ? Number('0x' + v7) : Number(v7);
}
v12[v6] = v7;
}
com.mosesSupposes.fuse.FuseFMP.writeFilter(super[i], v12);
}
}
}
}
};
_global.com.mosesSupposes.fuse.FuseFMP.getAllShortcuts = function () {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.initialize(null);
}
var v2 = [];
for (var $filtername in com.mosesSupposes.fuse.FuseFMP.$fclasses) {
var v3 = new com.mosesSupposes.fuse.FuseFMP.$fclasses[$filtername]();
for (var b in v3) {
if (typeof v3[b] == 'function') {
continue;
}
v2.push($filtername.substr(0, -6) + '_' + b);
if (b == 'blurX') {
v2.push($filtername.substr(0, -6) + '_blur');
}
}
}
return v2;
};
_global.com.mosesSupposes.fuse.FuseFMP.traceAllFilters = function () {
if (com.mosesSupposes.fuse.FuseFMP.$fclasses == undefined) {
com.mosesSupposes.fuse.FuseFMP.initialize(null);
}
var v2 = '------ FuseFMP filter properties ------\n';
for (var $filtername in com.mosesSupposes.fuse.FuseFMP.$fclasses) {
v2 += $filtername;
var v3 = new com.mosesSupposes.fuse.FuseFMP.$fclasses[$filtername]();
for (var b in v3) {
if (typeof v3[b] == 'function') {
continue;
}
v2 += '\t- ' + $filtername.substr(0, -6) + '_' + b;
if (b == 'blurX') {
v2 += '\t- ' + $filtername.substr(0, -6) + '_blur';
}
}
v2 += '\n';
}
com.mosesSupposes.fuse.FuseKitCommon.output(v2);
};
_global.com.mosesSupposes.fuse.FuseFMP.$getInstance = function ($myFilter) {
if ($myFilter instanceof flash.filters.BitmapFilter) {
return flash.filters.BitmapFilter($myFilter);
}
if (typeof $myFilter == 'function') {
for (var j in com.mosesSupposes.fuse.FuseFMP.$fclasses) {
if ($myFilter == com.mosesSupposes.fuse.FuseFMP.$fclasses[j]) {
return new com.mosesSupposes.fuse.FuseFMP.$fclasses[j]();
}
}
}
if (typeof $myFilter == 'string') {
var v3 = String($myFilter);
if (v3.substr(-6) != 'Filter') {
v3 += 'Filter';
}
for (var j in com.mosesSupposes.fuse.FuseFMP.$fclasses) {
if (j == v3) {
return new com.mosesSupposes.fuse.FuseFMP.$fclasses[j]();
}
}
}
return null;
};
ASSetPropFlags(v1, null, 1);
_global.com.mosesSupposes.fuse.FuseFMP.registryKey = 'fuseFMP';
_global.com.mosesSupposes.fuse.FuseFMP.VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION;
}
#endinitclip
}
movieClip 20534 __Packages.com.brooksandrus.utils.Dispatcher {
#initclip
if (!com.brooksandrus.utils.Dispatcher) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.utils) {
_global.com.brooksandrus.utils = new Object();
}
_global.com.brooksandrus.utils.Dispatcher = function () {
this.dispatcher = new com.techsmith.events.EventDispatcher();
};
var v1 = _global.com.brooksandrus.utils.Dispatcher.prototype;
v1.addEventListener = function (event, scope) {
this.dispatcher.addEventListener(event, scope);
};
v1.removeEventListener = function (event, scope) {
this.dispatcher.removeEventListener(event, scope);
};
v1.dispatchEvent = function (eventObj) {
this.dispatcher.dispatchEvent(eventObj);
};
v1.removeEventListeners = function (event) {
this.dispatcher.removeEventListeners(event);
};
v1.removeAllListeners = function () {
this.dispatcher.removeAllListeners();
};
_global.com.brooksandrus.utils.Dispatcher implements com.techsmith.events.IEventDispatcher;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20535 __Packages.com.techsmith.ui.StartWidget {
#initclip
if (!com.techsmith.ui.StartWidget) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.StartWidget = function () {
super();
};
_global.com.techsmith.ui.StartWidget extends com.techsmith.ui.BlurredPanel;
var v1 = _global.com.techsmith.ui.StartWidget.prototype;
_global.com.techsmith.ui.StartWidget.create = function (container, name, depth, init) {
Object.registerClass('StartWidget', com.techsmith.ui.StartWidget);
var v6 = container.attachMovie('StartWidget', name, depth, init);
return com.techsmith.ui.StartWidget(v6);
};
v1.init = function (src, panelType, style, rect) {
super.init(src, panelType, style, rect);
this.orb = com.techsmith.ui.BasicButton.create(this, 'orb', 4);
this.orb.init(new com.techsmith.ui.ButtonStyle('BeginOrb', null, false));
var v7 = ((com.techsmith.ui.Component(this.panel))._width - this.orb._width) / 2;
var v8 = ((com.techsmith.ui.Component(this.panel))._height - this.orb._height) / 2;
this.orb.move(v7, v8);
this.orb.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.orbHandler));
};
v1.orbHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE});
};
v1.destroy = function () {
this.orb.removeAllListeners();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.padding = 5;
}
#endinitclip
}
movieClip 20536 __Packages.com.techsmith.utils.ImageBlur {
#initclip
if (!com.techsmith.utils.ImageBlur) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.utils) {
_global.com.techsmith.utils = new Object();
}
_global.com.techsmith.utils.ImageBlur = function (src) {
this.blur(src);
};
var v1 = _global.com.techsmith.utils.ImageBlur.prototype;
v1.blur = function (src) {
if (src instanceof MovieClip) {
var v3 = (MovieClip(src)).filters;
v3.push(new flash.filters.BlurFilter(4, 4, 3));
(MovieClip(src)).filters = v3;
} else {
if (src instanceof flash.display.BitmapData) {
}
}
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20537 __Packages.com.techsmith.ui.panels.IPanel {
#initclip
if (!com.techsmith.ui.panels.IPanel) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.panels) {
_global.com.techsmith.ui.panels = new Object();
}
_global.com.techsmith.ui.panels.IPanel = function () {};
var v1 = _global.com.techsmith.ui.panels.IPanel.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20538 __Packages.com.techsmith.ui.Bitmap {
#initclip
if (!com.techsmith.ui.Bitmap) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.Bitmap = function () {
super();
if (this.source != undefined) {
this.createBitmap(this.source);
}
};
_global.com.techsmith.ui.Bitmap extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.Bitmap.prototype;
_global.com.techsmith.ui.Bitmap.create = function (container, name, depth, init) {
Object.registerClass('Bitmap', com.techsmith.ui.Bitmap);
var v6 = container.attachMovie('Bitmap', name, depth, init);
return com.techsmith.ui.Bitmap(v6);
};
v1.createBitmap = function (bitmapSource, size, plane) {
this.source = bitmapSource;
var v5 = this.source._width;
var v6 = this.source._height;
this.width = v5;
this.height = v6;
this.bitmap = new flash.display.BitmapData(v5, v6, true, 0);
var v7 = new flash.geom.Matrix();
this.bitmap.draw(this.source, v7);
this.bitmapClip = this.createEmptyMovieClip('bitmapClip', 1);
this.bitmapClip.attachBitmap(this.bitmap, 1);
if (this.outline) {
this.createOutline(v5, v6);
}
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.COMPLETE});
};
v1.createOutline = function (w, h) {
this.outlineClip = this.createEmptyMovieClip('outlineClip', 2);
var v4 = {'thickness': 0.5, 'rgb': this.outlineColor, 'alpha': 100, 'pixelHinting': false, 'noScale': 'none', 'capsStyle': 'square', 'jointStyle': 'miter', 'miterLimit': 4};
com.techsmith.utils.shapes.Rectangle.draw(this.outlineClip, undefined, w, h, undefined, v4, {'x': 0, 'y': 0});
};
v1.destroy = function () {
this.outlineClip.removeMovieClip();
this.bitmap.dispose();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.ui.Bitmap.HORIZONTAL_CONSTRAINT = 'horizontal';
_global.com.techsmith.ui.Bitmap.VERTICAL_CONSTRAINT = 'vertical';
v1.alpha = 30;
v1.gradientFalloff = 0.4;
v1.gradientFade = 5;
v1.outline = false;
v1.outlineColor = 12895428;
v1.bitmap = null;
v1.bitmapClip = null;
v1.outlineClip = null;
v1.width = null;
v1.height = null;
}
#endinitclip
}
movieClip 20539 __Packages.com.techsmith.ui.BitmapThumbnail {
#initclip
if (!com.techsmith.ui.BitmapThumbnail) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.BitmapThumbnail = function () {
super();
if (this.source != null && (this.constraintSize != null && this.constraintPlane != null)) {
this.createBitmap(this.source, this.constraintSize, this.constraintPlane);
}
};
_global.com.techsmith.ui.BitmapThumbnail extends com.techsmith.ui.Bitmap;
var v1 = _global.com.techsmith.ui.BitmapThumbnail.prototype;
_global.com.techsmith.ui.BitmapThumbnail.create = function (container, name, depth, init) {
Object.registerClass('BitmapThumbnail', com.techsmith.ui.BitmapThumbnail);
var v6 = container.attachMovie('BitmapThumbnail', name, depth, init);
return com.techsmith.ui.BitmapThumbnail(v6);
};
v1.createBitmap = function (bitmapSource, size, plane) {
this.source = bitmapSource;
this.constraintSize = size;
this.constraintPlane = plane;
var v5 = this.source._width;
var v6 = this.source._height;
if (this.constraintPlane == com.techsmith.ui.Bitmap.HORIZONTAL_CONSTRAINT) {
var v7 = size / v5;
} else {
var v7 = size / v6;
}
var v8 = v5 * v7;
var v9 = v6 * v7;
this.width = v8;
this.height = v9;
if (this.outline) {
this.createOutline(v8, v9);
}
var v10 = new flash.geom.Matrix();
v10.scale(v7, v7);
this.bitmap = new flash.display.BitmapData(v8, v9, true, 0);
this.bitmap.draw(this.source, v10);
this.bitmapClip = this.createEmptyMovieClip('bitmapClip', 1);
this.bitmapClip.attachBitmap(this.bitmap, 1);
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.COMPLETE});
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20540 __Packages.com.techsmith.camtasia.toc.TOCFixedWindow {
#initclip
if (!com.techsmith.camtasia.toc.TOCFixedWindow) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.toc) {
_global.com.techsmith.camtasia.toc = new Object();
}
_global.com.techsmith.camtasia.toc.TOCFixedWindow = function () {
super();
};
_global.com.techsmith.camtasia.toc.TOCFixedWindow extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.toc.TOCFixedWindow.prototype;
_global.com.techsmith.camtasia.toc.TOCFixedWindow.create = function (container, name, depth, init) {
Object.registerClass('TOCFixedWindow', com.techsmith.camtasia.toc.TOCFixedWindow);
var v6 = container.attachMovie('TOCFixedWindow', name, depth, init);
return com.techsmith.camtasia.toc.TOCFixedWindow(v6);
};
v1.init = function (dim, title, url, autostart, fps) {
this.dimensions = dim;
this.setupWindow(dim, title, url, autostart, fps);
};
v1.setupWindow = function (dim, title, url, autostart, fps) {
this.setBackground(this.backgroundType);
this.setupLabel(title);
this.setupContent(dim, url, autostart, fps);
this.positionContent();
};
v1.setBackground = function (direction) {
if (direction == com.techsmith.camtasia.toc.TOCConstants.FIXED_LEFT) {
var v3 = 'FixedLeftIndexBG';
} else {
if (direction == com.techsmith.camtasia.toc.TOCConstants.FIXED_RIGHT) {
var v3 = 'FixedRightIndexBG';
}
}
this.background = this.attachMovie(v3, 'background', 2);
this.backgroundType = direction;
var v4 = new flash.geom.Rectangle(20, 20, 210, 46);
this.background.scale9Grid = v4;
this.background._width = this.dimensions.width;
this.background._height = this.dimensions.height;
};
v1.setupLabel = function (title) {
this.label = com.techsmith.ui.Label.create(this, 'label', 3, {'multiline': false, 'color': 'FFFFFF'});
this.label.move(this.hContentPadding, (this.titlePad + this.vContentPadding - this.label._height) / 2);
this.label.setAutoSize(false);
this.label.setTextFieldSize(this.background._width - this.hContentPadding * 2, this.label.height);
this.label.setText(title);
};
v1.setupContent = function (dim, url, autostart, fps) {
this.content = com.techsmith.camtasia.toc.TOCContent.create(this, 'content', 4);
this.content.init(new com.techsmith.utils.Dimension(dim.width - this.hContentPadding * 2, dim.height - (this.vContentPadding * 2 + this.titlePad)), url, autostart, fps);
this.content.addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.changeHandler));
};
v1.positionContent = function () {
this.content.move(this.hContentPadding, this.titlePad + this.vContentPadding);
};
v1.changeHandler = function (e) {
e.target = this;
this.dispatchEvent(e);
};
v1.__set__dataProvider = function (dataprovider) {
this.content.dataProvider = dataprovider;
return this.__get__dataProvider();
};
v1.setStyle = function (styles) {
this.content.setStyle(styles);
};
v1.setSelected = function (currentTime) {
this.content.setSelected(currentTime);
};
v1.expandTree = function (node) {
this.content.expandTree(node);
};
v1.setRowsTransparent = function () {
this.content.setRowsTransparent();
};
v1.getTree = function () {
return this.content.getTree();
};
v1.addProperty('dataProvider', function () {}, v1.__set__dataProvider);
_global.com.techsmith.camtasia.toc.TOCFixedWindow implements com.techsmith.camtasia.toc.ITOCWindow;
ASSetPropFlags(v1, null, 1);
v1.hContentPadding = 8;
v1.vContentPadding = 6;
v1.titlePad = 18;
}
#endinitclip
}
movieClip 20541 __Packages.com.techsmith.ui.BitmapReflectingThumb {
#initclip
if (!com.techsmith.ui.BitmapReflectingThumb) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.BitmapReflectingThumb = function () {
super();
if (this.source != undefined && (this.constraintSize != undefined && this.constraintPlane != undefined)) {
this.createBitmap(this.source, this.constraintSize, this.constraintPlane);
}
};
_global.com.techsmith.ui.BitmapReflectingThumb extends com.techsmith.ui.Bitmap;
var v1 = _global.com.techsmith.ui.BitmapReflectingThumb.prototype;
_global.com.techsmith.ui.BitmapReflectingThumb.create = function (container, name, depth, init) {
Object.registerClass('BitmapReflectingThumb', com.techsmith.ui.BitmapReflectingThumb);
var v6 = container.attachMovie('BitmapReflectingThumb', name, depth, init);
return com.techsmith.ui.BitmapReflectingThumb(v6);
};
v1.createBitmap = function (bitmapSource, size, plane) {
this.source = bitmapSource;
this.constraintSize = size;
this.constraintPlane = plane;
this.thumbnail = com.techsmith.ui.BitmapThumbnail.create(this, 'thumbnail', 2);
this.mirror = com.techsmith.ui.BitmapReflection.create(this, 'mirror', 1);
if (this.outline) {
this.thumbnail.outline = true;
}
this.mirror.gradientFade = this.gradientFade;
this.thumbnail.addEventListener(com.techsmith.events.Events.COMPLETE, com.techsmith.utils.Delegate.create(this, this.thumbnailCompleteHandler));
this.mirror.addEventListener(com.techsmith.events.Events.COMPLETE, com.techsmith.utils.Delegate.create(this, this.mirrorCompleteHandler));
this.thumbnail.createBitmap(this.source, this.constraintSize, this.constraintPlane);
};
v1.thumbnailCompleteHandler = function (e) {
this.mirror.createBitmap(this.thumbnail, this.constraintSize, this.constraintPlane);
};
v1.mirrorCompleteHandler = function (e) {
var v3 = this.thumbnail.getDimensions();
var v4 = this.thumbnail.getLocation();
this.mirror.move(v4.x, v4.y + v3.height);
this.thumbnail.removeAllListeners();
this.mirror.removeAllListeners();
this.width = this.thumbnail._width;
this.height = this.thumbnail._height + this.mirror._height;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.COMPLETE});
};
v1.destroy = function () {
this.thumbnail.destroy();
this.mirror.destroy();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.thumbnail = null;
v1.mirror = null;
}
#endinitclip
}
movieClip 20542 __Packages.com.techsmith.camtasia.quiz.questions.MultipleChoice {
#initclip
if (!com.techsmith.camtasia.quiz.questions.MultipleChoice) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
if (!com.techsmith.camtasia.quiz.questions) {
_global.com.techsmith.camtasia.quiz.questions = new Object();
}
_global.com.techsmith.camtasia.quiz.questions.MultipleChoice = function () {
super();
};
_global.com.techsmith.camtasia.quiz.questions.MultipleChoice extends com.techsmith.camtasia.quiz.questions.QuestionBase;
var v1 = _global.com.techsmith.camtasia.quiz.questions.MultipleChoice.prototype;
_global.com.techsmith.camtasia.quiz.questions.MultipleChoice.create = function (container, name, depth, init) {
Object.registerClass('MultipleChoice', com.techsmith.camtasia.quiz.questions.MultipleChoice);
var v6 = container.attachMovie('MultipleChoice', name, depth, init);
return com.techsmith.camtasia.quiz.questions.MultipleChoice(v6);
};
v1.init = function (w, h, questionData) {
super.init(w, h, questionData);
this.createQuestion();
};
v1.createQuestion = function () {
var v2 = 5;
var v3 = this.questionField._y + this.questionField._height;
var v4 = this.qWidth - 40;
var v5 = 10;
var v6 = 0;
this.setQuestion(this.questionData.question);
var v7 = this.questionData.arrAnswers.length;
var v8 = 0;
goto 1589;
for (;;) {
++v8;
label 1589:
if (v8 >= v7) break;
com.techsmith.ui.RadioButton.create(this, 'ansBtn' + v8, v5 + v8, {'highlightMargin': 10, 'fontColor': 16777215});
this['ansBtn' + v8].init(this.numberStr(this.questionData.arrAnswers[v8].answer, v8), v4, 'radioGroup', null, null, null, null, {'html': false});
this['ansBtn' + v8].setData({'index': v8});
this['ansBtn' + v8].setSelected(this.questionData.userData.index == v8, false);
if (v8 == 0) {
var v9 = v3 + v2;
} else {
var v9 = this['ansBtn' + (v8 - 1)]._y + this['ansBtn' + (v8 - 1)].height + v2;
}
this['ansBtn' + v8].move(20, v9);
if (v8 == v7 - 1) {
v6 = this['ansBtn' + v8].y + this['ansBtn' + v8].height;
}
}
if (v6 > this.qHeight) {
this.drawBackground();
}
this.radioGroup.addEventListener('click', com.techsmith.utils.Delegate.create(this, this.changedAnswer));
this.changedAnswer();
};
v1.layoutRadioButtons = function (scrollbar) {};
v1.letterIndex = function (id) {
return id < 0 ? '' : chr(97 + id % 26) + this.letterIndex(id - 26);
};
v1.numberStr = function (strAnswer, id) {
switch (this.questionData.numbering) {
return strAnswer;
case 0:
return this.letterIndex(id) + ') ' + strAnswer;
case 1:
return id + 1 + ') ' + strAnswer;
return strAnswer;
case 2:
}
return strAnswer;
};
v1.dispose = function () {
var v2 = this.questionData.arrAnswers.length;
var v3 = 0;
goto 2514;
for (;;) {
++v3;
label 2514:
if (v3 >= v2) break;
this['ansBtn' + v3].destroy();
}
this.radioGroup.removeAllListeners();
};
v1.getAnswer = function () {
if (this.radioGroup.getSelected() != null) {
var v2 = (this.radioGroup.getData()).index;
return chr(97 + v2) + ' (' + this.questionData.arrAnswers[v2].answer + ')';
} else {
return '';
}
};
v1.getUserData = function () {
var v3 = super.getUserData();
v3.index = (this.radioGroup.getData()).index;
return v3;
};
v1.isCorrect = function () {
if (this.isSurvey()) {
return true;
}
return 1 << (this.radioGroup.getData()).index == this.questionData.answer;
};
v1.enable = function (bEnable) {
var v3 = this.questionData.arrAnswers.length;
var v4 = 0;
goto 2965;
for (;;) {
++v4;
label 2965:
if (v4 >= v3) break;
this['ansBtn' + v4].setEnabled(bEnable);
}
};
v1.getFeedback = function () {
if (!this.hasFeedback()) {
return {'strFeedback': '', 'strDetailedFeedback': ''};
}
var v2 = (this.radioGroup.getData()).index;
return {'strFeedback': this.questionData.arrAnswers[v2].response, 'strDetailedFeedback': this.questionData.arrAnswers[v2].hint};
};
_global.com.techsmith.camtasia.quiz.questions.MultipleChoice implements com.techsmith.camtasia.quiz.IQuestion;
ASSetPropFlags(v1, null, 1);
v1.radioGroup = null;
}
#endinitclip
}
movieClip 20543 __Packages.com.techsmith.camtasia.quiz.questions.TrueFalse {
#initclip
if (!com.techsmith.camtasia.quiz.questions.TrueFalse) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
if (!com.techsmith.camtasia.quiz.questions) {
_global.com.techsmith.camtasia.quiz.questions = new Object();
}
_global.com.techsmith.camtasia.quiz.questions.TrueFalse = function () {
super();
};
_global.com.techsmith.camtasia.quiz.questions.TrueFalse extends com.techsmith.camtasia.quiz.questions.MultipleChoice;
var v1 = _global.com.techsmith.camtasia.quiz.questions.TrueFalse.prototype;
_global.com.techsmith.camtasia.quiz.questions.TrueFalse.create = function (container, name, depth, init) {
Object.registerClass('TrueFalse', com.techsmith.camtasia.quiz.questions.TrueFalse);
var v6 = container.attachMovie('TrueFalse', name, depth, init);
return com.techsmith.camtasia.quiz.questions.TrueFalse(v6);
};
v1.createQuestion = function () {
var v2 = 10;
var v3 = 2;
var v4 = 450;
var v5 = this.questionField._y + this.questionHeight + com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_PADDING;
var v6 = 5;
this.setQuestion(this.questionData.question);
var v7 = 0;
goto 1240;
for (;;) {
++v7;
label 1240:
if (v7 >= v3) break;
com.techsmith.ui.RadioButton.create(this, 'ansBtn' + v7, v2 + v7);
var v8 = 'True';
if (v7 == 1) {
v8 = 'False';
}
this['ansBtn' + v7].init(v8, v4, 'radioGroup');
this['ansBtn' + v7].move(0, v5);
this['ansBtn' + v7].setData({'index': v7});
this['ansBtn' + v7].setSelected(this.questionData.userData.index == v7, false);
v5 += this['ansBtn' + v7].getHeight() + v6;
}
this.radioGroup.addEventListener('click', com.techsmith.utils.Delegate.create(this, this.changedAnswer));
this.drawBackground();
this.changedAnswer();
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20544 __Packages.com.techsmith.ui.ImageSlice {
#initclip
if (!com.techsmith.ui.ImageSlice) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.ImageSlice = function () {
super();
};
_global.com.techsmith.ui.ImageSlice extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.ImageSlice.prototype;
_global.com.techsmith.ui.ImageSlice.create = function (container, name, depth, init) {
Object.registerClass('ImageSlice', com.techsmith.ui.ImageSlice);
var v6 = container.attachMovie('ImageSlice', name, depth, init);
return com.techsmith.ui.ImageSlice(v6);
};
v1.createBitmap = function (src, rect) {
if (src instanceof MovieClip) {
var v5 = (MovieClip(src))._width;
var v6 = (MovieClip(src))._height;
var v4 = 1;
} else {
if (src instanceof flash.display.BitmapData) {
var v5 = (flash.display.BitmapData(src)).width;
var v6 = (flash.display.BitmapData(src)).height;
var v4 = 2;
} else {
if (src instanceof com.techsmith.ui.Bitmap) {
var v5 = (com.techsmith.ui.Bitmap(src)).width;
var v6 = (com.techsmith.ui.Bitmap(src)).height;
var v4 = 3;
}
}
}
if (rect == null) {
rect = new flash.geom.Rectangle(0, (v6 - this.pixels) / 2, v5, this.pixels);
}
this.bitmap = new flash.display.BitmapData(rect.width, rect.height, true, 0);
this.width = rect.width;
this.height = rect.height;
if (v4 == 2) {
this.bitmap.copyPixels(flash.display.BitmapData(src), rect, new flash.geom.Point(0, 0));
} else {
this.tempBmp = new flash.display.BitmapData(v5, v6, true, 0);
this.tempBmp.draw(src);
this.bitmap.copyPixels(this.tempBmp, rect, new flash.geom.Point(0, 0));
this.tempBmp.dispose();
}
this.bitmapClip = this.createEmptyMovieClip('bitmapClip', 1);
this.bitmapClip.attachBitmap(this.bitmap, 1);
};
v1.mask = function (maskID) {
this.maskClip = this.attachMovie(maskID, 'maskClip', 2);
this.bitmapClip.setMask(this.maskClip);
};
v1.setPixels = function (p) {
this.pixels = p;
};
v1.destroy = function () {
this.bitmapClip.removeMovieClip();
this.bitmap.dispose();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.bitmap = null;
v1.tempBmp = null;
v1.bitmapClip = null;
v1.maskClip = null;
v1.pixels = 50;
v1.width = null;
v1.height = null;
}
#endinitclip
}
movieClip 20545 __Packages.com.techsmith.camtasia.AboutWindow {
#initclip
if (!com.techsmith.camtasia.AboutWindow) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.AboutWindow = function () {
super();
this.bgStyle = com.techsmith.xskin.ui.panels.styles.StyleFactory.GLASS;
this.fgStyle = com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK;
};
_global.com.techsmith.camtasia.AboutWindow extends com.techsmith.xskin.ui.XSWindow;
var v1 = _global.com.techsmith.camtasia.AboutWindow.prototype;
_global.com.techsmith.camtasia.AboutWindow.create = function (container, name, depth, init) {
Object.registerClass('AboutWindow', com.techsmith.camtasia.AboutWindow);
var v6 = container.attachMovie('AboutWindow', name, depth, init);
return com.techsmith.camtasia.AboutWindow(v6);
};
v1.setupWindowChrome = function (bDim) {
super.setupWindowChrome(bDim);
this.about = this.addChild(com.techsmith.ui.BasicButton, 'about');
this.info = this.addChild(com.techsmith.ui.BasicButton, 'info');
this.about.init(new com.techsmith.ui.ButtonStyle('AboutTabUnselected', 'AboutTabSelected', true));
this.info.init(new com.techsmith.ui.ButtonStyle('InfoTabUnselected', 'InfoTabSelected', true));
this.about.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.aboutButtonHandler));
this.info.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.infoButtonHandler));
var v4 = bDim.width - ((this.exit.getDimensions()).width + this.hContentPadding);
this.info.move(v4 - (this.info._width + 1), 0);
v4 = (this.info.getLocation()).x;
this.about.move(v4 - (this.about._width + 1), 0);
this.label = this.addChild(com.techsmith.ui.Label, 'label', {'url': this.logo, 'multiline': false, 'color': 'FFFFFF', 'size': 14});
this.label.setText(this.title);
var v5 = this.getContentLoc();
this.label._x = v5.x;
this.label._y = (v5.y - this.label._height) / 2;
this.titleMask = this.addChild(MovieClip, 'titleMask');
com.techsmith.utils.shapes.Rectangle.draw(this.titleMask, 16777215, bDim.width - this.about._x, v5.y, 100);
this.label.setMask(this.titleMask);
this.contentDepth = this.getNextDepth();
};
v1.setupContent = function () {
if (this.tabFocus == com.techsmith.camtasia.AboutWindow.ABOUT_SELECTED) {
if (this.aboutUrl != null && this.aboutUrl != '') {
this.setupMediaContent();
} else {
this.setupTextContent();
this.content.setText(this.aboutContent);
}
this.about.setSelected(true);
this.info.setSelected(false);
} else {
this.setupTextContent();
this.content.setText(this.infoContent);
this.info.setSelected(true);
this.about.setSelected(false);
}
};
v1.setupMediaContent = function () {
if (!(this.content instanceof com.techsmith.media.Media)) {
this.content.destroy();
var v2 = this.bgDim.width - this.hContentPadding * 2;
var v3 = this.bgDim.height - (this.vPadding + (this.exit.getDimensions()).height + this.vContentPadding * 2);
var v4 = new com.techsmith.media.MediaFactory();
this.content = v4.createMedia(this, 'media', this.contentDepth, this.aboutUrl);
this.addToCollection('content', this.content);
var v5 = this.content.createEmptyMovieClip('stroke', 5);
com.techsmith.utils.shapes.Rectangle.draw(v5, undefined, v2, v3, null, {'thickness': 1, 'rgb': 16777215, 'alpha': 100}, {'x': 0, 'y': 0});
(com.techsmith.media.Media(this.content)).load(this.aboutUrl);
var v6 = (com.techsmith.media.Media(this.content)).getContent();
var v7 = 100;
var v8 = (v2 / v6._width) * 100;
var v9 = (v3 / v6._height) * 100;
v7 = Math.min(v8, v9);
v6._xscale = v7;
v6._yscale = v7;
v6._x = (v2 - v6._width) / 2;
v6._y = (v3 - v6._height) / 2;
this.positionContent();
}
};
v1.setupTextContent = function () {
if (!(this.content instanceof com.techsmith.ui.TextArea)) {
this.content.destroy();
this.content = this.addChildAt(com.techsmith.ui.TextArea, 'content', this.contentDepth, {'border': false, 'fillOpacity': 20, 'textColor': 'FFFFFF', 'type': 'dynamic', 'selectable': false});
this.addToCollection('content', this.content);
var v2 = this.bgDim.width - this.hContentPadding * 2;
var v3 = this.bgDim.height - (this.vPadding + (this.exit.getDimensions()).height + this.vContentPadding * 2);
this.content.init(v2, v3);
this.positionContent();
}
};
v1.mediaInitHandler = function (e) {
var v3 = this.bgDim.width - this.hContentPadding * 2;
var v4 = this.bgDim.height - (this.vPadding + (this.exit.getDimensions()).height + this.vContentPadding * 2);
var v5 = (com.techsmith.media.Media(this.content)).getContent();
v5._x = (v3 - v5._width) / 2;
v5._y = (v4 - v5._height) / 2;
};
v1.aboutButtonHandler = function (e) {
this.tabFocus = com.techsmith.camtasia.AboutWindow.ABOUT_SELECTED;
this.setupContent();
};
v1.infoButtonHandler = function (e) {
this.tabFocus = com.techsmith.camtasia.AboutWindow.INFO_SELECTED;
this.setupContent();
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.AboutWindow.ABOUT_SELECTED = 1;
_global.com.techsmith.camtasia.AboutWindow.INFO_SELECTED = 2;
v1.about = null;
v1.info = null;
v1.infoContent = null;
v1.aboutUrl = null;
v1.aboutContent = null;
v1.tabFocus = com.techsmith.camtasia.AboutWindow.ABOUT_SELECTED;
v1.logo = 'AboutLogo';
v1.title = '';
}
#endinitclip
}
movieClip 20546 __Packages.com.techsmith.events.EventDispatcher {
#initclip
if (!com.techsmith.events.EventDispatcher) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.events) {
_global.com.techsmith.events = new Object();
}
_global.com.techsmith.events.EventDispatcher = function () {
this.eventStore = new Object();
};
var v1 = _global.com.techsmith.events.EventDispatcher.prototype;
v1.addEventListener = function (event, scope) {
if (!this.active) {
if (this.eventStore[event] == undefined) {
this.eventStore[event] = [];
}
var v4 = this.eventStore[event].length;
var v5 = v4 - 1;
goto 685;
for (;;) {
--v5;
label 685:
if (v5 <= -1) break;
if (this.eventStore[event][v5].scope === scope) {
return undefined;
}
}
this.eventStore[event].push({'event': event, 'scope': scope});
} else {
if (this.eventStore.addqueue == undefined) {
this.eventStore.addqueue = [];
}
this.eventStore.addqueue.push({'event': event, 'scope': scope});
}
};
v1.removeEventListener = function (event, scope) {
if (!this.active) {
var v4 = this.eventStore[event].length;
var v5 = v4 - 1;
goto 991;
for (;;) {
--v5;
label 991:
if (v5 <= -1) break;
if (this.eventStore[event][v5].scope === scope) {
this.eventStore[event].splice(v5, 1);
}
}
} else {
if (this.eventStore.remqueue == undefined) {
this.eventStore.remqueue = [];
}
this.eventStore.remqueue.push({'event': event, 'scope': scope});
}
};
v1.removeEventListeners = function (event) {
this.eventStore[event].splice(0);
};
v1.removeAllListeners = function () {
for (var i in this.eventStore) {
if (this.eventStore[i] instanceof Array) {
this.eventStore[i].splice(0);
}
}
};
v1.dispatchEvent = function (eventObj) {
this.active = true;
var v3 = this.eventStore[eventObj.type];
var v4 = this.eventStore[eventObj.type].length;
var v5 = 0;
goto 1467;
for (;;) {
++v5;
label 1467:
if (v5 >= v4) break;
var v6 = this.eventStore[eventObj.type][v5].event;
if (v3[v5].scope instanceof Function) {
v3[v5].scope(eventObj);
} else {
v3[v5].scope[v6].apply(v3[v5].scope, [eventObj]);
}
}
this.active = false;
this.delayQueue();
};
v1.delayQueue = function () {
var v2 = this.eventStore.remqueue.length;
if (v2 > 0) {
var v3 = 0;
goto 1745;
for (;;) {
++v3;
label 1745:
if (v3 >= v2) break;
this.addEventListener(this.eventStore.remqueue[v3].event, this.eventStore.remqueue[v3].scope);
}
this.eventStore.remqueue.splice(0);
}
v2 = this.eventStore.addqueue.length;
if (this.eventStore.addqueue.length > 0) {
var v4 = 0;
goto 1950;
for (;;) {
++v4;
label 1950:
if (v4 >= v2) break;
this.addEventListener(this.eventStore.addqueue[v4].event, this.eventStore.addqueue[v4].scope);
}
this.eventStore.addqueue.splice(0);
}
};
_global.com.techsmith.events.EventDispatcher implements com.techsmith.events.IEventDispatcher;
ASSetPropFlags(v1, null, 1);
v1.eventStore = null;
v1.active = false;
}
#endinitclip
}
movieClip 20547 __Packages.com.techsmith.ui.panels.Slice9Panel {
#initclip
if (!com.techsmith.ui.panels.Slice9Panel) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.panels) {
_global.com.techsmith.ui.panels = new Object();
}
_global.com.techsmith.ui.panels.Slice9Panel = function () {
super();
};
_global.com.techsmith.ui.panels.Slice9Panel extends com.techsmith.ui.Container;
var v1 = _global.com.techsmith.ui.panels.Slice9Panel.prototype;
_global.com.techsmith.ui.panels.Slice9Panel.create = function (container, name, depth, init) {
Object.registerClass('Slice9Panel', com.techsmith.ui.panels.Slice9Panel);
var v6 = container.attachMovie('Slice9Panel', name, depth, init);
return com.techsmith.ui.panels.Slice9Panel(v6);
};
v1.init = function (dim, styles, rectangle) {
this.topLeft = this.attachMovie(styles.TOP_LEFT, 'topLeft', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.topMid = this.attachMovie(styles.TOP_MIDDLE, 'topMid', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.topRight = this.attachMovie(styles.TOP_RIGHT, 'topRight', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.centerLeft = this.attachMovie(styles.CENTER_LEFT, 'centerLeft', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.centerMid = this.attachMovie(styles.CENTER_MIDDLE, 'centerMid', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.centerRight = this.attachMovie(styles.CENTER_RIGHT, 'centerRight', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.bottomLeft = this.attachMovie(styles.BOTTOM_LEFT, 'bottomLeft', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.bottomMid = this.attachMovie(styles.BOTTOM_MIDDLE, 'bottomMid', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.bottomRight = this.attachMovie(styles.BOTTOM_RIGHT, 'bottomRight', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.setSize(dim.width, dim.height);
this.topLeft._visible = true;
this.topMid._visible = true;
this.topRight._visible = true;
this.centerLeft._visible = true;
this.centerMid._visible = true;
this.centerRight._visible = true;
this.bottomLeft._visible = true;
this.bottomMid._visible = true;
this.bottomRight._visible = true;
};
v1.setSize = function (width, height) {
var v4 = this.topLeft._width;
var v5 = this.topLeft._height;
var v6 = this.topRight._width;
var v7 = this.bottomLeft._height;
var v8 = width - (v4 + v6);
var v9 = height - (v5 + v7);
this.topMid._width = v8;
this.centerMid._width = v8;
this.bottomMid._width = v8;
this.centerLeft._height = v9;
this.centerMid._height = v9;
this.centerRight._height = v9;
this.topLeft._x = this.horizontalPadding;
this.topLeft._y = this.verticalPadding;
this.topMid._x = this.topLeft._x + this.topLeft._width;
this.topMid._y = this.verticalPadding;
this.topRight._x = this.topMid._x + this.topMid._width;
this.topRight._y = this.verticalPadding;
var v10 = this.topLeft._y + this.topLeft._height;
this.centerLeft._x = this.horizontalPadding;
this.centerLeft._y = v10;
this.centerMid._x = this.centerLeft._x + this.centerLeft._width;
this.centerMid._y = v10;
this.centerRight._x = this.centerMid._x + this.centerMid._width;
this.centerRight._y = v10;
v10 = this.centerLeft._y + this.centerLeft._height;
this.bottomLeft._x = this.horizontalPadding;
this.bottomLeft._y = v10;
this.bottomMid._x = this.bottomLeft._x + this.bottomLeft._width;
this.bottomMid._y = v10;
this.bottomRight._x = this.bottomMid._x + this.bottomMid._width;
this.bottomRight._y = v10;
};
_global.com.techsmith.ui.panels.Slice9Panel implements com.techsmith.ui.panels.IPanel;
ASSetPropFlags(v1, null, 1);
v1.horizontalPadding = 0;
v1.verticalPadding = 0;
v1.topLeft = null;
v1.topMid = null;
v1.topRight = null;
v1.centerLeft = null;
v1.centerMid = null;
v1.centerRight = null;
v1.bottomLeft = null;
v1.bottomMid = null;
v1.bottomRight = null;
}
#endinitclip
}
movieClip 20548 __Packages.com.techsmith.ui.canvas.BasicCanvas {
#initclip
if (!com.techsmith.ui.canvas.BasicCanvas) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.canvas) {
_global.com.techsmith.ui.canvas = new Object();
}
_global.com.techsmith.ui.canvas.BasicCanvas = function () {
super();
};
_global.com.techsmith.ui.canvas.BasicCanvas extends com.techsmith.ui.panels.Slice9Panel;
var v1 = _global.com.techsmith.ui.canvas.BasicCanvas.prototype;
_global.com.techsmith.ui.canvas.BasicCanvas.create = function (container, name, depth, init) {
Object.registerClass('BasicCanvas', com.techsmith.ui.canvas.BasicCanvas);
var v6 = container.attachMovie('BasicCanvas', name, depth, init);
return com.techsmith.ui.canvas.BasicCanvas(v6);
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20549 __Packages.com.techsmith.ui.canvas.ClickCanvas {
#initclip
if (!com.techsmith.ui.canvas.ClickCanvas) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.canvas) {
_global.com.techsmith.ui.canvas = new Object();
}
_global.com.techsmith.ui.canvas.ClickCanvas = function () {
super();
};
_global.com.techsmith.ui.canvas.ClickCanvas extends com.techsmith.ui.canvas.BasicCanvas;
var v1 = _global.com.techsmith.ui.canvas.ClickCanvas.prototype;
_global.com.techsmith.ui.canvas.ClickCanvas.create = function (container, name, depth, init) {
Object.registerClass('ClickCanvas', com.techsmith.ui.canvas.ClickCanvas);
var v6 = container.attachMovie('ClickCanvas', name, depth, init);
return com.techsmith.ui.canvas.ClickCanvas(v6);
};
v1.onRollOver = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_ROLL_OVER});
};
v1.onPress = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_PRESS});
};
v1.onRelease = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE});
};
v1.onReleaseOutside = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE_OUT});
};
v1.onRollOut = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_ROLL_OUT});
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20550 __Packages.com.techsmith.events.Events {
#initclip
if (!com.techsmith.events.Events) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.events) {
_global.com.techsmith.events = new Object();
}
_global.com.techsmith.events.Events = function () {};
var v1 = _global.com.techsmith.events.Events.prototype;
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.events.Events.LOAD_COMPLETE = 'xmlLoadComplete';
_global.com.techsmith.events.Events.LOAD_ERROR = 'xmlLoadError';
_global.com.techsmith.events.Events.ON_COMPLETE = 'onComplete';
_global.com.techsmith.events.Events.ANIMATION_COMPLETE = 'animationComplete';
_global.com.techsmith.events.Events.MOUSE_ROLL_OVER = 'rollOver';
_global.com.techsmith.events.Events.MOUSE_RELEASE = 'click';
_global.com.techsmith.events.Events.MOUSE_PRESS = 'press';
_global.com.techsmith.events.Events.MOUSE_ROLL_OUT = 'rollOut';
_global.com.techsmith.events.Events.MOUSE_RELEASE_OUT = 'releaseOutside';
_global.com.techsmith.events.Events.FOCUS_IN = 'focusIn';
_global.com.techsmith.events.Events.FOCUS_OUT = 'focusOut';
_global.com.techsmith.events.Events.COMPLETE = 'complete';
_global.com.techsmith.events.Events.CHANGE = 'change';
_global.com.techsmith.events.Events.LOADING = 'loading';
_global.com.techsmith.events.Events.INIT = 'init';
_global.com.techsmith.events.Events.TOOLTIP = 'tooltipEvent';
_global.com.techsmith.events.Events.KEY_ENTER = 'enter';
_global.com.techsmith.events.Events.CLOSE = 'close';
_global.com.techsmith.events.Events.MEDIA_LOADING = 'mediaLoading';
_global.com.techsmith.events.Events.NS_BUFFER_EMPTY = 'bufferEmpty';
_global.com.techsmith.events.Events.NS_BUFFER_FULL = 'bufferFull';
_global.com.techsmith.events.Events.NS_BUFFER_FLUSH = 'bufferFlush';
_global.com.techsmith.events.Events.NS_SEEK_EXECUTED = 'seekExecuted';
_global.com.techsmith.events.Events.NS_METADATA = 'metadata';
_global.com.techsmith.events.Events.NS_CUEPOINT = 'cuepoint';
_global.com.techsmith.events.Events.MEDIA_EVENT = 'cuepointEvent';
_global.com.techsmith.events.Events.MEDIA_NAVIGATION = 'cuepointNavigation';
_global.com.techsmith.events.Events.PROGRESS = 'progress';
_global.com.techsmith.events.Events.ERROR = 'error';
_global.com.techsmith.events.Events.STARTED = 'started';
_global.com.techsmith.events.Events.STOPPED = 'finished';
_global.com.techsmith.events.Events.STREAM_ERROR = 'streamError';
_global.com.techsmith.events.Events.SEEK_ERROR = 'seekError';
_global.com.techsmith.events.Events.SEEK_COMPLETE = 'seekComplete';
_global.com.techsmith.events.Events.PLAYHEAD_POSITION = 'positionChange';
_global.com.techsmith.events.Events.DRAG_START = 'dragStart';
_global.com.techsmith.events.Events.DRAG_STOP = 'dragStop';
_global.com.techsmith.events.Events.ROW_PRESS = 'rowPress';
_global.com.techsmith.events.Events.ITEM_ROLL_OVER = 'itemRollOver';
_global.com.techsmith.events.Events.ITEM_ROLL_OUT = 'itemRollOut';
_global.com.techsmith.events.Events.ENTER_FRAME = 'enterFrame';
}
#endinitclip
}
movieClip 20551 __Packages.com.techsmith.xskin.ui.panels.styles.White {
#initclip
if (!com.techsmith.xskin.ui.panels.styles.White) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
if (!com.techsmith.xskin.ui.panels.styles) {
_global.com.techsmith.xskin.ui.panels.styles = new Object();
}
_global.com.techsmith.xskin.ui.panels.styles.White = function () {
super('XSWhitePanelTL', 'XSWhitePanelTM', 'XSWhitePanelTR', 'XSWhitePanelCL', 'XSWhitePanelCM', 'XSWhitePanelCR', 'XSWhitePanelBL', 'XSWhitePanelBM', 'XSWhitePanelBR');
};
_global.com.techsmith.xskin.ui.panels.styles.White extends com.techsmith.ui.panels.PanelStyle;
var v1 = _global.com.techsmith.xskin.ui.panels.styles.White.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20552 __Packages.com.techsmith.ui.TextArea {
#initclip
if (!com.techsmith.ui.TextArea) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.TextArea = function () {
super();
};
_global.com.techsmith.ui.TextArea extends com.techsmith.ui.TextObject;
var v1 = _global.com.techsmith.ui.TextArea.prototype;
_global.com.techsmith.ui.TextArea.create = function (container, name, depth, init) {
Object.registerClass('TextArea', com.techsmith.ui.TextArea);
var v6 = container.attachMovie('TextArea', name, depth, init);
return com.techsmith.ui.TextArea(v6);
};
v1.createField = function () {
super.createField();
this.textField.multiline = true;
this.textField.wordWrap = true;
this.tfMinWidth = this.tfMaxWidth - this.scrollbarWidth;
this.tfMinHeight = this.tfMaxHeight;
};
v1.setText = function (s) {
super.setText(s);
this.scrollDecorate();
};
v1.scrollDecorate = function () {
var v2 = this.textField.maxscroll;
if (v2 > 1 && this.textField._width != this.tfMinWidth) {
var v3 = this.tfMinWidth;
if (this.border) {
v3 = this.tfMinWidth - this.borderPadding;
}
this.textField._width = v3;
this.scrollbar = this.createClassObject(mx.controls.UIScrollBar, 'scrollbar', 10);
this.scrollbar.setSize(this.scrollbarWidth, this.fillHeight);
this.scrollbar.move(this.textField._x + this.textField._width, this.filly);
this.scrollbar.setScrollTarget(this.textField);
} else {
if (v2 != this.lastScrollValue && v2 <= 1) {
this.destroyObject('scrollbar');
this.textField._width = this.tfMaxWidth;
}
}
this.lastScrollValue = v2;
};
v1.onChanged = function () {
super.onChanged();
this.scrollDecorate();
};
ASSetPropFlags(v1, null, 1);
v1.lastScrollValue = 0;
v1.scrollbar = null;
v1.scrollbarWidth = 13;
v1.tfMinWidth = null;
v1.tfMinHeight = null;
}
#endinitclip
}
movieClip 20553 __Packages.com.techsmith.camtasia.toc.TreeWrapper {
#initclip
if (!com.techsmith.camtasia.toc.TreeWrapper) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.toc) {
_global.com.techsmith.camtasia.toc = new Object();
}
_global.com.techsmith.camtasia.toc.TreeWrapper = function () {
super();
this.tree = com.techsmith.camtasia.components.TSTree(this.attachMovie('TSTree', 'tree', 1));
this.registerListeners();
};
_global.com.techsmith.camtasia.toc.TreeWrapper extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.toc.TreeWrapper.prototype;
_global.com.techsmith.camtasia.toc.TreeWrapper.create = function (container, name, depth, init) {
Object.registerClass('TreeWrapper', com.techsmith.camtasia.toc.TreeWrapper);
var v6 = container.attachMovie('TreeWrapper', name, depth, init);
return com.techsmith.camtasia.toc.TreeWrapper(v6);
};
v1.registerListeners = function () {
if (this.type == com.techsmith.camtasia.toc.TOCConstants.FLOATING) {
this.tree.addEventListener('nodeOpen', com.techsmith.utils.Delegate.create(this, this.nodeOpenHandler));
this.tree.addEventListener('nodeClose', com.techsmith.utils.Delegate.create(this, this.nodeClosedHandler));
}
this.tree.addEventListener('rowPress', com.techsmith.utils.Delegate.create(this, this.rowPressHandler));
this.tree.addEventListener('change', com.techsmith.utils.Delegate.create(this, this.changeHandler));
this.tree.addEventListener('itemRollOver', com.techsmith.utils.Delegate.create(this, this.overHandler));
this.tree.addEventListener('itemRollOut', com.techsmith.utils.Delegate.create(this, this.outHandler));
this.tree.drawFocus = undefined;
};
v1.__set__dataProvider = function (dataprovider) {
this.tree.dataProvider = dataprovider;
return this.__get__dataProvider();
};
v1.setSize = function (w, h) {
this.tree.setSize(w, h);
if (this.hasBorder) {
this.drawOutline(new com.techsmith.utils.Dimension(w, h));
}
};
v1.setStyle = function (styles) {
this.tocData = styles;
this.transparent = (styles.transparent == null) ? this.transparent : styles.transparent;
var v3 = styles.rowDepthColors.colors;
var v4 = styles.alternatingRowColors.colors;
if (this.validateColorArr(v3)) {
this.tree.setStyle('depthColors', v3);
} else {
if (this.validateColorArr(v4)) {
this.tree.setStyle('alternatingRowColors', v4);
} else {
var v5 = styles.backgroundColor;
if (v5 == _global.NaN) {
v5 = 16777215;
}
this.tree.setStyle('backgroundColor', v5);
}
}
this.tree.setStyle('rollOverColor', styles.rowRollOverColor);
this.tree.setStyle('selectionColor', styles.rowSelectedColor);
this.tree.setStyle('indentation', styles.rowIndentation);
this.tree.setStyle('borderStyle', 'none');
this.tree.setStyle('color', styles.textColor);
this.tree.setStyle('fontFamily', styles.fontFamily);
this.tree.setStyle('fontSize', styles.fontSize);
this.tree.setStyle('fontWeight', styles.fontWeight);
this.tree.setStyle('textAlign', styles.textAlign);
this.tree.setStyle('textDecoration', styles.textDecoration);
this.tree.setStyle('textIndent', styles.textIndent);
this.tree.setStyle('textRollOverColor', styles.textRollOverColor);
this.tree.setStyle('textSelectedColor', styles.textSelectedColor);
this.tree.setStyle('useRollOver', styles.useRollOver);
this.tree.setStyle('folderOpenIcon', 'nullicon');
this.tree.setStyle('folderClosedIcon', 'nullicon');
this.tree.setStyle('defaultLeafIcon', 'nullicon');
if (!styles.collapsible) {
this.tree.setStyle('disclosureOpenIcon', 'nullicon');
this.tree.setStyle('disclosureClosedIcon', 'nullicon');
}
this.tree.vScrollPolicy = 'auto';
if (styles.horizontalScroll != undefined && styles.horizontalScroll > 0) {
this.tree.hScrollPolicy = 'on';
this.tree.maxHPosition = styles.horizontalScroll;
}
this.rows = this.tree.rows;
};
v1.validateColorArr = function (colors) {
var v3 = 0;
goto 3960;
for (;;) {
++v3;
label 3960:
if (v3 >= colors.length) break;
if (_global.isNaN(colors[v3])) {
return false;
}
}
return true;
};
v1.setSelected = function (currentTime) {
if (this.rowPress) {
return undefined;
}
var v3 = _global.isNaN(this.tree.selectedIndex) ? 0 : this.tree.selectedIndex;
var v4 = this.tree.length;
var v5 = v3;
goto 4189;
for (;;) {
++v5;
label 4189:
if (v5 >= v4) break;
if (v5 == v4 - 1 && currentTime >= (this.tree.getItemAt(v4 - 1)).attributes.time) {
this.tree.selectedIndex = v5;
break;
}
if (v5 == v4 - 1 && currentTime <= (this.tree.getItemAt(v4 - 1)).attributes.time) {
this.tree.selectedIndex = 0;
break;
}
if (currentTime >= (this.tree.getItemAt(v5)).attributes.time && currentTime <= (this.tree.getItemAt(v5 + 1)).attributes.time) {
this.tree.selectedIndex = v5;
} else {}
}
};
v1.setSelectedIndex = function (index) {
this.tree.selectedIndex = index;
};
v1.expandTree = function (node) {
if (!this.tree.getIsBranch(node)) {
return undefined;
}
if (!this.tree.getIsOpen(node)) {
this.tree.setIsOpen(node, true, false);
}
for (var i in node.childNodes) {
this.expandTree(node.childNodes[i]);
}
};
v1.setRowsTransparent = function () {
var v2 = this.tree.rows;
var v3 = v2.length;
var v4 = 0;
goto 4818;
for (;;) {
++v4;
label 4818:
if (v4 >= v3) break;
v2[v4].backGround._alpha = this.opacity;
v2[v4].highlight._alpha = this.selectedOpacity;
}
this.tree.border_mc.backgroundColorName = '';
this.tree.border_mc.drawBorder();
};
v1.drawOutline = function (dim) {
if (this.outline == null) {
this.outline = this.createEmptyMovieClip('outline', 6);
}
this.outline.clear();
var v3 = new com.brooksandrus.drawing.Rect();
v3.draw(this.outline, this.tree.width, this.tree.height, 0, 0, {'rgb': 9542041, 'thickness': 1, 'alpha': 100, 'jointStyle': 'miter', 'capsStyle': 'square', 'pixelHinting': false, 'noScale': 'none'});
v3.draw(this.outline, this.tree.width - 2, this.tree.height - 2, 0, 0, {'rgb': 15658734, 'thickness': 1, 'alpha': 100, 'jointStyle': 'miter', 'capsStyle': 'square', 'pixelHinting': false, 'noScale': 'none'}, {'x': 1, 'y': 1});
};
v1.destroy = function () {
this.tree.removeEventListener('nodeOpen', this.nodeOpenHandler);
this.tree.removeEventListener('nodeClose', this.nodeClosedHandler);
this.tree.destroyObject('tree');
super.destroy();
};
v1.getTree = function () {
return this.tree;
};
v1.nodeOpenHandler = function (e) {
if (this.transparent) {
this.setRowsTransparent();
}
};
v1.nodeClosedHandler = function (e) {
if (this.transparent) {
this.setRowsTransparent();
}
};
v1.rowPressHandler = function (e) {
this.fileSetIndex = (this.tree.getItemAt(e.index)).attributes.fileset;
this.eventTime = e.time;
this.rowPress = true;
};
v1.changeHandler = function (e) {
this.rowPress = false;
this.dispatchEvent({'type': com.techsmith.events.Events.CHANGE, 'time': this.eventTime, 'fileSetIndex': this.fileSetIndex});
this.tooltip.destroy();
};
v1.overHandler = function (e) {
var v3 = this.tree.getItemAt(e.index);
var v4 = v3.attributes.label;
var v5 = e.index;
var v6 = 2;
if (this.tree.dataProvider.childNodes.length >= this.tree.rows.length && this.tree.vSB._scrollPosition != undefined) {
v5 = e.index - this.tree.vSB._scrollPosition;
v6 = 17;
}
if (v4 != null) {
var v7 = this.tree.rows[v5];
this.createToolTip(v4, v7, v6);
}
};
v1.createToolTip = function (label, row, tipOffset) {
this.tooltip = com.techsmith.ui.ToolTip.create(this, 'tooltip', 10, {'fillColor': this.tocData.rowRollOverColor, 'size': this.tocData.fontSize, 'bold': this.tocData.fontWeight, 'fontColor': this.tocData.textRollOverColor, 'font': this.tocData.fontFamily, 'leading': 0, 'alignment': 'left', 'opacity': 100, 'margin': 8, 'hPad': 6});
this.tooltip.setTip(label, this.tree.width - tipOffset);
this.tooltip.move(row._x + 1, row._y - 2);
};
v1.outHandler = function (e) {
this.tooltip.destroy();
};
v1.addProperty('dataProvider', function () {}, v1.__set__dataProvider);
ASSetPropFlags(v1, null, 1);
v1.rowPress = false;
v1.opacity = 0;
v1.selectedOpacity = 50;
v1.type = com.techsmith.camtasia.toc.TOCConstants.FLOATING;
v1.hasBorder = true;
v1.transparent = true;
v1.tipId = -1;
}
#endinitclip
}
movieClip 20554 __Packages.com.mosesSupposes.fuse.ZigoEngine {
#initclip
if (!com.mosesSupposes.fuse.ZigoEngine) {
if (!com) {
_global.com = new Object();
}
if (!com.mosesSupposes) {
_global.com.mosesSupposes = new Object();
}
if (!com.mosesSupposes.fuse) {
_global.com.mosesSupposes.fuse = new Object();
}
_global.com.mosesSupposes.fuse.ZigoEngine = function () {};
var v1 = _global.com.mosesSupposes.fuse.ZigoEngine.prototype;
_global.com.mosesSupposes.fuse.ZigoEngine.addListener = function (handler) {
AsBroadcaster.initialize(com.mosesSupposes.fuse.ZigoEngine);
com.mosesSupposes.fuse.ZigoEngine.addListener(handler);
};
_global.com.mosesSupposes.fuse.ZigoEngine.removeListener = function (handler) {};
_global.com.mosesSupposes.fuse.ZigoEngine.isPlaying = function () {
return com.mosesSupposes.fuse.ZigoEngine._playing;
};
_global.com.mosesSupposes.fuse.ZigoEngine.simpleSetup = function (shortcutsClass) {
if (arguments.length > 0) {
com.mosesSupposes.fuse.ZigoEngine.register.apply(com.mosesSupposes.fuse.ZigoEngine, arguments);
}
_global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine;
if (com.mosesSupposes.fuse.ZigoEngine.extensions.fuse != undefined) {
_global.Fuse = com.mosesSupposes.fuse.ZigoEngine.extensions.fuse;
}
if (com.mosesSupposes.fuse.ZigoEngine.extensions.fuseFMP != undefined) {
com.mosesSupposes.fuse.ZigoEngine.extensions.fuseFMP.simpleSetup();
}
com.mosesSupposes.fuse.ZigoEngine.initialize(MovieClip.prototype, Button.prototype, TextField.prototype);
if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts == undefined) {
com.mosesSupposes.fuse.FuseKitCommon.error('001');
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.register = function (classReference) {
if (com.mosesSupposes.fuse.ZigoEngine.extensions == undefined) {
com.mosesSupposes.fuse.ZigoEngine.extensions = {};
}
var v3 = '|fuse|fuseItem|fuseFMP|shortcuts|pennerEasing|';
for (var i in arguments) {
var v4 = arguments[i].registryKey;
if (com.mosesSupposes.fuse.ZigoEngine.extensions[v4] == undefined && v3.indexOf('|' + v4 + '|') > -1) {
com.mosesSupposes.fuse.ZigoEngine.extensions[v4] = arguments[i];
if (v4 == 'fuseFMP' || v4 == 'shortcuts') {
(Object(com.mosesSupposes.fuse.ZigoEngine.extensions[v4])).initialize();
}
}
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.initialize = function (target) {
if (arguments.length > 0) {
com.mosesSupposes.fuse.ZigoEngine.initializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments);
if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts != undefined) {
com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts.addShortcutsTo.apply(com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts, arguments);
}
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.deinitialize = function (target) {
if (arguments.length == 0 || super == null) {
arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype);
}
com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments);
if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts != undefined) {
com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts.removeShortcutsFrom.apply(com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts, arguments);
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.getUpdateInterval = function () {
return com.mosesSupposes.fuse.ZigoEngine.updateTime;
};
_global.com.mosesSupposes.fuse.ZigoEngine.setUpdateInterval = function (time) {
if (com.mosesSupposes.fuse.ZigoEngine._playing) {
com.mosesSupposes.fuse.ZigoEngine.setup(true);
com.mosesSupposes.fuse.ZigoEngine.updateTime = time;
com.mosesSupposes.fuse.ZigoEngine.setup();
} else {
com.mosesSupposes.fuse.ZigoEngine.updateTime = time;
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.getControllerDepth = function () {
return com.mosesSupposes.fuse.ZigoEngine.tweenHolder.getDepth();
};
_global.com.mosesSupposes.fuse.ZigoEngine.setControllerDepth = function (depth) {
if (depth == null || _global.isNaN(depth) == true) {
depth = 6789;
}
if ((Object(com.mosesSupposes.fuse.ZigoEngine.tweenHolder)).proof != null) {
com.mosesSupposes.fuse.ZigoEngine.tweenHolder.swapDepths(depth);
} else {
com.mosesSupposes.fuse.ZigoEngine.tweenHolder = _root.createEmptyMovieClip('ZigoEnginePulse', depth);
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.doShortcut = function (targets, methodName) {
if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts == undefined) {
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('002');
}
return null;
}
return com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts.doShortcut.apply(com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts, arguments);
};
_global.com.mosesSupposes.fuse.ZigoEngine.doTween = function (targets, props, endvals, seconds, ease, delay, callback) {
if (com.mosesSupposes.fuse.ZigoEngine.extensions.fuse.addBuildItem(arguments) == true) {
return null;
}
if (com.mosesSupposes.fuse.ZigoEngine.instance == undefined || (Object(com.mosesSupposes.fuse.ZigoEngine.tweenHolder)).proof == undefined && com.mosesSupposes.fuse.ZigoEngine.updateTime == undefined) {
if (MovieClip.prototype.tween != null && typeof _global.$tweenManager == 'object') {
com.mosesSupposes.fuse.FuseKitCommon.error('003');
}
com.mosesSupposes.fuse.ZigoEngine.instance = new com.mosesSupposes.fuse.ZManager();
com.mosesSupposes.fuse.ZigoEngine._playing = false;
}
var v9 = com.mosesSupposes.fuse.ZigoEngine.instance.paramsObj(super, props, endvals);
var v10 = (v9.tg[0] == null || v9.tg.length == 0) ? undefined : v9.tg;
if (v9.pa == undefined || (v10 == undefined || arguments.length < 3)) {
if (com.mosesSupposes.fuse.ZigoEngine.extensions.fuseItem != null && typeof v10[0] == 'object') {
return com.mosesSupposes.fuse.ZigoEngine.extensions.fuseItem.doTween(arguments[0]);
}
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) {
if (arguments.length < 3) {
com.mosesSupposes.fuse.FuseKitCommon.error('004', String(arguments.length));
} else {
com.mosesSupposes.fuse.FuseKitCommon.error('005', v10.toString(), v9.pa.toString());
}
}
return null;
}
if (com.mosesSupposes.fuse.ZigoEngine._playing != true) {
com.mosesSupposes.fuse.ZigoEngine.setup();
}
if (seconds == null || _global.isNaN(seconds) == true) {
seconds = com.mosesSupposes.fuse.ZigoEngine.DURATION || 1;
} else {
if (seconds < 0.01) {
seconds = 0;
}
}
if (delay < 0.01 || (delay == null || _global.isNaN(delay) == true)) {
delay = 0;
}
var v11 = com.mosesSupposes.fuse.ZigoEngine.parseCallback(callback, v10);
if (typeof ease == 'function') {
if (typeof (Function(ease)).call(null, 1, 1, 1, 1) == 'number') {
var v12 = Function(ease);
} else {
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('014', ease);
}
}
} else {
if (ease == null || ease == '') {
if (com.mosesSupposes.fuse.ZigoEngine.EASING instanceof Function) {
var v12 = Function(com.mosesSupposes.fuse.ZigoEngine.EASING);
} else {
if (com.mosesSupposes.fuse.ZigoEngine.extensions.pennerEasing != undefined) {
ease = com.mosesSupposes.fuse.ZigoEngine.EASING;
}
}
}
}
if (typeof ease == 'string' && ease != '') {
if (com.mosesSupposes.fuse.ZigoEngine.extensions.pennerEasing[ease] != undefined) {
var v12 = com.mosesSupposes.fuse.ZigoEngine.extensions.pennerEasing[ease];
} else {
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('006', ease);
}
}
} else {
if (typeof ease == 'object' && (ease.ease != null && ease.pts != null)) {
var v12 = Function(ease.ease);
v11.extra1 = ease.pts;
}
}
if (typeof v12 != 'function') {
v12 = function (t, b, c, d) {
t = t / d - 1;
return c * (t * t * t * t * t + 1) + b;
};
}
var v13 = '';
for (var i in v10) {
var v14 = v10[i];
if (v14.__zigoID__ == null) {
com.mosesSupposes.fuse.ZigoEngine.initializeTargets(v14);
} else {
if (com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('locked', v14) == true) {
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('007', (v14._name != undefined) ? v14._name : v14.toString(), v9.pa.toString());
}
continue;
}
}
var v15 = com.mosesSupposes.fuse.ZigoEngine.instance.addTween(v14, v9.pa, v9.va, seconds, v12, delay, v11);
v13 = ((v15 == null) ? '|' : v15 + '|') + v13;
}
v13 = v13.slice(0, -1);
return (v13 == '' || v13 == '|') ? null : v13;
};
_global.com.mosesSupposes.fuse.ZigoEngine.removeTween = function (targs, props) {
com.mosesSupposes.fuse.ZigoEngine.instance.removeTween(targs, props);
};
_global.com.mosesSupposes.fuse.ZigoEngine.isTweening = function (targ, prop) {
return com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('active', targ, prop);
};
_global.com.mosesSupposes.fuse.ZigoEngine.getTweens = function (targ) {
return Number(com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('count', targ));
};
_global.com.mosesSupposes.fuse.ZigoEngine.lockTween = function (targ, setLocked) {
com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('lock', targ, setLocked);
};
_global.com.mosesSupposes.fuse.ZigoEngine.isTweenLocked = function (targ) {
return com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('locked', targ);
};
_global.com.mosesSupposes.fuse.ZigoEngine.ffTween = function (targs, props) {
com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('ff', targs, props);
};
_global.com.mosesSupposes.fuse.ZigoEngine.rewTween = function (targs, props, pauseFlag, suppressStartEvents) {
com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('rewind', targs, props, pauseFlag, suppressStartEvents);
};
_global.com.mosesSupposes.fuse.ZigoEngine.isTweenPaused = function (targ, prop) {
return com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('paused', targ, prop);
};
_global.com.mosesSupposes.fuse.ZigoEngine.pauseTween = function (targs, props) {
com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('pause', targs, props);
};
_global.com.mosesSupposes.fuse.ZigoEngine.unpauseTween = function (targs, props) {
com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('unpause', targs, props);
};
_global.com.mosesSupposes.fuse.ZigoEngine.resumeTween = function (targs, props) {
com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('unpause', targs, props);
};
_global.com.mosesSupposes.fuse.ZigoEngine.setColorByKey = function (targetObj, type, amt, rgb) {
(new Color(targetObj)).setTransform(com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(type, amt, rgb));
};
_global.com.mosesSupposes.fuse.ZigoEngine.getColorTransObj = function (type, amt, rgb) {
switch (type) {
return {'rb': 0, 'ra': 100, 'gb': 0, 'ga': 100, 'bb': 0, 'ba': 100};
case 'brightness':
var v5 = 100 - Math.abs(amt);
var v6 = amt > 0 ? 255 * (amt / 100) : 0;
return {'ra': v5, 'rb': v6, 'ga': v5, 'gb': v6, 'ba': v5, 'bb': v6};
case 'brightOffset':
return {'ra': 100, 'rb': 255 * (amt / 100), 'ga': 100, 'gb': 255 * (amt / 100), 'ba': 100, 'bb': 255 * (amt / 100)};
case 'contrast':
return {'ra': amt, 'rb': 128 - (128 / 100) * amt, 'ga': amt, 'gb': 128 - (128 / 100) * amt, 'ba': amt, 'bb': 128 - (128 / 100) * amt};
case 'invertColor':
return {'ra': 100 - 2 * amt, 'rb': amt * (255 / 100), 'ga': 100 - 2 * amt, 'gb': amt * (255 / 100), 'ba': 100 - 2 * amt, 'bb': amt * (255 / 100)};
case 'tint':
if (rgb == null) break;
if (typeof rgb == 'string') {
if (rgb.charAt(0) == '#') {
rgb = rgb.slice(1);
}
rgb = ((rgb.charAt(1)).toLowerCase() != 'x') ? '0x' + rgb : rgb;
}
var v7 = Number(rgb);
return {'ra': 100 - amt, 'rb': (v7 >> 16) * (amt / 100), 'ga': 100 - amt, 'gb': (v7 >> 8 & 255) * (amt / 100), 'ba': 100 - amt, 'bb': (v7 & 255) * (amt / 100)};
}
return {'rb': 0, 'ra': 100, 'gb': 0, 'ga': 100, 'bb': 0, 'ba': 100};
};
_global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj = function (targOrTransObj) {
var v3 = (targOrTransObj.ra != undefined) ? targOrTransObj : (new Color(targOrTransObj)).getTransform();
var v4 = {};
var v5 = v3.ra == v3.ga && v3.ga == v3.ba;
var v6 = v3.rb == v3.gb && v3.gb == v3.bb;
var v7 = (v5 == true) ? 100 - v3.ra : 0;
if (v7 != 0) {
var v8 = 100 / v7;
v4.tint = v3.rb * v8 << 16 | v3.gb * v8 << 8 | v3.bb * v8;
v4.tintPercent = v7;
var v9 = v4.tint.toString(16);
var v10 = 6 - v9.length;
while (v10-- > 0) {
v9 = '0' + v9;
}
v4.tintString = '0x' + v9.toUpperCase();
}
if (v5 == true && v6 == true) {
if (v3.ra < 0) {
v4.invertColor = v3.rb * (100 / 255);
} else {
if (v3.ra == 100 && v3.rb != 0) {
v4.brightOffset = v3.rb * (100 / 255);
}
}
if (v3.ra != 100) {
if (v3.rb == 0 || v3.rb != 0 && 255 * ((100 - v3.ra) / 100) - v3.rb <= 1) {
v4.brightness = (v3.rb != 0) ? 100 - v3.ra : v3.ra - 100;
}
if (128 - (128 / 100) * v3.ra - v3.rb <= 1) {
v4.contrast = v3.ra;
}
}
}
return v4;
};
_global.com.mosesSupposes.fuse.ZigoEngine.initializeTargets = function () {
for (var i in arguments) {
super = arguments[i];
if (super == MovieClip.prototype || (super == Button.prototype || (super == TextField.prototype || super == Object.prototype))) {
if (super.oldAddListener == undefined) {
if (super == TextField.prototype) {
super.oldAddListener = super.addListener;
_global.ASSetPropFlags(super, 'oldAddListener', 7, 1);
}
super.addListener = function (o) {
if (this.__zigoID__ == undefined) {
com.mosesSupposes.fuse.ZigoEngine.initializeTargets(this);
}
if (this instanceof TextField) {
(Function(this.oldAddListener)).call(this, o);
} else {
this.addListener(o);
}
};
if (super == MovieClip.prototype) {
_global.ASSetPropFlags(super, 'addListener', 7, 1);
}
}
} else {
if (super.__zigoID__ == undefined) {
super.__zigoID__ = com.mosesSupposes.fuse.ZigoEngine.zigoIDs;
_global.ASSetPropFlags(super, '__zigoID__', 7, 1);
++com.mosesSupposes.fuse.ZigoEngine.zigoIDs;
if (super._listeners == null || super.addListener == null) {
AsBroadcaster.initialize(super);
}
}
}
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets = function () {
for (var i in arguments) {
super = arguments[i];
if (super.__zigoID__ != undefined) {
_global.ASSetPropFlags(super, '__zigoID__,_listeners,broadcastMessage,addListener,removeListener', 0, 2);
delete super.__zigoID__;
delete super._listeners;
delete super.broadcastMessage;
delete super.addListener;
delete super.removeListener;
}
if (super.oldAddListener != undefined) {
_global.ASSetPropFlags(super, 'oldAddListener', 0, 2);
super.addListener = super.oldAddListener;
delete super.oldAddListener;
}
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.__mgrRelay = function (inst, method, args) {
if (inst == com.mosesSupposes.fuse.ZigoEngine.instance) {
(Function(com.mosesSupposes.fuse.ZigoEngine[method])).apply(com.mosesSupposes.fuse.ZigoEngine, args);
}
};
_global.com.mosesSupposes.fuse.ZigoEngine.setup = function (deinitFlag) {
if (deinitFlag == true) {
com.mosesSupposes.fuse.ZigoEngine._playing = false;
_global.clearInterval(com.mosesSupposes.fuse.ZigoEngine.updateIntId);
delete com.mosesSupposes.fuse.ZigoEngine.tweenHolder.onEnterFrame;
return undefined;
}
com.mosesSupposes.fuse.ZigoEngine.instance.cleanUp();
_global.clearInterval(com.mosesSupposes.fuse.ZigoEngine.updateIntId);
delete com.mosesSupposes.fuse.ZigoEngine.updateIntId;
if (com.mosesSupposes.fuse.ZigoEngine.updateTime != null && com.mosesSupposes.fuse.ZigoEngine.updateTime > 0) {
com.mosesSupposes.fuse.ZigoEngine.updateIntId = _global.setInterval(com.mosesSupposes.fuse.ZigoEngine.instance, 'update', com.mosesSupposes.fuse.ZigoEngine.updateTime);
} else {
if ((Object(com.mosesSupposes.fuse.ZigoEngine.tweenHolder)).proof == null) {
com.mosesSupposes.fuse.ZigoEngine.setControllerDepth(6789);
(Object(com.mosesSupposes.fuse.ZigoEngine.tweenHolder)).proof = 1;
}
var _inst = com.mosesSupposes.fuse.ZigoEngine.instance;
com.mosesSupposes.fuse.ZigoEngine.tweenHolder.onEnterFrame = function () {
_inst.update.call(_inst);
};
}
com.mosesSupposes.fuse.ZigoEngine._playing = true;
com.mosesSupposes.fuse.ZigoEngine.instance.now = getTimer();
};
_global.com.mosesSupposes.fuse.ZigoEngine.parseCallback = function (callback, targets) {
var v4 = {'skipLevel': com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL, 'cycles': 1};
if (callback.skipLevel != undefined && (typeof callback.skipLevel == 'number' && callback.skipLevel != com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL)) {
if (callback.skipLevel >= 0 && callback.skipLevel <= 2) {
v4.skipLevel = callback.skipLevel;
}
}
if (callback.cycles != undefined) {
if (typeof callback.cycles == 'number' && callback.cycles > -1) {
v4.cycles = callback.cycles;
} else {
if (callback.cycles.toUpperCase() == 'LOOP') {
v4.cycles = 0;
}
}
}
if (callback.extra1 != undefined) {
v4.extra1 = callback.extra1;
}
if (callback.extra2 != undefined) {
v4.extra2 = callback.extra2;
}
if (callback == undefined) {
return v4;
}
var v5 = [];
if (typeof callback == 'string') {
var v6 = String(callback);
} else {
if (typeof callback.easyfunc == 'string') {
var v6 = callback.easyfunc;
}
}
if (v6 != undefined && (v6.indexOf('(') > -1 && v6.indexOf(')') > -1)) {
if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts != undefined) {
callback = com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts.parseStringTypeCallback(v6);
} else {
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('008');
}
}
} else {
if (typeof callback == 'function' || typeof callback == 'string') {
callback = {'func': callback};
}
}
for (var i in callback) {
var v7 = (i.toLowerCase()).indexOf('func');
if (v7 > -1) {
var v8 = i.slice(0, v7);
var v9 = callback[i];
var v10 = callback[v8 + 'args'];
var v11 = callback[v8 + 'scope'];
if (typeof v9 == 'string' && v11[v9] == undefined) {
for (var j in targets) {
var v12 = targets[j];
if (typeof v12[v9] == 'function') {
v11 = v12;
break;
}
if (typeof v12._parent[v9] == 'function') {
v11 = v12._parent;
break;
}
}
if (v11 == undefined && _level0[v9] != undefined) {
v11 = _level0;
}
if (v11 == undefined && _global[v9] != undefined) {
v11 = _global;
}
}
if (typeof v9 != 'function') {
if (typeof v11[String(v9)] == 'function') {
v9 = v11[String(v9)];
} else {
v9 = eval(String(v9));
}
}
if (v9 == undefined) {
v5.push(String(i + ':' + ((typeof callback[i] == 'string') ? '"' + callback[i] + '"' : callback[i]) + '/' + v8 + 'scope:' + v11));
} else {
if (v10 != undefined && !(v10 instanceof Array)) {
v10 = [v10];
}
if (v8 == '') {
v8 = 'end';
}
v4[v8] = {'s': v11, 'f': v9, 'a': v10, 'id': com.mosesSupposes.fuse.ZigoEngine.cbTicker++};
if (v8 == 'start') {
v4.start.fired = false;
}
}
} else {
if ((com.mosesSupposes.fuse.FuseKitCommon._cbprops()).indexOf('|' + i + '|') == -1) {
com.mosesSupposes.fuse.FuseKitCommon.error('009', i);
}
}
}
if (v5.length > 0 && com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) {
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('010', v5.length, v5.toString());
}
}
return v4;
};
ASSetPropFlags(v1, null, 1);
_global.com.mosesSupposes.fuse.ZigoEngine.VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION + ', ZigoEngine based on concepts by Ladislav Zigo, laco.wz.cz/tween';
_global.com.mosesSupposes.fuse.ZigoEngine.EASING = 'easeOutQuint';
_global.com.mosesSupposes.fuse.ZigoEngine.DURATION = 1;
_global.com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS = false;
_global.com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL = 1;
_global.com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP = false;
_global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL = 0;
_global.com.mosesSupposes.fuse.ZigoEngine._playing = false;
_global.com.mosesSupposes.fuse.ZigoEngine.zigoIDs = 0;
_global.com.mosesSupposes.fuse.ZigoEngine.cbTicker = 0;
}
#endinitclip
}
movieClip 20555 __Packages.com.techsmith.media.MediaFactory {
#initclip
if (!com.techsmith.media.MediaFactory) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.media) {
_global.com.techsmith.media = new Object();
}
_global.com.techsmith.media.MediaFactory = function () {};
var v1 = _global.com.techsmith.media.MediaFactory.prototype;
v1.createMedia = function (container, name, depth, url, init) {
var v7 = url.lastIndexOf('.');
url = url.substr(v7 + 1);
if (v7 == -1) {
return com.techsmith.media.SwfMedia.create(container, name, depth, init);
}
switch (url.toLowerCase()) {
case com.techsmith.media.MediaFactory.FLV:
return com.techsmith.media.FlvMedia.create(container, name, depth, init);
break;
case com.techsmith.media.MediaFactory.SWF:
return com.techsmith.media.SwfMedia.create(container, name, depth, init);
break;
case com.techsmith.media.MediaFactory.MP3:
return null;
break;
case com.techsmith.media.MediaFactory.JPG:
return com.techsmith.media.SwfMedia.create(container, name, depth, init);
break;
case com.techsmith.media.MediaFactory.GIF:
return com.techsmith.media.SwfMedia.create(container, name, depth, init);
break;
case com.techsmith.media.MediaFactory.PNG:
return com.techsmith.media.SwfMedia.create(container, name, depth, init);
break;
case com.techsmith.media.MediaFactory.JPEG:
return com.techsmith.media.SwfMedia.create(container, name, depth, init);
}
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.media.MediaFactory.FLV = 'flv';
_global.com.techsmith.media.MediaFactory.SWF = 'swf';
_global.com.techsmith.media.MediaFactory.MP3 = 'mp3';
_global.com.techsmith.media.MediaFactory.JPG = 'jpg';
_global.com.techsmith.media.MediaFactory.JPEG = 'jpeg';
_global.com.techsmith.media.MediaFactory.GIF = 'gif';
_global.com.techsmith.media.MediaFactory.PNG = 'png';
}
#endinitclip
}
movieClip 20556 __Packages.com.brooksandrus.drawing.CalloutRect {
#initclip
if (!com.brooksandrus.drawing.CalloutRect) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.drawing) {
_global.com.brooksandrus.drawing = new Object();
}
_global.com.brooksandrus.drawing.CalloutRect = function () {};
var v1 = _global.com.brooksandrus.drawing.CalloutRect.prototype;
v1.draw = function (scope, width, height, color, opacity, lineStyle, direction, point) {
if (direction == null) {
direction = com.brooksandrus.drawing.CalloutRect.NONE;
}
if (lineStyle != null) {
scope.lineStyle(lineStyle.thickness, lineStyle.rgb, lineStyle.alpha, lineStyle.pixelHinting, lineStyle.noScale, lineStyle.capsStyle, lineStyle.jointStyle, lineStyle.miterLimit);
}
switch (direction) {
case com.brooksandrus.drawing.CalloutRect.RIGHT:
var v10 = this.right(width, height, point);
break;
case com.brooksandrus.drawing.CalloutRect.LEFT:
var v10 = this.left(width, height, point);
break;
case com.brooksandrus.drawing.CalloutRect.TOP:
var v10 = this.top(width, height, point);
break;
case com.brooksandrus.drawing.CalloutRect.BOTTOM:
var v10 = this.bottom(width, height, point);
break;
case com.brooksandrus.drawing.CalloutRect.NONE:
var v10 = this.none(width, height);
break;
default:
var v10 = this.none(width, height);
}
this.drawShape(scope, color, opacity, storedv10);
};
v1.drawShape = function (scope, color, opacity, points) {
scope.beginFill(color, opacity);
scope.moveTo(points[0].x, points[0].y);
var v6 = points.length;
var v7 = 1;
goto 1318;
for (;;) {
++v7;
label 1318:
if (v7 >= v6) break;
scope.lineTo(points[v7].x, points[v7].y);
}
scope.endFill();
};
v1.top = function (width, height, point) {
if (point == null) {
point = {'x': width / 2, 'y': 0};
var v6 = (width + point.x) / 2;
var v7 = this.armWidth / 2;
var v8 = [new com.techsmith.utils.Point(point.x, point.y), new com.techsmith.utils.Point(v6 - v7, point.y), new com.techsmith.utils.Point(storedv5, 0), new com.techsmith.utils.Point(v6 + v7, point.y), new com.techsmith.utils.Point(width + point.x, point.y), new com.techsmith.utils.Point(width + point.x, height + point.y), new com.techsmith.utils.Point(point.x, height + point.y), new com.techsmith.utils.Point(point.x, point.y)];
return v8;
}
if (point.x < 0) {
var v5 = 0;
point.x = Math.abs(point.x);
} else {
var v5 = Math.abs(point.x);
point.x = 0;
}
point.y = Math.abs(point.y);
var v6 = (width + point.x) / 2;
var v7 = this.armWidth / 2;
var v8 = [new com.techsmith.utils.Point(point.x, point.y), new com.techsmith.utils.Point(v6 - v7, point.y), new com.techsmith.utils.Point(v5, 0), new com.techsmith.utils.Point(v6 + v7, point.y), new com.techsmith.utils.Point(width + point.x, point.y), new com.techsmith.utils.Point(width + point.x, height + point.y), new com.techsmith.utils.Point(point.x, height + point.y), new com.techsmith.utils.Point(point.x, point.y)];
return v8;
};
v1.bottom = function (width, height, point) {
if (point == null) {
point = {'x': width / 2, 'y': 0};
var v6 = (width + point.x) / 2;
var v7 = this.armWidth / 2;
var v8 = [new com.techsmith.utils.Point(point.x, 0), new com.techsmith.utils.Point(width + point.x, 0), new com.techsmith.utils.Point(width + point.x, height), new com.techsmith.utils.Point(v6 + v7, height), new com.techsmith.utils.Point(storedv5, point.y), new com.techsmith.utils.Point(v6 - v7, height), new com.techsmith.utils.Point(point.x, height), new com.techsmith.utils.Point(point.x, 0)];
return v8;
}
if (point.x < 0) {
var v5 = 0;
point.x = Math.abs(point.x);
} else {
var v5 = Math.abs(point.x);
point.x = 0;
}
point.y = Math.abs(point.y);
var v6 = (width + point.x) / 2;
var v7 = this.armWidth / 2;
var v8 = [new com.techsmith.utils.Point(point.x, 0), new com.techsmith.utils.Point(width + point.x, 0), new com.techsmith.utils.Point(width + point.x, height), new com.techsmith.utils.Point(v6 + v7, height), new com.techsmith.utils.Point(v5, point.y), new com.techsmith.utils.Point(v6 - v7, height), new com.techsmith.utils.Point(point.x, height), new com.techsmith.utils.Point(point.x, 0)];
return v8;
};
v1.left = function (width, height, point) {
if (point == null) {
point = {'x': 0, 'y': height / 2};
var v6 = (height + point.y) / 2;
var v7 = this.armWidth / 2;
var v8 = [new com.techsmith.utils.Point(point.x, point.y), new com.techsmith.utils.Point(width + point.x, point.y), new com.techsmith.utils.Point(width + point.x, point.y + height), new com.techsmith.utils.Point(point.x, point.y + height), new com.techsmith.utils.Point(point.x, v6 + v7), new com.techsmith.utils.Point(0, storedv5), new com.techsmith.utils.Point(point.x, v6 - v7), new com.techsmith.utils.Point(point.x, point.y)];
return v8;
}
if (point.y < 0) {
var v5 = 0;
point.y = Math.abs(point.y);
} else {
var v5 = Math.abs(point.y);
point.y = 0;
}
point.x = Math.abs(point.x);
var v6 = (height + point.y) / 2;
var v7 = this.armWidth / 2;
var v8 = [new com.techsmith.utils.Point(point.x, point.y), new com.techsmith.utils.Point(width + point.x, point.y), new com.techsmith.utils.Point(width + point.x, point.y + height), new com.techsmith.utils.Point(point.x, point.y + height), new com.techsmith.utils.Point(point.x, v6 + v7), new com.techsmith.utils.Point(0, v5), new com.techsmith.utils.Point(point.x, v6 - v7), new com.techsmith.utils.Point(point.x, point.y)];
return v8;
};
v1.right = function (width, height, point) {
if (point == null) {
point = {'x': 0, 'y': height / 2};
var v6 = (height + point.y) / 2;
var v7 = this.armWidth / 2;
var v8 = [new com.techsmith.utils.Point(0, point.y), new com.techsmith.utils.Point(width, point.y), new com.techsmith.utils.Point(width, v6 - v7), new com.techsmith.utils.Point(point.x, storedv5), new com.techsmith.utils.Point(width, v6 + v7), new com.techsmith.utils.Point(width, height + point.y), new com.techsmith.utils.Point(0, height + point.y), new com.techsmith.utils.Point(0, point.y)];
return v8;
}
if (point.y < 0) {
var v5 = 0;
point.y = Math.abs(point.y);
} else {
var v5 = Math.abs(point.y);
point.y = 0;
}
point.x = Math.abs(point.x);
var v6 = (height + point.y) / 2;
var v7 = this.armWidth / 2;
var v8 = [new com.techsmith.utils.Point(0, point.y), new com.techsmith.utils.Point(width, point.y), new com.techsmith.utils.Point(width, v6 - v7), new com.techsmith.utils.Point(point.x, v5), new com.techsmith.utils.Point(width, v6 + v7), new com.techsmith.utils.Point(width, height + point.y), new com.techsmith.utils.Point(0, height + point.y), new com.techsmith.utils.Point(0, point.y)];
return v8;
};
v1.none = function (width, height) {
var v4 = [new com.techsmith.utils.Point(0, 0), new com.techsmith.utils.Point(width, 0), new com.techsmith.utils.Point(width, height), new com.techsmith.utils.Point(0, height), new com.techsmith.utils.Point(0, 0)];
return v4;
};
ASSetPropFlags(v1, null, 1);
_global.com.brooksandrus.drawing.CalloutRect.LEFT = 'left';
_global.com.brooksandrus.drawing.CalloutRect.RIGHT = 'right';
_global.com.brooksandrus.drawing.CalloutRect.TOP = 'top';
_global.com.brooksandrus.drawing.CalloutRect.BOTTOM = 'bottom';
_global.com.brooksandrus.drawing.CalloutRect.NONE = 'none';
v1.armWidth = 20;
}
#endinitclip
}
movieClip 20557 __Packages.com.techsmith.camtasia.hotspot.Action {
#initclip
if (!com.techsmith.camtasia.hotspot.Action) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.hotspot) {
_global.com.techsmith.camtasia.hotspot = new Object();
}
_global.com.techsmith.camtasia.hotspot.Action = function (time, url, newWindow) {
this.time = time;
this.url = url;
this.target = newWindow ? '_blank' : '_self';
if (url != null && this.target == null) {
this.target = '_blank';
}
};
var v1 = _global.com.techsmith.camtasia.hotspot.Action.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20558 __Packages.com.techsmith.ui.ComponentRect {
#initclip
if (!com.techsmith.ui.ComponentRect) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.ComponentRect = function () {
super();
};
_global.com.techsmith.ui.ComponentRect extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.ComponentRect.prototype;
_global.com.techsmith.ui.ComponentRect.create = function (container, name, depth, init) {
Object.registerClass('ComponentRect', com.techsmith.ui.ComponentRect);
var v6 = container.attachMovie('ComponentRect', name, depth, init);
return com.techsmith.ui.ComponentRect(v6);
};
v1.init = function (dim, colors, alphas, ratios, lStyle, location) {
var v8 = new com.brooksandrus.drawing.Rect();
if (colors.length > 1) {
v8.gdraw(this, dim.width, dim.height, colors, alphas, ratios, lStyle, location);
} else {
v8.draw(this, dim.width, dim.height, colors[0], alphas[0], lStyle, location);
}
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20559 __Packages.com.brooksandrus.utils.IteratorImpl {
#initclip
if (!com.brooksandrus.utils.IteratorImpl) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.utils) {
_global.com.brooksandrus.utils = new Object();
}
_global.com.brooksandrus.utils.IteratorImpl = function (collection) {
this.collection = collection;
};
var v1 = _global.com.brooksandrus.utils.IteratorImpl.prototype;
v1.hasNext = function () {
return this.cursor < this.collection.getLength();
};
v1.next = function () {
return this.collection.getItemAt(this.cursor++);
};
_global.com.brooksandrus.utils.IteratorImpl implements com.brooksandrus.utils.Iterator;
ASSetPropFlags(v1, null, 1);
v1.collection = null;
v1.cursor = 0;
}
#endinitclip
}
movieClip 20560 __Packages.com.techsmith.camtasia.quiz.Feedback {
#initclip
if (!com.techsmith.camtasia.quiz.Feedback) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.Feedback = function () {
super();
};
_global.com.techsmith.camtasia.quiz.Feedback extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.quiz.Feedback.prototype;
_global.com.techsmith.camtasia.quiz.Feedback.create = function (container, name, depth, init) {
Object.registerClass('Feedback', com.techsmith.camtasia.quiz.Feedback);
var v6 = container.attachMovie('Feedback', name, depth, init);
return com.techsmith.camtasia.quiz.Feedback(v6);
};
v1.init = function (dim) {
this.setupWindowChrome(dim);
this.setupContent(dim);
};
v1.setupWindowChrome = function (dim) {
this.background = com.techsmith.ui.ComponentRect.create(this, 'background', 1);
this.background.init(dim, [16777215], [80], [255], {'thickness': 1, 'rgb': 16777215, 'alpha': 100});
this.background.onPress = null;
this.exit = com.techsmith.ui.BasicButton.create(this, 'exit', 3);
this.exit.init(new com.techsmith.ui.ButtonStyle('FeedbackClose', null, false));
this.exit.move(dim.width - (this.exit._width + this.hPadding), this.vPadding);
this.title = com.techsmith.ui.Label.create(this, 'title', 2, {'multiline': false, 'color': '333333', 'size': 14, 'bold': true});
this.title.move(this.hPadding, this.vPadding - 3);
this.exit.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.exitHandler));
};
v1.setupContent = function (dim) {
this.content = com.techsmith.camtasia.quiz.FeedbackContent.create(this, 'content', 4);
var v3 = dim.width - this.hPadding * 2;
var v4 = dim.height - (this.exit.height + this.vPadding * 3);
this.content.init(new com.techsmith.utils.Dimension(v3, v4));
this.content.move(this.hPadding, this.exit.y + this.exit.height + this.vPadding);
};
v1.setFeedback = function (q, a) {
this.content.setFeedback(q, a);
};
v1.exitHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.CLOSE});
this.destroy();
};
v1.destroy = function () {
this.content.destroy();
this.exit.removeAllListeners();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.hPadding = 5;
v1.vPadding = 5;
}
#endinitclip
}
movieClip 20561 __Packages.com.techsmith.utils.Util {
#initclip
if (!com.techsmith.utils.Util) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.utils) {
_global.com.techsmith.utils = new Object();
}
_global.com.techsmith.utils.Util = function () {};
var v1 = _global.com.techsmith.utils.Util.prototype;
_global.com.techsmith.utils.Util.prnObj = function (obj, sp) {
var v4 = '';
if (sp == null) {
sp = '';
}
for (var i in obj) {
if (typeof obj[i] == 'object') {
v4 += sp + i + ' = ' + '{\n' + com.techsmith.utils.Util.prnObj(obj[i], sp + ' ') + sp + '}\n';
} else {
v4 += sp + i + ' = ' + obj[i] + '\n';
}
}
return v4;
};
_global.com.techsmith.utils.Util.doObjectsMatch = function (a, b) {
return com.techsmith.utils.Util.prnObj(a) == com.techsmith.utils.Util.prnObj(b);
};
_global.com.techsmith.utils.Util.sprintf = function (str) {
var v3 = 1;
var v4 = 0;
var v5 = super.indexOf('@', storedv5);
goto 916;
for (;;) {
v5 = super.indexOf('@', v5);
++v3;
label 916:
if (!(v5 != -1 && v3 < arguments.length)) break;
super = super.slice(v4, v5) + arguments[v3] + super.substring(v5 + 1);
v5 += ('' + arguments[v3]).length;
}
return super;
};
_global.com.techsmith.utils.Util.printClasses = function (obj) {
for (var i in obj) {
if (obj[i] instanceof Function) {
var v3 = i.substr(0, 1);
if (v3.toUpperCase() == v3) {
trace('Class Name: ' + i);
}
com.techsmith.utils.Util.printClasses(obj[i]);
}
}
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20562 __Packages.com.techsmith.camtasia.SoundManager {
#initclip
if (!com.techsmith.camtasia.SoundManager) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.SoundManager = function (initialVolume) {
super();
this.sound = new Sound();
this.setVolume(initialVolume);
};
_global.com.techsmith.camtasia.SoundManager extends com.brooksandrus.utils.Dispatcher;
var v1 = _global.com.techsmith.camtasia.SoundManager.prototype;
v1.setVolume = function (percent) {
if (percent > 100) {
percent = 100;
}
if (percent < 0) {
percent = 0;
}
this.level = percent;
if (percent == 0 && this.level != 0) {
this.mute();
} else {
this.sound.setVolume(percent);
}
if (this.muted && percent > 0) {
this.muted = false;
}
};
v1.mute = function (internalMute) {
this.muted = this.muted ? false : true;
var v3 = this.muted ? 0 : this.level;
this.sound.setVolume(v3);
if (v3 == 0) {
this.dispatchEvent({'type': com.techsmith.camtasia.SoundManager.MUTE_EVENT, 'target': this});
}
};
v1.getVolume = function () {
return this.sound.getVolume();
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.SoundManager.MUTE_EVENT = 'muteEvent';
v1.level = 100;
v1.muted = false;
}
#endinitclip
}
movieClip 20563 __Packages.com.techsmith.camtasia.CamtasiaApplication {
#initclip
if (!com.techsmith.camtasia.CamtasiaApplication) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.CamtasiaApplication = function () {
super();
this.dolaterClip = this.createEmptyMovieClip('dolaterClip', 999);
this._visible = false;
this.dispatcher = new com.techsmith.events.EventDispatcher();
};
_global.com.techsmith.camtasia.CamtasiaApplication extends MovieClip;
var v1 = _global.com.techsmith.camtasia.CamtasiaApplication.prototype;
_global.com.techsmith.camtasia.CamtasiaApplication.create = function (container, name, depth, init) {
Object.registerClass('CamtasiaApplication', com.techsmith.camtasia.CamtasiaApplication);
var v6 = container.attachMovie('CamtasiaApplication', name, depth, init);
return com.techsmith.camtasia.CamtasiaApplication(v6);
};
v1.init = function (scope) {
this.main = scope;
this.videoWidth = scope.tscwidth;
this.videoHeight = scope.tscheight;
this.fps = scope.fps;
this.main.focusManager.enabled = false;
this.model = new com.techsmith.camtasia.CamtasiaModel(scope.config);
if (scope.autostart != undefined) {
scope.autostart = _global.escape(scope.autostart);
this.model.options.autoStart = (scope.autostart == 'true') ? true : false;
}
var v3 = (this.model.options.hasToc && this.model.options.toc.type == com.techsmith.camtasia.toc.TOCConstants.FLOATING) ? true : false;
var v4 = new com.techsmith.camtasia.UIOptions(this.model.options.hasAudio, v3, this.model.options.hasCaptions, this.model.options.hasFullscreen, this.model.options.hasAbout);
this.createPlayer(scope, v4);
this.soundManager = new com.techsmith.camtasia.SoundManager(this.model.options.volume);
this.soundManager.addEventListener(com.techsmith.camtasia.SoundManager.MUTE_EVENT, com.techsmith.utils.Delegate.create(this, this.novolumeMuteHandler));
this.contentWidth = this.videoWidth;
if (this.model.hotspots.length != null) {
this.hsPane = com.techsmith.camtasia.hotspot.HotspotContainer.create(this, 'hsPane', 5);
this.hsPane.addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.hotspotPauseHandler));
this.hsPane.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.hotspotClickHandler));
}
if (this.model.quizzes.length != null) {
this.quizApp = com.techsmith.camtasia.quiz.QuizApplication.create(this, 'quizApp', 9);
this.quizApp.init(new com.techsmith.utils.Dimension(470, 340), this.model.config, this.model.options.rememberQuizAnswers);
this.quizApp.initializeFileset(0, this.fps, scope._totalframes - 1);
this.quizApp.addEventListener(com.techsmith.camtasia.quiz.QuizApplication.JUMP_TO_TIME, com.techsmith.utils.Delegate.create(this, this.quizJumpToTimeHandler));
this.quizApp.addEventListener(com.techsmith.camtasia.quiz.QuizApplication.COMPLETE, com.techsmith.utils.Delegate.create(this, this.quizCompleteHandler));
this.quizApp.addEventListener(com.techsmith.camtasia.quiz.QuizApplication.SUMMARY_COMPLETE, com.techsmith.utils.Delegate.create(this, this.summaryCompleteHandler));
}
if (this.model.options.hasToc) {
this.setupToc();
}
if (v4.captions) {
this.createCaption();
this.captionWin.find(this.captions, 0);
}
if (this.model.options.toc.type == com.techsmith.camtasia.toc.TOCConstants.FLOATING) {
this.startSequence(this.model.options.autoStart, scope);
} else {
this.doLater(this.startSequence, [this.model.options.autoStart, scope]);
}
this.createProgressWatcher();
scope.menu = new com.techsmith.camtasia.CSContextMenu(this.model.options.brandedContextMenu);
if (this.model.options.volume <= 0) {
this.player.setAudioState(true);
}
};
v1.createPlayer = function (scope, options) {
this.player = com.techsmith.camtasia.CamtasiaPlayer.create(this, 'player', 10);
this.player.init(new com.techsmith.utils.Dimension(this.videoWidth, this.videoHeight), scope, this.fps, options);
this.player.move(0, this.videoHeight);
this.player.addEventListener(com.techsmith.events.Events.COMPLETE, com.techsmith.utils.Delegate.create(this, this.playbackFinishedHandler));
this.player.addEventListener(com.techsmith.events.Events.ENTER_FRAME, com.techsmith.utils.Delegate.create(this, this.frameBeaconHandler));
this.player.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.trayHandler));
this.player.addEventListener(com.techsmith.events.Events.SEEK_COMPLETE, com.techsmith.utils.Delegate.create(this, this.frameBeaconHandler));
this.player.addEventListener(com.techsmith.events.Events.DRAG_START, com.techsmith.utils.Delegate.create(this, this.dragStartHandler));
this.player.addEventListener(com.techsmith.events.Events.DRAG_STOP, com.techsmith.utils.Delegate.create(this, this.dragStopHandler));
this.player.addEventListener(com.techsmith.events.Events.STARTED, com.techsmith.utils.Delegate.create(this, this.playHandler));
this.player.addEventListener(com.techsmith.camtasia.CamtasiaPlayer.AUDIO_CLICK, com.techsmith.utils.Delegate.create(this, this.audioMuteHandler));
this.player.addEventListener(com.techsmith.camtasia.CamtasiaPlayer.AUDIO_OVER, com.techsmith.utils.Delegate.create(this, this.audioControlHandler));
this.player.addEventListener(com.techsmith.events.Events.TOOLTIP, com.techsmith.utils.Delegate.create(this, this.tooltipHandler));
};
v1.createCaption = function () {
this.captionWin = com.techsmith.camtasia.CaptionWindow.create(this, 'captionWin', 8);
var v2 = this.model.options.caption.font;
var v3 = this.model.options.caption.panel.background;
this.captionWin.init(this.videoWidth, v2.color, v2.type, v2.size, v2.weight, v3.color, v3.alpha, v2.cpl);
if (this.model.options.toc.type == com.techsmith.camtasia.toc.TOCConstants.FIXED_LEFT) {
this.captionWin.move(this.toc.width, this.videoHeight - this.captionWin._height);
} else {
this.captionWin.move(0, this.videoHeight - this.captionWin._height);
}
this.captions = this.model.captions;
this.captionWin.setVisible(this.model.options.captionsVisible);
};
v1.setupToc = function () {
this.createToc();
this.toc.dataProvider = this.model.toc;
this.toc.setStyle(this.model.options.toc);
this.toc.expandTree(this.model.toc);
if (this.model.options.toc.transparent) {
this.toc.setRowsTransparent();
}
this.toc.addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.treeChangeHandler));
};
v1.createToc = function () {
var v2 = this.model.options.toc.type;
if (v2 == com.techsmith.camtasia.toc.TOCConstants.FLOATING) {
var v3 = this.model.options.toc.height >= this.videoHeight - 40 ? this.videoHeight - 40 : this.model.options.toc.height;
this.toc = com.techsmith.camtasia.toc.TOCWindow.create(this, 'toc', 6);
this.toc.init(new com.techsmith.utils.Dimension(this.model.options.toc.width, v3), this.model.options.toc.title, this.model.options.toc.media);
this.toc.move((this.videoWidth - this.toc.width) / 2, (this.videoHeight - this.toc.height) / 2);
this.toc.setVisible(false);
} else {
if (v2 == com.techsmith.camtasia.toc.TOCConstants.FIXED_LEFT) {
this.contentWidth = this.videoWidth + this.model.options.toc.width;
this.contentHeight = this.videoHeight;
this.toc = com.techsmith.camtasia.toc.TOCFixedWindow.create(this, 'toc', 6, {'backgroundType': v2});
this.toc.init(new com.techsmith.utils.Dimension(this.model.options.toc.width, this.model.options.toc.height), this.model.options.toc.title, this.model.options.toc.media);
this.toc.move(0, 0);
this.player.move(this.toc.width, this.videoHeight);
this.hsPane.move(this.toc.width, 0);
this.quizApp.move((this.videoWidth - this.quizApp.width) / 2 + this.toc.width, (this.videoHeight - this.quizApp.height) / 2);
} else {
if (v2 == com.techsmith.camtasia.toc.TOCConstants.FIXED_RIGHT) {
this.contentWidth = this.videoWidth + this.model.options.toc.width;
this.contentHeight = this.videoHeight;
this.toc = com.techsmith.camtasia.toc.TOCFixedWindow.create(this, 'toc', 6, {'backgroundType': v2});
this.toc.init(new com.techsmith.utils.Dimension(this.model.options.toc.width, this.model.options.toc.height), this.model.options.toc.title, this.model.options.toc.media);
this.toc.move(this.videoWidth, 0);
}
}
}
};
v1.startSequence = function (autoStart, scope) {
this.createMask();
if (autoStart) {
scope._visible = true;
this._visible = true;
this.player.start();
} else {
if (this.main.color != undefined) {
var v4 = this.main.color.split(',');
var v5 = 0;
goto 8956;
for (;;) {
++v5;
label 8956:
if (v5 >= v4.length) break;
v4[v5] = _global.parseInt(v4[v5], 16);
}
this.start = com.techsmith.camtasia.StartScreen.create(this, 'start', 15, {'colors': v4});
} else {
this.start = com.techsmith.camtasia.StartScreen.create(this, 'start', 15);
}
this.player.setProgress(100);
this._visible = true;
this.start.init(scope, new com.techsmith.utils.Dimension(this.contentWidth, this.videoHeight + this.controlsHeight), this.model.options.startLogo, this.model.options.startText);
this.start.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.startHandler));
this.player.setProgress((this.main._framesloaded / this.main._totalframes) * 100);
}
};
v1.createProgressWatcher = function () {
this.progWatcher = this.createEmptyMovieClip('progWatcher', 50);
this.progWatcher.onEnterFrame = com.techsmith.utils.Delegate.create(this, this.progWatcherHandler);
};
v1.createMask = function () {
this.mask = this.createEmptyMovieClip('mask', 15000);
var v2 = 0;
if (this.model.options.hasToc) {
if (this.model.options.toc.type != com.techsmith.camtasia.toc.TOCConstants.FLOATING) {
v2 = this.model.options.toc.width;
}
}
var v3 = new com.brooksandrus.drawing.Rect();
v3.draw(this.mask, this.videoWidth + v2, this.videoHeight + this.controlsHeight, 16777215, 100);
this.setMask(this.mask);
this.mask._x = 0;
this.mask._y = 0;
};
v1.createAboutWindow = function (e) {
var v3 = this.model.options.about.infoText;
var v4 = (v3 == null || v3 == '') ? this.getDefaultInfo() : v3;
this.aboutWin = com.techsmith.camtasia.AboutWindow.create(this, 'aboutWin', 7, {'title': this.model.options.about.title, 'logo': this.model.options.about.logo, 'tabFocus': this.model.options.about.tabSelected, 'aboutContent': this.model.options.about.aboutText, 'infoContent': v4, 'aboutUrl': this.model.options.about.aboutMedia});
this.aboutWin.init(new com.techsmith.utils.Dimension(this.model.options.about.width, this.model.options.about.height));
var v5 = (this.model.options.toc.type == 1) ? 0 : this.model.options.toc.width;
this.aboutWin.move((this.videoWidth - this.aboutWin.width) / 2 + v5, (this.videoHeight - this.aboutWin.height) / 2);
this.aboutWin.addEventListener(com.techsmith.events.Events.CLOSE, com.techsmith.utils.Delegate.create(this, this.aboutWindowHandler));
this.player.aboutEnabled(false);
};
v1.createEndScreen = function () {
if (this.main._currentframe != this.main._totalframes) {
this.main.gotoAndStop(this.main._totalframes);
}
this.endbackdrop = this.createEmptyMovieClip('endbackdrop', 15);
this.endbackdrop.useHandCursor = false;
this.endbackdrop.onPress = null;
var v2 = [0, 3355443];
var v3 = [80, 80];
var v4 = [255, 255];
var v5 = new com.brooksandrus.drawing.Rect();
v5.gdraw(this.endbackdrop, this.videoWidth, this.videoHeight, v2, v3, v4);
this.end = com.techsmith.camtasia.EndScreen.create(this, 'end', 16, {'logoIcon': this.model.options.endLogo});
var v6 = this.videoWidth < 400 ? this.videoWidth : 400;
var v7 = (v6 / this.end._width) * 100;
this.end._xscale = v7;
this.end._yscale = v7;
if (this.model.options.toc.type == com.techsmith.camtasia.toc.TOCConstants.FIXED_LEFT) {
this.end.move((this.videoWidth - this.end._width) / 2 + this.model.options.toc.width, (this.videoHeight - this.end._height) / 2);
this.endbackdrop._x = this.model.options.toc.width;
} else {
this.end.move((this.videoWidth - this.end._width) / 2, (this.videoHeight - this.end._height) / 2);
}
this.end.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.endScreenHandler));
};
v1.getDefaultInfo = function () {
var v2 = '';
var v3 = this.model.fileset.video1.uri;
var v4 = Math.round(this.model.fileset.video1.duration * this.model.fileset.video1.frameRate);
var v5 = String(Math.round(this.main.getBytesTotal() / 1024) / 1024);
var v6 = v5.indexOf('.');
if (v6 != -1) {
v5 = v5.substr(0, v6 + 3);
}
if (v3 == '') {
v2 = 'No Data Available';
return v2;
}
v6 = v3.indexOf('http://www.screencast.com');
if (v6 == 0) {
var v7 = v3.indexOf('x-shockwave-flash_');
if (v7 != -1) {
v3 = v3.slice(v7 + 18);
}
}
v2 = 'Name: ' + _global.unescape(v3) + '\r';
v2 += 'Size: ' + v5 + ' MB \r';
v2 += 'Duration: ' + v4 + ' frames';
return v2;
};
v1.findQuiz = function (current, last) {
var v4 = false;
if (this.quizApp != null) {
v4 = this.quizApp.find(current, last);
if (v4) {
this.player.stopMedia();
this.quizApp.move((this.videoWidth - this.quizApp.width) / 2 + this.player.x, (this.videoHeight - this.quizApp.height) / 2);
this.quizApp.setVisible(true);
return v4;
}
this.quizApp.setVisible(false);
}
return v4;
};
v1.replayMedia = function () {
this.destroyEndScreen();
this.player.replay();
};
v1.destroyEndScreen = function () {
this.player.removeEventListener(com.techsmith.events.Events.DRAG_START, this.dragStartHandler);
this.player.removeEventListener(com.techsmith.events.Events.STARTED, this.dragStartHandler);
this.end.removeAllListeners();
this.endbackdrop.removeMovieClip();
this.end.destroy();
};
v1.executeEndActions = function () {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.COMPLETE});
switch (this.model.options.endAction) {
case 'Stop':
this.createEndScreen();
break;
case 'JumpToTime':
this.player.seek(_global.parseInt(this.model.options.endActionParam, 10));
break;
case 'JumpToURL':
var v2 = (this.model.options.endActionTarget == null || this.model.options.endActionTarget == '') ? '_self' : this.model.options.endActionTarget;
this.createEndScreen();
this.getURL(this.model.options.endActionParam, v2);
break;
case 'JumpToTimeAndPlay':
this.player.seek(_global.parseInt(this.model.options.endActionParam, 10));
this.player.playMedia();
break;
default:
this.createEndScreen();
}
};
v1.doLater = function (func, args) {
this.dolaterClip.onEnterFrame = com.techsmith.utils.Delegate.create(this, this.executeDoLater, func, args);
};
v1.executeDoLater = function (func, args) {
delete this.dolaterClip.onEnterFrame;
func.apply(this, args);
};
v1.aboutWindowHandler = function (e) {
this.aboutWin.removeAllListeners();
this.aboutWin.destroy();
this.player.aboutEnabled(true);
};
v1.startHandler = function (e) {
this.start.destroy();
if (!this.findQuiz(this.main._currentframe, this.main._currentframe)) {
this.player.start();
}
};
v1.endScreenHandler = function (e) {
switch (e.id) {
case 'replay':
this.replayMedia();
break;
case 'share':
}
};
v1.playbackFinishedHandler = function (e) {
if (!this.findQuiz(this.main._currentframe, this.main._currentframe)) {
this.executeEndActions();
}
};
v1.dragStartHandler = function (e) {
this.isDragging = true;
this.quizApp.setVisible(false);
if (this.end != null) {
this.destroyEndScreen();
}
};
v1.dragStopHandler = function (e) {
this.isDragging = false;
this.findQuiz(this.main._currentframe, this.main._currentframe);
};
v1.progWatcherHandler = function () {
var v2 = (this.main._framesloaded / this.main._totalframes) * 100;
this.player.setProgress(v2);
if (v2 >= 100) {
delete this.progWatcher.onEnterFrame;
this.progWatcher.removeMovieClip();
}
};
v1.frameBeaconHandler = function (e) {
var v3 = this.fps;
var v4 = e.totalframes / v3;
var v5 = e.currentframe / v3;
if (this.model.options.hasCaptions) {
this.captionWin.find(this.captions, v5);
}
if (this.model.options.hasToc) {
this.toc.setSelected(v5);
}
if (this.hsPane != null) {
this.hsPane.find(this.model.hotspots, v5, v3);
}
if (!this.isDragging) {
this.findQuiz(e.currentframe, e.currentframe);
}
};
v1.trayHandler = function (e) {
switch (e.id) {
case 'captions':
this.captionWin._visible = this.captionWin._visible ? false : true;
break;
case 'toc':
this.toc.setVisible(!(MovieClip(this.toc))._visible);
break;
case 'about':
this.createAboutWindow();
}
};
v1.treeChangeHandler = function (e) {
this.player.seek(e.time);
if (this.end != null) {
this.destroyEndScreen();
}
};
v1.hotspotPauseHandler = function (e) {
this.player.stopMedia();
};
v1.hotspotClickHandler = function (e) {
switch (e.action) {
case com.techsmith.camtasia.hotspot.HotspotConstants.SEEK_TIME:
this.hotspotSeektoTime(e.time, e.jumpandplay);
break;
case com.techsmith.camtasia.hotspot.HotspotConstants.NONE:
this.player.playMedia();
}
};
v1.hotspotSeektoTime = function (time, jumpandplay) {
this.player.seek(time);
if (jumpandplay) {
this.player.playMedia();
}
};
v1.quizChangeHandler = function (e) {
if (e.action == 'pause') {
this.player.stopMedia();
}
if (e.action == 'resume') {
this.player.playMedia();
}
};
v1.summaryCompleteHandler = function (e) {
this.quizApp.setVisible(false);
if (this.main._currentframe == this.main._totalframes) {
this.executeEndActions();
} else {
this.player.playMedia();
}
};
v1.quizJumpToTimeHandler = function (e) {
this.player.seek(e.response.GotoTime);
this.player.playMedia();
};
v1.quizCompleteHandler = function (e) {
if (!e.summary) {
this.quizApp.setVisible(false);
this.player.playMedia();
}
};
v1.playHandler = function (e) {
if (this.end != null) {
this.destroyEndScreen();
}
this.quizApp.setVisible(false);
};
v1.audioMuteHandler = function (e) {
this.volume.destroy();
this.soundManager.mute();
};
v1.audioControlHandler = function (e) {
this.volume = com.techsmith.ui.VolumeControl.create(this, 'volume', 14);
this.volume.setPosition(this.soundManager.getVolume());
this.volume.addEventListener(com.techsmith.ui.VolumeControl.VOLUME_EVENT, com.techsmith.utils.Delegate.create(this, this.volumeHandler));
var v3 = this.player.getAudioPosition();
var v4 = v3.x + this.player._x - (this.volume._width - (this.player.getAudioDimensions()).width) / 2;
this.volume.move(v4, v3.y - (this.volume._height + 10));
};
v1.volumeHandler = function (e) {
this.soundManager.setVolume(e.volume);
if (this.player.getAudioState() && e.volume > 0) {
this.player.setAudioState(false);
}
if (!this.player.getAudioState() && e.volume == 0) {
this.player.setAudioState(true);
}
};
v1.novolumeMuteHandler = function (e) {
this.player.setAudioState(true);
};
v1.tooltipHandler = function (e) {
_global.clearTimeout(this.tipId);
this.tooltip.destroy();
if (e.message != 'destroy') {
this.tipId = _global.setTimeout(this, 'createToolTip', 2000, e.message);
}
};
v1.createToolTip = function (message) {
this.tooltip = com.techsmith.ui.ToolTip.create(this, 'tip', 100, {'fillColor': 6710886, 'fontColor': 13421772, 'font': 'DinotBold', 'alignment': 'center', 'embedFont': true});
this.tooltip.setTip(message, 100);
this.tooltip.move(this._xmouse - this.tooltip.width, this._ymouse - (this.tooltip.height + 15));
};
v1.addEventListener = function (event, scope) {
this.dispatcher.addEventListener(event, scope);
};
v1.removeEventListener = function (event, scope) {
this.dispatcher.removeEventListener(event, scope);
};
v1.dispatchEvent = function (eventObj) {
this.dispatcher.dispatchEvent(eventObj);
};
v1.removeEventListeners = function (event) {
this.dispatcher.removeEventListeners(event);
};
v1.removeAllListeners = function () {
this.dispatcher.removeAllListeners();
};
_global.com.techsmith.camtasia.CamtasiaApplication implements com.techsmith.events.IEventDispatcher;
ASSetPropFlags(v1, null, 1);
v1.controlsHeight = 18;
v1.isDragging = false;
v1.tipId = -1;
}
#endinitclip
}
movieClip 20564 __Packages.com.techsmith.camtasia.quiz.QuizWindow {
#initclip
if (!com.techsmith.camtasia.quiz.QuizWindow) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.QuizWindow = function () {
super();
this.bgStyle = com.techsmith.xskin.ui.panels.styles.StyleFactory.GLASS;
this.fgStyle = com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK;
};
_global.com.techsmith.camtasia.quiz.QuizWindow extends com.techsmith.xskin.ui.XSWindow;
var v1 = _global.com.techsmith.camtasia.quiz.QuizWindow.prototype;
_global.com.techsmith.camtasia.quiz.QuizWindow.create = function (container, name, depth, init) {
Object.registerClass('QuizWindow', com.techsmith.camtasia.quiz.QuizWindow);
var v6 = container.attachMovie('QuizWindow', name, depth, init);
return com.techsmith.camtasia.quiz.QuizWindow(v6);
};
v1.setupWindowChrome = function (bDim) {
super.setupWindowChrome(bDim);
this.label = com.techsmith.ui.Label.create(this, 'label', this.depthManager.getNextDepth(), {'color': 'FFFFFF', 'bold': true, 'multiline': false});
var v4 = this.getContentLoc();
this.label._x = v4.x;
this.label._y = (v4.y - this.label._height) / 2;
this.prev = this.addChild(com.techsmith.ui.LabelButton, 'prev', {'embedFont': true});
this.submit = this.addChild(com.techsmith.ui.LabelButton, 'submit', {'embedFont': true});
this.next = this.addChild(com.techsmith.ui.LabelButton, 'next', {'embedFont': true});
var v5 = new com.techsmith.ui.panels.PanelStyle('NextLUp', 'NextMUp', 'NextRUp');
var v6 = new com.techsmith.ui.panels.PanelStyle('NextLOver', 'NextMOver', 'NextROver');
var v7 = new com.techsmith.ui.panels.PanelStyle('NextLDown', 'NextMDown', 'NextRDown');
var v8 = new com.techsmith.ui.panels.PanelStyle('NextLDisabled', 'NextMDisabled', 'NextRDisabled');
var v9 = new com.techsmith.ui.panels.PanelStyle('SubmitLUp', 'SubmitMUp', 'SubmitRUp');
var v10 = new com.techsmith.ui.panels.PanelStyle('SubmitLOver', 'SubmitMOver', 'SubmitROver');
var v11 = new com.techsmith.ui.panels.PanelStyle('SubmitLDown', 'SubmitMDown', 'SubmitRDown');
var v12 = new com.techsmith.ui.panels.PanelStyle('SubmitLDisabled', 'SubmitMDisabled', 'SubmitRDisabled');
var v13 = new com.techsmith.ui.panels.PanelStyle('PrevLUp', 'PrevMUp', 'PrevRUp');
var v14 = new com.techsmith.ui.panels.PanelStyle('PrevLOver', 'PrevMOver', 'PrevROver');
var v15 = new com.techsmith.ui.panels.PanelStyle('PrevLDown', 'PrevMDown', 'PrevRDown');
var v16 = new com.techsmith.ui.panels.PanelStyle('PrevLDisabled', 'PrevMDisabled', 'PrevRDisabled');
var v17 = new TextFormat();
v17.font = 'DinotBold';
v17.size = 13;
v17.color = 16777215;
v17.align = 'center';
v17.leftMargin = 2;
v17.rightMargin = 2;
this.prev.init('', 50, v17, {'up': v13, 'over': v14, 'down': v15, 'disabled': v16});
this.submit.init('', 50, v17, {'up': v9, 'over': v10, 'down': v11, 'disabled': v12});
this.next.init('', 50, v17, {'up': v5, 'over': v6, 'down': v7, 'disabled': v8});
var v18 = this._width - (this.next._width + this.hmargin);
var v19 = this._height - (this.vmargin - (this.vmargin - this.next._height) / 2);
var v20 = 5;
this.next.move(v18, v19);
this.submit.move(this.next._x - (this.submit._width + v20), v19);
this.prev.move(this.submit._x - (this.next._width + v20), v19);
this.status = this.addChild(com.techsmith.ui.TextObject, 'status', {'border': false, 'fillOpacity': 0, 'strokeOpacity': 0, 'size': 10, 'textColor': 'FFFFFF', 'type': 'dynamic', 'selectable': false});
this.status.init(this.next._x - (this.hmargin + 5), 22);
this.status.move(this.hmargin, v19 - (this.status._height - this.next._height) / 2);
this.prev.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.prevHandler));
this.submit.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.submitHandler));
this.next.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.nextHandler));
};
v1.setupContent = function () {
this.content = this.addChild(com.techsmith.camtasia.quiz.QuizContent, 'content');
this.content.init(this.bgDim.width - 20, this.bgDim.height - 62);
this.content.move((this.bgDim.width - this.content.width) / 2, (this.bgDim.height - this.content.height) / 2);
this.content.addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.changedAnswer));
this.feedbackDepth = this.getNextDepth();
};
v1.initQuestion = function (type, data) {
var v4 = com.techsmith.camtasia.quiz.QuizContent(this.content);
v4.createQuestion(type, data, {'fontColor': 16777215});
this.originalUserData = v4.getUserData();
};
v1.setTitle = function (title) {
this.label.setText(title);
};
v1.setStatus = function (message) {
this.status.setText(message);
};
v1.setButtonLabels = function (prevLabel, submitLabel, nextLabel) {
this.prev.setLabel(prevLabel);
this.submit.setLabel(submitLabel);
this.next.setLabel(nextLabel);
};
v1.userHasChangedAnswer = function () {
return !com.techsmith.utils.Util.doObjectsMatch(this.originalUserData, (com.techsmith.camtasia.quiz.IQuestion(this.content)).getUserData());
};
v1.updateButtonStates = function (isPrevious) {
var v3 = this.userHasChangedAnswer();
var v4 = com.techsmith.camtasia.quiz.IQuestion(this.content);
this.submit.setEnabled(v4.isReadyToSubmit() && (v3 && v4.hasFeedback()));
this.next.setEnabled(v4.isReadyToSubmit() && !(v3 && v4.hasFeedback()));
this.prev.setEnabled(!v3 && isPrevious);
};
v1.changedAnswer = function (e) {
this.feedback.destroy();
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.CHANGE});
};
v1.onEnter = function () {
if (this.submit.enabled) {
this.submitHandler();
} else {
if (this.next.enabled) {
this.nextHandler();
}
}
};
v1.prevHandler = function (e) {
this.feedback.destroy();
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizWindow.PREV_EVENT});
};
v1.submitHandler = function (e) {
this.originalUserData = (com.techsmith.camtasia.quiz.IQuestion(this.content)).getUserData();
this.displayFeedback();
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizWindow.SUBMIT_EVENT, 'userdata': (com.techsmith.camtasia.quiz.IQuestion(this.content)).getUserData(), 'hardsubmit': true});
};
v1.nextHandler = function (e) {
if (!(com.techsmith.camtasia.quiz.IQuestion(this.content)).hasFeedback()) {
this.submitHandler();
}
this.feedback.destroy();
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizWindow.NEXT_EVENT});
};
v1.displayFeedback = function () {
if ((com.techsmith.camtasia.quiz.IQuestion(this.content)).hasFeedback()) {
if ((com.techsmith.camtasia.quiz.IQuestion(this.content)).isCorrect()) {
(com.techsmith.camtasia.quiz.IQuestion(this.content)).enable(false);
}
var v2 = (com.techsmith.camtasia.quiz.IQuestion(this.content)).getFeedback();
this.feedback = com.techsmith.camtasia.quiz.Feedback.create(this, 'feedback', this.feedbackDepth);
this.feedback.init(new com.techsmith.utils.Dimension(this.bgDim.width - 20, this.bgDim.height - 62));
this.feedback.move(this.content.x, this.content.y);
this.feedback.setFeedback(v2.strFeedback, v2.strDetailedFeedback);
}
};
v1.exitButtonHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.CLOSE});
this.setVisible(false);
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.quiz.QuizWindow.PREV_SELECTED = 1;
_global.com.techsmith.camtasia.quiz.QuizWindow.SUBMIT_SELECTED = 2;
_global.com.techsmith.camtasia.quiz.QuizWindow.NEXT_SELECTED = 3;
_global.com.techsmith.camtasia.quiz.QuizWindow.PREV_EVENT = 'prev';
_global.com.techsmith.camtasia.quiz.QuizWindow.SUBMIT_EVENT = 'submit';
_global.com.techsmith.camtasia.quiz.QuizWindow.NEXT_EVENT = 'next';
v1.prev = null;
v1.submit = null;
v1.next = null;
v1.status = null;
v1.feedback = null;
v1.hmargin = 10;
v1.vmargin = 31;
v1.tabFocus = com.techsmith.camtasia.quiz.QuizWindow.NEXT_SELECTED;
}
#endinitclip
}
movieClip 20565 __Packages.com.techsmith.ui.panels.HPanel {
#initclip
if (!com.techsmith.ui.panels.HPanel) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.panels) {
_global.com.techsmith.ui.panels = new Object();
}
_global.com.techsmith.ui.panels.HPanel = function () {
super();
};
_global.com.techsmith.ui.panels.HPanel extends com.techsmith.ui.Container;
var v1 = _global.com.techsmith.ui.panels.HPanel.prototype;
_global.com.techsmith.ui.panels.HPanel.create = function (container, name, depth, init) {
Object.registerClass('HPanel', com.techsmith.ui.panels.HPanel);
var v6 = container.attachMovie('HPanel', name, depth, init);
return com.techsmith.ui.panels.HPanel(v6);
};
v1.init = function (dim, styles, rectangle) {
this.left = this.attachMovie(styles.TOP_LEFT, 'left', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.mid = this.attachMovie(styles.TOP_MIDDLE, 'mid', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
this.right = this.attachMovie(styles.TOP_RIGHT, 'right', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0, '_visible': false});
if (dim.width == null || (dim.width == undefined || _global.isNaN(dim.width))) {
this.setSize(100);
} else {
this.setSize(dim.width);
}
this.left._visible = true;
this.mid._visible = true;
this.right._visible = true;
};
v1.setSize = function (width, height) {
var v4 = width - (this.left._width + this.right._width);
this.mid._x = this.left._width;
this.mid._width = v4;
this.right._x = this.mid._x + v4;
};
_global.com.techsmith.ui.panels.HPanel implements com.techsmith.ui.panels.IPanel;
ASSetPropFlags(v1, null, 1);
v1.left = null;
v1.mid = null;
v1.right = null;
}
#endinitclip
}
movieClip 20566 __Packages.com.techsmith.media.SwfMedia {
#initclip
if (!com.techsmith.media.SwfMedia) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.media) {
_global.com.techsmith.media = new Object();
}
_global.com.techsmith.media.SwfMedia = function () {
super();
};
_global.com.techsmith.media.SwfMedia extends com.techsmith.media.Media;
var v1 = _global.com.techsmith.media.SwfMedia.prototype;
_global.com.techsmith.media.SwfMedia.create = function (container, name, depth, init) {
Object.registerClass('SwfMedia', com.techsmith.media.SwfMedia);
var v6 = container.attachMovie('SwfMedia', name, depth, init);
return com.techsmith.media.SwfMedia(v6);
};
v1.setupSwf = function (url) {
var v3 = null;
var v4 = url.indexOf('.');
if (this.content == null) {
this.content = this.createEmptyMovieClip('content', 2);
}
if (v4 == -1) {
this.attachMovie(url, 'content', 2);
v3 = false;
return v3;
}
if (this.loader == null) {
this.loader = new MovieClipLoader();
this.loader.addListener(this);
}
v3 = true;
return v3;
};
v1.load = function (url, autoStart, fps, length) {
if (url != this.fileUrl) {
this.fileUrl = url;
this.loading = true;
this.inited = false;
this.duration = (length != null) ? length : null;
if (this.autostart == null) {
this.autostart = true;
}
if (fps != undefined || (this.framerate != null || !_global.isNaN(this.framerate))) {
this.framerate = fps;
}
this.autostart = autoStart;
if (this.setupSwf(url)) {
this.loader.loadClip(url, this.content);
}
this.onEnterFrame = this.mediaOnEnterFrame;
}
};
v1.assignMedia = function (media, autoStart, fps) {
this.fileUrl = null;
this.loading = false;
this.inited = false;
this.duration = null;
this.content = media;
if (this.autostart == null) {
this.autostart = true;
}
if (fps != undefined || (this.framerate != null || !_global.isNaN(this.framerate))) {
this.framerate = fps;
}
this.autostart = autoStart;
this.onEnterFrame = this.mediaOnEnterFrame;
};
v1.pauseMedia = function () {
if (!this.loading) {
delete this.onEnterFrame;
}
this.content.stop();
this.playing = false;
};
v1.playMedia = function () {
if (this.content._currentframe != this.content._totalframes) {
if (this.onEnterFrame == undefined) {
this.onEnterFrame = this.mediaOnEnterFrame;
}
this.content.play();
this.playing = true;
}
};
v1.seek = function (time) {
if (this.framerate == null) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.SEEK_ERROR, 'message': 'unknown fps'});
return undefined;
}
var v3 = this.content._framesloaded;
var v4 = this.content._totalframes;
var v5 = this.content._currentframe;
var v6 = Math.round(time * this.framerate);
if (v6 > v3 && v3 != v4) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.SEEK_ERROR});
return undefined;
}
if (v6 > v4) {
v6 = v4;
}
if (this.playing && v6 < v4) {
this.content.gotoAndPlay(v6);
} else {
this.content.gotoAndStop(v6);
this.pauseMedia();
}
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.SEEK_COMPLETE, 'time': this.getTime()});
if (this.onEnterFrame == undefined) {
var v7 = this.getPosition(this.content._currentframe, v4);
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.PLAYHEAD_POSITION, 'percent': v7.percent, 'rawPercent': v7.raw, 'time': v7.time, 'duration': this.duration, 'frame': v5});
}
};
v1.setSize = function (dim) {
this.dimensions = dim;
if (this.inited) {
this.content._width = dim.width;
this.content._height = dim.height;
}
};
v1.getTime = function () {
return this.content._currentframe / this.framerate;
};
v1.getContent = function () {
return this.content;
};
v1.isPlaying = function () {
return this.playing;
};
v1.mediaOnEnterFrame = function () {
if (!this.inited) {
this.loadInit();
}
this.playheadPosition();
};
v1.loadInit = function () {
if (this.content._currentframe == 1) {
this.inited = true;
if (this.dimensions != null) {
this.setSize(this.dimensions);
}
this.duration = this.content._totalframes / this.framerate;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.STARTED});
if (!this.autostart) {
this.pauseMedia();
this.content.gotoAndStop(1);
} else {
this.playMedia();
}
}
};
v1.getPosition = function (current, total) {
var v4 = current / total;
var v5 = v4 * 100;
var v6 = current / this.framerate;
return {'percent': v5, 'raw': v4, 'time': v6};
};
v1.playheadPosition = function () {
var v2 = this.content._currentframe;
var v3 = this.content._totalframes;
if (v2 == null || _global.isNaN(v2)) {
v2 = 0;
}
var v4 = this.getPosition(v2, v3);
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.PLAYHEAD_POSITION, 'percent': v4.percent, 'rawPercent': v4.raw, 'time': v4.time, 'duration': this.duration, 'frame': v2});
if (v2 == v3 && !this.loop) {
this.pauseMedia();
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.STOPPED, 'time': this.getTime()});
}
};
v1.onLoadError = function (target, errorCode, httpStatus) {
this.playing = false;
delete this.onEnterFrame;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.STREAM_ERROR, 'errorcode': errorCode, 'httpstatus': httpStatus, 'url': this.fileUrl});
};
v1.onLoadProgress = function (target, loadedBytes, totalBytes) {
var v5 = loadedBytes / totalBytes;
var v6 = v5 * 100;
if (loadedBytes == totalBytes) {
this.loading = false;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.COMPLETE});
this.loader.removeListener(this);
} else {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.LOADING, 'percent': v6, 'rawPercent': v5, 'bytesLoaded': loadedBytes, 'bytesTotal': totalBytes});
}
};
v1.onLoadInit = function (target) {};
v1.onLoadComplete = function (target) {};
v1.destroy = function () {
this.loader.removeListener(this);
delete this.onEnterFrame;
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.content = null;
v1.loader = null;
v1.framerate = null;
v1.inited = false;
}
#endinitclip
}
movieClip 20567 __Packages.com.techsmith.utils.TimeFormatter {
#initclip
if (!com.techsmith.utils.TimeFormatter) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.utils) {
_global.com.techsmith.utils = new Object();
}
_global.com.techsmith.utils.TimeFormatter = function () {};
var v1 = _global.com.techsmith.utils.TimeFormatter.prototype;
_global.com.techsmith.utils.TimeFormatter.getInstance = function () {
if (com.techsmith.utils.TimeFormatter.instance == null) {
com.techsmith.utils.TimeFormatter.instance = new com.techsmith.utils.TimeFormatter();
return com.techsmith.utils.TimeFormatter.instance;
}
};
v1.format = function (time, timeFormat) {
if (time == 0) {
var v5 = '00';
var v6 = '00';
var v8 = '00';
var v7 = '00';
} else {
var v5 = String(Math.floor(time / 60 * 60));
var v6 = String(Math.floor(time / 60 % 60));
var v7 = String(Math.floor(time / 60));
var v8 = String(Math.floor(time % 60));
if (v5 < 10) {
v5 = '0' + v5;
}
if (v6 < 10) {
v6 = '0' + v6;
}
if (v7 < 10) {
v7 = '0' + v7;
}
if (v8 < 10) {
v8 = '0' + v8;
}
}
switch (timeFormat) {
case 'MM:SS':
var v4 = v7 + ':' + v8;
return v4;
case 'MMm SSs':
var v4 = v7 + 'm ' + v8 + 's ';
return v4;
case 'MM':
var v4 = v7;
return v4;
case 'MMm':
var v4 = v7 + 'm ';
return v4;
case 'SS':
var v4 = v8;
return v4;
case 'SSs':
var v4 = v8 + 's ';
return v4;
case 'HH:MM':
var v4 = v5 + ':' + v6;
return v4;
case 'HHh MMm':
var v4 = v5 + 'h ' + v6 + 'm ';
return v4;
case 'HH:MM:SS':
var v4 = v5 + ':' + v6 + ':' + v8;
return v4;
case 'HHh MMm SSs':
var v4 = v5 + 'h ' + v6 + 'm ' + v8 + 's';
return v4;
}
var v4 = v7 + ':' + v8;
return v4;
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20568 __Packages.com.techsmith.camtasia.toc.TOCWindow {
#initclip
if (!com.techsmith.camtasia.toc.TOCWindow) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.toc) {
_global.com.techsmith.camtasia.toc = new Object();
}
_global.com.techsmith.camtasia.toc.TOCWindow = function () {
super();
};
_global.com.techsmith.camtasia.toc.TOCWindow extends com.techsmith.xskin.ui.XSWindow;
var v1 = _global.com.techsmith.camtasia.toc.TOCWindow.prototype;
_global.com.techsmith.camtasia.toc.TOCWindow.create = function (container, name, depth, init) {
Object.registerClass('TOCWindow', com.techsmith.camtasia.toc.TOCWindow);
var v6 = container.attachMovie('TOCWindow', name, depth, init);
return com.techsmith.camtasia.toc.TOCWindow(v6);
};
v1.init = function (dim, title, url, autostart, fps) {
this.setupWindowChrome(dim);
this.setupContent(dim, url, autostart, fps);
this.positionContent();
this.label = com.techsmith.ui.Label.create(this, 'label', this.depthManager.getNextDepth(), {'multiline': false, 'wordWrap': false, 'color': 'FFFFFF'});
var v7 = this.getContentLoc();
this.label.move(v7.x, (v7.y - this.label.height) / 2);
this.label.setAutoSize(false);
this.label.setTextFieldSize(dim.width - (this.hContentPadding * 3 + this.exit.width), this.label.height);
this.label.setText(title);
};
v1.setupContent = function (dim, url, autostart, fps) {
this.content = com.techsmith.camtasia.toc.TOCContent.create(this, 'content', this.getContentDepth());
this.content.init(new com.techsmith.utils.Dimension(dim.width - this.hContentPadding * 2, dim.height - (this.vContentPadding * 2 + this.exit.y + this.exit.height)), url, autostart, fps);
this.content.addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.changeHandler));
};
v1.setBackground = function (direction) {};
v1.exitButtonHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.CLOSE});
this.setVisible(false);
};
v1.changeHandler = function (e) {
e.target = this;
this.dispatchEvent(e);
};
v1.__set__dataProvider = function (dataprovider) {
(com.techsmith.camtasia.toc.TOCContent(this.content)).dataProvider = dataprovider;
return this.__get__dataProvider();
};
v1.setStyle = function (styles) {
(com.techsmith.camtasia.toc.TOCContent(this.content)).setStyle(styles);
};
v1.setSelected = function (currentTime) {
(com.techsmith.camtasia.toc.TOCContent(this.content)).setSelected(currentTime);
};
v1.expandTree = function (node) {
(com.techsmith.camtasia.toc.TOCContent(this.content)).expandTree(node);
};
v1.setRowsTransparent = function () {
(com.techsmith.camtasia.toc.TOCContent(this.content)).setRowsTransparent();
};
v1.getTree = function () {
return (com.techsmith.camtasia.toc.TOCContent(this.content)).getTree();
};
v1.addProperty('dataProvider', function () {}, v1.__set__dataProvider);
_global.com.techsmith.camtasia.toc.TOCWindow implements com.techsmith.camtasia.toc.ITOCWindow;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20569 __Packages.com.techsmith.camtasia.quiz.QuizApplication {
#initclip
if (!com.techsmith.camtasia.quiz.QuizApplication) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.QuizApplication = function () {
super();
this.model = new com.techsmith.camtasia.quiz.QuizModel();
this.questionView = com.techsmith.camtasia.quiz.QuizWindow.create(this, 'window', 1);
this.questionView.addEventListener(com.techsmith.camtasia.quiz.QuizWindow.PREV_EVENT, com.techsmith.utils.Delegate.create(this, this.previousHandler));
this.questionView.addEventListener(com.techsmith.camtasia.quiz.QuizWindow.SUBMIT_EVENT, com.techsmith.utils.Delegate.create(this, this.submitHandler));
this.questionView.addEventListener(com.techsmith.camtasia.quiz.QuizWindow.NEXT_EVENT, com.techsmith.utils.Delegate.create(this, this.nextHandler));
this.questionView.addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.changeHandler));
};
_global.com.techsmith.camtasia.quiz.QuizApplication extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.quiz.QuizApplication.prototype;
_global.com.techsmith.camtasia.quiz.QuizApplication.create = function (container, name, depth, init) {
Object.registerClass('QuizApplication', com.techsmith.camtasia.quiz.QuizApplication);
var v6 = container.attachMovie('QuizApplication', name, depth, init);
return com.techsmith.camtasia.quiz.QuizApplication(v6);
};
v1.init = function (dim, config, useCookie) {
if (useCookie == null) {
useCookie = false;
}
this.dimensions = dim;
this.schema = config;
var v5 = new Array();
var v6 = 0;
goto 2782;
for (;;) {
++v6;
label 2782:
if (v6 >= config.playlist.fileset.length) break;
v5.push(config.playlist.fileset[v6].quizInfo);
}
var v7 = config.config.includeScoreInEmail;
var v8 = config.config.quiz.disableFeedback;
var v9 = config.config.quiz.txtScore;
var v10 = {'includeScoreInEmail': v7, 'disableFeedback': v8, 'txtScore': v9};
this.model.init(v5, v10, useCookie);
this.questionView.init(dim);
this.questionView.move(0, 0);
this.currentView = this.questionView;
this.currentView.setVisible(false);
};
v1.initializeFileset = function (index, fps, duration) {
this.model.initIndex(index, fps, duration);
};
v1.find = function (startrange, endrange) {
if (startrange == null || endrange == null) {
return false;
}
this.nextPotentialFrame = endrange;
var v4 = this.model.popupIDOnFrameRange(startrange, endrange);
return this.showQuestion(v4);
};
v1.setVisible = function (visible) {
this.currentView.setVisible(visible);
};
v1.showQuestion = function (id) {
var v3 = false;
if (id != null) {
this.questionView.setVisible(false);
this.summaryView.setVisible(false);
this.quizID = id;
var v4 = this.model.getPopupData(id);
var v5 = this.model.getPopupFilename(id);
if (this.model.isQuestionID(id)) {
this.questionView.initQuestion(v5, v4);
this.questionView.setTitle(v4.title);
this.questionView.setStatus(com.techsmith.utils.Util.sprintf((this.getTextObj()).txtQuestionOf, (this.groupStats()).pos, (this.groupStats()).tot));
this.questionView.setButtonLabels((this.getTextObj()).txtPrev, (this.getTextObj()).txtSubmit, this.isNextQuestion() ? (this.getTextObj()).txtNext : (this.getTextObj()).txtDone);
this.questionView.updateButtonStates(this.isPrevQuestion());
this.currentView = com.techsmith.ui.Component(this.questionView);
} else {
if (v4.reportingstyle == 'SCORM') {
this.summaryView = com.techsmith.camtasia.quiz.SCORMSummary.create(this, 'summaryView', 2);
(com.techsmith.ui.Component(this.summaryView)).addEventListener(com.techsmith.camtasia.quiz.SCORMSummary.SEND_EVENT, com.techsmith.utils.Delegate.create(this, this.sendScormHandler));
} else {
this.summaryView = com.techsmith.camtasia.quiz.EmailSummary.create(this, 'summaryView', 2);
(com.techsmith.ui.Component(this.summaryView)).addEventListener(com.techsmith.camtasia.quiz.EmailSummary.SEND_EVENT, com.techsmith.utils.Delegate.create(this, this.sendEmailHandler));
(com.techsmith.ui.Component(this.summaryView)).addEventListener(com.techsmith.camtasia.quiz.EmailSummary.PREVIEW_EVENT, com.techsmith.utils.Delegate.create(this, this.emailPreviewHandler));
}
this.summaryView.init(this.dimensions, null, v4);
this.summaryView.setButtonLabels((this.getTextObj()).txtPreview, (this.getTextObj()).txtSend);
this.summaryView.setTitle((this.getTextObj()).txtSummaryTitle);
this.summaryView.setMessage((this.getTextObj()).txtMainMessage);
this.summaryView.setStatus(com.techsmith.utils.Util.sprintf((this.getTextObj()).txtsummary, this.numQAnswered(), this.numQ()));
this.currentView = com.techsmith.ui.Component(this.summaryView);
this.currentView.addEventListener(com.techsmith.events.Events.CLOSE, com.techsmith.utils.Delegate.create(this, this.closeHandler));
}
this.currentView.setVisible(true);
v3 = true;
}
return v3;
};
v1.isNextQuestion = function () {
return this.model.popupNextIDInGroup(this.quizID) != undefined;
};
v1.isPrevQuestion = function () {
return this.model.popupPrevIDInGroup(this.quizID) != undefined;
};
v1.groupStats = function () {
return this.model.groupStats(this.quizID);
};
v1.isPopupOnRange = function (startrange, endrange) {
return this.model.popupIDOnFrameRange(startrange, endrange) != undefined;
};
v1.numQAnswered = function () {
return this.model.numQAnswered();
};
v1.numQ = function () {
return this.model.numQ();
};
v1.getEmailContent = function () {
return this.model.getEmailContent();
};
v1.isScormAlreadySubmitted = function () {
return this.scormSubmitted;
};
v1.setScormAlreadySubmitted = function () {
this.scormSubmitted = true;
};
v1.getTextObj = function () {
return this.schema.config.quiz;
};
v1.submitLMSScore = function () {
var v2 = Math.round(100.0 * this.model.numQCorrect() / this.model.numQScored());
this.getURL('javascript:userSubmitToLMS(' + v2 + ');');
};
v1.decodeEmailAddr = function (strEmailAddr) {
return (strEmailAddr.split('@re.move.me.')).join('@');
};
v1.sendEmail = function () {
var v2 = this.model.getPopupData(this.quizID);
this.getURL('mailto:' + _global.escape(this.decodeEmailAddr(v2.emladdr)) + '?subject=' + _global.escape(v2.emlsubj) + '&body=' + _global.escape(this.getEmailContent()));
};
v1.nextHandler = function (e) {
if (this.isNextQuestion()) {
this.showQuestion(this.model.popupNextID(this.quizID));
} else {
if (this.showQuestion(this.model.popupNextIDRange(this.quizID, this.nextPotentialFrame))) {
if (this.model.isSummaryID(this.quizID)) {
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizApplication.COMPLETE, 'summary': true});
this.currentView.setVisible(true);
} else {
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizApplication.COMPLETE, 'summary': false});
this.currentView.setVisible(false);
}
} else {
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizApplication.COMPLETE, 'summary': false});
}
}
};
v1.previousHandler = function (e) {
if (this.isPrevQuestion()) {
this.showQuestion(this.model.popupPrevID(this.quizID));
}
};
v1.submitHandler = function (e) {
var v3 = e.userdata;
var v4 = e.hardsubmit;
var v5 = this.model.reportResults(this.quizID, v3);
this.questionView.updateButtonStates(this.isPrevQuestion());
if (v4 && v5.GotoTime != null) {
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizApplication.JUMP_TO_TIME, 'response': v5});
this.currentView.setVisible(false);
}
};
v1.changeHandler = function (e) {
this.questionView.updateButtonStates(this.isPrevQuestion());
};
v1.emailPreviewHandler = function (e) {
var v3 = this.model.getPopupData(this.quizID);
(com.techsmith.camtasia.quiz.EmailSummary(this.summaryView)).setPreview((this.getTextObj()).txtEmailContents, (this.getTextObj()).txtEmailTo + this.decodeEmailAddr(v3.emladdr) + '\n\n' + this.getEmailContent());
};
v1.sendEmailHandler = function (e) {
this.sendEmail();
(com.techsmith.camtasia.quiz.ISummary(this.currentView)).updateUI();
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizApplication.SUMMARY_COMPLETE});
};
v1.sendScormHandler = function (e) {
if (!this.scormSubmitted) {
this.submitLMSScore();
this.scormSubmitted = true;
(com.techsmith.camtasia.quiz.ISummary(this.currentView)).updateUI();
}
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizApplication.SUMMARY_COMPLETE});
};
v1.closeHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.camtasia.quiz.QuizApplication.SUMMARY_COMPLETE});
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.quiz.QuizApplication.JUMP_TO_TIME = 'jumpToTime';
_global.com.techsmith.camtasia.quiz.QuizApplication.COMPLETE = 'completeNoJump';
_global.com.techsmith.camtasia.quiz.QuizApplication.SUMMARY_COMPLETE = 'summaryComplete';
v1.scormSubmitted = false;
v1.ct = 0;
}
#endinitclip
}
movieClip 20570 __Packages.com.techsmith.xskin.ui.panels.styles.WhiteOutline {
#initclip
if (!com.techsmith.xskin.ui.panels.styles.WhiteOutline) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
if (!com.techsmith.xskin.ui.panels.styles) {
_global.com.techsmith.xskin.ui.panels.styles = new Object();
}
_global.com.techsmith.xskin.ui.panels.styles.WhiteOutline = function () {
super('XSWhiteOutlinePanelTL', 'XSWhiteOutlinePanelTM', 'XSWhiteOutlinePanelTR', 'XSWhiteOutlinePanelCL', 'XSWhiteOutlinePanelCM', 'XSWhiteOutlinePanelCR', 'XSWhiteOutlinePanelBL', 'XSWhiteOutlinePanelBM', 'XSWhiteOutlinePanelBR');
};
_global.com.techsmith.xskin.ui.panels.styles.WhiteOutline extends com.techsmith.ui.panels.PanelStyle;
var v1 = _global.com.techsmith.xskin.ui.panels.styles.WhiteOutline.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20571 __Packages.com.techsmith.ui.SliderTrack {
#initclip
if (!com.techsmith.ui.SliderTrack) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.SliderTrack = function () {
super();
};
_global.com.techsmith.ui.SliderTrack extends com.techsmith.ui.ButtonBase;
var v1 = _global.com.techsmith.ui.SliderTrack.prototype;
_global.com.techsmith.ui.SliderTrack.create = function (container, name, depth, init) {
Object.registerClass('SliderTrack', com.techsmith.ui.SliderTrack);
var v6 = container.attachMovie('SliderTrack', name, depth, init);
return com.techsmith.ui.SliderTrack(v6);
};
v1.init = function (dim) {
this.track = this.createEmptyMovieClip('track', 1);
var v3 = new com.brooksandrus.drawing.Rect();
v3.draw(this.track, dim.width, dim.height, 16777215, 0);
};
v1.onPress = function () {
var v2 = this._xmouse / this._width;
var v3 = v2 * 100;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_PRESS, 'percent': v3, 'fraction': v2});
};
v1.onRelease = function () {
var v2 = this._xmouse / this._width;
var v3 = v2 * 100;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE, 'percent': v3, 'fraction': v2});
};
v1.onReleaseOutside = function () {
var v2 = this._xmouse / this._width;
var v3 = v2 * 100;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE, 'percent': v3, 'fraction': v2});
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20572 __Packages.com.techsmith.camtasia.toc.TOCHeader {
#initclip
if (!com.techsmith.camtasia.toc.TOCHeader) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.toc) {
_global.com.techsmith.camtasia.toc = new Object();
}
_global.com.techsmith.camtasia.toc.TOCHeader = function () {
super();
};
_global.com.techsmith.camtasia.toc.TOCHeader extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.toc.TOCHeader.prototype;
_global.com.techsmith.camtasia.toc.TOCHeader.create = function (container, name, depth, init) {
Object.registerClass('TOCHeader', com.techsmith.camtasia.toc.TOCHeader);
var v6 = container.attachMovie('TOCHeader', name, depth, init);
return com.techsmith.camtasia.toc.TOCHeader(v6);
};
v1.load = function (url, init) {
var v4 = new com.techsmith.media.MediaFactory();
this.media = v4.createMedia(this, 'media', 5, url);
this.media.addEventListener(com.techsmith.events.Events.STARTED, com.techsmith.utils.Delegate.create(this, this.mediaStartedHandler));
this.media.load(url, init.autoStart, init.fps);
};
v1.mediaStartedHandler = function (e) {
e.target = this;
e.type = com.techsmith.events.Events.INIT;
this.dispatchEvent(e);
};
v1.setSize = function (dim) {
this.media.setSize(dim);
};
v1.drawOutline = function (dim) {
this.outline = this.createEmptyMovieClip('outline', 6);
var v3 = new com.brooksandrus.drawing.Rect();
v3.draw(this.outline, this.media.width, this.media.height, 0, 0, {'rgb': 9542041, 'thickness': 1, 'alpha': 100, 'jointStyle': 'miter', 'capsStyle': 'square', 'pixelHinting': false, 'noScale': 'none'});
v3.draw(this.outline, this.media.width - 2, this.media.height - 2, 0, 0, {'rgb': 15658734, 'thickness': 1, 'alpha': 100, 'jointStyle': 'miter', 'capsStyle': 'square', 'pixelHinting': false, 'noScale': 'none'}, {'x': 1, 'y': 1});
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20573 __Packages.com.techsmith.utils.Delegate {
#initclip
if (!com.techsmith.utils.Delegate) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.utils) {
_global.com.techsmith.utils = new Object();
}
_global.com.techsmith.utils.Delegate = function () {};
var v1 = _global.com.techsmith.utils.Delegate.prototype;
_global.com.techsmith.utils.Delegate.create = function (d_scope, d_func) {
var addArguments = new Array();
super = 2;
goto 452;
for (;;) {
++super;
label 452:
if (super >= arguments.length) break;
addArguments.push(arguments[super]);
}
var v3 = function () {
super = arguments.concat(addArguments);
d_func.apply(d_scope, super);
};
return v3;
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20574 __Packages.com.techsmith.ui.Label {
#initclip
if (!com.techsmith.ui.Label) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.Label = function () {
super();
this.addIcon();
var v3 = 100;
if (this.icon != undefined) {
v3 = 100 - this.icon._width;
}
var v4 = {'wordWrap': this.wordWrap, 'multiline': this.multiline, 'html': this.html, 'selectable': this.selectable};
for (var i in this.textProps) {
v4[i] = this.textProps[i];
}
this.label = this.createLabel('label', {'depth': 1, 'x': 0, 'y': 0, 'w': v3, 'h': 20}, v4);
this.format = this.setDefaultFormat();
this.layoutLabel();
};
_global.com.techsmith.ui.Label extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.Label.prototype;
_global.com.techsmith.ui.Label.create = function (container, name, depth, init) {
Object.registerClass('Label', com.techsmith.ui.Label);
var v6 = container.attachMovie('Label', name, depth, init);
return com.techsmith.ui.Label(v6);
};
v1.addIcon = function () {
this.icon = this.attachMovie(this.url, 'icon', 2);
};
v1.layoutLabel = function () {
if (this.icon == undefined) {
var v2 = new com.techsmith.utils.Point(0, 0);
} else {
if (this.labelPosition == com.techsmith.ui.Label.TEXT_RIGHT) {
var v2 = new com.techsmith.utils.Point(this.icon._width + this.padding, 0);
var v3 = new com.techsmith.utils.Point(0, 0);
} else {
var v2 = new com.techsmith.utils.Point(0, 0);
var v3 = new com.techsmith.utils.Point(this.label._width + this.padding, 0);
}
var v4 = this.icon._height;
var v5 = this.label._height;
var v6 = Math.abs((v4 - v5) / 2);
if (v4 > v5) {
v2.y = v6;
} else {
v3.y = v6;
}
}
this.icon._x = v3.x;
this.icon._y = v3.y;
this.label._x = v2.x;
this.label._y = v2.y;
};
v1.setFormat = function (f) {
if (!this.html) {
this.format = f;
if (f.color != undefined) {
this.color = String(f.color);
}
} else {
var v3 = new TextFormat();
var v4 = this.color;
var v5 = this.storedFormat.font;
var v6 = this.storedFormat.size;
for (var i in f) {
if (i == 'color') {
v4 = f.color.toString();
this.color = v4;
} else {
if (i == 'font') {
v5 = f.font;
} else {
if (i == 'size') {
v6 = f.size;
} else {
v3[i] = f[i];
}
}
}
}
this.storedFormat = f;
this.htmlFontProps = '<font color=\'#' + v4 + '\' face=\'' + v5 + '\' size=\'' + v6 + '\'>';
this.format = v3;
}
};
v1.setDefaultFormat = function () {
this.storedFormat = new TextFormat();
this.storedFormat.font = this.font;
this.storedFormat.align = this.align;
this.storedFormat.size = this.size;
this.storedFormat.color = _global.parseInt(this.color, 16);
this.storedFormat.bold = this.bold;
var v2 = new TextFormat();
if (!this.html) {
v2.align = this.storedFormat.align;
v2.size = this.storedFormat.size;
v2.font = this.storedFormat.font;
v2.bold = this.storedFormat.bold;
v2.color = this.storedFormat.color;
return v2;
}
this.htmlFontProps = '<font color=\'#' + this.color + '\' face=\'Arial\' size=\'14\'>';
return v2;
};
v1.getFormattedHtml = function (s) {
return this.htmlFontProps + s + '</font>';
};
v1.measureText = function (s) {
if (this.autoSize) {
if (this.multiline) {
var v3 = this.format.getTextExtent(s, this.label._width);
this.label._height = v3.textFieldHeight;
} else {
var v3 = this.format.getTextExtent(s);
this.label._width = v3.textFieldWidth + 1;
this.label._height = v3.textFieldHeight;
}
}
};
v1.setText = function (s) {
this.text = s;
this.measureText(s);
if (this.label.html) {
this.label.htmlText = this.getFormattedHtml(s);
} else {
this.label.text = s;
}
this.label.setTextFormat(this.format);
this.layoutLabel();
};
v1.setSize = function (w, h) {
var v4 = w;
if (this.icon != undefined) {
v4 = w - (this.icon._width + this.padding);
}
this.label._width = v4;
this.label._height = h;
this.measureText(this.text);
};
v1.setTextFieldSize = function (w, h) {
this.label._width = w;
this.label._height = h;
};
v1.setAutoSize = function (f) {
this.autoSize = f;
};
v1.setMultiline = function (f) {
this.multiline = f;
this.label.multline = f;
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.ui.Label.TEXT_LEFT = 1;
_global.com.techsmith.ui.Label.TEXT_RIGHT = 2;
v1.labelPosition = com.techsmith.ui.Label.TEXT_RIGHT;
v1.icon = null;
v1.url = null;
v1.label = null;
v1.format = null;
v1.textProps = null;
v1.text = '';
v1.html = false;
v1.wordWrap = true;
v1.selectable = false;
v1.multiline = true;
v1.color = '000000';
v1.size = 14;
v1.font = 'Arial';
v1.align = 'left';
v1.bold = false;
v1.storedFormat = null;
v1.htmlFontProps = null;
v1.autoSize = true;
v1.padding = 5;
}
#endinitclip
}
movieClip 20575 __Packages.com.techsmith.utils.ConfigXML2Object {
#initclip
if (!com.techsmith.utils.ConfigXML2Object) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.utils) {
_global.com.techsmith.utils = new Object();
}
_global.com.techsmith.utils.ConfigXML2Object = function () {};
var v1 = _global.com.techsmith.utils.ConfigXML2Object.prototype;
v1.transform = function (node) {
var v3 = {};
this.parseNode(node, v3);
return v3;
};
v1.parseNode = function (node, obj, nDepth) {
if (nDepth == undefined) {
nDepth = 0;
}
if (node.childNodes[0].nodeName == null || node.childNodes[0].nodeName == undefined) {
obj[node.nodeName] = '';
if (node.childNodes.length == 1) {
obj[node.nodeName] = node.childNodes[0].nodeValue;
obj[node.nodeName] = (obj[node.nodeName].split('\r')).join('');
}
if (node.attributes.type == 'Number') {
obj[node.nodeName] = Number(obj[node.nodeName]);
}
if (node.attributes.type == 'Boolean') {
obj[node.nodeName] = obj[node.nodeName].toLowerCase() == 'true' || Number(obj[node.nodeName]);
}
return undefined;
}
var v5 = obj;
var v6 = node.nodeName == 'array';
if (nDepth >= 2 && !v6) {
obj[node.nodeName] = new Object();
v5 = obj[node.nodeName];
}
for (var a in node.attributes) {
v5[a] = node.attributes[a];
}
if (v6) {
if (node.hasChildNodes()) {
obj[node.childNodes[0].nodeName] = new Array(node.childNodes.length);
v5 = obj[node.childNodes[0].nodeName];
var v7 = 0;
goto 1198;
for (;;) {
++v7;
label 1198:
if (v7 >= node.childNodes.length) break;
var v8 = new Object();
this.parseNode(node.childNodes[v7], v8, nDepth + 1);
v5[v7] = v8[node.childNodes[v7].nodeName];
}
}
} else {
for (var i in node.childNodes) {
this.parseNode(node.childNodes[i], v5, nDepth + 1);
}
}
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20576 __Packages.com.techsmith.xskin.ui.panels.styles.Glass {
#initclip
if (!com.techsmith.xskin.ui.panels.styles.Glass) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
if (!com.techsmith.xskin.ui.panels.styles) {
_global.com.techsmith.xskin.ui.panels.styles = new Object();
}
_global.com.techsmith.xskin.ui.panels.styles.Glass = function () {
super('XSGlassPanelTL', 'XSGlassPanelTM', 'XSGlassPanelTR', 'XSGlassPanelCL', 'XSGlassPanelCM', 'XSGlassPanelCR', 'XSGlassPanelBL', 'XSGlassPanelBM', 'XSGlassPanelBR');
};
_global.com.techsmith.xskin.ui.panels.styles.Glass extends com.techsmith.ui.panels.PanelStyle;
var v1 = _global.com.techsmith.xskin.ui.panels.styles.Glass.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20577 __Packages.com.techsmith.camtasia.CSContextMenu {
#initclip
if (!com.techsmith.camtasia.CSContextMenu) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.CSContextMenu = function (branded) {
super();
this.hideBuiltInItems(true);
var v4 = new ContextMenuItem('Powered by Screencast.com', com.techsmith.utils.Delegate.create(this, this.screencastHandler));
var v5 = new ContextMenuItem('Created with Camtasia Studio', com.techsmith.utils.Delegate.create(this, this.camtasiaHandler));
if (branded) {
this.customItems.push(v4);
this.customItems.push(v5);
}
};
_global.com.techsmith.camtasia.CSContextMenu extends ContextMenu;
var v1 = _global.com.techsmith.camtasia.CSContextMenu.prototype;
v1.screencastHandler = function () {
getURL('http://www.screencast.com/', '_blank');
};
v1.camtasiaHandler = function () {
getURL('http://www.techsmith.com/camtasia.asp', '_blank');
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20578 __Packages.com.techsmith.camtasia.EndScreen {
#initclip
if (!com.techsmith.camtasia.EndScreen) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.EndScreen = function () {
super();
this.createLayout();
this.registerListeners();
};
_global.com.techsmith.camtasia.EndScreen extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.camtasia.EndScreen.prototype;
_global.com.techsmith.camtasia.EndScreen.create = function (container, name, depth, init) {
Object.registerClass('EndScreen', com.techsmith.camtasia.EndScreen);
var v6 = container.attachMovie('EndScreen', name, depth, init);
return com.techsmith.camtasia.EndScreen(v6);
};
v1.createLayout = function () {
this.background = this.createEmptyMovieClip('background', 1);
var v2 = 400;
var v3 = 300;
var v4 = new com.brooksandrus.drawing.Rect();
v4.draw(this.background, v2, v3, 16777215, 0);
this.logo = com.techsmith.ui.SimpleComponent.create(this, 'logo', 2, {'id': this.logoIcon});
this.logo._x = (this._width - this.logo._width) / 2;
this.replay = com.techsmith.ui.BasicButton.create(this, 'replay', 4);
this.replay.init(new com.techsmith.ui.ButtonStyle('Replay', null, false));
this.replay._x = (this._width - this.replay._width) / 2;
var v5 = (this._height - (this.logo._height + this.replay._height + this.pad)) / 2;
this.logo._y = v5;
this.replay._y = this.logo._height > 0 ? v5 + this.logo._height + this.pad : (this._height - this.replay._height) / 2;
};
v1.registerListeners = function () {
this.replay.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.replayHandler));
};
v1.replayHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.MOUSE_RELEASE, 'id': 'replay'});
};
v1.destroy = function () {
this.replay.removeAllListeners();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
v1.logoIcon = 'EndScreenLogo';
v1.pad = 25;
}
#endinitclip
}
movieClip 20579 __Packages.com.techsmith.camtasia.UIOptions {
#initclip
if (!com.techsmith.camtasia.UIOptions) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.UIOptions = function (hasAudio, hasToc, hasCaptions, hasFullscreen, hasAbout) {
this.hasAudio = hasAudio;
this.hasToc = hasToc;
this.hasCaptions = hasCaptions;
this.hasFullscreen = hasFullscreen;
this.hasAbout = hasAbout;
};
var v1 = _global.com.techsmith.camtasia.UIOptions.prototype;
v1.__get__audio = function () {
return this.hasAudio;
};
v1.__get__toc = function () {
return this.hasToc;
};
v1.__get__captions = function () {
return this.hasCaptions;
};
v1.__get__fullscreen = function () {
return this.hasFullscreen;
};
v1.__get__about = function () {
return this.hasAbout;
};
v1.addProperty('about', v1.__get__about, function () {});
v1.addProperty('fullscreen', v1.__get__fullscreen, function () {});
v1.addProperty('toc', v1.__get__toc, function () {});
v1.addProperty('audio', v1.__get__audio, function () {});
v1.addProperty('captions', v1.__get__captions, function () {});
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20580 __Packages.com.techsmith.ui.canvas.AbstractCanvas {
#initclip
if (!com.techsmith.ui.canvas.AbstractCanvas) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.canvas) {
_global.com.techsmith.ui.canvas = new Object();
}
_global.com.techsmith.ui.canvas.AbstractCanvas = function () {
super();
this.typeFactory = new com.techsmith.ui.canvas.CanvasFactory();
};
_global.com.techsmith.ui.canvas.AbstractCanvas extends com.techsmith.ui.Container;
var v1 = _global.com.techsmith.ui.canvas.AbstractCanvas.prototype;
v1.init = function (dim, type, style) {
if (this.dragScope != null && this.constraints == null) {
var v5 = {'dragScope': this.dragScope};
} else {
if (this.dragScope == null && this.constraints != null) {
var v5 = {'constraints': this.constraints};
} else {
var v5 = {'dragScope': this.dragScope, 'constraints': this.constraints};
}
}
this.canvas = this.typeFactory.createCanvas(this, 'canvas', this.depthManager.getNextDepth(), type, v5);
this.addChildComponent(this.canvas);
this.canvas.init(dim, this.styleFactory.getStyle(style));
};
v1.setSize = function (width, height) {
this.canvas.setSize(width, height);
};
v1.destroy = function () {
this.canvas.destroy();
super.destroy();
};
v1.addEventListener = function (event, scope) {
this.canvas.addEventListener(event, scope);
};
v1.removeEventListener = function (event, scope) {
this.canvas.removeEventListener(event, scope);
};
v1.removeEventListeners = function (event) {
this.canvas.removeEventListeners(event);
};
v1.removeAllListeners = function () {
this.canvas.removeAllListeners();
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.ui.canvas.AbstractCanvas.BASIC = 'basic';
_global.com.techsmith.ui.canvas.AbstractCanvas.CLICK = 'click';
_global.com.techsmith.ui.canvas.AbstractCanvas.DRAG = 'drag';
v1.canvas = null;
v1.dragScope = null;
v1.constraints = null;
v1.typeFactory = null;
v1.styleFactory = null;
}
#endinitclip
}
movieClip 20581 __Packages.com.techsmith.xskin.ui.panels.XSPanel {
#initclip
if (!com.techsmith.xskin.ui.panels.XSPanel) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
_global.com.techsmith.xskin.ui.panels.XSPanel = function () {
super();
this.styleFactory = new com.techsmith.xskin.ui.panels.styles.StyleFactory();
};
_global.com.techsmith.xskin.ui.panels.XSPanel extends com.techsmith.ui.canvas.AbstractCanvas;
var v1 = _global.com.techsmith.xskin.ui.panels.XSPanel.prototype;
_global.com.techsmith.xskin.ui.panels.XSPanel.create = function (container, name, depth, init) {
Object.registerClass('XSPanel', com.techsmith.xskin.ui.panels.XSPanel);
var v6 = container.attachMovie('XSPanel', name, depth, init);
return com.techsmith.xskin.ui.panels.XSPanel(v6);
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20582 __Packages.com.techsmith.camtasia.Main {
#initclip
if (!com.techsmith.camtasia.Main) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.Main = function (scope) {
super();
scope.__proto__ = this.__proto__;
scope.__constructor__ = com.techsmith.camtasia.Main;
this = scope;
scope._visible = false;
this.app = com.techsmith.camtasia.CamtasiaApplication.create(scope, 'app', 2);
this.app.init(scope);
};
_global.com.techsmith.camtasia.Main extends MovieClip;
var v1 = _global.com.techsmith.camtasia.Main.prototype;
_global.com.techsmith.camtasia.Main.main = function () {
if (com.techsmith.camtasia.Main.timeline == null) {
com.techsmith.camtasia.Main.timeline = new com.techsmith.camtasia.Main(arguments[0]);
}
};
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.Main.timeline = null;
v1.app = null;
}
#endinitclip
}
movieClip 20583 __Packages.com.techsmith.camtasia.hotspot.HotspotConstants {
#initclip
if (!com.techsmith.camtasia.hotspot.HotspotConstants) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.hotspot) {
_global.com.techsmith.camtasia.hotspot = new Object();
}
_global.com.techsmith.camtasia.hotspot.HotspotConstants = function () {};
var v1 = _global.com.techsmith.camtasia.hotspot.HotspotConstants.prototype;
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.hotspot.HotspotConstants.GET_URL = 1;
_global.com.techsmith.camtasia.hotspot.HotspotConstants.SEEK_TIME = 2;
_global.com.techsmith.camtasia.hotspot.HotspotConstants.NONE = 3;
}
#endinitclip
}
movieClip 20584 __Packages.com.techsmith.xskin.ui.panels.styles.Black {
#initclip
if (!com.techsmith.xskin.ui.panels.styles.Black) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
if (!com.techsmith.xskin.ui.panels.styles) {
_global.com.techsmith.xskin.ui.panels.styles = new Object();
}
_global.com.techsmith.xskin.ui.panels.styles.Black = function () {
super('XSBlackPanelTL', 'XSBlackPanelTM', 'XSBlackPanelTR', 'XSBlackPanelCL', 'XSBlackPanelCM', 'XSBlackPanelCR', 'XSBlackPanelBL', 'XSBlackPanelBM', 'XSBlackPanelBR');
};
_global.com.techsmith.xskin.ui.panels.styles.Black extends com.techsmith.ui.panels.PanelStyle;
var v1 = _global.com.techsmith.xskin.ui.panels.styles.Black.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20585 __Packages.com.techsmith.camtasia.quiz.EmailPreview {
#initclip
if (!com.techsmith.camtasia.quiz.EmailPreview) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
_global.com.techsmith.camtasia.quiz.EmailPreview = function () {
super();
};
_global.com.techsmith.camtasia.quiz.EmailPreview extends com.techsmith.xskin.ui.XSWindow;
var v1 = _global.com.techsmith.camtasia.quiz.EmailPreview.prototype;
_global.com.techsmith.camtasia.quiz.EmailPreview.create = function (container, name, depth, init) {
Object.registerClass('EmailPreview', com.techsmith.camtasia.quiz.EmailPreview);
var v6 = container.attachMovie('EmailPreview', name, depth, init);
return com.techsmith.camtasia.quiz.EmailPreview(v6);
};
v1.init = function (bDim, style) {
super.init(bDim, style);
};
v1.setupWindowChrome = function (bDim) {
super.setupWindowChrome(bDim);
this.label = this.addChild(com.techsmith.ui.Label, 'label', {'multiline': false, 'color': 'FFFFFF', 'size': 14});
var v4 = this.getContentLoc();
this.label.move(v4.x, (v4.y - this.label._height) / 2);
var v5 = new com.techsmith.ui.panels.PanelStyle('RedGlassLUp', 'RedGlassMUp', 'RedGlassRUp');
var v6 = new com.techsmith.ui.panels.PanelStyle('RedGlassLOver', 'RedGlassMOver', 'RedGlassROver');
var v7 = new com.techsmith.ui.panels.PanelStyle('RedGlassLDown', 'RedGlassMDown', 'RedGlassRDown');
var v8 = new com.techsmith.ui.panels.PanelStyle('RedGlassLDisabled', 'RedGlassMDisabled', 'RedGlassRDisabled');
this.okBtn = this.addChild(com.techsmith.ui.LabelButton, 'okBtn', {'defaultFontColor': 16777215});
this.okBtn.init('OK', 30, null, {'up': v5, 'over': v6, 'down': v7, 'disabled': v8});
var v9 = this._width - (this.okBtn._width + this.hmargin);
var v10 = this._height - (this.vmargin - (this.vmargin - this.okBtn._height) / 2);
this.okBtn.move(v9, v10);
this.okBtn.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.exitButtonHandler));
};
v1.setupContent = function () {
this.content = this.addChild(com.techsmith.ui.TextArea, 'content', {'border': false, 'fillOpacity': 20, 'textColor': 'FFFFFF', 'type': 'dynamic', 'selectable': true});
this.content.init(this.bgDim.width - 20, this.bgDim.height - 62);
this.content.move((this.bgDim.width - this.content.width) / 2, (this.bgDim.height - this.content.height) / 2);
};
v1.setMessage = function (message) {
this.content.setText(message);
};
ASSetPropFlags(v1, null, 1);
v1.okBtn = null;
v1.hmargin = 10;
v1.vmargin = 31;
}
#endinitclip
}
movieClip 20586 __Packages.com.techsmith.ui.panels.Scale9Panel {
#initclip
if (!com.techsmith.ui.panels.Scale9Panel) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.panels) {
_global.com.techsmith.ui.panels = new Object();
}
_global.com.techsmith.ui.panels.Scale9Panel = function () {
super();
};
_global.com.techsmith.ui.panels.Scale9Panel extends com.techsmith.ui.Container;
var v1 = _global.com.techsmith.ui.panels.Scale9Panel.prototype;
_global.com.techsmith.ui.panels.Scale9Panel.create = function (container, name, depth, init) {
Object.registerClass('Scale9Panel', com.techsmith.ui.panels.Scale9Panel);
var v6 = container.attachMovie('Scale9Panel', name, depth, init);
return com.techsmith.ui.panels.Scale9Panel(v6);
};
v1.init = function (dim, styles, rectangle) {
this.graphic = this.attachMovie(styles.TOP_LEFT, 'graphic', this.depthManager.getNextDepth(), {'_x': 0, '_y': 0});
this.graphic.scale9Grid = rectangle;
this.setSize(dim.width, dim.height);
};
v1.setSize = function (width, height) {
this.graphic._width = width;
this.graphic._height = height;
};
_global.com.techsmith.ui.panels.Scale9Panel implements com.techsmith.ui.panels.IPanel;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20587 __Packages.com.techsmith.ui.BitmapReflection {
#initclip
if (!com.techsmith.ui.BitmapReflection) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.BitmapReflection = function () {
super();
if (this.source != undefined && (this.constraintSize != undefined && this.constraintPlane != undefined)) {
this.createBitmap(this.source, this.constraintSize, this.constraintPlane);
}
};
_global.com.techsmith.ui.BitmapReflection extends com.techsmith.ui.Bitmap;
var v1 = _global.com.techsmith.ui.BitmapReflection.prototype;
_global.com.techsmith.ui.BitmapReflection.create = function (container, name, depth, init) {
Object.registerClass('BitmapReflection', com.techsmith.ui.BitmapReflection);
var v6 = container.attachMovie('BitmapReflection', name, depth, init);
return com.techsmith.ui.BitmapReflection(v6);
};
v1.createBitmap = function (bitmapSource, size, plane) {
this.source = bitmapSource;
this.constraintSize = size;
this.constraintPlane = plane;
var v5 = this.source._width;
var v6 = this.source._height;
if (this.constraintPlane == com.techsmith.ui.Bitmap.HORIZONTAL_CONSTRAINT) {
var v7 = size / v5;
} else {
var v7 = size / v6;
}
var v8 = v5 * v7;
var v9 = v6 * v7;
this.width = v8;
this.height = v9;
var v10 = new flash.geom.Rectangle(0, 0, v8, v9);
var v11 = new flash.geom.Matrix();
v11.scale(v7, v7);
var v12 = this.createEmptyMovieClip('alphaMovie', 100);
this.createShape(v10, v12);
this.alphaBitmap = new flash.display.BitmapData(v8, v9, true, 0);
this.alphaBitmap.fillRect(v10, 0);
this.alphaBitmap.draw(v12, new flash.geom.Matrix());
this.tempBitmap = new flash.display.BitmapData(v8, v9, true, 0);
this.tempBitmap.fillRect(v10, 0);
this.tempBitmap.draw(this.source, v11);
this.bitmap = new flash.display.BitmapData(v8, v9, true, 0);
this.bitmap.fillRect(v10, 0);
this.bitmap.copyPixels(this.tempBitmap, v10, new flash.geom.Point(), this.alphaBitmap, new flash.geom.Point(), true);
v12.removeMovieClip();
this.alphaBitmap.dispose();
this.tempBitmap.dispose();
this.reflection = this.createEmptyMovieClip('reflection', 1);
this.reflection.attachBitmap(this.bitmap, 1);
v11 = new flash.geom.Matrix();
v11.d = -1;
this.reflection.transform.matrix = v11;
this.reflection._y = v9;
this.reflection._alpha = this.alpha;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.COMPLETE});
};
v1.createShape = function (rect, target) {
var v4 = new flash.geom.Matrix();
v4.createGradientBox(rect.width, rect.height * this.gradientFalloff, Math.PI / 2, 0, rect.height * (1.0 - this.gradientFalloff));
this.fillShape(target, rect, v4);
};
v1.fillShape = function (target, rect, matrix) {
target.beginGradientFill('linear', [16777215, 16777215], [this.gradientFade, 100], [0, 255], matrix);
target.moveTo(rect.x, rect.y);
target.lineTo(rect.width, rect.y);
target.lineTo(rect.width, rect.height);
target.lineTo(rect.x, rect.height);
target.endFill();
};
v1.createRect = function (source) {
return new flash.geom.Rectangle(0, 0, source._width, source._height);
};
v1.destroy = function () {
this.alphaBitmap.dispose();
this.tempBitmap.dispose();
this.reflection.removeMovieClip();
super.destroy();
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20588 __Packages.com.techsmith.xskin.ui.panels.styles.StyleFactory {
#initclip
if (!com.techsmith.xskin.ui.panels.styles.StyleFactory) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
if (!com.techsmith.xskin.ui.panels.styles) {
_global.com.techsmith.xskin.ui.panels.styles = new Object();
}
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory = function () {};
var v1 = _global.com.techsmith.xskin.ui.panels.styles.StyleFactory.prototype;
v1.getStyle = function (style) {
switch (style) {
case com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK:
return new com.techsmith.xskin.ui.panels.styles.Black();
break;
case com.techsmith.xskin.ui.panels.styles.StyleFactory.GLASS:
return new com.techsmith.xskin.ui.panels.styles.Glass();
break;
case com.techsmith.xskin.ui.panels.styles.StyleFactory.WHITE:
return new com.techsmith.xskin.ui.panels.styles.White();
break;
case com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK_OUTLINE:
return new com.techsmith.xskin.ui.panels.styles.BlackOutline();
break;
case com.techsmith.xskin.ui.panels.styles.StyleFactory.WHITE_OUTLINE:
return new com.techsmith.xskin.ui.panels.styles.WhiteOutline();
break;
case com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK_EXPLODED:
return new com.techsmith.xskin.ui.panels.styles.BlackExploded();
break;
case com.techsmith.xskin.ui.panels.styles.StyleFactory.WHITE_EXPLODED:
return new com.techsmith.xskin.ui.panels.styles.WhiteExploded();
break;
default:
return new com.techsmith.xskin.ui.panels.styles.Black();
}
};
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory implements com.techsmith.ui.canvas.ICanvasStyleFactory;
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK = 'black';
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory.WHITE = 'white';
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory.WHITE_OUTLINE = 'whiteoutline';
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK_OUTLINE = 'blackoutline';
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory.BLACK_EXPLODED = 'blackexploded';
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory.WHITE_EXPLODED = 'whiteexploded';
_global.com.techsmith.xskin.ui.panels.styles.StyleFactory.GLASS = 'glass';
}
#endinitclip
}
movieClip 20589 __Packages.com.mosesSupposes.fuse.FuseItem {
#initclip
if (!com.mosesSupposes.fuse.FuseItem) {
if (!com) {
_global.com = new Object();
}
if (!com.mosesSupposes) {
_global.com.mosesSupposes = new Object();
}
if (!com.mosesSupposes.fuse) {
_global.com.mosesSupposes.fuse = new Object();
}
_global.com.mosesSupposes.fuse.FuseItem = function (id, o, fuseID) {
com.mosesSupposes.fuse.FuseItem._ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine;
this._nItemID = id;
this._nFuseID = fuseID;
this._initObj = o;
this._aProfiles = [];
this._oElements = {'aEvents': []};
this._oTemps = {};
if (!(o instanceof Array)) {
o = [o];
}
var v5 = _global.com.mosesSupposes.fuse.Fuse;
this._oTemps.outputLevel = (v5 != undefined) ? v5.OUTPUT_LEVEL : _global.com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL;
if (o.length == 1) {
var v6 = o[0];
var v7 = (v6.action != undefined) ? v6.action : v6;
if (v7.__buildMode != true && v7.command != undefined) {
this._oElements.command = v7.command;
this._oElements.scope = v7.scope;
this._oElements.args = v7.args;
this._sImage = ' Elements:[' + ('command' + ((typeof v7.command == 'string') ? ':"' + v7.command + '", ' : ', '));
if (v7.label != undefined && typeof v7.label == 'string') {
this._sImage += 'label:"' + v7.label + '", ';
this._oElements.label = v7.label;
}
if (v7.delay != undefined) {
this._sImage += 'delay, ';
this._oElements.delay = v7.delay;
}
if (v7.func != undefined && this._oTemps.outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('113');
}
return undefined;
}
}
this._oTemps.sImgS = '';
this._oTemps.sImgE = '';
this._oTemps.sImgB = '';
this._oTemps.afl = 0;
this._oTemps.ael = 0;
this._oTemps.twDelayFlag = false;
this._oTemps.nActions = o.length;
this._oTemps.fuseProps = com.mosesSupposes.fuse.FuseKitCommon._fuseprops();
this._oTemps.cbProps = com.mosesSupposes.fuse.FuseKitCommon._cbprops();
this._oTemps.sUP = com.mosesSupposes.fuse.FuseKitCommon._underscoreable();
this._oTemps.sCT = com.mosesSupposes.fuse.FuseKitCommon._cts();
this._oTemps.bTriggerFound = false;
for (var i in o) {
var v8 = o[i];
if (v8.label != undefined && typeof v8.label == 'string') {
this._oElements.label = v8.label;
}
var v11 = typeof v8.action == 'object' && !(v8.action instanceof Array);
if (v11 == true) {
var v9 = v8.action;
var v10 = {'delay': v8.delay, 'target': v8.target, 'addTarget': v8.addTarget, 'label': v8.label, 'trigger': v8.trigger};
} else {
var v9 = v8;
}
var v12 = this.parseProfile(v9, storedv10);
if (v12 != undefined) {
this._aProfiles.unshift(v12);
}
}
this._sImage = '';
var v13 = '';
if (this._oElements.label != undefined) {
v13 += 'label:"' + this._oElements.label + '", ';
}
if (this._oTemps.afl > 0) {
v13 += this._oTemps.afl > 1 ? this._oTemps.afl + ' callbacks, ' : 'callback, ';
}
if (this._oElements.delay != undefined || this._oTemps.twDelayFlag == true) {
v13 += 'delay, ';
}
if (this._oTemps.bTriggerFound == true) {
v13 += 'trigger, ';
}
if (this._oTemps.ael > 0) {
v13 += this._oTemps.ael > 1 ? this._oTemps.ael + ' events, ' : 'event, ';
}
if (v13 != '') {
this._sImage += ' Elements:[' + v13.slice(0, -2) + ']';
}
if (this._oTemps.sImgS != '') {
this._sImage += ' StartProps:[' + this._oTemps.sImgS.slice(0, -2) + ']';
}
if (this._oTemps.sImgE != '') {
this._sImage += ' Props:[' + this._oTemps.sImgE.slice(0, -2) + ']';
}
if (this._oTemps.sImgB != '') {
this._sImage += ' Simple Syntax Props:[' + this._oTemps.sImgB.slice(0, -1) + ']';
}
delete this._oTemps;
};
var v1 = _global.com.mosesSupposes.fuse.FuseItem.prototype;
_global.com.mosesSupposes.fuse.FuseItem.doTween = function () {
for (var i in arguments) {
if (typeof arguments[i] == 'object') {
if (com.mosesSupposes.fuse.FuseItem._aInstances == undefined) {
com.mosesSupposes.fuse.FuseItem._aInstances = new Array();
}
super = new com.mosesSupposes.fuse.FuseItem(com.mosesSupposes.fuse.FuseItem._aInstances.length, arguments[i], -1);
return super.startItem();
}
}
};
v1.getLabel = function () {
return this._oElements.label;
};
v1.hasTriggerFired = function () {
return this._bTrigger == true;
};
v1.getInitObj = function () {
return this._initObj;
};
v1.getActiveTargets = function (targetList) {
if (this._aTweens.length <= 0) {
return targetList;
}
var v3 = false;
for (var i in this._aTweens) {
for (var j in targetList) {
if (targetList[j] == this._aTweens[i].targ) {
v3 = true;
break;
}
}
if (v3 == false) {
targetList.unshift(this._aTweens[i].targ);
}
}
return targetList;
};
v1.toString = function () {
return String(this._sID() + ':' + this._sImage);
};
v1.evalDelay = function (scope) {
var v3 = this._oElements.delay;
if (v3 instanceof Function) {
v3 = v3.apply((this._oElements.delayscope != undefined) ? this._oElements.delayscope : scope);
}
if (typeof v3 == 'string') {
v3 = this.parseClock(String(v3));
}
if (_global.isNaN(Number(v3)) == true) {
return 0;
}
return Number(v3);
};
v1.startItem = function (targs, scope) {
com.mosesSupposes.fuse.FuseItem._ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine;
var v4 = _global.com.mosesSupposes.fuse.Fuse;
var v5 = (v4 != undefined) ? v4.OUTPUT_LEVEL : com.mosesSupposes.fuse.FuseItem._ZigoEngine.OUTPUT_LEVEL;
if (this._oElements.command != null) {
var v6 = '|start|stop|pause|resume|skipTo|setStartProps|';
var v7 = this._oElements.scope || scope;
var v8 = this._oElements.command instanceof Function ? String(this._oElements.command.apply(v7)) : String(this._oElements.command);
var v9 = this._oElements.args instanceof Function ? this._oElements.args.apply(v7) : this._oElements.args;
if (v6.indexOf('|' + v8 + '|') == -1 || v8 == 'skipTo' && v9 == undefined) {
if (v5 > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('111', v8);
}
} else {
this._nPlaying = 1;
if (!(v9 instanceof Array)) {
v9 = (v9 == null) ? [] : [v9];
}
this.dispatchRequest(String(v8), v9);
}
return null;
}
if (this._aTweens.length > 0) {
this.stop();
}
com.mosesSupposes.fuse.FuseItem._ZigoEngine.addListener(this);
this._nPlaying = 2;
var v10 = null;
if (this._aProfiles.length > 0) {
if (com.mosesSupposes.fuse.FuseItem._ZigoEngine == undefined) {
com.mosesSupposes.fuse.FuseKitCommon.error('112');
} else {
v10 = this.doTweens(targs, scope, false);
}
}
this._nPlaying = 1;
var v11 = this._oElements.aEvents;
for (var i in v11) {
if (v10 == null && (this._aTweens.length > 0 && v11[i].skipLevel == 2)) {
continue;
}
this.fireEvents(v11[i], scope, v5);
}
if (v10 == null && (this._aTweens.length <= 0 && this._nPlaying == 1)) {
if (v5 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' no tweens added - item done. [getTimer()=' + getTimer() + ']');
}
this.complete();
}
return v10;
};
v1.stop = function () {
var v2 = this._nPlaying > -1;
this._nPlaying = -1;
if (v2 == true) {
this.onStop();
}
com.mosesSupposes.fuse.FuseItem._ZigoEngine.removeListener(this);
};
_global.com.mosesSupposes.fuse.FuseItem.removeInstance = function (id) {
(com.mosesSupposes.fuse.FuseItem(com.mosesSupposes.fuse.FuseItem._aInstances[id])).destroy();
delete com.mosesSupposes.fuse.FuseItem._aInstances[id];
};
v1.onStop = function () {
this._bStartSet = false;
for (var i in this._aTweens) {
var v2 = this._aTweens[i];
v2.targ.removeListener(this);
com.mosesSupposes.fuse.FuseItem._ZigoEngine.removeTween(v2.targ, v2.props);
delete this._aTweens[i];
}
delete this._aTweens;
this._bTrigger = false;
};
v1.evtSetStart = function (o) {
if (this._sImage.indexOf('StartProps:') == -1 || o.curIndex == this._nItemID) {
return undefined;
}
if (o.all != true) {
var v3 = false;
for (var i in o.filter) {
if (Number(o.filter[i]) == this._nItemID || String(o.filter[i]) == this._oElements.label) {
v3 = true;
}
}
if (v3 == false) {
return undefined;
}
}
this.doTweens(o.targs, o.scope, true);
this._bStartSet = true;
};
v1.pause = function (resume) {
if (this._nPlaying == -1) {
return undefined;
}
this._nPlaying = (resume == true) ? 1 : 0;
for (var i in this._aTweens) {
var v3 = this._aTweens[i];
var v4 = v3.targ;
var v5 = v3.props;
if (resume == true) {
var v6 = [];
var v7 = this._aTweens.length;
for (var j in v5) {
if (com.mosesSupposes.fuse.FuseItem._ZigoEngine.isTweenPaused(v4, v5[j]) == false) {
v6.push(v5[j]);
}
}
if (v6.length > 0) {
this.onTweenEnd({'__zigoID__': v3.targZID, 'props': v6, 'isResume': true});
}
if (this._aTweens.length == v7) {
v4.addListener(this);
com.mosesSupposes.fuse.FuseItem._ZigoEngine.unpauseTween(v4, v3.props);
}
} else {
v4.removeListener(this);
com.mosesSupposes.fuse.FuseItem._ZigoEngine.pauseTween(v4, v3.props);
}
}
if (resume == true && this._aTweens.length <= 0) {
this.complete();
} else {
if (resume == true) {
com.mosesSupposes.fuse.FuseItem._ZigoEngine.addListener(this);
} else {
com.mosesSupposes.fuse.FuseItem._ZigoEngine.removeListener(this);
}
}
};
v1.destroy = function () {
var v2 = this._nPlaying > -1;
this._nPlaying = -1;
for (var i in this._aTweens) {
var v3 = this._aTweens[i];
v3.targ.removeListener(this);
if (v2 == true) {
com.mosesSupposes.fuse.FuseItem._ZigoEngine.removeTween(v3.targ, v3.props);
}
delete this._aTweens[i];
}
for (var j in this) {
delete this[j];
}
};
v1.dispatchRequest = function (type, args) {
var v4 = _global.com.mosesSupposes.fuse.Fuse.getInstance(this._nFuseID);
if (!(args instanceof Array) && args != null) {
args = new Array(args);
}
(Function(v4[type])).apply(v4, args);
};
v1._sID = function () {
if (this._nFuseID == -1) {
var v2 = 'One-off tween ';
} else {
var v3 = _global.com.mosesSupposes.fuse.Fuse.getInstance(this._nFuseID);
var v2 = 'Fuse#' + String(this._nFuseID);
if (v3.label != undefined) {
v2 += ':"' + v3.label + '"';
}
}
v2 += '>Item#' + String(this._nItemID);
if (this._oElements.label != undefined) {
v2 += ':"' + this._oElements.label + '"';
}
return v2;
};
v1.parseProfile = function (obj, aap) {
if (obj.__buildMode == true) {
if (obj.command != undefined) {
if (obj.command == 'delay') {
this._oElements.delay = obj.commandargs;
} else {
this._oElements.command = obj.command;
this._oElements.args = obj.commandargs;
}
}
if (obj.func != undefined) {
++this._oTemps.afl;
this._oElements.aEvents.unshift({'f': obj.func, 's': obj.scope, 'a': obj.args});
}
if (obj.tweenargs != undefined) {
this._oTemps.sImgB += obj.tweenargs[1].toString() + ',';
return obj;
}
return null;
}
var v7 = {'delay': (aap.delay != undefined) ? aap.delay : obj.delay, 'ease': obj.ease, 'seconds': obj.seconds, 'event': obj.event, 'eventparams': obj.eventparams, 'skipLevel': (typeof obj.skipLevel == 'number' && (obj.skipLevel >= 0 && obj.skipLevel <= 2)) ? obj.skipLevel : com.mosesSupposes.fuse.FuseItem._ZigoEngine.SKIP_LEVEL, 'oSP': {}, 'oEP': {}, 'oAFV': {}};
var v8 = (aap.trigger != undefined) ? aap.trigger : obj.trigger;
if (v8 != undefined) {
if (this._oTemps.bTriggerFound == false) {
v7.trigger = v8;
this._oTemps.bTriggerFound = true;
} else {
if (this._oTemps.outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('126', this._sID(), v8);
}
}
}
if (v7.delay == undefined) {
v7.delay = obj.startAt;
}
if (v7.ease == undefined) {
v7.ease = obj.easing;
}
if (v7.seconds == undefined) {
v7.seconds = (obj.duration != undefined) ? obj.duration : obj.time;
}
if (aap.target != undefined) {
v7.target = aap.target instanceof Array ? aap.target : [aap.target];
} else {
if (obj.target != undefined) {
v7.target = obj.target instanceof Array ? obj.target : [obj.target];
}
}
if (obj.addTarget != undefined) {
v7.addTarget = obj.addTarget instanceof Array ? obj.addTarget : [obj.addTarget];
}
if (aap.addTarget != undefined) {
if (v7.addTarget == undefined) {
v7.addTarget = aap.addTarget instanceof Array ? aap.addTarget : [aap.addTarget];
} else {
v7.addTarget = v7.addTarget instanceof Array ? v7.addTarget.concat(aap.addTarget) : (new Array(v7.addTarget)).concat(aap.addTarget);
}
}
var v9 = false;
for (var v5 in obj) {
var v10 = obj[v5];
if (this._oTemps.cbProps.indexOf('|' + v5 + '|') > -1) {
if (v5 != 'skipLevel') {
v7[v5] = v10;
}
continue;
}
if (this._oTemps.fuseProps.indexOf('|' + v5 + '|') > -1) {
if (v5 == 'command' && (this._oTemps.nActions > 1 && this._oTemps.outputLevel > 0)) {
com.mosesSupposes.fuse.FuseKitCommon.error('114', String(v10));
}
continue;
}
if (typeof v10 == 'object') {
var v11 = v10 instanceof Array ? [] : {};
for (var v6 in v10) {
v11[v6] = v10[v6];
}
v10 = v11;
}
if (v5.indexOf('start') == 0) {
v5 = v5.slice(6);
var v12 = v7.oSP;
} else {
var v12 = v7.oEP;
}
if (com.mosesSupposes.fuse.FuseItem.ADD_UNDERSCORES == true && this._oTemps.sUP.indexOf('|_' + v5 + '|') > -1) {
v5 = '_' + v5;
}
if (this._oTemps.sCT.indexOf('|' + v5 + '|') > -1) {
var v14 = v5 == '_tintPercent' && v12.colorProp.p == '_tint';
var v15 = v5 == '_tint' && v12.colorProp.p == '_tintPercent';
if (v12.colorProp == undefined || (v14 == true || v15 == true)) {
if (v14 == true) {
v12.colorProp = {'p': '_tint', 'v': {'tint': v12.colorProp.v, 'percent': v10}};
} else {
if (v15 == true) {
v12.colorProp = {'p': '_tint', 'v': {'tint': v10, 'percent': v12.colorProp.v}};
} else {
v12.colorProp = {'p': v5, 'v': v10};
}
}
v9 = true;
} else {
if (this._oTemps.outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('115', this._sID(), v5);
}
}
} else {
if (v10 != null) {
if (v12 == v7.oEP && ((obj.controlX != undefined || obj.controlY != undefined) && (v5.indexOf('control') == 0 || (v5 == '_x' || v5 == '_y')))) {
if (v12._bezier_ == undefined) {
v12._bezier_ = {};
}
if (v5.indexOf('control') == 0) {
v12._bezier_[v5] = v10;
} else {
v12._bezier_[v5.charAt(1)] = v10;
}
} else {
v12[v5] = v10;
}
v9 = true;
}
}
}
if (v9 == false && (v7.trigger != undefined || (v7.delay != undefined || v7.seconds != undefined) && (v7.startfunc != undefined || v7.updfunc != undefined || v7.func != undefined && this._oTemps.nActions > 1))) {
if (com.mosesSupposes.fuse.FuseItem._ZigoEngine == undefined) {
com.mosesSupposes.fuse.FuseKitCommon.error('116');
} else {
if (v7.func != undefined) {
++this._oTemps.afl;
}
if (v7.event != undefined) {
++this._oTemps.ael;
}
v7._doTimer = true;
if (v7.delay != undefined) {
this._oTemps.twDelayFlag = true;
}
return v7;
}
}
if (v9 == true) {
var v16 = v7.oEP.colorProp != undefined;
var v17 = 0;
goto 12682;
for (;;) {
++v17;
label 12682:
if (v17 >= 2) break;
var v18 = (v17 == 0) ? v7.oSP : v7.oEP;
var v19 = (v17 == 0) ? this._oTemps.sImgS : this._oTemps.sImgE;
var v20 = v18.colorProp.p;
if (v20 != undefined) {
v18[v20] = v18.colorProp.v;
delete v18.colorProp;
}
if ((v18._xscale != undefined || v18._scale != undefined) && (v18._width != undefined || v18._size != undefined)) {
var v21 = (v18._xscale != undefined) ? '_xscale' : '_scale';
delete v18[v21];
if (this._oTemps.outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('115', this._sID(), v21);
}
}
if ((v18._yscale != undefined || v18._scale != undefined) && (v18._height != undefined || v18._size != undefined)) {
var v22 = (v18._yscale != undefined) ? '_yscale' : '_scale';
delete v18[v22];
if (this._oTemps.outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('115', this._sID(), v22);
}
}
for (v5 in v18) {
if (v19.indexOf(v5 + ', ') == -1) {
v19 += v5 + ', ';
}
if (v18 == v7.oSP) {
if (v7.oEP[v5] == undefined && !(v5 == v20 && v16 == true)) {
v7.oAFV[v5] = true;
v7.oEP[v5] = [];
}
}
}
if (v17 != 0) {
this._oTemps.sImgE = v19;
} else {
this._oTemps.sImgS = v19;
}
this._oTemps.sImgE;
}
return v7;
}
if (v7.delay != undefined && this._oTemps.nActions == 1) {
this._oElements.delay = v7.delay;
this._oElements.delayscope = v7.scope;
}
if (v7.event != undefined) {
++this._oTemps.ael;
this._oElements.aEvents.unshift({'e': v7.event, 's': v7.scope, 'ep': v7.eventparams, 'skipLevel': v7.skipLevel});
}
var v23 = this._oElements.aEvents.length;
if (v7.easyfunc != undefined) {
this._oElements.aEvents.push({'cb': v7.easyfunc, 's': v7.scope, 'skipLevel': v7.skipLevel});
}
if (v7.func != undefined) {
this._oElements.aEvents.push({'f': v7.func, 's': v7.scope, 'a': v7.args, 'skipLevel': v7.skipLevel});
}
this._oTemps.afl += this._oElements.aEvents.length - v23;
return undefined;
};
v1.doTweens = function (targs, defaultScope, setStart) {
if (this._aTweens == null) {
this._aTweens = [];
}
var v5 = _global.com.mosesSupposes.fuse.Fuse;
var v6 = (v5 != undefined) ? v5.OUTPUT_LEVEL : com.mosesSupposes.fuse.FuseItem._ZigoEngine.OUTPUT_LEVEL;
var v7 = '';
var v8 = 0;
if (this._aProfiles[0].__buildMode == true) {
var v12 = 0;
goto 14309;
for (;;) {
++v12;
label 14309:
if (v12 >= this._aProfiles.length) break;
var v13 = this._aProfiles[v12].tweenargs;
if (v13[6].cycles === 0 || v13[6].cycles.toUpperCase() == 'LOOP') {
delete v13[6].cycles;
if (v6 > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('117', this._sID());
}
}
var v14 = com.mosesSupposes.fuse.FuseItem._ZigoEngine.doTween.apply(com.mosesSupposes.fuse.FuseItem._ZigoEngine, v13);
var v15 = (v14 == null) ? [] : v14.split(',');
if (v15.length > 0) {
this._aTweens.push({'targ': v13[0], 'props': v15, 'targZID': v13[0].__zigoID__});
v13[0].addListener(this);
for (var v10 in v15) {
if (v7.indexOf(v15[v10] + ',') == -1) {
v7 += v15[v10] + ',';
}
}
}
if (v6 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('\n-' + this._sID() + ' TWEEN (simple syntax)\n\ttargets:[' + v13[0] + ']\n\tprops sent:[' + v13[1] + ']');
}
}
return (v7 == '') ? null : v7.slice(0, -1);
}
var v16 = this._bStartSet != true && (setStart == true || this._sImage.indexOf('StartProps:') > -1);
var v17 = 0;
goto 15122;
for (;;) {
for (;;) {
for (;;) {
++v17;
label 15122:
if (v17 >= this._aProfiles.length) break;
var v18 = this._aProfiles[v17];
var v19 = defaultScope;
if (v18.scope != undefined) {
v19 = v18.scope instanceof Function ? v18.scope.apply(v19) : v18.scope;
}
if (v18.event != undefined) {
var v21 = v18.event instanceof Function ? v18.event.apply(v19) : v18.event;
var v22 = v18.eventparams instanceof Function ? v18.eventparams.apply(v19) : v18.eventparams;
if (v21 != undefined && v21.length > 0) {
var v20 = {'e': v21, 'ep': v22, 's': v19};
}
}
var v23 = v18.skipLevel instanceof Function ? v18.skipLevel.apply(v19) : v18.skipLevel;
var v24 = {'skipLevel': v23};
var v25 = {'skipLevel': v23};
if (v18.cycles != undefined) {
var v26 = v18.cycles instanceof Function ? v18.cycles.apply(v19) : v18.cycles;
if ((Number(v26) == 0 || (String(v26)).toUpperCase() == 'LOOP') && v5 != undefined) {
delete v18.cycles;
if (v6 > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('117', this._sID());
}
} else {
v25.cycles = v26;
v24.cycles = v25.cycles;
}
}
var v27 = '';
if (v18.easyfunc != undefined || (v18.func != undefined || (v18.startfunc != undefined || v18.updfunc != undefined))) {
for (var v9 in v18) {
if (v9.indexOf('func') > -1) {
v25[v9] = v18[v9];
} else {
if (v9 == 'startscope' || (v9 == 'updscope' || v9.indexOf('args') > -1)) {
v25[v9] = v18[v9] instanceof Function ? (Function(v18[v9])).apply(v19) : v18[v9];
}
}
}
if (v19 != undefined) {
if (v25.func != undefined && v25.scope == undefined) {
v25.scope = v19;
}
if (v25.updfunc != undefined && v25.updscope == undefined) {
v25.updscope = v19;
}
if (v25.startfunc != undefined && v25.startscope == undefined) {
v25.startscope = v19;
}
}
}
for (v10 in v25) {
v27 += v10 + ':' + v25[v10] + '|';
}
var v28 = v18.trigger === true;
var v29;
if (v28 == false && v18.trigger != undefined) {
v29 = v18.trigger instanceof Function ? v18.trigger.apply(v19) : v18.trigger;
if (typeof v29 == 'string') {
v29 = ((String(v29)).charAt(0) == '-') ? -this.parseClock((String(v29)).slice(1)) : this.parseClock(String(v29));
}
if (_global.isNaN(v29) == true) {
v29 = undefined;
}
}
var v30 = [];
var v31 = (v18.target == undefined) ? targs : v18.target;
var v32 = [];
var v33 = false;
for (v9 in v31) {
var v34 = v31[v9];
v32 = v32.concat(v34 instanceof Function ? v34.apply(v19) : v34);
}
for (v9 in v18.addTarget) {
var v35 = v18.addTarget[v9];
v32 = v32.concat(v35 instanceof Function ? v35.apply(v19) : v35);
}
for (v9 in v32) {
var v36 = v32[v9];
if (v36 != null) {
var v37 = false;
for (v10 in v30) {
if (v30[v10] == v36) {
v37 = true;
break;
}
}
if (v37 == false) {
v30.unshift(v36);
}
} else {
v33 = true;
}
}
var v38 = v30.length == 0 && v18._doTimer != true;
var v39 = v18._doTimer == true && v30.length == 0;
if (!(v33 == true || v38 == true)) break;
++v8;
if (v38 != true) break;
if (v16 == true) {
for (v9 in v30) {
var v40 = v30[v9];
var v41 = [];
var v42 = [];
if (setStart == true) {
for (var q in v18.oEP) {
_global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(v40, q, true);
}
}
for (var p in v18.oSP) {
var v43 = v18.oSP[p];
if (v43 instanceof Function) {
v43 = v43.apply(v19);
}
if (v43 === true || v43 === false) {
v40[p] = v43;
if (v18.oAFV[p] == true) {
for (var v11 in v18.oEP[p]) {
if (v18.oEP[p][v11].targ == v40) {
v18.oEP[p].splice(Number(v11), 1);
}
}
v18.oEP[p].push({'targ': v40, 'val': 'IGNORE'});
}
continue;
}
if (v18.oAFV[p] == true && (!(p == '_colorReset' && v43 == 100) && !(p == '_tintPercent' && v43 == 0))) {
if (p == '_tint' || p == '_colorTransform') {
var v44 = com.mosesSupposes.fuse.FuseItem._ZigoEngine.getColorTransObj();
} else {
if ('|_alpha|_contrast|_invertColor|_tintPercent|_xscale|_yscale|_scale|'.indexOf('|' + p + '|') > -1) {
var v44 = 100;
} else {
if ('|_brightness|_brightOffset|_colorReset|_rotation|'.indexOf('|' + p + '|') > -1) {
var v44 = 0;
} else {
var v45 = _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(v40, p, true);
if (v45 != null) {
var v44 = v45;
} else {
var v44 = (_global.isNaN(v40[p]) == false) ? v40[p] : 0;
}
}
}
}
for (v11 in v18.oEP[p]) {
if (v18.oEP[p][v11].targ == v40) {
v18.oEP[p].splice(Number(v11), 1);
}
}
v18.oEP[p].push({'targ': v40, 'val': v44});
}
if (typeof v43 == 'object') {
var v46 = v43 instanceof Array ? [] : {};
for (v11 in v43) {
v46[v11] = v43[v11] instanceof Function ? (Function(v43[v11])).apply(v19) : v43[v11];
}
v43 = v46;
}
v41.push(p);
v42.push(v43);
}
if (v42.length > 0) {
if (v6 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' ' + v40 + ' SET STARTS: ' + ['[' + v41 + ']', '[' + v42 + ']']);
}
com.mosesSupposes.fuse.FuseItem._ZigoEngine.doTween(v40, v41, v42, 0);
}
}
}
if (setStart != true) break;
var v50 = false;
var v51 = (v39 == false) ? v30 : [0];
for (v9 in v51) {
var v52 = v18.ease;
if (v52 instanceof Function) {
var v53 = Function(v52);
if (typeof v53(1, 1, 1, 1) != 'number') {
v52 = v53.apply(v19);
}
}
var v47 = v18.seconds instanceof Function ? v18.seconds.apply(v19) : v18.seconds;
if (v47 != undefined) {
if (typeof v47 == 'string') {
v47 = this.parseClock(String(v47));
}
if (_global.isNaN(v47) == true) {
v47 = com.mosesSupposes.fuse.FuseItem._ZigoEngine.DURATION || 0;
}
}
var v48 = v18.delay instanceof Function ? v18.delay.apply(v19) : v18.delay;
if (typeof v48 == 'string') {
v48 = this.parseClock(String(v48));
}
if (v48 == null || _global.isNaN(v48) == true) {
v48 = 0;
}
if (v39 == true) {
continue;
}
var v54 = v51[v9];
var v55 = [];
var v56 = [];
var v57 = 0;
for (var p in v18.oEP) {
var v58 = v18.oEP[p];
if (v58 instanceof Function) {
v58 = v58.apply(v19);
}
if (v58 === true || v58 === false) {
if (storedv49 == undefined) {
var v49 = {};
}
v49[p] = v58;
++v57;
continue;
}
if (typeof v58 == 'object') {
if (v58[0].targ != undefined) {
for (v11 in v58) {
if (v58[v11].targ == v54) {
v58 = v58[v11].val;
break;
}
}
} else {
var v59 = v58 instanceof Array ? [] : {};
for (v11 in v58) {
v59[v11] = v58[v11] instanceof Function ? (Function(v58[v11])).apply(v19) : v58[v11];
}
v58 = v59;
}
}
if (v58 != 'IGNORE') {
v55.push(p);
v56.push(v58);
}
}
var v60 = [];
if (v56.length > 0) {
var v61 = com.mosesSupposes.fuse.FuseItem._ZigoEngine.doTween(v54, v55, v56, v47, v52, v48, v25);
if (v61 != null) {
v60 = v61.split(',');
}
if (v60.length > 0) {
var v62 = {'targ': v54, 'props': v60, 'bools': v49, 'targZID': v54.__zigoID__};
if (v50 == false) {
v25 = v24;
v62.event = v20;
v49 = undefined;
v20 = v49;
v62.trigger = v28;
}
this._aTweens.push(v62);
v54.addListener(this);
v50 = true;
}
for (v10 in v60) {
if (v7.indexOf(v60[v10] + ',') == -1) {
v7 += v60[v10] + ',';
}
}
if (v6 == 3) {
var v63 = v55.toString();
if (v60.length > v55.length) {
v63 += '\n\t[NO-CHANGE PROPS DISCARDED. KEPT:' + v61 + ']';
}
var v64 = '';
for (v10 in v56) {
v64 = ((typeof v56[v10] == 'string') ? '"' + v56[v10] + '"' : v56[v10]) + ', ' + v64;
}
com.mosesSupposes.fuse.FuseKitCommon.output('\n-' + this._sID() + ' TWEEN:\n' + ['\t[getTimer():' + getTimer() + '] ', 'targ: ' + v54, 'props: ' + v63, 'endVals: ' + v64, 'time: ' + ((v47 == undefined) ? com.mosesSupposes.fuse.FuseItem._ZigoEngine.DURATION : v47), 'easing: ' + ((v52 == undefined) ? com.mosesSupposes.fuse.FuseItem._ZigoEngine.EASING : v52), 'delay: ' + ((v48 == undefined) ? 0 : v48), 'callbacks: ' + ((v27 == '') ? '(none)' : v27)].join('\n\t'));
}
}
}
if (v47 == undefined || _global.isNaN(v47) == true) {
v47 = 0;
}
var v65 = v48 + v47;
if (v29 != undefined) {
if (v29 < 0) {
v29 += v65;
}
if (v29 > 0 && (v65 == 0 || v29 < v65)) {
if (v65 == 0) {
if (v6 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' graft a timed trigger (' + v29 + ' sec). [has callback:' + (v25 != v24) + ', has event:' + (v20 != undefined) + ', has booleans:' + (v49 != undefined) + ']');
}
this.doTimerTween(null, v29, 0, true, v49, v25, v20);
v50 = true;
} else {
if (v6 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' graft a timed trigger (' + v29 + ' sec).');
}
this.doTimerTween(null, v29, 0, true);
}
} else {
if (v6 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' timed trigger discarded: out of range. [' + v29 + '/' + v65 + ']');
}
}
}
if (v50 == false && (v25 != v24 || (v20 != undefined || v49 != undefined))) {
if (v23 == 0 && v65 > 0) {
if (v6 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' no props tweened - graft a delay (' + v65 + ' sec). [has callback:' + (v25 != v24) + ', has event:' + (v20 != undefined) + ', has booleans:' + (v49 != undefined) + ']');
}
this.doTimerTween(v30, v47, v48, v28, v49, v25, v20);
} else {
if (v6 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' no props tweened, executing nontween items. [has callback:' + (v25 != v24) + ', has event:' + (v20 != undefined) + ', has booleans:' + (v49 != undefined) + ']');
}
for (v9 in v30) {
for (v10 in v49) {
v30[v9][v10] = v49[v10];
}
}
if (v23 < 2) {
if (v25 != undefined) {
if (v25.startfunc != undefined) {
this.fireEvents({'f': v25.startfunc, 's': v25.startscope, 'a': v25.startargs}, v19, v6);
}
if (v25.updfunc != undefined) {
this.fireEvents({'f': v25.updfunc, 's': v25.updscope, 'a': v25.updargs}, v19, v6);
}
if (v25.startfunc != undefined || v25.easyfunc != undefined) {
this.fireEvents({'f': v25.func, 's': v25.scope, 'a': v25.args, 'cb': v25.easyfunc}, v19, v6);
}
}
if (v20 != undefined) {
this.fireEvents(v20);
}
}
}
}
}
}
}
if (v8 > 0 && v6 > 0) {
if (v8 == this._aProfiles.length && v7 == '') {
com.mosesSupposes.fuse.FuseKitCommon.error('118', this._sID(), setStart);
} else {
com.mosesSupposes.fuse.FuseKitCommon.error('119', v16, v8, this._sID());
}
}
return (v7 == '') ? null : v7.slice(0, -1);
};
v1.doTimerTween = function (actualTargets, duration, delay, trigger, booleans, callback, event) {
var v9 = {'__TweenedDelay': 0};
com.mosesSupposes.fuse.FuseItem._ZigoEngine.initializeTargets(v9);
this._aTweens.push({'targ': v9, 'props': ['__TweenedDelay'], 'trigger': trigger, 'bools': booleans, 'event': event, 'actualTargs': actualTargets, 'targZID': v9.__zigoID__});
com.mosesSupposes.fuse.FuseItem._ZigoEngine.doTween(v9, '__TweenedDelay', 1, duration, null, delay, callback);
v9.addListener(this);
};
v1.onTweenEnd = function (o) {
if (this._nPlaying < 1) {
return undefined;
}
var v3 = _global.com.mosesSupposes.fuse.Fuse;
var v4 = (v3 != undefined) ? v3.OUTPUT_LEVEL : com.mosesSupposes.fuse.FuseItem._ZigoEngine.OUTPUT_LEVEL;
if (v4 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' onTweenEnd: ' + ((typeof o.target == 'movieclip') ? o.target._name : typeof o.target) + '[' + o.props + '] [getTimer()=' + getTimer() + ']');
}
var v5 = (o.__zigoID__ !== undefined) ? o.__zigoID__ : o.target.__zigoID__;
for (var i in this._aTweens) {
var v6 = this._aTweens[i];
if (v6.targZID == v5) {
for (var j in o.props) {
var v7 = v6.props;
for (var k in v7) {
var v8 = v7[k];
if (v8 == o.props[j]) {
if (this._nPlaying == 2) {
if (v4 > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('120', this._sID(), v8);
}
}
v7.splice(Number(k), 1);
if (v7.length == 0) {
if (v6.event != undefined) {
this.fireEvents(v6.event, v6.event.s, v4);
}
if (v8 == '__TweenedDelay') {
com.mosesSupposes.fuse.FuseItem._ZigoEngine.deinitializeTargets(v6.targ);
delete v6.targ;
for (var m in v6.bools) {
for (var t in v6.actualTargs) {
v6.actualTargs[t][m] = v6.bools[m];
}
}
} else {
var v9 = false;
for (var m in v6.bools) {
v6.targ[m] = v6.bools[m];
}
for (var l in this._aTweens) {
if (l != i && this._aTweens[l].targ == v6.targ) {
v9 = true;
}
}
if (v9 == false) {
v6.targ.removeListener(this);
}
}
if (v6.trigger == true) {
if (this._bTrigger == false && (o.isResume != true && this._aTweens.length > 1)) {
this._bTrigger = true;
if (v4 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' trigger fired!');
}
var breakChainInt;
breakChainInt = _global.setInterval(function (fi) {
_global.clearInterval(breakChainInt);
fi.dispatchRequest('advance', [false]);
}, 1, this);
}
}
this._aTweens.splice(Number(i), 1);
}
}
}
}
}
}
if (this._aTweens.length == 0 && (this._nPlaying == 1 && o.isResume != true)) {
this.complete(v4);
}
};
v1.onTweenInterrupt = function (o) {
if (this._nPlaying == -1) {
return undefined;
}
var v3 = o.__zigoID__;
var v4 = _global.com.mosesSupposes.fuse.Fuse;
var v5 = (v4 != undefined) ? v4.OUTPUT_LEVEL : com.mosesSupposes.fuse.FuseItem._ZigoEngine.OUTPUT_LEVEL;
if (v5 == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' property interrupt caught! ' + o.target + ',__zigoID__:' + v3 + '[' + o.props + '].');
}
if (v3 == undefined || typeof o.target != 'string') {
this.onTweenEnd(o);
return undefined;
}
for (var i in this._aTweens) {
if (this._aTweens[i].targZID == v3) {
this._aTweens.splice(Number(i), 1);
}
}
if (this._aTweens.length == 0 && this._nPlaying == 1) {
this.complete(v5);
}
};
v1.complete = function (outputLevel) {
var trigger = this._bTrigger;
this.stop();
if (trigger != true) {
if (outputLevel == 3) {
com.mosesSupposes.fuse.FuseKitCommon.output('-' + this._sID() + ' complete.');
}
}
var breakChainInt;
breakChainInt = _global.setInterval(function (fi) {
_global.clearInterval(breakChainInt);
fi.dispatchRequest('advance', [trigger]);
}, 1, this);
};
v1.parseClock = function (str) {
if (str.indexOf(':') != 2) {
com.mosesSupposes.fuse.FuseKitCommon.error('121');
return com.mosesSupposes.fuse.FuseItem._ZigoEngine.DURATION || 0;
}
var v3 = 0;
var v4 = str.split(':');
v4.reverse();
if ((String(v4[0])).length == 2 && _global.isNaN(v5) == false) {
v3 += v5 / 100;
}
if ((String(v4[1])).length == 2 && (_global.isNaN(v5) == false && v5 < 60)) {
v3 += v5;
}
if ((String(v4[2])).length == 2 && (_global.isNaN(v5) == false && v5 < 60)) {
v3 += v5 * 60;
}
if ((String(v4[3])).length == 2 && (_global.isNaN(v5) == false && v5 < 24)) {
v3 += v5 * 3600;
}
return v3;
};
v1.fireEvents = function (o, scope, outputLevel) {
var v5 = (o.s != null) ? o.s : scope;
if (o.e == undefined) {
if (typeof o.cb == 'string' && o.cb.length > 0) {
var v6 = _global.com.mosesSupposes.fuse.Shortcuts.parseStringTypeCallback(o.cb);
if (v6.func != undefined) {
this.fireEvents({'s': v6.scope, 'f': v6.func, 'a': v6.args});
} else {
if (outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('122');
}
}
}
if (o.f == undefined) {
return undefined;
}
var v7 = o.f;
if (typeof o.f == 'string' && v5[o.f] == undefined) {
if (_global[o.f] != undefined) {
v7 = _global[o.f];
}
if (_level0[o.f] != undefined) {
v7 = _level0[o.f];
}
}
if (typeof v7 != 'function') {
if (typeof v5[o.f] == 'function') {
v7 = v5[o.f];
} else {
v7 = eval(o.f);
}
}
if (v7 == undefined) {
if (outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('123');
}
} else {
var v8 = o.a instanceof Function ? o.a.apply(v5) : o.a;
if (v8 != undefined && !(v8 instanceof Array)) {
v8 = [v8];
}
v7.apply(v5, v8);
}
} else {
var v9 = o.e instanceof Function ? String(o.e.apply(v5)) : String(o.e);
if (v9 != 'undefined' && v9.length > 0) {
if ('|onStart|onStop|onPause|onResume|onAdvance|onComplete|'.indexOf('|' + v9 + '|') > -1) {
if (outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('124', v9);
}
} else {
var v10 = _global.com.mosesSupposes.fuse.Fuse.getInstance(this._nFuseID);
var v11 = o.ep instanceof Function ? o.ep.apply(v5) : o.ep;
if (v11 == null || typeof v11 != 'object') {
v11 = {};
}
v11.target = v10;
v11.type = v9;
v10.dispatchEvent.call(v10, v11);
}
} else {
if (outputLevel > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('125', this._sID());
}
}
}
};
ASSetPropFlags(v1, null, 1);
_global.com.mosesSupposes.fuse.FuseItem.registryKey = 'fuseItem';
_global.com.mosesSupposes.fuse.FuseItem.ADD_UNDERSCORES = true;
v1._nPlaying = -1;
v1._bStartSet = false;
v1._bTrigger = false;
}
#endinitclip
}
movieClip 20590 __Packages.com.techsmith.camtasia.CamtasiaModel {
#initclip
if (!com.techsmith.camtasia.CamtasiaModel) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
_global.com.techsmith.camtasia.CamtasiaModel = function (config) {
var v3 = new XML(config);
var v4 = new com.techsmith.utils.ConfigXML2Object();
this.data = v4.transform(v3);
this.tocXML = this.getTocXML(v3);
};
var v1 = _global.com.techsmith.camtasia.CamtasiaModel.prototype;
v1.getTocXML = function (xml) {
var v3 = new XML();
var v4 = xml.firstChild.firstChild;
var v5 = v4.nextSibling;
while (true) {
v5 = v5.nextSibling;
if (v5 == null || (v5.localName == 'tocInfo' || (v5 == '' || v5.localName == null))) {
if (v5.localName == 'tocInfo') {
v3 = v5;
}
break;
}
}
return v3;
};
v1.__get__options = function () {
return this.data.config;
};
v1.__get__toc = function () {
return this.tocXML;
};
v1.__get__playlist = function () {
return this.data.playlist.fileset;
};
v1.__get__fileset = function () {
return this.data.playlist.fileset[0];
};
v1.__get__captions = function () {
return this.data.playlist.fileset[0].captionInfo.captionObject;
};
v1.__get__hotspots = function () {
return this.data.playlist.fileset[0].hotspotInfo.hotspot;
};
v1.__get__quizzes = function () {
return this.data.playlist.fileset[0].quizInfo.popup;
};
v1.__get__config = function () {
return this.data;
};
v1.addProperty('quizzes', v1.__get__quizzes, function () {});
v1.addProperty('captions', v1.__get__captions, function () {});
v1.addProperty('playlist', v1.__get__playlist, function () {});
v1.addProperty('options', v1.__get__options, function () {});
v1.addProperty('fileset', v1.__get__fileset, function () {});
v1.addProperty('config', v1.__get__config, function () {});
v1.addProperty('toc', v1.__get__toc, function () {});
v1.addProperty('hotspots', v1.__get__hotspots, function () {});
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20591 __Packages.com.techsmith.ui.SimpleComponent {
#initclip
if (!com.techsmith.ui.SimpleComponent) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.SimpleComponent = function () {
super();
if (this.id != null) {
this.init(this.id);
}
};
_global.com.techsmith.ui.SimpleComponent extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.SimpleComponent.prototype;
_global.com.techsmith.ui.SimpleComponent.create = function (container, name, depth, init) {
Object.registerClass('SimpleComponent', com.techsmith.ui.SimpleComponent);
var v6 = container.attachMovie('SimpleComponent', name, depth, init);
return com.techsmith.ui.SimpleComponent(v6);
};
v1.init = function (linkageId) {
this.display = this.attachMovie(linkageId, 'display', 1);
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20592 __Packages.com.techsmith.camtasia.quiz.questions.FIB {
#initclip
if (!com.techsmith.camtasia.quiz.questions.FIB) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
if (!com.techsmith.camtasia.quiz.questions) {
_global.com.techsmith.camtasia.quiz.questions = new Object();
}
_global.com.techsmith.camtasia.quiz.questions.FIB = function () {
super();
};
_global.com.techsmith.camtasia.quiz.questions.FIB extends com.techsmith.camtasia.quiz.questions.QuestionBase;
var v1 = _global.com.techsmith.camtasia.quiz.questions.FIB.prototype;
_global.com.techsmith.camtasia.quiz.questions.FIB.create = function (container, name, depth, init) {
Object.registerClass('FIB', com.techsmith.camtasia.quiz.questions.FIB);
var v6 = container.attachMovie('FIB', name, depth, init);
return com.techsmith.camtasia.quiz.questions.FIB(v6);
};
v1.init = function (w, h, questionData) {
super.init(w, h, questionData);
this.createQuestion();
};
v1.createQuestion = function () {
this.setQuestion(this.questionData.question);
var v2 = 27;
if (this.questionField._y + this.questionHeight + com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_PADDING + v2 > this.height) {
this.adjustForScrollBar(true);
}
var v3 = this.contentWidth - this.vPadding * 4;
var v4 = v2;
this.answer = com.techsmith.ui.TextObject.create(this, 'answer', 10, {'border': false, 'fillOpacity': 20, 'type': 'input', 'textColor': 'FFFFFF', 'html': false});
this.answer.init(v3, v4);
this.answer.move(this.questionField._x, this.questionHeight + com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_PADDING + this.vPadding);
this.answer.addEventListener(com.techsmith.events.Events.KEY_ENTER, com.techsmith.utils.Delegate.create(this, this.enterHandler));
this.answer.addEventListener(com.techsmith.events.Events.CHANGE, com.techsmith.utils.Delegate.create(this, this.changedAnswer));
if (this.questionData.userData.strAnswer != null) {
this.answer.setText(this.questionData.userData.strAnswer);
}
this.changedAnswer();
this.answer.giveFocus();
};
v1.enterHandler = function (e) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.KEY_ENTER});
};
v1.dispose = function () {
this.answer.removeAllListeners();
this.answer.destroy();
super.destroy();
};
v1.getAnswer = function () {
return this.answer.getText();
};
v1.isCorrect = function () {
if (this.isSurvey()) {
return true;
}
for (var idx in this.questionData.arrFITBAnswers) {
if (this.questionData.arrFITBAnswers[idx].toLowerCase() == (this.getAnswer()).toLowerCase()) {
return true;
}
}
return false;
};
v1.enable = function (bEnable) {
this.answer.setEnabled(bEnable);
};
_global.com.techsmith.camtasia.quiz.questions.FIB implements com.techsmith.camtasia.quiz.IQuestion;
ASSetPropFlags(v1, null, 1);
v1.contentWidth = 460;
v1.vPadding = 10;
}
#endinitclip
}
movieClip 20593 __Packages.com.techsmith.utils.shapes.Rectangle {
#initclip
if (!com.techsmith.utils.shapes.Rectangle) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.utils) {
_global.com.techsmith.utils = new Object();
}
if (!com.techsmith.utils.shapes) {
_global.com.techsmith.utils.shapes = new Object();
}
_global.com.techsmith.utils.shapes.Rectangle = function () {};
var v1 = _global.com.techsmith.utils.shapes.Rectangle.prototype;
_global.com.techsmith.utils.shapes.Rectangle.draw = function (scope, color, width, height, alpha, lStyle, location) {
if (lStyle != null) {
scope.lineStyle(lStyle.thickness, lStyle.rgb, lStyle.alpha, lStyle.pixelHinting, lStyle.noScale, lStyle.capsStyle, lStyle.jointStyle, lStyle.miterLimit);
} else {
scope.lineStyle(undefined);
}
scope.beginFill(color, alpha);
if (location != null) {
scope.moveTo(location.x, location.y);
scope.lineTo(width + location.x, location.y);
scope.lineTo(width + location.x, location.y + height);
scope.lineTo(location.x, location.y + height);
scope.lineTo(location.x, location.y);
} else {
scope.moveTo(0, 0);
scope.lineTo(width, 0);
scope.lineTo(width, height);
scope.lineTo(0, height);
scope.lineTo(0, 0);
}
scope.endFill();
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20594 __Packages.com.techsmith.ui.ToolTip {
#initclip
if (!com.techsmith.ui.ToolTip) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
_global.com.techsmith.ui.ToolTip = function () {
super();
this.format = new TextFormat();
this.format.font = this.font;
this.format.color = this.fontColor;
this.format.size = this.size;
this.format.bold = this.bold;
this.format.align = this.alignment;
this.format.leading = this.leading;
this.format.leftMargin = this.margin;
this.format.rightMargin = this.margin;
};
_global.com.techsmith.ui.ToolTip extends com.techsmith.ui.Component;
var v1 = _global.com.techsmith.ui.ToolTip.prototype;
_global.com.techsmith.ui.ToolTip.create = function (container, name, depth, init) {
Object.registerClass('ToolTip', com.techsmith.ui.ToolTip);
var v6 = container.attachMovie('ToolTip', name, depth, init);
return com.techsmith.ui.ToolTip(v6);
};
v1.measureText = function (text, width) {
return this.format.getTextExtent(text, width);
};
v1.setupBackground = function (w, h, point) {
this.background = this.createEmptyMovieClip('background', 2);
var v5 = new com.brooksandrus.drawing.CalloutRect();
v5.draw(this.background, w, h, this.fillColor, this.opacity, {'thickness': this.strokeThickness, 'rgb': this.strokeColor, 'alpha': 100, 'pixelHinting': true, 'noScale': 'none', 'capsStyle': 'square', 'jointStyle': 'miter', 'miterLimit': 2}, com.brooksandrus.drawing.CalloutRect.NONE, point);
};
v1.setupLabel = function (text, width, height) {
this.label = this.createLabel('label', {'depth': 3, 'x': 0, 'y': 0, 'w': width, 'h': height}, {'wordWrap': true, 'multiline': true, 'autoSize': 'center', 'embedFonts': this.embedFont, 'selectable': false, 'antiAliasType': 'advanced'});
this.label.text = text;
this.label.setTextFormat(this.format);
};
v1.setTip = function (text, width) {
var v4 = this.format.leftMargin * 2;
var v5 = this.measureText(text, width);
var v6 = v5.textFieldWidth;
var v7 = v5.textFieldHeight;
this.setupLabel(text, v6, v7);
v7 = this.label._height;
if (this.useHPad) {
v7 += this.hPad;
this.label._y = this.hPad / 2 + 2;
}
this.setupBackground(width, v7);
this.createShadow();
};
v1.__set__fontcolor = function (color) {
this.fontColor = color;
this.format.color = color;
return this.__get__fontcolor();
};
v1.__set__fillcolor = function (color) {
this.fillColor = color;
return this.__get__fillcolor();
};
v1.__set__strokecolor = function (color) {
this.strokeColor = color;
return this.__get__strokecolor();
};
v1.__set__strokethickness = function (weight) {
this.strokeThickness = weight;
return this.__get__strokethickness();
};
v1.destroy = function () {
this.label.destroy();
this.background.removeMovieClip();
super.destroy();
};
v1.addProperty('strokethickness', function () {}, v1.__set__strokethickness);
v1.addProperty('fillcolor', function () {}, v1.__set__fillcolor);
v1.addProperty('strokecolor', function () {}, v1.__set__strokecolor);
v1.addProperty('fontcolor', function () {}, v1.__set__fontcolor);
ASSetPropFlags(v1, null, 1);
v1.label = null;
v1.format = null;
v1.background = null;
v1.stageHeight = 0;
v1.fillColor = 11654513;
v1.fontColor = 0;
v1.strokeColor = 0;
v1.strokeThickness = 1;
v1.opacity = 100;
v1.font = 'Arial';
v1.embedFont = false;
v1.alignment = 'justify';
v1.size = 14;
v1.margin = 10;
v1.leading = 2;
v1.bold = false;
v1.hPad = 10;
v1.useHPad = true;
}
#endinitclip
}
movieClip 20595 __Packages.com.mosesSupposes.fuse.Fuse {
#initclip
if (!com.mosesSupposes.fuse.Fuse) {
if (!com) {
_global.com = new Object();
}
if (!com.mosesSupposes) {
_global.com.mosesSupposes = new Object();
}
if (!com.mosesSupposes.fuse) {
_global.com.mosesSupposes.fuse = new Object();
}
_global.com.mosesSupposes.fuse.Fuse = function (action) {
_root();
this.dispatcher = new com.techsmith.events.EventDispatcher();
this._nID = com.mosesSupposes.fuse.Fuse.registerInstance(this);
this._sState = 'stopped';
this._aDefaultTargs = new Array();
if (arguments.length > 0) {
this.splice.apply(this, (new Array(0, 0)).concat(arguments));
}
_global = ['concat', 'join', 'sort', 'sortOn'];
for (var i in _global) {
com.mosesSupposes.fuse.Fuse.prototype[_global[i]] = function () {
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('105');
}
};
}
};
_global.com.mosesSupposes.fuse.Fuse extends Array;
var v1 = _global.com.mosesSupposes.fuse.Fuse.prototype;
v1.addEventListener = function (event, handler) {
this.dispatcher.addEventListener(event, handler);
};
v1.removeEventListener = function (event, handler) {
this.dispatcher.removeEventListener(event, handler);
};
v1.dispatchEvent = function (event) {
this.dispatcher.dispatchEvent(event);
};
v1.removeEventListeners = function (event) {
this.dispatcher.removeEventListeners(event);
};
v1.removeAllListeners = function () {
this.dispatcher.removeAllListeners();
};
v1.destroy = function () {
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('-Fuse#' + String(this._nID) + ' destroy.');
}
this.stop(true);
this.splice(0, this.length);
this._aDefaultTargs = null;
this.scope = null;
_global.ASSetPropFlags(this, null, 0, 7);
var v2 = this._nID;
for (var i in this) {
delete this[i];
}
com.mosesSupposes.fuse.Fuse.removeInstanceAt(v2, true);
};
_global.com.mosesSupposes.fuse.Fuse.simpleSetup = function () {
com.mosesSupposes.fuse.FuseKitCommon.error('101');
};
_global.com.mosesSupposes.fuse.Fuse.getInstance = function (idOrLabel) {
if (typeof idOrLabel == 'number') {
return com.mosesSupposes.fuse.Fuse._aInstances[idOrLabel];
}
if (typeof idOrLabel == 'string') {
for (var i in com.mosesSupposes.fuse.Fuse._aInstances) {
if ((com.mosesSupposes.fuse.Fuse(com.mosesSupposes.fuse.Fuse._aInstances[i])).label == idOrLabel) {
return com.mosesSupposes.fuse.Fuse._aInstances[i];
}
}
}
return null;
};
_global.com.mosesSupposes.fuse.Fuse.getInstances = function (stateFilter, targets) {
var v4 = super == null || super.toUpperCase() == 'ALL';
if (!(targets instanceof Array)) {
targets = arguments.slice(1);
}
var v5 = [];
for (var i in com.mosesSupposes.fuse.Fuse._aInstances) {
var v6 = com.mosesSupposes.fuse.Fuse._aInstances[i];
if (com.mosesSupposes.fuse.Fuse._aInstances[i] == null) {
continue;
}
if (v4 == false && v6.state != super) {
continue;
}
var v7 = targets.length == 0;
if (v7 == false) {
if (v7 == true) {
continue;
}
var v8 = v6.getActiveTargets(true);
for (var j in targets) {
for (var k in v8) {
if (v8[k] == targets[j]) {
v7 = true;
break;
}
}
}
}
if (v7 == true) {
v5.unshift(v6);
}
}
return v5;
};
v1.__get__id = function () {
return this._nID;
};
v1.__get__state = function () {
return this._sState;
};
v1.__get__currentIndex = function () {
return this._nIndex;
};
v1.__get__currentLabel = function () {
return (com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).getLabel();
};
v1.__get__target = function () {
return (this._aDefaultTargs.length == 1) ? this._aDefaultTargs[0] : this._aDefaultTargs;
};
v1.__set__target = function (t) {
delete this._aDefaultTargs;
if (t != null) {
this.addTarget(t);
}
return this.__get__target();
};
v1.addTarget = function (t) {
if (this._aDefaultTargs == null) {
this._aDefaultTargs = [];
}
if (arguments[0] instanceof Array) {
arguments = arguments[0];
}
for (var i in arguments) {
var v3 = false;
for (var j in this._aDefaultTargs) {
if (arguments[i] == this._aDefaultTargs[j]) {
v3 = true;
break;
}
}
if (v3 == false) {
this._aDefaultTargs.push(arguments[i]);
}
}
};
v1.removeTarget = function (t) {
if (this._aDefaultTargs == null || this._aDefaultTargs.length == 0) {
return undefined;
}
if (arguments[0] instanceof Array) {
arguments = arguments[0];
}
for (var i in arguments) {
for (var j in this._aDefaultTargs) {
if (arguments[i] == this._aDefaultTargs[j]) {
this._aDefaultTargs.splice(Number(j), 1);
}
}
}
};
v1.getActiveTargets = function (includeDefaults) {
if (this._sState != 'playing' && this._sState != 'paused') {
return [];
}
if (includeDefaults == true) {
var v3 = this._aDefaultTargs.slice();
return (com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).getActiveTargets(v3);
}
v3 = [];
return (com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).getActiveTargets(v3);
};
v1.clone = function () {
var v2 = [];
var v3 = 0;
goto 4878;
for (;;) {
++v3;
label 4878:
if (v3 >= this.length) break;
v2.push((com.mosesSupposes.fuse.FuseItem(this[v3])).getInitObj());
}
var v4 = new com.mosesSupposes.fuse.Fuse();
v4.push.apply(v4, v2);
v4.scope = this.scope;
v4.target = this.target;
return v4;
};
v1.push = function () {
this.splice.apply(this, (new Array(this.length, 0)).concat(arguments));
return this.length;
};
v1.pushTween = function (targets, props, pEnd, seconds, ease, delay, callback) {
this.push({'__buildMode': true, 'tweenargs': arguments});
return this.length;
};
v1.pop = function () {
var v2 = (com.mosesSupposes.fuse.FuseItem(this[this.length - 1])).getInitObj();
this.splice(this.length - 1, 1);
return v2;
};
v1.unshift = function () {
this.splice.apply(this, (new Array(0, 0)).concat(arguments));
return this.length;
};
v1.shift = function () {
var v2 = (com.mosesSupposes.fuse.FuseItem(this[0])).getInitObj();
this.splice(0, 1);
return v2;
};
v1.splice = function (startIndex, deleteCount) {
this.stop(true);
var v5 = Number(arguments.shift());
if (v5 < 0) {
v5 = this.length + v5;
}
_global = Number(arguments.shift());
var v6 = new Array();
var v7 = 0;
goto 5754;
for (;;) {
++v7;
label 5754:
if (v7 >= arguments.length) break;
var v8 = arguments[v7] instanceof com.mosesSupposes.fuse.Fuse ? arguments[v7] : new com.mosesSupposes.fuse.FuseItem(v5 + v7, arguments[v7], this._nID);
this.addEventListener('onStop', v8);
this.addEventListener('evtSetStart', v8);
v6.push(v8);
}
var v9 = _root.splice.apply(this, (new Array(v5, _global)).concat(v6));
for (var j in v9) {
this.removeEventListener('onStop', v9[j]);
this.removeEventListener('evtSetStart', v9[j]);
if (v9[j] instanceof com.mosesSupposes.fuse.Fuse) {
(com.mosesSupposes.fuse.Fuse(v9[j])).removeEventListener('onComplete', this._oDel1);
} else {
(com.mosesSupposes.fuse.FuseItem(v9[j])).destroy();
delete this[(com.mosesSupposes.fuse.FuseItem(v9[j]))._nItemID];
}
}
var v10 = 0;
goto 6310;
for (;;) {
++v10;
label 6310:
if (v10 >= this.length) break;
(com.mosesSupposes.fuse.FuseItem(this[v10]))._nItemID = v10;
}
};
v1.slice = function (indexA, indexB) {
var v5 = _root.slice(_parent, _global);
var v6 = new Array();
var v7 = 0;
goto 6475;
for (;;) {
++v7;
label 6475:
if (v7 >= arguments.length) break;
v6.push((com.mosesSupposes.fuse.FuseItem(this[v7])).getInitObj());
}
return v6;
};
v1.reverse = function () {
this.stop(true);
super.reverse();
var v3 = 0;
goto 6643;
for (;;) {
++v3;
label 6643:
if (v3 >= this.length) break;
(com.mosesSupposes.fuse.FuseItem(this[v3]))._nItemID = v3;
}
};
v1.traceItems = function (indexA, indexB) {
var v5 = '';
var v6 = super.slice(indexA, indexB);
v5 += '-Fuse#' + String(this._nID) + ' traceItems:' + '\n----------\n';
var v7 = 0;
goto 6834;
for (;;) {
++v7;
label 6834:
if (v7 >= v6.length) break;
if (v6[v7] instanceof com.mosesSupposes.fuse.Fuse) {
v5 += '-Fuse#' + String(this._nID) + ' #' + this._nID + '>Item#' + v7 + ': [Nested Fuse] ' + v6[v7] + '\n';
} else {
v5 += v6[v7] + '\n';
}
}
v5 += '----------';
com.mosesSupposes.fuse.FuseKitCommon.output(v5);
};
v1.toString = function () {
if (this.label == undefined) {
return 'Fuse#' + String(this._nID) + '' + ' (contains ' + this.length + ' items)';
}
return 'Fuse#' + String(this._nID) + (' "' + this.label + '"') + ' (contains ' + this.length + ' items)';
};
v1.setStartProps = function (trueOrItemIDs) {
var v3 = arguments.length == 0 || (super === true || super == com.mosesSupposes.fuse.FuseKitCommon.ALL);
this.dispatchEvent({'target': this, 'type': 'evtSetStart', 'all': v3, 'filter': super instanceof Array ? super : arguments, 'curIndex': (this.state == 'playing') ? this._nIndex : -1, 'targs': this._aDefaultTargs, 'scope': this.scope});
};
v1.start = function (setStart) {
com.mosesSupposes.fuse.Fuse.close();
this.stop(true);
this._sState = 'playing';
if (this.length == 0) {
this.advance(false, true);
}
if (super != null && super != false) {
this.setStartProps.apply(this, arguments);
}
this.dispatchEvent({'target': this, 'type': 'onStart'});
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('-Fuse#' + String(this._nID) + ' start.');
}
this.playCurrentItem();
};
v1.stop = function () {
if (this._sState != 'stopped') {
super = 0;
goto 7789;
for (;;) {
++super;
label 7789:
if (super >= this.length) break;
if (super == this._nIndex || (com.mosesSupposes.fuse.FuseItem(this[super])).hasTriggerFired() == true) {
(com.mosesSupposes.fuse.FuseItem(this[super])).stop();
}
}
} else {
arguments[0] = true;
}
if (this[this._nIndex] instanceof com.mosesSupposes.fuse.Fuse) {
(com.mosesSupposes.fuse.Fuse(this[this._nIndex])).removeEventListener('onComplete', this._oDel1);
}
this._sState = 'stopped';
if (!(arguments[0] === true && this._sState == 'stopped')) {
this.dispatchEvent({'target': this, 'type': 'onStop'});
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('-Fuse#' + String(this._nID) + ' stop.');
}
}
this._nIndex = 0;
_global.clearInterval(this._nDelay);
this._nDelay = -1;
this._nTimeCache = -1;
};
v1.skipTo = function (indexOrLabel) {
com.mosesSupposes.fuse.Fuse.close();
if (typeof super == 'string') {
var v3 = -1;
var v4 = 0;
goto 8437;
for (;;) {
++v4;
label 8437:
if (v4 >= this.length) break;
if ((com.mosesSupposes.fuse.FuseItem(this[v4])).getLabel() == String(super)) {
v3 = v4;
} else {}
}
if (v3 == -1) {
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('102', String(super));
}
}
} else {
var v3 = Number(super);
}
if (_global.isNaN(v3) == true || Math.abs(v3) >= this.length) {
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('103', String(super));
}
}
if (v3 < 0) {
v3 = Math.max(0, this.length + v3);
}
if (v3 == this._nIndex && arguments[1] === true) {
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('104', String(super), this._nIndex);
}
}
if (this[this._nIndex] instanceof com.mosesSupposes.fuse.Fuse) {
(com.mosesSupposes.fuse.Fuse(this[this._nIndex])).removeEventListener('onComplete', this._oDel1);
}
(com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).stop();
this._nIndex = v3;
var v5 = this._sState;
this._sState = 'playing';
if (v5 == 'stopped') {
this.dispatchEvent({'target': this, 'type': 'onStart'});
}
this.playCurrentItem();
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('skipTo:' + v3);
}
};
v1.pause = function () {
if (this._sState == 'playing') {
(com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).pause();
if (this._nTimeCache != -1) {
this._nTimeCache -= getTimer();
_global.clearInterval(this._nDelay);
}
this._sState = 'paused';
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('-Fuse#' + String(this._nID) + ' pause.');
}
this.dispatchEvent({'target': this, 'type': 'onPause'});
}
};
v1.resume = function () {
if (this._sState != 'paused') {
return undefined;
}
com.mosesSupposes.fuse.Fuse.close();
this._sState = 'playing';
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('-Fuse#' + String(this._nID) + ' resume.');
}
this.dispatchEvent({'target': this, 'type': 'onResume'});
if (this._nTimeCache != -1) {
_global.clearInterval(this._nDelay);
this._nTimeCache = getTimer() + this._nTimeCache;
this._nDelay = _global.setInterval(com.techsmith.utils.Delegate.create(this, this.playCurrentItem), this._nTimeCache, true);
}
(com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).pause(true);
};
v1.advance = function (wasTriggered, silentStop) {
var v4 = false;
if (this._nIndex == this.length - 1) {
var v5 = this.length - 1;
goto 10172;
for (;;) {
--v5;
label 10172:
if (v5 <= -1) break;
if ((com.mosesSupposes.fuse.FuseItem(this[v5]))._nPlaying > -1) {
return undefined;
}
}
v4 = true;
}
if (wasTriggered == true && v4 == false) {
return undefined;
}
if (this[this._nIndex] instanceof com.mosesSupposes.fuse.Fuse) {
(com.mosesSupposes.fuse.Fuse(this[this._nIndex])).removeEventListener('onComplete', this._oDel1);
}
if (++this._nIndex >= this.length) {
this.stop(silentStop);
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('-Fuse#' + String(this._nID) + ' complete.');
}
this.dispatchEvent({'target': this, 'type': 'onComplete'});
if (this.autoClear == true || this.autoClear !== false && com.mosesSupposes.fuse.Fuse.AUTOCLEAR == true) {
this.destroy();
}
return undefined;
}
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('-Fuse#' + String(this._nID) + ' advance: ' + this._nIndex);
}
this.dispatchEvent({'target': this, 'type': 'onAdvance'});
this.playCurrentItem();
};
v1.playCurrentItem = function (postDelay) {
_global.clearInterval(this._nDelay);
if (postDelay !== true) {
var v3 = (com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).evalDelay(this.scope) || 0;
if (v3 > 0) {
this._nTimeCache = getTimer() + v3 * 1000;
this._nDelay = _global.setInterval(com.techsmith.utils.Delegate.create(this, this.playCurrentItem), v3 * 1000, true);
return undefined;
}
}
this._nDelay = -1;
this._nTimeCache = -1;
if (this[this._nIndex] instanceof com.mosesSupposes.fuse.Fuse) {
if (this._oDel1 == null) {
this._oDel1 = com.techsmith.utils.Delegate.create(this, this.advance);
}
(com.mosesSupposes.fuse.Fuse(this[this._nIndex])).addEventListener('onComplete', this._oDel1);
}
var v4 = (com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).startItem(this._aDefaultTargs, this.scope);
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) {
com.mosesSupposes.fuse.FuseKitCommon.output('-Fuse#' + String(this._nID) + ' props tweened: ' + v4);
}
};
v1.evtSetStart = function (o) {
this.setStartProps.apply(this, o.filter);
};
v1.startItem = function (targs, scope) {
if (this.target == null) {
this.target = targs;
}
if (scope == null) {
scope = scope;
}
this.start();
};
_global.com.mosesSupposes.fuse.Fuse.open = function (fuseOrID) {
var v3 = _global.com.mosesSupposes.fuse.ZigoEngine;
if (v3 == undefined) {
com.mosesSupposes.fuse.FuseKitCommon.error('106');
return null;
} else {
v3.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.FuseItem);
}
if (com.mosesSupposes.fuse.Fuse._oBuildMode == null) {
com.mosesSupposes.fuse.Fuse._oBuildMode = {'curID': -1, 'prevID': -1, 'curGroup': null};
} else {
if (com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1) {
com.mosesSupposes.fuse.Fuse.close();
}
}
if (fuseOrID != null) {
if (fuseOrID instanceof com.mosesSupposes.fuse.Fuse) {
com.mosesSupposes.fuse.Fuse._oBuildMode.curID = fuseOrID.id;
} else {
if (com.mosesSupposes.fuse.Fuse.getInstance(fuseOrID) != null) {
com.mosesSupposes.fuse.Fuse._oBuildMode.curID = (com.mosesSupposes.fuse.Fuse.getInstance(fuseOrID)).id;
} else {
com.mosesSupposes.fuse.FuseKitCommon.error('107');
return null;
}
}
com.mosesSupposes.fuse.Fuse._oBuildMode.prevID = com.mosesSupposes.fuse.Fuse._oBuildMode.curID;
return com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID);
}
com.mosesSupposes.fuse.Fuse._oBuildMode.curID = (new com.mosesSupposes.fuse.Fuse()).id;
com.mosesSupposes.fuse.Fuse._oBuildMode.prevID = com.mosesSupposes.fuse.Fuse._oBuildMode.curID;
return com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID);
};
_global.com.mosesSupposes.fuse.Fuse.openGroup = function (fuseOrID) {
if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) {
com.mosesSupposes.fuse.Fuse.open(fuseOrID);
com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup = new Array();
return com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID);
}
if (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null) {
com.mosesSupposes.fuse.Fuse.closeGroup();
}
com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup = new Array();
return com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID);
};
_global.com.mosesSupposes.fuse.Fuse.closeGroup = function () {
if (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup == null || !(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) {
return undefined;
}
(com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID)).push(com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup);
com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup = null;
};
_global.com.mosesSupposes.fuse.Fuse.close = function () {
if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) {
return undefined;
}
if (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null) {
com.mosesSupposes.fuse.Fuse.closeGroup();
}
com.mosesSupposes.fuse.Fuse._oBuildMode.curID = -1;
};
_global.com.mosesSupposes.fuse.Fuse.closeAndStart = function (setStart) {
if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) {
return undefined;
}
var v3 = com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID);
com.mosesSupposes.fuse.Fuse.close();
v3.start.apply(v3, arguments);
};
_global.com.mosesSupposes.fuse.Fuse.startRecent = function (setStart) {
var v3 = com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.prevID);
if (v3 != null) {
v3.start.apply(v3, arguments);
} else {
com.mosesSupposes.fuse.FuseKitCommon.error('108');
}
};
_global.com.mosesSupposes.fuse.Fuse.addCommand = function (commandOrScope, indexOrFunc, argument) {
if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) {
return undefined;
}
var v5 = (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null) ? com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup : com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID);
if (typeof super == 'string') {
if (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null && super != 'delay') {
com.mosesSupposes.fuse.FuseKitCommon.error('109', String(super));
return undefined;
}
var v6 = '|delay|start|stop|pause|resume|skipTo|setStartProps|';
if (v6.indexOf('|' + super + '|') == -1 || (super == 'skipTo' || super == 'delay') && indexOrFunc == undefined) {
if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error('110', String(super));
}
} else {
v5.push({'__buildMode': true, 'command': super, 'commandargs': indexOrFunc});
}
} else {
v5.push({'__buildMode': true, 'scope': super, 'func': indexOrFunc, 'args': arguments.slice(2)});
}
};
_global.com.mosesSupposes.fuse.Fuse.addBuildItem = function (args) {
if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) {
return false;
}
var v3 = (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null) ? com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup : com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID);
if (args.length == 1 && typeof args[0] == 'object') {
v3.push(args[0]);
return true;
}
v3.push({'__buildMode': true, 'tweenargs': args});
return true;
};
_global.com.mosesSupposes.fuse.Fuse.registerInstance = function (s) {
if (com.mosesSupposes.fuse.Fuse._aInstances == null) {
com.mosesSupposes.fuse.Fuse._aInstances = new Array();
}
return com.mosesSupposes.fuse.Fuse._aInstances.push(s) - 1;
};
_global.com.mosesSupposes.fuse.Fuse.removeInstanceAt = function (id, isDestroyCall) {
if (isDestroyCall != true) {
(com.mosesSupposes.fuse.Fuse(com.mosesSupposes.fuse.Fuse._aInstances[id])).destroy();
}
delete com.mosesSupposes.fuse.Fuse._aInstances[id];
};
v1.addProperty('target', v1.__get__target, v1.__set__target);
v1.addProperty('currentLabel', v1.__get__currentLabel, function () {});
v1.addProperty('currentIndex', v1.__get__currentIndex, function () {});
v1.addProperty('state', v1.__get__state, function () {});
v1.addProperty('id', v1.__get__id, function () {});
_global.com.mosesSupposes.fuse.Fuse implements com.techsmith.events.IEventDispatcher;
ASSetPropFlags(v1, null, 1);
_global.com.mosesSupposes.fuse.Fuse.registryKey = 'fuse';
_global.com.mosesSupposes.fuse.Fuse.VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION;
_global.com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL = 1;
_global.com.mosesSupposes.fuse.Fuse.AUTOCLEAR = false;
v1.autoClear = false;
v1._sState = 'stopped';
v1._nDelay = -1;
v1._nTimeCache = -1;
_global.com.mosesSupposes.fuse.Fuse._aInstances = null;
_global.com.mosesSupposes.fuse.Fuse._oBuildMode = null;
}
#endinitclip
}
movieClip 20596 __Packages.com.brooksandrus.ui.ProgressSlider {
#initclip
if (!com.brooksandrus.ui.ProgressSlider) {
if (!com) {
_global.com = new Object();
}
if (!com.brooksandrus) {
_global.com.brooksandrus = new Object();
}
if (!com.brooksandrus.ui) {
_global.com.brooksandrus.ui = new Object();
}
_global.com.brooksandrus.ui.ProgressSlider = function () {
super();
};
_global.com.brooksandrus.ui.ProgressSlider extends com.techsmith.ui.Component;
var v1 = _global.com.brooksandrus.ui.ProgressSlider.prototype;
_global.com.brooksandrus.ui.ProgressSlider.create = function (container, name, depth, init) {
Object.registerClass('ProgressSlider', com.brooksandrus.ui.ProgressSlider);
var v6 = container.attachMovie('ProgressSlider', name, depth, init);
return com.brooksandrus.ui.ProgressSlider(v6);
};
v1.init = function (baseDim, baseStyle, baseRect, fillDim, fillStyle, fillRect) {
this.progBar = com.brooksandrus.ui.ProgressBar.create(this, 'progBar', 2);
this.progBar.init(baseDim, baseStyle, baseRect, fillDim, fillStyle, fillRect);
this.thumb = com.techsmith.ui.BasicButton.create(this, 'thumb', 4);
this.thumb.init(new com.techsmith.ui.ButtonStyle(this.thumbStyleShortcut, null, false));
this.clickTrack = com.techsmith.ui.SliderTrack.create(this, 'clickTrack', 3);
this.clickTrack.init(new com.techsmith.utils.Dimension(fillDim.width, this.thumb.height));
this.initThumbPosition();
this.registerListeners();
this.setupMaxConstraints();
this.constraints = {};
for (var i in this.maxConstraints) {
this.constraints[i] = this.maxConstraints[i];
}
};
v1.registerListeners = function () {
this.clickTrack.addEventListener(com.techsmith.events.Events.MOUSE_PRESS, com.techsmith.utils.Delegate.create(this, this.trackPressHandler));
this.clickTrack.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.thumbDragStopHandler));
this.thumb.addEventListener(com.techsmith.events.Events.MOUSE_PRESS, com.techsmith.utils.Delegate.create(this, this.thumbDragStartHandler));
this.thumb.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE, com.techsmith.utils.Delegate.create(this, this.thumbDragStopHandler));
this.thumb.addEventListener(com.techsmith.events.Events.MOUSE_RELEASE_OUT, com.techsmith.utils.Delegate.create(this, this.thumbDragStopHandler));
};
v1.initThumbPosition = function () {
this.progBar.move(0, (this.thumb._height - this.progBar._height) / 2);
var v2 = this.progBar.getDimensions();
var v3 = this.progBar.getInnerTrackDimensions();
var v4 = this.progBar.getLocation();
var v5 = this.progBar.getInnerTrackLocation();
var v6 = new com.techsmith.utils.Dimension(v3.width, v2.height);
var v7 = new com.techsmith.utils.Point(v5.x, v5.y);
var v8 = this.thumb.getDimensions();
var v9 = v8.width / 2;
var v10 = v7.x - v9;
var v11 = v4.y - (v8.height - v6.height) / 2;
this.thumb.move(v10, v11);
this.clickTrack.move(v7.x + (this.progBar.getInnerTrackLocation()).x, v11);
};
v1.setupMaxConstraints = function () {
var v2 = this.progBar.getDimensions();
var v3 = this.progBar.getInnerTrackDimensions();
var v4 = this.progBar.getLocation();
var v5 = this.progBar.getInnerTrackLocation();
var v6 = new com.techsmith.utils.Dimension(v3.width, v2.height);
var v7 = new com.techsmith.utils.Point(v5.x, v5.y);
var v8 = this.thumb.getDimensions();
var v9 = v8.width / 2;
var v10 = v7.x - v9;
var v11 = v4.y - (v8.height - v6.height) / 2;
var v12 = v7.x + v6.width - v9;
this.maxConstraints = {'left': v10, 'top': v11, 'right': v12, 'bottom': v11, 'width': Math.abs(v10) + v12, 'height': Math.abs(v11) * 2};
};
v1.setConstraints = function (percent) {
var v3 = (this.thumb.getDimensions()).width / 2;
var v4 = (this.progBar.getInnerTrackDimensions()).width;
var v5 = (this.progBar.getInnerTrackLocation()).x;
var v6 = (percent / 100) * v4;
var v7 = v5 + v6 - v3;
this.constraints.right = v7;
};
v1.dragDispatcher = function () {
var v2 = this.thumb._x;
if (this.constraints.left < 0) {
v2 += Math.abs(this.constraints.left);
}
var v3 = v2 / this.constraints.width;
var v4 = (v2 / this.constraints.width) * 100;
this.dispatchEvent({'type': com.techsmith.events.Events.PROGRESS, 'target': this, 'percent': v4, 'fractPercent': v3});
};
v1.setEventSource = function (source) {
source.addEventListener(com.techsmith.events.Events.PROGRESS, com.techsmith.utils.Delegate.create(this, this.setProgress));
};
v1.setProgress = function (e) {
this.progBar.setProgress({'percent': e.percent});
this.setConstraints(e.percent);
};
v1.setPosition = function (percent) {
var v3 = Math.abs(this.constraints.left) + Math.abs(this.maxConstraints.right);
var v4 = (percent / 100) * v3;
if (this.constraints.left < 0) {
v4 += this.constraints.left;
}
this.thumb.move(v4, this.thumb._y);
};
v1.trackPressHandler = function (e) {
var v3 = e.percent;
var v4 = (this.constraints.right / this.maxConstraints.right) * 100;
if (v3 > v4) {
return undefined;
}
var v5 = Math.abs(this.constraints.left) + Math.abs(this.maxConstraints.right);
var v6 = e.fraction * v5;
if (this.constraints.left < 0) {
v6 += this.constraints.left;
}
if (v6 <= this.constraints.right) {
this.thumb.move(v6, this.thumb._y);
}
this.thumbDragStartHandler({'target': this.progBar, 'type': com.techsmith.events.Events.MOUSE_PRESS});
};
v1.thumbDragStartHandler = function (e) {
if (this.constraints != null) {
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.DRAG_START});
this.thumb.startDrag(false, this.constraints.left, this.constraints.top, this.constraints.right, this.constraints.bottom);
this.thumb.onEnterFrame = com.techsmith.utils.Delegate.create(this, this.dragDispatcher);
}
};
v1.thumbDragStopHandler = function (e) {
this.stopDrag();
delete this.thumb.onEnterFrame;
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.DRAG_STOP});
};
v1.__get__width = function () {
return this.progBar.width;
};
v1.getDimensions = function () {
return new com.techsmith.utils.Dimension(this.width, this.height);
};
v1.addProperty('width', v1.__get__width, function () {});
ASSetPropFlags(v1, null, 1);
v1.progBar = null;
v1.clickTrack = null;
v1.thumb = null;
v1.thumbStyle = null;
v1.constraints = null;
v1.dimensions = null;
v1.maxConstraints = null;
v1.thumbStyleShortcut = 'SliderThumb';
}
#endinitclip
}
movieClip 20597 __Packages.com.mosesSupposes.fuse.ZManager {
#initclip
if (!com.mosesSupposes.fuse.ZManager) {
if (!com) {
_global.com = new Object();
}
if (!com.mosesSupposes) {
_global.com.mosesSupposes = new Object();
}
if (!com.mosesSupposes.fuse) {
_global.com.mosesSupposes.fuse = new Object();
}
_global.com.mosesSupposes.fuse.ZManager = function () {
this.tweens = {};
this.numTweens = 0;
};
var v1 = _global.com.mosesSupposes.fuse.ZManager.prototype;
v1.addTween = function (obj, props, endvals, seconds, ease, delay, callback) {
var v9 = (callback.skipLevel == undefined) ? 0 : callback.skipLevel;
var v10 = (callback.cycles == undefined) ? 1 : callback.cycles;
var v11 = callback.extra1;
var v12 = callback.extra2;
var v13 = [];
var v14 = _global.com.mosesSupposes.fuse.FuseFMP;
var v15 = String('|' + (v14.getAllShortcuts()).join('|') + '|');
var v16 = com.mosesSupposes.fuse.FuseKitCommon._cts();
var v17 = '';
var v18 = '';
var v19 = this.tweens[String(obj.__zigoID__)];
if (v19 != undefined && com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP == true) {
if (obj._listeners.length > 0) {
for (var j in v19.props) {
v13.unshift(j);
}
}
v19.numProps = 0;
this.cleanUp(true);
}
for (var i in props) {
var v20 = props[i];
var v21 = v16.indexOf('|' + v20 + '|') > -1;
var v22 = v19.colorProp;
if (v19 != undefined) {
if (v21 == true && v22 != undefined) {
v13.unshift(v22);
delete v19.props[v22];
delete v19.colorProp;
--v19.numProps;
} else {
if (v19.props[v20] != undefined) {
v13.unshift(v20);
delete v19[v20];
--v19.numProps;
}
}
}
var v23 = {'c': -1, 'fmp': -1};
var v24 = endvals[i];
var v25 = v9 == 0 && seconds + delay == 0 || v9 > 0 && seconds == 0;
var v26 = false;
var v27 = v14 != undefined && v15.indexOf('|' + v20 + '|') > -1;
if (v27 == true) {
v23.fmp = v14;
v23.ps = v14.getFilterProp(obj, v20, true);
v23.special = true;
}
if (v21 == true || v27 == true && (v20.indexOf('lor') > -1 && (v20.charAt(2) != 'l' && v25 == false))) {
if (v21 == true) {
v23.c = new Color(obj);
v23.ps = v23.c.getTransform();
if (v20 != '_colorTransform') {
var v28 = (v20 == '_tint' || (v20 == '_tintPercent' || v20 == '_colorReset')) ? 'tint' : v20.slice(1);
var v29 = null;
var v30 = null;
if (v28 == 'tint') {
if (typeof v24 == 'object') {
v30 = v24.tint;
v29 = (_global.isNaN(v24.percent) == true) ? 100 : v24.percent;
} else {
if (v20 == '_tintPercent' || v20 == '_colorReset') {
var v31 = (com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)).tintPercent;
v29 = (typeof v24 == 'string') ? (v31 || 0) + Number(v24) : Number(v24);
v29 = Math.max(0, Math.min(v29, 100));
if (v20 == '_colorReset') {
v29 = Math.min(v31, 100 - v29);
}
v30 = (com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)).tint || 0;
} else {
v30 = v24;
v29 = 100;
}
}
} else {
v29 = (typeof v24 == 'string') ? ((com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj))[v28] || 0) + Number(v24) : v24;
}
v24 = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(v28, v29, v30);
}
} else {
v23.c = 1;
v23.ps = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj('tint', 100, v23.ps);
v24 = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj('tint', 100, v24);
}
if (v25 == true) {
v23.c.setTransform(v24);
} else {
v23.ch = {};
for (var j in v24) {
if ((v23.c === 1 && j.charAt(1) == 'b' || v24[j] != v23.ps[j]) && (v24[j] != null && _global.isNaN(Number(v24[j])) == false)) {
v23.ch[j] = (typeof v24[j] == 'string') ? Number(v24[j]) : v24[j] - v23.ps[j];
if (_global.isNaN(v23.ch[j]) == true) {
v23.ch[j] = 0;
} else {
if (v23.ch[j] != 0) {
v26 = true;
}
}
}
}
}
} else {
if (v20 == '_bezier_') {
this.removeTween(obj, '_x,_y', true);
if (v25 == true) {
if (v24.x != null && _global.isNaN(Number(v24.x)) == false) {
obj._x = (typeof v24.x == 'string') ? obj._x + Number(v24.x) : v24.x;
}
if (v24.y != null && _global.isNaN(Number(v24.y)) == false) {
obj._y = (typeof v24.y == 'string') ? obj._y + Number(v24.y) : v24.y;
}
} else {
v23.special = true;
v23.ps = 0;
v23.ch = 1;
v23.bz = {'sx': obj._x, 'sy': obj._y};
if (v24.x == null || _global.isNaN(Number(v24.x))) {
v24.x = v23.bz.sx;
}
if (v24.y == null || _global.isNaN(Number(v24.y))) {
v24.y = v23.bz.sy;
}
v23.bz.chx = (typeof v24.x == 'string') ? Number(v24.x) : v24.x - v23.bz.sx;
if (_global.isNaN(v23.bz.chx) == true) {
v23.bx.chx = 0;
}
v23.bz.chy = (typeof v24.y == 'string') ? Number(v24.y) : v24.y - v23.bz.sy;
if (_global.isNaN(v23.bz.chy) == true) {
v23.bx.chy = 0;
}
if (v24.controlX == null || _global.isNaN(Number(v24.controlX))) {
v23.bz.ctrlx = v23.bz.sx + v23.bz.chx / 2;
} else {
v23.bz.ctrlx = (typeof v24.controlX == 'string') ? v23.bz.sx + Number(v24.controlX) : v24.controlX;
}
if (v24.controlY == null || _global.isNaN(Number(v24.controlY))) {
v23.bz.ctrly = v23.bz.sy + v23.bz.chy / 2;
} else {
v23.bz.ctrly = (typeof v24.controlY == 'string') ? v23.bz.sy + Number(v24.controlY) : v24.controlY;
}
v23.bz.ctrlx -= v23.bz.sx;
v23.bz.ctrly -= v23.bz.sy;
v26 = v23.bz.chx + v23.bz.chy != 0;
}
} else {
if (v20 == '_x' || v20 == '_y') {
this.removeTween(obj, '_bezier_', true);
}
if (v20 == '_frame' && typeof obj == 'movieclip') {
v23.ps = obj._currentframe;
v23.special = true;
} else {
if (v27 == false) {
v23.ps = obj[v20];
}
}
if (v25 == true) {
v24 = (typeof v24 == 'string') ? v23.ps + Number(v24) : v24;
if (v27 == true) {
v14.setFilterProp(obj, v20, v24);
} else {
obj[v20] = v24;
}
} else {
if (v24 == null || _global.isNaN(Number(v24))) {
v24 = v23.ps;
}
v23.ch = (typeof v24 == 'string') ? Number(v24) : Number(v24) - v23.ps;
if (_global.isNaN(v23.ch) == true) {
v23.ch = 0;
}
v26 = v23.ch != 0;
}
}
}
if (v9 == 0 && (v26 == true || v25 == false) || v26 == true && v25 == false) {
v23.ts = this.now + delay * 1000;
v23.pt = -1;
v23.d = seconds * 1000;
v23.ef = ease;
v23.sf = false;
v23.cycles = v10;
if (v11 != undefined) {
v23.e1 = v11;
}
if (v12 != undefined) {
v23.e2 = v12;
}
if (callback.start != undefined) {
v23.scb = callback.start;
}
if (callback.upd != undefined) {
v23.ucb = callback.upd;
}
if (callback.end != undefined) {
v23.ecb = callback.end;
}
if (this.tweens[String(obj.__zigoID__)] == undefined) {
this.tweens[String(obj.__zigoID__)] = {'numProps': 0, 'locked': false, 'targ': obj, 'targID': String('"' + ((obj._name != undefined) ? obj._name : obj.toString()) + '"'), 'targZID': obj.__zigoID__, 'props': {}};
v19 = this.tweens[String(obj.__zigoID__)];
++this.numTweens;
}
if (v21 == true) {
v19.colorProp = v20;
}
v19.props[v20] = v23;
++v19.numProps;
v17 = v20 + ',' + v17;
v18 = ((typeof v24 == 'string') ? '"' + v24 + '"' : v24) + ',' + v18;
}
}
if (v19 == undefined || v19.numProps <= 0) {
this.cleanUp();
}
if (v13.length > 0 && com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) {
com.mosesSupposes.fuse.ZigoEngine.broadcastMessage('onTweenInterrupt', {'target': obj, 'props': v13, '__zigoID__': obj.__zigoID__});
}
if (v17 == '') {
if (v9 == 2) {
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) {
com.mosesSupposes.fuse.FuseKitCommon.error('011', (obj._name != undefined) ? obj._name : obj.toString(), props.toString());
}
} else {
var v32 = obj._listeners.length > 0;
if (v32 == true) {
obj.broadcastMessage('onTweenStart', {'target': obj, 'props': props});
}
if (callback.start != undefined) {
callback.start.f.apply(callback.start.s, callback.start.a);
}
if (v32 == true) {
obj.broadcastMessage('onTweenUpdate', {'target': obj, 'props': props});
}
if (callback.upd != undefined) {
callback.upd.f.apply(callback.upd.s, callback.upd.a);
}
if (v32 == true) {
obj.broadcastMessage('onTweenEnd', {'target': obj, 'props': props});
}
if (callback.end != undefined) {
callback.end.f.apply(callback.end.s, callback.end.a);
}
}
this.cleanUp();
}
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) {
if (v17 == '') {
com.mosesSupposes.fuse.FuseKitCommon.error('012', (obj._name != undefined) ? obj._name : obj.toString(), props.toString(), endvals.toString());
} else {
com.mosesSupposes.fuse.FuseKitCommon.error('013', (obj._name != undefined) ? obj._name : obj.toString(), v17.slice(0, -1), v18.slice(0, -1));
}
}
return (v17 == '') ? null : v17.slice(0, -1);
};
v1.removeTween = function (targs, props, noInit) {
var v5 = {};
var v6 = this.paramsObj(targs, props);
if (v6.none == true) {
return undefined;
}
var v7 = v6.all;
var v8 = v6.allprops;
var v9 = (v7 == true) ? this.tweens : Object(v6.tg);
var v10 = false;
for (var j in v9) {
var v11 = (v7 == true) ? j : String(v9[j].__zigoID__);
var v12 = this.tweens[v11];
var v13 = (v8 == true) ? v12.props : v6.props;
for (var i in v13) {
var v14 = i == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR && v12.colorProp != undefined;
if (v12.props[i] != undefined || v14 == true) {
if (v5[v11] == null) {
v5[v11] = [];
}
v5[v11].unshift(i);
if (i == v12.colorProp || v14 == true) {
delete v12.props[v12.colorProp];
delete v12.colorProp;
} else {
delete v12.props[i];
}
--v12.numProps;
if (v12.numProps <= 0) {
v10 = true;
break;
}
}
}
}
if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) {
for (var k in v5) {
var v15 = this.tweens[k].targ;
com.mosesSupposes.fuse.ZigoEngine.broadcastMessage('onTweenInterrupt', {'target': (typeof v15.addProperty == 'function') ? v15 : '[MISSING("' + this.tweens[k].targID + '")]', 'props': v5[k], '__zigoID__': this.tweens[k].targZID});
}
}
if (v10 == true) {
this.cleanUp(noInit);
}
};
v1.alterTweens = function (type, targs, props, pauseFlag, suppressStartEvents) {
if (type == 'lock') {
this.tweens[String(targs.__zigoID__)].locked = props == true;
return undefined;
}
var v7 = this.paramsObj(targs, props);
if (v7.none == true) {
return undefined;
}
var v8 = v7.all;
var v9 = v7.allprops;
var v10 = (v8 == true) ? this.tweens : Object(v7.tg);
var v11 = 0;
for (var j in v10) {
var v12 = (v8 == true) ? j : String(v10[j].__zigoID__);
var v13 = this.tweens[v12];
var v14 = (v9 == true) ? v13.props : v7.props;
if (v14.ALLCOLOR == true) {
v14[v13.colorProp] = true;
delete v14.ALLCOLOR;
}
for (var prop in v14) {
++v11;
var v15 = v13.props[prop];
if (type == 'rewind') {
if (pauseFlag == true) {
v15.pt = this.now;
}
v15.ts = this.now;
if (suppressStartEvents != true) {
v15.sf = false;
if (v15.scb != undefined) {
v15.scb.fired = false;
}
}
} else {
if (type == 'ff') {
v15.pt = -1;
v15.ts = this.now - v15.d;
} else {
if (type == 'pause') {
if (v15.pt == -1) {
v15.pt = this.now;
}
} else {
if (type == 'unpause') {
if (v15.pt != -1) {
v15.ts = this.now - (v15.pt - v15.ts);
v15.pt = -1;
}
}
}
}
}
}
}
if (type == 'ff' && v11 > 0) {
this.update();
} else {
if (type == 'rewind' && v11 > 0) {
this.update(true);
}
}
};
v1.getStatus = function (type, targ, param) {
if (targ == null) {
return null;
}
var v5 = (String(targ)).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL;
var v6 = this.tweens[String(targ.__zigoID__)];
switch (type) {
case 'paused':
var v7 = v6.props;
if (param != null) {
if (v7[String(param)] == undefined) {
return false;
}
return v7[String(param)].pt != -1;
}
for (var i in v7) {
if (v7[i].pt != -1) {
return true;
}
}
return false;
case 'active':
if (param == null) {
return v6 != undefined;
}
if ((String(param)).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) {
return v6.colorProp != undefined;
}
return v6.props[String(param)] != undefined;
case 'count':
if (!v5) {
return v6.numProps;
}
var v8 = 0;
for (var i in this.tweens) {
v8 += this.tweens[i].numProps;
}
return v8;
case 'locked':
return v6.locked;
}
};
v1.update = function (force) {
var v3 = {};
var v4 = {};
var v5 = {};
var v6 = {};
var v7 = {};
var v8 = {};
var v9 = false;
var v10 = com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS;
for (var i in this.tweens) {
var v11 = this.tweens[i];
var v12 = v11.targ;
var v13 = v11.props;
var v14 = v12._listeners.length > 0;
if (v12.__zigoID__ == undefined) {
v9 = true;
if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) {
var v15 = [];
for (var prop in v13) {
v15.unshift(prop);
}
com.mosesSupposes.fuse.ZigoEngine.broadcastMessage('onTweenInterrupt', {'target': (typeof v12.addProperty == 'function') ? v12 : '[MISSING:' + v11.targID + ']', 'props': v15, '__zigoID__': v11.targZID});
}
continue;
}
for (var prop in v13) {
var v16 = v13[prop];
if ((v16.ts > this.now || v16.pt != -1) && force != true) {
continue;
}
var v17 = this.now >= v16.ts + v16.d;
if (v16.c == -1) {
if (v17 == true) {
var v18 = v16.ps + v16.ch;
if (v16.cycles > 1 || v16.cycles == 0) {
if (v16.cycles > 1) {
--v16.cycles;
}
v16.ps = v18;
v16.ch = -v16.ch;
v16.ts = this.now;
v17 = false;
}
} else {
var v18 = v16.ef(this.now - v16.ts, v16.ps, v16.ch, v16.d, v16.e1, v16.e2);
}
if (_global.isNaN(v18) == false) {
if (v10 == true) {
v18 = Math.round(Number(v18));
}
if (v16.special != true) {
v12[prop] = v18;
} else {
if (v16.fmp != -1) {
v16.fmp.setFilterProp(v12, prop, v18);
} else {
if (prop == '_bezier_') {
var v19 = v16.bz;
v12._x = v19.sx + v18 * (2 * (1 - v18) * v19.ctrlx + v18 * v19.chx);
v12._y = v19.sy + v18 * (2 * (1 - v18) * v19.ctrly + v18 * v19.chy);
} else {
if (prop == '_frame') {
(MovieClip(v12)).gotoAndStop(Math.round(v18));
}
}
}
}
}
} else {
var v20 = {};
var v21 = v17 == true && (v16.cycles > 1 || v16.cycles == 0);
for (var j in v16.ch) {
var v22 = v16.ch[j];
if (v17 == true) {
v20[j] = v16.ps[j] + v22;
if (v21 == true) {
v16.ch[j] = -v22;
}
} else {
v20[j] = v16.ef(this.now - v16.ts, v16.ps[j], v22, v16.d, v16.e1, v16.e2);
}
if (_global.isNaN(v20[j]) == false) {
if (v10 == true) {
v20[j] = Math.round(v20[j]);
}
if (v16.fmp == -1) {
v16.c.setTransform(v20);
} else {
var v23 = v20.rb << 16 | v20.gb << 8 | v20.bb;
v16.fmp.setFilterProp(v12, prop, v23);
}
}
}
if (v21 == true) {
if (v16.cycles > 1) {
--v16.cycles;
}
v17 = false;
v16.ts = this.now;
v16.ps = v20;
}
}
if (v16.sf == false) {
if (v14 == true) {
if (v6[i] == undefined) {
v6[i] = [v12, []];
}
v6[i][1].unshift(prop);
}
v16.sf = true;
}
if (v16.scb.fired == false) {
v3[String(v16.scb.id)] = v16.scb;
v16.scb.fired = true;
}
if (v14 == true) {
if (v7[i] == undefined) {
v7[i] = [v12, []];
}
v7[i][1].unshift(prop);
}
if (v16.ucb != undefined) {
v4[String(v16.ucb.id)] = v16.ucb;
}
if (v17 == true) {
if (v14 == true) {
if (v8[i] == undefined) {
v8[i] = [v12, []];
}
v8[i][1].unshift(prop);
}
if (v16.ecb != undefined) {
v5[String(v16.ecb.id)] = v16.ecb;
}
delete v13[prop];
if (prop == v11.colorProp) {
delete v11.colorProp;
}
--v11.numProps;
if (v11.numProps <= 0) {
v9 = true;
}
}
}
}
for (var i in v6) {
v6[i][0].broadcastMessage('onTweenStart', {'target': v6[i][0], 'props': v6[i][1]});
}
for (var i in v3) {
v3[i].f.apply(v3[i].s, v3[i].a);
}
for (var i in v7) {
v7[i][0].broadcastMessage('onTweenUpdate', {'target': v7[i][0], 'props': v7[i][1]});
}
for (var i in v4) {
v4[i].f.apply(v4[i].s, v4[i].a);
}
for (var i in v8) {
v8[i][0].broadcastMessage('onTweenEnd', {'target': v8[i][0], 'props': v8[i][1]});
}
for (var i in v5) {
v5[i].f.apply(v5[i].s, v5[i].a);
}
if (v9) {
this.cleanUp();
}
this.now = getTimer();
};
v1.cleanUp = function (noInit) {
for (var i in this.tweens) {
var v3 = this.tweens[i].targ;
if (this.tweens[i].numProps <= 0 || v3.__zigoID__ == undefined) {
if (v3 != undefined && (v3.tween == undefined && noInit != true)) {
com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets(v3);
}
delete this.tweens[i];
--this.numTweens;
}
}
if (this.numTweens <= 0) {
this.numTweens = 0;
delete this.tweens;
this.tweens = {};
if (noInit != true) {
com.mosesSupposes.fuse.ZigoEngine.__mgrRelay(this, 'setup', [true]);
}
}
};
v1.paramsObj = function (targs, props, endvals) {
var v5 = {};
v5.all = (String(targs)).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL;
v5.none = targs == null;
if (v5.all == true) {
v5.tg = [null];
} else {
v5.tg = targs instanceof Array ? targs : [targs];
for (var i in v5.tg) {
var v6 = v5.tg[i];
if (v6 == null || !(typeof v6 == 'object' || typeof v6 == 'movieclip')) {
v5.tg.splice(Number(i), 1);
}
}
}
v5.allprops = props == null;
var v9 = {};
if (v5.allprops == false) {
if (typeof props == 'string' && ((String(props)).indexOf(' ') > -1 || (String(props)).indexOf(',') > -1)) {
props = (String((props.split(' ')).join(''))).split(',');
}
var v7 = props instanceof Array ? props.slice() : [props];
if (endvals != undefined) {
if (typeof endvals == 'string' && ((String(endvals)).indexOf(' ') > -1 || (String(endvals)).indexOf(',') > -1)) {
endvals = (String((endvals.split(' ')).join(''))).split(',');
}
var v8 = endvals instanceof Array ? endvals.slice() : [endvals];
while (v8.length < v7.length) {
v8.push(v8[v8.length - 1]);
}
v8.splice(v7.length, v8.length - v7.length);
}
for (var i in v7) {
var v10 = Number(i);
if (v7[i] != '_scale' && v7[i] != '_size') {
if (v9[v7[i]] == undefined) {
if ((String(v7[i])).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) {
v7[i] = com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR;
}
v9[v7[i]] = true;
} else {
v7.splice(v10, 1);
v8.splice(v10, 1);
}
} else {
var v11 = String((v7.splice(v10, 1))[0]);
var v12 = (v8.splice(v10, 1))[0];
if (v11 == '_scale') {
if (v9._xscale == undefined) {
v7.splice(v10, 0, '_xscale');
v8.splice(v10, 0, v12);
v9._xscale = true;
++v10;
}
if (v9._yscale == undefined) {
v7.splice(v10, 0, '_yscale');
v8.splice(v10, 0, v12);
v9._yscale = true;
}
}
if (v11 == '_size') {
if (v9._width == undefined) {
v7.splice(v10, 0, '_width');
v8.splice(v10, 0, v12);
v9._width = true;
++v10;
}
if (v9._yscale == undefined) {
v7.splice(v10, 0, '_height');
v8.splice(v10, 0, v12);
v9._height = true;
}
}
}
}
for (var i in v7) {
if (v7[i] == '_xscale' && v9._width == true || v7[i] == '_yscale' && v9._height == true) {
v7.splice(Number(i), 1);
v8.splice(Number(i), 1);
delete v9[v7[i]];
}
}
}
v5.pa = v7;
v5.va = v8;
v5.props = v9;
return v5;
};
ASSetPropFlags(v1, null, 1);
v1.numTweens = 0;
}
#endinitclip
}
movieClip 20598 __Packages.com.techsmith.xskin.ui.panels.styles.BlackOutline {
#initclip
if (!com.techsmith.xskin.ui.panels.styles.BlackOutline) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
if (!com.techsmith.xskin.ui.panels.styles) {
_global.com.techsmith.xskin.ui.panels.styles = new Object();
}
_global.com.techsmith.xskin.ui.panels.styles.BlackOutline = function () {
super('XSBlackOutlinePanelTL', 'XSBlackOutlinePanelTM', 'XSBlackOutlinePanelTR', 'XSBlackOutlinePanelCL', 'XSBlackOutlinePanelCM', 'XSBlackOutlinePanelCR', 'XSBlackOutlinePanelBL', 'XSBlackOutlinePanelBM', 'XSBlackOutlinePanelBR');
};
_global.com.techsmith.xskin.ui.panels.styles.BlackOutline extends com.techsmith.ui.panels.PanelStyle;
var v1 = _global.com.techsmith.xskin.ui.panels.styles.BlackOutline.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20599 __Packages.com.techsmith.xskin.ui.panels.styles.WhiteExploded {
#initclip
if (!com.techsmith.xskin.ui.panels.styles.WhiteExploded) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.xskin) {
_global.com.techsmith.xskin = new Object();
}
if (!com.techsmith.xskin.ui) {
_global.com.techsmith.xskin.ui = new Object();
}
if (!com.techsmith.xskin.ui.panels) {
_global.com.techsmith.xskin.ui.panels = new Object();
}
if (!com.techsmith.xskin.ui.panels.styles) {
_global.com.techsmith.xskin.ui.panels.styles = new Object();
}
_global.com.techsmith.xskin.ui.panels.styles.WhiteExploded = function () {
super('XSWhiteExplodedPanelTL', 'XSWhiteExplodedPanelTM', 'XSWhiteExplodedPanelTR', 'XSWhiteExplodedPanelCL', 'XSWhiteExplodedPanelCM', 'XSWhiteExplodedPanelCR', 'XSWhiteExplodedPanelBL', 'XSWhiteExplodedPanelBM', 'XSWhiteExplodedPanelBR');
};
_global.com.techsmith.xskin.ui.panels.styles.WhiteExploded extends com.techsmith.ui.panels.PanelStyle;
var v1 = _global.com.techsmith.xskin.ui.panels.styles.WhiteExploded.prototype;
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
movieClip 20600 __Packages.com.techsmith.camtasia.toc.TOCConstants {
#initclip
if (!com.techsmith.camtasia.toc.TOCConstants) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.toc) {
_global.com.techsmith.camtasia.toc = new Object();
}
_global.com.techsmith.camtasia.toc.TOCConstants = function () {};
var v1 = _global.com.techsmith.camtasia.toc.TOCConstants.prototype;
ASSetPropFlags(v1, null, 1);
_global.com.techsmith.camtasia.toc.TOCConstants.FLOATING = 1;
_global.com.techsmith.camtasia.toc.TOCConstants.FIXED_LEFT = 2;
_global.com.techsmith.camtasia.toc.TOCConstants.FIXED_RIGHT = 3;
}
#endinitclip
}
movieClip 20601 __Packages.com.techsmith.ui.canvas.DragCanvas {
#initclip
if (!com.techsmith.ui.canvas.DragCanvas) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.ui) {
_global.com.techsmith.ui = new Object();
}
if (!com.techsmith.ui.canvas) {
_global.com.techsmith.ui.canvas = new Object();
}
_global.com.techsmith.ui.canvas.DragCanvas = function () {
super();
if (this.dragScope == null) {
this.dragScope = this;
if (this.dragParent) {
this.dragScope = this._parent;
}
}
};
_global.com.techsmith.ui.canvas.DragCanvas extends com.techsmith.ui.canvas.ClickCanvas;
var v1 = _global.com.techsmith.ui.canvas.DragCanvas.prototype;
_global.com.techsmith.ui.canvas.DragCanvas.create = function (container, name, depth, init) {
Object.registerClass('DragCanvas', com.techsmith.ui.canvas.DragCanvas);
var v6 = container.attachMovie('DragCanvas', name, depth, init);
return com.techsmith.ui.canvas.DragCanvas(v6);
};
v1.onPress = function () {
if (this.constraints != null) {
this.dragScope.startDrag(false, this.constraints.left, this.constraints.top, this.constraints.right, this.constraints.bottom);
} else {
this.dragScope.startDrag();
}
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.DRAG_START});
};
v1.onRelease = function () {
this.stopDrag();
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.DRAG_STOP});
};
v1.onReleaseOutside = function () {
this.stopDrag();
this.dispatchEvent({'target': this, 'type': com.techsmith.events.Events.DRAG_STOP});
};
ASSetPropFlags(v1, null, 1);
v1.constraints = null;
v1.dragParent = true;
v1.dragScope = null;
}
#endinitclip
}
movieClip 20602 __Packages.com.techsmith.utils.Point {
#initclip
if (!com.techsmith.utils.Point) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.utils) {
_global.com.techsmith.utils = new Object();
}
_global.com.techsmith.utils.Point = function (x, y) {
if (x != null) {
this.x = x;
}
if (y != null) {
this.y = y;
}
};
var v1 = _global.com.techsmith.utils.Point.prototype;
ASSetPropFlags(v1, null, 1);
v1.x = 0;
v1.y = 0;
}
#endinitclip
}
movieClip 20603 __Packages.com.techsmith.camtasia.quiz.questions.Likert {
#initclip
if (!com.techsmith.camtasia.quiz.questions.Likert) {
if (!com) {
_global.com = new Object();
}
if (!com.techsmith) {
_global.com.techsmith = new Object();
}
if (!com.techsmith.camtasia) {
_global.com.techsmith.camtasia = new Object();
}
if (!com.techsmith.camtasia.quiz) {
_global.com.techsmith.camtasia.quiz = new Object();
}
if (!com.techsmith.camtasia.quiz.questions) {
_global.com.techsmith.camtasia.quiz.questions = new Object();
}
_global.com.techsmith.camtasia.quiz.questions.Likert = function () {
super();
};
_global.com.techsmith.camtasia.quiz.questions.Likert extends com.techsmith.camtasia.quiz.questions.MultipleChoice;
var v1 = _global.com.techsmith.camtasia.quiz.questions.Likert.prototype;
_global.com.techsmith.camtasia.quiz.questions.Likert.create = function (container, name, depth, init) {
Object.registerClass('Likert', com.techsmith.camtasia.quiz.questions.Likert);
var v6 = container.attachMovie('Likert', name, depth, init);
return com.techsmith.camtasia.quiz.questions.Likert(v6);
};
v1.createQuestion = function () {
var v2 = 10;
var v3 = 5;
var v4 = 450;
var v5 = this.questionField._y + this.questionHeight + com.techsmith.camtasia.quiz.questions.QuestionBase.QUESTION_PADDING;
var v6 = 5;
this.setQuestion(this.questionData.question);
var v7 = 0;
goto 1305;
for (;;) {
++v7;
label 1305:
if (v7 >= v3) break;
com.techsmith.ui.RadioButton.create(this, 'ansBtn' + v7, v2 + v7);
var v8 = 'Strongly disagree';
if (v7 == 1) {
v8 = 'Disagree';
}
if (v7 == 2) {
v8 = 'Neither agree or disagree';
}
if (v7 == 3) {
v8 = 'Agree';
}
if (v7 == 4) {
v8 = 'Strongly Agree';
}
this['ansBtn' + v7].init(v8, v4, 'radioGroup', null, null, null, null, {'html': false});
this['ansBtn' + v7].move(0, v5);
this['ansBtn' + v7].setData({'index': v7});
this['ansBtn' + v7].setSelected(this.questionData.userData.index == v7, false);
v5 += this['ansBtn' + v7].getHeight() + v6;
}
this.radioGroup.addEventListener('click', com.techsmith.utils.Delegate.create(this, this.changedAnswer));
this.drawBackground();
this.changedAnswer();
};
ASSetPropFlags(v1, null, 1);
}
#endinitclip
}
frame 1 {
com.techsmith.camtasia.Main.main(this);
}
// unknown tag 751 length 0