Section 1
//BackButton (com.nitrome.buttons.BackButton)
package com.nitrome.buttons {
import flash.display.*;
import com.nitrome.quiz.*;
import flash.events.*;
import flash.utils.*;
public class BackButton extends MovieClip {
protected var main_timeline:MovieClip;
public var __setPropDict:Dictionary;
public var __id1_:SkywireFont;
public var __id2_:SkywireRedFont;
protected var over:Boolean;// = false
public function BackButton(){
__setPropDict = new Dictionary(true);
over = false;
super();
addFrameScript(0, frame1, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
protected function onMouseOver(_arg1:MouseEvent):void{
over = true;
updateGraphic();
}
public function addEvents():void{
mouseChildren = false;
buttonMode = true;
this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true);
this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true);
this.addEventListener(MouseEvent.MOUSE_DOWN, onClick, false, 0, true);
}
function (){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.align = "center";
__id2_.align_vert = "center";
__id2_.id = "SkywireRed";
__id2_.line_spacing = 18;
__id2_.text = "back";
__id2_.tracking = -4;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
stop();
}
function frame14(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
stop();
}
function frame19(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
protected function onMouseOut(_arg1:MouseEvent):void{
over = false;
updateGraphic();
}
function frame9(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 9))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 10)) && ((int(__setPropDict[__id2_]) <= 19))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function (){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.align = "center";
__id1_.align_vert = "center";
__id1_.id = "Skywire";
__id1_.line_spacing = 18;
__id1_.text = "back";
__id1_.tracking = -4;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function setTimeline(_arg1:MovieClip):void{
this.main_timeline = _arg1;
}
protected function
():void{
this.removeEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
this.removeEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
this.removeEventListener(MouseEvent.MOUSE_DOWN, onClick);
buttonMode = false;
gotoAndStop("up");
}
protected function updateGraphic():void{
if (over){
gotoAndStop("over");
} else {
gotoAndStop("up");
};
}
public function onClick(_arg1:MouseEvent):void{
(parent.parent as PopUp).startOffAnim();
main_timeline.logo.tweenIn();
main_timeline.play_button.slideOn();
main_timeline.help_button.slideOn();
main_timeline.scores_button.slideOn();
main_timeline.credits_button.slideOn();
main_timeline.sign_post.slideOn();
main_timeline.male_presenter.slideIn();
main_timeline.female_presenter.slideIn();
();
}
}
}//package com.nitrome.buttons
Section 2
//CreditsButton (com.nitrome.buttons.CreditsButton)
package com.nitrome.buttons {
import com.nitrome.quiz.*;
import flash.events.*;
import flash.utils.*;
public class CreditsButton extends SlideButton {
public var __id6_:SkywireRedFont;
public var __id5_:SkywireFont;
public var __setPropDict:Dictionary;
public function CreditsButton():void{
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
init();
}
function frame10(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
stop();
}
function frame14(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function (){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.align = "center";
__id6_.align_vert = "center";
__id6_.id = "SkywireRed";
__id6_.line_spacing = 18;
__id6_.text = "credits";
__id6_.tracking = -4;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
stop();
}
function frame19(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 10)) && ((int(__setPropDict[__id6_]) <= 19))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function
(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.align = "center";
__id5_.align_vert = "center";
__id5_.id = "Skywire";
__id5_.line_spacing = 18;
__id5_.text = "credits";
__id5_.tracking = -4;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame6(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 9))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
var _local2:PopUp;
if (offscreen == false){
main_timeline.logo.tweenOut();
main_timeline.play_button.slideOff();
main_timeline.help_button.slideOff();
main_timeline.sign_post.slideOff();
main_timeline.male_presenter.slideOut();
main_timeline.female_presenter.slideOut();
slideOff();
_local2 = new PopUp(main_timeline, "credits");
main_timeline.popup_holder.addChild(_local2);
};
}
}
}//package com.nitrome.buttons
Section 3
//HelpButton (com.nitrome.buttons.HelpButton)
package com.nitrome.buttons {
import com.nitrome.quiz.*;
import flash.events.*;
import flash.utils.*;
public class HelpButton extends SlideButton {
public var __id7_:SkywireFont;
public var __setPropDict:Dictionary;
public var __id8_:SkywireRedFont;
public function HelpButton():void{
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
init();
}
function (){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.align = "center";
__id8_.align_vert = "center";
__id8_.id = "SkywireRed";
__id8_.line_spacing = 18;
__id8_.text = "help";
__id8_.tracking = -4;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
stop();
}
function frame14(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
stop();
}
function frame19(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function (){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.align = "center";
__id7_.align_vert = "center";
__id7_.id = "Skywire";
__id7_.line_spacing = 18;
__id7_.text = "help";
__id7_.tracking = -4;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame7(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 10)) && ((int(__setPropDict[__id8_]) <= 19))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 9))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
var _local2:PopUp;
if (offscreen == false){
main_timeline.logo.tweenOut();
main_timeline.play_button.slideOff();
main_timeline.credits_button.slideOff();
main_timeline.sign_post.slideOff();
main_timeline.male_presenter.slideOut();
main_timeline.female_presenter.slideOut();
slideOff();
_local2 = new PopUp(main_timeline, "help");
main_timeline.popup_holder.addChild(_local2);
};
}
}
}//package com.nitrome.buttons
Section 4
//NextHelpArrow (com.nitrome.buttons.NextHelpArrow)
package com.nitrome.buttons {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class NextHelpArrow extends SimpleButton {
public var next:SkywireFont;
public var __setPropDict:Dictionary;
public var __id11_:SkywireRedFont;
public function NextHelpArrow(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20);
}
function frame10(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function (){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.align = "center";
__id11_.align_vert = "center";
__id11_.id = "SkywireRed";
__id11_.line_spacing = 18;
__id11_.text = "next";
__id11_.tracking = -4;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame11(){
if ((((__setPropDict[__id11_] == undefined)) || (!((((int(__setPropDict[__id11_]) >= 11)) && ((int(__setPropDict[__id11_]) <= 20))))))){
__setPropDict[__id11_] = currentFrame;
();
};
}
function (){
try {
next["componentInspectorSetting"] = true;
} catch(e:Error) {
};
next.align = "center";
next.align_vert = "center";
next.id = "Skywire";
next.line_spacing = 18;
next.text = "next";
next.tracking = -4;
try {
next["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function onClick(_arg1:MouseEvent):void{
if ((parent as MovieClip).currentLabel == "help_1"){
(parent as MovieClip).gotoAndStop("help_2");
} else {
if ((parent as MovieClip).currentLabel == "help_2"){
(parent as MovieClip).gotoAndStop("help_3");
} else {
if ((parent as MovieClip).currentLabel == "help_3"){
(parent as MovieClip).gotoAndStop("help_4");
};
};
};
}
}
}//package com.nitrome.buttons
Section 5
//PlayButton (com.nitrome.buttons.PlayButton)
package com.nitrome.buttons {
import flash.events.*;
import flash.utils.*;
public class PlayButton extends SlideButton {
public var __setPropDict:Dictionary;
public var __id12_:SkywireFont;
public var __id13_:SkywireRedFont;
public function PlayButton():void{
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 9, frame10, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19);
init();
}
function (){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.align = "center";
__id12_.align_vert = "center";
__id12_.id = "Skywire";
__id12_.line_spacing = 18;
__id12_.text = "play";
__id12_.tracking = -4;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
stop();
}
function frame14(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
stop();
}
function frame19(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function (){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.align = "center";
__id13_.align_vert = "center";
__id13_.id = "SkywireRed";
__id13_.line_spacing = 18;
__id13_.text = "play";
__id13_.tracking = -4;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame2(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 9))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 10)) && ((int(__setPropDict[__id13_]) <= 19))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
if (offscreen == false){
main_timeline.logo.tweenOut();
main_timeline.help_button.slideOff();
main_timeline.credits_button.slideOff();
main_timeline.sign_post.slideOffGame();
main_timeline.male_presenter.slideOut();
main_timeline.female_presenter.slideOut();
main_timeline.copyright.fadeOut();
slideOff();
};
}
}
}//package com.nitrome.buttons
Section 6
//PrevHelpArrow (com.nitrome.buttons.PrevHelpArrow)
package com.nitrome.buttons {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class PrevHelpArrow extends SimpleButton {
public var __setPropDict:Dictionary;
public var __id14_:SkywireFont;
public var __id15_:SkywireRedFont;
public function PrevHelpArrow(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20);
}
function (){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.align = "center";
__id14_.align_vert = "center";
__id14_.id = "Skywire";
__id14_.line_spacing = 18;
__id14_.text = "prev";
__id14_.tracking = -4;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function (){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.align = "center";
__id15_.align_vert = "center";
__id15_.id = "SkywireRed";
__id15_.line_spacing = 18;
__id15_.text = "prev";
__id15_.tracking = -4;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function onClick(_arg1:MouseEvent):void{
if ((parent as MovieClip).currentLabel == "help_2"){
(parent as MovieClip).gotoAndStop("help_1");
} else {
if ((parent as MovieClip).currentLabel == "help_3"){
(parent as MovieClip).gotoAndStop("help_2");
} else {
if ((parent as MovieClip).currentLabel == "help_4"){
(parent as MovieClip).gotoAndStop("help_3");
};
};
};
}
}
}//package com.nitrome.buttons
Section 7
//QuitButton (com.nitrome.buttons.QuitButton)
package com.nitrome.buttons {
import com.nitrome.quiz.*;
import flash.events.*;
public class QuitButton extends SimpleButton {
private var :QuizGame;
public function QuitButton(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
public function setQuizGame(_arg1:QuizGame):void{
this. = _arg1;
}
function frame1(){
stop();
}
override public function onClick(_arg1:MouseEvent):void{
.gameOver();
}
}
}//package com.nitrome.buttons
Section 8
//ScoresButton (com.nitrome.buttons.ScoresButton)
package com.nitrome.buttons {
import com.nitrome.quiz.*;
import flash.events.*;
import flash.utils.*;
public class ScoresButton extends SlideButton {
public var __id29_:SkywireFont;
public var __setPropDict:Dictionary;
public var __id30_:SkywireRedFont;
public function ScoresButton():void{
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 9, frame10, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19);
init();
}
function (){
try {
__id30_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id30_.align = "center";
__id30_.align_vert = "center";
__id30_.id = "SkywireRed";
__id30_.line_spacing = 18;
__id30_.text = "scores";
__id30_.tracking = -4;
try {
__id30_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
stop();
}
function frame14(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
stop();
}
function frame19(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
}
function (){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.align = "center";
__id29_.align_vert = "center";
__id29_.id = "Skywire";
__id29_.line_spacing = 18;
__id29_.text = "scores";
__id29_.tracking = -4;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame15(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 9))))))){
__setPropDict[__id29_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 10)) && ((int(__setPropDict[__id30_]) <= 19))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
var _local2:PopUp;
if (offscreen == false){
main_timeline.logo.tweenOut();
main_timeline.play_button.slideOff();
main_timeline.help_button.slideOff();
main_timeline.credits_button.slideOff();
main_timeline.sign_post.slideOff();
main_timeline.male_presenter.slideOut();
main_timeline.female_presenter.slideOut();
slideOff();
_local2 = new PopUp(main_timeline, "scores");
main_timeline.popup_holder.addChild(_local2);
};
}
}
}//package com.nitrome.buttons
Section 9
//SimpleButton (com.nitrome.buttons.SimpleButton)
package com.nitrome.buttons {
import flash.display.*;
import flash.events.*;
public class SimpleButton extends MovieClip {
protected var over:Boolean;// = false
public function SimpleButton(){
over = false;
super();
mouseChildren = false;
buttonMode = true;
this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true);
this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true);
this.addEventListener(MouseEvent.MOUSE_DOWN, onClick, false, 0, true);
stop();
}
protected function onMouseOver(_arg1:MouseEvent):void{
over = true;
updateGraphic();
}
protected function onMouseOut(_arg1:MouseEvent):void{
over = false;
updateGraphic();
}
protected function updateGraphic():void{
if (over){
gotoAndStop("over");
} else {
gotoAndStop("up");
};
}
public function onClick(_arg1:MouseEvent):void{
}
}
}//package com.nitrome.buttons
Section 10
//SlideButton (com.nitrome.buttons.SlideButton)
package com.nitrome.buttons {
import flash.display.*;
import fl.motion.*;
public class SlideButton extends SimpleButton {
private var :XML;
protected var main_timeline:MovieClip;
private var :Animator;
private var :Animator;
protected var offscreen:Boolean;// = true
private var
:XML;
public function SlideButton():void{
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="1" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" tweenSnap="true" tweenSync="true" y="-160">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="10" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="29" tweenSnap="true" tweenSync="true" y="160">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
offscreen = true;
super();
}
public function slideOff():void{
offscreen = true;
= new Animator(
, this);
.play();
}
protected function init():void{
slideOn();
}
public function slideOn():void{
= new Animator(, this);
.play();
offscreen = false;
}
public function setTimeline(_arg1:MovieClip):void{
this.main_timeline = _arg1;
}
protected function (_arg1:int, _arg2:int):void{
var _local3:XMLList;
var _local4:XMLList;
.@duration = (20 + _arg1);
_local3 = .elements();
_local3[1].@index = _arg1;
_local3[2].@index = (19 + _arg1);
.@duration = (20 + _arg2);
_local4 =
.elements();
_local4[1].@index = _arg2;
_local4[2].@index = (19 + _arg2);
}
}
}//package com.nitrome.buttons
Section 11
//ArmorButton (com.nitrome.game.ArmorButton)
package com.nitrome.game {
import flash.events.*;
import flash.net.*;
public class ArmorButton extends SimpleButton {
public function ArmorButton(){
addEventListener(MouseEvent.CLICK, onClick, false, 0, true);
}
override public function onClick(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.armorgames.com/"), "_blank");
}
}
}//package com.nitrome.game
Section 12
//FxToggle (com.nitrome.game.FxToggle)
package com.nitrome.game {
import flash.events.*;
public class FxToggle extends SimpleButton {
public function FxToggle(){
addFrameScript(0, frame1, 9, frame10, 19, frame20, 29, frame30);
if (!NitromeGame.sfx){
gotoAndStop("off_up");
} else {
gotoAndStop("on_up");
};
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
override protected function updateGraphic():void{
if (over){
if (NitromeGame.sound_manager.sfx){
gotoAndStop("on_over");
} else {
if (!NitromeGame.sound_manager.sfx){
gotoAndStop("off_over");
};
};
} else {
if (NitromeGame.sound_manager.sfx){
gotoAndStop("on_up");
} else {
if (!NitromeGame.sound_manager.sfx){
gotoAndStop("off_up");
};
};
};
}
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.sound_manager.toggleSfx();
updateGraphic();
}
}
}//package com.nitrome.game
Section 13
//LevelScore (com.nitrome.game.LevelScore)
package com.nitrome.game {
public class LevelScore {
private static var r:int;
private static var _value:int;
private static var hash:String;
public static function init():void{
r = (int((Math.random() * 2000000)) - 1000000);
_value = r;
hash = _value.toString(16);
}
public static function verify():Boolean{
return ((_value.toString(16) == hash));
}
public static function get value():int{
return ((_value - r));
}
public static function set value(_arg1:int):void{
var _local2:Boolean;
_local2 = verify();
r = (int((Math.random() * 2000000)) - 1000000);
_value = (r + _arg1);
if (_local2){
hash = _value.toString(16);
};
}
}
}//package com.nitrome.game
Section 14
//MusicToggle (com.nitrome.game.MusicToggle)
package com.nitrome.game {
import flash.events.*;
public class MusicToggle extends SimpleButton {
public function MusicToggle(){
addFrameScript(0, frame1, 9, frame10, 19, frame20, 29, frame30);
if (!NitromeGame.music){
gotoAndStop("off_up");
} else {
gotoAndStop("on_up");
};
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
override protected function updateGraphic():void{
if (over){
if (NitromeGame.sound_manager.music){
gotoAndStop("on_over");
} else {
if (!NitromeGame.sound_manager.music){
gotoAndStop("off_over");
};
};
} else {
if (NitromeGame.sound_manager.music){
gotoAndStop("on_up");
} else {
if (!NitromeGame.sound_manager.music){
gotoAndStop("off_up");
};
};
};
}
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.sound_manager.toggleMusic();
updateGraphic();
}
}
}//package com.nitrome.game
Section 15
//NitromeLink (com.nitrome.game.NitromeLink)
package com.nitrome.game {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class NitromeLink extends SimpleButton {
public function NitromeLink(){
this.addEventListener(MouseEvent.CLICK, );
}
public function (_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.nitrome.com/"), "_blank");
}
}
}//package com.nitrome.game
Section 16
//Preloader (com.nitrome.game.Preloader)
package com.nitrome.game {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class Preloader extends MovieClip {
public var progress:TextField;
public var __id0_:SkywireRedFont;
public function Preloader(){
addEventListener(Event.ENTER_FRAME, );
();
}
public function (){
if (hasEventListener(Event.COMPLETE)){
removeEventListener(Event.ENTER_FRAME, );
dispatchEvent(new Event(Event.COMPLETE));
};
}
public function (_arg1:Event):void{
var _local2:Number;
var _local3:TextField;
if (stage.loaderInfo.bytesLoaded < stage.loaderInfo.bytesTotal){
_local2 = Math.floor(((100 * stage.loaderInfo.bytesLoaded) / stage.loaderInfo.bytesTotal));
_local3 = (getChildByName("progress") as TextField);
_local3.text = (_local2.toString() + "%");
} else {
(root as MovieClip).stop();
();
};
}
function (){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.align = "center";
__id0_.align_vert = "center";
__id0_.id = "SkywireRed";
__id0_.line_spacing = 18;
__id0_.text = "loading";
__id0_.tracking = -4;
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.nitrome.game
Section 17
//Score (com.nitrome.game.Score)
package com.nitrome.game {
public class Score {
private static var r:int;
private static var _value:int;
private static var hash:String;
public static function init():void{
r = (int((Math.random() * 2000000)) - 1000000);
_value = r;
hash = _value.toString(16);
}
public static function verify():Boolean{
return ((_value.toString(16) == hash));
}
public static function get value():int{
return ((_value - r));
}
public static function set value(_arg1:int):void{
var _local2:Boolean;
_local2 = verify();
r = (int((Math.random() * 2000000)) - 1000000);
_value = (r + _arg1);
if (_local2){
hash = _value.toString(16);
};
}
}
}//package com.nitrome.game
Section 18
//Seconds (com.nitrome.game.Seconds)
package com.nitrome.game {
public class Seconds {
private static var r:int;
private static var _value:int;
private static var hash:String;
public static function init():void{
r = (int((Math.random() * 2000000)) - 1000000);
_value = r;
hash = _value.toString(16);
}
public static function verify():Boolean{
return ((_value.toString(16) == hash));
}
public static function get value():int{
return ((_value - r));
}
public static function set value(_arg1:int):void{
var _local2:Boolean;
_local2 = verify();
r = (int((Math.random() * 2000000)) - 1000000);
_value = (r + _arg1);
if (_local2){
hash = _value.toString(16);
};
}
}
}//package com.nitrome.game
Section 19
//SimpleButton (com.nitrome.game.SimpleButton)
package com.nitrome.game {
import flash.display.*;
import flash.events.*;
public class SimpleButton extends MovieClip {
public var i:int;
protected var over:Boolean;// = false
public function SimpleButton(){
over = false;
super();
mouseChildren = false;
buttonMode = true;
addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true);
addEventListener(MouseEvent.CLICK, onClick, false, 0, true);
}
protected function onMouseOver(_arg1:MouseEvent):void{
over = true;
updateGraphic();
}
protected function onMouseOut(_arg1:MouseEvent):void{
over = false;
updateGraphic();
}
protected function updateGraphic():void{
if (over){
gotoAndStop("over");
} else {
gotoAndStop("up");
};
}
public function onClick(_arg1:MouseEvent):void{
}
}
}//package com.nitrome.game
Section 20
//SkywireFont (com.nitrome.game.SkywireFont)
package com.nitrome.game {
public class SkywireFont extends TextComponent {
public function SkywireFont(){
_tracking = -4;
_line_spacing = 18;
_id = "Skywire";
}
override public function get id():String{
return (_id);
}
override public function set id(_arg1:String){
_id = _arg1;
}
override public function set tracking(_arg1:int){
_tracking = _arg1;
}
override protected function getClassNameFromChar(_arg1:String):String{
if (_arg1 == "Space"){
return ("SPACE");
};
if (_arg1 == "."){
return ("STOP");
};
if (_arg1 == "?"){
return ("QUESTION");
};
if (_arg1 == ","){
return ("COMMA");
};
if (_arg1 == "!"){
return ("EXCLAMATION");
};
if (_arg1 == "\\"){
return ("BACKSLASH");
};
if (_arg1 == "/"){
return ("FORWARDSLASH");
};
if (_arg1 == "="){
return ("EQUALS");
};
if (_arg1 == "+"){
return ("PLUS");
};
if (_arg1 == "("){
return ("LEFTBRACKET");
};
if (_arg1 == ")"){
return ("RIGHTBRACKET");
};
if (_arg1 == "-"){
return ("HYPHEN");
};
if (_arg1 == "\""){
return ("QUOTES");
};
if (_arg1 == ":"){
return ("COLON");
};
if (_arg1 == "£"){
return ("POUND");
};
if (_arg1 == "_"){
return ("UNDERSCORE");
};
if (_arg1 == "@"){
return ("AT");
};
if ((((((_arg1 == "\n")) || ((_arg1 == "\r")))) || ((_arg1 == "|")))){
return ("NEWLINE");
};
return (_arg1);
}
override public function get tracking():int{
return (_tracking);
}
override public function set line_spacing(_arg1:int){
_line_spacing = _arg1;
}
override public function get line_spacing():int{
return (_line_spacing);
}
}
}//package com.nitrome.game
Section 21
//SkywireGreenFont (com.nitrome.game.SkywireGreenFont)
package com.nitrome.game {
public class SkywireGreenFont extends TextComponent {
public function SkywireGreenFont(){
_tracking = -4;
_line_spacing = 18;
_id = "SkywireGreen";
}
override public function get id():String{
return (_id);
}
override public function set id(_arg1:String){
_id = _arg1;
}
override public function set tracking(_arg1:int){
_tracking = _arg1;
}
override protected function getClassNameFromChar(_arg1:String):String{
if (_arg1 == "Space"){
return ("SPACE");
};
if (_arg1 == "."){
return ("STOP");
};
if (_arg1 == "?"){
return ("QUESTION");
};
if (_arg1 == ","){
return ("COMMA");
};
if (_arg1 == "!"){
return ("EXCLAMATION");
};
if (_arg1 == "\\"){
return ("BACKSLASH");
};
if (_arg1 == "/"){
return ("FORWARDSLASH");
};
if (_arg1 == "="){
return ("EQUALS");
};
if (_arg1 == "+"){
return ("PLUS");
};
if (_arg1 == "("){
return ("LEFTBRACKET");
};
if (_arg1 == ")"){
return ("RIGHTBRACKET");
};
if (_arg1 == "-"){
return ("HYPHEN");
};
if (_arg1 == "\""){
return ("QUOTES");
};
if (_arg1 == ":"){
return ("COLON");
};
if (_arg1 == "£"){
return ("POUND");
};
if (_arg1 == "_"){
return ("UNDERSCORE");
};
if (_arg1 == "@"){
return ("AT");
};
if ((((((_arg1 == "\n")) || ((_arg1 == "\r")))) || ((_arg1 == "|")))){
return ("NEWLINE");
};
return (_arg1);
}
override public function get tracking():int{
return (_tracking);
}
override public function set line_spacing(_arg1:int){
_line_spacing = _arg1;
}
override public function get line_spacing():int{
return (_line_spacing);
}
}
}//package com.nitrome.game
Section 22
//SkywireRedFont (com.nitrome.game.SkywireRedFont)
package com.nitrome.game {
public class SkywireRedFont extends TextComponent {
public function SkywireRedFont(){
_tracking = -4;
_line_spacing = 18;
_id = "SkywireRed";
}
override public function get id():String{
return (_id);
}
override public function set id(_arg1:String){
_id = _arg1;
}
override public function set tracking(_arg1:int){
_tracking = _arg1;
}
override protected function getClassNameFromChar(_arg1:String):String{
if (_arg1 == "Space"){
return ("SPACE");
};
if (_arg1 == "."){
return ("STOP");
};
if (_arg1 == "?"){
return ("QUESTION");
};
if (_arg1 == ","){
return ("COMMA");
};
if (_arg1 == "!"){
return ("EXCLAMATION");
};
if (_arg1 == "\\"){
return ("BACKSLASH");
};
if (_arg1 == "/"){
return ("FORWARDSLASH");
};
if (_arg1 == "="){
return ("EQUALS");
};
if (_arg1 == "+"){
return ("PLUS");
};
if (_arg1 == "("){
return ("LEFTBRACKET");
};
if (_arg1 == ")"){
return ("RIGHTBRACKET");
};
if (_arg1 == "-"){
return ("HYPHEN");
};
if (_arg1 == "\""){
return ("QUOTES");
};
if (_arg1 == ":"){
return ("COLON");
};
if (_arg1 == "£"){
return ("POUND");
};
if (_arg1 == "_"){
return ("UNDERSCORE");
};
if (_arg1 == "@"){
return ("AT");
};
if ((((((_arg1 == "\n")) || ((_arg1 == "\r")))) || ((_arg1 == "|")))){
return ("NEWLINE");
};
return (_arg1);
}
override public function get tracking():int{
return (_tracking);
}
override public function set line_spacing(_arg1:int){
_line_spacing = _arg1;
}
override public function get line_spacing():int{
return (_line_spacing);
}
}
}//package com.nitrome.game
Section 23
//SoundManager (com.nitrome.game.SoundManager)
package com.nitrome.game {
import flash.display.*;
import flash.media.*;
public class SoundManager extends SoundManagerSuper {
protected const MENU_VOLUME:Number = 1;
protected const GAME_VOLUME:Number = 1;
public var nitrome:MovieClip;
public var keypress:MovieClip;
public var welldone:MovieClip;
public var tick:MovieClip;
public var ready:MovieClip;
public var go:MovieClip;
public static const GAME:uint = 1;
public static const MENU:uint = 0;
public function SoundManager(){
NitromeGame.sound_manager = this;
music_sounds.push(new MenuMusic());
music_sounds.push(new GameMusic());
transforms.push(new SoundTransform(MENU_VOLUME, 0));
transforms.push(new SoundTransform(GAME_VOLUME, 0));
channels.push(new SoundChannel());
channels.push(new SoundChannel());
volumes.push(MENU_VOLUME);
volumes.push(GAME_VOLUME);
= uint.MAX_VALUE;
}
}
}//package com.nitrome.game
Section 24
//SoundManagerSuper (com.nitrome.game.SoundManagerSuper)
package com.nitrome.game {
import flash.display.*;
import flash.events.*;
public class SoundManagerSuper extends Sprite {
protected const CROSS_FADE_SPEED:Number = 0.05;
public var :int;
protected var :Boolean;// = true
public var
:Boolean;// = false
protected var transforms:Array;
protected var volumes:Array;
protected var music_sounds:Array;
protected var :int;
protected var :Boolean;// = true
protected var channels:Array;
protected var :Array;
public function SoundManagerSuper(){
var _local1:int;
var _local2:MovieClip;
= new Array();
music_sounds = new Array();
channels = new Array();
transforms = new Array();
volumes = new Array();
= true;
= true;
= false;
super();
= NitromeGame.music;
= NitromeGame.sfx;
_local1 = 0;
while (_local1 < numChildren) {
_local2 = (getChildAt(_local1) as MovieClip);
if (_local2 != null){
[_local2.name] = _local2;
};
_local1++;
};
}
public function set sfx(_arg1:Boolean):void{
= _arg1;
}
public function get music():Boolean{
return ();
}
public function toggleMusic():void{
if (){
();
} else {
();
};
}
public function playSound(_arg1:String):void{
if (){
if ( [_arg1] != null){
[_arg1].gotoAndPlay(2);
};
};
}
private function (_arg1:Event):void{
if (transforms[].volume > 0){
transforms[].volume = (transforms[].volume - CROSS_FADE_SPEED);
channels[].soundTransform = transforms[];
};
if (transforms[].volume < 1){
transforms[].volume = (transforms[].volume + CROSS_FADE_SPEED);
channels[].soundTransform = transforms[];
};
if ((((transforms[].volume >= volumes[])) && ((transforms[].volume <= 0)))){
channels[].stop();
= false;
_arg1.target.removeEventListener(Event.ENTER_FRAME, );
};
}
public function ():void{
NitromeGame.music = ( = true);
playMusic(, true);
}
public function set music(_arg1:Boolean):void{
= _arg1;
}
public function playMusic(_arg1:uint, _arg2:Boolean=false):void{
var _local3:uint;
trace(("play music:" + _arg1));
if (((!(( == _arg1))) || (_arg2))){
if (_arg1 < music_sounds.length){
if (){
_local3 = 0;
while (_local3 < music_sounds.length) {
if (_local3 == _arg1){
} else {
if (channels[_local3] != null){
channels[_local3].stop();
};
};
_local3++;
};
transforms[_arg1].volume = volumes[_arg1];
trace("play");
channels[_arg1] = music_sounds[_arg1].play(0, int.MAX_VALUE, transforms[_arg1]);
};
= _arg1;
};
};
}
public function
():void{
NitromeGame.sfx = ( = false);
}
public function toggleSfx():void{
= !();
NitromeGame.sfx = !(NitromeGame.sfx);
}
public function ():void{
var _local1:uint;
_local1 = 0;
while (_local1 < channels.length) {
if (channels[_local1] != null){
channels[_local1].stop();
};
_local1++;
};
NitromeGame.music = ( = false);
}
public function get sfx():Boolean{
return ();
}
public function ():void{
NitromeGame.sfx = ( = true);
}
public function ():void{
var _local1:uint;
_local1 = 0;
while (_local1 < channels.length) {
if (channels[_local1] != null){
channels[_local1].stop();
};
_local1++;
};
}
public function (_arg1:int):void{
if (((((!()) || (( == _arg1)))) || (
))){
return;
};
transforms[_arg1].volume = 0;
channels[_arg1] = music_sounds[_arg1].play(0, int.MAX_VALUE, transforms[_arg1]);
= ;
= _arg1;
= true;
addEventListener(Event.ENTER_FRAME, );
}
}
}//package com.nitrome.game
Section 25
//TextComponent (com.nitrome.game.TextComponent)
package com.nitrome.game {
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
public class TextComponent extends Sprite {
protected var :String;// = "center"
protected var :Array;
protected var :String;// = "enter text"
protected var _tracking:int;// = -4
protected var :ColorTransform;
private var
:Number;// = 0
protected var holder:Array;
protected var _id:String;// = "SkywireGreen"
private var :Number;// = 0
protected var :String;// = "center"
private var :Sprite;
protected var :Sprite;
protected var _line_spacing:int;// = 18
public function TextComponent(){
= "enter text";
_tracking = -4;
= "center";
= "center";
_line_spacing = 18;
_id = "SkywireGreen";
= 0;
= 0;
super();
init();
();
();
}
public function get align():String{
return ();
}
private function init():void{
= new Array();
holder = new Array();
= width;
= height;
scaleX = 1;
scaleY = 1;
removeChildAt(0);
}
public function set align(_arg1:String){
= _arg1;
();
}
private function ():void{
= new Sprite();
addChild();
}
public function get align_vert():String{
return ();
}
public function get text():String{
return ();
}
public function set id(_arg1:String){
_id = _arg1;
();
}
protected function
():void{
var line:*;
var i:int;
var isLivePreview:Boolean;
var c:*;
var class_name:String;
var class_id:Class;
var temp:Sprite;
var j:int;
var x_tracking:*;
.graphics.clear();
if ( != null){
this.removeChild();
};
= new Sprite();
holder = new Array();
line = 0;
holder.push(.addChild(new Sprite()));
= new Array();
.push(new Array());
i = 0;
while (i < .length) {
= .toUpperCase();
c = .charAt(i);
class_name = getClassNameFromChar(c);
if (class_name == "NEWLINE"){
line = (line + 1);
.push(new Array());
holder.push(.addChild(new Sprite()));
holder[line].y = (line_spacing * line);
} else {
if (class_name != ""){
try {
class_id = (getDefinitionByName(((("Text_" + _id) + "_") + class_name)) as Class);
} catch(e:ReferenceError) {
try {
class_id = (getDefinitionByName((("Text_" + _id) + "_SPACE")) as Class);
} catch(e:ReferenceError) {
trace(("TextComponent error: could not find font " + _id));
break;
};
};
if (Class != null){
temp = (new (class_id) as Sprite);
[line].push(holder[line].addChild(temp));
};
};
};
i = (i + 1);
};
i = 0;
while (i < .length) {
j = 1;
while (j < [i].length) {
x_tracking = _tracking;
if ([i][(j - 1)].kerning != null){
x_tracking = (x_tracking + [i][(j - 1)].kerning._x);
} else {
x_tracking = (x_tracking + [i][(j - 1)].width);
};
[i][j].x = ([i][(j - 1)].x + x_tracking);
j = (j + 1);
};
if ( == "center"){
holder[i].x = (holder[i].x + int((( * 0.5) - (holder[i].width * 0.5))));
} else {
if ( == "right"){
holder[i].x = (holder[i].x + int(( - holder[i].width)));
};
};
i = (i + 1);
};
if ( == "bottom"){
.y = (.y + int((
- .height)));
} else {
if ( == "center"){
.y = (.y + int(((
* 0.5) - (.height * 0.5))));
};
};
if ( != null){
.transform.colorTransform = ;
};
.cacheAsBitmap = true;
this.addChild();
this.cacheAsBitmap = true;
isLivePreview = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
if (((isLivePreview) && (( == "")))){
.graphics.clear();
.graphics.lineStyle(1, 0);
.graphics.beginFill(0xFFFFFF, 0.5);
.graphics.drawRoundRect(0, 0, ,
, 10, 10);
.graphics.endFill();
};
}
public function get id():String{
return (_id);
}
public function set align_vert(_arg1:String){
= _arg1;
();
}
public function get color():ColorTransform{
return ();
}
public function set text(_arg1:String){
= _arg1;
();
}
public function set tracking(_arg1:int){
_tracking = _arg1;
();
}
public function (_arg1:Number, _arg2:Number):void{
= _arg1;
= _arg2;
();
}
protected function getClassNameFromChar(_arg1:String):String{
if (_arg1 == "Space"){
return ("SPACE");
};
if (_arg1 == "."){
return ("STOP");
};
if (_arg1 == "?"){
return ("QUESTION");
};
if (_arg1 == ","){
return ("COMMA");
};
if (_arg1 == "!"){
return ("EXCLAMATION");
};
if (_arg1 == "\\"){
return ("BACKSLASH");
};
if (_arg1 == "/"){
return ("FORWARDSLASH");
};
if (_arg1 == "="){
return ("EQUALS");
};
if (_arg1 == "+"){
return ("PLUS");
};
if (_arg1 == "("){
return ("LEFTBRACKET");
};
if (_arg1 == ")"){
return ("RIGHTBRACKET");
};
if (_arg1 == "-"){
return ("HYPHEN");
};
if (_arg1 == "\""){
return ("QUOTES");
};
if (_arg1 == ":"){
return ("COLON");
};
if (_arg1 == "£"){
return ("POUND");
};
if (_arg1 == "_"){
return ("UNDERSCORE");
};
if (_arg1 == "@"){
return ("AT");
};
if ((((((_arg1 == "\n")) || ((_arg1 == "\r")))) || ((_arg1 == "|")))){
return ("NEWLINE");
};
return (_arg1);
}
public function get tracking():int{
return (_tracking);
}
public function set color(_arg1:ColorTransform){
= _arg1;
();
}
public function set line_spacing(_arg1:int){
_line_spacing = _arg1;
();
}
public function get line_spacing():int{
return (_line_spacing);
}
}
}//package com.nitrome.game
Section 26
//Transition (com.nitrome.game.Transition)
package com.nitrome.game {
import flash.display.*;
public class Transition extends MovieClip {
private var :Function;// = null
public function Transition(){
= null;
super();
NitromeGame.transition = this;
stop();
mouseEnabled = false;
mouseChildren = false;
}
protected function ():void{
if ( != null){
gotoAndPlay(1);
} else {
stop();
this.visible = false;
};
}
public function (_arg1:Object):void{
var target = _arg1;
play();
if ((target is Function)){
= (target as Function);
} else {
= function (){
NitromeGame.timeline.gotoAndStop(target);
};
};
this.visible = true;
if (NitromeGame.sound_manager){
NitromeGame.sound_manager.playSound("deepthud");
};
}
protected function
():void{
if ( != null){
();
= null;
};
}
}
}//package com.nitrome.game
Section 27
//ArrowButton (com.nitrome.highscore.ArrowButton)
package com.nitrome.highscore {
import com.nitrome.buttons.*;
import flash.events.*;
public class ArrowButton extends SimpleButton {
var
:HighScoreBoard;
public var next:SkywireFont;
public function ArrowButton(){
= (parent as HighScoreBoard);
visible = false;
}
public function hide():void{
visible = false;
}
override public function onClick(_arg1:MouseEvent):void{
if (name == "_prev_arrow"){
.shiftScoresPrev();
} else {
if (name == "_next_arrow"){
.shiftScoresNext();
};
};
}
public function show():void{
visible = true;
}
}
}//package com.nitrome.highscore
Section 28
//ClearButton (com.nitrome.highscore.ClearButton)
package com.nitrome.highscore {
import com.nitrome.buttons.*;
import flash.events.*;
public class ClearButton extends SimpleButton {
private var
:ScoreSubmitPanel;
public function ClearButton(){
= (parent as ScoreSubmitPanel);
}
override public function onClick(_arg1:MouseEvent):void{
.clearName();
}
}
}//package com.nitrome.highscore
Section 29
//HighScoreBoard (com.nitrome.highscore.HighScoreBoard)
package com.nitrome.highscore {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class HighScoreBoard extends MovieClip {
public const MAX_DIGITS:int = 8;
private const MAX_RANK:int = 100;
public const NUM_LINES:int = 10;
private var :Array;
private var :Boolean;// = false
private var :URLRequest;
private var
:URLVariables;
private var :int;
private var
:ArrowButton;
private var :URLLoader;
private var :ArrowButton;
public function HighScoreBoard(){
var _local1:int;
= false;
super();
if (NitromeGame.isAtURL(NitromeGame.NITROME)){
= new Array(NUM_LINES);
_local1 = 0;
while (_local1 < .length) {
[_local1] = (getChildByName(("_score_line_" + (_local1 + 1))) as HighScoreLine);
_local1++;
};
= (getChildByName("_prev_arrow") as ArrowButton);
= (getChildByName("_next_arrow") as ArrowButton);
addEventListener(Event.ADDED_TO_STAGE, init);
} else {
gotoAndStop("hide");
};
}
private function (_arg1:Event):void{
var _local2:String;
_local2 = _arg1.target.data.result;
(_local2);
}
public function (_arg1:int):void{
= _arg1;
= new URLLoader();
= new URLVariables();
= new URLRequest(NitromeGame.RETRIEVE_URL);
.method = URLRequestMethod.POST;
.data =
;
.dataFormat = URLLoaderDataFormat.VARIABLES;
.addEventListener(Event.COMPLETE, );
.addEventListener(IOErrorEvent.IO_ERROR, );
.min_rank = String(_arg1);
.game_name = NitromeGame.game_id;
.time_based = (NitromeGame.time_based) ? "1" : "0";
.load();
}
private function init(_arg1:Event):void{
(1);
_arg1.target.removeEventListener(Event.ADDED_TO_STAGE, init);
}
public function shiftScoresPrev():void{
var _local1:int;
_local1 = ( - 10);
if (_local1 < 1){
_local1 = 1;
};
(_local1);
}
public function set zero_fill(_arg1:Boolean):void{
= _arg1;
}
private function (_arg1:IOErrorEvent):void{
trace(("Retrieve scores failed: " + _arg1.text));
}
public function get zero_fill():Boolean{
return ();
}
public function (_arg1:Array):void{
var _local2:int;
var _local3:String;
var _local4:String;
if (_arg1.length > 0){
_local2 = 0;
while (_local2 <= 9) {
_local3 = String(_arg1[_local2].user_name);
_local4 = String(_arg1[_local2].score);
if ((((_local3 == "")) || ((_local3 == null)))){
[_local2].hide();
.hide();
} else {
[_local2].displayData(( + _local2), _local3, _local4);
};
_local2++;
};
} else {
trace("no leaderboard data");
};
}
public function (_arg1:String):void{
var _local2:int;
var _local3:Object;
if (_arg1 != "0"){
_local2 = 0;
while (_local2 < .length) {
_local3 = NitromeGame.getHighScoreLine(_arg1, (_local2 + 1));
if (_local3 == null){
[_local2].hide();
} else {
[_local2].displayData(( + _local2), _local3.username, _local3.score);
};
_local2++;
};
if (NitromeGame.displayNextButton(_arg1)){
.show();
} else {
.hide();
};
if (NitromeGame.displayPreviousButton(_arg1)){
.show();
} else {
.hide();
};
};
}
public function shiftScoresNext():void{
var _local1:int;
_local1 = ( + 10);
(_local1);
}
}
}//package com.nitrome.highscore
Section 30
//HighScoreLine (com.nitrome.highscore.HighScoreLine)
package com.nitrome.highscore {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class HighScoreLine extends Sprite {
private const FADE_SPEED:Number = 0.3;
private var :int;
private var
:TextField;
private var
:TextField;
public var _score_text:TextField;
private var
:Boolean;
private var
:TextField;
private var
:int;
public var _rank_text:TextField;
public var _name_text:TextField;
private var
:HighScoreBoard;
public function HighScoreLine(){
visible = false;
= false;
= (getChildByName("_score_text") as TextField);
= (getChildByName("_name_text") as TextField);
= (getChildByName("_rank_text") as TextField);
= (parent as HighScoreBoard);
}
public function hide():void{
trace((name + " hide"));
visible = false;
= true;
}
private function
(_arg1:Event):void{
if (
>= ){
alpha = (alpha + FADE_SPEED);
if (alpha >= 1){
_arg1.target.removeEventListener(Event.ENTER_FRAME,
);
};
};
++;
}
public function displayData(_arg1:int, _arg2:String, _arg3:String):void{
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
trace((name + " displayData:"));
.text = String((_arg1 + "."));
.text = _arg2.toUpperCase();
trace(((((_arg1 + ",") + _arg2) + ",") + _arg3));
if (
.zero_fill){
_local4 =
.MAX_DIGITS;
_local5 = _arg3.length;
_local6 = (_local4 - _local5);
_local7 = 1;
while (_local7 <= _local6) {
_arg3 = ("0" + _arg3);
_local7++;
};
.text = _arg3;
} else {
.text = _arg3;
};
alpha = 0;
visible = true;
= (((_arg1 - 1) %
.NUM_LINES) * int((1 / FADE_SPEED)));
= 0;
addEventListener(Event.ENTER_FRAME,
);
}
}
}//package com.nitrome.highscore
Section 31
//LetterButton (com.nitrome.highscore.LetterButton)
package com.nitrome.highscore {
import com.nitrome.buttons.*;
import flash.events.*;
import com.nitrome.game.*;
public class LetterButton extends SimpleButton {
private var letter:TextComponent;
public var _letter:SkywireFont;
public var _letter_red:SkywireRedFont;
private var
:String;
private var
:ScoreSubmitPanel;
public function LetterButton(){
= (parent as ScoreSubmitPanel);
= name;
letter = (getChildByName("_letter") as TextComponent);
addEventListener(Event.ADDED_TO_STAGE, init);
}
private function init(_arg1:Event):void{
updateLetter();
_arg1.target.removeEventListener(Event.ADDED_TO_STAGE, init);
}
public function updateLetter():void{
trace(("setting text to: " +
));
(_letter as TextComponent).text =
;
}
override protected function onMouseOut(_arg1:MouseEvent):void{
super.onMouseOut(_arg1);
}
public function updateLetterRed():void{
trace(("setting text to: " +
));
(_letter_red as TextComponent).text =
;
}
override public function onClick(_arg1:MouseEvent):void{
.addLetter(
);
}
override protected function onMouseOver(_arg1:MouseEvent):void{
super.onMouseOver(_arg1);
}
}
}//package com.nitrome.highscore
Section 32
//ScoreSubmitPanel (com.nitrome.highscore.ScoreSubmitPanel)
package com.nitrome.highscore {
import flash.display.*;
import com.nitrome.quiz.*;
import flash.events.*;
import com.nitrome.game.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
public class ScoreSubmitPanel extends MovieClip {
private const MAX_LENGTH:Number = 10;
private var :URLLoader;
public var C:LetterButton;
public var D:LetterButton;
public var E:LetterButton;
public var F:LetterButton;
public var H:LetterButton;
public var I:LetterButton;
public var J:LetterButton;
public var L:LetterButton;
public var A:LetterButton;
public var K:LetterButton;
public var W:LetterButton;
public var X:LetterButton;
public var R:LetterButton;
public var T:LetterButton;
public var U:LetterButton;
public var V:LetterButton;
public var G:LetterButton;
public var Y:LetterButton;
public var Z:LetterButton;
public var S:LetterButton;
public var N:LetterButton;
public var O:LetterButton;
private var
:TextField;
public var Q:LetterButton;
public var M:LetterButton;
public var _score_text:TextField;
private var :MovieClip;
public var B:LetterButton;
public var P:LetterButton;
private var
:TextField;
public var _name_text:TextField;
private var :SubmitButton;
public var _submit_button:SubmitButton;
public var _clear_button:ClearButton;
private var :URLRequest;
private var :URLVariables;
public function ScoreSubmitPanel(){
if (NitromeGame.isAtURL(NitromeGame.NITROME)){
= (getChildByName("_submit_button") as SubmitButton);
= (getChildByName("_name_text") as TextField);
= (getChildByName("_score_text") as TextField);
addEventListener(Event.ADDED_TO_STAGE, init);
} else {
gotoAndStop("hide");
};
}
public function addLetter(_arg1:String):void{
var _local2:String;
var _local3:String;
_local2 =
.text;
if (_local2.length < MAX_LENGTH){
_arg1 = _arg1.toUpperCase();
_local3 = (_local2 + _arg1);
.text = _local3;
.enable();
};
}
private function (_arg1:IOErrorEvent):void{
var _local2:PopUp;
trace(("Submit score failed: " + _arg1.text));
trace();
(parent.parent as PopUp).startOffAnim();
_local2 = new PopUp(NitromeGame.timeline, "scores");
NitromeGame.timeline.popup_holder.addChild(_local2);
}
public function clearName():void{
.disable();
.text = "";
}
private function (_arg1:KeyboardEvent):void{
var _local2:int;
_local2 = _arg1.charCode;
if ((((((_local2 >= 65)) && ((_local2 <= 90)))) || ((((_local2 >= 97)) && ((_local2 <= 122)))))){
addLetter(String.fromCharCode(_local2));
};
if ((((_arg1.keyCode == Keyboard.BACKSPACE)) || ((_arg1.keyCode == Keyboard.DELETE)))){
clearName();
};
}
private function
(_arg1:Event):void{
var _local2:PopUp;
trace("Score submitted");
(parent.parent as PopUp).startOffAnim();
_local2 = new PopUp(NitromeGame.timeline, "scores");
NitromeGame.timeline.popup_holder.addChild(_local2);
}
private function init(_arg1:Event):void{
.text = ("YOUR SCORE IS " + Score.value);
stage.addEventListener(KeyboardEvent.KEY_DOWN, );
_arg1.target.removeEventListener(Event.ADDED_TO_STAGE, init);
}
public function submitScore():void{
var _local1:String;
var _local2:PopUp;
stage.removeEventListener(KeyboardEvent.KEY_DOWN, );
_local1 =
.text;
if (_local1 != ""){
= new URLLoader();
= new URLVariables();
= new URLRequest(NitromeGame.SUBMIT_URL);
.method = URLRequestMethod.POST;
.data = ;
.addEventListener(Event.COMPLETE,
);
.addEventListener(IOErrorEvent.IO_ERROR, );
.data_string = NitromeGame.getScoreData(Score.value, _local1);
.time_based = "0";
.data = ;
.load();
} else {
(parent.parent as PopUp).startOffAnim();
_local2 = new PopUp(NitromeGame.timeline, "scores");
NitromeGame.timeline.popup_holder.addChild(_local2);
};
}
}
}//package com.nitrome.highscore
Section 33
//SubmitButton (com.nitrome.highscore.SubmitButton)
package com.nitrome.highscore {
import com.nitrome.buttons.*;
import flash.events.*;
public class SubmitButton extends SimpleButton {
private var
:Boolean;// = false
private var
:Boolean;// = true
private var
:ScoreSubmitPanel;
public function SubmitButton(){
= false;
= true;
super();
gotoAndStop("up");
= (parent as ScoreSubmitPanel);
}
public function enable():void{
= false;
useHandCursor = true;
buttonMode = true;
updateGraphic();
}
override protected function updateGraphic():void{
if (((!(over)) || (
))){
gotoAndStop("up");
} else {
gotoAndStop("over");
};
}
public function disable():void{
= true;
useHandCursor = false;
buttonMode = false;
updateGraphic();
}
override public function onClick(_arg1:MouseEvent):void{
if (
){
gotoAndStop("up");
} else {
if (!
){
.submitScore();
= true;
};
};
}
}
}//package com.nitrome.highscore
Section 34
//CableCar (com.nitrome.quiz.CableCar)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
public class CableCar extends MovieClip {
public var pos_holder:MovieClip;
private var :Animator;
private var :XML;
private var :XML;
private var :Boolean;// = false
public var people_holder:MovieClip;
private var :Animator;
public var car_holder:MovieClip;
private var :Boolean;// = false
private var :Array;
private var people:Array;
private var holder:MovieClip;
private var :QuizGame;
private var
:Array;
public function CableCar(_arg1:MovieClip, _arg2:QuizGame):void{
= <Motion duration="70" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true"/>
<Keyframe index="30" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="69" tweenSnap="true" tweenSync="true" x="266">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="70" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<source>
<Source frameRate="30" x="275" y="228" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="cable_car">
<dimensions>
<geom:Rectangle left="-16.5" top="-12" width="33" height="54"/>
</dimensions>
<transformationPoint>
<geom:Point x="0.5" y="0.5"/>
</transformationPoint>
</Source>
</source>
<Keyframe index="0"/>
<Keyframe index="30" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="69" tweenSnap="true" tweenSync="true" x="266">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= false;
= false;
super();
this.holder = _arg1;
this. = _arg2;
}
public function
(_arg1:Event):void{
var _local2:uint;
_local2 = 0;
while (_local2 < people.length) {
[_local2] = new Person(people[_local2]);
[_local2].x = pos_holder.getChildByName(("pc" + _local2)).x;
[_local2].y = pos_holder.getChildByName(("pc" + _local2)).y;
people_holder.addChild(
[_local2]);
_local2++;
};
removeEventListener(Event.ENTER_FRAME,
);
}
public function init(_arg1:uint, _arg2:Array):void{
this.people = _arg2;
car_holder.gotoAndStop(_arg1);
pos_holder.gotoAndStop(_arg2.length);
= new Array();
= false;
addEventListener(Event.ENTER_FRAME,
, false, 0, true);
}
public function startAnimIn():void{
= new Animator(, this);
.addEventListener(MotionEvent.MOTION_END, , false, 0, true);
.play();
}
private function (_arg1:uint):Array{
var _local2:Array;
var _local3:int;
var _local4:int;
var _local5:uint;
_local2 = new Array();
if (_arg1 == 1){
_local2.push(0);
return (_local2);
};
_local3 = ((_arg1 - 1) * 16);
_local4 = (0 - (_local3 * 0.5));
_local5 = 0;
while (_local5 < _arg1) {
_local2.push(_local4);
_local4 = (_local4 + 16);
_local5++;
};
return (_local2);
}
function (_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, );
if ( == true){
.cleanUpQuestion();
} else {
.enableQuestion();
= true;
};
}
public function tryAnimOut():void{
var _local1:uint;
if (!){
_local1 = 0;
while (_local1 < people.length) {
people_holder.addChild(
[_local1]);
holder.removeChild([_local1]);
_local1++;
};
();
= true;
};
}
public function ():void{
= new Animator(, this);
.addEventListener(MotionEvent.MOTION_END, , false, 0, true);
.play();
}
function (_arg1:MotionEvent):void{
var _local2:uint;
var _local3:Person;
var _local4:Array;
.removeEventListener(MotionEvent.MOTION_END, );
if ( == false){
_local4 = (people.length);
= new Array();
_local2 = 0;
while (_local2 < people.length) {
[_local2] = new Person(people[_local2]);
[_local2].x = (pos_holder.getChildByName(("pc" + _local2)).x + x);
[_local2].y = (pos_holder.getChildByName(("pc" + _local2)).y + y);
holder.addChildAt([_local2], _local2);
[_local2].setCableCar(this);
[_local2].jumpTo((x + _local4[_local2]));
people_holder.removeChild(
[_local2]);
_local2++;
};
();
} else {
_local2 = 0;
while (_local2 < .length) {
[_local2].jumpBack();
_local2++;
};
};
}
}
}//package com.nitrome.quiz
Section 35
//CharacterBlock (com.nitrome.quiz.CharacterBlock)
package com.nitrome.quiz {
import flash.display.*;
import flash.events.*;
public class CharacterBlock extends MovieClip {
private var answer:String;
private var guess_panel:GuessPanel;
private var :String;
public function CharacterBlock(_arg1:String, _arg2:GuessPanel):void{
this.answer = _arg1;
this.guess_panel = _arg2;
= "*";
if (_arg1 == " "){
gotoAndStop("off");
} else {
if (_arg1 == "'"){
trace("off");
gotoAndStop("off");
= "'";
} else {
if (_arg1 == "-"){
trace("off");
gotoAndStop("off");
= "-";
} else {
gotoAndStop("on");
addEventListener(MouseEvent.MOUSE_UP, doPress, false, 0, true);
buttonMode = true;
useHandCursor = true;
mouseChildren = false;
};
};
};
}
public function removeMouseUp():void{
removeEventListener(MouseEvent.MOUSE_UP, doPress);
useHandCursor = false;
}
public function doSelect():void{
if (((((!((answer == " "))) && (!((answer == "'"))))) && (!((answer == "-"))))){
gotoAndStop("selected");
guess_panel.setSelectedChar(this);
};
}
function doPress(_arg1:MouseEvent):void{
guess_panel.unselectAll();
doSelect();
}
public function doUnselect():void{
if (((((!((answer == " "))) && (!((answer == "'"))))) && (!((answer == "-"))))){
gotoAndStop("on");
};
}
public function setText(_arg1:String):void{
= _arg1;
}
}
}//package com.nitrome.quiz
Section 36
//Confetti (com.nitrome.quiz.Confetti)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
public class Confetti extends Sprite {
private var :int;// = 0
private var :ConfettiMaker;
private var r:int;// = 0
public function Confetti(_arg1:int, _arg2:int, _arg3:int, _arg4:ConfettiMaker):void{
var _local5:Color;
= 0;
r = 0;
super();
this. = _arg1;
this.r = _arg2;
this. = _arg4;
_local5 = new Color();
_local5.
(_arg3, 1);
this.transform.colorTransform = _local5;
}
function (_arg1:Event):void{
y = (y + );
rotation = (rotation + r);
if (y >= 420){
removeEventListener(Event.ENTER_FRAME, );
.checkEmpty(this);
};
}
public function startFall():void{
addEventListener(Event.ENTER_FRAME, , false, 0, true);
}
}
}//package com.nitrome.quiz
Section 37
//ConfettiMaker (com.nitrome.quiz.ConfettiMaker)
package com.nitrome.quiz {
import flash.display.*;
import flash.events.*;
public class ConfettiMaker extends Sprite {
private var :Array;
private var :int;// = 550
private var
:int;
private var :Boolean;// = false
private var :int;
private var :int;// = 20
public function ConfettiMaker(_arg1:int, _arg2:Boolean):void{
= new Array(16724889, 16764006, 0xFF6600, 6724095, 6736947, 0x9900CC);
= 550;
= 20;
= false;
super();
this.
= _arg1;
this. = _arg2;
this.name = "confetti_maker";
}
public function startConfetti():void{
= 0;
addEventListener(Event.ENTER_FRAME, , false, 0, true);
}
public function checkEmpty(_arg1:Confetti):void{
removeChild(_arg1);
if ((((numChildren < 1)) && (!()))){
trace("removing confetti maker");
removeEventListener(Event.ENTER_FRAME, );
(parent as Sprite).removeChild(this);
};
}
public function stopConfetti():void{
removeEventListener(Event.ENTER_FRAME, );
}
private function random(_arg1:int):int{
var _local2:int;
_local2 = Math.floor((Math.random() * _arg1));
return (_local2);
}
function (_arg1:Event):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:Confetti;
_local2 = random();
_local3 = random(.length);
_local4 = (random() + );
_local5 = (random() + );
_local6 = (random(10) + 4);
_local7 = (random(10) - 5);
_local8 = new Confetti(_local6, _local7, [_local3], this);
_local8.x = _local2;
_local8.y = -20;
_local8.scaleX = (_local4 / 100);
_local8.scaleY = (_local5 / 100);
addChild(_local8);
_local8.startFall();
++;
if (!){
if ( ==
){
stopConfetti();
};
};
}
}
}//package com.nitrome.quiz
Section 38
//Copyright (com.nitrome.quiz.Copyright)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class Copyright extends Sprite {
private var :XML;
private var :XML;
private var
:Animator;
private var
:Animator;
public function Copyright():void{
= <Motion duration="10" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="9" tweenSnap="true" tweenSync="true">
<color>
<Color alphaMultiplier="0"/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="10" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<color>
<Color alphaMultiplier="0"/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="9" tweenSnap="true" tweenSync="true">
<color>
<Color/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
super();
}
public function finishFadeOut(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, finishFadeOut);
visible = false;
}
public function fadeOut():void{
= new Animator( , this);
.addEventListener(MotionEvent.MOTION_END, finishFadeOut, false, 0, true);
.play();
}
public function fadeIn():void{
visible = true;
= new Animator( , this);
.play();
}
}
}//package com.nitrome.quiz
Section 39
//CorrectSign (com.nitrome.quiz.CorrectSign)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class CorrectSign extends FlyingSign {
private var
:XML;
public var sign:MovieClip;
private var :Animator;
public function CorrectSign():void{
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="4" y="1.5500000000000007">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="9" y="4">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="14" y="2">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" y="0"/>
</Motion>
;
super();
= new Animator(
, sign);
.addEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd, false, 0, true);
.play();
sign.correct_text_holder.correct_text.tracking = -4;
}
function onWobbleAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd);
.play();
}
public function setScoreText(_arg1:int, _arg2:int, _arg3:int):void{
sign.level_text.text = String(_arg1);
sign.time_text.text = String(_arg2);
sign.total_text.text = String(_arg3);
}
}
}//package com.nitrome.quiz
Section 40
//CountdownTimer (com.nitrome.quiz.CountdownTimer)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
import com.nitrome.game.*;
import flash.utils.*;
public class CountdownTimer extends MovieClip {
private var :Boolean;// = false
private var :XML;
private var :int;// = 1
private var :Animator;
public var green_time_text:SkywireGreenFont;
public var anim:MovieClip;
private var timer:Timer;
public var time_text:SkywireFont;
private var :Animator;
public var green_circle:MovieClip;
private var
:XML;
private var
:int;// = 30
public function CountdownTimer():void{
= 30;
= 1;
= <Motion duration="40" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="39" tweenSnap="true" tweenSync="true" y="70">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="40" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="39" tweenSnap="true" tweenSync="true" y="-70">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= false;
super();
= new Animator(, this);
.play();
();
();
}
public function slideOff():void{
= new Animator(
, this);
.play();
}
public function setTimer(_arg1:int):void{
green_circle.alpha = 0;
green_time_text.text = " ";
Seconds.value = _arg1;
();
}
public function startTimer(_arg1:int):void{
if (!){
green_circle.alpha = 0;
green_time_text.text = " ";
Seconds.value = _arg1;
= 1;
();
timer = new Timer(1000);
timer.addEventListener(TimerEvent.TIMER, , false, 0, true);
timer.start();
};
}
public function doPause():void{
timer.removeEventListener(TimerEvent.TIMER, );
if (Seconds.value > 0){
green_time_text.text = String(Seconds.value);
green_circle.alpha = 1;
};
}
function (){
try {
green_time_text["componentInspectorSetting"] = true;
} catch(e:Error) {
};
green_time_text.align = "center";
green_time_text.align_vert = "center";
green_time_text.id = "SkywireGreen";
green_time_text.line_spacing = 18;
green_time_text.text = " ";
green_time_text.tracking = -4;
try {
green_time_text["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function ():void{
time_text.text = String(Seconds.value);
}
function (_arg1:TimerEvent):void{
Seconds.value--;
();
if (Seconds.value <= 10){
NitromeGame.sound_manager.playSound("tick");
};
if (Seconds.value == 0){
doPause();
} else {
anim.gotoAndPlay(("tick_" + ));
};
if ( == 1){
= 2;
} else {
if ( == 2){
= 1;
};
};
}
function (){
try {
time_text["componentInspectorSetting"] = true;
} catch(e:Error) {
};
time_text.align = "center";
time_text.align_vert = "center";
time_text.id = "Skywire";
time_text.line_spacing = 18;
time_text.text = "100";
time_text.tracking = -4;
try {
time_text["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function gameOver():void{
timer.removeEventListener(TimerEvent.TIMER, );
= true;
}
public function getTimeLeft():int{
return (Seconds.value);
}
}
}//package com.nitrome.quiz
Section 41
//Curtain (com.nitrome.quiz.Curtain)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class Curtain extends MovieClip {
private var
:XML;
private var :Animator;
private var :Animator;
private var :QuizGame;
private var :XML;
public function Curtain():void{
= <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<source>
<Source frameRate="30" x="275" y="111" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="curtain" symbolName="curtain">
<dimensions>
<geom:Rectangle left="-229" top="-155" width="458" height="311"/>
</dimensions>
<transformationPoint>
<geom:Point x="0.5" y="0.5"/>
</transformationPoint>
</Source>
</source>
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="29" tweenSnap="true" tweenSync="true" y="-240">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<source>
<Source frameRate="30" x="275" y="-129" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="curtain" symbolName="curtain">
<dimensions>
<geom:Rectangle left="-229" top="-155" width="458" height="311"/>
</dimensions>
<transformationPoint>
<geom:Point x="0.5" y="0.5"/>
</transformationPoint>
</Source>
</source>
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="29" tweenSnap="true" tweenSync="true" y="240">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
super();
}
public function curtainDown():void{
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, , false, 0, true);
.play();
}
public function setQuizGame(_arg1:QuizGame):void{
this. = _arg1;
}
public function (_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, );
(parent as MovieClip).gotoAndStop("win");
.displayQuitSign();
();
}
public function (_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, );
(parent as MovieClip).gotoAndStop("title_screen");
}
public function ():void{
= new Animator(, this);
.play();
}
public function curtainDownWin():void{
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, , false, 0, true);
.play();
}
}
}//package com.nitrome.quiz
Section 42
//FemalePresenter (com.nitrome.quiz.FemalePresenter)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
public class FemalePresenter extends Presenter {
private var
:String;// = ""
private var main_timeline:MovieClip;
private var
:Animator;
private var
:int;// = 20
private var :int;// = 20
public var speech_bubble:MovieClip;
private var :int;// = 0
private var :int;// = 0
private var :XML;
private var
:int;// = 0
private var :Animator;
private var
:XML;
public function FemalePresenter():void{
= <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" tweenSnap="true" tweenSync="true" y="-160">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="24" tweenSnap="true" tweenSync="true" x="2.5" y="-182.5">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="29" tweenSnap="true" tweenSync="true" x="5" y="-172">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="5" tweenSnap="true" tweenSync="true" x="-2.5" y="-10.5">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="10" tweenSnap="true" tweenSync="true" x="-5" y="12">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="29" tweenSnap="true" tweenSync="true" y="172">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= 0;
= "";
= 0;
= 20;
= 0;
= 20;
super();
speech_bubble.visible = false;
slideIn();
}
public function stopAllSpeech():void{
this.removeEventListener(Event.ENTER_FRAME, addChar);
speech_bubble.visible = false;
}
public function displayBubbleText():void{
speech_bubble.speech_text.text =
;
}
public function
(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END,
);
saySpeech();
}
public function finishSpeech():void{
this.removeEventListener(Event.ENTER_FRAME, addChar);
main_timeline.male_presenter.saySpeech();
}
public function addChar(_arg1:Event):void{
++;
if ( >= Presenter.speech_array[Presenter.speech_id].length){
++;
if ( >=
){
speech_bubble.visible = false;
++;
if (
>= ){
finishSpeech();
};
};
} else {
= (
+ Presenter.speech_array[Presenter.speech_id].charAt());
displayBubbleText();
};
}
public function saySpeech():void{
= 0;
= 0;
= "";
displayBubbleText();
= -1;
Presenter.speech_id++;
if (Presenter.speech_id >= Presenter.speech_array.length){
Presenter.speech_id = 0;
};
this.addEventListener(Event.ENTER_FRAME, addChar, false, 0, true);
speech_bubble.visible = true;
}
public function slideIn():void{
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END,
, false, 0, true);
.play();
}
public function setTimeline(_arg1:MovieClip):void{
this.main_timeline = _arg1;
}
public function slideOut():void{
stopAllSpeech();
= new Animator(, this);
.play();
}
}
}//package com.nitrome.quiz
Section 43
//FemalePresenterWin (com.nitrome.quiz.FemalePresenterWin)
package com.nitrome.quiz {
import flash.display.*;
import flash.events.*;
public class FemalePresenterWin extends Presenter {
private var
:String;// = ""
private var main_timeline:MovieClip;
private var
:int;// = 20
private var :int;// = 20
public var speech_bubble:MovieClip;
private var :int;// = 0
private var :int;// = 0
private var
:int;// = 0
public function FemalePresenterWin():void{
= 0;
= "";
= 0;
= 20;
= 0;
= 20;
super();
speech_bubble.visible = false;
}
public function stopAllSpeech():void{
this.removeEventListener(Event.ENTER_FRAME, addChar);
speech_bubble.visible = false;
}
public function displayBubbleText():void{
speech_bubble.speech_text.text =
;
}
public function finishSpeech():void{
this.removeEventListener(Event.ENTER_FRAME, addChar);
main_timeline.male_presenter_win.saySpeech();
}
public function addChar(_arg1:Event):void{
++;
if ( >= Presenter.win_speech_array[Presenter.win_speech_id].length){
++;
if ( >=
){
speech_bubble.visible = false;
++;
if (
>= ){
finishSpeech();
};
};
} else {
= (
+ Presenter.win_speech_array[Presenter.win_speech_id].charAt());
displayBubbleText();
};
}
public function saySpeech():void{
= 0;
= 0;
= "";
displayBubbleText();
= -1;
Presenter.win_speech_id++;
if (Presenter.win_speech_id >= Presenter.win_speech_array.length){
Presenter.win_speech_id = 0;
};
this.addEventListener(Event.ENTER_FRAME, addChar, false, 0, true);
speech_bubble.visible = true;
}
public function setTimeline(_arg1:MovieClip):void{
this.main_timeline = _arg1;
saySpeech();
}
}
}//package com.nitrome.quiz
Section 44
//FlyingSign (com.nitrome.quiz.FlyingSign)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class FlyingSign extends Sprite {
private var
:XML;
private var
:Animator;
public function FlyingSign():void{
= <Motion duration="101" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="1" x="12.399999999999999" y="-7.950000000000003"/>
<Keyframe index="2" x="25.05" y="-15.099999999999994"/>
<Keyframe index="3" x="37.8" y="-21.349999999999994"/>
<Keyframe index="4" x="50.6" y="-26.75"/>
<Keyframe index="5" x="63.4" y="-31.299999999999997"/>
<Keyframe index="6" x="76.2" y="-35.05"/>
<Keyframe index="7" x="88.8" y="-38"/>
<Keyframe index="8" x="101.25" y="-40.2"/>
<Keyframe index="9" x="113.45" y="-41.75"/>
<Keyframe index="10" x="125.4" y="-42.7"/>
<Keyframe index="11" x="137" y="-43.099999999999994"/>
<Keyframe index="12" x="148.25" y="-43"/>
<Keyframe index="13" x="159.15" y="-42.45"/>
<Keyframe index="14" x="169.7" y="-41.599999999999994"/>
<Keyframe index="15" x="179.8" y="-40.400000000000006"/>
<Keyframe index="16" x="189.55" y="-38.900000000000006"/>
<Keyframe index="17" x="198.95" y="-37.25"/>
<Keyframe index="18" x="207.9" y="-35.349999999999994"/>
<Keyframe index="19" x="216.45" y="-33.349999999999994"/>
<Keyframe index="20" x="224.65" y="-31.25"/>
<Keyframe index="21" x="232.45" y="-29.099999999999994"/>
<Keyframe index="22" x="239.85" y="-26.849999999999994"/>
<Keyframe index="23" x="246.9" y="-24.599999999999994"/>
<Keyframe index="24" x="253.6" y="-22.349999999999994"/>
<Keyframe index="25" x="259.9" y="-20.099999999999994"/>
<Keyframe index="26" x="265.85" y="-17.900000000000006"/>
<Keyframe index="27" x="271.45" y="-15.75"/>
<Keyframe index="28" x="276.7" y="-13.650000000000006"/>
<Keyframe index="29" x="281.6" y="-11.650000000000006"/>
<Keyframe index="30" x="286.2" y="-9.75"/>
<Keyframe index="31" x="290.45" y="-7.900000000000006"/>
<Keyframe index="32" x="294.35" y="-6.200000000000003"/>
<Keyframe index="33" x="297.95" y="-4.549999999999997"/>
<Keyframe index="34" x="301.2" y="-3.0999999999999943"/>
<Keyframe index="35" x="304.15" y="-1.7000000000000028"/>
<Keyframe index="36" x="306.75" y="-0.5"/>
<Keyframe index="37" x="309.1" y="0.5999999999999943"/>
<Keyframe index="38" x="311.1" y="1.5999999999999943"/>
<Keyframe index="39" x="312.8" y="2.4000000000000057"/>
<Keyframe index="40" x="314.15" y="3.0999999999999943"/>
<Keyframe index="41" x="315.25" y="3.5999999999999943"/>
<Keyframe index="42" x="316" y="4"/>
<Keyframe index="43" x="316.45" y="4.199999999999989"/>
<Keyframe index="44" x="316.35" y="4.800000000000011"/>
<Keyframe index="45" x="316.6" y="4.300000000000011"/>
<Keyframe index="46"/>
<Keyframe index="47"/>
<Keyframe index="48"/>
<Keyframe index="49"/>
<Keyframe index="50"/>
<Keyframe index="51"/>
<Keyframe index="52"/>
<Keyframe index="53"/>
<Keyframe index="54"/>
<Keyframe index="55"/>
<Keyframe index="56"/>
<Keyframe index="57" x="316.35" y="4.800000000000011"/>
<Keyframe index="58" x="316.75" y="4.349999999999994"/>
<Keyframe index="59" x="317.25" y="4.599999999999994"/>
<Keyframe index="60" x="318.05" y="5"/>
<Keyframe index="61" x="319.15" y="5.550000000000011"/>
<Keyframe index="62" x="320.6" y="6.300000000000011"/>
<Keyframe index="63" x="322.35" y="7.150000000000006"/>
<Keyframe index="64" x="324.4" y="8.150000000000006"/>
<Keyframe index="65" x="326.75" y="9.349999999999994"/>
<Keyframe index="66" x="329.4" y="10.650000000000006"/>
<Keyframe index="67" x="332.45" y="12.050000000000011"/>
<Keyframe index="68" x="335.75" y="13.599999999999994"/>
<Keyframe index="69" x="339.45" y="15.25"/>
<Keyframe index="70" x="343.45" y="17.05000000000001"/>
<Keyframe index="71" x="347.8" y="18.900000000000006"/>
<Keyframe index="72" x="352.5" y="20.849999999999994"/>
<Keyframe index="73" x="357.55" y="22.900000000000006"/>
<Keyframe index="74" x="362.95" y="24.94999999999999"/>
<Keyframe index="75" x="368.75" y="27.05000000000001"/>
<Keyframe index="76" x="374.9" y="29.19999999999999"/>
<Keyframe index="77" x="381.4" y="31.30000000000001"/>
<Keyframe index="78" x="388.35" y="33.349999999999994"/>
<Keyframe index="79" x="395.65" y="35.400000000000006"/>
<Keyframe index="80" x="403.35" y="37.349999999999994"/>
<Keyframe index="81" x="411.45" y="39.150000000000006"/>
<Keyframe index="82" x="419.95" y="40.80000000000001"/>
<Keyframe index="83" x="428.9" y="42.19999999999999"/>
<Keyframe index="84" x="438.2" y="43.400000000000006"/>
<Keyframe index="85" x="447.95" y="44.30000000000001"/>
<Keyframe index="86" x="458.1" y="44.80000000000001"/>
<Keyframe index="87" x="468.6" y="44.900000000000006"/>
<Keyframe index="88" x="479.5" y="44.55000000000001"/>
<Keyframe index="89" x="490.75" y="43.650000000000006"/>
<Keyframe index="90" x="502.3" y="42.150000000000006"/>
<Keyframe index="91" x="514.15" y="40.05000000000001"/>
<Keyframe index="92" x="526.2" y="37.19999999999999"/>
<Keyframe index="93" x="538.45" y="33.599999999999994"/>
<Keyframe index="94" x="550.8" y="29.25"/>
<Keyframe index="95" x="563.25" y="24.099999999999994"/>
<Keyframe index="96" x="575.75" y="18.099999999999994"/>
<Keyframe index="97" x="588.2" y="11.300000000000011"/>
<Keyframe index="98" x="600.6" y="3.6500000000000057"/>
<Keyframe index="99" x="612.85" y="-4.799999999999997"/>
<Keyframe index="100" x="624.95" y="-14"/>
</Motion>
;
super();
x = -45;
y = 127;
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, onAnimEnd, false, 0, true);
}
function onAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onAnimEnd);
(parent as Sprite).removeChild(this);
}
public function startAnim():void{
.play();
}
}
}//package com.nitrome.quiz
Section 45
//GuessPanel (com.nitrome.quiz.GuessPanel)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
import flash.text.*;
import flash.ui.*;
public class GuessPanel extends MovieClip {
private var :XML;
private var :Boolean;// = false
private var
:int;
private var :Animator;
private var :XML;
private var :XML;
public var total_text:TextField;
private var :int;
private var :Sprite;
private var :CharacterBlock;
private var
:Animator;
private var :Animator;
public var char_holder:MovieClip;
private var
:XML;
private var answer:String;
private var
:Animator;
private var :QuizGame;
private var :String;
public var correct_text:TextField;
public function GuessPanel():void{
var _local1:Graphics;
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<color>
<Color alphaMultiplier="0"/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="19" tweenSnap="true" tweenSync="true">
<color>
<Color/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<color>
<Color/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="19" tweenSnap="true" tweenSync="true">
<color>
<Color alphaMultiplier="0"/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="40" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="39" tweenSnap="true" tweenSync="true" y="-114">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="40" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="39" tweenSnap="true" tweenSync="true" y="114">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= false;
super();
focusRect = false;
= new Sprite();
.x = 13;
.y = 17;
_local1 = .graphics;
_local1.lineStyle();
_local1.beginFill(0xFFFFFF, 100);
_local1.drawRect(0, 0, 490, 68);
_local1.endFill();
addChild( );
= new Animator(, this);
.addEventListener(MotionEvent.MOTION_END, , false, 0, true);
.play();
}
public function setActive():void{
= true;
fadeIn();
}
public function slideOff():void{
= new Animator(
, this);
.play();
}
public function setSelectedChar(_arg1:CharacterBlock):void{
this. = _arg1;
}
public function ():void{
var _local1:int;
_local1 = 0;
while (_local1 < char_holder.numChildren) {
(char_holder.getChildAt(_local1) as CharacterBlock).removeMouseUp();
_local1++;
};
}
public function finishFadeOut(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, finishFadeOut);
();
.nextQuestion(false);
}
public function (_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, );
(parent as MovieClip).gotoAndStop("game");
}
public function fadeOut():void{
= new Animator( , );
.addEventListener(MotionEvent.MOTION_END, finishFadeOut, false, 0, true);
.play();
}
public function setQuizGame(_arg1:QuizGame):void{
this. = _arg1;
}
private function ():void{
if (char_holder.numChildren > 0){
while (char_holder.numChildren > 0) {
char_holder.removeChildAt(0);
};
};
}
public function (_arg1:int, _arg2:String):void{
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:int;
if (_arg1 == 0){
_local3 = "";
} else {
_local3 = .slice(0, _arg1);
};
_local4 = .slice((_arg1 + 1));
= ((_local3 + _arg2) + _local4);
trace(("guess: " + ));
_local5 = 0;
_local6 = 0;
while (_local6 < .length) {
if (((((((( .charAt(_local6) == answer.charAt(_local6))) && (!((answer.charAt(_local6) == " "))))) && (!((answer.charAt(_local6) == "-"))))) && (!((answer.charAt(_local6) == "'"))))){
_local5++;
};
_local6++;
};
= _local5;
correct_text.text = String();
}
public function ():void{
var _local1:CharacterBlock;
var _local2:int;
_local2 = char_holder.getChildIndex( );
_local2--;
if ((((((answer.charAt(_local2) == " ")) || ((answer.charAt(_local2) == "'")))) || ((answer.charAt(_local2) == "-")))){
_local2--;
};
if (_local2 >= 0){
_local1 = (char_holder.getChildAt(_local2) as CharacterBlock);
unselectAll();
_local1.doSelect();
};
}
public function ():void{
var _local1:int;
.setText("");
_local1 = char_holder.getChildIndex( );
(_local1, "*");
}
private function questionCorrect():void{
stage.removeEventListener(KeyboardEvent.KEY_DOWN, );
unselectAll();
();
.questionCorrect();
= false;
}
private function fadeIn():void{
= new Animator( , );
.play();
}
public function ():void{
var _local1:CharacterBlock;
var _local2:int;
_local2 = char_holder.getChildIndex( );
_local2++;
if ((((((answer.charAt(_local2) == " ")) || ((answer.charAt(_local2) == "'")))) || ((answer.charAt(_local2) == "-")))){
_local2++;
};
if (_local2 < answer.length){
_local1 = (char_holder.getChildAt(_local2) as CharacterBlock);
unselectAll();
_local1.doSelect();
};
}
public function displayQuestion(_arg1:String):void{
var _local2:uint;
var _local3:uint;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:String;
var _local9:CharacterBlock;
this.answer = _arg1;
_local2 = _arg1.length;
= "";
= 0;
= 0;
_local3 = 0;
while (_local3 < _local2) {
_local8 = _arg1.charAt(_local3);
if (_local8 == " "){
= ( + " ");
} else {
if (_local8 == "'"){
= ( + "'");
} else {
if (_local8 == "-"){
= ( + "-");
} else {
= ( + "*");
++;
};
};
};
_local3++;
};
trace(((("trying to display question: " + _arg1) + " - ") + ));
total_text.text = String(
);
correct_text.text = String();
if (_local2 > 16){
_local4 = 10;
} else {
if (_local2 > 10){
_local4 = 20;
} else {
_local4 = 30;
};
};
_local5 = (_local4 * 0.5);
_local6 = ((_local2 * _local4) + ((_local2 - 1) * _local5));
_local7 = (0 - (_local6 * 0.5));
_local3 = 0;
while (_local3 < _local2) {
if (_local4 == 10){
_local9 = new SmallCharacterBlock(_arg1.charAt(_local3), this);
} else {
if (_local4 == 20){
_local9 = new MediumCharacterBlock(_arg1.charAt(_local3), this);
} else {
if (_local4 == 30){
_local9 = new LargeCharacterBlock(_arg1.charAt(_local3), this);
};
};
};
_local9.x = _local7;
_local9.y = 0;
_local7 = (_local7 + _local4);
_local7 = (_local7 + _local5);
char_holder.addChild(_local9);
_local3++;
};
(char_holder.getChildAt(0) as CharacterBlock).doSelect();
stage.addEventListener(KeyboardEvent.KEY_DOWN, , false, 0, true);
}
function (_arg1:KeyboardEvent):void{
var _local2:String;
var _local3:int;
if (){
if (_arg1.keyCode == Keyboard.LEFT){
();
NitromeGame.sound_manager.playSound("keypress");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
();
NitromeGame.sound_manager.playSound("keypress");
} else {
if (_arg1.keyCode == Keyboard.BACKSPACE){
();
();
NitromeGame.sound_manager.playSound("keypress");
} else {
if (_arg1.keyCode == Keyboard.DELETE){
();
NitromeGame.sound_manager.playSound("keypress");
} else {
_local2 = String.fromCharCode(_arg1.keyCode);
if ((((((((((((((((((((((((((((((((((((((((((((((((((((_local2 == "Q")) || ((_local2 == "W")))) || ((_local2 == "E")))) || ((_local2 == "R")))) || ((_local2 == "T")))) || ((_local2 == "Y")))) || ((_local2 == "U")))) || ((_local2 == "I")))) || ((_local2 == "O")))) || ((_local2 == "P")))) || ((_local2 == "A")))) || ((_local2 == "S")))) || ((_local2 == "D")))) || ((_local2 == "F")))) || ((_local2 == "G")))) || ((_local2 == "H")))) || ((_local2 == "J")))) || ((_local2 == "K")))) || ((_local2 == "L")))) || ((_local2 == "Z")))) || ((_local2 == "X")))) || ((_local2 == "C")))) || ((_local2 == "V")))) || ((_local2 == "B")))) || ((_local2 == "N")))) || ((_local2 == "M")))){
.setText(_local2);
_local3 = char_holder.getChildIndex( );
(_local3, _local2);
if ( == answer){
questionCorrect();
} else {
();
};
NitromeGame.sound_manager.playSound("keypress");
};
};
};
};
};
};
}
public function unselectAll():void{
var _local1:int;
_local1 = 0;
while (_local1 < char_holder.numChildren) {
(char_holder.getChildAt(_local1) as CharacterBlock).doUnselect();
_local1++;
};
}
public function gameOver():void{
stage.removeEventListener(KeyboardEvent.KEY_DOWN, );
unselectAll();
}
}
}//package com.nitrome.quiz
Section 46
//HintButton (com.nitrome.quiz.HintButton)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
public class HintButton extends MovieClip {
private var :XML;
private var :Animator;
private var :Animator;
private var
:XML;
private var :QuizGame;
public function HintButton():void{
= <Motion duration="40" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="39" tweenSnap="true" tweenSync="true" y="80">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="40" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="39" tweenSnap="true" tweenSync="true" y="-80">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
super();
addFrameScript(0, frame1, 9, frame10);
= new Animator(, this);
.play();
}
public function slideOff():void{
= new Animator(
, this);
.play();
}
public function init(_arg1:QuizGame):void{
this. = _arg1;
buttonMode = true;
useHandCursor = true;
mouseChildren = false;
addEventListener(MouseEvent.ROLL_OVER, doRollOver, false, 0, true);
addEventListener(MouseEvent.ROLL_OUT, doRollOut, false, 0, true);
addEventListener(MouseEvent.MOUSE_UP, doPress, false, 0, true);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function doPress(_arg1:MouseEvent):void{
.displayHint();
}
function doRollOut(_arg1:MouseEvent):void{
gotoAndStop("up");
}
function doRollOver(_arg1:MouseEvent):void{
gotoAndStop("over");
}
public function gameOver():void{
buttonMode = false;
useHandCursor = false;
removeEventListener(MouseEvent.ROLL_OVER, doRollOver);
removeEventListener(MouseEvent.ROLL_OUT, doRollOut);
removeEventListener(MouseEvent.MOUSE_UP, doPress);
}
}
}//package com.nitrome.quiz
Section 47
//HintSign (com.nitrome.quiz.HintSign)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
public class HintSign extends Sprite {
private var
:Animator;
private var
:XML;
private var
:Animator;
private var
:XML;
private var
:XML;
public var sign:MovieClip;
private var :QuizGame;
private var :Animator;
public function HintSign(_arg1:QuizGame):void{
= <Motion duration="46" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="1" x="12.399999999999999" y="-7.950000000000003"/>
<Keyframe index="2" x="25.05" y="-15.099999999999994"/>
<Keyframe index="3" x="37.8" y="-21.349999999999994"/>
<Keyframe index="4" x="50.6" y="-26.75"/>
<Keyframe index="5" x="63.4" y="-31.299999999999997"/>
<Keyframe index="6" x="76.2" y="-35.05"/>
<Keyframe index="7" x="88.8" y="-38"/>
<Keyframe index="8" x="101.25" y="-40.2"/>
<Keyframe index="9" x="113.45" y="-41.75"/>
<Keyframe index="10" x="125.4" y="-42.7"/>
<Keyframe index="11" x="137" y="-43.099999999999994"/>
<Keyframe index="12" x="148.25" y="-43"/>
<Keyframe index="13" x="159.15" y="-42.45"/>
<Keyframe index="14" x="169.7" y="-41.599999999999994"/>
<Keyframe index="15" x="179.8" y="-40.400000000000006"/>
<Keyframe index="16" x="189.55" y="-38.900000000000006"/>
<Keyframe index="17" x="198.95" y="-37.25"/>
<Keyframe index="18" x="207.9" y="-35.349999999999994"/>
<Keyframe index="19" x="216.45" y="-33.349999999999994"/>
<Keyframe index="20" x="224.65" y="-31.25"/>
<Keyframe index="21" x="232.45" y="-29.099999999999994"/>
<Keyframe index="22" x="239.85" y="-26.849999999999994"/>
<Keyframe index="23" x="246.9" y="-24.599999999999994"/>
<Keyframe index="24" x="253.6" y="-22.349999999999994"/>
<Keyframe index="25" x="259.9" y="-20.099999999999994"/>
<Keyframe index="26" x="265.85" y="-17.900000000000006"/>
<Keyframe index="27" x="271.45" y="-15.75"/>
<Keyframe index="28" x="276.7" y="-13.650000000000006"/>
<Keyframe index="29" x="281.6" y="-11.650000000000006"/>
<Keyframe index="30" x="286.2" y="-9.75"/>
<Keyframe index="31" x="290.45" y="-7.900000000000006"/>
<Keyframe index="32" x="294.35" y="-6.200000000000003"/>
<Keyframe index="33" x="297.95" y="-4.549999999999997"/>
<Keyframe index="34" x="301.2" y="-3.0999999999999943"/>
<Keyframe index="35" x="304.15" y="-1.7000000000000028"/>
<Keyframe index="36" x="306.75" y="-0.5"/>
<Keyframe index="37" x="309.1" y="0.5999999999999943"/>
<Keyframe index="38" x="311.1" y="1.5999999999999943"/>
<Keyframe index="39" x="312.8" y="2.4000000000000057"/>
<Keyframe index="40" x="314.15" y="3.0999999999999943"/>
<Keyframe index="41" x="315.25" y="3.5999999999999943"/>
<Keyframe index="42" x="316" y="4"/>
<Keyframe index="43" x="316.45" y="4.199999999999989"/>
<Keyframe index="44" x="316.35" y="4.800000000000011"/>
<Keyframe index="45" x="316.6" y="4.300000000000011"/>
</Motion>
;
= <Motion duration="45" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="1" x="316.35" y="4.800000000000011"/>
<Keyframe index="2" x="316.75" y="4.349999999999994"/>
<Keyframe index="3" x="317.25" y="4.599999999999994"/>
<Keyframe index="4" x="318.05" y="5"/>
<Keyframe index="5" x="319.15" y="5.550000000000011"/>
<Keyframe index="6" x="320.6" y="6.300000000000011"/>
<Keyframe index="7" x="322.35" y="7.150000000000006"/>
<Keyframe index="8" x="324.4" y="8.150000000000006"/>
<Keyframe index="9" x="326.75" y="9.349999999999994"/>
<Keyframe index="10" x="329.4" y="10.650000000000006"/>
<Keyframe index="11" x="332.45" y="12.050000000000011"/>
<Keyframe index="12" x="335.75" y="13.599999999999994"/>
<Keyframe index="13" x="339.45" y="15.25"/>
<Keyframe index="14" x="343.45" y="17.05000000000001"/>
<Keyframe index="15" x="347.8" y="18.900000000000006"/>
<Keyframe index="16" x="352.5" y="20.849999999999994"/>
<Keyframe index="17" x="357.55" y="22.900000000000006"/>
<Keyframe index="18" x="362.95" y="24.94999999999999"/>
<Keyframe index="19" x="368.75" y="27.05000000000001"/>
<Keyframe index="20" x="374.9" y="29.19999999999999"/>
<Keyframe index="21" x="381.4" y="31.30000000000001"/>
<Keyframe index="22" x="388.35" y="33.349999999999994"/>
<Keyframe index="23" x="395.65" y="35.400000000000006"/>
<Keyframe index="24" x="403.35" y="37.349999999999994"/>
<Keyframe index="25" x="411.45" y="39.150000000000006"/>
<Keyframe index="26" x="419.95" y="40.80000000000001"/>
<Keyframe index="27" x="428.9" y="42.19999999999999"/>
<Keyframe index="28" x="438.2" y="43.400000000000006"/>
<Keyframe index="29" x="447.95" y="44.30000000000001"/>
<Keyframe index="30" x="458.1" y="44.80000000000001"/>
<Keyframe index="31" x="468.6" y="44.900000000000006"/>
<Keyframe index="32" x="479.5" y="44.55000000000001"/>
<Keyframe index="33" x="490.75" y="43.650000000000006"/>
<Keyframe index="34" x="502.3" y="42.150000000000006"/>
<Keyframe index="35" x="514.15" y="40.05000000000001"/>
<Keyframe index="36" x="526.2" y="37.19999999999999"/>
<Keyframe index="37" x="538.45" y="33.599999999999994"/>
<Keyframe index="38" x="550.8" y="29.25"/>
<Keyframe index="39" x="563.25" y="24.099999999999994"/>
<Keyframe index="40" x="575.75" y="18.099999999999994"/>
<Keyframe index="41" x="588.2" y="11.300000000000011"/>
<Keyframe index="42" x="600.6" y="3.6500000000000057"/>
<Keyframe index="43" x="612.85" y="-4.799999999999997"/>
<Keyframe index="44" x="624.95" y="-14"/>
</Motion>
;
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="4" y="1.5500000000000007">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="9" y="4">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="14" y="2">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" y="0"/>
</Motion>
;
super();
this. = _arg1;
x = -45;
y = 127;
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, onAnimEnd, false, 0, true);
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, onAnimOffEnd, false, 0, true);
= new Animator(
, sign);
.addEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd, false, 0, true);
.play();
}
function onAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onAnimEnd);
sign.close_button.buttonMode = true;
sign.close_button.useHandCursor = true;
sign.close_button.mouseChildren = false;
sign.close_button.addEventListener(MouseEvent.ROLL_OVER, doRollOver, false, 0, true);
sign.close_button.addEventListener(MouseEvent.ROLL_OUT, doRollOut, false, 0, true);
sign.close_button.addEventListener(MouseEvent.MOUSE_UP, doPress, false, 0, true);
}
public function startOffAnim():void{
sign.close_button.removeEventListener(MouseEvent.ROLL_OVER, doRollOver);
sign.close_button.removeEventListener(MouseEvent.ROLL_OUT, doRollOut);
sign.close_button.removeEventListener(MouseEvent.MOUSE_UP, doPress);
.play();
}
function doPress(_arg1:MouseEvent):void{
startOffAnim();
}
function doRollOut(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop("up");
}
public function startAnim():void{
sign.close_button.gotoAndStop("up");
.play();
}
function onWobbleAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd);
.play();
}
function onAnimOffEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onAnimOffEnd);
.cleanUpHintSign();
}
function doRollOver(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop("over");
}
public function setHintText(_arg1:String):void{
sign.hint_text.text = _arg1;
}
}
}//package com.nitrome.quiz
Section 48
//LargeCharacterBlock (com.nitrome.quiz.LargeCharacterBlock)
package com.nitrome.quiz {
import flash.display.*;
import flash.text.*;
public class LargeCharacterBlock extends CharacterBlock {
public var letter:TextField;
public var collision:MovieClip;
public var cursor:MovieClip;
public function LargeCharacterBlock(_arg1:String, _arg2:GuessPanel):void{
addFrameScript(0, frame1, 9, frame10, 19, frame20);
super(_arg1, _arg2);
if (_arg1 == "'"){
setText("'");
};
if (_arg1 == "-"){
setText("-");
};
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function frame20(){
stop();
}
override public function setText(_arg1:String):void{
super.setText(_arg1);
letter.text = _arg1;
}
}
}//package com.nitrome.quiz
Section 49
//LevelSign (com.nitrome.quiz.LevelSign)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class LevelSign extends FlyingSign {
private var
:XML;
public var sign:MovieClip;
private var :Animator;
public function LevelSign():void{
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="4" y="1.5500000000000007">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="9" y="4">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="14" y="2">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" y="0"/>
</Motion>
;
super();
= new Animator(
, sign);
.addEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd, false, 0, true);
.play();
}
public function setLevelText(_arg1:int):void{
var _local2:String;
_local2 = String(_arg1);
if (_arg1 <= 9){
_local2 = ("0" + _local2);
};
sign.level_text_holder.level_text.text = String(("level " + _local2));
}
function onWobbleAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd);
.play();
}
}
}//package com.nitrome.quiz
Section 50
//Logo (com.nitrome.quiz.Logo)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class Logo extends MovieClip {
protected var main_timeline:MovieClip;
private var
:Animator;
private var
:XML;
private var
:Animator;
private var
:XML;
public function Logo():void{
= <Motion duration="40" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="39" tweenSnap="true" tweenSync="true" y="190">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="40" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="39" tweenSnap="true" tweenSync="true" y="-190">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
super();
tweenIn();
}
public function tweenOut():void{
y = 93;
= new Animator(
, this);
.play();
}
public function setTimeline(_arg1:MovieClip):void{
this.main_timeline = _arg1;
}
public function tweenIn():void{
y = -97;
= new Animator(
, this);
.play();
}
}
}//package com.nitrome.quiz
Section 51
//MalePresenter (com.nitrome.quiz.MalePresenter)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
public class MalePresenter extends Presenter {
private var
:String;// = ""
private var main_timeline:MovieClip;
private var
:Animator;
private var
:int;// = 20
private var :int;// = 20
public var speech_bubble:MovieClip;
private var :int;// = 0
private var :int;// = 0
private var :XML;
private var
:int;// = 0
private var :Animator;
private var
:XML;
public function MalePresenter():void{
= <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" tweenSnap="true" tweenSync="true" y="-160">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="24" tweenSnap="true" tweenSync="true" x="-2.5" y="-182.5">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="29" tweenSnap="true" tweenSync="true" x="-5" y="-172">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="5" tweenSnap="true" tweenSync="true" x="2.5" y="-10.5">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="10" tweenSnap="true" tweenSync="true" x="5" y="12">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="29" tweenSnap="true" tweenSync="true" y="172">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= 0;
= "";
= 0;
= 20;
= 0;
= 20;
super();
speech_bubble.visible = false;
slideIn();
}
public function stopAllSpeech():void{
this.removeEventListener(Event.ENTER_FRAME, addChar);
speech_bubble.visible = false;
}
public function displayBubbleText():void{
speech_bubble.speech_text.text =
;
}
public function finishSpeech():void{
this.removeEventListener(Event.ENTER_FRAME, addChar);
main_timeline.female_presenter.saySpeech();
}
public function addChar(_arg1:Event):void{
++;
if ( >= Presenter.speech_array[Presenter.speech_id].length){
++;
if ( >=
){
speech_bubble.visible = false;
++;
if (
>= ){
finishSpeech();
};
};
} else {
= (
+ Presenter.speech_array[Presenter.speech_id].charAt());
displayBubbleText();
};
}
public function saySpeech():void{
= 0;
= 0;
= "";
displayBubbleText();
= -1;
Presenter.speech_id++;
if (Presenter.speech_id >= Presenter.speech_array.length){
Presenter.speech_id = 0;
};
this.addEventListener(Event.ENTER_FRAME, addChar, false, 0, true);
speech_bubble.visible = true;
}
public function slideIn():void{
Presenter.speech_id = -1;
= new Animator(
, this);
.play();
}
public function setTimeline(_arg1:MovieClip):void{
this.main_timeline = _arg1;
}
public function slideOut():void{
stopAllSpeech();
= new Animator(, this);
.play();
}
}
}//package com.nitrome.quiz
Section 52
//MalePresenterWin (com.nitrome.quiz.MalePresenterWin)
package com.nitrome.quiz {
import flash.display.*;
import flash.events.*;
public class MalePresenterWin extends Presenter {
private var
:String;// = ""
private var main_timeline:MovieClip;
private var
:int;// = 20
private var :int;// = 20
public var speech_bubble:MovieClip;
private var :int;// = 0
private var :int;// = 0
private var
:int;// = 0
public function MalePresenterWin():void{
= 0;
= "";
= 0;
= 20;
= 0;
= 20;
super();
speech_bubble.visible = false;
}
public function stopAllSpeech():void{
this.removeEventListener(Event.ENTER_FRAME, addChar);
speech_bubble.visible = false;
}
public function displayBubbleText():void{
speech_bubble.speech_text.text =
;
}
public function finishSpeech():void{
this.removeEventListener(Event.ENTER_FRAME, addChar);
main_timeline.female_presenter_win.saySpeech();
}
public function addChar(_arg1:Event):void{
++;
if ( >= Presenter.win_speech_array[Presenter.win_speech_id].length){
++;
if ( >=
){
speech_bubble.visible = false;
++;
if (
>= ){
finishSpeech();
};
};
} else {
= (
+ Presenter.win_speech_array[Presenter.win_speech_id].charAt());
displayBubbleText();
};
}
public function saySpeech():void{
= 0;
= 0;
= "";
displayBubbleText();
= -1;
Presenter.win_speech_id++;
if (Presenter.win_speech_id >= Presenter.win_speech_array.length){
Presenter.win_speech_id = 0;
};
this.addEventListener(Event.ENTER_FRAME, addChar, false, 0, true);
speech_bubble.visible = true;
}
public function setTimeline(_arg1:MovieClip):void{
this.main_timeline = _arg1;
}
}
}//package com.nitrome.quiz
Section 53
//MediumCharacterBlock (com.nitrome.quiz.MediumCharacterBlock)
package com.nitrome.quiz {
import flash.display.*;
import flash.text.*;
public class MediumCharacterBlock extends CharacterBlock {
public var letter:TextField;
public var collision:MovieClip;
public var cursor:MovieClip;
public function MediumCharacterBlock(_arg1:String, _arg2:GuessPanel):void{
addFrameScript(0, frame1, 9, frame10, 19, frame20);
super(_arg1, _arg2);
if (_arg1 == "'"){
setText("'");
};
if (_arg1 == "-"){
setText("-");
};
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function frame20(){
stop();
}
override public function setText(_arg1:String):void{
super.setText(_arg1);
letter.text = _arg1;
}
}
}//package com.nitrome.quiz
Section 54
//Person (com.nitrome.quiz.Person)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class Person extends MovieClip {
private var
:Animator;
private var
:XML;
private var
:Animator;
private var
:CableCar;
public function Person(_arg1:uint):void{
= <Motion duration="21" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<source>
<Source frameRate="30" x="0" y="0" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="person">
<dimensions>
<geom:Rectangle left="-5.5" top="-14" width="11" height="15"/>
</dimensions>
<transformationPoint>
<geom:Point x="0.5" y="0.9333333333333333"/>
</transformationPoint>
</Source>
</source>
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="10" tweenSnap="true" tweenSync="true" x="0" y="-8">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="20" tweenSnap="true" tweenSync="true" x="0" y="0">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
super();
gotoAndStop(_arg1);
}
public function jumpBack():void{
var _local1:XMLList;
_local1 =
.elements();
_local1[2].@x = (_local1[2].@x * -1);
_local1[3].@x = (_local1[3].@x * -1);
_local1[3].@y = (_local1[3].@y * -1);
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END,
, false, 0, true);
.play();
}
public function jumpTo(_arg1:int):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:XMLList;
if (_arg1 < x){
_local4 = (x - _arg1);
_local2 = (0 - (_local4 * 0.5));
_local3 = (0 - _local4);
} else {
if (_arg1 > x){
_local4 = (_arg1 - x);
_local2 = (_local4 * 0.5);
_local3 = _local4;
} else {
if (_arg1 == x){
_local2 = 0;
_local3 = 0;
};
};
};
_local5 =
.elements();
_local5[2].@x = _local2;
_local5[3].@x = _local3;
_local5[3].@y = 4;
= new Animator(
, this);
.play();
}
public function setCableCar(_arg1:CableCar):void{
this.
= _arg1;
}
function
(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END,
);
.tryAnimOut();
}
}
}//package com.nitrome.quiz
Section 55
//PopUp (com.nitrome.quiz.PopUp)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class PopUp extends Sprite {
private var main_timeline:MovieClip;
private var
:Animator;
public var clip:MovieClip;
private var
:XML;
private var
:Animator;
private var
:XML;
private var
:XML;
private var :Animator;
public function PopUp(_arg1:MovieClip, _arg2:String):void{
= <Motion duration="45" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSync="true"/>
<Keyframe index="1" tweenSync="true" x="11.150000000000006" y="-7.600000000000023"/>
<Keyframe index="2" tweenSync="true" x="22.349999999999994" y="-15.199999999999989"/>
<Keyframe index="3" tweenSync="true" x="33.5" y="-22.80000000000001"/>
<Keyframe index="4" tweenSync="true" x="44.650000000000006" y="-30.399999999999977"/>
<Keyframe index="5" tweenSync="true" x="55.849999999999994" y="-38"/>
<Keyframe index="6" tweenSync="true" x="67" y="-45.60000000000002"/>
<Keyframe index="7" tweenSync="true" x="78.15" y="-53.19999999999999"/>
<Keyframe index="8" tweenSync="true" x="89.35" y="-60.80000000000001"/>
<Keyframe index="9" tweenSync="true" x="100.5" y="-68.39999999999998"/>
<Keyframe index="10" tweenSync="true" x="111.69999999999999" y="-76"/>
<Keyframe index="11" tweenSync="true" x="122.85" y="-83.60000000000002"/>
<Keyframe index="12" tweenSync="true" x="134" y="-91.19999999999999"/>
<Keyframe index="13" tweenSync="true" x="145.2" y="-98.80000000000001"/>
<Keyframe index="14" tweenSync="true" x="156.35" y="-106.4"/>
<Keyframe index="15" tweenSync="true" x="167.5" y="-114"/>
<Keyframe index="16" tweenSync="true" x="178.7" y="-121.6"/>
<Keyframe index="17" tweenSync="true" x="189.85" y="-129.2"/>
<Keyframe index="18" tweenSync="true" x="201" y="-136.8"/>
<Keyframe index="19" tweenSync="true" x="212.2" y="-144.4"/>
<Keyframe index="20" tweenSync="true" x="223.4" y="-151.8"/>
<Keyframe index="21" tweenSync="true" x="235" y="-158.65"/>
<Keyframe index="22" tweenSync="true" x="247.05" y="-164.95"/>
<Keyframe index="23" tweenSync="true" x="259.4" y="-170.55"/>
<Keyframe index="24" tweenSync="true" x="272.1" y="-175.45"/>
<Keyframe index="25" tweenSync="true" x="285.1" y="-179.65"/>
<Keyframe index="26" tweenSync="true" x="298.35" y="-183.1"/>
<Keyframe index="27" tweenSync="true" x="311.8" y="-185.75"/>
<Keyframe index="28" tweenSync="true" x="325.4" y="-187.7"/>
<Keyframe index="29" tweenSync="true" x="339.05" y="-188.9"/>
<Keyframe index="30" tweenSync="true" x="352.8" y="-189.35"/>
<Keyframe index="31" tweenSync="true" x="366.55" y="-189.15"/>
<Keyframe index="32" tweenSync="true" x="380.25" y="-188.3"/>
<Keyframe index="33" tweenSync="true" x="393.85" y="-186.8"/>
<Keyframe index="34" tweenSync="true" x="407.4" y="-184.75"/>
<Keyframe index="35" tweenSync="true" x="420.85" y="-182.1"/>
<Keyframe index="36" tweenSync="true" x="434.2" y="-179"/>
<Keyframe index="37" tweenSync="true" x="447.35" y="-175.45"/>
<Keyframe index="38" tweenSync="true" x="460.4" y="-171.45"/>
<Keyframe index="39" tweenSync="true" x="473.3" y="-167.05"/>
<Keyframe index="40" tweenSync="true" x="486.05" y="-162.3"/>
<Keyframe index="41" tweenSync="true" x="498.65" y="-157.25"/>
<Keyframe index="42" tweenSync="true" x="511.1" y="-151.85"/>
<Keyframe index="43" tweenSync="true" x="523.4" y="-146.2"/>
<Keyframe index="44" tweenSnap="true" tweenSync="true" x="535.55" y="-140.25">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="44" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<source>
<Source frameRate="12" x="274.55" y="211.75" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="popup" class="com.nitrome.quiz.PopUp">
<dimensions>
<geom:Rectangle left="-218" top="-165" width="436" height="309"/>
</dimensions>
<transformationPoint>
<geom:Point x="0.5" y="0.5001618122977347"/>
</transformationPoint>
</Source>
</source>
<Keyframe index="0" tweenSync="true"/>
<Keyframe index="1" tweenSync="true" x="12.5" y="6.150000000000006"/>
<Keyframe index="2" tweenSync="true" x="25.05000000000001" y="11.800000000000011"/>
<Keyframe index="3" tweenSync="true" x="37.849999999999966" y="17.05000000000001"/>
<Keyframe index="4" tweenSync="true" x="50.80000000000001" y="21.849999999999994"/>
<Keyframe index="5" tweenSync="true" x="63.94999999999999" y="26.19999999999999"/>
<Keyframe index="6" tweenSync="true" x="77.30000000000001" y="29.94999999999999"/>
<Keyframe index="7" tweenSync="true" x="90.84999999999997" y="33.150000000000006"/>
<Keyframe index="8" tweenSync="true" x="104.55000000000001" y="35.75"/>
<Keyframe index="9" tweenSync="true" x="118.39999999999998" y="37.599999999999994"/>
<Keyframe index="10" tweenSync="true" x="132.39999999999998" y="38.80000000000001"/>
<Keyframe index="11" tweenSync="true" x="146.45" y="39.19999999999999"/>
<Keyframe index="12" tweenSync="true" x="160.5" y="38.75"/>
<Keyframe index="13" tweenSync="true" x="174.55" y="37.55000000000001"/>
<Keyframe index="14" tweenSync="true" x="188.55" y="35.44999999999999"/>
<Keyframe index="15" tweenSync="true" x="202.34999999999997" y="32.5"/>
<Keyframe index="16" tweenSync="true" x="216.05" y="28.75"/>
<Keyframe index="17" tweenSync="true" x="229.45" y="24.19999999999999"/>
<Keyframe index="18" tweenSync="true" x="242.55" y="18.849999999999994"/>
<Keyframe index="19" tweenSync="true" x="255.34999999999997" y="12.75"/>
<Keyframe index="20" tweenSync="true" x="267.8" y="6"/>
<Keyframe index="21" tweenSync="true" x="279.90000000000003" y="-1.3499999999999943"/>
<Keyframe index="22" tweenSync="true" x="291.55" y="-9.300000000000011"/>
<Keyframe index="23" tweenSync="true" x="302.84999999999997" y="-17.75"/>
<Keyframe index="24" tweenSync="true" x="314.40000000000003" y="-25.900000000000006"/>
<Keyframe index="25" tweenSync="true" x="325.99999999999994" y="-33.849999999999994"/>
<Keyframe index="26" tweenSync="true" x="337.65000000000003" y="-41.80000000000001"/>
<Keyframe index="27" tweenSync="true" x="349.3" y="-49.75"/>
<Keyframe index="28" tweenSync="true" x="360.90000000000003" y="-57.69999999999999"/>
<Keyframe index="29" tweenSync="true" x="372.55" y="-65.65"/>
<Keyframe index="30" tweenSync="true" x="384.15000000000003" y="-73.65"/>
<Keyframe index="31" tweenSync="true" x="395.8" y="-81.6"/>
<Keyframe index="32" tweenSync="true" x="407.45" y="-89.55"/>
<Keyframe index="33" tweenSync="true" x="419.05" y="-97.5"/>
<Keyframe index="34" tweenSync="true" x="430.7" y="-105.45"/>
<Keyframe index="35" tweenSync="true" x="442.34999999999997" y="-113.4"/>
<Keyframe index="36" tweenSync="true" x="453.95" y="-121.35"/>
<Keyframe index="37" tweenSync="true" x="465.59999999999997" y="-129.3"/>
<Keyframe index="38" tweenSync="true" x="477.24999999999994" y="-137.3"/>
<Keyframe index="39" tweenSync="true" x="488.84999999999997" y="-145.25"/>
<Keyframe index="40" tweenSync="true" x="500.49999999999994" y="-153.2"/>
<Keyframe index="41" tweenSync="true" x="512.1500000000001" y="-161.15"/>
<Keyframe index="42" tweenSync="true" x="523.75" y="-169.1"/>
<Keyframe index="43" tweenSnap="true" tweenSync="true" x="535.4000000000001" y="-177.05">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="4" y="1.5500000000000007">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="9" y="4">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="14" y="2">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" y="0"/>
</Motion>
;
super();
this.main_timeline = _arg1;
this.clip.gotoAndStop(_arg2);
x = -261;
y = 340;
= new Animator(
, clip);
.addEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd, false, 0, true);
.play();
clip.back_button.setTimeline(_arg1);
startAnim();
}
function onAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onAnimEnd);
clip.back_button.addEvents();
.pause();
}
public function startOffAnim():void{
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, onAnimOffEnd, false, 0, true);
.play();
.play();
}
public function startAnim():void{
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, onAnimEnd, false, 0, true);
.play();
}
function onWobbleAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd);
.play();
}
function onAnimOffEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onAnimOffEnd);
(parent as MovieClip).removeChild(this);
}
}
}//package com.nitrome.quiz
Section 56
//Presenter (com.nitrome.quiz.Presenter)
package com.nitrome.quiz {
import flash.display.*;
public class Presenter extends Sprite {
protected static var win_speech_id:int = -1;
protected static var speech_id:int = -1;
protected static var speech_array:Array = new Array("Ladies and\ngentlemen...", "...boys and girls...", "...cats and dogs...", "and everybody else!", "Welcome to the first\nSkywire VIP event!", "It's a very exciting\ntime for the Skywire\ncorporation!", "It will be the first\ntime that people get\nto see the new park!", "Lots of famous faces\nare putting in an\nappearance!", "We will be able to do a\nbit of star-spotting!", "Who knows who we\nwill see?", "Stars from both past and present...", "...everyone from\nmusicians to\nmovie stars!", "Even the most unlikely characters might turn up!", "So without further\nado...", "...let's get on with the\nshow!", "...", "...", "Are they still reading\nthis?!", "?", "This is quite\nembarassing!", "Why haven't the\ncurtains gone\nup?!", "?", "I think someone needs to press the big play\nbutton!", "...", "Who's in charge of the play button?", "I thought you were!", "Well it's too late now!", "What shall we do?", "Let's just start over\nand hope no-one\nnoticed!");
protected static var win_speech_array:Array = new Array("Well folks we're now\nat the end of the\nshow!", "And what a show it\nwas...", "Everyone turned up\nthat was invited!", "As well as a few who weren't!", "Ah you have to love\nthose z-listers!", "And with that there's\nonly one thing\nleft to say...", "Good Night and have a safe Journey home!", "Hey that was my line!", "I thought maybe it\nshould be my turn to\nfinish", "But... but it was my\nline... I'm the star!", "I hate you... you\nnever let me speak!", "Yeah well maybe you\nshouldn't!", "I'm the popular one!", "Is that the best\nyou can do?", "I can do better... just keep going", "Are we really going to sit here and argue?", "Well we haven't got\nany legs so what else\nare we going to do?", "We could at least not\ndo it in front of the\ngamers", "When else are we\ngoing to do it...", "...once the game\nis closed...", "...do we even\nexist?", "Maybe we should keep on talking just so they don't close us down", "...but I have run out\nof things to say", "Oh great now you\nfinally shut up...\ntypical!", "...", "...", "Please don't close us!", "...there's more game\nhonest!", "Just give it a minute!", "I'm sure it will load up secret levels or\nsomething!", "Or maybe if you wait\nlong enough...", "...we can get an artist to make some more\npixel people", "Yeah as long as it's\nnot Mat", "Why not Mat?", "Look what he did with my hair!", "What's wrong with\nyour hair?", "What's right with it?", "There's not a pixel out of place!", "How can you tell?\nThere are so few\npixels!", "Yeah I don't get it -\nwhy didn't he draw\nus bigger?", "He sure is Lazy", "I would watch what\nyou say...", "Why?", "Well if he did the art maybe he wrote this\ntext too?", "Flibliwibbledooblewam!", "That's definitely Mat... he's getting you back!", "I'm really a Man in a\ndress!", "There he goes...\ndoesn't know when to\nstop!", "How do you know he\nwon't do it to you?", "I don't wash my hands after the toilet!", "Oh! Too late!", "Maybe there is a way we can get back in his good books?!", "Yeah maybe he will\neven let us be in\nSkywire 3!", "Sweet! That would be cool!", "Oh Mat you're the\nbest artist in the\nworld...", "Yeah you should make games for consoles or something", "Ok Don't ham it up\ntoo much!", "Hang are we saying\nthis or him?", "Dunno?", "He must be running\nout of things to\nsay by now!", "I recon so even he\ncan't spout that much\nrubbish for long", "Ok then we better end here", "That's All Folks!!", "No Really...", "Really this time...", "Go!", "Honestly there's no\nmore...", "I don't know why you keep looking", "There's only so long\nwe can spend saying\nstuff", "Turn the game off\nnow!", "Move away from the\nscreen...", "It has to end at some point...", "...or we have to loop\nback to the start!", "Yeah!", "Is that what you\nwant?", "Ok then you asked for it!", "Ladies and\nGentlemen...", "No not that start!", "Oh the start of the\nend?", "Yes!", "Well why didn't you\nsay?", "...");
public function Presenter():void{
}
}
}//package com.nitrome.quiz
Section 57
//Question (com.nitrome.quiz.Question)
package com.nitrome.quiz {
public class Question {
public var answer:String;
public var people:Array;
public var car:uint;
public var id:uint;
public var hint:String;
public function Question(_arg1:uint, _arg2:String, _arg3:String, _arg4:String, _arg5:uint){
var _local6:uint;
super();
this.id = _arg1;
this.answer = _arg2;
this.hint = _arg3;
this.car = _arg5;
this.people = _arg4.split(",");
_local6 = 0;
while (_local6 < this.people.length) {
this.people[_local6] = parseInt(this.people[_local6]);
_local6++;
};
}
}
}//package com.nitrome.quiz
Section 58
//QuestionParser (com.nitrome.quiz.QuestionParser)
package com.nitrome.quiz {
public class QuestionParser {
private var :XML;
public function QuestionParser(_arg1:String){
XML.ignoreWhitespace = true;
= new XML(_arg1);
}
public function ():Array{
var _local1:Array;
var _local2:XML;
_local1 = new Array();
for each (_local2 in .elements()) {
_local1[uint(_local2.@id)] = new Question(uint(_local2.@id), String(_local2.@answer).toUpperCase(), String(_local2.@hint), String(_local2.@people), uint(_local2.@car));
};
return (_local1);
}
}
}//package com.nitrome.quiz
Section 59
//QuitSign (com.nitrome.quiz.QuitSign)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
import flash.events.*;
import com.nitrome.game.*;
public class QuitSign extends Sprite {
private var
:Animator;
private var
:XML;
private var
:Animator;
private var
:XML;
private var
:XML;
public var sign:MovieClip;
private var :QuizGame;
private var submit_score:Boolean;// = false
private var :Animator;
public function QuitSign(_arg1:QuizGame):void{
= <Motion duration="46" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="1" x="12.399999999999999" y="-7.950000000000003"/>
<Keyframe index="2" x="25.05" y="-15.099999999999994"/>
<Keyframe index="3" x="37.8" y="-21.349999999999994"/>
<Keyframe index="4" x="50.6" y="-26.75"/>
<Keyframe index="5" x="63.4" y="-31.299999999999997"/>
<Keyframe index="6" x="76.2" y="-35.05"/>
<Keyframe index="7" x="88.8" y="-38"/>
<Keyframe index="8" x="101.25" y="-40.2"/>
<Keyframe index="9" x="113.45" y="-41.75"/>
<Keyframe index="10" x="125.4" y="-42.7"/>
<Keyframe index="11" x="137" y="-43.099999999999994"/>
<Keyframe index="12" x="148.25" y="-43"/>
<Keyframe index="13" x="159.15" y="-42.45"/>
<Keyframe index="14" x="169.7" y="-41.599999999999994"/>
<Keyframe index="15" x="179.8" y="-40.400000000000006"/>
<Keyframe index="16" x="189.55" y="-38.900000000000006"/>
<Keyframe index="17" x="198.95" y="-37.25"/>
<Keyframe index="18" x="207.9" y="-35.349999999999994"/>
<Keyframe index="19" x="216.45" y="-33.349999999999994"/>
<Keyframe index="20" x="224.65" y="-31.25"/>
<Keyframe index="21" x="232.45" y="-29.099999999999994"/>
<Keyframe index="22" x="239.85" y="-26.849999999999994"/>
<Keyframe index="23" x="246.9" y="-24.599999999999994"/>
<Keyframe index="24" x="253.6" y="-22.349999999999994"/>
<Keyframe index="25" x="259.9" y="-20.099999999999994"/>
<Keyframe index="26" x="265.85" y="-17.900000000000006"/>
<Keyframe index="27" x="271.45" y="-15.75"/>
<Keyframe index="28" x="276.7" y="-13.650000000000006"/>
<Keyframe index="29" x="281.6" y="-11.650000000000006"/>
<Keyframe index="30" x="286.2" y="-9.75"/>
<Keyframe index="31" x="290.45" y="-7.900000000000006"/>
<Keyframe index="32" x="294.35" y="-6.200000000000003"/>
<Keyframe index="33" x="297.95" y="-4.549999999999997"/>
<Keyframe index="34" x="301.2" y="-3.0999999999999943"/>
<Keyframe index="35" x="304.15" y="-1.7000000000000028"/>
<Keyframe index="36" x="306.75" y="-0.5"/>
<Keyframe index="37" x="309.1" y="0.5999999999999943"/>
<Keyframe index="38" x="311.1" y="1.5999999999999943"/>
<Keyframe index="39" x="312.8" y="2.4000000000000057"/>
<Keyframe index="40" x="314.15" y="3.0999999999999943"/>
<Keyframe index="41" x="315.25" y="3.5999999999999943"/>
<Keyframe index="42" x="316" y="4"/>
<Keyframe index="43" x="316.45" y="4.199999999999989"/>
<Keyframe index="44" x="316.35" y="4.800000000000011"/>
<Keyframe index="45" x="316.6" y="4.300000000000011"/>
</Motion>
;
= <Motion duration="45" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="1" x="316.35" y="4.800000000000011"/>
<Keyframe index="2" x="316.75" y="4.349999999999994"/>
<Keyframe index="3" x="317.25" y="4.599999999999994"/>
<Keyframe index="4" x="318.05" y="5"/>
<Keyframe index="5" x="319.15" y="5.550000000000011"/>
<Keyframe index="6" x="320.6" y="6.300000000000011"/>
<Keyframe index="7" x="322.35" y="7.150000000000006"/>
<Keyframe index="8" x="324.4" y="8.150000000000006"/>
<Keyframe index="9" x="326.75" y="9.349999999999994"/>
<Keyframe index="10" x="329.4" y="10.650000000000006"/>
<Keyframe index="11" x="332.45" y="12.050000000000011"/>
<Keyframe index="12" x="335.75" y="13.599999999999994"/>
<Keyframe index="13" x="339.45" y="15.25"/>
<Keyframe index="14" x="343.45" y="17.05000000000001"/>
<Keyframe index="15" x="347.8" y="18.900000000000006"/>
<Keyframe index="16" x="352.5" y="20.849999999999994"/>
<Keyframe index="17" x="357.55" y="22.900000000000006"/>
<Keyframe index="18" x="362.95" y="24.94999999999999"/>
<Keyframe index="19" x="368.75" y="27.05000000000001"/>
<Keyframe index="20" x="374.9" y="29.19999999999999"/>
<Keyframe index="21" x="381.4" y="31.30000000000001"/>
<Keyframe index="22" x="388.35" y="33.349999999999994"/>
<Keyframe index="23" x="395.65" y="35.400000000000006"/>
<Keyframe index="24" x="403.35" y="37.349999999999994"/>
<Keyframe index="25" x="411.45" y="39.150000000000006"/>
<Keyframe index="26" x="419.95" y="40.80000000000001"/>
<Keyframe index="27" x="428.9" y="42.19999999999999"/>
<Keyframe index="28" x="438.2" y="43.400000000000006"/>
<Keyframe index="29" x="447.95" y="44.30000000000001"/>
<Keyframe index="30" x="458.1" y="44.80000000000001"/>
<Keyframe index="31" x="468.6" y="44.900000000000006"/>
<Keyframe index="32" x="479.5" y="44.55000000000001"/>
<Keyframe index="33" x="490.75" y="43.650000000000006"/>
<Keyframe index="34" x="502.3" y="42.150000000000006"/>
<Keyframe index="35" x="514.15" y="40.05000000000001"/>
<Keyframe index="36" x="526.2" y="37.19999999999999"/>
<Keyframe index="37" x="538.45" y="33.599999999999994"/>
<Keyframe index="38" x="550.8" y="29.25"/>
<Keyframe index="39" x="563.25" y="24.099999999999994"/>
<Keyframe index="40" x="575.75" y="18.099999999999994"/>
<Keyframe index="41" x="588.2" y="11.300000000000011"/>
<Keyframe index="42" x="600.6" y="3.6500000000000057"/>
<Keyframe index="43" x="612.85" y="-4.799999999999997"/>
<Keyframe index="44" x="624.95" y="-14"/>
</Motion>
;
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="4" y="1.5500000000000007">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="9" y="4">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="14" y="2">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" y="0"/>
</Motion>
;
submit_score = false;
super();
this. = _arg1;
x = -45;
y = 127;
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, onAnimEnd, false, 0, true);
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, onAnimOffEnd, false, 0, true);
= new Animator(
, sign);
.addEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd, false, 0, true);
.play();
}
function onAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onAnimEnd);
sign.quit_button.buttonMode = true;
sign.quit_button.useHandCursor = true;
sign.quit_button.mouseChildren = false;
sign.quit_button.addEventListener(MouseEvent.ROLL_OVER, doRollOver, false, 0, true);
sign.quit_button.addEventListener(MouseEvent.ROLL_OUT, doRollOut, false, 0, true);
sign.quit_button.addEventListener(MouseEvent.MOUSE_UP, doPress, false, 0, true);
}
public function startOffAnim():void{
sign.quit_button.removeEventListener(MouseEvent.ROLL_OVER, doRollOver);
sign.quit_button.removeEventListener(MouseEvent.ROLL_OUT, doRollOut);
sign.quit_button.removeEventListener(MouseEvent.MOUSE_UP, doPress);
.play();
}
function doPress(_arg1:MouseEvent):void{
NitromeGame.sound_manager.playMusic(SoundManager.MENU);
submit_score = false;
startOffAnim();
}
function doRollOut(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop("up");
}
public function startAnim():void{
sign.quit_button.gotoAndStop("up");
.play();
}
public function setScoreText(_arg1:int):void{
sign.total_text.text = String(_arg1);
trace(((("comparing: " + NitromeGame.getLastSavedScore()) + " to ") + _arg1));
if (NitromeGame.getLastSavedScore() >= _arg1){
trace("made submit invisible");
sign.submitscore_button.visible = false;
};
}
function onWobbleAnimEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd);
.play();
}
function
(_arg1:MouseEvent):void{
NitromeGame.sound_manager.playMusic(SoundManager.MENU);
NitromeGame.setLastSavedScore(parseInt(sign.total_text.text));
trace(("saving last saved score to: " + sign.total_text.text));
submit_score = true;
startOffAnim();
}
function onAnimOffEnd(_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, onAnimOffEnd);
if (submit_score == true){
.backToSubmitScore();
} else {
.backToMenu();
};
}
function doRollOver(_arg1:MouseEvent):void{
_arg1.target.gotoAndStop("over");
}
}
}//package com.nitrome.quiz
Section 60
//QuizGame (com.nitrome.quiz.QuizGame)
package com.nitrome.quiz {
import flash.display.*;
import com.nitrome.buttons.*;
import com.nitrome.game.*;
public class QuizGame {
private var :ConfettiMaker;
private var :Boolean;// = false
private var main_timeline:MovieClip;
private var curtain:Curtain;
private var xml:XML;
private var guess_panel:GuessPanel;
private var quit_button:QuitButton;
private var :Boolean;// = false
private var holder:MovieClip;
private var :HintSign;
private var :Boolean;// = false
private var timer:CountdownTimer;
private var :Array;
private var
:CableCar;
private var :Boolean;// = false
private var hint_button:HintButton;
private var :Boolean;// = false
private var :QuitSign;
private var :uint;// = 0
private var :WinSign;
public function QuizGame(_arg1:MovieClip, _arg2:MovieClip, _arg3:Curtain, _arg4:GuessPanel, _arg5:CountdownTimer, _arg6:HintButton, _arg7:QuitButton){
var _local8:QuestionParser;
= 0;
= false;
= false;
= false;
= false;
= false;
xml = <quiz><question id="0" answer="BATMAN" hint="Superhero comic book character" people="39" car="9"/><question id="1" answer="LITTLE RED RIDING HOOD" hint="Fairytale character" people="27,28" car="0"/><question id="2" answer="COUNT DRACULA" hint="Famous fictional vampire" people="35" car="6"/><question id="3" answer="ROBIN HOOD" hint="Lives in Sherwood Forest with his Merry Men" people="62" car="39"/><question id="4" answer="OFF THE RAILS" hint="Nitrome game" people="88,89" car="2"/><question id="5" answer="HARRY POTTER" hint="Famous books and films about a wizard" people="65,66,67" car="6"/><question id="6" answer="SUPER MARIO BROS" hint="Video game series" people="81,82" car="0"/><question id="7" answer="DIRK VALENTINE" hint="Nitrome game" people="83" car="4"/><question id="8" answer="SANTA CLAUS" hint="Ho ho ho" people="95" car="0"/><question id="9" answer="GHOSTBUSTERS" hint="Film comedy" people="127,128,129,130,131" car="28"/><question id="10" answer="STAR WARS" hint="Epic space movie series" people="107,108" car="9"/><question id="11" answer="TEENAGE MUTANT NINJA TURTLES" hint="Comic book, cartoon and film series" people="101,102,103,104" car="37"/><question id="12" answer="HEADCASE" hint="Nitrome game" people="87" car="6"/><question id="13" answer="SESAME STREET" hint="Children's TV series " people="109,110,111,112,113,114" car="42"/><question id="14" answer="THE STATUE OF LIBERTY" hint="Famous landmark" people="132" car="0"/><question id="15" answer="THE ADDAMS FAMILY" hint="TV show and movies about a strange family..." people="29,30,31,32,33,34" car="33"/><question id="16" answer="HUMPTY DUMPTY" hint="Nursery rhyme character" people="144,124,145" car="11"/><question id="17" answer="SPIDERMAN" hint="Comic book character" people="40" car="5"/><question id="18" answer="THE SIMPSONS" hint="Animated TV series" people="90,91,92,93,94" car="21"/><question id="19" answer="PIRATES OF THE CARIBBEAN" hint="A series of films and originally a ride..." people="37,38" car="3"/><question id="20" answer="THE BEATLES" hint="Rock and pop band from Liverpool" people="178,179,180,181" car="11"/><question id="21" answer="SPONGEBOB SQUAREPANTS" hint="Animated TV series" people="143" car="3"/><question id="22" answer="SUPERMAN" hint="Comic book character" people="41" car="0"/><question id="23" answer="ELVIS PRESLEY" hint="Singer and film star" people="46" car="8"/><question id="24" answer="MICKEY MOUSE" hint="Iconic animal cartoon character" people="142" car="0"/><question id="25" answer="THE WIZARD OF OZ" hint="A film" people="42,43,44,45" car="38"/><question id="26" answer="SCOOBY DOO" hint="Cartoon series" people="76,77,78,79,124,80" car="31"/><question id="27" answer="THE BLUES BROTHERS" hint="Film and band" people="200,201" car="10"/><question id="28" answer="SHREK" hint="Computer-animated comedy film" people="146" car="4"/><question id="29" answer="MARY POPPINS" hint="Musical film" people="153" car="0"/><question id="30" answer="FRANKENSTEIN'S MONSTER" hint="A horror character in books and films" people="36" car="4"/><question id="31" answer="YIN YANG" hint="Nitrome game" people="63,64" car="36"/><question id="32" answer="ADAM AND EVE" hint="The first man and woman" people="16,17" car="4"/><question id="33" answer="STAR TREK" hint="TV series and films set in space" people="55,56,57,58,59,60,61" car="35"/><question id="34" answer="THE SPICE GIRLS" hint="All-female band" people="18,19,20,21,22" car="27"/><question id="35" answer="QUEEN ELIZABETH" hint="Famous English historical figure" people="85" car="40"/><question id="36" answer="JAMES BOND" hint="Book and film character" people="133" car="2"/><question id="37" answer="ABRAHAM LINCOLN" hint="Famous US historical figure" people="86" car="41"/><question id="38" answer="TOY STORY" hint="Computer-animated film" people="150,151" car="3"/><question id="39" answer="FINAL NINJA" hint="Nitrome game" people="84" car="10"/><question id="40" answer="SONIC THE HEDGEHOG" hint="Video game character" people="173" car="5"/><question id="41" answer="BIGFOOT" hint="Also known as Sasquatch" people="152" car="4"/><question id="42" answer="KISS" hint="Rock band" people="72,73,74,75" car="19"/><question id="43" answer="ALBERT EINSTEIN" hint="Theoretical physicist" people="97" car="8"/><question id="44" answer="THE A TEAM" hint="TV show from the eighties" people="23,24,25,26" car="19"/><question id="45" answer="SOUTH PARK" hint="Animated comedy series" people="68,69,70,71" car="13"/><question id="46" answer="THRILLER" hint="The name of a song featuring the centered artist" people="10,11,12,13,14" car="21"/><question id="47" answer="SQUARE MEAL" hint="Nitrome game" people="105,106" car="10"/><question id="48" answer="TUTANKHAMUN" hint="Egyptian Pharaoh" people="99" car="3"/><question id="49" answer="KING ARTHUR" hint="Legendary monarch" people="98" car="2"/><question id="50" answer="THE OSBOURNES" hint="Famous family" people="138,139,140,141" car="19"/><question id="51" answer="THE INVISIBLE MAN" hint="Famous movie monster" people="124" car="5"/><question id="52" answer="LARA CROFT" hint="Character from a video game" people="125" car="3"/><question id="53" answer="SKYWIRE" hint="Nitrome game" people="119,120,121,122,123" car="21"/><question id="54" answer="RONALD MCDONALD" hint="Famous mascot" people="126" car="0"/><question id="55" answer="LAUREL AND HARDY" hint="Black and white comedy duo" people="2,1" car="10"/><question id="56" answer="NEIL ARMSTRONG" hint="Famous astronaut" people="217" car="8"/><question id="57" answer="WILL SMITH" hint="Movie actor" people="137" car="5"/><question id="58" answer="QUEEN" hint="English rock band" people="115,116,117,118" car="11"/><question id="59" answer="WAYNE'S WORLD" hint="Comedy film" people="171,172" car="5"/><question id="60" answer="MEDUSA" hint="Greek mythological character" people="154" car="43"/><question id="61" answer="TRANSFORMERS" hint="Robot toys" people="160" car="5"/><question id="62" answer="BRUCE LEE" hint="Martial arts film star" people="9" car="0"/><question id="63" answer="AUSTIN POWERS" hint="Series of comedy films" people="162,163" car="6"/><question id="64" answer="TASMANIAN DEVIL" hint="Cartoon character" people="170" car="2"/><question id="65" answer="THE MUPPET SHOW" hint="TV puppet series" people="182,183,184,185" car="13"/><question id="66" answer="ABBA" hint="Swedish pop music group" people="164,165,166,167" car="18"/><question id="67" answer="WALLACE AND GROMIT" hint="Animated film and shorts" people="189,190" car="0"/><question id="68" answer="METAL GEAR SOLID" hint="Video game" people="134,124,135,124,136" car="30"/><question id="69" answer="MARILYN MANSON" hint="Creepy rock musician" people="148" car="9"/><question id="70" answer="LEGEND OF ZELDA" hint="Video game series" people="174" car="4"/><question id="71" answer="CROCODILE DUNDEE" hint="Comedy film" people="161" car="2"/><question id="72" answer="MARILYN MONROE" hint="Famous American actress" people="147" car="6"/><question id="73" answer="AMY WINEHOUSE" hint="Singer from London" people="15" car="0"/><question id="74" answer="THE MATRIX" hint="Science fiction film" people="155,156,157" car="8"/><question id="75" answer="HENRY VIII" hint="Famous English historical figure" people="202" car="2"/><question id="76" answer="TOXIC" hint="Nitrome game" people="187,188" car="4"/><question id="77" answer="ADMIRAL NELSON" hint="Famous British flag officer." people="96" car="5"/><question id="78" answer="LEMMINGS" hint="Video game series" people="175" car="2"/><question id="79" answer="INDIANA JONES" hint="Film series" people="192" car="2"/><question id="80" answer="GARFIELD" hint="Comic strip cat" people="193" car="4"/><question id="81" answer="NAPOLEON DYNAMITE" hint="Comedy film" people="149" car="0"/><question id="82" answer="JULIUS CAESAR" hint="Ancient Roman Leader" people="100" car="0"/><question id="83" answer="BEETLEJUICE" hint="Comedy horror film" people="168" car="6"/><question id="84" answer="THE X FILES" hint="Sci-fi TV and film series" people="158,159" car="3"/><question id="85" answer="UNCLE SAM" hint="Character used as the National personification of the US" people="169" car="0"/><question id="86" answer="HALO" hint="Video game series" people="177" car="7"/><question id="87" answer="LEGO" hint="Famous toy" people="176" car="3"/><question id="88" answer="THE TERMINATOR" hint="Sci-fi film" people="191" car="9"/><question id="89" answer="FUTURAMA" hint="Animated TV series" people="195,196,197,198,199" car="21"/><question id="90" answer="STREET FIGHTER II" hint="Sequel to a popular arcade game" people="47,48,49,50,51,52,53,54" car="34"/><question id="91" answer="RESIDENT EVIL" hint="Video game" people="3,4,5,6,7,8" car="31"/><question id="92" answer="THE MUMMY" hint="Horror film " people="194" car="3"/><question id="93" answer="SCRUBS" hint="Comedy TV Series set in a hospital" people="218,219,220,221,222,223" car="31"/><question id="94" answer="BACK TO THE FUTURE" hint="Sci-fi adventure film" people="210,211" car="0"/><question id="95" answer="ALIEN" hint="Science Fiction film" people="212,213,214,215,216" car="30"/><question id="96" answer="LOST" hint="TV Series" people="203,204,205,206,207,208,209" car="32"/><question id="97" answer="HE-MAN" hint="Animated cartoon series" people="230,231" car="0"/><question id="98" answer="FAMILY GUY" hint="Animated TV series" people="224,225,226,227,228,229" car="31"/><question id="99" answer="FROST BITE" hint="Nitrome game" people="186" car="5"/></quiz>
;
super();
= false;
= false;
this.main_timeline = _arg1;
this.holder = _arg2;
this.curtain = _arg3;
this.guess_panel = _arg4;
this.timer = _arg5;
this.hint_button = _arg6;
this.quit_button = _arg7;
_arg3.setQuizGame(this);
_arg7.setQuizGame(this);
_local8 = new QuestionParser(xml.toString());
= _local8.();
= 0;
_arg4.setQuizGame(this);
_arg6.init(this);
Score.value = 0;
LevelScore.value = 100;
_arg3.();
nextQuestion(true);
NitromeGame.sound_manager.playMusic(SoundManager.GAME);
NitromeGame.sound_manager.playSound("ready");
}
public function enableQuestion():void{
guess_panel.setActive();
timer.startTimer(100);
}
public function ():void{
.startOffAnim();
}
public function displayQuitSign():void{
var _local1:QuitSign;
if (!){
_local1 = new QuitSign(this);
_local1.setScoreText(Score.value);
holder.addChild(_local1);
_local1.startAnim();
= _local1;
= true;
};
}
public function questionCorrect():void{
var _local1:ScreenFlash;
var _local2:ConfettiMaker;
var _local3:CorrectSign;
trace("question correct");
timer.doPause();
Score.value = (Score.value + LevelScore.value);
Score.value = (Score.value + timer.getTimeLeft());
if (){
();
};
_local1 = new ScreenFlash();
main_timeline.addChild(_local1);
_local1.doFlash();
NitromeGame.sound_manager.playSound("welldone");
if (( + 1) >= .length){
();
} else {
_local2 = new ConfettiMaker(100, false);
main_timeline.addChild(_local2);
_local2.startConfetti();
_local3 = new CorrectSign();
_local3.setScoreText(LevelScore.value, timer.getTimeLeft(), Score.value);
holder.addChild(_local3);
_local3.startAnim();
};
.x = 9;
.y = 213;
.startAnimIn();
}
public function backToSubmitScore():void{
var _local1:PopUp;
holder.removeChild();
= null;
= false;
if (!){
main_timeline.gotoAndStop("game_out");
hint_button.slideOff();
guess_panel.slideOff();
timer.slideOff();
};
curtain.curtainDown();
_local1 = new PopUp(main_timeline, "submit_score");
main_timeline.popup_holder.addChild(_local1);
if (){
.stopConfetti();
};
main_timeline.copyright.fadeIn();
}
public function backToMenu():void{
holder.removeChild();
= null;
= false;
if (!){
main_timeline.gotoAndStop("game_out");
hint_button.slideOff();
guess_panel.slideOff();
timer.slideOff();
};
curtain.curtainDown();
main_timeline.logo.tweenIn();
main_timeline.play_button.slideOn();
main_timeline.help_button.slideOn();
main_timeline.scores_button.slideOn();
main_timeline.credits_button.slideOn();
main_timeline.sign_post.slideOnGame();
main_timeline.male_presenter.slideIn();
main_timeline.female_presenter.slideIn();
if (){
.stopConfetti();
};
main_timeline.copyright.fadeIn();
}
public function cleanUpHintSign():void{
holder.removeChild();
= null;
= false;
main_timeline.stage.focus = guess_panel;
}
public function cleanUpQuestion():void{
guess_panel.fadeOut();
holder.removeChild(
);
= null;
}
public function ():void{
var _local1:ConfettiMaker;
var _local2:WinSign;
if (){
();
};
if (!){
_local1 = new ConfettiMaker(100, true);
main_timeline.addChild(_local1);
_local1.startConfetti();
= _local1;
_local2 = new WinSign(this);
_local2.setScoreText(LevelScore.value, timer.getTimeLeft(), Score.value);
holder.addChild(_local2);
_local2.startAnim();
= _local2;
guess_panel.gameOver();
timer.gameOver();
hint_button.gameOver();
= true;
};
}
public function displayHint():void{
var _local1:HintSign;
if (!){
LevelScore.value = 50;
_local1 = new HintSign(this);
_local1.setHintText([].hint);
holder.addChild(_local1);
_local1.startAnim();
= _local1;
= true;
};
}
public function gameOver():void{
var _local1:QuitSign;
= true;
if (){
();
};
if (!){
_local1 = new QuitSign(this);
_local1.setScoreText(Score.value);
holder.addChild(_local1);
_local1.startAnim();
= _local1;
guess_panel.gameOver();
timer.gameOver();
hint_button.gameOver();
= true;
};
}
public function nextQuestion(_arg1:Boolean):void{
var _local2:LevelSign;
if (!){
if (!_arg1){
++;
};
if ( < .length){
LevelScore.value = 100;
= new CableCar(holder, this);
.x = 9;
.y = 213;
.init([].car, [].people);
holder.addChild(
);
.startAnimIn();
guess_panel.displayQuestion([].answer);
timer.setTimer(100);
_local2 = new LevelSign();
_local2.setLevelText(( + 1));
holder.addChild(_local2);
_local2.startAnim();
} else {
();
};
};
}
public function ():void{
= true;
= true;
curtain.curtainDownWin();
hint_button.slideOff();
guess_panel.slideOff();
timer.slideOff();
}
}
}//package com.nitrome.quiz
Section 61
//ScreenFlash (com.nitrome.quiz.ScreenFlash)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class ScreenFlash extends Sprite {
private var :Animator;
private var :XML;
public function ScreenFlash():void{
var _local1:Graphics;
= <Motion duration="9" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<color>
<Color alphaMultiplier="0"/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="4" tweenSnap="true" tweenSync="true" firstFrame="4">
<color>
<Color/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="8" tweenSnap="true" tweenSync="true" firstFrame="8">
<color>
<Color alphaMultiplier="0"/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
super();
alpha = 0;
_local1 = graphics;
_local1.lineStyle();
_local1.beginFill(0xFFFFFF, 100);
_local1.drawRect(0, 0, 550, 400);
_local1.endFill();
= new Animator(, this);
.addEventListener(MotionEvent.MOTION_END, , false, 0, true);
}
public function doFlash():void{
.play();
}
function (_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, );
(parent as Sprite).removeChild(this);
}
}
}//package com.nitrome.quiz
Section 62
//SignPost (com.nitrome.quiz.SignPost)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class SignPost extends Sprite {
private var :XML;
private var :Animator;
private var :Animator;
private var
:XML;
public function SignPost():void{
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="1" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" tweenSnap="true" tweenSync="true" y="-140">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
= <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="10" tweenSnap="true" tweenSync="true">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="29" tweenSnap="true" tweenSync="true" y="140">
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
</Motion>
;
super();
init();
}
public function slideOff():void{
= new Animator(
, this);
.play();
}
protected function init():void{
slideOn();
}
public function slideOffGame():void{
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, , false, 0, true);
.play();
}
public function slideOn():void{
= new Animator(, this);
.play();
}
public function slideOnGame():void{
= new Animator(, this);
.play();
}
public function (_arg1:MotionEvent):void{
.removeEventListener(MotionEvent.MOTION_END, );
(parent as MovieClip).gotoAndStop("game_in");
}
}
}//package com.nitrome.quiz
Section 63
//SmallCharacterBlock (com.nitrome.quiz.SmallCharacterBlock)
package com.nitrome.quiz {
import flash.display.*;
import flash.text.*;
public class SmallCharacterBlock extends CharacterBlock {
public var letter:TextField;
public var collision:MovieClip;
public function SmallCharacterBlock(_arg1:String, _arg2:GuessPanel):void{
addFrameScript(0, frame1, 9, frame10, 19, frame20);
super(_arg1, _arg2);
if (_arg1 == "'"){
setText("'");
};
if (_arg1 == "-"){
setText("-");
};
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function frame20(){
stop();
}
override public function setText(_arg1:String):void{
super.setText(_arg1);
letter.text = _arg1;
}
}
}//package com.nitrome.quiz
Section 64
//WinSign (com.nitrome.quiz.WinSign)
package com.nitrome.quiz {
import flash.display.*;
import fl.motion.*;
public class WinSign extends Sprite {
private var
:XML;
private var
:Animator;
private var
:XML;
public var sign:MovieClip;
private var :QuizGame;
private var submit_score:Boolean;// = false
private var :Animator;
public function WinSign(_arg1:QuizGame):void{
= <Motion duration="101" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0"/>
<Keyframe index="1" x="12.399999999999999" y="-7.950000000000003"/>
<Keyframe index="2" x="25.05" y="-15.099999999999994"/>
<Keyframe index="3" x="37.8" y="-21.349999999999994"/>
<Keyframe index="4" x="50.6" y="-26.75"/>
<Keyframe index="5" x="63.4" y="-31.299999999999997"/>
<Keyframe index="6" x="76.2" y="-35.05"/>
<Keyframe index="7" x="88.8" y="-38"/>
<Keyframe index="8" x="101.25" y="-40.2"/>
<Keyframe index="9" x="113.45" y="-41.75"/>
<Keyframe index="10" x="125.4" y="-42.7"/>
<Keyframe index="11" x="137" y="-43.099999999999994"/>
<Keyframe index="12" x="148.25" y="-43"/>
<Keyframe index="13" x="159.15" y="-42.45"/>
<Keyframe index="14" x="169.7" y="-41.599999999999994"/>
<Keyframe index="15" x="179.8" y="-40.400000000000006"/>
<Keyframe index="16" x="189.55" y="-38.900000000000006"/>
<Keyframe index="17" x="198.95" y="-37.25"/>
<Keyframe index="18" x="207.9" y="-35.349999999999994"/>
<Keyframe index="19" x="216.45" y="-33.349999999999994"/>
<Keyframe index="20" x="224.65" y="-31.25"/>
<Keyframe index="21" x="232.45" y="-29.099999999999994"/>
<Keyframe index="22" x="239.85" y="-26.849999999999994"/>
<Keyframe index="23" x="246.9" y="-24.599999999999994"/>
<Keyframe index="24" x="253.6" y="-22.349999999999994"/>
<Keyframe index="25" x="259.9" y="-20.099999999999994"/>
<Keyframe index="26" x="265.85" y="-17.900000000000006"/>
<Keyframe index="27" x="271.45" y="-15.75"/>
<Keyframe index="28" x="276.7" y="-13.650000000000006"/>
<Keyframe index="29" x="281.6" y="-11.650000000000006"/>
<Keyframe index="30" x="286.2" y="-9.75"/>
<Keyframe index="31" x="290.45" y="-7.900000000000006"/>
<Keyframe index="32" x="294.35" y="-6.200000000000003"/>
<Keyframe index="33" x="297.95" y="-4.549999999999997"/>
<Keyframe index="34" x="301.2" y="-3.0999999999999943"/>
<Keyframe index="35" x="304.15" y="-1.7000000000000028"/>
<Keyframe index="36" x="306.75" y="-0.5"/>
<Keyframe index="37" x="309.1" y="0.5999999999999943"/>
<Keyframe index="38" x="311.1" y="1.5999999999999943"/>
<Keyframe index="39" x="312.8" y="2.4000000000000057"/>
<Keyframe index="40" x="314.15" y="3.0999999999999943"/>
<Keyframe index="41" x="315.25" y="3.5999999999999943"/>
<Keyframe index="42" x="316" y="4"/>
<Keyframe index="43" x="316.45" y="4.199999999999989"/>
<Keyframe index="44" x="316.35" y="4.800000000000011"/>
<Keyframe index="45" x="316.6" y="4.300000000000011"/>
<Keyframe index="46"/>
<Keyframe index="47"/>
<Keyframe index="48"/>
<Keyframe index="49"/>
<Keyframe index="50"/>
<Keyframe index="51"/>
<Keyframe index="52"/>
<Keyframe index="53"/>
<Keyframe index="54"/>
<Keyframe index="55"/>
<Keyframe index="56"/>
<Keyframe index="57" x="316.35" y="4.800000000000011"/>
<Keyframe index="58" x="316.75" y="4.349999999999994"/>
<Keyframe index="59" x="317.25" y="4.599999999999994"/>
<Keyframe index="60" x="318.05" y="5"/>
<Keyframe index="61" x="319.15" y="5.550000000000011"/>
<Keyframe index="62" x="320.6" y="6.300000000000011"/>
<Keyframe index="63" x="322.35" y="7.150000000000006"/>
<Keyframe index="64" x="324.4" y="8.150000000000006"/>
<Keyframe index="65" x="326.75" y="9.349999999999994"/>
<Keyframe index="66" x="329.4" y="10.650000000000006"/>
<Keyframe index="67" x="332.45" y="12.050000000000011"/>
<Keyframe index="68" x="335.75" y="13.599999999999994"/>
<Keyframe index="69" x="339.45" y="15.25"/>
<Keyframe index="70" x="343.45" y="17.05000000000001"/>
<Keyframe index="71" x="347.8" y="18.900000000000006"/>
<Keyframe index="72" x="352.5" y="20.849999999999994"/>
<Keyframe index="73" x="357.55" y="22.900000000000006"/>
<Keyframe index="74" x="362.95" y="24.94999999999999"/>
<Keyframe index="75" x="368.75" y="27.05000000000001"/>
<Keyframe index="76" x="374.9" y="29.19999999999999"/>
<Keyframe index="77" x="381.4" y="31.30000000000001"/>
<Keyframe index="78" x="388.35" y="33.349999999999994"/>
<Keyframe index="79" x="395.65" y="35.400000000000006"/>
<Keyframe index="80" x="403.35" y="37.349999999999994"/>
<Keyframe index="81" x="411.45" y="39.150000000000006"/>
<Keyframe index="82" x="419.95" y="40.80000000000001"/>
<Keyframe index="83" x="428.9" y="42.19999999999999"/>
<Keyframe index="84" x="438.2" y="43.400000000000006"/>
<Keyframe index="85" x="447.95" y="44.30000000000001"/>
<Keyframe index="86" x="458.1" y="44.80000000000001"/>
<Keyframe index="87" x="468.6" y="44.900000000000006"/>
<Keyframe index="88" x="479.5" y="44.55000000000001"/>
<Keyframe index="89" x="490.75" y="43.650000000000006"/>
<Keyframe index="90" x="502.3" y="42.150000000000006"/>
<Keyframe index="91" x="514.15" y="40.05000000000001"/>
<Keyframe index="92" x="526.2" y="37.19999999999999"/>
<Keyframe index="93" x="538.45" y="33.599999999999994"/>
<Keyframe index="94" x="550.8" y="29.25"/>
<Keyframe index="95" x="563.25" y="24.099999999999994"/>
<Keyframe index="96" x="575.75" y="18.099999999999994"/>
<Keyframe index="97" x="588.2" y="11.300000000000011"/>
<Keyframe index="98" x="600.6" y="3.6500000000000057"/>
<Keyframe index="99" x="612.85" y="-4.799999999999997"/>
<Keyframe index="100" x="624.95" y="-14"/>
</Motion>
;
= <Motion duration="20" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<Keyframe index="0">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="4" y="1.5500000000000007">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="9" y="4">
<tweens>
<SimpleEase ease="-1"/>
</tweens>
</Keyframe>
<Keyframe index="14" y="2">
<tweens>
<SimpleEase ease="1"/>
</tweens>
</Keyframe>
<Keyframe index="19" y="0"/>
</Motion>
;
submit_score = false;
super();
this. = _arg1;
x = -45;
y = 127;
= new Animator(
, this);
.addEventListener(MotionEvent.MOTION_END, onAnimEnd);
= new Animator(
, sign);
.addEventListener(MotionEvent.MOTION_END, onWobbleAnimEnd);
.play();
}
function onAnimEnd(_arg1:MotionEvent):void{
(parent as Sprite).removeChild(this);
}
public function startAnim():void{
.play();
}
public function setScoreText(_arg1:int, _arg2:int, _arg3:int):void{
sign.level_text.text = String(_arg1);
sign.time_text.text = String(_arg2);
sign.total_text.text = String(_arg3);
}
function onWobbleAnimEnd(_arg1:MotionEvent):void{
.play();
}
}
}//package com.nitrome.quiz
Section 65
//Lock (com.nitrome.util.Lock)
package com.nitrome.util {
import flash.display.*;
import flash.net.*;
public class Lock extends MovieClip {
public function Lock(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
public static function urlLock(_arg1:Stage):void{
var _local2:String;
if (NitromeGame.isAtURL(NitromeGame.ARMOR) == true){
} else {
_arg1.addChild(new (Lock));
_local2 = ("http://www.nitrome.com/games/" + NitromeGame.game_id);
navigateToURL(new URLRequest(_local2), "_blank");
};
}
}
}//package com.nitrome.util
Section 66
//MD5 (com.nitrome.util.MD5)
package com.nitrome.util {
public class MD5 {
private var :int;// = 8
private var :String;// = ""
public function MD5(_arg1:String=null, _arg2:int=0){
= "";
= 8;
super();
if (_arg1 != null){
this. = _arg1;
};
if (((((!((_arg2 == 0))) && ((_arg2 == 8)))) || ((_arg2 == 16)))){
this. = _arg2;
};
}
private function (_arg1:Array):String{
var _local2:String;
var _local3:String;
var _local4:int;
var _local5:int;
var _local6:int;
_local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_local3 = new String("");
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local5 = (((((_arg1[(_local4 >> 2)] >> (8 * (_local4 % 4))) & 0xFF) << 16) | (((_arg1[((_local4 + 1) >> 2)] >> (8 * ((_local4 + 1) % 4))) & 0xFF) << 8)) | ((_arg1[((_local4 + 2) >> 2)] >> (8 * ((_local4 + 2) % 4))) & 0xFF));
_local6 = 0;
while (_local6 < 4) {
if (((_local4 * 8) + (_local6 * 6)) > (_arg1.length * 32)){
_local3 = (_local3 + );
} else {
_local3 = (_local3 + _local2.charAt(((_local5 >> (6 * (3 - _local6))) & 63)));
};
_local6++;
};
_local4 = (_local4 + 3);
};
return (_local3);
}
private function
(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):int{
return (
( (
(
(_arg2, _arg1),
(_arg4, _arg6)), _arg5), _arg3));
}
private function (_arg1:Array):String{
var _local2:String;
var _local3:int;
var _local4:int;
_local2 = new String("");
_local3 = ((1 << ) - 1);
_local4 = 0;
while (_local4 < (_arg1.length * 32)) {
_local2 = (_local2 + String.fromCharCode(((_arg1[(_local4 >> 5)] >>> (_local4 % 32)) & _local3)));
_local4 = (_local4 + );
};
return (_local2);
}
private function (_arg1:String, _arg2:String):Array{
var _local3:Array;
var _local4:Array;
var _local5:Array;
var _local6:int;
var _local7:Array;
_local3 = new Array( (_arg1));
if (_local3.length > 16){
_local3 = (_local3, (_arg1.length * ));
};
_local4 = new Array(16);
_local5 = new Array(16);
_local6 = 0;
while (_local6 < 16) {
_local4[_local6] = (_local3[_local6] ^ 909522486);
_local5[_local6] = (_local3[_local6] ^ 1549556828);
_local6++;
};
_local7 = new Array( (_local4.concat( (_arg2)), (0x0200 + (_arg2.length * ))));
return ( (_local5.concat(_local7), (0x0200 + 128)));
}
private function
(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (
(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
private function (_arg1:String, _arg2:String):String{
return ( ((_arg1, _arg2)));
}
public function hash(_arg1:String):String{
return ( (_arg1));
}
private function (_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (
((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
private function (_arg1:String):String{
return ( ( ( (_arg1), (_arg1.length * ))));
}
private function (_arg1:int, _arg2:int):int{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
private function (_arg1:Array, _arg2:int):Array{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
_arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
_arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
_local3 = 1732584193;
_local4 = -271733879;
_local5 = -1732584194;
_local6 = 271733878;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = _local3;
_local9 = _local4;
_local10 = _local5;
_local11 = _local6;
_local3 =
(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936);
_local6 =
(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586);
_local5 =
(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819);
_local4 =
(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330);
_local3 =
(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897);
_local6 =
(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426);
_local5 =
(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341);
_local4 =
(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983);
_local3 =
(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416);
_local6 =
(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417);
_local5 =
(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063);
_local4 =
(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162);
_local3 =
(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682);
_local6 =
(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101);
_local5 =
(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290);
_local4 =
(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329);
_local3 =
(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510);
_local6 =
(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632);
_local5 =
(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713);
_local4 =
(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302);
_local3 =
(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691);
_local6 =
(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083);
_local5 =
(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335);
_local4 =
(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848);
_local3 =
(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438);
_local6 =
(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690);
_local5 =
(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961);
_local4 =
(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501);
_local3 =
(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467);
_local6 =
(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784);
_local5 =
(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473);
_local4 =
(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551);
_local3 =
(_local3, _local8);
_local4 =
(_local4, _local9);
_local5 =
(_local5, _local10);
_local6 =
(_local6, _local11);
_local7 = (_local7 + 16);
};
return (new Array(_local3, _local4, _local5, _local6));
}
private function (_arg1:String):String{
return ( ( ( (_arg1), (_arg1.length * ))));
}
private function (_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (
(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
}
private function (_arg1:String, _arg2:String):String{
return ( ((_arg1, _arg2)));
}
private function (_arg1:String):Array{
var _local2:Array;
var _local3:int;
var _local4:int;
_local2 = new Array();
_local3 = ((1 << ) - 1);
_local4 = 0;
while (_local4 < (_arg1.length * )) {
_local2[(_local4 >> 5)] = (_local2[(_local4 >> 5)] | ((_arg1.charCodeAt((_local4 / )) & _local3) << (_local4 % 32)));
_local4 = (_local4 + );
};
return (_local2);
}
private function (_arg1:Array):String{
var _local2:String;
var _local3:String;
var _local4:int;
_local2 = "0123456789abcdef";
_local3 = new String("");
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local3 = (_local3 + (_local2.charAt(((_arg1[(_local4 >> 2)] >> (((_local4 % 4) * 8) + 4)) & 15)) + _local2.charAt(((_arg1[(_local4 >> 2)] >> ((_local4 % 4) * 8)) & 15))));
_local4++;
};
return (_local3);
}
private function
(_arg1:Number, _arg2:Number):Number{
var _local3:int;
var _local4:int;
_local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF));
_local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16));
return (((_local4 << 16) | (_local3 & 0xFFFF)));
}
private function (_arg1:String):String{
return (( ( (_arg1), (_arg1.length * ))));
}
private function (_arg1:String, _arg2:String):String{
return (((_arg1, _arg2)));
}
private function
(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (
(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
}
}
}//package com.nitrome.util
Section 67
//Animator (fl.motion.Animator)
package fl.motion {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
public class Animator extends EventDispatcher {
private var :Object;
public var transformationPoint:Point;
private var
:Boolean;// = false
private var :int;// = -1
private var :DisplayObject;
public var :int;// = 1
private var :int;// = -1
private var :int;// = 0
private var :Motion;
public var orientToPath:Boolean;// = false
public var :Boolean;// = false
public var :Matrix;
private static var enterFrameBeacon:MovieClip = new MovieClip();
public function Animator(_arg1:XML=null, _arg2:DisplayObject=null){
orientToPath = false;
= false;
= 1;
= false;
= -1;
= -1;
= 0;
super();
this.motion = new Motion(_arg1);
this.target = _arg2;
}
public function stop():void{
enterFrameBeacon.removeEventListener(Event.ENTER_FRAME, this.);
this.
= false;
this. = 0;
this.();
this.dispatchEvent(new MotionEvent(MotionEvent.MOTION_END));
}
public function get target():DisplayObject{
return (this.);
}
public function set time(_arg1:int):void{
var _local2:Motion;
var _local3:Keyframe;
var _local4:Boolean;
var _local5:Number;
var _local6:Number;
var _local7:Point;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Matrix;
var _local13:Point;
var _local14:Number;
var _local15:Number;
var _local16:ColorTransform;
var _local17:Number;
var _local18:Number;
var _local19:Number;
if (_arg1 == this.){
return;
};
_local2 = this.motion;
if (_arg1 > (_local2.duration - 1)){
_arg1 = (_local2.duration - 1);
} else {
if (_arg1 < 0){
_arg1 = 0;
};
};
this. = _arg1;
this.dispatchEvent(new MotionEvent(MotionEvent.TIME_CHANGE));
_local3 = _local2.(_arg1);
_local4 = (((_local3.index == this.)) && (!(_local3.tweens.length)));
if (_local4){
return;
};
this..visible = false;
if (!_local3.blank){
_local5 = _local2.getValue(_arg1, Tweenables.X);
_local6 = _local2.getValue(_arg1, Tweenables.Y);
_local7 = new Point(_local5, _local6);
if (this. ){
_local7 = this. .transformPoint(_local7);
};
_local7.x = (_local7.x + this..x);
_local7.y = (_local7.y + this..y);
_local8 = (_local2.getValue(_arg1, Tweenables.SCALE_X) * this..scaleX);
_local9 = (_local2.getValue(_arg1, Tweenables.SCALE_Y) * this..scaleY);
_local10 = 0;
_local11 = 0;
if (this.orientToPath){
_local17 = _local2.getValue((_arg1 + 1), Tweenables.X);
_local18 = _local2.getValue((_arg1 + 1), Tweenables.Y);
_local19 = (Math.atan2((_local18 - _local6), (_local17 - _local5)) * (180 / Math.PI));
if (!isNaN(_local19)){
_local10 = (_local19 + this..skewX);
_local11 = (_local19 + this..skewY);
};
} else {
_local10 = (_local2.getValue(_arg1, Tweenables.SKEW_X) + this..skewX);
_local11 = (_local2.getValue(_arg1, Tweenables.SKEW_Y) + this..skewY);
};
_local12 = new Matrix((_local8 * Math.cos((_local11 * (Math.PI / 180)))), (_local8 * Math.sin((_local11 * (Math.PI / 180)))), (-(_local9) * Math.sin((_local10 * (Math.PI / 180)))), (_local9 * Math.cos((_local10 * (Math.PI / 180)))), _local7.x, _local7.y);
_local13 = _local12.transformPoint(this..transformPointInternal);
_local14 = (_local12.tx - _local13.x);
_local15 = (_local12.ty - _local13.y);
_local12.tx = (_local12.tx + _local14);
_local12.ty = (_local12.ty + _local15);
this..rotation = _local11;
this..transform.matrix = _local12;
this..scaleX = _local8;
this..scaleY = _local9;
_local16 = _local2.(_arg1);
if (_local16){
this..transform.colorTransform = _local16;
};
this..filters = _local2.(_arg1);
this..blendMode = _local3.blendMode;
this..cacheAsBitmap = _local3.cacheAsBitmap;
this..visible = true;
};
this. = this.;
this.dispatchEvent(new MotionEvent(MotionEvent.MOTION_UPDATE));
}
private function (_arg1:Event):void{
this.();
}
public function set target(_arg1:DisplayObject):void{
var _local2:Object;
var _local3:Number;
var _local4:Number;
var _local5:Point;
if (!_arg1){
return;
};
this. = _arg1;
this. = {};
this..scaleX = this..scaleX;
this..scaleY = this..scaleY;
this..skewX = MatrixTransformer.getSkewX(this..transform.matrix);
this..skewY = MatrixTransformer.getSkewY(this..transform.matrix);
this..matrix = this..transform.matrix;
_local2 = (this..bounds = this..getBounds(this.));
if (this.transformationPoint){
_local3 = ((this.transformationPoint.x * _local2.width) + _local2.left);
_local4 = ((this.transformationPoint.y * _local2.height) + _local2.top);
this..transformPointInternal = new Point(_local3, _local4);
_local5 = this..matrix.transformPoint(this..transformPointInternal);
this..x = _local5.x;
this..y = _local5.y;
} else {
this..transformPointInternal = new Point(0, 0);
this..x = this..x;
this..y = this..y;
};
}
public function get isPlaying():Boolean{
return (
);
}
public function ():void{
enterFrameBeacon.addEventListener(Event.ENTER_FRAME, this., false, 0, true);
this.
= true;
}
private function
():void{
this.++;
if ((((this. == 0)) || ((this. < this.)))){
this.();
} else {
this.();
};
}
public function get motion():Motion{
return (this.);
}
public function ():void{
if (this.time >= (this.motion.duration - 1)){
this.
();
} else {
this.time++;
};
}
public function play():void{
if (!this.
){
enterFrameBeacon.addEventListener(Event.ENTER_FRAME, this., false, 0, true);
this.
= true;
};
this. = 0;
this.();
this.dispatchEvent(new MotionEvent(MotionEvent.MOTION_START));
}
public function ():void{
this.time = 0;
}
public function ():void{
enterFrameBeacon.removeEventListener(Event.ENTER_FRAME, this.);
this.
= false;
this. = 0;
if (this.){
this.();
} else {
if (this.time != (this.motion.duration - 1)){
this.time = (this.motion.duration - 1);
};
};
this.dispatchEvent(new MotionEvent(MotionEvent.MOTION_END));
}
public function get time():int{
return (this.);
}
public function pause():void{
enterFrameBeacon.removeEventListener(Event.ENTER_FRAME, this.);
this.
= false;
}
public function set motion(_arg1:Motion):void{
this. = _arg1;
if (((_arg1.source) && (_arg1.source.transformationPoint))){
this.transformationPoint = _arg1.source.transformationPoint.clone();
};
}
public static function fromXMLString(_arg1:String, _arg2:DisplayObject=null):Animator{
return (new Animator(new XML(_arg1), _arg2));
}
}
}//package fl.motion
Section 68
//BezierEase (fl.motion.BezierEase)
package fl.motion {
import flash.geom.*;
public class BezierEase implements ITween {
public var points:Array;
private var :Point;
private var :String;// = ""
private var :Point;
public function BezierEase(_arg1:XML=null){
= "";
super();
this.points = [];
this.
(_arg1);
}
public function set target(_arg1:String):void{
this. = _arg1;
}
public function get target():String{
return (this.);
}
public function getValue(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number;
var _local6:Array;
var _local7:Number;
if (_arg4 <= 0){
return (NaN);
};
_local5 = (_arg1 / _arg4);
if (_local5 <= 0){
return (_arg2);
};
if (_local5 >= 1){
return ((_arg2 + _arg3));
};
this. = new Point(0, _arg2);
this. = new Point(1, (_arg2 + _arg3));
_local6 = [this.].concat(this.points);
_local6.push(this.);
_local7 = CustomEase.getYForPercent(_local5, _local6);
return (_local7);
}
private function
(_arg1:XML=null):BezierEase{
var _local2:XMLList;
var _local3:XML;
if (!_arg1){
return (this);
};
if (_arg1.@target.length()){
this.target = _arg1.@target;
};
_local2 = _arg1.elements();
for each (_local3 in _local2) {
this.points.push(new Point(Number(_local3.@x), Number(_local3.@y)));
};
return (this);
}
}
}//package fl.motion
Section 69
//BezierSegment (fl.motion.BezierSegment)
package fl.motion {
import flash.geom.*;
public class BezierSegment {
public var a:Point;
public var c:Point;
public var b:Point;
public var d:Point;
public function BezierSegment(_arg1:Point, _arg2:Point, _arg3:Point, _arg4:Point){
this.a = _arg1;
this.b = _arg2;
this.c = _arg3;
this.d = _arg4;
}
public function
(_arg1:Number, _arg2:Array=null):Number{
var _local3:Array;
var _local4:Number;
var _local5:Number;
var _local6:Number;
if (this.a.x < this.d.x){
if (_arg1 <= (this.a.x + 1E-16)){
return (this.a.y);
};
if (_arg1 >= (this.d.x - 1E-16)){
return (this.d.y);
};
} else {
if (_arg1 >= (this.a.x + 1E-16)){
return (this.a.y);
};
if (_arg1 <= (this.d.x - 1E-16)){
return (this.d.y);
};
};
if (!_arg2){
_arg2 = getCubicCoefficients(this.a.x, this.b.x, this.c.x, this.d.x);
};
_local3 = getCubicRoots(_arg2[0], _arg2[1], _arg2[2], (_arg2[3] - _arg1));
_local4 = NaN;
if (_local3.length == 0){
_local4 = 0;
} else {
if (_local3.length == 1){
_local4 = _local3[0];
} else {
for each (_local6 in _local3) {
if ((((0 <= _local6)) && ((_local6 <= 1)))){
_local4 = _local6;
break;
};
};
};
};
if (isNaN(_local4)){
return (NaN);
};
_local5 = getSingleValue(_local4, this.a.y, this.b.y, this.c.y, this.d.y);
return (_local5);
}
public function getValue(_arg1:Number):Point{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = this.a.x;
_local3 = (((((_arg1 * _arg1) * (this.d.x - _local2)) + ((3 * (1 - _arg1)) * ((_arg1 * (this.c.x - _local2)) + ((1 - _arg1) * (this.b.x - _local2))))) * _arg1) + _local2);
_local4 = this.a.y;
_local5 = (((((_arg1 * _arg1) * (this.d.y - _local4)) + ((3 * (1 - _arg1)) * ((_arg1 * (this.c.y - _local4)) + ((1 - _arg1) * (this.b.y - _local4))))) * _arg1) + _local4);
return (new Point(_local3, _local5));
}
public static function getCubicCoefficients(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Array{
return ([(((-(_arg1) + (3 * _arg2)) - (3 * _arg3)) + _arg4), (((3 * _arg1) - (6 * _arg2)) + (3 * _arg3)), ((-3 * _arg1) + (3 * _arg2)), _arg1]);
}
public static function getSingleValue(_arg1:Number, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):Number{
return ((((((_arg1 * _arg1) * (_arg5 - _arg2)) + ((3 * (1 - _arg1)) * ((_arg1 * (_arg4 - _arg2)) + ((1 - _arg1) * (_arg3 - _arg2))))) * _arg1) + _arg2));
}
public static function getCubicRoots(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):Array{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:int;
var _local16:Number;
if (!_arg1){
return (BezierSegment.getQuadraticRoots(_arg2, _arg3, _arg4));
};
if (_arg1 != 1){
_arg2 = (_arg2 / _arg1);
_arg3 = (_arg3 / _arg1);
_arg4 = (_arg4 / _arg1);
};
_local5 = (((_arg2 * _arg2) - (3 * _arg3)) / 9);
_local6 = (((((_arg2 * _arg2) - (3 * _arg3)) / 9) * _local5) * _local5);
_local7 = ((((((2 * _arg2) * _arg2) * _arg2) - ((9 * _arg2) * _arg3)) + (27 * _arg4)) / 54);
_local8 = (_local6 - (_local7 * _local7));
if (_local8 >= 0){
if (!_local5){
return ([0]);
};
_local9 = Math.acos((_local7 / Math.sqrt(_local6)));
_local10 = Math.sqrt(_local5);
_local11 = (((-2 * _local10) * Math.cos((_local9 / 3))) - (_arg2 / 3));
_local12 = (((-2 * _local10) * Math.cos(((_local9 + (2 * Math.PI)) / 3))) - (_arg2 / 3));
_local13 = (((-2 * _local10) * Math.cos(((_local9 + (4 * Math.PI)) / 3))) - (_arg2 / 3));
return ([_local11, _local12, _local13]);
//unresolved jump
};
_local14 = Math.pow((Math.sqrt(-(_local8)) + Math.abs(_local7)), (1 / 3));
_local15 = ((_local7)>0) ? 1 : ((_local7 < 0)) ? -1 : 0;
_local16 = ((-(_local15) * (_local14 + (_local5 / _local14))) - (_arg2 / 3));
return ([_local16]);
}
public static function getQuadraticRoots(_arg1:Number, _arg2:Number, _arg3:Number):Array{
var _local4:Array;
var _local5:Number;
var _local6:int;
var _local7:Number;
_local4 = [];
if (!_arg1){
if (!_arg2){
return ([]);
};
_local4[0] = (-(_arg3) / _arg2);
return (_local4);
};
_local5 = ((_arg2 * _arg2) - ((4 * _arg1) * _arg3));
_local6 = ((_local5)>0) ? 1 : ((_local5 < 0)) ? -1 : 0;
if (_local6 < 0){
return ([]);
};
if (!_local6){
_local4[0] = (-(_arg2) / (2 * _arg1));
} else {
_local4[0] = (_local4[1] = (-(_arg2) / (2 * _arg1)));
_local7 = (Math.sqrt(_local5) / (2 * _arg1));
_local4[0] = (_local4[0] - _local7);
_local4[1] = (_local4[1] + _local7);
};
return (_local4);
}
}
}//package fl.motion
Section 70
//Color (fl.motion.Color)
package fl.motion {
import flash.display.*;
import flash.geom.*;
public class Color extends ColorTransform {
private var
:Number;// = 0
private var :Number;// = 0
public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){
= 0;
= 0;
super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
}
public function
(_arg1:uint, _arg2:Number):void{
var _local3:uint;
var _local4:uint;
var _local5:uint;
this. = _arg1;
this.
= _arg2;
this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2)));
_local3 = ((_arg1 >> 16) & 0xFF);
_local4 = ((_arg1 >> 8) & 0xFF);
_local5 = (_arg1 & 0xFF);
this.redOffset = Math.round((_local3 * _arg2));
this.greenOffset = Math.round((_local4 * _arg2));
this.blueOffset = Math.round((_local5 * _arg2));
}
public function set tintColor(_arg1:uint):void{
this.
(_arg1, this.tintMultiplier);
}
public function get brightness():Number{
return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1));
}
private function ():uint{
var _local1:Number;
var _local2:uint;
var _local3:uint;
var _local4:uint;
var _local5:uint;
_local1 = (1 / this.tintMultiplier);
_local2 = Math.round((this.redOffset * _local1));
_local3 = Math.round((this.greenOffset * _local1));
_local4 = Math.round((this.blueOffset * _local1));
_local5 = (((_local2 << 16) | (_local3 << 8)) | _local4);
return (_local5);
}
public function get tintMultiplier():Number{
return (this.
);
}
public function get tintColor():uint{
return (this.);
}
public function set brightness(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
if (_arg1 > 1){
_arg1 = 1;
} else {
if (_arg1 < -1){
_arg1 = -1;
};
};
_local2 = (1 - Math.abs(_arg1));
_local3 = 0;
if (_arg1 > 0){
_local3 = (_arg1 * 0xFF);
};
this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2));
this.redOffset = (this.greenOffset = (this.blueOffset = _local3));
}
public function set tintMultiplier(_arg1:Number):void{
this.
(this.tintColor, _arg1);
}
private function
(_arg1:XML=null):Color{
var _local2:XML;
var _local3:XML;
var _local4:String;
var _local5:uint;
if (!_arg1){
return (this);
};
_local2 = _arg1.elements()[0];
if (!_local2){
return (this);
};
for each (_local3 in _local2.attributes()) {
_local4 = _local3.localName();
if (_local4 == "tintColor"){
_local5 = (Number(_local3.toString()) as uint);
this.tintColor = _local5;
} else {
this[_local4] = Number(_local3.toString());
};
};
return (this);
}
public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{
var _local4:Number;
var _local5:uint;
var _local6:uint;
var _local7:uint;
var _local8:uint;
var _local9:uint;
var _local10:uint;
var _local11:uint;
var _local12:uint;
var _local13:uint;
var _local14:uint;
var _local15:uint;
var _local16:uint;
var _local17:uint;
_local4 = (1 - _arg3);
_local5 = ((_arg1 >> 24) & 0xFF);
_local6 = ((_arg1 >> 16) & 0xFF);
_local7 = ((_arg1 >> 8) & 0xFF);
_local8 = (_arg1 & 0xFF);
_local9 = ((_arg2 >> 24) & 0xFF);
_local10 = ((_arg2 >> 16) & 0xFF);
_local11 = ((_arg2 >> 8) & 0xFF);
_local12 = (_arg2 & 0xFF);
_local13 = ((_local5 * _local4) + (_local9 * _arg3));
_local14 = ((_local6 * _local4) + (_local10 * _arg3));
_local15 = ((_local7 * _local4) + (_local11 * _arg3));
_local16 = ((_local8 * _local4) + (_local12 * _arg3));
_local17 = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16);
return (_local17);
}
public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{
var _local4:Number;
var _local5:ColorTransform;
_local4 = (1 - _arg3);
_local5 = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3)));
return (_local5);
}
public static function fromXML(_arg1:XML):Color{
return (Color(new (Color).
(_arg1)));
}
}
}//package fl.motion
Section 71
//CustomEase (fl.motion.CustomEase)
package fl.motion {
import flash.geom.*;
public class CustomEase implements ITween {
public var points:Array;
private var :Point;
private var :String;// = ""
private var :Point;
public function CustomEase(_arg1:XML=null){
= "";
super();
this.points = [];
this.
(_arg1);
this. = new Point(0, 0);
this. = new Point(1, 1);
}
public function set target(_arg1:String):void{
this. = _arg1;
}
public function get target():String{
return (this.);
}
public function getValue(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number;
var _local6:Array;
var _local7:Number;
if (_arg4 <= 0){
return (NaN);
};
_local5 = (_arg1 / _arg4);
if (_local5 <= 0){
return (_arg2);
};
if (_local5 >= 1){
return ((_arg2 + _arg3));
};
_local6 = [this.].concat(this.points);
_local6.push(this.);
_local7 = getYForPercent(_local5, _local6);
return ((_arg2 + (_local7 * _arg3)));
}
private function
(_arg1:XML=null):CustomEase{
var _local2:XMLList;
var _local3:XML;
if (!_arg1){
return (this);
};
if (_arg1.@target.length()){
this.target = _arg1.@target;
};
_local2 = _arg1.elements();
for each (_local3 in _local2) {
this.points.push(new Point(Number(_local3.@x), Number(_local3.@y)));
};
return (this);
}
static function getYForPercent(_arg1:Number, _arg2:Array):Number{
var _local3:BezierSegment;
var _local4:Array;
var _local5:int;
var _local6:BezierSegment;
var _local7:Number;
var _local8:int;
var _local9:BezierSegment;
_local3 = new BezierSegment(_arg2[0], _arg2[1], _arg2[2], _arg2[3]);
_local4 = [_local3];
_local5 = 3;
while (_local5 < (_arg2.length - 3)) {
_local4.push(new BezierSegment(_arg2[_local5], _arg2[(_local5 + 1)], _arg2[(_local5 + 2)], _arg2[(_local5 + 3)]));
_local5 = (_local5 + 3);
};
_local6 = _local3;
if (_arg2.length >= 5){
_local8 = 0;
while (_local8 < _local4.length) {
_local9 = _local4[_local8];
if ((((_local9.a.x <= _arg1)) && ((_arg1 <= _local9.d.x)))){
_local6 = _local9;
break;
};
_local8++;
};
};
_local7 = _local6.
(_arg1);
return (_local7);
}
}
}//package fl.motion
Section 72
//FunctionEase (fl.motion.FunctionEase)
package fl.motion {
import flash.utils.*;
public class FunctionEase implements ITween {
private var :String;// = ""
public var
:Array;// = null
private var :String;// = ""
public var :Function;// = null
public function FunctionEase(_arg1:XML=null){
= "";
= null;
= null;
= "";
super();
this.
(_arg1);
}
public function get functionName():String{
return (this.);
}
public function set functionName(_arg1:String):void{
var _local2:Array;
var _local3:String;
var _local4:String;
var _local5:Class;
_local2 = _arg1.split(".");
_local3 = _local2.pop();
_local4 = _local2.join(".");
_local5 = (getDefinitionByName(_local4) as Class);
if ((_local5[_local3] is Function)){
this. = _local5[_local3];
this. = _arg1;
};
}
public function set target(_arg1:String):void{
this. = _arg1;
}
public function get target():String{
return (this.);
}
public function getValue(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Array;
if ((this.
is Array)){
_local5 = [_arg1, _arg2, _arg3, _arg4].concat(this.
);
return (this..apply(null, _local5));
};
return (this.(_arg1, _arg2, _arg3, _arg4));
}
private function
(_arg1:XML=null):FunctionEase{
if (!_arg1){
return (this);
};
if (_arg1.@functionName.length()){
this.functionName = _arg1.@functionName;
};
return (this);
}
}
}//package fl.motion
Section 73
//ITween (fl.motion.ITween)
package fl.motion {
public interface ITween {
function get target():String;
function set target(_arg1:String):void;
function getValue(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number;
}
}//package fl.motion
Section 74
//Keyframe (fl.motion.Keyframe)
package fl.motion {
import flash.display.*;
import flash.filters.*;
import flash.utils.*;
public class Keyframe {
public var skewX:Number;// = NAN
public var blendMode:String;
public var skewY:Number;// = NAN
public var
:String;
public var tweenScale:Boolean;// = true
public var cacheAsBitmap:Boolean;// = false
public var rotateTimes:uint;// = 0
public var tweenSync:Boolean;// = false
public var
:String;
public var scaleX:Number;// = NAN
private var
:int;// = -1
public var blank:Boolean;// = false
public var tweenSnap:Boolean;// = false
public var scaleY:Number;// = NAN
public var color:Color;
public var rotateDirection:String;
public var orientToPath:Boolean;// = false
public var tweens:Array;
public var label:String;// = ""
public var x:Number;// = NAN
public var y:Number;// = NAN
public var filters:Array;
public function Keyframe(_arg1:XML=null){
= -1;
x = NaN;
y = NaN;
scaleX = NaN;
scaleY = NaN;
skewX = NaN;
skewY = NaN;
label = "";
tweenScale = true;
tweenSnap = false;
tweenSync = false;
cacheAsBitmap = false;
blendMode = BlendMode.NORMAL;
rotateDirection = RotateDirection.AUTO;
rotateTimes = 0;
orientToPath = false;
blank = false;
super();
this.tweens = [];
this.filters = [];
this.
(_arg1);
}
public function set index(_arg1:int):void{
this.
= ((_arg1)<0) ? 0 : _arg1;
if (this.
== 0){
this.
();
};
}
public function getTween(_arg1:String=""):ITween{
var _local2:ITween;
for each (_local2 in this.tweens) {
if ((((((((_local2.target == _arg1)) || ((((_local2.target == "rotation")) && ((((_arg1 == "skewX")) || ((_arg1 == "skewY")))))))) || ((((_local2.target == "position")) && ((((_arg1 == "x")) || ((_arg1 == "y")))))))) || ((((_local2.target == "scale")) && ((((_arg1 == "scaleX")) || ((_arg1 == "scaleY")))))))){
return (_local2);
};
};
return (null);
}
public function setValue(_arg1:String, _arg2:Number):void{
this[_arg1] = _arg2;
}
public function getValue(_arg1:String):Number{
return (Number(this[_arg1]));
}
public function get index():int{
return (this.
);
}
private function
():void{
if (isNaN(this.x)){
this.x = 0;
};
if (isNaN(this.y)){
this.y = 0;
};
if (isNaN(this.scaleX)){
this.scaleX = 1;
};
if (isNaN(this.scaleY)){
this.scaleY = 1;
};
if (isNaN(this.skewX)){
this.skewX = 0;
};
if (isNaN(this.skewY)){
this.skewY = 0;
};
if (!this.color){
this.color = new Color();
};
}
public function affectsTweenable(_arg1:String=""):Boolean{
return (((((((((((!(_arg1)) || (!(isNaN(this[_arg1]))))) || ((((_arg1 == "color")) && (this.color))))) || ((((_arg1 == "filters")) && (this.filters.length))))) || (this.blank))) || (this.getTween())));
}
private function
(_arg1:XML=null):Keyframe{
var indexString:String;
var indexValue:int;
var tweenableNames:Array;
var tweenableName:String;
var elements:XMLList;
var filtersArray:Array;
var child:XML;
var attribute:XML;
var attributeValue:String;
var name:String;
var tweenChildren:XMLList;
var tweenChild:XML;
var tweenName:String;
var filtersChildren:XMLList;
var filterXML:XML;
var filterName:String;
var filterClassName:String;
var filterClass:Object;
var filterInstance:BitmapFilter;
var filterTypeInfo:XML;
var accessorList:XMLList;
var ratios:Array;
var attrib:XML;
var attribName:String;
var accessor:XML;
var attribType:String;
var attribValue:String;
var uintValue:uint;
var valuesArray:Array;
var xml = _arg1;
if (!xml){
return (this);
};
indexString = xml.@index.toXMLString();
indexValue = parseInt(indexString);
if (indexString){
this.index = indexValue;
} else {
throw (new Error("<Keyframe> is missing the required attribute \"index\"."));
};
if (xml.@label.length()){
this.label = xml.@label;
};
if (xml.@tweenScale.length()){
this.tweenScale = (xml.@tweenScale.toString() == "true");
};
if (xml.@tweenSnap.length()){
this.tweenSnap = (xml.@tweenSnap.toString() == "true");
};
if (xml.@tweenSync.length()){
this.tweenSync = (xml.@tweenSync.toString() == "true");
};
if (xml.@blendMode.length()){
this.blendMode = xml.@blendMode;
};
if (xml.@cacheAsBitmap.length()){
this.cacheAsBitmap = (xml.@cacheAsBitmap.toString() == "true");
};
if (xml.@rotateDirection.length()){
this.rotateDirection = xml.@rotateDirection;
};
if (xml.@rotateTimes.length()){
this.rotateTimes = parseInt(xml.@rotateTimes);
};
if (xml.@orientToPath.length()){
this.orientToPath = (xml.@orientToPath.toString() == "true");
};
if (xml.@blank.length()){
this.blank = (xml.@blank.toString() == "true");
};
tweenableNames = ["x", "y", "scaleX", "scaleY", "rotation", "skewX", "skewY"];
for each (tweenableName in tweenableNames) {
attribute = xml.attribute(tweenableName)[0];
if (!attribute){
} else {
attributeValue = attribute.toString();
if (attributeValue){
this[tweenableName] = Number(attributeValue);
};
};
};
elements = xml.elements();
filtersArray = [];
for each (child in elements) {
name = child.localName();
if (name == "tweens"){
tweenChildren = child.elements();
for each (tweenChild in tweenChildren) {
tweenName = tweenChild.localName();
if (tweenName == "SimpleEase"){
this.tweens.push(new SimpleEase(tweenChild));
} else {
if (tweenName == "CustomEase"){
this.tweens.push(new CustomEase(tweenChild));
} else {
if (tweenName == "BezierEase"){
this.tweens.push(new BezierEase(tweenChild));
} else {
if (tweenName == "FunctionEase"){
this.tweens.push(new FunctionEase(tweenChild));
};
};
};
};
};
} else {
if (name == "filters"){
filtersChildren = child.elements();
for each (filterXML in filtersChildren) {
filterName = filterXML.localName();
filterClassName = ("flash.filters." + filterName);
if (filterName == "AdjustColorFilter"){
} else {
filterClass = getDefinitionByName(filterClassName);
filterInstance = new (filterClass);
filterTypeInfo = describeType(filterInstance);
accessorList = filterTypeInfo.accessor;
ratios = [];
for each (attrib in filterXML.attributes()) {
attribName = attrib.localName();
accessor = accessorList.(@name == attribName)[0];
attribType = accessor.@type;
attribValue = attrib.toString();
if (attribType == "int"){
filterInstance[attribName] = parseInt(attribValue);
} else {
if (attribType == "uint"){
filterInstance[attribName] = (parseInt(attribValue) as uint);
uintValue = (parseInt(attribValue) as uint);
} else {
if (attribType == "Number"){
filterInstance[attribName] = Number(attribValue);
} else {
if (attribType == "Boolean"){
filterInstance[attribName] = (attribValue == "true");
} else {
if (attribType == "Array"){
attribValue = attribValue.substring(1, (attribValue.length - 1));
valuesArray = null;
if ((((attribName == "ratios")) || ((attribName == "colors")))){
valuesArray = splitUint(attribValue);
} else {
if (attribName == "alphas"){
valuesArray = splitNumber(attribValue);
};
};
if (attribName == "ratios"){
ratios = valuesArray;
} else {
if (valuesArray){
filterInstance[attribName] = valuesArray;
};
};
} else {
if (attribType == "String"){
filterInstance[attribName] = attribValue;
};
};
};
};
};
};
};
if (ratios.length){
filterInstance["ratios"] = ratios;
};
filtersArray.push(filterInstance);
};
};
} else {
if (name == "color"){
this.color = Color.fromXML(child);
};
};
};
this.filters = filtersArray;
};
return (this);
}
public function set rotation(_arg1:Number):void{
if (((isNaN(this.skewX)) || (isNaN(this.skewY)))){
this.skewX = _arg1;
} else {
this.skewX = (this.skewX + (_arg1 - this.skewY));
};
this.skewY = _arg1;
}
public function get rotation():Number{
return (this.skewY);
}
private static function splitNumber(_arg1:String):Array{
var _local2:Array;
var _local3:int;
_local2 = _arg1.split(",");
_local3 = 0;
while (_local3 < _local2.length) {
_local2[_local3] = Number(_local2[_local3]);
_local3++;
};
return (_local2);
}
private static function splitUint(_arg1:String):Array{
var _local2:Array;
var _local3:int;
_local2 = _arg1.split(",");
_local3 = 0;
while (_local3 < _local2.length) {
_local2[_local3] = (parseInt(_local2[_local3]) as uint);
_local3++;
};
return (_local2);
}
private static function splitInt(_arg1:String):Array{
var _local2:Array;
var _local3:int;
_local2 = _arg1.split(",");
_local3 = 0;
while (_local3 < _local2.length) {
_local2[_local3] = (parseInt(_local2[_local3]) as int);
_local3++;
};
return (_local2);
}
}
}//package fl.motion
Section 75
//MatrixTransformer (fl.motion.MatrixTransformer)
package fl.motion {
import flash.geom.*;
public class MatrixTransformer {
public static function getSkewY(_arg1:Matrix):Number{
return ((Math.atan2(_arg1.b, _arg1.a) * (180 / Math.PI)));
}
public static function getScaleX(_arg1:Matrix):Number{
return (Math.sqrt(((_arg1.a * _arg1.a) + (_arg1.b * _arg1.b))));
}
public static function getScaleY(_arg1:Matrix):Number{
return (Math.sqrt(((_arg1.c * _arg1.c) + (_arg1.d * _arg1.d))));
}
public static function setSkewXRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
_local3 = getScaleY(_arg1);
_arg1.c = (-(_local3) * Math.sin(_arg2));
_arg1.d = (_local3 * Math.cos(_arg2));
}
public static function setRotation(_arg1:Matrix, _arg2:Number):void{
setRotationRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function rotateAroundInternalPoint(_arg1:Matrix, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:Point;
_local5 = new Point(_arg2, _arg3);
_local5 = _arg1.transformPoint(_local5);
_arg1.tx = (_arg1.tx - _local5.x);
_arg1.ty = (_arg1.ty - _local5.y);
_arg1.rotate((_arg4 * (Math.PI / 180)));
_arg1.tx = (_arg1.tx + _local5.x);
_arg1.ty = (_arg1.ty + _local5.y);
}
public static function setSkewX(_arg1:Matrix, _arg2:Number):void{
setSkewXRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function setSkewY(_arg1:Matrix, _arg2:Number):void{
setSkewYRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function setScaleX(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local3 = getScaleX(_arg1);
if (_local3){
_local4 = (_arg2 / _local3);
_arg1.a = (_arg1.a * _local4);
_arg1.b = (_arg1.b * _local4);
} else {
_local5 = getSkewYRadians(_arg1);
_arg1.a = (Math.cos(_local5) * _arg2);
_arg1.b = (Math.sin(_local5) * _arg2);
};
}
public static function setScaleY(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local3 = getScaleY(_arg1);
if (_local3){
_local4 = (_arg2 / _local3);
_arg1.c = (_arg1.c * _local4);
_arg1.d = (_arg1.d * _local4);
} else {
_local5 = getSkewXRadians(_arg1);
_arg1.c = (-(Math.sin(_local5)) * _arg2);
_arg1.d = (Math.cos(_local5) * _arg2);
};
}
public static function setRotationRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
_local3 = getRotationRadians(_arg1);
_local4 = getSkewXRadians(_arg1);
setSkewXRadians(_arg1, ((_local4 + _arg2) - _local3));
setSkewYRadians(_arg1, _arg2);
}
public static function setSkewYRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
_local3 = getScaleX(_arg1);
_arg1.a = (_local3 * Math.cos(_arg2));
_arg1.b = (_local3 * Math.sin(_arg2));
}
public static function getSkewX(_arg1:Matrix):Number{
return ((Math.atan2(-(_arg1.c), _arg1.d) * (180 / Math.PI)));
}
public static function getSkewYRadians(_arg1:Matrix):Number{
return (Math.atan2(_arg1.b, _arg1.a));
}
public static function getSkewXRadians(_arg1:Matrix):Number{
return (Math.atan2(-(_arg1.c), _arg1.d));
}
public static function getRotation(_arg1:Matrix):Number{
return ((getRotationRadians(_arg1) * (180 / Math.PI)));
}
public static function rotateAroundExternalPoint(_arg1:Matrix, _arg2:Number, _arg3:Number, _arg4:Number):void{
_arg1.tx = (_arg1.tx - _arg2);
_arg1.ty = (_arg1.ty - _arg3);
_arg1.rotate((_arg4 * (Math.PI / 180)));
_arg1.tx = (_arg1.tx + _arg2);
_arg1.ty = (_arg1.ty + _arg3);
}
public static function getRotationRadians(_arg1:Matrix):Number{
return (getSkewYRadians(_arg1));
}
public static function matchInternalPointWithExternal(_arg1:Matrix, _arg2:Point, _arg3:Point):void{
var _local4:Point;
var _local5:Number;
var _local6:Number;
_local4 = _arg1.transformPoint(_arg2);
_local5 = (_arg3.x - _local4.x);
_local6 = (_arg3.y - _local4.y);
_arg1.tx = (_arg1.tx + _local5);
_arg1.ty = (_arg1.ty + _local6);
}
}
}//package fl.motion
Section 76
//Motion (fl.motion.Motion)
package fl.motion {
import flash.filters.*;
import flash.geom.*;
import flash.utils.*;
public class Motion {
private var :Array;
public var :Array;
public var source:Source;
private var :int;// = 0
private static var typeCache:Object = {};
public function Motion(_arg1:XML=null){
var _local2:Keyframe;
= 0;
super();
this. = [];
this.
(_arg1);
if (!this.source){
this.source = new Source();
};
if (this.duration == 0){
_local2 = new Keyframe();
_local2.index = 0;
this.(_local2);
};
}
public function (_arg1:Number):Array{
var _local2:Array;
var _local3:Keyframe;
var _local4:Array;
var _local5:Number;
var _local6:ITween;
var _local7:Keyframe;
var _local8:Array;
var _local9:Number;
var _local10:Number;
_local2 = null;
_local3 = this.(_arg1, "filters");
if (((!(_local3)) || (!(_local3.filters.length)))){
return ([]);
};
_local4 = _local3.filters;
_local5 = (_arg1 - _local3.index);
_local6 = ((_local3.getTween("filters")) || (_local3.getTween()));
if ((((_local5 == 0)) || (!(_local6)))){
_local2 = _local4;
} else {
if (_local6){
_local7 = this.(_arg1, "filters");
if (((!(_local7)) || (!(_local7.filters.length)))){
_local2 = _local4;
} else {
_local8 = _local7.filters;
_local9 = (_local7.index - _local3.index);
_local10 = _local6.getValue(_local5, 0, 1, _local9);
_local2 = interpolateFilters(_local4, _local8, _local10);
};
};
};
return (_local2);
}
public function (_arg1:int, _arg2:String=""):Keyframe{
var _local3:int;
var _local4:Keyframe;
if (((((isNaN(_arg1)) || ((_arg1 < 0)))) || ((_arg1 > (this.duration - 1))))){
return (null);
};
_local3 = _arg1;
while (_local3 > 0) {
_local4 = this.[_local3];
if (((_local4) && (_local4.affectsTweenable(_arg2)))){
return (_local4);
};
_local3--;
};
return (this.[0]);
}
public function get duration():int{
if (this. < this..length){
this. = this..length;
};
return (this.);
}
public function get keyframesCompact():Array{
var _local1:Keyframe;
this. = [];
for each (_local1 in this.) {
if (_local1){
this..push(_local1);
};
};
return (this.);
}
private function
(_arg1:XML):Motion{
var _local2:XMLList;
var _local3:Number;
var _local4:XML;
var _local5:XML;
if (!_arg1){
return (this);
};
if (_arg1.@duration.length()){
this. = parseInt(_arg1.@duration);
};
_local2 = _arg1.elements();
_local3 = 0;
while (_local3 < _local2.length()) {
_local4 = _local2[_local3];
if (_local4.localName() == "source"){
_local5 = _local4.children()[0];
this.source = new Source(_local5);
} else {
if (_local4.localName() == "Keyframe"){
this.(new Keyframe(_local4));
};
};
_local3++;
};
return (this);
}
public function set duration(_arg1:int):void{
if (_arg1 < this..length){
_arg1 = this..length;
};
this. = _arg1;
}
private function (_arg1:int):Boolean{
return (((((isNaN(_arg1)) || ((_arg1 < 0)))) || ((_arg1 > (this.duration - 1)))));
}
public function (_arg1:Keyframe):void{
this.[_arg1.index] = _arg1;
if (this.duration < this..length){
this.duration = this..length;
};
}
public function setValue(_arg1:int, _arg2:String, _arg3:Number):void{
var _local4:Keyframe;
if (_arg1 == 0){
return;
};
_local4 = this.[_arg1];
if (!_local4){
_local4 = new Keyframe();
_local4.index = _arg1;
this.(_local4);
};
_local4.setValue(_arg2, _arg3);
}
public function (_arg1:int, _arg2:String=""):Keyframe{
var _local3:int;
var _local4:Keyframe;
if (((((isNaN(_arg1)) || ((_arg1 < 0)))) || ((_arg1 > (this.duration - 1))))){
return (null);
};
_local3 = (_arg1 + 1);
while (_local3 < this..length) {
_local4 = this.[_local3];
if (((_local4) && (_local4.affectsTweenable(_arg2)))){
return (_local4);
};
_local3++;
};
return (null);
}
public function getValue(_arg1:Number, _arg2:String):Number{
var _local3:Number;
var _local4:Keyframe;
var _local5:Number;
var _local6:Number;
var _local7:ITween;
var _local8:String;
var _local9:Keyframe;
var _local10:Number;
var _local11:Number;
var _local12:Number;
_local3 = NaN;
_local4 = this.(_arg1, _arg2);
if (((!(_local4)) || (_local4.blank))){
return (NaN);
};
_local5 = _local4.getValue(_arg2);
if (((isNaN(_local5)) && ((_local4.index > 0)))){
_local5 = this.getValue((_local4.index - 1), _arg2);
};
if (isNaN(_local5)){
return (NaN);
};
_local6 = (_arg1 - _local4.index);
if (_local6 == 0){
return (_local5);
};
_local7 = ((_local4.getTween(_arg2)) || (_local4.getTween()));
if (((((!(_local7)) || (((!(_local4.tweenScale)) && ((((_arg2 == Tweenables.SCALE_X)) || ((_arg2 == Tweenables.SCALE_Y)))))))) || ((((_local4.rotateDirection == RotateDirection.NONE)) && ((((((_arg2 == Tweenables.ROTATION)) || ((_arg2 == Tweenables.SKEW_X)))) || ((_arg2 == Tweenables.SKEW_Y)))))))){
return (_local5);
};
_local8 = _arg2;
if (_local7.target == ""){
_local8 = "";
};
_local9 = this.(_arg1, _local8);
if (((!(_local9)) || (_local9.blank))){
return (_local5);
};
_local10 = _local9.getValue(_arg2);
if (isNaN(_local10)){
_local10 = _local5;
};
_local11 = (_local10 - _local5);
if ((((((_arg2 == Tweenables.SKEW_X)) || ((_arg2 == Tweenables.SKEW_Y)))) || ((_arg2 == Tweenables.ROTATION)))){
if (_local4.rotateDirection == RotateDirection.AUTO){
_local11 = (_local11 % 360);
if (_local11 > 180){
_local11 = (_local11 - 360);
} else {
if (_local11 < -180){
_local11 = (_local11 + 360);
};
};
} else {
if (_local4.rotateDirection == RotateDirection.CW){
if (_local11 < 0){
_local11 = ((_local11 % 360) + 360);
};
_local11 = (_local11 + (_local4.rotateTimes * 360));
} else {
if (_local11 > 0){
_local11 = ((_local11 % 360) - 360);
};
_local11 = (_local11 - (_local4.rotateTimes * 360));
};
};
};
_local12 = (_local9.index - _local4.index);
_local3 = _local7.getValue(_local6, _local5, _local11, _local12);
return (_local3);
}
public function set keyframesCompact(_arg1:Array):void{
var _local2:Keyframe;
this. = _arg1.concat();
this. = [];
for each (_local2 in this.) {
this.(_local2);
};
}
public function (_arg1:int):ColorTransform{
var _local2:ColorTransform;
var _local3:Keyframe;
var _local4:ColorTransform;
var _local5:Number;
var _local6:ITween;
var _local7:Keyframe;
var _local8:ColorTransform;
var _local9:Number;
var _local10:Number;
_local2 = null;
_local3 = this.(_arg1, "color");
if (((!(_local3)) || (!(_local3.color)))){
return (null);
};
_local4 = _local3.color;
_local5 = (_arg1 - _local3.index);
_local6 = ((((_local3.getTween("color")) || (_local3.getTween("alpha")))) || (_local3.getTween()));
if ((((_local5 == 0)) || (!(_local6)))){
_local2 = _local4;
} else {
if (_local6){
_local7 = this.(_arg1, "color");
if (((!(_local7)) || (!(_local7.color)))){
_local2 = _local4;
} else {
_local8 = _local7.color;
_local9 = (_local7.index - _local3.index);
_local10 = _local6.getValue(_local5, 0, 1, _local9);
_local2 = Color.interpolateTransform(_local4, _local8, _local10);
};
};
};
return (_local2);
}
private static function getTypeInfo(_arg1):XML{
var _local2:String;
_local2 = "";
if ((_arg1 is String)){
_local2 = _arg1;
} else {
_local2 = getQualifiedClassName(_arg1);
};
if ((_local2 in typeCache)){
return (typeCache[_local2]);
};
if ((_arg1 is String)){
_arg1 = getDefinitionByName(_arg1);
};
return ((typeCache[_local2] = describeType(_arg1)));
}
public static function interpolateFilter(_arg1:BitmapFilter, _arg2:BitmapFilter, _arg3:Number):BitmapFilter{
var _local4:Number;
var _local5:BitmapFilter;
var _local6:XML;
var _local7:XMLList;
var _local8:XML;
var _local9:String;
var _local10:String;
var _local11:uint;
var _local12:uint;
var _local13:uint;
var _local14:Array;
var _local15:Array;
var _local16:Array;
var _local17:int;
var _local18:int;
var _local19:int;
var _local20:int;
var _local21:int;
var _local22:Number;
var _local23:uint;
var _local24:Number;
var _local25:int;
var _local26:Number;
var _local27:uint;
var _local28:Number;
var _local29:int;
var _local30:uint;
var _local31:Number;
if (((!(_arg2)) || (!((_arg1["constructor"] == _arg2["constructor"]))))){
return (_arg1);
};
if (_arg3 > 1){
_arg3 = 1;
} else {
if (_arg3 < 0){
_arg3 = 0;
};
};
_local4 = (1 - _arg3);
_local5 = _arg1.clone();
_local6 = getTypeInfo(_arg1);
_local7 = _local6.accessor;
for each (_local8 in _local7) {
_local9 = _local8.@name.toString();
_local10 = _local8.@type;
if ((((_local10 == "Number")) || ((_local10 == "int")))){
_local5[_local9] = ((_arg1[_local9] * _local4) + (_arg2[_local9] * _arg3));
} else {
if (_local10 == "uint"){
switch (_local9){
case "color":
case "highlightColor":
case "shadowColor":
_local11 = _arg1[_local9];
_local12 = _arg2[_local9];
_local13 = Color.interpolateColor(_local11, _local12, _arg3);
_local5[_local9] = _local13;
break;
default:
_local5[_local9] = ((_arg1[_local9] * _local4) + (_arg2[_local9] * _arg3));
break;
};
};
};
};
if ((((_arg1 is GradientGlowFilter)) || ((_arg1 is GradientBevelFilter)))){
_local14 = [];
_local15 = [];
_local16 = [];
_local17 = _arg1["ratios"].length;
_local18 = _arg2["ratios"].length;
_local19 = Math.max(_local17, _local18);
_local20 = 0;
while (_local20 < _local19) {
_local21 = Math.min(_local20, (_local17 - 1));
_local22 = _arg1["ratios"][_local21];
_local23 = _arg1["colors"][_local21];
_local24 = _arg1["alphas"][_local21];
_local25 = Math.min(_local20, (_local18 - 1));
_local26 = _arg2["ratios"][_local25];
_local27 = _arg2["colors"][_local25];
_local28 = _arg2["alphas"][_local25];
_local29 = ((_local22 * _local4) + (_local26 * _arg3));
_local30 = Color.interpolateColor(_local23, _local27, _arg3);
_local31 = ((_local24 * _local4) + (_local28 * _arg3));
_local14[_local20] = _local29;
_local15[_local20] = _local30;
_local16[_local20] = _local31;
_local20++;
};
_local5["colors"] = _local15;
_local5["alphas"] = _local16;
_local5["ratios"] = _local14;
};
return (_local5);
}
public static function interpolateFilters(_arg1:Array, _arg2:Array, _arg3:Number):Array{
var _local4:Array;
var _local5:int;
var _local6:BitmapFilter;
var _local7:BitmapFilter;
var _local8:BitmapFilter;
if (_arg1.length != _arg2.length){
return (null);
};
_local4 = [];
_local5 = 0;
while (_local5 < _arg1.length) {
_local6 = _arg1[_local5];
_local7 = _arg2[_local5];
_local8 = interpolateFilter(_local6, _local7, _arg3);
if (_local8){
_local4.push(_local8);
};
_local5++;
};
return (_local4);
}
public static function fromXMLString(_arg1:String):Motion{
var _local2:XML;
_local2 = new XML(_arg1);
return (new Motion(_local2));
}
}
}//package fl.motion
Section 77
//MotionEvent (fl.motion.MotionEvent)
package fl.motion {
import flash.events.*;
public class MotionEvent extends Event {
public static const MOTION_UPDATE:String = "motionUpdate";
public static const TIME_CHANGE:String = "timeChange";
public static const MOTION_START:String = "motionStart";
public static const MOTION_END:String = "motionEnd";
public function MotionEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
override public function clone():Event{
return (new MotionEvent(this.type, this.bubbles, this.cancelable));
}
}
}//package fl.motion
Section 78
//RotateDirection (fl.motion.RotateDirection)
package fl.motion {
public class RotateDirection {
public static const CW:String = "cw";
public static const CCW:String = "ccw";
public static const NONE:String = "none";
public static const AUTO:String = "auto";
}
}//package fl.motion
Section 79
//SimpleEase (fl.motion.SimpleEase)
package fl.motion {
public class SimpleEase implements ITween {
private var :Number;// = 0
private var :String;// = ""
public function SimpleEase(_arg1:XML=null){
= 0;
= "";
super();
this.
(_arg1);
}
public function set target(_arg1:String):void{
this. = _arg1;
}
private function
(_arg1:XML=null):SimpleEase{
if (_arg1){
if (_arg1.@ease.length()){
this.ease = Number(_arg1.@ease);
};
};
return (this);
}
public function get ease():Number{
return (this.);
}
public function get target():String{
return (this.);
}
public function getValue(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (easeQuadPercent(_arg1, _arg2, _arg3, _arg4, this.ease));
}
public function set ease(_arg1:Number):void{
this. = ((_arg1 > 1)) ? 1 : ((_arg1 < -1)) ? -1 : (isNaN(_arg1)) ? 0 : _arg1;
}
public static function easeQuadPercent(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Number{
if (_arg4 <= 0){
return (NaN);
};
if (_arg1 <= 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 >= 1){
return ((_arg2 + _arg3));
};
if (!_arg5){
return (((_arg3 * _arg1) + _arg2));
};
if (_arg5 > 1){
_arg5 = 1;
} else {
if (_arg5 < -1){
_arg5 = -1;
};
};
if (_arg5 < 0){
return ((((_arg3 * _arg1) * ((_arg1 * -(_arg5)) + (1 + _arg5))) + _arg2));
};
return ((((_arg3 * _arg1) * (((2 - _arg1) * _arg5) + (1 - _arg5))) + _arg2));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
if (_arg4 <= 0){
return (NaN);
};
if (_arg1 <= 0){
return (_arg2);
};
if (_arg1 >= _arg4){
return ((_arg2 + _arg3));
};
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package fl.motion
Section 80
//Source (fl.motion.Source)
package fl.motion {
import flash.geom.*;
public class Source {
public var instanceName:String;// = ""
public var symbolName:String;// = ""
public var dimensions:Rectangle;
public var scaleX:Number;// = 1
public var skewY:Number;// = 0
public var skewX:Number;// = 0
public var scaleY:Number;// = 1
public var :String;// = ""
public var transformationPoint:Point;
public var linkageID:String;// = ""
public var frameRate:Number;// = NAN
public var x:Number;// = 0
public var y:Number;// = 0
public var rotation:Number;// = 0
public function Source(_arg1:XML=null){
frameRate = NaN;
= "";
symbolName = "";
instanceName = "";
linkageID = "";
x = 0;
y = 0;
scaleX = 1;
scaleY = 1;
skewX = 0;
skewY = 0;
rotation = 0;
super();
this.
(_arg1);
}
private function
(_arg1:XML=null):Source{
var _local2:XMLList;
var _local3:XML;
var _local4:XML;
var _local5:XML;
if (!_arg1){
return (this);
};
if (_arg1.@instanceName){
this.instanceName = String(_arg1.@instanceName);
};
if (_arg1.@symbolName){
this.symbolName = String(_arg1.@symbolName);
};
if (_arg1.@linkageID){
this.linkageID = String(_arg1.@linkageID);
};
if (!isNaN(_arg1.@frameRate)){
this.frameRate = Number(_arg1.@frameRate);
};
_local2 = _arg1.elements();
for each (_local3 in _local2) {
if (_local3.localName() == "transformationPoint"){
_local4 = _local3.children()[0];
this.transformationPoint = new Point(Number(_local4.@x), Number(_local4.@y));
} else {
if (_local3.localName() == "dimensions"){
_local5 = _local3.children()[0];
this.dimensions = new Rectangle(Number(_local5.@left), Number(_local5.@top), Number(_local5.@width), Number(_local5.@height));
};
};
};
return (this);
}
}
}//package fl.motion
Section 81
//Tweenables (fl.motion.Tweenables)
package fl.motion {
public class Tweenables {
public static const SCALE_X:String = "scaleX";
public static const SCALE_Y:String = "scaleY";
public static const SKEW_X:String = "skewX";
public static const SKEW_Y:String = "skewY";
public static const X:String = "x";
public static const Y:String = "y";
public static const ROTATION:String = "rotation";
}
}//package fl.motion
Section 82
//ag_intro_mc_2 (quiz_fla.ag_intro_mc_2)
package quiz_fla {
import flash.display.*;
public dynamic class ag_intro_mc_2 extends MovieClip {
public function ag_intro_mc_2(){
addFrameScript(0, frame1, 217,
);
}
function
(){
(parent as MovieClip).gotoAndStop("nitrome");
}
function frame1(){
gotoAndPlay(2);
}
}
}//package quiz_fla
Section 83
//car_holder_19 (quiz_fla.car_holder_19)
package quiz_fla {
import flash.display.*;
public dynamic class car_holder_19 extends MovieClip {
public function car_holder_19(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30,
, 31, , 32, , 33,
, 34, frame35, 35,
, 36, , 37, , 38, frame39, 39, frame40, 40, , 41, , 42, );
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame25(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame22(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame21(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame23(){
stop();
}
function frame24(){
stop();
}
function frame28(){
stop();
}
function
(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
function
(){
stop();
}
function
(){
stop();
}
function frame27(){
stop();
}
function frame11(){
stop();
}
function frame35(){
stop();
}
function (){
stop();
}
function (){
stop();
}
function frame29(){
stop();
}
function (){
stop();
}
function frame40(){
stop();
}
function (){
stop();
}
function frame39(){
stop();
}
function frame26(){
stop();
}
function (){
stop();
}
function (){
stop();
}
function (){
stop();
}
}
}//package quiz_fla
Section 84
//close_button_41 (quiz_fla.close_button_41)
package quiz_fla {
import flash.display.*;
public dynamic class close_button_41 extends MovieClip {
public function close_button_41(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package quiz_fla
Section 85
//correct_sign_clip_25 (quiz_fla.correct_sign_clip_25)
package quiz_fla {
import flash.display.*;
import flash.text.*;
public dynamic class correct_sign_clip_25 extends MovieClip {
public var level_text:TextField;
public var total_text:TextField;
public var time_text:TextField;
public var correct_text_holder:MovieClip;
}
}//package quiz_fla
Section 86
//correct_text_holder_26 (quiz_fla.correct_text_holder_26)
package quiz_fla {
import flash.display.*;
public dynamic class correct_text_holder_26 extends MovieClip {
public var correct_text:SkywireGreenFont;
public function correct_text_holder_26(){
();
}
function (){
try {
correct_text["componentInspectorSetting"] = true;
} catch(e:Error) {
};
correct_text.align = "center";
correct_text.align_vert = "center";
correct_text.id = "SkywireGreen";
correct_text.line_spacing = 18;
correct_text.text = "well done!";
correct_text.tracking = -4;
try {
correct_text["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package quiz_fla
Section 87
//go_10 (quiz_fla.go_10)
package quiz_fla {
import flash.display.*;
public dynamic class go_10 extends MovieClip {
public function go_10(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package quiz_fla
Section 88
//help_anim_65 (quiz_fla.help_anim_65)
package quiz_fla {
import flash.display.*;
public dynamic class help_anim_65 extends MovieClip {
public function help_anim_65(){
addFrameScript(0, frame1, 9, frame10, 19, frame20, 29, frame30);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
}
}//package quiz_fla
Section 89
//hint_sign_clip_39 (quiz_fla.hint_sign_clip_39)
package quiz_fla {
import flash.display.*;
import flash.text.*;
public dynamic class hint_sign_clip_39 extends MovieClip {
public var close_button:MovieClip;
public var __id9_:SkywireFont;
public var hint_text:TextField;
public function hint_sign_clip_39(){
();
}
function (){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.align = "center";
__id9_.align_vert = "center";
__id9_.id = "Skywire";
__id9_.line_spacing = 18;
__id9_.text = "hint";
__id9_.tracking = -4;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package quiz_fla
Section 90
//keypress_11 (quiz_fla.keypress_11)
package quiz_fla {
import flash.display.*;
public dynamic class keypress_11 extends MovieClip {
public function keypress_11(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package quiz_fla
Section 91
//left_speech_bubble_53 (quiz_fla.left_speech_bubble_53)
package quiz_fla {
import flash.display.*;
import flash.text.*;
public dynamic class left_speech_bubble_53 extends MovieClip {
public var speech_text:TextField;
}
}//package quiz_fla
Section 92
//level_sign_clip_48 (quiz_fla.level_sign_clip_48)
package quiz_fla {
import flash.display.*;
public dynamic class level_sign_clip_48 extends MovieClip {
public var level_text_holder:MovieClip;
}
}//package quiz_fla
Section 93
//level_text_holder_49 (quiz_fla.level_text_holder_49)
package quiz_fla {
import flash.display.*;
public dynamic class level_text_holder_49 extends MovieClip {
public var level_text:SkywireFont;
public function level_text_holder_49(){
();
}
function (){
try {
level_text["componentInspectorSetting"] = true;
} catch(e:Error) {
};
level_text.align = "center";
level_text.align_vert = "center";
level_text.id = "Skywire";
level_text.line_spacing = 18;
level_text.text = "level 100";
level_text.tracking = -4;
try {
level_text["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package quiz_fla
Section 94
//linkage_clip_13 (quiz_fla.linkage_clip_13)
package quiz_fla {
import flash.display.*;
public dynamic class linkage_clip_13 extends MovieClip {
public function linkage_clip_13(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package quiz_fla
Section 95
//MainTimeline (quiz_fla.MainTimeline)
package quiz_fla {
import flash.display.*;
import com.nitrome.quiz.*;
import com.nitrome.buttons.*;
import flash.filters.*;
import flash.geom.*;
import flash.events.*;
import com.nitrome.game.*;
import com.nitrome.util.*;
import flash.media.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var game:QuizGame;
public var female_presenter_win:FemalePresenterWin;
public var male_presenter_win:MalePresenterWin;
public var quit_button:QuitButton;
public var timer:CountdownTimer;
public var female_presenter:FemalePresenter;
public var preloader:Preloader;
public var credits_button:CreditsButton;
public var curtain:Curtain;
public var play_button:PlayButton;
public var popup_holder:MovieClip;
public var holder:MovieClip;
public var logo:Logo;
public var guess_panel:GuessPanel;
public var copyright:Copyright;
public var sign_post:SignPost;
public var hint_button:HintButton;
public var male_presenter:MalePresenter;
public var help_button:HelpButton;
public function MainTimeline(){
addFrameScript(1, frame2, 9, frame10, 29, frame30, 38, frame39, 39, frame40, 49,
, 59, , 69, , 79, );
}
public function (_arg1:Event):void{
_arg1.target.removeEventListener(Event.COMPLETE, );
(root as MovieClip).gotoAndStop("armor");
}
function (){
stop();
}
function (){
trace("win");
male_presenter_win.setTimeline(this);
female_presenter_win.setTimeline(this);
stop();
}
function (){
game = new QuizGame(this, holder, curtain, guess_panel, timer, hint_button, quit_button);
stop();
}
function frame10(){
stop();
}
function frame2(){
NitromeGame.init((root as MovieClip), "skywirevip", "stupid", 100);
Score.init();
LevelScore.init();
Seconds.init();
stage.showDefaultContextMenu = false;
preloader.addEventListener(Event.COMPLETE, , false, 0, true);
stop();
}
function frame30(){
stop();
}
function frame39(){
play_button.setTimeline(this);
help_button.setTimeline(this);
credits_button.setTimeline(this);
male_presenter.setTimeline(this);
female_presenter.setTimeline(this);
NitromeGame.sound_manager.playMusic(SoundManager.MENU);
Lock.urlLock(stage);
}
function frame40(){
stop();
}
function
(){
stop();
}
}
}//package quiz_fla
Section 96
//nitrome_7 (quiz_fla.nitrome_7)
package quiz_fla {
import flash.display.*;
public dynamic class nitrome_7 extends MovieClip {
public function nitrome_7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package quiz_fla
Section 97
//nitrome_intro_84 (quiz_fla.nitrome_intro_84)
package quiz_fla {
import flash.display.*;
public dynamic class nitrome_intro_84 extends MovieClip {
public function nitrome_intro_84(){
addFrameScript(187, );
}
function (){
(parent as MovieClip).gotoAndStop("pre_title_screen");
stop();
}
}
}//package quiz_fla
Section 98
//popup_clip_64 (quiz_fla.popup_clip_64)
package quiz_fla {
import flash.display.*;
import com.nitrome.buttons.*;
import flash.utils.*;
public dynamic class popup_clip_64 extends MovieClip {
public var __id20_:SkywireRedFont;
public var __id17_:SkywireFont;
public var __id21_:SkywireFont;
public var __id18_:SkywireRedFont;
public var __setPropDict:Dictionary;
public var __id19_:SkywireFont;
public var __id22_:SkywireRedFont;
public var __id23_:SkywireFont;
public var back_button:BackButton;
public var __id16_:SkywireRedFont;
public function popup_clip_64(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 9, frame10, 19, frame20, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29);
}
function (){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.align = "center";
__id22_.align_vert = "center";
__id22_.id = "SkywireRed";
__id22_.line_spacing = 18;
__id22_.text = "lee nicklen";
__id22_.tracking = -4;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.align = "center";
__id19_.align_vert = "center";
__id19_.id = "Skywire";
__id19_.line_spacing = 18;
__id19_.text = "programming";
__id19_.tracking = -4;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.align = "center";
__id21_.align_vert = "center";
__id21_.id = "Skywire";
__id21_.line_spacing = 18;
__id21_.text = "music";
__id21_.tracking = -4;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
stop();
}
function frame14(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame1(){
stop();
}
function frame19(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame25(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function (){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.align = "center";
__id18_.align_vert = "center";
__id18_.id = "SkywireRed";
__id18_.line_spacing = 18;
__id18_.text = "mat annal";
__id18_.tracking = -4;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame17(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function (){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.align = "center";
__id16_.align_vert = "center";
__id16_.id = "SkywireRed";
__id16_.line_spacing = 18;
__id16_.text = "help";
__id16_.tracking = -4;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame21(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
stop();
}
function
(){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.align = "center";
__id17_.align_vert = "center";
__id17_.id = "Skywire";
__id17_.line_spacing = 18;
__id17_.text = "artwork";
__id17_.tracking = -4;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame23(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame24(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function (){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.align = "center";
__id16_.align_vert = "center";
__id16_.id = "SkywireRed";
__id16_.line_spacing = 18;
__id16_.text = "credits";
__id16_.tracking = -4;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame18(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame27(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function (){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.align = "center";
__id20_.align_vert = "center";
__id20_.id = "SkywireRed";
__id20_.line_spacing = 18;
__id20_.text = "heather stancliffe";
__id20_.tracking = -4;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame22(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame28(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame29(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 10)) && ((int(__setPropDict[__id16_]) <= 19))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame26(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 20)) && ((int(__setPropDict[__id17_]) <= 29))))))){
__setPropDict[__id17_] = currentFrame;
();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 20)) && ((int(__setPropDict[__id20_]) <= 29))))))){
__setPropDict[__id20_] = currentFrame;
();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 20)) && ((int(__setPropDict[__id21_]) <= 29))))))){
__setPropDict[__id21_] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 20)) && ((int(__setPropDict[__id23_]) <= 29))))))){
__setPropDict[__id23_] = currentFrame;
();
};
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 20)) && ((int(__setPropDict[__id19_]) <= 29))))))){
__setPropDict[__id19_] = currentFrame;
();
};
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 20)) && ((int(__setPropDict[__id16_]) <= 29))))))){
__setPropDict[__id16_] = currentFrame;
();
};
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 20)) && ((int(__setPropDict[__id22_]) <= 29))))))){
__setPropDict[__id22_] = currentFrame;
();
};
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 20)) && ((int(__setPropDict[__id18_]) <= 29))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function (){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.align = "center";
__id23_.align_vert = "center";
__id23_.id = "Skywire";
__id23_.line_spacing = 18;
__id23_.text = "game by nitrome";
__id23_.tracking = -4;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package quiz_fla
Section 99
//pos_holder_17 (quiz_fla.pos_holder_17)
package quiz_fla {
import flash.display.*;
public dynamic class pos_holder_17 extends MovieClip {
public var pc0:MovieClip;
public var pc2:MovieClip;
public var pc4:MovieClip;
public var pc3:MovieClip;
public var pc5:MovieClip;
public var pc1:MovieClip;
public var pc7:MovieClip;
public var pc6:MovieClip;
public function pos_holder_17(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package quiz_fla
Section 100
//quit_sign_clip_70 (quiz_fla.quit_sign_clip_70)
package quiz_fla {
import flash.display.*;
import flash.text.*;
public dynamic class quit_sign_clip_70 extends MovieClip {
public var quit_button:MovieClip;
public var total_text:TextField;
public var __id26_:SkywireFont;
public function quit_sign_clip_70(){
();
}
function (){
try {
__id26_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id26_.align = "center";
__id26_.align_vert = "center";
__id26_.id = "Skywire";
__id26_.line_spacing = 18;
__id26_.text = "game over";
__id26_.tracking = -4;
try {
__id26_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package quiz_fla
Section 101
//quitgame_button_71 (quiz_fla.quitgame_button_71)
package quiz_fla {
import flash.display.*;
import flash.utils.*;
public dynamic class quitgame_button_71 extends MovieClip {
public var __id28_:SkywireRedFont;
public var __setPropDict:Dictionary;
public var __id27_:SkywireFont;
public function quitgame_button_71(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function (){
try {
__id28_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id28_.align = "center";
__id28_.align_vert = "center";
__id28_.id = "SkywireRed";
__id28_.line_spacing = 18;
__id28_.text = "quit";
__id28_.tracking = -4;
try {
__id28_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
stop();
}
function frame14(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
stop();
}
function frame19(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
}
function (){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.align = "center";
__id27_.align_vert = "center";
__id27_.id = "Skywire";
__id27_.line_spacing = 18;
__id27_.text = "quit";
__id27_.tracking = -4;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame8(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 1)) && ((int(__setPropDict[__id27_]) <= 9))))))){
__setPropDict[__id27_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 10)) && ((int(__setPropDict[__id28_]) <= 19))))))){
__setPropDict[__id28_] = currentFrame;
();
};
}
}
}//package quiz_fla
Section 102
//ready_9 (quiz_fla.ready_9)
package quiz_fla {
import flash.display.*;
public dynamic class ready_9 extends MovieClip {
public function ready_9(){
addFrameScript(0, frame1, 34, frame35);
}
function frame1(){
stop();
}
function frame35(){
NitromeGame.sound_manager.playSound("go");
}
}
}//package quiz_fla
Section 103
//right_speech_bubble_31 (quiz_fla.right_speech_bubble_31)
package quiz_fla {
import flash.display.*;
import flash.text.*;
public dynamic class right_speech_bubble_31 extends MovieClip {
public var speech_text:TextField;
}
}//package quiz_fla
Section 104
//submitscore_button_79 (quiz_fla.submitscore_button_79)
package quiz_fla {
import flash.display.*;
import flash.utils.*;
public dynamic class submitscore_button_79 extends MovieClip {
public var __setPropDict:Dictionary;
public var __id36_:SkywireFont;
public var __id37_:SkywireRedFont;
public function submitscore_button_79(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 9, frame10, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19);
}
function frame10(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
stop();
}
function frame14(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
stop();
}
function
(){
try {
__id36_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id36_.align = "center";
__id36_.align_vert = "center";
__id36_.id = "Skywire";
__id36_.line_spacing = 18;
__id36_.text = "submit score";
__id36_.tracking = -4;
try {
__id36_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame17(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
}
function (){
try {
__id37_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id37_.align = "center";
__id37_.align_vert = "center";
__id37_.id = "SkywireRed";
__id37_.line_spacing = 18;
__id37_.text = "submit score";
__id37_.tracking = -4;
try {
__id37_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame13(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 1)) && ((int(__setPropDict[__id36_]) <= 9))))))){
__setPropDict[__id36_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 10)) && ((int(__setPropDict[__id37_]) <= 19))))))){
__setPropDict[__id37_] = currentFrame;
();
};
}
}
}//package quiz_fla
Section 105
//tick_12 (quiz_fla.tick_12)
package quiz_fla {
import flash.display.*;
public dynamic class tick_12 extends MovieClip {
public function tick_12(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package quiz_fla
Section 106
//timer_anim_81 (quiz_fla.timer_anim_81)
package quiz_fla {
import flash.display.*;
public dynamic class timer_anim_81 extends MovieClip {
public function timer_anim_81(){
addFrameScript(0, frame1, 1, frame2, 20, frame21, 21, frame22);
}
function frame1(){
stop();
}
function frame22(){
play();
}
function frame21(){
stop();
}
function frame2(){
play();
}
}
}//package quiz_fla
Section 107
//welldone_8 (quiz_fla.welldone_8)
package quiz_fla {
import flash.display.*;
public dynamic class welldone_8 extends MovieClip {
public function welldone_8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package quiz_fla
Section 108
//ClearButton (ClearButton)
package {
import com.nitrome.highscore.*;
import flash.utils.*;
public dynamic class ClearButton extends ClearButton {
public var __setPropDict:Dictionary;
public var __id3_:SkywireFont;
public var __id4_:SkywireRedFont;
public function ClearButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function (){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.align = "center";
__id3_.align_vert = "center";
__id3_.id = "Skywire";
__id3_.line_spacing = 18;
__id3_.text = "clear";
__id3_.tracking = -4;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame16(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function (){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.align = "center";
__id4_.align_vert = "center";
__id4_.id = "SkywireRed";
__id4_.line_spacing = 18;
__id4_.text = "clear";
__id4_.tracking = -4;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 109
//GameMusic (GameMusic)
package {
import flash.media.*;
public dynamic class GameMusic extends Sound {
}
}//package
Section 110
//LetterButton (LetterButton)
package {
import com.nitrome.highscore.*;
import flash.utils.*;
public dynamic class LetterButton extends LetterButton {
public var __setPropDict:Dictionary;
public function LetterButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame10(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
updateLetterRed();
stop();
}
function frame14(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
updateLetter();
stop();
}
function frame19(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function (){
try {
_letter_red["componentInspectorSetting"] = true;
} catch(e:Error) {
};
_letter_red.align = "center";
_letter_red.align_vert = "center";
_letter_red.id = "SkywireRed";
_letter_red.line_spacing = 18;
_letter_red.text = "a";
_letter_red.tracking = -4;
try {
_letter_red["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame9(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
}
function (){
try {
_letter["componentInspectorSetting"] = true;
} catch(e:Error) {
};
_letter.align = "center";
_letter.align_vert = "center";
_letter.id = "Skywire";
_letter.line_spacing = 18;
_letter.text = "a";
_letter.tracking = -4;
try {
_letter["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame4(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[_letter_red] == undefined)) || (!((((int(__setPropDict[_letter_red]) >= 10)) && ((int(__setPropDict[_letter_red]) <= 20))))))){
__setPropDict[_letter_red] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[_letter] == undefined)) || (!((((int(__setPropDict[_letter]) >= 1)) && ((int(__setPropDict[_letter]) <= 9))))))){
__setPropDict[_letter] = currentFrame;
();
};
}
}
}//package
Section 111
//MenuMusic (MenuMusic)
package {
import flash.media.*;
public dynamic class MenuMusic extends Sound {
}
}//package
Section 112
//NextArrow (NextArrow)
package {
import com.nitrome.highscore.*;
import flash.utils.*;
public dynamic class NextArrow extends ArrowButton {
public var __id10_:SkywireRedFont;
public var __setPropDict:Dictionary;
public function NextArrow(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20);
}
function frame10(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
function (){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.align = "center";
__id10_.align_vert = "center";
__id10_.id = "SkywireRed";
__id10_.line_spacing = 18;
__id10_.text = "next";
__id10_.tracking = -4;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
next["componentInspectorSetting"] = true;
} catch(e:Error) {
};
next.align = "center";
next.align_vert = "center";
next.id = "Skywire";
next.line_spacing = 18;
next.text = "next";
next.tracking = -4;
try {
next["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame15(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[next] == undefined)) || (!((((int(__setPropDict[next]) >= 1)) && ((int(__setPropDict[next]) <= 10))))))){
__setPropDict[next] = currentFrame;
();
};
}
}
}//package
Section 113
//NitromeGame (NitromeGame)
package {
import flash.display.*;
import com.nitrome.game.*;
import com.nitrome.util.*;
import flash.net.*;
public class NitromeGame {
public static const NITROME:uint = 0;
private static const DOMAINS:Array = new Array(".nitrome.com/", ".miniclip.com/", ".candystand.com/", ".armorgames.com/");
public static const CANDYSTAND:uint = 2;
private static const NITROME_URL:Array = new Array("http://www.nitrome.com/", "http://cdn.nitrome.com/", "http://nitrome.com/", "http://www.nitrome.co.uk/", "http://www.nitrome.net/", "http://www.nitromegames.com/", "http://www.nitromegames.co.uk/", "http://www.nitrome-games.com/", "http://www.nitrome-games.co.uk/", "http://www.nitromeimages.com/");
public static const ARMOR:uint = 3;
private static const CANDYSTAND_URL:Array = new Array("http://www.candystand.com", "http://candystand.com/");
public static const MINICLIP:uint = 1;
public static const SUBMIT_URL:String = "http://www.nitrome.com/php/submit_score.php";
private static const ARMOR_URL:Array = new Array("http://www.armorgames.com/", "http://armorgames.com/");
private static const MINICLIP_URL:Array = new Array("http://www.miniclip.com/", "http://miniclip.com/");
public static const RETRIEVE_URL:String = "http://www.nitrome.com/php/retrieve_scores.php";
private static var _level_id:String;
private static var _leading_zero:Boolean = false;
private static var ar_1:Array = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "/", ":", ".", "_", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-");
private static var ar_2:Array = new Array("_", "7", "c", "2", "l", "r", "a", "h", "i", ".", "g", "m", "v", "1", "b", "q", "3", "z", "w", "o", "u", "t", "s", "0", "d", "f", "8", "n", "5", "k", ":", "j", "p", "/", "4", "6", "e", "9", "y", "x", "-");
private static var _total_levels:int;
private static var adj:Number = 1.75;
private static var _url:String;
public static var global:Object = new Object();
public static var timeline:MovieClip;
private static var _game_id:String;
private static var ff:Array = new Array();
private static var ar_key:String = "ctdngevfaqki8_lb:psoj90ux127hm/4w5y3rz.6-";
public static var transition:Transition;
private static var _time_based:Boolean = false;
public static var sound_manager:SoundManager;
private static var _selected_level:int = 1;
public static function setLastSavedScore(_arg1:int, _arg2:int=1):void{
var _local3:String;
var _local4:SharedObject;
_local3 = (("so_" + game_id) + String(_arg2));
_local4 = SharedObject.getLocal(_local3);
_local4.data.last_saved_score = _arg1;
_local4.flush();
_local4.close();
}
public static function lockAllLevels(_arg1:int=1):void{
var _local2:String;
var _local3:SharedObject;
var _local4:Array;
var _local5:int;
_local2 = (("so_" + game_id) + _arg1);
_local3 = SharedObject.getLocal(_local2);
_local4 = new Array(total_levels);
_local5 = 0;
while (_local5 < _local4.length) {
_local4[_local5] = 0;
_local5++;
};
_local4[0] = 1;
_local3.data.levels_unlocked = _local4;
_local3.flush();
_local3.close();
}
public static function get game_id():String{
return (_game_id);
}
public static function set leading_zero(_arg1:Boolean):void{
_leading_zero = _arg1;
}
public static function set sfx(_arg1:Boolean):void{
var _local2:String;
var _local3:SharedObject;
_local2 = ("so_" + game_id);
_local3 = SharedObject.getLocal(_local2);
_local3.data.sfxon = _arg1;
_local3.flush();
_local3.close();
}
public static function unlockAllLevels(_arg1:int=1):void{
var _local2:String;
var _local3:SharedObject;
var _local4:Array;
var _local5:int;
_local2 = (("so_" + game_id) + _arg1);
_local3 = SharedObject.getLocal(_local2);
_local4 = new Array(total_levels);
_local5 = 0;
while (_local5 < _local4.length) {
_local4[_local5] = 1;
_local5++;
};
_local3.data.levels_unlocked = _local4;
_local3.flush();
_local3.close();
}
private static function decryptString(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Number;
var _local5:int;
var _local6:*;
var _local7:int;
var _local8:int;
var _local9:Number;
var _local10:int;
var _local11:String;
adj = 1.75;
ff = convertKey(_arg1);
_local3 = "";
_local4 = 0;
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2.substr(_local5, 1);
_local8 = 0;
while (_local8 < ar_2.length) {
if (ar_2[_local8] == _local6){
_local7 = _local8;
break;
};
_local8++;
};
adj = applyFudgeFactor();
_local9 = (_local4 + adj);
_local10 = (_local7 - Math.round(_local9));
_local10 = checkRange(_local10);
_local4 = (_local9 + _local7);
_local11 = ar_1[_local10];
_local3 = (_local3 + _local11);
_local5++;
};
return (_local3);
}
public static function init(_arg1:MovieClip, _arg2:String, _arg3:String, _arg4:Number):void{
timeline = _arg1;
_url = _arg1.loaderInfo.url;
_level_id = _arg3;
_total_levels = _arg4;
_game_id = _arg2.toLowerCase();
}
public static function displayNextButton(_arg1:String):Boolean{
var _local2:Array;
var _local3:String;
_local2 = _arg1.split("|");
_local3 = _local2[10];
if (_local3 == "1"){
return (true);
};
if (_local3 == "0"){
return (false);
};
return (false);
}
public static function set time_based(_arg1:Boolean):void{
_time_based = _arg1;
}
public static function get sfx():Boolean{
var _local1:String;
var _local2:SharedObject;
var _local3:Boolean;
var _local4:*;
_local1 = ("so_" + game_id);
_local2 = SharedObject.getLocal(_local1);
_local3 = false;
for each (_local4 in _local2.data) {
_local3 = true;
break;
};
if (_local3){
if (_local2.data.sfxon != undefined){
return (_local2.data.sfxon);
};
return (true);
//unresolved jump
};
return (true);
}
public static function getScoreData(_arg1:int, _arg2:String):String{
var _local3:String;
var _local4:String;
_local3 = ((((String(_arg1) + "_") + game_id) + "_") + _arg2.toLowerCase());
trace(("encrypting: " + _local3));
_local4 = encryptString(ar_key, _local3);
trace(("encrypted: " + _local4));
trace(("decrypted: " + decryptString(ar_key, _local4)));
return (_local4);
}
public static function getTotalScore(_arg1:int=1):int{
var _local2:String;
var _local3:SharedObject;
var _local4:Boolean;
var _local5:*;
var _local6:int;
var _local7:int;
_local2 = (("so_" + game_id) + String(_arg1));
_local3 = SharedObject.getLocal(_local2);
_local4 = false;
for each (_local5 in _local3.data) {
_local4 = true;
break;
};
if (!_local4){
return (0);
};
if (_local3.data.level_scores == undefined){
return (0);
};
_local6 = 0;
_local7 = 0;
while (_local7 < _local3.data.level_scores.length) {
if (((!((_local3.data.level_scores[_local7] == undefined))) && (!(isNaN(_local3.data.level_scores[_local7]))))){
_local6 = (_local6 + _local3.data.level_scores[_local7]);
};
_local7++;
};
return (_local6);
}
private static function convertKey(_arg1:String):Array{
var _local2:Array;
var _local3:int;
var _local4:int;
var _local5:String;
var _local6:int;
var _local7:int;
_local2 = new Array();
_local2.push(_arg1.length);
_local3 = 0;
_local4 = 0;
while (_local4 < _arg1.length) {
_local5 = _arg1.substr(_local4, 1);
_local7 = 0;
while (_local7 < ar_1.length) {
if (ar_1[_local7] == _local5){
_local6 = _local7;
break;
};
_local7++;
};
_local2.push(_local6);
_local3 = (_local3 + _local6);
_local4++;
};
_local2.push(_local3);
return (_local2);
}
private static function checkRange(_arg1:int):int{
var _local2:int;
_arg1 = Math.round(_arg1);
_local2 = ar_1.length;
while (_arg1 >= _local2) {
_arg1 = (_arg1 - _local2);
};
while (_arg1 < 0) {
_arg1 = (_arg1 + _local2);
};
return (_arg1);
}
public static function getSwfPath():String{
var _local1:String;
var _local2:int;
_local1 = url;
_local2 = _local1.length;
while (_local2 >= 0) {
if (_local1.charAt(_local2) == "/"){
_local1 = _local1.slice(0, (_local2 + 1));
break;
};
_local2--;
};
return (_local1);
}
public static function get music():Boolean{
var _local1:String;
var _local2:SharedObject;
var _local3:Boolean;
var _local4:*;
_local1 = ("so_" + game_id);
_local2 = SharedObject.getLocal(_local1);
_local3 = false;
for each (_local4 in _local2.data) {
_local3 = true;
break;
};
if (_local3){
if (_local2.data.musicon != undefined){
return (_local2.data.musicon);
};
return (true);
//unresolved jump
};
return (true);
}
public static function get level_id():String{
return (_level_id);
}
public static function setLevelUnlocked(_arg1:int, _arg2:int=1):void{
var _local3:String;
var _local4:SharedObject;
var _local5:Boolean;
var _local6:*;
var _local7:Array;
var _local8:int;
_local3 = (("so_" + game_id) + _arg2);
_local4 = SharedObject.getLocal(_local3);
_local5 = false;
for each (_local6 in _local4.data) {
_local5 = true;
break;
};
_local7 = new Array(total_levels);
if (!_local5){
_local8 = 0;
while (_local8 < _local7.length) {
_local7[_local8] = 0;
_local8++;
};
_local7[0] = 1;
} else {
if (_local4.data.levels_unlocked == undefined){
_local8 = 0;
while (_local8 < _local7.length) {
_local7[_local8] = 0;
_local8++;
};
_local7[0] = 1;
} else {
_local7 = _local4.data.levels_unlocked;
};
};
_local7[(_arg1 - 1)] = 1;
_local4.data.levels_unlocked = _local7;
_local4.flush();
_local4.close();
}
public static function get total_levels():int{
return (_total_levels);
}
public static function isAtURL(... _args):Boolean{
var _local2:int;
var _local3:Array;
var _local4:Boolean;
var _local5:int;
var _local6:String;
var _local7:String;
if (_args.length == 0){
_args.push(NITROME);
};
_local2 = 0;
while (_local2 < _args.length) {
if (_args[_local2] == NITROME){
_local3 = NITROME_URL;
} else {
if (_args[_local2] == MINICLIP){
_local3 = MINICLIP_URL;
} else {
if (_args[_local2] == CANDYSTAND){
_local3 = CANDYSTAND_URL;
} else {
if (_args[_local2] == ARMOR){
_local3 = ARMOR_URL;
};
};
};
};
_local4 = false;
_local5 = 0;
while (_local5 < _local3.length) {
_local6 = _local3[_local5];
trace(("testing: " + _local6));
if (url.substr(0, _local6.length) == _local6){
_local4 = true;
break;
};
_local5++;
};
_local5 = 1;
while (_local5 <= 30) {
_local7 = DOMAINS[_args[_local2]];
trace(("tesing: " + _local7));
if (url.substr(_local5, _local7.length) == _local7){
_local4 = true;
};
_local5++;
};
return (_local4);
_local2++;
};
return (false);
}
private static function encryptString(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Number;
var _local5:int;
var _local6:String;
var _local7:int;
var _local8:int;
var _local9:Number;
var _local10:int;
var _local11:String;
adj = 1.75;
ff = convertKey(_arg1);
_local3 = "";
_local4 = 0;
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2.substr(_local5, 1);
_local8 = 0;
while (_local8 < ar_1.length) {
if (ar_1[_local8] == _local6){
_local7 = _local8;
break;
};
_local8++;
};
adj = applyFudgeFactor();
_local9 = (_local4 + adj);
_local10 = (Math.round(_local9) + _local7);
_local10 = checkRange(_local10);
_local4 = (_local9 + _local10);
_local11 = ar_2[_local10];
_local3 = (_local3 + _local11);
_local5++;
};
return (_local3);
}
public static function set selected_level(_arg1:int):void{
_selected_level = _arg1;
}
public static function get leading_zero():Boolean{
return (_leading_zero);
}
public static function set music(_arg1:Boolean):void{
var _local2:String;
var _local3:SharedObject;
_local2 = ("so_" + game_id);
_local3 = SharedObject.getLocal(_local2);
_local3.data.musicon = _arg1;
_local3.flush();
_local3.close();
}
public static function get time_based():Boolean{
return (_time_based);
}
public static function getLevelScore(_arg1:int, _arg2:int=1):int{
var _local3:String;
var _local4:SharedObject;
var _local5:Boolean;
var _local6:*;
_local3 = (("so_" + game_id) + String(_arg2));
_local4 = SharedObject.getLocal(_local3);
_local5 = false;
for each (_local6 in _local4.data) {
_local5 = true;
break;
};
if (!_local5){
return (0);
};
if (_local4.data.level_scores == undefined){
return (0);
};
if (_local4.data.level_scores[_arg1] == undefined){
return (0);
};
return (_local4.data.level_scores[_arg1]);
}
public static function getLevelUnlocked(_arg1:int, _arg2:int=1):Boolean{
var _local3:String;
var _local4:SharedObject;
var _local5:Boolean;
var _local6:*;
var _local7:Array;
var _local8:int;
_local3 = (("so_" + game_id) + _arg2);
_local4 = SharedObject.getLocal(_local3);
_local5 = false;
for each (_local6 in _local4.data) {
_local5 = true;
break;
};
_local7 = new Array(total_levels);
if (!_local5){
_local8 = 0;
while (_local8 < _local7.length) {
_local7[_local8] = 0;
_local8++;
};
_local7[0] = 1;
_local4.data.levels_unlocked = _local7;
_local4.flush();
_local4.close();
if (_arg1 == 1){
return (true);
};
return (false);
} else {
if (_local4.data.levels_unlocked == undefined){
_local8 = 0;
while (_local8 < _local7.length) {
_local7[_local8] = 0;
_local8++;
};
_local7[0] = 1;
_local4.data.levels_unlocked = _local7;
_local4.flush();
_local4.close();
if (_arg1 == 1){
return (true);
};
return (false);
} else {
if (_local4.data.levels_unlocked[(_arg1 - 1)] == 1){
return (true);
};
if (_local4.data.levels_unlocked[(_arg1 - 1)] == 0){
return (false);
};
};
};
return (false);
}
public static function displayPreviousButton(_arg1:String):Boolean{
var _local2:Array;
var _local3:String;
_local2 = _arg1.split("|");
_local3 = _local2[11];
if (_local3 == "1"){
return (true);
};
if (_local3 == "0"){
return (false);
};
return (false);
}
public static function get selected_level():int{
return (_selected_level);
}
public static function setLevelScore(_arg1:int, _arg2:int, _arg3:int=1):void{
var _local4:String;
var _local5:SharedObject;
var _local6:Boolean;
var _local7:*;
_local4 = (("so_" + game_id) + _arg3);
_local5 = SharedObject.getLocal(_local4);
_local6 = false;
for each (_local7 in _local5.data) {
_local6 = true;
break;
};
if (!_local6){
_local5.data.level_scores = new Array();
_local5.data.level_scores[_arg2] = _arg1;
} else {
if (_local5.data.level_scores == undefined){
_local5.data.level_scores = new Array();
_local5.data.level_scores[_arg2] = _arg1;
} else {
_local5.data.level_scores[_arg2] = _arg1;
};
};
_local5.flush();
_local5.close();
}
private static function applyFudgeFactor():Number{
var _local1:Number;
_local1 = Number(ff.shift());
_local1 = (_local1 + adj);
ff.push(_local1);
return (_local1);
}
public static function getHighScoreLine(_arg1:String, _arg2:int):Object{
var _local3:Array;
var _local4:String;
var _local5:Array;
var _local6:Object;
_local3 = _arg1.split("|");
_local4 = _local3[(_arg2 - 1)];
if ((((((((_local4 == "0")) || ((_local4 == "1")))) || ((_local4 == null)))) || ((_local4 == "")))){
return (null);
};
_local5 = _local4.split("_");
if ((((_local5[1] == "n")) || ((_local5[2] == "n")))){
return (null);
};
_local6 = new Object();
_local6.username = _local5[2];
_local6.score = _local5[1];
_local6.rank = _local5[0];
return (_local6);
}
public static function get url():String{
return (_url);
}
public static function getLastSavedScore(_arg1:int=1):int{
var _local2:String;
var _local3:SharedObject;
var _local4:Boolean;
var _local5:*;
_local2 = (("so_" + game_id) + String(_arg1));
_local3 = SharedObject.getLocal(_local2);
_local4 = false;
for each (_local5 in _local3.data) {
_local4 = true;
break;
};
if (!_local4){
return (0);
};
if (_local3.data.last_saved_score == undefined){
return (0);
};
return (_local3.data.last_saved_score);
}
public static function getLevelName(_arg1:Number, _arg2:String=".xml"):String{
var _local3:MD5;
var _local4:String;
var _local5:String;
_local3 = new MD5();
_local4 = "";
if (leading_zero){
if (_arg1 < 10){
_local4 = "0";
};
};
_local5 = _local3.hash(String(((level_id + _local4) + _arg1)));
return ((_local5 + _arg2));
}
}
}//package
Section 114
//PrevArrow (PrevArrow)
package {
import com.nitrome.highscore.*;
import flash.utils.*;
public dynamic class PrevArrow extends ArrowButton {
public var __setPropDict:Dictionary;
public var __id24_:SkywireFont;
public var __id25_:SkywireRedFont;
public function PrevArrow(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 1)) && ((int(__setPropDict[__id24_]) <= 10))))))){
__setPropDict[__id24_] = currentFrame;
();
};
}
function (){
try {
__id24_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id24_.align = "center";
__id24_.align_vert = "center";
__id24_.id = "Skywire";
__id24_.line_spacing = 18;
__id24_.text = "prev";
__id24_.tracking = -4;
try {
__id24_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.align = "center";
__id25_.align_vert = "center";
__id25_.id = "SkywireRed";
__id25_.line_spacing = 18;
__id25_.text = "prev";
__id25_.tracking = -4;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame11(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 11)) && ((int(__setPropDict[__id25_]) <= 20))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
}
}//package
Section 115
//ScoreLine (ScoreLine)
package {
import com.nitrome.highscore.*;
public dynamic class ScoreLine extends HighScoreLine {
}
}//package
Section 116
//ScoreSubmitPanel (ScoreSubmitPanel)
package {
import com.nitrome.highscore.*;
public dynamic class ScoreSubmitPanel extends ScoreSubmitPanel {
public function ScoreSubmitPanel(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package
Section 117
//SkywireFont (SkywireFont)
package {
import com.nitrome.game.*;
public dynamic class SkywireFont extends SkywireFont {
}
}//package
Section 118
//SkywireGreenFont (SkywireGreenFont)
package {
import com.nitrome.game.*;
public dynamic class SkywireGreenFont extends SkywireGreenFont {
}
}//package
Section 119
//SkywireRedFont (SkywireRedFont)
package {
import com.nitrome.game.*;
public dynamic class SkywireRedFont extends SkywireRedFont {
}
}//package
Section 120
//SubmitButton (SubmitButton)
package {
import com.nitrome.highscore.*;
import flash.utils.*;
public dynamic class SubmitButton extends SubmitButton {
public var __id32_:SkywireRedFont;
public var __setPropDict:Dictionary;
public var __id31_:SkywireFont;
public function SubmitButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function (){
try {
__id31_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id31_.align = "center";
__id31_.align_vert = "center";
__id31_.id = "Skywire";
__id31_.line_spacing = 18;
__id31_.text = "submit";
__id31_.tracking = -4;
try {
__id31_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame6(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function (){
try {
__id32_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id32_.align = "center";
__id32_.align_vert = "center";
__id32_.id = "SkywireRed";
__id32_.line_spacing = 18;
__id32_.text = "submit";
__id32_.tracking = -4;
try {
__id32_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame2(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id32_] == undefined)) || (!((((int(__setPropDict[__id32_]) >= 11)) && ((int(__setPropDict[__id32_]) <= 20))))))){
__setPropDict[__id32_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 1)) && ((int(__setPropDict[__id31_]) <= 10))))))){
__setPropDict[__id31_] = currentFrame;
();
};
}
}
}//package
Section 121
//Text_Skywire_0 (Text_Skywire_0)
package {
import flash.display.*;
public dynamic class Text_Skywire_0 extends Sprite {
}
}//package
Section 122
//Text_Skywire_1 (Text_Skywire_1)
package {
import flash.display.*;
public dynamic class Text_Skywire_1 extends Sprite {
}
}//package
Section 123
//Text_Skywire_2 (Text_Skywire_2)
package {
import flash.display.*;
public dynamic class Text_Skywire_2 extends Sprite {
}
}//package
Section 124
//Text_Skywire_3 (Text_Skywire_3)
package {
import flash.display.*;
public dynamic class Text_Skywire_3 extends Sprite {
}
}//package
Section 125
//Text_Skywire_4 (Text_Skywire_4)
package {
import flash.display.*;
public dynamic class Text_Skywire_4 extends Sprite {
}
}//package
Section 126
//Text_Skywire_5 (Text_Skywire_5)
package {
import flash.display.*;
public dynamic class Text_Skywire_5 extends Sprite {
}
}//package
Section 127
//Text_Skywire_6 (Text_Skywire_6)
package {
import flash.display.*;
public dynamic class Text_Skywire_6 extends Sprite {
}
}//package
Section 128
//Text_Skywire_7 (Text_Skywire_7)
package {
import flash.display.*;
public dynamic class Text_Skywire_7 extends Sprite {
}
}//package
Section 129
//Text_Skywire_8 (Text_Skywire_8)
package {
import flash.display.*;
public dynamic class Text_Skywire_8 extends Sprite {
}
}//package
Section 130
//Text_Skywire_9 (Text_Skywire_9)
package {
import flash.display.*;
public dynamic class Text_Skywire_9 extends Sprite {
}
}//package
Section 131
//Text_Skywire_A (Text_Skywire_A)
package {
import flash.display.*;
public dynamic class Text_Skywire_A extends Sprite {
}
}//package
Section 132
//Text_Skywire_B (Text_Skywire_B)
package {
import flash.display.*;
public dynamic class Text_Skywire_B extends Sprite {
}
}//package
Section 133
//Text_Skywire_BACKSLASH (Text_Skywire_BACKSLASH)
package {
import flash.display.*;
public dynamic class Text_Skywire_BACKSLASH extends Sprite {
}
}//package
Section 134
//Text_Skywire_C (Text_Skywire_C)
package {
import flash.display.*;
public dynamic class Text_Skywire_C extends Sprite {
}
}//package
Section 135
//Text_Skywire_COMMA (Text_Skywire_COMMA)
package {
import flash.display.*;
public dynamic class Text_Skywire_COMMA extends Sprite {
}
}//package
Section 136
//Text_Skywire_D (Text_Skywire_D)
package {
import flash.display.*;
public dynamic class Text_Skywire_D extends Sprite {
}
}//package
Section 137
//Text_Skywire_E (Text_Skywire_E)
package {
import flash.display.*;
public dynamic class Text_Skywire_E extends Sprite {
}
}//package
Section 138
//Text_Skywire_EQUALS (Text_Skywire_EQUALS)
package {
import flash.display.*;
public dynamic class Text_Skywire_EQUALS extends Sprite {
}
}//package
Section 139
//Text_Skywire_EXCLAMATION (Text_Skywire_EXCLAMATION)
package {
import flash.display.*;
public dynamic class Text_Skywire_EXCLAMATION extends Sprite {
}
}//package
Section 140
//Text_Skywire_F (Text_Skywire_F)
package {
import flash.display.*;
public dynamic class Text_Skywire_F extends Sprite {
}
}//package
Section 141
//Text_Skywire_FORWARDSLASH (Text_Skywire_FORWARDSLASH)
package {
import flash.display.*;
public dynamic class Text_Skywire_FORWARDSLASH extends Sprite {
}
}//package
Section 142
//Text_Skywire_G (Text_Skywire_G)
package {
import flash.display.*;
public dynamic class Text_Skywire_G extends Sprite {
}
}//package
Section 143
//Text_Skywire_H (Text_Skywire_H)
package {
import flash.display.*;
public dynamic class Text_Skywire_H extends Sprite {
}
}//package
Section 144
//Text_Skywire_I (Text_Skywire_I)
package {
import flash.display.*;
public dynamic class Text_Skywire_I extends Sprite {
}
}//package
Section 145
//Text_Skywire_J (Text_Skywire_J)
package {
import flash.display.*;
public dynamic class Text_Skywire_J extends Sprite {
}
}//package
Section 146
//Text_Skywire_K (Text_Skywire_K)
package {
import flash.display.*;
public dynamic class Text_Skywire_K extends Sprite {
}
}//package
Section 147
//Text_Skywire_L (Text_Skywire_L)
package {
import flash.display.*;
public dynamic class Text_Skywire_L extends Sprite {
}
}//package
Section 148
//Text_Skywire_M (Text_Skywire_M)
package {
import flash.display.*;
public dynamic class Text_Skywire_M extends Sprite {
}
}//package
Section 149
//Text_Skywire_N (Text_Skywire_N)
package {
import flash.display.*;
public dynamic class Text_Skywire_N extends Sprite {
}
}//package
Section 150
//Text_Skywire_O (Text_Skywire_O)
package {
import flash.display.*;
public dynamic class Text_Skywire_O extends Sprite {
}
}//package
Section 151
//Text_Skywire_P (Text_Skywire_P)
package {
import flash.display.*;
public dynamic class Text_Skywire_P extends Sprite {
}
}//package
Section 152
//Text_Skywire_Q (Text_Skywire_Q)
package {
import flash.display.*;
public dynamic class Text_Skywire_Q extends Sprite {
}
}//package
Section 153
//Text_Skywire_QUESTION (Text_Skywire_QUESTION)
package {
import flash.display.*;
public dynamic class Text_Skywire_QUESTION extends Sprite {
}
}//package
Section 154
//Text_Skywire_R (Text_Skywire_R)
package {
import flash.display.*;
public dynamic class Text_Skywire_R extends Sprite {
}
}//package
Section 155
//Text_Skywire_S (Text_Skywire_S)
package {
import flash.display.*;
public dynamic class Text_Skywire_S extends Sprite {
}
}//package
Section 156
//Text_Skywire_SPACE (Text_Skywire_SPACE)
package {
import flash.display.*;
public dynamic class Text_Skywire_SPACE extends Sprite {
}
}//package
Section 157
//Text_Skywire_STOP (Text_Skywire_STOP)
package {
import flash.display.*;
public dynamic class Text_Skywire_STOP extends Sprite {
}
}//package
Section 158
//Text_Skywire_T (Text_Skywire_T)
package {
import flash.display.*;
public dynamic class Text_Skywire_T extends Sprite {
}
}//package
Section 159
//Text_Skywire_U (Text_Skywire_U)
package {
import flash.display.*;
public dynamic class Text_Skywire_U extends Sprite {
}
}//package
Section 160
//Text_Skywire_V (Text_Skywire_V)
package {
import flash.display.*;
public dynamic class Text_Skywire_V extends Sprite {
}
}//package
Section 161
//Text_Skywire_W (Text_Skywire_W)
package {
import flash.display.*;
public dynamic class Text_Skywire_W extends Sprite {
}
}//package
Section 162
//Text_Skywire_X (Text_Skywire_X)
package {
import flash.display.*;
public dynamic class Text_Skywire_X extends Sprite {
}
}//package
Section 163
//Text_Skywire_Y (Text_Skywire_Y)
package {
import flash.display.*;
public dynamic class Text_Skywire_Y extends Sprite {
}
}//package
Section 164
//Text_Skywire_Z (Text_Skywire_Z)
package {
import flash.display.*;
public dynamic class Text_Skywire_Z extends Sprite {
}
}//package
Section 165
//Text_SkywireGreen_0 (Text_SkywireGreen_0)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_0 extends Sprite {
}
}//package
Section 166
//Text_SkywireGreen_1 (Text_SkywireGreen_1)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_1 extends Sprite {
}
}//package
Section 167
//Text_SkywireGreen_2 (Text_SkywireGreen_2)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_2 extends Sprite {
}
}//package
Section 168
//Text_SkywireGreen_3 (Text_SkywireGreen_3)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_3 extends Sprite {
}
}//package
Section 169
//Text_SkywireGreen_4 (Text_SkywireGreen_4)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_4 extends Sprite {
}
}//package
Section 170
//Text_SkywireGreen_5 (Text_SkywireGreen_5)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_5 extends Sprite {
}
}//package
Section 171
//Text_SkywireGreen_6 (Text_SkywireGreen_6)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_6 extends Sprite {
}
}//package
Section 172
//Text_SkywireGreen_7 (Text_SkywireGreen_7)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_7 extends Sprite {
}
}//package
Section 173
//Text_SkywireGreen_8 (Text_SkywireGreen_8)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_8 extends Sprite {
}
}//package
Section 174
//Text_SkywireGreen_9 (Text_SkywireGreen_9)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_9 extends Sprite {
}
}//package
Section 175
//Text_SkywireGreen_A (Text_SkywireGreen_A)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_A extends Sprite {
}
}//package
Section 176
//Text_SkywireGreen_B (Text_SkywireGreen_B)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_B extends Sprite {
}
}//package
Section 177
//Text_SkywireGreen_BACKSLASH (Text_SkywireGreen_BACKSLASH)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_BACKSLASH extends Sprite {
}
}//package
Section 178
//Text_SkywireGreen_C (Text_SkywireGreen_C)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_C extends Sprite {
}
}//package
Section 179
//Text_SkywireGreen_COMMA (Text_SkywireGreen_COMMA)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_COMMA extends Sprite {
}
}//package
Section 180
//Text_SkywireGreen_D (Text_SkywireGreen_D)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_D extends Sprite {
}
}//package
Section 181
//Text_SkywireGreen_E (Text_SkywireGreen_E)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_E extends Sprite {
}
}//package
Section 182
//Text_SkywireGreen_EQUALS (Text_SkywireGreen_EQUALS)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_EQUALS extends Sprite {
}
}//package
Section 183
//Text_SkywireGreen_EXCLAMATION (Text_SkywireGreen_EXCLAMATION)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_EXCLAMATION extends Sprite {
}
}//package
Section 184
//Text_SkywireGreen_F (Text_SkywireGreen_F)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_F extends Sprite {
}
}//package
Section 185
//Text_SkywireGreen_FORWARDSLASH (Text_SkywireGreen_FORWARDSLASH)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_FORWARDSLASH extends Sprite {
}
}//package
Section 186
//Text_SkywireGreen_G (Text_SkywireGreen_G)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_G extends Sprite {
}
}//package
Section 187
//Text_SkywireGreen_H (Text_SkywireGreen_H)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_H extends Sprite {
}
}//package
Section 188
//Text_SkywireGreen_I (Text_SkywireGreen_I)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_I extends Sprite {
}
}//package
Section 189
//Text_SkywireGreen_J (Text_SkywireGreen_J)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_J extends Sprite {
}
}//package
Section 190
//Text_SkywireGreen_K (Text_SkywireGreen_K)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_K extends Sprite {
}
}//package
Section 191
//Text_SkywireGreen_L (Text_SkywireGreen_L)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_L extends Sprite {
}
}//package
Section 192
//Text_SkywireGreen_M (Text_SkywireGreen_M)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_M extends Sprite {
}
}//package
Section 193
//Text_SkywireGreen_N (Text_SkywireGreen_N)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_N extends Sprite {
}
}//package
Section 194
//Text_SkywireGreen_O (Text_SkywireGreen_O)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_O extends Sprite {
}
}//package
Section 195
//Text_SkywireGreen_P (Text_SkywireGreen_P)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_P extends Sprite {
}
}//package
Section 196
//Text_SkywireGreen_Q (Text_SkywireGreen_Q)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_Q extends Sprite {
}
}//package
Section 197
//Text_SkywireGreen_QUESTION (Text_SkywireGreen_QUESTION)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_QUESTION extends Sprite {
}
}//package
Section 198
//Text_SkywireGreen_R (Text_SkywireGreen_R)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_R extends Sprite {
}
}//package
Section 199
//Text_SkywireGreen_S (Text_SkywireGreen_S)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_S extends Sprite {
}
}//package
Section 200
//Text_SkywireGreen_SPACE (Text_SkywireGreen_SPACE)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_SPACE extends Sprite {
}
}//package
Section 201
//Text_SkywireGreen_STOP (Text_SkywireGreen_STOP)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_STOP extends Sprite {
}
}//package
Section 202
//Text_SkywireGreen_T (Text_SkywireGreen_T)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_T extends Sprite {
}
}//package
Section 203
//Text_SkywireGreen_U (Text_SkywireGreen_U)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_U extends Sprite {
}
}//package
Section 204
//Text_SkywireGreen_V (Text_SkywireGreen_V)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_V extends Sprite {
}
}//package
Section 205
//Text_SkywireGreen_W (Text_SkywireGreen_W)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_W extends Sprite {
}
}//package
Section 206
//Text_SkywireGreen_X (Text_SkywireGreen_X)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_X extends Sprite {
}
}//package
Section 207
//Text_SkywireGreen_Y (Text_SkywireGreen_Y)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_Y extends Sprite {
}
}//package
Section 208
//Text_SkywireGreen_Z (Text_SkywireGreen_Z)
package {
import flash.display.*;
public dynamic class Text_SkywireGreen_Z extends Sprite {
}
}//package
Section 209
//Text_SkywireRed_0 (Text_SkywireRed_0)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_0 extends Sprite {
}
}//package
Section 210
//Text_SkywireRed_1 (Text_SkywireRed_1)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_1 extends Sprite {
}
}//package
Section 211
//Text_SkywireRed_2 (Text_SkywireRed_2)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_2 extends Sprite {
}
}//package
Section 212
//Text_SkywireRed_3 (Text_SkywireRed_3)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_3 extends Sprite {
}
}//package
Section 213
//Text_SkywireRed_4 (Text_SkywireRed_4)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_4 extends Sprite {
}
}//package
Section 214
//Text_SkywireRed_5 (Text_SkywireRed_5)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_5 extends Sprite {
}
}//package
Section 215
//Text_SkywireRed_6 (Text_SkywireRed_6)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_6 extends Sprite {
}
}//package
Section 216
//Text_SkywireRed_7 (Text_SkywireRed_7)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_7 extends Sprite {
}
}//package
Section 217
//Text_SkywireRed_8 (Text_SkywireRed_8)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_8 extends Sprite {
}
}//package
Section 218
//Text_SkywireRed_9 (Text_SkywireRed_9)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_9 extends Sprite {
}
}//package
Section 219
//Text_SkywireRed_A (Text_SkywireRed_A)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_A extends Sprite {
}
}//package
Section 220
//Text_SkywireRed_B (Text_SkywireRed_B)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_B extends Sprite {
}
}//package
Section 221
//Text_SkywireRed_BACKSLASH (Text_SkywireRed_BACKSLASH)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_BACKSLASH extends Sprite {
}
}//package
Section 222
//Text_SkywireRed_C (Text_SkywireRed_C)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_C extends Sprite {
}
}//package
Section 223
//Text_SkywireRed_COMMA (Text_SkywireRed_COMMA)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_COMMA extends Sprite {
}
}//package
Section 224
//Text_SkywireRed_D (Text_SkywireRed_D)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_D extends Sprite {
}
}//package
Section 225
//Text_SkywireRed_E (Text_SkywireRed_E)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_E extends Sprite {
}
}//package
Section 226
//Text_SkywireRed_EQUALS (Text_SkywireRed_EQUALS)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_EQUALS extends Sprite {
}
}//package
Section 227
//Text_SkywireRed_EXCLAMATION (Text_SkywireRed_EXCLAMATION)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_EXCLAMATION extends Sprite {
}
}//package
Section 228
//Text_SkywireRed_F (Text_SkywireRed_F)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_F extends Sprite {
}
}//package
Section 229
//Text_SkywireRed_FORWARDSLASH (Text_SkywireRed_FORWARDSLASH)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_FORWARDSLASH extends Sprite {
}
}//package
Section 230
//Text_SkywireRed_G (Text_SkywireRed_G)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_G extends Sprite {
}
}//package
Section 231
//Text_SkywireRed_H (Text_SkywireRed_H)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_H extends Sprite {
}
}//package
Section 232
//Text_SkywireRed_I (Text_SkywireRed_I)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_I extends Sprite {
}
}//package
Section 233
//Text_SkywireRed_J (Text_SkywireRed_J)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_J extends Sprite {
}
}//package
Section 234
//Text_SkywireRed_K (Text_SkywireRed_K)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_K extends Sprite {
}
}//package
Section 235
//Text_SkywireRed_L (Text_SkywireRed_L)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_L extends Sprite {
}
}//package
Section 236
//Text_SkywireRed_M (Text_SkywireRed_M)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_M extends Sprite {
}
}//package
Section 237
//Text_SkywireRed_N (Text_SkywireRed_N)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_N extends Sprite {
}
}//package
Section 238
//Text_SkywireRed_O (Text_SkywireRed_O)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_O extends Sprite {
}
}//package
Section 239
//Text_SkywireRed_P (Text_SkywireRed_P)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_P extends Sprite {
}
}//package
Section 240
//Text_SkywireRed_Q (Text_SkywireRed_Q)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_Q extends Sprite {
}
}//package
Section 241
//Text_SkywireRed_QUESTION (Text_SkywireRed_QUESTION)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_QUESTION extends Sprite {
}
}//package
Section 242
//Text_SkywireRed_R (Text_SkywireRed_R)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_R extends Sprite {
}
}//package
Section 243
//Text_SkywireRed_S (Text_SkywireRed_S)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_S extends Sprite {
}
}//package
Section 244
//Text_SkywireRed_SPACE (Text_SkywireRed_SPACE)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_SPACE extends Sprite {
}
}//package
Section 245
//Text_SkywireRed_STOP (Text_SkywireRed_STOP)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_STOP extends Sprite {
}
}//package
Section 246
//Text_SkywireRed_T (Text_SkywireRed_T)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_T extends Sprite {
}
}//package
Section 247
//Text_SkywireRed_U (Text_SkywireRed_U)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_U extends Sprite {
}
}//package
Section 248
//Text_SkywireRed_V (Text_SkywireRed_V)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_V extends Sprite {
}
}//package
Section 249
//Text_SkywireRed_W (Text_SkywireRed_W)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_W extends Sprite {
}
}//package
Section 250
//Text_SkywireRed_X (Text_SkywireRed_X)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_X extends Sprite {
}
}//package
Section 251
//Text_SkywireRed_Y (Text_SkywireRed_Y)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_Y extends Sprite {
}
}//package
Section 252
//Text_SkywireRed_Z (Text_SkywireRed_Z)
package {
import flash.display.*;
public dynamic class Text_SkywireRed_Z extends Sprite {
}
}//package