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

swfchan turned sixteen years old today! (5may2024)

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

1311531368193.swf

This is the info page for
Flash #97053

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


Text
Question:

Probability:

PCs:

NPCs:

Threads:

Very Likely

Chaos:

10

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

Page 1

Page 1

Page 1

Roll a d

100

100

Result:

For

Ask

End Scene

Reset

?

Roll

Yes/No

Detail

New NPCs:

(optional)

New Threads:

Done

?

No.

Yes.

No

Exceptionally.

Yes

Exceptionally.

Yes

But it's all surreal and postmodern

Random Event!

Sorry, there's some sort of error.  You might
try hitting Reset.  Also, if you're using Linux,
make sure you're using Flash Player.

Sorry, there's some sort of error.
You might try hitting Reset.
Also, If you're using Linux, make sure you
download the official Flash Player.

Yes.

No

Exceptionally.

Yes

Exceptionally.

Yes

But it's all surreal and postmodern

First Scene Setup

Player Characters:

Continue

Skip

Starting NPCs:

Starting Threads:

Scene Description:

(optional)

New Scene

Cancel

Less Chaotic

Things are now:

More Chaotic

Scene Altered!

New Scene Description:

Something is unexpectly Positive.

<p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">If you haven’t already <font color="#0000cc"><a href="http://rpg.drivethrustuff.com/product_info.php?products_id=20798&it=1"><b>picked up the book</b></a></font>, you probably should. &nbsp;This applet diverges from the Mythic <sbr />system slightly, but the usage is similar enough to make the book an invaluable resource.</font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">When you first start, you’’ll be asked to enter the names of your Player Characters, a few NPCs, Threads, <sbr />and an opening scene description. &nbsp;A “Thread” in this system is just a character objective or plotline, like <sbr />“Investigate the mysterious disappearances” &nbsp;or “Stop the Evil Empire”. &nbsp;“Scenes” are just individual story <sbr />sequences at a particular time or place, like scenes in a movie &nbsp;After the initial setup, you may be asked <sbr />to alter the first scene, or you may be presented with a Random Event.</font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">Players should interpret Random Events in the way that makes the most logical sense for their story. &nbsp;For <sbr />example, “Something Negative happens to Mark involving the Beginning of Portals” could refer to mystical <sbr />doorways to the Underworld, or it could mean someone has just driven a truck through a wall. &nbsp;If an <sbr />Event makes no sense at all, just ignore it.</font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">Players learn new things about the game world by asking yes/no questions like “Are there any monsters <sbr />ahead?” or &nbsp;“Does the mechanic sell robots?”, and setting the expected probability of a “Yes” answer. &nbsp;<sbr />Questions also sometimes generate Random Events.</font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">Whenever you encounter new NPCs or Threads, be sure to enter them in the main lists, and erase them <sbr />when they become irrelevant.</font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">When the players decide that it’s time to move to a new scene, just click the “End Scene” button.</font></p><p align="left"></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">Lastly, don’t worry about loosing your lists or log data when you close</font></p><p align="left"><font face="Tahoma" size="14" color="#000000" letterSpacing="0.000000" kerning="0">the applet-- Flash should save everything automatically.</font></p>

How to Play

<p align="left"><font face="Verdana" size="16" color="#000000" letterSpacing="0.000000" kerning="0">This is a Flash implementation of the <font color="#0033cc"><a href="http://www.mythic.wordpr.com/page14/page9/page9.html">Mythic GM Emulator</a></font> <sbr />system, as outlined in the book of the same name. <sbr />Essentially, it’s a way to play tabletop RPGs without the need <sbr />for a GM or any preperation aside from character sheets.</font></p><p align="left"></p><p align="left"><font face="Verdana" size="16" color="#000000" letterSpacing="0.000000" kerning="0">It works by relying on the expectations and imaginations of <sbr />players , along with a lot of randomization. &nbsp;It can be used <sbr />with any RPG system, or even by itself as a tool to generate <sbr />stories.</font></p>

<p align="left"></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="0">This Flash applet was designed by <font color="#0000cc"><a href="mailto:albius0@yahoo.com">Jeremy Hamilton</a></font>. &nbsp;I have no affiliation whatsoever <sbr />with Word Mill Games. </font></p><p align="left"></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="0">I’m actually releasing this thing into the public domain, with no rights reserved, so <sbr />consider it yours to do anything you’d like with. &nbsp;You can find the original .fla file <font color="#0000cc"><a href="/GMEmulator.fla">here</a></font>. </font></p><p align="left"></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="0">If it’s the future, and nobody uses Flash anymore, why not port this to a more modern <sbr />platform? &nbsp;&nbsp;Just think of the easter eggs you could add!</font></p><p align="left"></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="0">Also, if you’d like to encourage more of this sort of project, </font></p><p align="left"><font face="Verdana" size="15" color="#000000" letterSpacing="0.000000" kerning="0">why not <font color="#0000cc"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=albius0%40yahoo%2ecom&lc=US&item_name=Jeremy%20Hamilton&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted">donate</a></font>?</font></p><p align="left"></p>

About

Версия перевода 0.001a
Специально для iichan.ru

ActionScript [AS3]

Section 1
//BaseButton (fl.controls.BaseButton) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import flash.utils.*; import fl.events.*; public class BaseButton extends UIComponent { protected var _selected:Boolean;// = false private var unlockedMouseState:String; protected var pressTimer:Timer; protected var mouseState:String; protected var background:DisplayObject; private var _mouseStateLocked:Boolean;// = false protected var _autoRepeat:Boolean;// = false private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35}; public function BaseButton(){ _selected = false; _autoRepeat = false; _mouseStateLocked = false; super(); buttonMode = true; mouseChildren = false; useHandCursor = false; setupMouseEvents(); setMouseState("up"); pressTimer = new Timer(1, 0); pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true); } protected function endPress():void{ pressTimer.reset(); } public function set mouseStateLocked(_arg1:Boolean):void{ _mouseStateLocked = _arg1; if (_arg1 == false){ setMouseState(unlockedMouseState); } else { unlockedMouseState = mouseState; }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseEnabled = _arg1; } public function get selected():Boolean{ return (_selected); } protected function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_DOWN){ setMouseState("down"); startPress(); } else { if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){ setMouseState("over"); endPress(); } else { if (_arg1.type == MouseEvent.ROLL_OUT){ setMouseState("up"); endPress(); }; }; }; } public function setMouseState(_arg1:String):void{ if (_mouseStateLocked){ unlockedMouseState = _arg1; return; }; if (mouseState == _arg1){ return; }; mouseState = _arg1; invalidate(InvalidationType.STATE); } protected function startPress():void{ if (_autoRepeat){ pressTimer.delay = Number(getStyleValue("repeatDelay")); pressTimer.start(); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } protected function buttonDown(_arg1:TimerEvent):void{ if (!_autoRepeat){ endPress(); return; }; if (pressTimer.currentCount == 1){ pressTimer.delay = Number(getStyleValue("repeatInterval")); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } public function set selected(_arg1:Boolean):void{ if (_selected == _arg1){ return; }; _selected = _arg1; invalidate(InvalidationType.STATE); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function setupMouseEvents():void{ addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true); } protected function drawLayout():void{ background.width = width; background.height = height; } protected function drawBackground():void{ var _local1:String; var _local2:DisplayObject; _local1 = (enabled) ? mouseState : "disabled"; if (selected){ _local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1)); }; _local1 = (_local1 + "Skin"); _local2 = background; background = getDisplayObjectInstance(getStyleValue(_local1)); addChildAt(background, 0); if (((!((_local2 == null))) && (!((_local2 == background))))){ removeChild(_local2); }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 2
//Button (fl.controls.Button) package fl.controls { import flash.display.*; import fl.core.*; import fl.managers.*; public class Button extends LabelButton implements IFocusManagerComponent { protected var emphasizedBorder:DisplayObject; protected var _emphasized:Boolean;// = false private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2}; public static var createAccessibilityImplementation:Function; public function Button(){ _emphasized = false; super(); } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; var _local3:*; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("emphasizedPadding")); if ((((_local2 < 0)) || (!(_emphasized)))){ _local2 = 0; }; _local3 = getStyleValue("focusRectPadding"); _local3 = ((_local3)==null) ? 2 : _local3; _local3 = (_local3 + _local2); uiFocusRect.x = -(_local3); uiFocusRect.y = -(_local3); uiFocusRect.width = (width + (_local3 * 2)); uiFocusRect.height = (height + (_local3 * 2)); }; } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; invalidate(InvalidationType.STYLES); } override protected function draw():void{ if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){ drawEmphasized(); }; super.draw(); if (emphasizedBorder != null){ setChildIndex(emphasizedBorder, (numChildren - 1)); }; } public function get emphasized():Boolean{ return (_emphasized); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } protected function drawEmphasized():void{ var _local1:Object; var _local2:Number; if (emphasizedBorder != null){ removeChild(emphasizedBorder); }; emphasizedBorder = null; if (!_emphasized){ return; }; _local1 = getStyleValue("emphasizedSkin"); if (_local1 != null){ emphasizedBorder = getDisplayObjectInstance(_local1); }; if (emphasizedBorder != null){ addChildAt(emphasizedBorder, 0); _local2 = Number(getStyleValue("emphasizedPadding")); emphasizedBorder.x = (emphasizedBorder.y = -(_local2)); emphasizedBorder.width = (width + (_local2 * 2)); emphasizedBorder.height = (height + (_local2 * 2)); }; } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles)); } } }//package fl.controls
Section 3
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement) package fl.controls { public class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package fl.controls
Section 4
//LabelButton (fl.controls.LabelButton) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class LabelButton extends BaseButton implements IFocusManagerComponent { protected var _labelPlacement:String;// = "right" protected var _toggle:Boolean;// = false protected var icon:DisplayObject; protected var oldMouseState:String; protected var mode:String;// = "center" public var textField:TextField; protected var _label:String;// = "Label" private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function LabelButton(){ _labelPlacement = ButtonLabelPlacement.RIGHT; _toggle = false; _label = "Label"; mode = "center"; super(); } protected function toggleSelected(_arg1:MouseEvent):void{ selected = !(selected); dispatchEvent(new Event(Event.CHANGE, true)); } public function get labelPlacement():String{ return (_labelPlacement); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (oldMouseState == null){ oldMouseState = mouseState; }; setMouseState("down"); startPress(); }; } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ setMouseState(oldMouseState); oldMouseState = null; endPress(); dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; } override public function get selected():Boolean{ return ((_toggle) ? _selected : false); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidate(InvalidationType.SIZE); } public function set toggle(_arg1:Boolean):void{ if (((!(_arg1)) && (super.selected))){ selected = false; }; _toggle = _arg1; if (_toggle){ addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true); } else { removeEventListener(MouseEvent.CLICK, toggleSelected); }; invalidate(InvalidationType.STATE); } public function get label():String{ return (_label); } override public function set selected(_arg1:Boolean):void{ _selected = _arg1; if (_toggle){ invalidate(InvalidationType.STATE); }; } override protected function draw():void{ if (textField.text != _label){ label = _label; }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); drawIcon(); drawTextFormat(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } public function get toggle():Boolean{ return (_toggle); } override protected function configUI():void{ super.configUI(); textField = new TextField(); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; addChild(textField); } override protected function drawLayout():void{ var _local1:Number; var _local2:String; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement; textField.height = (textField.textHeight + 4); _local3 = (textField.textWidth + 4); _local4 = (textField.textHeight + 4); _local5 = ((icon)==null) ? 0 : (icon.width + _local1); _local6 = ((icon)==null) ? 0 : (icon.height + _local1); textField.visible = (label.length > 0); if (icon != null){ icon.x = Math.round(((width - icon.width) / 2)); icon.y = Math.round(((height - icon.height) / 2)); }; if (textField.visible == false){ textField.width = 0; textField.height = 0; } else { if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){ _local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1)))); if ((height - 2) > _local4){ _local8 = _local4; } else { _local8 = (height - 2); }; _local3 = _local7; textField.width = _local3; _local4 = _local8; textField.height = _local4; textField.x = Math.round(((width - _local3) / 2)); textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0)); if (icon != null){ icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1)); }; } else { _local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1)))); _local3 = _local7; textField.width = _local3; textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0)); textField.y = Math.round(((height - textField.height) / 2)); if (icon != null){ icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1)); }; }; }; super.drawLayout(); } override protected function initializeAccessibility():void{ if (LabelButton.createAccessibilityImplementation != null){ LabelButton.createAccessibilityImplementation(this); }; } protected function drawIcon():void{ var _local1:DisplayObject; var _local2:String; var _local3:Object; _local1 = icon; _local2 = (enabled) ? mouseState : "disabled"; if (selected){ _local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1)); }; _local2 = (_local2 + "Icon"); _local3 = getStyleValue(_local2); if (_local3 == null){ _local3 = getStyleValue("icon"); }; if (_local3 != null){ icon = getDisplayObjectInstance(_local3); }; if (icon != null){ addChildAt(icon, 1); }; if (((!((_local1 == null))) && (!((_local1 == icon))))){ removeChild(_local1); }; } public function set label(_arg1:String):void{ _label = _arg1; if (textField.text != _label){ textField.text = _label; dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE)); }; invalidate(InvalidationType.SIZE); invalidate(InvalidationType.STYLES); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition())); } } }//package fl.controls
Section 5
//RadioButton (fl.controls.RadioButton) package fl.controls { import flash.display.*; import flash.events.*; import fl.managers.*; import flash.ui.*; public class RadioButton extends LabelButton implements IFocusManagerGroup { protected var _value:Object; protected var defaultGroupName:String;// = "RadioButtonGroup" protected var _group:RadioButtonGroup; private static var defaultStyles:Object = {icon:null, upIcon:"RadioButton_upIcon", downIcon:"RadioButton_downIcon", overIcon:"RadioButton_overIcon", disabledIcon:"RadioButton_disabledIcon", selectedDisabledIcon:"RadioButton_selectedDisabledIcon", selectedUpIcon:"RadioButton_selectedUpIcon", selectedDownIcon:"RadioButton_selectedDownIcon", selectedOverIcon:"RadioButton_selectedOverIcon", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, embedFonts:null, textPadding:5}; public static var createAccessibilityImplementation:Function; public function RadioButton(){ defaultGroupName = "RadioButtonGroup"; super(); mode = "border"; groupName = defaultGroupName; } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = (background.x - _local2); uiFocusRect.y = (background.y - _local2); uiFocusRect.width = (background.width + (_local2 * 2)); uiFocusRect.height = (background.height + (_local2 * 2)); }; } private function setThis():void{ var _local1:RadioButtonGroup; _local1 = _group; if (_local1 != null){ if (_local1.selection != this){ _local1.selection = this; }; } else { super.selected = true; }; } override public function get autoRepeat():Boolean{ return (false); } override public function set autoRepeat(_arg1:Boolean):void{ } protected function handleClick(_arg1:MouseEvent):void{ if (_group == null){ return; }; _group.dispatchEvent(new MouseEvent(MouseEvent.CLICK, true)); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ switch (_arg1.keyCode){ case Keyboard.DOWN: setNext(!(_arg1.ctrlKey)); _arg1.stopPropagation(); break; case Keyboard.UP: setPrev(!(_arg1.ctrlKey)); _arg1.stopPropagation(); break; case Keyboard.LEFT: setPrev(!(_arg1.ctrlKey)); _arg1.stopPropagation(); break; case Keyboard.RIGHT: setNext(!(_arg1.ctrlKey)); _arg1.stopPropagation(); break; case Keyboard.SPACE: setThis(); _toggle = false; default: super.keyDownHandler(_arg1); break; }; } private function setNext(_arg1:Boolean=true):void{ var _local2:RadioButtonGroup; var _local3:IFocusManager; var _local4:int; var _local5:Number; var _local6:int; var _local7:*; _local2 = _group; if (_local2 == null){ return; }; _local3 = focusManager; if (_local3){ _local3.showFocusIndicator = true; }; _local4 = _local2.getRadioButtonIndex(this); _local5 = _local2.numRadioButtons; _local6 = _local4; if (_local4 != -1){ do { _local6++; _local6 = ((_local6)>(_local2.numRadioButtons - 1)) ? 0 : _local6; _local7 = _local2.getRadioButtonAt(_local6); if (((_local7) && (_local7.enabled))){ if (_arg1){ _local2.selection = _local7; }; _local7.setFocus(); return; }; if (((_arg1) && (!((_local2.getRadioButtonAt(_local6) == _local2.selection))))){ _local2.selection = this; }; this.drawFocus(true); } while (_local6 != _local4); }; } public function get group():RadioButtonGroup{ return (_group); } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ super.keyUpHandler(_arg1); if ((((_arg1.keyCode == Keyboard.SPACE)) && (!(_toggle)))){ _toggle = true; }; } override public function get selected():Boolean{ return (super.selected); } override public function set toggle(_arg1:Boolean):void{ throw (new Error("Warning: You cannot change a RadioButtons toggle.")); } public function set value(_arg1:Object):void{ _value = _arg1; } public function set group(_arg1:RadioButtonGroup):void{ groupName = _arg1.name; } override public function set selected(_arg1:Boolean):void{ if ((((_arg1 == false)) || (selected))){ return; }; if (_group != null){ _group.selection = this; } else { super.selected = _arg1; }; } override protected function draw():void{ super.draw(); } override public function get toggle():Boolean{ return (true); } override protected function configUI():void{ var _local1:Shape; var _local2:Graphics; super.configUI(); super.toggle = true; _local1 = new Shape(); _local2 = _local1.graphics; _local2.beginFill(0, 0); _local2.drawRect(0, 0, 100, 100); _local2.endFill(); background = (_local1 as DisplayObject); addChildAt(background, 0); addEventListener(MouseEvent.CLICK, handleClick, false, 0, true); } public function set groupName(_arg1:String):void{ if (_group != null){ _group.removeRadioButton(this); _group.removeEventListener(Event.CHANGE, handleChange); }; _group = ((_arg1)==null) ? null : RadioButtonGroup.getGroup(_arg1); if (_group != null){ _group.addRadioButton(this); _group.addEventListener(Event.CHANGE, handleChange, false, 0, true); }; } public function get value():Object{ return (_value); } override protected function drawLayout():void{ var _local1:Number; super.drawLayout(); _local1 = Number(getStyleValue("textPadding")); switch (_labelPlacement){ case ButtonLabelPlacement.RIGHT: icon.x = _local1; textField.x = (icon.x + (icon.width + _local1)); background.width = ((textField.x + textField.width) + _local1); background.height = (Math.max(textField.height, icon.height) + (_local1 * 2)); break; case ButtonLabelPlacement.LEFT: icon.x = ((width - icon.width) - _local1); textField.x = (((width - icon.width) - (_local1 * 2)) - textField.width); background.width = ((textField.width + icon.width) + (_local1 * 3)); background.height = (Math.max(textField.height, icon.height) + (_local1 * 2)); break; case ButtonLabelPlacement.TOP: case ButtonLabelPlacement.BOTTOM: background.width = (Math.max(textField.width, icon.width) + (_local1 * 2)); background.height = ((textField.height + icon.height) + (_local1 * 3)); break; }; background.x = Math.min((icon.x - _local1), (textField.x - _local1)); background.y = Math.min((icon.y - _local1), (textField.y - _local1)); } override protected function drawBackground():void{ } override protected function initializeAccessibility():void{ if (RadioButton.createAccessibilityImplementation != null){ RadioButton.createAccessibilityImplementation(this); }; } public function get groupName():String{ return (((_group)==null) ? null : _group.name); } private function setPrev(_arg1:Boolean=true):void{ var _local2:RadioButtonGroup; var _local3:IFocusManager; var _local4:int; var _local5:int; var _local6:*; _local2 = _group; if (_local2 == null){ return; }; _local3 = focusManager; if (_local3){ _local3.showFocusIndicator = true; }; _local4 = _local2.getRadioButtonIndex(this); _local5 = _local4; if (_local4 != -1){ do { --_local5; _local5 = ((_local5)==-1) ? (_local2.numRadioButtons - 1) : _local5; _local6 = _local2.getRadioButtonAt(_local5); if (((_local6) && (_local6.enabled))){ if (_arg1){ _local2.selection = _local6; }; _local6.setFocus(); return; }; if (((_arg1) && (!((_local2.getRadioButtonAt(_local5) == _local2.selection))))){ _local2.selection = this; }; this.drawFocus(true); } while (_local5 != _local4); }; } protected function handleChange(_arg1:Event):void{ super.selected = (_group.selection == this); dispatchEvent(new Event(Event.CHANGE, true)); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 6
//RadioButtonGroup (fl.controls.RadioButtonGroup) package fl.controls { import flash.events.*; public class RadioButtonGroup extends EventDispatcher { protected var _selection:RadioButton; protected var radioButtons:Array; protected var _name:String; private static var groups:Object; private static var groupCount:uint = 0; public function RadioButtonGroup(_arg1:String){ _name = _arg1; radioButtons = []; registerGroup(this); } public function getRadioButtonIndex(_arg1:RadioButton):int{ var _local2:int; var _local3:RadioButton; _local2 = 0; while (_local2 < radioButtons.length) { _local3 = (radioButtons[_local2] as RadioButton); if (_local3 == _arg1){ return (_local2); }; _local2++; }; return (-1); } public function get numRadioButtons():int{ return (radioButtons.length); } public function get name():String{ return (_name); } public function get selection():RadioButton{ return (_selection); } public function set selection(_arg1:RadioButton):void{ if ((((((_selection == _arg1)) || ((_arg1 == null)))) || ((getRadioButtonIndex(_arg1) == -1)))){ return; }; _selection = _arg1; dispatchEvent(new Event(Event.CHANGE, true)); } public function set selectedData(_arg1:Object):void{ var _local2:int; var _local3:RadioButton; _local2 = 0; while (_local2 < radioButtons.length) { _local3 = (radioButtons[_local2] as RadioButton); if (_local3.value == _arg1){ selection = _local3; return; }; _local2++; }; } public function removeRadioButton(_arg1:RadioButton):void{ var _local2:int; _local2 = getRadioButtonIndex(_arg1); if (_local2 != -1){ radioButtons.splice(_local2, 1); }; if (_selection == _arg1){ _selection = null; }; } public function addRadioButton(_arg1:RadioButton):void{ if (_arg1.groupName != name){ _arg1.groupName = name; return; }; radioButtons.push(_arg1); if (_arg1.selected){ selection = _arg1; }; } public function getRadioButtonAt(_arg1:int):RadioButton{ return (RadioButton(radioButtons[_arg1])); } public function get selectedData():Object{ var _local1:RadioButton; _local1 = _selection; return (((_local1)==null) ? null : _local1.value); } public static function getGroup(_arg1:String):RadioButtonGroup{ var _local2:RadioButtonGroup; if (groups == null){ groups = {}; }; _local2 = (groups[_arg1] as RadioButtonGroup); if (_local2 == null){ _local2 = new RadioButtonGroup(_arg1); if ((++groupCount % 20) == 0){ cleanUpGroups(); }; }; return (_local2); } private static function registerGroup(_arg1:RadioButtonGroup):void{ if (groups == null){ groups = {}; }; groups[_arg1.name] = _arg1; } private static function cleanUpGroups():void{ var _local1:String; var _local2:RadioButtonGroup; for (_local1 in groups) { _local2 = (groups[_local1] as RadioButtonGroup); if (_local2.radioButtons.length == 0){ delete groups[_local1]; }; }; } } }//package fl.controls
Section 7
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 8
//InvalidationType (fl.core.InvalidationType) package fl.core { public class InvalidationType { public static const SIZE:String = "size"; public static const ALL:String = "all"; public static const DATA:String = "data"; public static const SCROLL:String = "scroll"; public static const STATE:String = "state"; public static const STYLES:String = "styles"; public static const SELECTED:String = "selected"; public static const RENDERER_STYLES:String = "rendererStyles"; } }//package fl.core
Section 9
//UIComponent (fl.core.UIComponent) package fl.core { import flash.display.*; import flash.events.*; import fl.managers.*; import flash.utils.*; import fl.events.*; import flash.text.*; import flash.system.*; public class UIComponent extends Sprite { protected var _enabled:Boolean;// = true private var _mouseFocusEnabled:Boolean;// = true protected var startHeight:Number; protected var _height:Number; protected var _oldIMEMode:String;// = null protected var startWidth:Number; public var focusTarget:IFocusManagerComponent; protected var errorCaught:Boolean;// = false protected var uiFocusRect:DisplayObject; protected var _width:Number; public var version:String;// = "3.0.0.15" protected var isFocused:Boolean;// = false protected var callLaterMethods:Dictionary; private var _focusEnabled:Boolean;// = true private var tempText:TextField; protected var invalidateFlag:Boolean;// = false protected var _inspector:Boolean;// = false protected var sharedStyles:Object; protected var invalidHash:Object; protected var isLivePreview:Boolean;// = false protected var _imeMode:String;// = null protected var instanceStyles:Object; protected var _x:Number; protected var _y:Number; public static var inCallLaterPhase:Boolean = false; private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)}; public static var createAccessibilityImplementation:Function; private static var focusManagers:Dictionary = new Dictionary(false); public function UIComponent(){ version = "3.0.0.15"; isLivePreview = false; invalidateFlag = false; _enabled = true; isFocused = false; _focusEnabled = true; _mouseFocusEnabled = true; _imeMode = null; _oldIMEMode = null; errorCaught = false; _inspector = false; super(); instanceStyles = {}; sharedStyles = {}; invalidHash = {}; callLaterMethods = new Dictionary(); StyleManager.registerInstance(this); configUI(); invalidate(InvalidationType.ALL); tabEnabled = (this is IFocusManagerComponent); focusRect = false; if (tabEnabled){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; initializeFocusManager(); addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true); } public function drawFocus(_arg1:Boolean):void{ var _local2:Number; isFocused = _arg1; if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){ removeChild(uiFocusRect); uiFocusRect = null; }; if (_arg1){ uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite); if (uiFocusRect == null){ return; }; _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = -(_local2); uiFocusRect.y = -(_local2); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); addChildAt(uiFocusRect, 0); }; } private function callLaterDispatcher(_arg1:Event):void{ var _local2:Dictionary; var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; _local2 = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } private function addedHandler(_arg1:Event):void{ removeEventListener("addedToStage", addedHandler); initializeFocusManager(); } protected function getStyleValue(_arg1:String):Object{ return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]); } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } override public function get scaleX():Number{ return ((width / startWidth)); } override public function get scaleY():Number{ return ((height / startHeight)); } override public function set height(_arg1:Number):void{ if (_height == _arg1){ return; }; setSize(width, _arg1); } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus((_arg1.target as DisplayObject))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); isFocused = true; }; }; } public function setStyle(_arg1:String, _arg2:Object):void{ if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; instanceStyles[_arg1] = _arg2; invalidate(InvalidationType.STYLES); } override public function get visible():Boolean{ return (super.visible); } public function get componentInspectorSetting():Boolean{ return (_inspector); } override public function get x():Number{ return ((isNaN(_x)) ? super.x : _x); } override public function get y():Number{ return ((isNaN(_y)) ? super.y : _y); } protected function setIMEMode(_arg1:Boolean){ var enabled = _arg1; if (_imeMode != null){ if (enabled){ IME.enabled = true; _oldIMEMode = IME.conversionMode; try { if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _imeMode; }; errorCaught = false; } catch(e:Error) { errorCaught = true; throw (new Error(("IME mode not supported: " + _imeMode))); }; } else { if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _oldIMEMode; }; IME.enabled = false; }; }; } public function set enabled(_arg1:Boolean):void{ if (_arg1 == _enabled){ return; }; _enabled = _arg1; invalidate(InvalidationType.STATE); } public function setSharedStyle(_arg1:String, _arg2:Object):void{ if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; sharedStyles[_arg1] = _arg2; if (instanceStyles[_arg1] == null){ invalidate(InvalidationType.STYLES); }; } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } override public function set scaleX(_arg1:Number):void{ setSize((startWidth * _arg1), height); } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } override public function set scaleY(_arg1:Number):void{ setSize(width, (startHeight * _arg1)); } protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{ var classDef:Object; var skin = _arg1; classDef = null; if ((skin is Class)){ return ((new (skin) as DisplayObject)); }; if ((skin is DisplayObject)){ (skin as DisplayObject).x = 0; (skin as DisplayObject).y = 0; return ((skin as DisplayObject)); }; try { classDef = getDefinitionByName(skin.toString()); } catch(e:Error) { try { classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object); } catch(e:Error) { }; }; if (classDef == null){ return (null); }; return ((new (classDef) as DisplayObject)); } protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{ var _local3:String; for (_local3 in _arg2) { _arg1.setStyle(_local3, getStyleValue(_arg2[_local3])); }; } protected function beforeComponentParameters():void{ } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } protected function createFocusManager():void{ if (focusManagers[stage] == null){ focusManagers[stage] = new FocusManager(stage); }; } override public function set visible(_arg1:Boolean):void{ var _local2:String; if (super.visible == _arg1){ return; }; super.visible = _arg1; _local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE; dispatchEvent(new ComponentEvent(_local2, true)); } protected function hookAccessibility(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, hookAccessibility); initializeAccessibility(); } public function set componentInspectorSetting(_arg1:Boolean):void{ _inspector = _arg1; if (_inspector){ beforeComponentParameters(); } else { afterComponentParameters(); }; } override public function set x(_arg1:Number):void{ move(_arg1, _y); } public function drawNow():void{ draw(); } override public function set y(_arg1:Number):void{ move(_x, _arg1); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus((_arg1.target as DisplayObject))){ drawFocus(false); isFocused = false; }; } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } public function getFocus():InteractiveObject{ if (stage){ return (stage.focus); }; return (null); } protected function validate():void{ invalidHash = {}; } override public function get height():Number{ return (_height); } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } public function get enabled():Boolean{ return (_enabled); } protected function getScaleX():Number{ return (super.scaleX); } protected function getScaleY():Number{ return (super.scaleY); } public function get focusEnabled():Boolean{ return (_focusEnabled); } protected function afterComponentParameters():void{ } protected function draw():void{ if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } protected function configUI():void{ var _local1:Number; var _local2:Number; var _local3:Number; isLivePreview = checkLivePreview(); _local1 = rotation; rotation = 0; _local2 = super.width; _local3 = super.height; var _local4 = 1; super.scaleY = _local4; super.scaleX = _local4; setSize(_local2, _local3); move(super.x, super.y); rotation = _local1; startWidth = _local2; startHeight = _local3; if (numChildren > 0){ removeChildAt(0); }; } protected function setScaleX(_arg1:Number):void{ super.scaleX = _arg1; } protected function setScaleY(_arg1:Number):void{ super.scaleY = _arg1; } private function initializeFocusManager():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true); } else { createFocusManager(); }; } public function set focusManager(_arg1:IFocusManager):void{ UIComponent.focusManagers[this] = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(InvalidationType.SIZE); dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false)); } override public function set width(_arg1:Number):void{ if (_width == _arg1){ return; }; setSize(_arg1, height); } public function setFocus():void{ if (stage){ stage.focus = this; }; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function get focusManager():IFocusManager{ var _local1:DisplayObject; _local1 = this; while (_local1) { if (UIComponent.focusManagers[_local1] != null){ return (IFocusManager(UIComponent.focusManagers[_local1])); }; _local1 = _local1.parent; }; return (null); } override public function get width():Number{ return (_width); } public function move(_arg1:Number, _arg2:Number):void{ _x = _arg1; _y = _arg2; super.x = Math.round(_arg1); super.y = Math.round(_arg2); dispatchEvent(new ComponentEvent(ComponentEvent.MOVE)); } public function validateNow():void{ invalidate(InvalidationType.ALL, false); draw(); } public function getStyle(_arg1:String):Object{ return (instanceStyles[_arg1]); } public static function getStyleDefinition():Object{ return (defaultStyles); } public static function mergeStyles(... _args):Object{ var _local2:Object; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:String; _local2 = {}; _local3 = _args.length; _local4 = 0; while (_local4 < _local3) { _local5 = _args[_local4]; for (_local6 in _local5) { if (_local2[_local6] != null){ } else { _local2[_local6] = _args[_local4][_local6]; }; }; _local4++; }; return (_local2); } } }//package fl.core
Section 10
//ComponentEvent (fl.events.ComponentEvent) package fl.events { import flash.events.*; public class ComponentEvent extends Event { public static const HIDE:String = "hide"; public static const BUTTON_DOWN:String = "buttonDown"; public static const MOVE:String = "move"; public static const RESIZE:String = "resize"; public static const ENTER:String = "enter"; public static const LABEL_CHANGE:String = "labelChange"; public static const SHOW:String = "show"; public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("ComponentEvent", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new ComponentEvent(type, bubbles, cancelable)); } } }//package fl.events
Section 11
//FocusManager (fl.managers.FocusManager) package fl.managers { import fl.controls.*; import flash.display.*; import fl.core.*; import flash.events.*; import flash.utils.*; import flash.text.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var focusableObjects:Dictionary; private var _showFocusIndicator:Boolean;// = true private var defButton:Button; private var focusableCandidates:Array; private var _form:DisplayObjectContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var calculateCandidates:Boolean;// = true private var lastFocus:InteractiveObject; private var lastAction:String; public function FocusManager(_arg1:DisplayObjectContainer){ activated = false; calculateCandidates = true; _showFocusIndicator = true; _defaultButtonEnabled = true; super(); focusableObjects = new Dictionary(true); if (_arg1 != null){ _form = _arg1; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); activate(); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local5:int; var _local6:int; var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; _local5 = focusableCandidates.length; _local6 = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } public function set form(_arg1:DisplayObjectContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var io:InteractiveObject; var doc:DisplayObjectContainer; var i:int; var child:DisplayObject; var o = _arg1; var skipTopLevel = _arg2; if (!skipTopLevel){ if ((o is IFocusManagerComponent)){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects[o] = true; calculateCandidates = true; }; o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; } else { if ((o is InteractiveObject)){ io = (o as InteractiveObject); if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){ focusableObjects[io] = true; calculateCandidates = true; }; io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){ i = 0; while (i < doc.numChildren) { try { child = doc.getChildAt(i); if (child != null){ addFocusables(doc.getChildAt(i)); }; } catch(error:SecurityError) { }; i = (i + 1); }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ return (_arg1.getChildIndex(_arg2)); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ if ((_arg1.relatedObject is TextField)){ return; }; _arg1.preventDefault(); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; _local2 = (_arg1.target as InteractiveObject); } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{ var _local2:InteractiveObject; _local2 = _arg1; while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (_arg1); }; _arg1 = _arg1.parent; }; return (_local2); } private function sortFocusableObjectsTabIndex():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){ focusableCandidates.push(_local2); }; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject):void{ var _local2:Object; var _local3:DisplayObject; if ((_arg1 is DisplayObjectContainer)){ _arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); _arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); for (_local2 in focusableObjects) { _local3 = DisplayObject(_local2); if (DisplayObjectContainer(_arg1).contains(_local3)){ if (_local3 == lastFocus){ lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local2]; calculateCandidates = true; }; }; }; } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } private function tabChildrenChangeHandler(_arg1:Event):void{ var _local2:DisplayObjectContainer; if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; _local2 = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2); }; } public function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } public function getFocus():InteractiveObject{ var _local1:InteractiveObject; _local1 = form.stage.focus; return (findFocusManagerComponent(_local1)); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; var _local3:TextField; var _local4:SimpleButton; _local2 = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).enabled){ return (false); }; } else { if ((_arg1 is TextField)){ _local3 = TextField(_arg1); if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){ return (false); }; } else { if ((_arg1 is SimpleButton)){ _local4 = SimpleButton(_arg1); if (!_local4.enabled){ return (false); }; }; }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } public function set defaultButton(_arg1:Button):void{ var _local2:Button; _local2 = (_arg1) ? Button(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } public function setFocus(_arg1:InteractiveObject):void{ if ((_arg1 is IFocusManagerComponent)){ IFocusManagerComponent(_arg1).setFocus(); } else { form.stage.focus = _arg1; }; } private function setFocusToNextObject(_arg1:FocusEvent):void{ var _local2:InteractiveObject; if (!hasFocusableObjects()){ return; }; _local2 = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function hasFocusableObjects():Boolean{ var _local1:Object; for (_local1 in focusableObjects) { return (true); }; return (false); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local2); }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){ setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int; var _local3:int; _local2 = focusableCandidates.length; _local3 = 0; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function hideFocus():void{ } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject; var _local4:InteractiveObject; _local3 = DisplayObject(_arg1.target); if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){ if (_local3 == lastFocus){ IFocusManagerComponent(lastFocus).drawFocus(false); lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local3]; calculateCandidates = true; } else { if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){ _local4 = (_local3 as InteractiveObject); if (_local4){ if (_local4 == lastFocus){ lastFocus = null; }; delete focusableObjects[_local4]; calculateCandidates = true; }; _local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); }; }; removeFocusables(_local3); } private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{ var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; var _local8:String; var _local9:DisplayObject; var _local10:DisplayObject; _local3 = ""; _local4 = ""; _local8 = "0000"; _local9 = DisplayObject(_arg1); _local10 = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } public function get defaultButton():Button{ return (_defaultButton); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); if (lastFocus){ if ((lastFocus is IFocusManagerComponent)){ IFocusManagerComponent(lastFocus).setFocus(); } else { form.stage.focus = lastFocus; }; }; lastAction = "ACTIVATE"; } public function showFocus():void{ } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{ var _local2:DisplayObject; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; var _local8:IFocusManagerGroup; if (!hasFocusableObjects()){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; _local2 = form.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; _local4 = getIndexOfFocusedObject(_local2); _local5 = false; _local6 = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; _local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:InteractiveObject; if (_arg1.isDefaultPrevented()){ return; }; _local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(_local2); }; lastAction = "MOUSEDOWN"; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; _local2 = _arg1.parent; while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) { if (!_local2.tabChildren){ return (false); }; _local2 = _local2.parent; }; return (true); } public function get nextTabIndex():int{ return (0); } private function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ sendDefaultButtonEvent(); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; var _local3:Button; _local2 = InteractiveObject(_arg1.target); if (form.contains(_local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is Button)){ _local3 = Button(lastFocus); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } private function tabEnabledChangeHandler(_arg1:Event):void{ var _local2:InteractiveObject; var _local3:Boolean; calculateCandidates = true; _local2 = InteractiveObject(_arg1.target); _local3 = (focusableObjects[_local2] == true); if (_local2.tabEnabled){ if (((!(_local3)) && (isTabVisible(_local2)))){ if (!(_local2 is IFocusManagerComponent)){ _local2.focusRect = false; }; focusableObjects[_local2] = true; }; } else { if (_local3){ delete focusableObjects[_local2]; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } public function get form():DisplayObjectContainer{ return (_form); } private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{ return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function deactivate():void{ form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } } }//package fl.managers
Section 12
//IFocusManager (fl.managers.IFocusManager) package fl.managers { import fl.controls.*; import flash.display.*; public interface IFocusManager { function getFocus():InteractiveObject; function deactivate():void; function set defaultButton(_arg1:Button):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function get nextTabIndex():int; function get defaultButton():Button; function get showFocusIndicator():Boolean; function setFocus(_arg1:InteractiveObject):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject; function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject; } }//package fl.managers
Section 13
//IFocusManagerComponent (fl.managers.IFocusManagerComponent) package fl.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package fl.managers
Section 14
//IFocusManagerGroup (fl.managers.IFocusManagerGroup) package fl.managers { public interface IFocusManagerGroup { function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; function get groupName():String; function get selected():Boolean; } }//package fl.managers
Section 15
//StyleManager (fl.managers.StyleManager) package fl.managers { import fl.core.*; import flash.utils.*; import flash.text.*; public class StyleManager { private var globalStyles:Object; private var classToDefaultStylesDict:Dictionary; private var styleToClassesHash:Object; private var classToStylesDict:Dictionary; private var classToInstancesDict:Dictionary; private static var _instance:StyleManager; public function StyleManager(){ styleToClassesHash = {}; classToInstancesDict = new Dictionary(true); classToStylesDict = new Dictionary(true); classToDefaultStylesDict = new Dictionary(true); globalStyles = UIComponent.getStyleDefinition(); } public static function clearComponentStyle(_arg1:Object, _arg2:String):void{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){ delete _local4[_arg2]; invalidateComponentStyle(_local3, _arg2); }; } private static function getClassDef(_arg1:Object):Class{ var component = _arg1; if ((component is Class)){ return ((component as Class)); }; try { return ((getDefinitionByName(getQualifiedClassName(component)) as Class)); } catch(e:Error) { if ((component is UIComponent)){ try { return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class)); } catch(e:Error) { }; }; }; return (null); } public static function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Class; var _local5:Object; _local4 = getClassDef(_arg1); _local5 = getInstance().classToStylesDict[_local4]; if (_local5 == null){ _local5 = (getInstance().classToStylesDict[_local4] = {}); }; if (_local5 == _arg3){ return; }; _local5[_arg2] = _arg3; invalidateComponentStyle(_local4, _arg2); } private static function setSharedStyles(_arg1:UIComponent):void{ var _local2:StyleManager; var _local3:Class; var _local4:Object; var _local5:String; _local2 = getInstance(); _local3 = getClassDef(_arg1); _local4 = _local2.classToDefaultStylesDict[_local3]; for (_local5 in _local4) { _arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5)); }; } public static function getComponentStyle(_arg1:Object, _arg2:String):Object{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; return (((_local4)==null) ? null : _local4[_arg2]); } private static function getInstance(){ if (_instance == null){ _instance = new (StyleManager); }; return (_instance); } private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{ var _local3:Dictionary; var _local4:Object; var _local5:UIComponent; _local3 = getInstance().classToInstancesDict[_arg1]; if (_local3 == null){ return; }; for (_local4 in _local3) { _local5 = (_local4 as UIComponent); if (_local5 == null){ } else { _local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2)); }; }; } private static function invalidateStyle(_arg1:String):void{ var _local2:Dictionary; var _local3:Object; _local2 = getInstance().styleToClassesHash[_arg1]; if (_local2 == null){ return; }; for (_local3 in _local2) { invalidateComponentStyle(Class(_local3), _arg1); }; } public static function registerInstance(_arg1:UIComponent):void{ var inst:StyleManager; var classDef:Class; var target:Class; var defaultStyles:Object; var styleToClasses:Object; var n:String; var instance = _arg1; inst = getInstance(); classDef = getClassDef(instance); if (classDef == null){ return; }; if (inst.classToInstancesDict[classDef] == null){ inst.classToInstancesDict[classDef] = new Dictionary(true); target = classDef; while (defaultStyles == null) { if (target["getStyleDefinition"] != null){ defaultStyles = target["getStyleDefinition"](); break; }; try { target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class); } catch(err:Error) { try { target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class); } catch(e:Error) { defaultStyles = UIComponent.getStyleDefinition(); break; }; }; }; styleToClasses = inst.styleToClassesHash; for (n in defaultStyles) { if (styleToClasses[n] == null){ styleToClasses[n] = new Dictionary(true); }; styleToClasses[n][classDef] = true; }; inst.classToDefaultStylesDict[classDef] = defaultStyles; inst.classToStylesDict[classDef] = {}; }; inst.classToInstancesDict[classDef][instance] = true; setSharedStyles(instance); } public static function getStyle(_arg1:String):Object{ return (getInstance().globalStyles[_arg1]); } private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{ var _local3:Class; var _local4:StyleManager; var _local5:Object; _local3 = getClassDef(_arg1); _local4 = getInstance(); _local5 = _local4.classToStylesDict[_local3][_arg2]; if (_local5 != null){ return (_local5); }; _local5 = _local4.globalStyles[_arg2]; if (_local5 != null){ return (_local5); }; return (_local4.classToDefaultStylesDict[_local3][_arg2]); } public static function setStyle(_arg1:String, _arg2:Object):void{ var _local3:Object; _local3 = getInstance().globalStyles; if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; _local3[_arg1] = _arg2; invalidateStyle(_arg1); } } }//package fl.managers
Section 16
//descriptionbox1_26 (GMEmulatorRU_fla.descriptionbox1_26) package GMEmulatorRU_fla { import flash.display.*; import flash.text.*; public dynamic class descriptionbox1_26 extends MovieClip { public var done:SimpleButton; public var help2:SimpleButton; public var newlistboxes:MovieClip; public var descriptionfield:TextField; public function descriptionbox1_26(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame1(){ stop(); } function frame2(){ stop(); } function frame3(){ stop(); } function frame4(){ stop(); } } }//package GMEmulatorRU_fla
Section 17
//MainTimeline (GMEmulatorRU_fla.MainTimeline) package GMEmulatorRU_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.text.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var npcpagefield:TextField; public var logfield:TextField; public var rollresultfield:TextField; public var fade:MovieClip; public var tempinfo; public var questionprobability; public var rollfield:TextField; public var pc1:TextField; public var pc2:TextField; public var pc3:TextField; public var pc4:TextField; public var pc5:TextField; public var pc6:TextField; public var pc7:TextField; public var pc8:TextField; public var questionbox1:MovieClip; public var rollcount; public var reset1:SimpleButton; public var rolllabelfield:TextField; public var npcforward:SimpleButton; public var newscene1:MovieClip; public var newscene2:MovieClip; public var questionfield:TextField; public var ask1:SimpleButton; public var slider:MovieClip; public var questioncount; public var probabilitytext; public var threadpagefield:TextField; public var help1:SimpleButton; public var asktype:MovieClip; public var pcpagefield:TextField; public var help:MovieClip; public var npcback:SimpleButton; public var roll1:SimpleButton; public var pcback:SimpleButton; public var eventbox1:MovieClip; public var questionroll; public var thread1:TextField; public var thread2:TextField; public var thread3:TextField; public var thread4:TextField; public var thread5:TextField; public var thread6:TextField; public var thread7:TextField; public var thread8:TextField; public var npc1:TextField; public var npc2:TextField; public var pcforward:SimpleButton; public var npc4:TextField; public var npc5:TextField; public var npc6:TextField; public var npc7:TextField; public var npc8:TextField; public var npc3:TextField; public var chaosfield:TextField; public var threadforward:SimpleButton; public var currentpage; public var sliderbar:SimpleButton; public var savedinfo; public var endscene1:SimpleButton; public var descriptionbox1:MovieClip; public var firstscene1:MovieClip; public var firstscene2:MovieClip; public var firstscene3:MovieClip; public var probabilityfield:TextField; public var threadback:SimpleButton; public function MainTimeline(){ addFrameScript(0, frame1); __setTab_pc1_Scene1_fields_0(); __setTab_questionfield_Scene1_fields_0(); __setTab_pc2_Scene1_fields_0(); __setTab_pc3_Scene1_fields_0(); __setTab_pc4_Scene1_fields_0(); __setTab_pc5_Scene1_fields_0(); __setTab_pc6_Scene1_fields_0(); __setTab_pc7_Scene1_fields_0(); __setTab_pc8_Scene1_fields_0(); __setTab_npc1_Scene1_fields_0(); __setTab_npc2_Scene1_fields_0(); __setTab_npc3_Scene1_fields_0(); __setTab_npc4_Scene1_fields_0(); __setTab_npc5_Scene1_fields_0(); __setTab_npc6_Scene1_fields_0(); __setTab_npc7_Scene1_fields_0(); __setTab_npc8_Scene1_fields_0(); __setTab_thread1_Scene1_fields_0(); __setTab_thread3_Scene1_fields_0(); __setTab_thread4_Scene1_fields_0(); __setTab_thread5_Scene1_fields_0(); __setTab_thread6_Scene1_fields_0(); __setTab_thread7_Scene1_fields_0(); __setTab_thread8_Scene1_fields_0(); __setTab_thread2_Scene1_fields_0(); __setTab_rolllabelfield_Scene1_fields_0(); __setTab_rollfield_Scene1_fields_0(); __setTab_rollresultfield_Scene1_fields_0(); } public function firstscenestart(){ savedinfo.data.insetup = true; fade.visible = true; fade.alpha = 1; firstscene1.visible = true; firstscene1.continue1.addEventListener(MouseEvent.CLICK, firstscene2click); firstscene1.skip1.addEventListener(MouseEvent.CLICK, firstsceneskip); } public function sliderrelease(_arg1:MouseEvent):void{ _arg1.target.stage.removeEventListener(MouseEvent.MOUSE_UP, sliderrelease); _arg1.target.stage.removeEventListener(MouseEvent.MOUSE_MOVE, slidermove); slider.stopDrag(); questionprobability = (1 - ((slider.x - 631) / 315)); probabilityfield.text = probabilitytext[Math.floor(((1 - ((slider.x - 631) / 315)) * 9))]; } public function firstscene3click(_arg1:MouseEvent){ firstscene2.continue1.removeEventListener(MouseEvent.CLICK, firstscene3click); firstscene2.visible = false; firstscene3.visible = true; firstscene3.continue1.addEventListener(MouseEvent.CLICK, firstscenedone); } function __setTab_npc1_Scene1_fields_0(){ npc1.tabIndex = 9; } function __setTab_npc2_Scene1_fields_0(){ npc2.tabIndex = 10; } function __setTab_npc3_Scene1_fields_0(){ npc3.tabIndex = 11; } function __setTab_npc4_Scene1_fields_0(){ npc4.tabIndex = 12; } function __setTab_npc5_Scene1_fields_0(){ npc5.tabIndex = 13; } function __setTab_npc6_Scene1_fields_0(){ npc6.tabIndex = 14; } public function questiondoneclick(_arg1:MouseEvent):void{ addnewlistitems("questionbox1"); addnewlistitems("descriptionbox1"); questionbox1.visible = false; descriptionbox1.visible = false; enablebuttons(); trace(("questionroll: " + questionroll)); trace(("chaos: " + (savedinfo.data.chaos * 0.1))); if (questionroll <= (savedinfo.data.chaos * 0.1)){ if (Math.random() <= 0.1){ randomevent(); }; }; } function __setTab_npc8_Scene1_fields_0(){ npc8.tabIndex = 16; } public function waitforunfocus(_arg1:KeyboardEvent):void{ trace(("waitforunfoucs:" + stage.focus.name)); stage.removeEventListener(KeyboardEvent.KEY_DOWN, waitforunfocus); stage.focus.addEventListener(FocusEvent.FOCUS_OUT, savefield); } function __setTab_npc7_Scene1_fields_0(){ npc7.tabIndex = 15; } public function slidermove(_arg1:MouseEvent):void{ probabilityfield.text = probabilitytext[Math.floor(((1 - ((slider.x - 631) / 315)) * 9))]; } public function threadbackclick(_arg1:MouseEvent):void{ var _local2 = currentpage; var _local3 = 2; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (currentpage[2] == 0){ threadback.visible = false; }; threadpagefield.text = ("Page " + String((currentpage[2] + 1))); refreshlists(); } public function randrange(_arg1:int, _arg2:int):int{ return ((Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1)); } public function helpdone(_arg1:MouseEvent){ help.visible = false; help.helpbox2.abouttab.removeEventListener(MouseEvent.CLICK, abouttabclick); help.helpbox1.howtoplaytab.removeEventListener(MouseEvent.CLICK, howtoplaytabclick); } function frame1(){ eventbox1.visible = false; descriptionbox1.visible = false; questionbox1.visible = false; firstscene1.visible = false; firstscene2.visible = false; firstscene3.visible = false; newscene1.visible = false; newscene2.visible = false; fade.visible = false; pcback.visible = false; npcback.visible = false; threadback.visible = false; help.visible = false; reset1.addEventListener(MouseEvent.CLICK, reset); ask1.addEventListener(MouseEvent.CLICK, askclick); asktype.askyesno1.addEventListener(MouseEvent.CLICK, askyesnoclick); asktype.askdetail1.addEventListener(MouseEvent.CLICK, askdetailclick); questionbox1.done.addEventListener(MouseEvent.CLICK, questiondoneclick); descriptionbox1.done.addEventListener(MouseEvent.CLICK, questiondoneclick); eventbox1.done.addEventListener(MouseEvent.CLICK, eventdoneclick); help.helpbox1.done.addEventListener(MouseEvent.CLICK, helpdone); help.helpbox2.done.addEventListener(MouseEvent.CLICK, helpdone); slider.addEventListener(MouseEvent.MOUSE_DOWN, sliderclick); sliderbar.addEventListener(MouseEvent.MOUSE_DOWN, sliderclick); roll1.addEventListener(MouseEvent.CLICK, rollclick); endscene1.addEventListener(MouseEvent.CLICK, endscene); pcback.addEventListener(MouseEvent.CLICK, pcbackclick); pcforward.addEventListener(MouseEvent.CLICK, pcforwardclick); npcback.addEventListener(MouseEvent.CLICK, npcbackclick); npcforward.addEventListener(MouseEvent.CLICK, npcforwardclick); threadback.addEventListener(MouseEvent.CLICK, threadbackclick); threadforward.addEventListener(MouseEvent.CLICK, threadforwardclick); help1.addEventListener(MouseEvent.CLICK, helpclick); firstscene1.help2.addEventListener(MouseEvent.CLICK, helpclick); firstscene2.help2.addEventListener(MouseEvent.CLICK, helpclick); firstscene3.help2.addEventListener(MouseEvent.CLICK, helpclick); newscene1.help2.addEventListener(MouseEvent.CLICK, helpclick); newscene2.help2.addEventListener(MouseEvent.CLICK, helpclick); questionbox1.help2.addEventListener(MouseEvent.CLICK, helpclick); eventbox1.help2.addEventListener(MouseEvent.CLICK, helpclick); stage.addEventListener(KeyboardEvent.KEY_DOWN, waitforunfocus); questionprobability = (1 - ((slider.x - 631) / 315)); probabilitytext = new Array("Impossible", "No Way", "Very Unlikely", "Unlikely", "50/50 or Unsure", "Likely", "Very Likely", "A Sure Thing", "Has To Be"); probabilityfield.text = probabilitytext[Math.floor((questionprobability * 9))]; questioncount = 0; rollcount = 0; currentpage = new Array(0, 0, 0); savedinfo = SharedObject.getLocal("GMEmulatorSavedInfo"); if (((!(savedinfo.data.lists)) || (savedinfo.data.insetup))){ tempinfo = savedinfo; reset(null); savedinfo = tempinfo; }; refreshlists(); askyesnoclick(null); } public function newscenecancel(_arg1:MouseEvent){ newscene1.continue1.removeEventListener(MouseEvent.CLICK, newscene2click); newscene1.cancel1.removeEventListener(MouseEvent.CLICK, newscenecancel); newscene1.visible = false; newscene1.description1.text = ""; enablebuttons(); } public function pcbackclick(_arg1:MouseEvent):void{ var _local2 = currentpage; var _local3:int; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (currentpage[0] == 0){ pcback.visible = false; }; pcpagefield.text = ("Page " + String((currentpage[0] + 1))); refreshlists(); } function __setTab_rolllabelfield_Scene1_fields_0(){ rolllabelfield.tabIndex = 27; } function __setTab_thread1_Scene1_fields_0(){ thread1.tabIndex = 17; } function __setTab_thread2_Scene1_fields_0(){ thread2.tabIndex = 18; } function __setTab_thread4_Scene1_fields_0(){ thread4.tabIndex = 20; } function __setTab_thread5_Scene1_fields_0(){ thread5.tabIndex = 21; } function __setTab_thread6_Scene1_fields_0(){ thread6.tabIndex = 22; } function __setTab_thread7_Scene1_fields_0(){ thread7.tabIndex = 23; } function __setTab_thread8_Scene1_fields_0(){ thread8.tabIndex = 24; } public function randomthread():String{ var _local1:* = new Array(); var _local2:* = 1; while (_local2 < (savedinfo.data.lists[2].length + 1)) { if (savedinfo.data.lists[2][_local2] != ""){ if (savedinfo.data.lists[2][_local2]){ _local1.push(savedinfo.data.lists[2][_local2]); }; }; _local2++; }; if (_local1.length == 0){ _local1 = new Array("Celebrating Past Victories", "Finding something to do"); }; return (_local1[randrange(0, (_local1.length - 1))]); } public function endscene(_arg1:MouseEvent){ disablebuttons(); newscene1.lesschaotic.visible = true; newscene1.lesschaoticdown.visible = false; newscene1.morechaotic.visible = false; newscene1.morechaoticdown.visible = true; newscene1.visible = true; newscene1.morechaotic.addEventListener(MouseEvent.MOUSE_DOWN, morechaotic); newscene1.lesschaotic.addEventListener(MouseEvent.MOUSE_DOWN, lesschaotic); newscene1.continue1.addEventListener(MouseEvent.CLICK, newscene2click); newscene1.cancel1.addEventListener(MouseEvent.CLICK, newscenecancel); } public function howtoplaytabclick(_arg1:MouseEvent){ help.helpbox2.abouttab.enabled = true; help.helpbox1.howtoplaytab.enabled = false; help.setChildIndex(help.helpbox1, 0); help.setChildIndex(help.helpbox2, 1); } public function newscene2click(_arg1:MouseEvent){ newscene1.continue1.removeEventListener(MouseEvent.CLICK, newscene2click); newscene1.cancel1.removeEventListener(MouseEvent.CLICK, newscenecancel); newscene1.visible = false; enablebuttons(); savedinfo.data.scenecount++; if (newscene1.morechaoticdown.visible == true){ if (savedinfo.data.chaos < 9){ savedinfo.data.chaos++; }; }; if (newscene1.lesschaoticdown.visible == true){ if (savedinfo.data.chaos > 1){ savedinfo.data.chaos--; }; }; chaosfield.text = savedinfo.data.chaos; if (Math.random() <= (savedinfo.data.chaos * 0.1)){ if (Math.random() <= 0.5){ logfield.text = ((((("\nScene #" + savedinfo.data.scenecount) + ": \n") + newscene1.description1.text) + "\n\n") + logfield.text); savedinfo.data.logfield = logfield.text; newscene1.description1.text = ""; randomevent(); } else { scenealtered(); }; } else { trace(("noalteration: " + newscene1.description1.text)); logfield.text = ((((("\nScene #" + savedinfo.data.scenecount) + ": \n") + newscene1.description1.text) + "\n\n") + logfield.text); savedinfo.data.logfield = logfield.text; newscene1.description1.text = ""; }; } public function lesschaotic(_arg1:MouseEvent){ newscene1.lesschaotic.visible = false; newscene1.lesschaoticdown.visible = true; newscene1.morechaotic.visible = true; newscene1.morechaoticdown.visible = false; } public function enablebuttons(){ fade.visible = false; } public function askclick(_arg1:MouseEvent):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; var _local16:*; var _local17:*; var _local18:*; var _local19:TextFormat; var _local20:*; disablebuttons(); questioncount++; questionroll = Math.random(); if (savedinfo.data.asktype == 0){ _local2 = questionprobability; _local3 = (((savedinfo.data.chaos * 0.1) + _local2) - 0.5); _local4 = questionroll; _local5 = (Math.ceil((Math.ceil((_local3 - _local4)) / 2)) + 1); if ((((_local4 <= (_local3 / 5))) && (((_local3 - _local4) >= 0)))){ _local5 = 4; }; if (((((1 - _local4) <= ((1 - _local3) / 5))) && (((_local3 - _local4) < 0)))){ _local5 = 3; }; _local6 = new Array("NO", "YES", "EXCEPTIONAL NO", "EXCEPTIONAL YES"); questionbox1.gotoAndStop(_local5); if ((((_local5 == 4)) && ((randrange(1, 3000) == 1)))){ questionbox1.gotoAndStop(5); }; questionbox1.visible = true; if (questionfield.text == ""){ _local7 = ("#" + questioncount); } else { _local7 = questionfield.text; questionfield.text = ""; }; logfield.text = ((((("Q: " + _local7) + " ") + _local6[(_local5 - 1)]) + "\n") + logfield.text); savedinfo.data.logfield = logfield.text; } else { _local8 = new Array("A [[Certain Amount]] of", "A [[Surprising Amount]] of", "A [[Surprising Lack]] of", "A [[Small Amount]] of", "A [[Large Amount]] of", "A [[Future]] of", "A [[History]] of", "An [[Uncertain Amount]] of", "[[Entirely Normal]]", "[[Truly Bizarre]]", "[[Somewhat Ambiguous]]", "A [[Rough Likeness]] of", "An [[Incredible Display]] of", "[[Various Examples]] of", "[[Disturbing]]", "[[Helpful]]", "[[Fascinating]]", "A [[Small, Notable Example]] of", "[[Pleasant]]", "[[Horrifying]]", "[[Slightly Odd]]", "A [[Revelation]] regarding", "A [[Complete Lack]] of", "[[Terrifying]]", "A [[Mystery]] involving", "A [[Sudden Change]] involving", "[[Faint Traces]] of", "[[Utterly Beautiful]]", "An [[Incorrect Assumption]] about", "[[Plenty]] of", "An [[Insufficient Amount]] of", "[[Somewhat Hilarious]]", "Something that [[Brings Back Memories]] of", "[[Oddly Stereotypical]]", "The [[Exact Opposite]] of", "Something that [[Informs You]] about", "[[False]]", "[[Evil]]", "[[Genuinely Good]]", "[[Primitive]]", "[[Advanced]]", "[[Ironic]]"); _local9 = new Array(" [[Familiarity]]", " [[Strangeness]]", " [[Frivolity]]", " [[Severity]]", " [[Oldness]]", " [[Newness]]", " [[Friendliness]]", " [[Hostility]]", " [[Immensity]]", " [[Literacy]]", " [[Eccentricity]]", " [[Entertainment]]", " [[Hilarity]]", " [[Respectability]]", " [[Obsessions]]", " [[Love]]", " [[Hate]]", " [[Beauty]]", " [[Grotesqueness]]", " [[Creation]]", " [[Destruction]]", " [[Innovation]]", " [[Ruin]]", " [[Danger]]", " [[Stupidity]]", " [[Competence]]", " [[Technology]]", " [[Spirituality]]", " [[Nature]]", " [[Authority]]", " [[Excitement]]", " [[Dullness]]", " [[Sexuality]]", " [[Decoration]]", " [[Athletics]]", " [[Freedom]]", " [[Insanity]]", " [[Violence]]", " [[Compassion]]", " [[Care]]", " [[Irony]]", " [[Hope]]", " [[Insight]]", " [[Intelligence]]", " [[Masculinity]]", " [[Femininity]]", " [[Grandiosity]]", " [[Humility]]", " [[Starkness]]", " [[Expansiveness]]", " [[Splendor]]", " [[Squalor]]", " [[Dignity]]", " [[Laziness]]", " [[Perilousness]]", " [[Exposure]]", " [[Fortune]]", " [[Armament]]", " [[Defence]]"); _local10 = randrange(0, (_local8.length - 1)); _local11 = randrange(0, (_local9.length - 1)); _local12 = randomplayer(); _local13 = randomnpc(); _local14 = randomthread(); _local15 = ""; _local16 = (("The Answer involves\n" + _local8[_local10]) + _local9[_local11]); if (randrange(0, 2) == 0){ switch (randrange(1, 3)){ case 1: _local16 = (_local16 + ((", which might affect [[" + _local12) + "]].")); _local15 = (", " + _local12); break; case 2: _local16 = (_local16 + ((", and might also involve [[" + _local13) + "]].")); _local15 = (", " + _local13); break; case 3: _local16 = (_local16 + ((", and could affect the thread '[[" + _local14) + "]]'.")); _local15 = (", " + _local14); break; }; } else { _local16 = (_local16 + "."); }; _local17 = new Array(new Array(0, 0), new Array(0, 0), new Array(0, 0), new Array(0, 0), new Array(0, 0)); _local18 = 0; while (_local18 < 5) { _local17[_local18][0] = _local16.indexOf("[["); _local16 = _local16.replace("[[", ""); _local17[_local18][1] = _local16.indexOf("]]"); _local16 = _local16.replace("]]", ""); _local18++; }; _local19 = new TextFormat(); _local19.bold = true; descriptionbox1.descriptionfield.text = _local16; descriptionbox1.descriptionfield.wordWrap = true; _local18 = 0; while (_local18 < 5) { if (_local17[_local18][1] > 0){ descriptionbox1.descriptionfield.setTextFormat(_local19, _local17[_local18][0], _local17[_local18][1]); }; _local18++; }; if (questionfield.text == ""){ _local7 = ("#" + questioncount); } else { _local7 = questionfield.text; questionfield.text = ""; }; _local20 = (((((("Q: " + _local7) + " ") + _local8[_local10]) + _local9[_local11]) + _local15) + "\n"); _local20 = _local20.replace("]]", ""); _local20 = _local20.replace("[[", ""); _local20 = _local20.replace("]]", ""); _local20 = _local20.replace("[[", ""); logfield.text = (_local20 + logfield.text); savedinfo.data.logfield = logfield.text; descriptionbox1.visible = true; disablebuttons(); }; } function __setTab_rollfield_Scene1_fields_0(){ rollfield.tabIndex = 26; } function __setTab_thread3_Scene1_fields_0(){ thread3.tabIndex = 19; } public function askyesnoclick(_arg1:MouseEvent):void{ asktype.askyesno1.visible = false; asktype.askdetail1.visible = true; asktype.askyesno1down.visible = true; asktype.askdetail1down.visible = false; savedinfo.data.asktype = 0; } public function helpclick(_arg1:MouseEvent){ help.visible = true; abouttabclick(null); help.helpbox2.abouttab.addEventListener(MouseEvent.CLICK, abouttabclick); help.helpbox1.howtoplaytab.addEventListener(MouseEvent.CLICK, howtoplaytabclick); } public function threadforwardclick(_arg1:MouseEvent):void{ var _local2 = currentpage; var _local3 = 2; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; threadback.visible = true; threadpagefield.text = ("Page " + String((currentpage[2] + 1))); refreshlists(); } function __setTab_questionfield_Scene1_fields_0(){ questionfield.tabIndex = 25; } public function scenealtered(){ newscene2.visible = true; disablebuttons(); if (Math.random() <= 0.5){ newscene2.alterationtext.text = "Something is unexpectly Positive."; } else { newscene2.alterationtext.text = "Something is unexpectly Negative."; }; var _local1:TextFormat = new TextFormat(); _local1.bold = true; newscene2.alterationtext.setTextFormat(_local1, 24, 32); newscene2.continue1.addEventListener(MouseEvent.CLICK, newscene2done); } public function rollclick(_arg1:MouseEvent):void{ var _local2:*; rollcount++; rollresultfield.text = String(Math.ceil((Math.random() * int(rollfield.text)))); if (rolllabelfield.text == ""){ _local2 = ("#" + rollcount); } else { _local2 = rolllabelfield.text; rolllabelfield.text = ""; }; logfield.text = ((((((("R: " + _local2) + ": ") + rollresultfield.text) + "/") + rollfield.text) + "\n") + logfield.text); savedinfo.data.logfield = logfield.text; } public function randomnpc():String{ var _local1:* = new Array(); var _local2:* = 1; while (_local2 < (savedinfo.data.lists[1].length + 1)) { if (savedinfo.data.lists[1][_local2] != ""){ if (savedinfo.data.lists[1][_local2]){ _local1.push(savedinfo.data.lists[1][_local2]); }; }; _local2++; }; if (_local1.length == 0){ _local1 = new Array("A Random Passerby", "Your Mother", "The Main Antognist"); }; return (_local1[randrange(0, (_local1.length - 1))]); } public function sliderclick(_arg1:MouseEvent):void{ slider.startDrag(true, new Rectangle(661, 395, 0xFF, 0)); _arg1.target.stage.addEventListener(MouseEvent.MOUSE_UP, sliderrelease); _arg1.target.stage.addEventListener(MouseEvent.MOUSE_MOVE, slidermove); } public function npcforwardclick(_arg1:MouseEvent):void{ var _local2 = currentpage; var _local3 = 1; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; npcback.visible = true; npcpagefield.text = ("Page " + String((currentpage[1] + 1))); refreshlists(); } public function pcforwardclick(_arg1:MouseEvent):void{ var _local2 = currentpage; var _local3:int; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; pcback.visible = true; pcpagefield.text = ("Page " + String((currentpage[0] + 1))); refreshlists(); } public function newscene2done(_arg1:MouseEvent){ newscene2.continue1.removeEventListener(MouseEvent.CLICK, newscene2done); newscene2.visible = false; enablebuttons(); addnewlistitems("newscene2"); if (!newscene2.description1.text){ if (newscene1.description1.text){ newscene2.description1.text = newscene1.description1.text; }; if (firstscene3.description1.text){ newscene2.description1.text = firstscene3.description1.text; }; }; logfield.text = ((((((("\nScene #" + savedinfo.data.scenecount) + " (") + newscene2.alterationtext.text.slice(24, 32)) + " Alteration): \n") + newscene2.description1.text) + "\n\n") + logfield.text); savedinfo.data.logfield = logfield.text; newscene2.description1.text = ""; } public function firstsceneskip(_arg1:MouseEvent){ savedinfo.data.insetup = false; firstscene1.continue1.removeEventListener(MouseEvent.CLICK, firstscene2click); firstscene1.skip1.removeEventListener(MouseEvent.CLICK, firstsceneskip); firstscene1.visible = false; fade.alpha = 0.2; fade.visible = false; } public function firstscenedone(_arg1:MouseEvent){ firstscene3.continue1.removeEventListener(MouseEvent.CLICK, firstscenedone); firstscene3.visible = false; savedinfo.data.insetup = false; fade.alpha = 0.2; fade.visible = false; if (Math.random() <= (savedinfo.data.chaos * 0.1)){ if (Math.random() <= 0.5){ logfield.text = ((((("\nScene #" + savedinfo.data.scenecount) + ": \n") + firstscene3.description1.text) + "\n\n") + logfield.text); savedinfo.data.logfield = logfield.text; firstscene3.description1.text = ""; randomevent(); } else { scenealtered(); }; } else { logfield.text = ((((("\nScene #" + savedinfo.data.scenecount) + ": \n") + firstscene3.description1.text) + "\n\n") + logfield.text); savedinfo.data.logfield = logfield.text; firstscene3.description1.text = ""; }; refreshlists(); } public function npcbackclick(_arg1:MouseEvent):void{ var _local2 = currentpage; var _local3 = 1; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (currentpage[1] == 0){ npcback.visible = false; }; npcpagefield.text = ("Page " + String((currentpage[1] + 1))); refreshlists(); } public function morechaotic(_arg1:MouseEvent){ newscene1.lesschaotic.visible = true; newscene1.lesschaoticdown.visible = false; newscene1.morechaotic.visible = false; newscene1.morechaoticdown.visible = true; } public function randomplayer():String{ var _local1:* = new Array(); var _local2:* = 1; while (_local2 < (savedinfo.data.lists[0].length + 1)) { if (savedinfo.data.lists[0][_local2] != ""){ if (savedinfo.data.lists[0][_local2]){ _local1.push(savedinfo.data.lists[0][_local2]); }; }; _local2++; }; if (_local1.length == 0){ _local1.push("You"); }; return (_local1[randrange(0, (_local1.length - 1))]); } public function firstscene2click(_arg1:MouseEvent){ firstscene1.continue1.removeEventListener(MouseEvent.CLICK, firstscene2click); firstscene1.visible = false; firstscene2.visible = true; firstscene2.continue1.addEventListener(MouseEvent.CLICK, firstscene3click); } public function addnewlistitems(_arg1:String){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local2:* = 1; while (_local2 < 5) { _local3 = getChildByName(_arg1); _local4 = _local3.newlistboxes.getChildByName(("nnpc" + _local2)); if (_local4.text){ _local5 = 1; while (_local5 < savedinfo.data.lists[1].length) { if (!savedinfo.data.lists[1][_local5]){ savedinfo.data.lists[1][_local5] = _local4.text; _local4.text = ""; break; }; _local5++; }; if (_local4.text){ trace(savedinfo.data.lists[1][0]); savedinfo.data.lists[1][0] = 1; savedinfo.data.lists[1].push(_local4.text); _local4.text = ""; }; refreshlists(); }; _local2++; }; _local2 = 1; while (_local2 < 3) { _local3 = getChildByName(_arg1); _local6 = _local3.newlistboxes.getChildByName(("nthread" + _local2)); if (_local6.text != ""){ _local5 = 1; while (_local5 < savedinfo.data.lists[2].length) { if (!savedinfo.data.lists[2][_local5]){ savedinfo.data.lists[2][_local5] = _local6.text; _local6.text = ""; break; }; _local5++; }; if (_local6.text){ trace(("data:" + savedinfo.data.lists[2][0])); savedinfo.data.lists[2].push(_local6.text); _local6.text = ""; }; refreshlists(); }; _local2++; }; } public function addtolist(_arg1:String, _arg2:int){ var _local6:*; var _local3:* = new Array("pc", "npc", "thread"); var _local4:* = new Array(8, 8, 8); var _local5:* = 1; while (_local5 < (_local4[_arg2] + 1)) { _local6 = getChildByName((_local3[_arg2] + _local5)); if (_local6.text == ""){ _local6.text = _arg1; break; }; _local5++; }; } function __setTab_rollresultfield_Scene1_fields_0(){ rollresultfield.tabIndex = 26; } public function reset(_arg1:MouseEvent):void{ var _local5:*; var _local6:*; var _local7:*; var _local8:*; savedinfo.clear(); var _local2:* = new Array("pc", "npc", "thread"); var _local3:* = new Array(8, 8, 8); var _local4:* = 0; while (_local4 < 3) { _local5 = 1; while (_local5 < (_local3[_local4] + 1)) { _local6 = getChildByName((_local2[_local4] + _local5)); _local6.text = ""; _local5++; }; _local4++; }; _local5 = 1; while (_local5 < 9) { _local6 = firstscene1.getChildByName(("pc" + _local5)); _local6.text = ""; _local7 = firstscene2.getChildByName(("npc" + _local5)); _local7.text = ""; _local5++; }; _local5 = 1; while (_local5 < 5) { _local8 = firstscene2.getChildByName(("thread" + _local5)); _local8.text = ""; _local5++; }; firstscene3.description1.text = ""; newscene2.description1.text = ""; logfield.text = ""; questionfield.text = ""; rollfield.text = "100"; rolllabelfield.text = ""; rollresultfield.text = "100"; currentpage = new Array(0, 0, 0); pcback.visible = false; npcback.visible = false; threadback.visible = false; pcpagefield.text = "Page 1"; npcpagefield.text = "Page 1"; threadpagefield.text = "Page 1"; slider.x = 750; questionprobability = (1 - ((slider.x - 631) / 315)); probabilityfield.text = probabilitytext[Math.floor((questionprobability * 9))]; questioncount = 0; rollcount = 0; savedinfo.data.lists = new Array(new Array(1, ""), new Array(1, ""), new Array(1, ""), new Array(1, ""), new Array(1, "")); savedinfo.data.scenecount = 1; savedinfo.data.chaos = 5; firstscenestart(); } public function disablebuttons(){ fade.visible = true; } public function refreshlists(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; _local1 = new Array("pc", "npc", "thread"); _local2 = new Array(8, 8, 8); _local3 = 0; while (_local3 < 3) { _local4 = 1; while (_local4 < (_local2[_local3] + 1)) { _local5 = getChildByName((_local1[_local3] + _local4)); _local6 = (_local4 + (currentpage[_local3] * _local2[_local3])); if (savedinfo.data.lists[_local3][_local6]){ _local5.text = savedinfo.data.lists[_local3][_local6]; } else { _local5.text = ""; }; _local4++; }; _local3++; }; if (savedinfo.data.logfield){ logfield.text = savedinfo.data.logfield; }; if (savedinfo.data.insetup){ _local1 = new Array("pc", "npc", "thread"); _local7 = new Array("firstscene1", "firstscene2", "firstscene2"); _local2 = new Array(8, 8, 4); _local3 = 0; while (_local3 < 3) { _local4 = 1; while (_local4 < (_local2[_local3] + 1)) { _local8 = getChildByName(_local7[_local3]); _local9 = _local8.getChildByName((_local1[_local3] + _local4)); if (savedinfo.data.lists[_local3][_local4]){ _local9.text = savedinfo.data.lists[_local3][_local4]; } else { _local9.text = ""; }; _local4++; }; _local3++; }; }; chaosfield.text = String(savedinfo.data.chaos); } public function savefield(_arg1:FocusEvent):void{ var _local2:*; if (_arg1.target.name.slice(0, 2) == "pc"){ _local2 = (int(_arg1.target.name.slice(2)) + (currentpage[0] * 8)); savedinfo.data.lists[0][_local2] = _arg1.target.text; if (_arg1.target.text == ""){ savedinfo.data.lists[0][_local2] = undefined; }; }; if (_arg1.target.name.slice(0, 3) == "npc"){ _local2 = (int(_arg1.target.name.slice(3)) + (currentpage[1] * 8)); savedinfo.data.lists[1][_local2] = _arg1.target.text; if (_arg1.target.text == ""){ savedinfo.data.lists[1][_local2] = undefined; }; }; if (_arg1.target.name.slice(0, 6) == "thread"){ _local2 = (int(_arg1.target.name.slice(6)) + (currentpage[2] * 8)); savedinfo.data.lists[2][_local2] = _arg1.target.text; if (_arg1.target.text == ""){ savedinfo.data.lists[2][_local2] = undefined; }; }; if (_arg1.target.name.slice(0, 5) == "chaos"){ savedinfo.data.chaos = int(chaosfield.text); if (savedinfo.data.chaos < 1){ savedinfo.data.chaos = 1; }; if (savedinfo.data.chaos > 9){ savedinfo.data.chaos = 9; }; chaosfield.text = savedinfo.data.chaos; trace(("chaoschange: " + savedinfo.data.chaos)); }; if (_arg1.target.name == "rollfield"){ if (int(rollfield.text) < 2){ rollfield.text = "2"; }; }; stage.addEventListener(KeyboardEvent.KEY_DOWN, waitforunfocus); } public function abouttabclick(_arg1:MouseEvent){ help.helpbox2.abouttab.enabled = false; help.helpbox1.howtoplaytab.enabled = true; help.setChildIndex(help.helpbox1, 1); help.setChildIndex(help.helpbox2, 0); } public function randomevent(){ var _local1:* = new Array("Something happens [[Elsewhere]], involving \n", "An [[Action]] is taken by [[/npc/]], involving \n", "A [[New Character]] is introduced, and is involved with \n", "[[Progress]] is made to the thread [['/thread/']], involving ", "A [[Setback]] to the thread [['/thread/']] occurs, involving ", "[['/thread/']] is [[Resolved]] as a result of ", "Something [[Positive]] happens to [[/pc/]], involving \n", "Something [[Negative]] happens to [[/pc/]], involving \n", "Something of [[Ambiguous]] significance occurs, involving \n", "Something [[Positive]] happens to [[/npc/]], involving \n", "Something [[Negative]] happens to [[/npc/]], involving \n"); var _local2:* = new Array("the [[Attainment]] of", "the [[Beginning]] of", "the [[Neglect]] of", "a [[Fight]] over", "the [[Recruitment]] of", "a [[Triumph]] of", "the [[Defeat]] of", "a [[Violation]] of", "the [[Opposition]] of", "[[Malice]] regarding", "the [[Communication]] of", "the [[Persecution]] of", "An [[Increase]] of", "a [[Decrease]] of", "the [[Abandonment]] of", "the [[Gratification]] of", "an [[Inquiry]] about", "the [[Antagonizing]] of", "the [[Movement]] of", "a [[Waste]] of", "a [[Truce]] about", "the [[Release]] of ", "the [[Befriending]] of", "the [[Judgment]] of", "the [[Desertion]] of", "the [[Domination]] of", "[[Procrastination]] over", "the [[Praise]] of", "the [[Separation]] of", "the [[Taking]] of", "the [[Breaking]] of", "the [[Healing]] of", "a [[Delay]] of", "the [[Stopping]] of", "a [[Lie]] about", "the [[Return]] of", "the [[Imitation]] of", "a [[Struggle]] for", "the [[Informing]] of", "the [[Bestowing]] of", "the [[Postponement]] of", "the [[Exposing]] of", "a [[Haggle]] over", "the [[Imprisonment]] of", "the [[Release]] of", "a [[Celebration]] of", "a [[Development]] of", "the [[Travel]] of", "the [[Blocking]] of", "the [[Harm]] of", "the [[Debasement]] of", "the [[Overindulgence]] of", "the [[Adjournment]] of", "[[Adversity]] amid", "the [[Killing]] of", "the [[Disruption]] of", "the [[Usurpation]] of", "the [[Creation]] of", "a [[Betrayal]] of", "an [[Agreement]] about", "an [[Abuse]] of", "the [[Oppression]] of", "an [[Inspection]] of", "an [[Ambush]] and", "the [[Spying]] of", "an [[Attachment]] to", "the [[Carrying]] of", "the [[Opening]] of", "[[Carelessness]] and", "the [[Ruination]] of", "the [[Extravagance]] of", "a [[Trick]] regarding", "the [[Arrival]] of", "a [[Proposition]] regarding", "a [[Division]] of", "a [[Refusal]] of", "the [[Mistrust]] of", "a [[Deception]] regarding", "the [[Cruelty]] of", "[[Intolerance]] of", "the [[Trust]] of", "[[Excitement]] regarding", "the [[Activity]] of", "the [[Assistance]] of", "the [[Care]] of", "the [[Negligence]] of", "a [[Passion]] for", "the [[Hard Work]] of", "the [[Control]] of", "the [[Attraction]] of", "a [[Failure]] of", "the [[Pursuit]] of", "the [[Vengeance]] of", "[[Proceedings]] regarding", "a [[Dispute]] over", "the [[Punishment]] of", "[[Guidance]] regarding", "the [[Transformation]] of", "the [[Overthrow]] of", "the [[Oppression]] of", "a [[Change]] of", "the [[Revelation]] of"); var _local3:* = new Array(" [[Goals]]", " [[Dreams]]", " the [[Environment]]", " the [[Outside]]", " the [[Inside]]", " [[Reality]]", " [[Allies]]", " [[Enemies]]", " [[Evil]]", " [[Good]]", " [[Emotions]]", " [[Opposition]]", " [[War]]", " [[Peace]]", " the [[Innocent]]", " [[Love]]", " the [[Spiritual]]", " the [[intellectual]]", " [[New ideas]]", " [[Joy]]", " [[Messages]]", " [[Energy]]", " [[Balance]]", " [[Tension]]", " [[Friendship]]", " the [[Physical]]", " a [[Project]]", " [[Pleasures]]", " [[Pain]]", " [[Possessions]]", " [[Benefits]]", " [[Plans]]", " [[Lies]]", " [[Expectations]]", " [[Legal Matters]]", " [[Bureaucracy]]", " [[Business]]", " a [[Path]]", " [[News]]", " [[Exterior Factors]]", " [[Advice]]", " a [[Plot]]", " [[Competition]]", " a [[Prison]]", " an [[Illness]]", " [[Food]]", " [[Attention]]", " [[Success]]", " [[Failure]]", " [[Travel]]", " [[Jealousy]]", " a [[Dispute]]", " [[Home]]", " an [[Investment]]", " [[Suffering]]", " [[Wishes]]", " [[Tactics]]", " a [[Stalemate]]", " [[Randomness]]", " [[Misfortune]]", " [[Death]]", " a [[Disruption]]", " [[Power]]", " a [[Burden]]", " [[Intrigues]]", " [[Fears]]", " an [[Ambush]]", " a [[Rumor]]", " [[Wounds]]", " [[Extravagance]]", " a [[Representative]]", " [[Adversities]]", " [[Opulence]]", " [[Liberty]]", " the [[Military]]", " the [[Mundane]]", " [[Trials]]", " the [[Masses]]", " a [[Vehicle]]", " [[Art]]", " [[Victory]]", " a [[Dispute]]", " [[Riches]]", " the [[Status Quo]]", " [[Technology]]", " [[Hope]]", " [[Magic]]", " [[Illusions]]", " [[Portals]]", " [[Danger]]", " [[Weapons]]", " [[Animals]]", " [[Weather]]", " [[Elements]]", " [[Nature]]", " [[The public]]", " [[Leadership]]", " [[Fame]]", " [[Anger]]", " [[Information]]", " a [[Hero]]", " a [[World]]", " a [[Kitty]]"); var _local4:* = randrange(0, (_local1.length - 1)); var _local5:* = randrange(0, (_local2.length - 1)); var _local6:* = randrange(0, (_local2.length - 1)); var _local7:* = randomplayer(); var _local8:* = randomnpc(); var _local9:* = randomthread(); trace(_local7); trace(_local8); trace(_local9); var _local10:* = ((_local1[_local4] + _local2[_local5]) + _local3[_local6]); _local10 = _local10.replace("/pc/", _local7); _local10 = _local10.replace("/npc/", _local8); _local10 = _local10.replace("/thread/", _local9); var _local11:* = new Array(new Array(0, 0), new Array(0, 0), new Array(0, 0), new Array(0, 0), new Array(0, 0)); var _local12:* = 0; while (_local12 < 5) { _local11[_local12][0] = _local10.indexOf("[["); _local10 = _local10.replace("[[", ""); _local11[_local12][1] = _local10.indexOf("]]"); _local10 = _local10.replace("]]", ""); _local12++; }; var _local13:TextFormat = new TextFormat(); _local13.bold = true; eventbox1.eventfield.text = _local10; eventbox1.eventfield.wordWrap = true; _local12 = 0; while (_local12 < 5) { if (_local11[_local12][1] > 0){ eventbox1.eventfield.setTextFormat(_local13, _local11[_local12][0], _local11[_local12][1]); }; _local12++; }; var _local14:* = new Array("Remote Event:", "Action by /npc/:", "New NPC:", "Progress on '/thread/':", "Setback to '/thread/':", "Resolution of '/thread/':", "Positive for /pc/:", "Negative for /pc/:", "Ambiguous Significance:", "Positive for /npc/:", "Negative for /npc/:"); var _local15:* = ((((("E: " + _local14[_local4]) + " ") + _local2[_local5]) + _local3[_local6]) + "\n"); _local15 = _local15.replace("]]", ""); _local15 = _local15.replace("[[", ""); _local15 = _local15.replace("]]", ""); _local15 = _local15.replace("[[", ""); _local15 = _local15.replace("/pc/", _local7); _local15 = _local15.replace("/npc/", _local8); _local15 = _local15.replace("/thread/", _local9); logfield.text = (_local15 + logfield.text); savedinfo.data.logfield = logfield.text; eventbox1.visible = true; disablebuttons(); } function __setTab_pc2_Scene1_fields_0(){ pc2.tabIndex = 2; } function __setTab_pc3_Scene1_fields_0(){ pc3.tabIndex = 3; } function __setTab_pc4_Scene1_fields_0(){ pc4.tabIndex = 4; } function __setTab_pc5_Scene1_fields_0(){ pc5.tabIndex = 5; } function __setTab_pc6_Scene1_fields_0(){ pc6.tabIndex = 6; } function __setTab_pc7_Scene1_fields_0(){ pc7.tabIndex = 7; } function __setTab_pc8_Scene1_fields_0(){ pc8.tabIndex = 8; } public function askdetailclick(_arg1:MouseEvent):void{ asktype.askyesno1.visible = true; asktype.askdetail1.visible = false; asktype.askyesno1down.visible = false; asktype.askdetail1down.visible = true; savedinfo.data.asktype = 1; } function __setTab_pc1_Scene1_fields_0(){ pc1.tabIndex = 1; } public function eventdoneclick(_arg1:MouseEvent):void{ addnewlistitems("eventbox1"); eventbox1.visible = false; enablebuttons(); } } }//package GMEmulatorRU_fla
Section 18
//newlistboxes_21 (GMEmulatorRU_fla.newlistboxes_21) package GMEmulatorRU_fla { import flash.display.*; import flash.text.*; public dynamic class newlistboxes_21 extends MovieClip { public var nnpc3:TextField; public var nnpc4:TextField; public var nthread1:TextField; public var nthread2:TextField; public var nnpc1:TextField; public var nnpc2:TextField; public function newlistboxes_21(){ __setTab_nnpc1_newlistboxes_Layer1_0(); __setTab_nnpc2_newlistboxes_Layer1_0(); __setTab_nnpc3_newlistboxes_Layer1_0(); __setTab_nnpc4_newlistboxes_Layer1_0(); __setTab_nthread1_newlistboxes_Layer1_0(); __setTab_nthread2_newlistboxes_Layer1_0(); } function __setTab_nthread2_newlistboxes_Layer1_0(){ nthread2.tabIndex = 33; } function __setTab_nnpc1_newlistboxes_Layer1_0(){ nnpc1.tabIndex = 28; } function __setTab_nnpc2_newlistboxes_Layer1_0(){ nnpc2.tabIndex = 29; } function __setTab_nnpc3_newlistboxes_Layer1_0(){ nnpc3.tabIndex = 30; } function __setTab_nnpc4_newlistboxes_Layer1_0(){ nnpc4.tabIndex = 31; } function __setTab_nthread1_newlistboxes_Layer1_0(){ nthread1.tabIndex = 32; } } }//package GMEmulatorRU_fla
Section 19
//questionbox1_19 (GMEmulatorRU_fla.questionbox1_19) package GMEmulatorRU_fla { import flash.display.*; public dynamic class questionbox1_19 extends MovieClip { public var help2:SimpleButton; public var done:SimpleButton; public var newlistboxes:MovieClip; public function questionbox1_19(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame1(){ stop(); } function frame2(){ stop(); } function frame4(){ stop(); } function frame3(){ stop(); } } }//package GMEmulatorRU_fla
Section 20
//scenebox1_27 (GMEmulatorRU_fla.scenebox1_27) package GMEmulatorRU_fla { import flash.display.*; import flash.text.*; public dynamic class scenebox1_27 extends MovieClip { public var help2:SimpleButton; public var skip1:SimpleButton; public var pc1:TextField; public var pc2:TextField; public var pc3:TextField; public var pc4:TextField; public var pc5:TextField; public var pc6:TextField; public var pc7:TextField; public var pc8:TextField; public var eventfield:TextField; public var continue1:SimpleButton; public function scenebox1_27(){ __setTab_pc1_scenebox1_Layer2_0(); __setTab_pc2_scenebox1_Layer2_0(); __setTab_pc3_scenebox1_Layer2_0(); __setTab_pc4_scenebox1_Layer2_0(); __setTab_pc5_scenebox1_Layer2_0(); __setTab_pc6_scenebox1_Layer2_0(); __setTab_pc7_scenebox1_Layer2_0(); __setTab_pc8_scenebox1_Layer2_0(); } function __setTab_pc8_scenebox1_Layer2_0(){ pc8.tabIndex = 41; } function __setTab_pc4_scenebox1_Layer2_0(){ pc4.tabIndex = 37; } function __setTab_pc2_scenebox1_Layer2_0(){ pc2.tabIndex = 35; } function __setTab_pc6_scenebox1_Layer2_0(){ pc6.tabIndex = 39; } function __setTab_pc7_scenebox1_Layer2_0(){ pc7.tabIndex = 40; } function __setTab_pc5_scenebox1_Layer2_0(){ pc5.tabIndex = 38; } function __setTab_pc1_scenebox1_Layer2_0(){ pc1.tabIndex = 34; } function __setTab_pc3_scenebox1_Layer2_0(){ pc3.tabIndex = 36; } } }//package GMEmulatorRU_fla
Section 21
//scenebox2_30 (GMEmulatorRU_fla.scenebox2_30) package GMEmulatorRU_fla { import flash.display.*; import flash.text.*; public dynamic class scenebox2_30 extends MovieClip { public var help2:SimpleButton; public var eventfield:TextField; public var thread2:TextField; public var thread3:TextField; public var continue1:SimpleButton; public var npc1:TextField; public var thread4:TextField; public var npc3:TextField; public var npc4:TextField; public var npc5:TextField; public var npc6:TextField; public var npc7:TextField; public var npc8:TextField; public var npc2:TextField; public var thread1:TextField; public function scenebox2_30(){ __setTab_npc1_scenebox2_Layer1_0(); __setTab_npc2_scenebox2_Layer1_0(); __setTab_npc3_scenebox2_Layer1_0(); __setTab_npc4_scenebox2_Layer1_0(); __setTab_npc5_scenebox2_Layer1_0(); __setTab_npc6_scenebox2_Layer1_0(); __setTab_npc7_scenebox2_Layer1_0(); __setTab_npc8_scenebox2_Layer1_0(); __setTab_thread1_scenebox2_Layer1_0(); __setTab_thread2_scenebox2_Layer1_0(); __setTab_thread3_scenebox2_Layer1_0(); __setTab_thread4_scenebox2_Layer1_0(); } function __setTab_npc1_scenebox2_Layer1_0(){ npc1.tabIndex = 42; } function __setTab_npc2_scenebox2_Layer1_0(){ npc2.tabIndex = 43; } function __setTab_thread2_scenebox2_Layer1_0(){ thread2.tabIndex = 51; } function __setTab_npc8_scenebox2_Layer1_0(){ npc8.tabIndex = 49; } function __setTab_npc7_scenebox2_Layer1_0(){ npc7.tabIndex = 48; } function __setTab_npc5_scenebox2_Layer1_0(){ npc5.tabIndex = 46; } function __setTab_npc3_scenebox2_Layer1_0(){ npc3.tabIndex = 44; } function __setTab_thread3_scenebox2_Layer1_0(){ thread3.tabIndex = 52; } function __setTab_thread1_scenebox2_Layer1_0(){ thread1.tabIndex = 50; } function __setTab_npc6_scenebox2_Layer1_0(){ npc6.tabIndex = 47; } function __setTab_npc4_scenebox2_Layer1_0(){ npc4.tabIndex = 45; } function __setTab_thread4_scenebox2_Layer1_0(){ thread4.tabIndex = 53; } } }//package GMEmulatorRU_fla
Section 22
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 23
//RadioButton_disabledIcon (RadioButton_disabledIcon) package { import flash.display.*; public dynamic class RadioButton_disabledIcon extends MovieClip { } }//package
Section 24
//RadioButton_downIcon (RadioButton_downIcon) package { import flash.display.*; public dynamic class RadioButton_downIcon extends MovieClip { } }//package
Section 25
//RadioButton_overIcon (RadioButton_overIcon) package { import flash.display.*; public dynamic class RadioButton_overIcon extends MovieClip { } }//package
Section 26
//RadioButton_selectedDisabledIcon (RadioButton_selectedDisabledIcon) package { import flash.display.*; public dynamic class RadioButton_selectedDisabledIcon extends MovieClip { } }//package
Section 27
//RadioButton_selectedDownIcon (RadioButton_selectedDownIcon) package { import flash.display.*; public dynamic class RadioButton_selectedDownIcon extends MovieClip { } }//package
Section 28
//RadioButton_selectedOverIcon (RadioButton_selectedOverIcon) package { import flash.display.*; public dynamic class RadioButton_selectedOverIcon extends MovieClip { } }//package
Section 29
//RadioButton_selectedUpIcon (RadioButton_selectedUpIcon) package { import flash.display.*; public dynamic class RadioButton_selectedUpIcon extends MovieClip { } }//package
Section 30
//RadioButton_upIcon (RadioButton_upIcon) package { import flash.display.*; public dynamic class RadioButton_upIcon extends MovieClip { } }//package

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:21
Symbol 3 MovieClip {fl.core.ComponentShim}Used by:21
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip {RadioButton_upIcon}Uses:4Used by:21
Symbol 6 GraphicUsed by:7 16
Symbol 7 MovieClip {RadioButton_overIcon}Uses:6Used by:21
Symbol 8 GraphicUsed by:9 17
Symbol 9 MovieClip {RadioButton_downIcon}Uses:8Used by:21
Symbol 10 GraphicUsed by:11 18
Symbol 11 MovieClip {RadioButton_disabledIcon}Uses:10Used by:21
Symbol 12 GraphicUsed by:15
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:15 16 17 18
Symbol 15 MovieClip {RadioButton_selectedUpIcon}Uses:12 14Used by:21
Symbol 16 MovieClip {RadioButton_selectedOverIcon}Uses:6 14Used by:21
Symbol 17 MovieClip {RadioButton_selectedDownIcon}Uses:8 14Used by:21
Symbol 18 MovieClip {RadioButton_selectedDisabledIcon}Uses:10 14Used by:21
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip {focusRectSkin}Uses:19Used by:21
Symbol 21 MovieClip {fl.controls.RadioButton}Uses:2 3 5 7 9 11 15 16 17 18 20
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:141  Timeline
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 FontUsed by:28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 146 147 148 149 150 151 219 220 221 222 223 224 225 226 230 231 232 233 234 235 236 237 241 242 243 244 250 263 285 298 299 305
Symbol 28 EditableTextUses:27Used by:Timeline
Symbol 29 EditableTextUses:27Used by:Timeline
Symbol 30 EditableTextUses:27Used by:Timeline
Symbol 31 EditableTextUses:27Used by:Timeline
Symbol 32 EditableTextUses:27Used by:Timeline
Symbol 33 EditableTextUses:27Used by:Timeline
Symbol 34 EditableTextUses:27Used by:Timeline
Symbol 35 EditableTextUses:27Used by:Timeline
Symbol 36 EditableTextUses:27Used by:Timeline
Symbol 37 EditableTextUses:27Used by:Timeline
Symbol 38 EditableTextUses:27Used by:Timeline
Symbol 39 EditableTextUses:27Used by:Timeline
Symbol 40 EditableTextUses:27Used by:Timeline
Symbol 41 EditableTextUses:27Used by:Timeline
Symbol 42 EditableTextUses:27Used by:Timeline
Symbol 43 EditableTextUses:27Used by:Timeline
Symbol 44 EditableTextUses:27Used by:Timeline
Symbol 45 EditableTextUses:27Used by:Timeline
Symbol 46 EditableTextUses:27Used by:Timeline
Symbol 47 EditableTextUses:27Used by:Timeline
Symbol 48 EditableTextUses:27Used by:Timeline
Symbol 49 EditableTextUses:27Used by:Timeline
Symbol 50 EditableTextUses:27Used by:Timeline
Symbol 51 EditableTextUses:27Used by:Timeline
Symbol 52 EditableTextUses:27Used by:Timeline
Symbol 53 EditableTextUses:27Used by:Timeline
Symbol 54 EditableTextUses:27Used by:Timeline
Symbol 55 EditableTextUses:27Used by:Timeline
Symbol 56 EditableTextUses:27Used by:Timeline
Symbol 57 EditableTextUses:27Used by:Timeline
Symbol 58 EditableTextUses:27Used by:Timeline
Symbol 59 EditableTextUses:27Used by:Timeline
Symbol 60 EditableTextUses:27Used by:Timeline
Symbol 61 EditableTextUses:27Used by:Timeline
Symbol 62 EditableTextUses:27Used by:Timeline
Symbol 63 EditableTextUses:27Used by:Timeline
Symbol 64 EditableTextUses:27Used by:Timeline
Symbol 65 EditableTextUses:27Used by:Timeline
Symbol 66 EditableTextUses:27Used by:Timeline
Symbol 67 EditableTextUses:27Used by:Timeline
Symbol 68 EditableTextUses:27Used by:Timeline
Symbol 69 EditableTextUses:27Used by:Timeline
Symbol 70 EditableTextUses:27Used by:Timeline
Symbol 71 BitmapUsed by:74 87
Symbol 72 BitmapUsed by:74 87 95
Symbol 73 BitmapUsed by:74 87 95
Symbol 74 GraphicUses:71 72 73Used by:86 94 108
Symbol 75 GraphicUsed by:86 94 108
Symbol 76 FontUsed by:77 89 93 97 107 126 132 162 174 207 213 259 266 273
Symbol 77 TextUses:76Used by:86
Symbol 78 BitmapUsed by:81 90
Symbol 79 BitmapUsed by:81 90 98
Symbol 80 BitmapUsed by:81 90 98
Symbol 81 GraphicUses:78 79 80Used by:86 94 108
Symbol 82 BitmapUsed by:85 91
Symbol 83 BitmapUsed by:85 91 99
Symbol 84 BitmapUsed by:85 91 99
Symbol 85 GraphicUses:82 83 84Used by:86 94 108
Symbol 86 ButtonUses:74 75 77 81 85Used by:Timeline
Symbol 87 GraphicUses:71 72 73Used by:92
Symbol 88 GraphicUsed by:92
Symbol 89 TextUses:76Used by:92
Symbol 90 GraphicUses:78 79 80Used by:92
Symbol 91 GraphicUses:82 83 84Used by:92
Symbol 92 ButtonUses:87 88 89 90 91Used by:Timeline
Symbol 93 TextUses:76Used by:94
Symbol 94 ButtonUses:74 75 93 81 85Used by:Timeline
Symbol 95 GraphicUses:73 72Used by:100
Symbol 96 GraphicUsed by:100
Symbol 97 TextUses:76Used by:100
Symbol 98 GraphicUses:80 79Used by:100
Symbol 99 GraphicUses:84 83Used by:100
Symbol 100 ButtonUses:95 96 97 98 99Used by:Timeline
Symbol 101 GraphicUsed by:102
Symbol 102 ButtonUses:101Used by:Timeline
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:105
Symbol 105 ButtonUses:104Used by:106
Symbol 106 MovieClipUses:105Used by:Timeline
Symbol 107 TextUses:76Used by:108
Symbol 108 ButtonUses:74 75 107 81 85Used by:Timeline
Symbol 109 GraphicUsed by:113
Symbol 110 GraphicUsed by:113
Symbol 111 GraphicUsed by:113
Symbol 112 GraphicUsed by:113
Symbol 113 ButtonUses:109 110 111 112Used by:Timeline
Symbol 114 GraphicUsed by:118
Symbol 115 GraphicUsed by:118
Symbol 116 GraphicUsed by:118
Symbol 117 GraphicUsed by:118
Symbol 118 ButtonUses:114 115 116 117Used by:Timeline
Symbol 119 GraphicUsed by:123
Symbol 120 GraphicUsed by:123
Symbol 121 GraphicUsed by:123
Symbol 122 GraphicUsed by:123
Symbol 123 ButtonUses:119 120 121 122Used by:Timeline
Symbol 124 GraphicUsed by:129
Symbol 125 GraphicUsed by:129
Symbol 126 TextUses:76Used by:129 137
Symbol 127 GraphicUsed by:129
Symbol 128 GraphicUsed by:129
Symbol 129 ButtonUses:124 125 126 127 128Used by:140
Symbol 130 GraphicUsed by:135
Symbol 131 GraphicUsed by:135
Symbol 132 TextUses:76Used by:135 139
Symbol 133 GraphicUsed by:135
Symbol 134 GraphicUsed by:135
Symbol 135 ButtonUses:130 131 132 133 134Used by:140
Symbol 136 GraphicUsed by:137
Symbol 137 ButtonUses:136 126Used by:140
Symbol 138 GraphicUsed by:139
Symbol 139 ButtonUses:138 132Used by:140
Symbol 140 MovieClipUses:129 135 137 139Used by:Timeline
Symbol 141 MovieClipUses:23Used by:Timeline
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:187 202
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:156
Symbol 146 EditableTextUses:27Used by:156
Symbol 147 EditableTextUses:27Used by:156
Symbol 148 EditableTextUses:27Used by:156
Symbol 149 EditableTextUses:27Used by:156
Symbol 150 EditableTextUses:27Used by:156
Symbol 151 EditableTextUses:27Used by:156
Symbol 152 FontUsed by:153 154 155 192 194 204 228 238 246 247 270 283 286 290 291 300
Symbol 153 TextUses:152Used by:156
Symbol 154 TextUses:152Used by:156
Symbol 155 TextUses:152Used by:156
Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21}Uses:145 146 147 148 149 150 151 153 154 155Used by:187 193 202 287
Symbol 157 BitmapUsed by:160 172 205 211 257
Symbol 158 BitmapUsed by:160 172 205 211 257
Symbol 159 BitmapUsed by:160 205 211 257
Symbol 160 GraphicUses:157 158 159Used by:171
Symbol 161 GraphicUsed by:171
Symbol 162 TextUses:76Used by:171
Symbol 163 BitmapUsed by:166 175 208 214 260
Symbol 164 BitmapUsed by:166 175 208 214 260
Symbol 165 BitmapUsed by:166 208 214 260
Symbol 166 GraphicUses:163 164 165Used by:171
Symbol 167 BitmapUsed by:170 176 209 215 261
Symbol 168 BitmapUsed by:170 176 209 215 261
Symbol 169 BitmapUsed by:170 209 215 261
Symbol 170 GraphicUses:167 168 169Used by:171
Symbol 171 ButtonUses:160 161 162 166 170Used by:187 193 202 294 306
Symbol 172 GraphicUses:157 158Used by:177
Symbol 173 GraphicUsed by:177
Symbol 174 TextUses:76Used by:177
Symbol 175 GraphicUses:163 164Used by:177
Symbol 176 GraphicUses:167 168Used by:177
Symbol 177 ButtonUses:172 173 174 175 176Used by:187 193 202 227 245 251 281 287
Symbol 178 FontUsed by:179 180 181 182 183 184 185 186 195 196 197 198 199 200 201
Symbol 179 EditableTextUses:178Used by:187
Symbol 180 EditableTextUses:178Used by:187
Symbol 181 EditableTextUses:178Used by:187
Symbol 182 EditableTextUses:178Used by:187
Symbol 183 EditableTextUses:178Used by:187
Symbol 184 EditableTextUses:178Used by:187
Symbol 185 EditableTextUses:178Used by:187
Symbol 186 EditableTextUses:178Used by:187
Symbol 187 MovieClip {GMEmulatorRU_fla.questionbox1_19}Uses:143 156 171 177 179 180 181 182 183 184 185 186Used by:Timeline
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:188Used by:193 227 245 251
Symbol 190 FontUsed by:191 203 256 282
Symbol 191 EditableTextUses:190Used by:193
Symbol 192 EditableTextUses:152Used by:193
Symbol 193 MovieClipUses:189 156 191 192 171 177Used by:Timeline
Symbol 194 EditableTextUses:152Used by:202
Symbol 195 EditableTextUses:178Used by:202
Symbol 196 EditableTextUses:178Used by:202
Symbol 197 EditableTextUses:178Used by:202
Symbol 198 EditableTextUses:178Used by:202
Symbol 199 EditableTextUses:178Used by:202
Symbol 200 EditableTextUses:178Used by:202
Symbol 201 EditableTextUses:178Used by:202
Symbol 202 MovieClip {GMEmulatorRU_fla.descriptionbox1_26}Uses:143 156 171 177 194 195 196 197 198 199 200 201Used by:Timeline
Symbol 203 TextUses:190Used by:227 245 251
Symbol 204 TextUses:152Used by:227
Symbol 205 GraphicUses:157 158 159Used by:210
Symbol 206 GraphicUsed by:210
Symbol 207 TextUses:76Used by:210
Symbol 208 GraphicUses:163 164 165Used by:210
Symbol 209 GraphicUses:167 168 169Used by:210
Symbol 210 ButtonUses:205 206 207 208 209Used by:227 245 251 281 287
Symbol 211 GraphicUses:157 158 159Used by:216
Symbol 212 GraphicUsed by:216
Symbol 213 TextUses:76Used by:216
Symbol 214 GraphicUses:163 164 165Used by:216
Symbol 215 GraphicUses:167 168 169Used by:216
Symbol 216 ButtonUses:211 212 213 214 215Used by:227
Symbol 217 BitmapUsed by:218 229
Symbol 218 GraphicUses:217Used by:227
Symbol 219 EditableTextUses:27Used by:227
Symbol 220 EditableTextUses:27Used by:227
Symbol 221 EditableTextUses:27Used by:227
Symbol 222 EditableTextUses:27Used by:227
Symbol 223 EditableTextUses:27Used by:227
Symbol 224 EditableTextUses:27Used by:227
Symbol 225 EditableTextUses:27Used by:227
Symbol 226 EditableTextUses:27Used by:227
Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27}Uses:189 203 204 210 216 177 218 219 220 221 222 223 224 225 226Used by:Timeline
Symbol 228 TextUses:152Used by:245
Symbol 229 GraphicUses:217Used by:245
Symbol 230 EditableTextUses:27Used by:245
Symbol 231 EditableTextUses:27Used by:245
Symbol 232 EditableTextUses:27Used by:245
Symbol 233 EditableTextUses:27Used by:245
Symbol 234 EditableTextUses:27Used by:245
Symbol 235 EditableTextUses:27Used by:245
Symbol 236 EditableTextUses:27Used by:245
Symbol 237 EditableTextUses:27Used by:245
Symbol 238 TextUses:152Used by:245
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:245
Symbol 241 EditableTextUses:27Used by:245
Symbol 242 EditableTextUses:27Used by:245
Symbol 243 EditableTextUses:27Used by:245
Symbol 244 EditableTextUses:27Used by:245
Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30}Uses:189 203 228 210 177 229 230 231 232 233 234 235 236 237 238 240 241 242 243 244Used by:Timeline
Symbol 246 TextUses:152Used by:251 281
Symbol 247 TextUses:152Used by:251 281 287
Symbol 248 BitmapUsed by:249 284
Symbol 249 GraphicUses:248Used by:251 281
Symbol 250 EditableTextUses:27Used by:251
Symbol 251 MovieClipUses:189 203 210 177 246 247 249 250Used by:Timeline
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClipUses:252Used by:281 287
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClipUses:254Used by:281
Symbol 256 TextUses:190Used by:281
Symbol 257 GraphicUses:157 158 159Used by:262
Symbol 258 GraphicUsed by:262
Symbol 259 TextUses:76Used by:262
Symbol 260 GraphicUses:163 164 165Used by:262
Symbol 261 GraphicUses:167 168 169Used by:262
Symbol 262 ButtonUses:257 258 259 260 261Used by:281
Symbol 263 EditableTextUses:27Used by:281
Symbol 264 GraphicUsed by:269
Symbol 265 GraphicUsed by:269
Symbol 266 TextUses:76Used by:269 278
Symbol 267 GraphicUsed by:269
Symbol 268 GraphicUsed by:269
Symbol 269 ButtonUses:264 265 266 267 268Used by:281
Symbol 270 TextUses:152Used by:281
Symbol 271 GraphicUsed by:276
Symbol 272 GraphicUsed by:276
Symbol 273 TextUses:76Used by:276 280
Symbol 274 GraphicUsed by:276
Symbol 275 GraphicUsed by:276
Symbol 276 ButtonUses:271 272 273 274 275Used by:281
Symbol 277 GraphicUsed by:278
Symbol 278 ButtonUses:277 266Used by:281
Symbol 279 GraphicUsed by:280
Symbol 280 ButtonUses:279 273Used by:281
Symbol 281 MovieClipUses:253 255 256 210 262 177 246 247 249 263 269 270 276 278 280Used by:Timeline
Symbol 282 TextUses:190Used by:287
Symbol 283 TextUses:152Used by:287
Symbol 284 GraphicUses:248Used by:287
Symbol 285 EditableTextUses:27Used by:287
Symbol 286 EditableTextUses:152Used by:287
Symbol 287 MovieClipUses:253 282 210 177 247 283 284 285 156 286Used by:Timeline
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:288Used by:294
Symbol 290 EditableTextUses:152Used by:294
Symbol 291 TextUses:152Used by:294
Symbol 292 GraphicUsed by:293
Symbol 293 ButtonUses:292Used by:294
Symbol 294 MovieClipUses:289 290 171 291 293Used by:307
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:306
Symbol 297 Font
Symbol 298 EditableTextUses:27Used by:306
Symbol 299 EditableTextUses:27Used by:306
Symbol 300 TextUses:152Used by:306
Symbol 301 GraphicUsed by:302
Symbol 302 ButtonUses:301Used by:306
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:306
Symbol 305 TextUses:27Used by:306
Symbol 306 MovieClipUses:296 298 299 171 300 302 304 305Used by:307
Symbol 307 MovieClipUses:294 306Used by:Timeline
Symbol 308 MovieClip {fl.controls.Button}

Instance Names

"pc1"Frame 1Symbol 28 EditableText
"probabilityfield"Frame 1Symbol 34 EditableText
"questionfield"Frame 1Symbol 35 EditableText
"chaosfield"Frame 1Symbol 37 EditableText
"pc2"Frame 1Symbol 38 EditableText
"pc3"Frame 1Symbol 39 EditableText
"pc4"Frame 1Symbol 40 EditableText
"pc5"Frame 1Symbol 41 EditableText
"pc6"Frame 1Symbol 42 EditableText
"pc7"Frame 1Symbol 43 EditableText
"pc8"Frame 1Symbol 44 EditableText
"npc1"Frame 1Symbol 45 EditableText
"npc2"Frame 1Symbol 46 EditableText
"npc3"Frame 1Symbol 47 EditableText
"npc4"Frame 1Symbol 48 EditableText
"npc5"Frame 1Symbol 49 EditableText
"npc6"Frame 1Symbol 50 EditableText
"npc7"Frame 1Symbol 51 EditableText
"npc8"Frame 1Symbol 52 EditableText
"logfield"Frame 1Symbol 53 EditableText
"thread1"Frame 1Symbol 54 EditableText
"thread3"Frame 1Symbol 55 EditableText
"thread4"Frame 1Symbol 56 EditableText
"thread5"Frame 1Symbol 57 EditableText
"thread6"Frame 1Symbol 58 EditableText
"thread7"Frame 1Symbol 59 EditableText
"threadpagefield"Frame 1Symbol 60 EditableText
"thread8"Frame 1Symbol 61 EditableText
"thread2"Frame 1Symbol 62 EditableText
"npcpagefield"Frame 1Symbol 63 EditableText
"pcpagefield"Frame 1Symbol 64 EditableText
"rolllabelfield"Frame 1Symbol 65 EditableText
"rollfield"Frame 1Symbol 67 EditableText
"rollresultfield"Frame 1Symbol 68 EditableText
"ask1"Frame 1Symbol 86 Button
"endscene1"Frame 1Symbol 92 Button
"reset1"Frame 1Symbol 94 Button
"help1"Frame 1Symbol 100 Button
"sliderbar"Frame 1Symbol 102 Button
"slider"Frame 1Symbol 106 MovieClip
"roll1"Frame 1Symbol 108 Button
"pcforward"Frame 1Symbol 113 Button
"pcback"Frame 1Symbol 118 Button
"npcforward"Frame 1Symbol 113 Button
"npcback"Frame 1Symbol 118 Button
"threadback"Frame 1Symbol 118 Button
"threadforward"Frame 1Symbol 123 Button
"asktype"Frame 1Symbol 140 MovieClip
"fade"Frame 1Symbol 141 MovieClip
"questionbox1"Frame 1Symbol 187 MovieClip {GMEmulatorRU_fla.questionbox1_19}
"eventbox1"Frame 1Symbol 193 MovieClip
"descriptionbox1"Frame 1Symbol 202 MovieClip {GMEmulatorRU_fla.descriptionbox1_26}
"firstscene1"Frame 1Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27}
"firstscene2"Frame 1Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30}
"firstscene3"Frame 1Symbol 251 MovieClip
"newscene1"Frame 1Symbol 281 MovieClip
"newscene2"Frame 1Symbol 287 MovieClip
"help"Frame 1Symbol 307 MovieClip
"slider"Symbol 106 MovieClip Frame 1Symbol 105 Button
"askyesno1"Symbol 140 MovieClip Frame 1Symbol 129 Button
"askdetail1"Symbol 140 MovieClip Frame 1Symbol 135 Button
"askyesno1down"Symbol 140 MovieClip Frame 1Symbol 137 Button
"askdetail1down"Symbol 140 MovieClip Frame 1Symbol 139 Button
"nnpc1"Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21} Frame 1Symbol 146 EditableText
"nnpc2"Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21} Frame 1Symbol 147 EditableText
"nnpc3"Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21} Frame 1Symbol 148 EditableText
"nnpc4"Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21} Frame 1Symbol 149 EditableText
"nthread1"Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21} Frame 1Symbol 150 EditableText
"nthread2"Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21} Frame 1Symbol 151 EditableText
"newlistboxes"Symbol 187 MovieClip {GMEmulatorRU_fla.questionbox1_19} Frame 1Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21}
"done"Symbol 187 MovieClip {GMEmulatorRU_fla.questionbox1_19} Frame 1Symbol 171 Button
"help2"Symbol 187 MovieClip {GMEmulatorRU_fla.questionbox1_19} Frame 1Symbol 177 Button
"newlistboxes"Symbol 193 MovieClip Frame 1Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21}
"eventfield"Symbol 193 MovieClip Frame 1Symbol 192 EditableText
"done"Symbol 193 MovieClip Frame 1Symbol 171 Button
"help2"Symbol 193 MovieClip Frame 1Symbol 177 Button
"newlistboxes"Symbol 202 MovieClip {GMEmulatorRU_fla.descriptionbox1_26} Frame 1Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21}
"done"Symbol 202 MovieClip {GMEmulatorRU_fla.descriptionbox1_26} Frame 1Symbol 171 Button
"help2"Symbol 202 MovieClip {GMEmulatorRU_fla.descriptionbox1_26} Frame 1Symbol 177 Button
"descriptionfield"Symbol 202 MovieClip {GMEmulatorRU_fla.descriptionbox1_26} Frame 1Symbol 194 EditableText
"continue1"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 210 Button
"skip1"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 216 Button
"help2"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 177 Button
"pc1"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 219 EditableText
"pc2"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 220 EditableText
"pc3"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 221 EditableText
"pc4"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 222 EditableText
"pc5"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 223 EditableText
"pc6"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 224 EditableText
"pc7"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 225 EditableText
"pc8"Symbol 227 MovieClip {GMEmulatorRU_fla.scenebox1_27} Frame 1Symbol 226 EditableText
"continue1"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 210 Button
"help2"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 177 Button
"npc1"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 230 EditableText
"npc2"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 231 EditableText
"npc3"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 232 EditableText
"npc4"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 233 EditableText
"npc5"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 234 EditableText
"npc6"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 235 EditableText
"npc7"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 236 EditableText
"npc8"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 237 EditableText
"thread1"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 241 EditableText
"thread2"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 242 EditableText
"thread3"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 243 EditableText
"thread4"Symbol 245 MovieClip {GMEmulatorRU_fla.scenebox2_30} Frame 1Symbol 244 EditableText
"continue1"Symbol 251 MovieClip Frame 1Symbol 210 Button
"help2"Symbol 251 MovieClip Frame 1Symbol 177 Button
"description1"Symbol 251 MovieClip Frame 1Symbol 250 EditableText
"continue1"Symbol 281 MovieClip Frame 1Symbol 210 Button
"cancel1"Symbol 281 MovieClip Frame 1Symbol 262 Button
"help2"Symbol 281 MovieClip Frame 1Symbol 177 Button
"description1"Symbol 281 MovieClip Frame 1Symbol 263 EditableText
"lesschaotic"Symbol 281 MovieClip Frame 1Symbol 269 Button
"morechaotic"Symbol 281 MovieClip Frame 1Symbol 276 Button
"lesschaoticdown"Symbol 281 MovieClip Frame 1Symbol 278 Button
"morechaoticdown"Symbol 281 MovieClip Frame 1Symbol 280 Button
"continue1"Symbol 287 MovieClip Frame 1Symbol 210 Button
"help2"Symbol 287 MovieClip Frame 1Symbol 177 Button
"description1"Symbol 287 MovieClip Frame 1Symbol 285 EditableText
"newlistboxes"Symbol 287 MovieClip Frame 1Symbol 156 MovieClip {GMEmulatorRU_fla.newlistboxes_21}
"alterationtext"Symbol 287 MovieClip Frame 1Symbol 286 EditableText
"done"Symbol 294 MovieClip Frame 1Symbol 171 Button
"abouttab"Symbol 294 MovieClip Frame 1Symbol 293 Button
"done"Symbol 306 MovieClip Frame 1Symbol 171 Button
"howtoplaytab"Symbol 306 MovieClip Frame 1Symbol 302 Button
"helpbox2"Symbol 307 MovieClip Frame 1Symbol 294 MovieClip
"helpbox1"Symbol 307 MovieClip Frame 1Symbol 306 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




http://swfchan.com/20/97053/info.shtml
Created: 23/3 -2019 09:48:16 Last modified: 23/3 -2019 09:48:16 Server time: 06/05 -2024 03:04:30