Section 1
//BaseButton (fl.controls.BaseButton)
package fl.controls {
import flash.display.*;
import fl.core.*;
import flash.events.*;
import fl.events.*;
import flash.utils.*;
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
//CheckBox (fl.controls.CheckBox)
package fl.controls {
import flash.display.*;
public class CheckBox extends LabelButton {
private static var defaultStyles:Object = {icon:null, upIcon:"CheckBox_upIcon", downIcon:"CheckBox_downIcon", overIcon:"CheckBox_overIcon", disabledIcon:"CheckBox_disabledIcon", selectedDisabledIcon:"CheckBox_selectedDisabledIcon", focusRectSkin:null, focusRectPadding:null, selectedUpIcon:"CheckBox_selectedUpIcon", selectedDownIcon:"CheckBox_selectedDownIcon", selectedOverIcon:"CheckBox_selectedOverIcon", textFormat:null, disabledTextFormat:null, embedFonts:null, textPadding:5};
public static var createAccessibilityImplementation:Function;
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 << 1));
uiFocusRect.height = (background.height + (_local2 << 1));
};
}
override public function get autoRepeat():Boolean{
return (false);
}
override public function set autoRepeat(_arg1:Boolean):void{
}
override public function set toggle(_arg1:Boolean):void{
throw (new Error("Warning: You cannot change a CheckBox's toggle."));
}
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);
}
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 (CheckBox.createAccessibilityImplementation != null){
CheckBox.createAccessibilityImplementation(this);
};
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 5
//ColorPicker (fl.controls.ColorPicker)
package fl.controls {
import flash.display.*;
import fl.core.*;
import flash.events.*;
import fl.managers.*;
import flash.geom.*;
import fl.events.*;
import flash.text.*;
import flash.ui.*;
public class ColorPicker extends UIComponent implements IFocusManagerComponent {
protected var paletteBG:DisplayObject;
protected var customColors:Array;
protected var palette:Sprite;
protected var isOpen:Boolean;// = false
protected var swatchButton:BaseButton;
protected var selectedSwatch:Sprite;
protected var textFieldBG:DisplayObject;
protected var colorWell:DisplayObject;
protected var rollOverColor:int;// = -1
protected var colorHash:Object;
protected var swatchSelectedSkin:DisplayObject;
protected var _showTextField:Boolean;// = true
protected var currRowIndex:int;
protected var doOpen:Boolean;// = false
protected var currColIndex:int;
protected var swatchMap:Array;
protected var _selectedColor:uint;
protected var _editable:Boolean;// = true
public var textField:TextField;
protected var swatches:Sprite;
protected static const SWATCH_STYLES:Object = {disabledSkin:"swatchSkin", downSkin:"swatchSkin", overSkin:"swatchSkin", upSkin:"swatchSkin"};
protected static const POPUP_BUTTON_STYLES:Object = {disabledSkin:"disabledSkin", downSkin:"downSkin", overSkin:"overSkin", upSkin:"upSkin"};
public static var defaultColors:Array;
private static var defaultStyles:Object = {upSkin:"ColorPicker_upSkin", disabledSkin:"ColorPicker_disabledSkin", overSkin:"ColorPicker_overSkin", downSkin:"ColorPicker_downSkin", colorWell:"ColorPicker_colorWell", swatchSkin:"ColorPicker_swatchSkin", swatchSelectedSkin:"ColorPicker_swatchSelectedSkin", swatchWidth:10, swatchHeight:10, columnCount:18, swatchPadding:1, textFieldSkin:"ColorPicker_textFieldSkin", textFieldWidth:null, textFieldHeight:null, textPadding:3, background:"ColorPicker_backgroundSkin", backgroundPadding:5, textFormat:null, focusRectSkin:null, focusRectPadding:null, embedFonts:false};
public function ColorPicker(){
rollOverColor = -1;
_editable = true;
_showTextField = true;
isOpen = false;
doOpen = false;
super();
}
public function set imeMode(_arg1:String):void{
_imeMode = _arg1;
}
protected function drawSwatchHighlight():void{
var _local1:Object;
var _local2:Number;
cleanUpSelected();
_local1 = getStyleValue("swatchSelectedSkin");
_local2 = (getStyleValue("swatchPadding") as Number);
if (_local1 != null){
swatchSelectedSkin = getDisplayObjectInstance(_local1);
swatchSelectedSkin.x = 0;
swatchSelectedSkin.y = 0;
swatchSelectedSkin.width = ((getStyleValue("swatchWidth") as Number) + 2);
swatchSelectedSkin.height = ((getStyleValue("swatchHeight") as Number) + 2);
};
}
protected function setColorWellColor(_arg1:ColorTransform):void{
if (!colorWell){
return;
};
colorWell.transform.colorTransform = _arg1;
}
override protected function isOurFocus(_arg1:DisplayObject):Boolean{
return ((((_arg1 == textField)) || (super.isOurFocus(_arg1))));
}
public function open():void{
var _local1:IFocusManager;
if (!_enabled){
return;
};
doOpen = true;
_local1 = focusManager;
if (_local1){
_local1.defaultButtonEnabled = false;
};
invalidate(InvalidationType.STATE);
}
protected function setTextEditable():void{
if (!showTextField){
return;
};
textField.type = (editable) ? TextFieldType.INPUT : TextFieldType.DYNAMIC;
textField.selectable = editable;
}
protected function createSwatch(_arg1:uint):Sprite{
var _local2:Sprite;
var _local3:BaseButton;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Graphics;
_local2 = new Sprite();
_local3 = new BaseButton();
_local3.focusEnabled = false;
_local4 = (getStyleValue("swatchWidth") as Number);
_local5 = (getStyleValue("swatchHeight") as Number);
_local3.setSize(_local4, _local5);
_local3.transform.colorTransform = new ColorTransform(0, 0, 0, 1, (_arg1 >> 16), ((_arg1 >> 8) & 0xFF), (_arg1 & 0xFF), 0);
copyStylesToChild(_local3, SWATCH_STYLES);
_local3.mouseEnabled = false;
_local3.drawNow();
_local3.name = "color";
_local2.addChild(_local3);
_local6 = (getStyleValue("swatchPadding") as Number);
_local7 = _local2.graphics;
_local7.beginFill(0);
_local7.drawRect(-(_local6), -(_local6), (_local4 + (_local6 * 2)), (_local5 + (_local6 * 2)));
_local7.endFill();
_local2.addEventListener(MouseEvent.CLICK, onSwatchClick, false, 0, true);
_local2.addEventListener(MouseEvent.MOUSE_OVER, onSwatchOver, false, 0, true);
_local2.addEventListener(MouseEvent.MOUSE_OUT, onSwatchOut, false, 0, true);
return (_local2);
}
protected function onSwatchOut(_arg1:MouseEvent):void{
var _local2:ColorTransform;
_local2 = _arg1.target.transform.colorTransform;
dispatchEvent(new ColorPickerEvent(ColorPickerEvent.ITEM_ROLL_OUT, _local2.color));
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
var _local2:ColorTransform;
var _local3:Sprite;
switch (_arg1.keyCode){
case Keyboard.SHIFT:
case Keyboard.CONTROL:
return;
};
if (_arg1.ctrlKey){
switch (_arg1.keyCode){
case Keyboard.DOWN:
open();
break;
case Keyboard.UP:
close();
break;
};
return;
};
if (!isOpen){
switch (_arg1.keyCode){
case Keyboard.UP:
case Keyboard.DOWN:
case Keyboard.LEFT:
case Keyboard.RIGHT:
case Keyboard.SPACE:
open();
return;
};
};
textField.maxChars = ((((_arg1.keyCode == "#".charCodeAt(0))) || ((textField.text.indexOf("#") > -1)))) ? 7 : 6;
switch (_arg1.keyCode){
case Keyboard.TAB:
_local3 = findSwatch(_selectedColor);
setSwatchHighlight(_local3);
return;
case Keyboard.HOME:
currColIndex = (currRowIndex = 0);
break;
case Keyboard.END:
currColIndex = (swatchMap[(swatchMap.length - 1)].length - 1);
currRowIndex = (swatchMap.length - 1);
break;
case Keyboard.PAGE_DOWN:
currRowIndex = (swatchMap.length - 1);
break;
case Keyboard.PAGE_UP:
currRowIndex = 0;
break;
case Keyboard.ESCAPE:
if (isOpen){
selectedColor = _selectedColor;
};
close();
return;
case Keyboard.ENTER:
return;
case Keyboard.UP:
currRowIndex = Math.max(-1, (currRowIndex - 1));
if (currRowIndex == -1){
currRowIndex = (swatchMap.length - 1);
};
break;
case Keyboard.DOWN:
currRowIndex = Math.min(swatchMap.length, (currRowIndex + 1));
if (currRowIndex == swatchMap.length){
currRowIndex = 0;
};
break;
case Keyboard.RIGHT:
currColIndex = Math.min(swatchMap[currRowIndex].length, (currColIndex + 1));
if (currColIndex == swatchMap[currRowIndex].length){
currColIndex = 0;
currRowIndex = Math.min(swatchMap.length, (currRowIndex + 1));
if (currRowIndex == swatchMap.length){
currRowIndex = 0;
};
};
break;
case Keyboard.LEFT:
currColIndex = Math.max(-1, (currColIndex - 1));
if (currColIndex == -1){
currColIndex = (swatchMap[currRowIndex].length - 1);
currRowIndex = Math.max(-1, (currRowIndex - 1));
if (currRowIndex == -1){
currRowIndex = (swatchMap.length - 1);
};
};
break;
default:
return;
};
_local2 = swatchMap[currRowIndex][currColIndex].getChildByName("color").transform.colorTransform;
rollOverColor = _local2.color;
setColorWellColor(_local2);
setSwatchHighlight(swatchMap[currRowIndex][currColIndex]);
setColorText(_local2.color);
}
public function get editable():Boolean{
return (_editable);
}
override protected function focusInHandler(_arg1:FocusEvent):void{
super.focusInHandler(_arg1);
setIMEMode(true);
}
protected function onStageClick(_arg1:MouseEvent):void{
if (((!(contains((_arg1.target as DisplayObject)))) && (!(palette.contains((_arg1.target as DisplayObject)))))){
selectedColor = _selectedColor;
close();
};
}
protected function onSwatchOver(_arg1:MouseEvent):void{
var _local2:BaseButton;
var _local3:ColorTransform;
_local2 = (_arg1.target.getChildByName("color") as BaseButton);
_local3 = _local2.transform.colorTransform;
setColorWellColor(_local3);
setSwatchHighlight((_arg1.target as Sprite));
setColorText(_local3.color);
dispatchEvent(new ColorPickerEvent(ColorPickerEvent.ITEM_ROLL_OVER, _local3.color));
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
if (!_arg1){
close();
};
swatchButton.enabled = _arg1;
}
override protected function keyUpHandler(_arg1:KeyboardEvent):void{
var _local2:uint;
var _local3:ColorTransform;
var _local4:String;
var _local5:Sprite;
if (!isOpen){
return;
};
_local3 = new ColorTransform();
if (((editable) && (showTextField))){
_local4 = textField.text;
if (_local4.indexOf("#") > -1){
_local4 = _local4.replace(/^\s+|\s+$/g, "");
_local4 = _local4.replace(/#/g, "");
};
_local2 = parseInt(_local4, 16);
_local5 = findSwatch(_local2);
setSwatchHighlight(_local5);
_local3.color = _local2;
setColorWellColor(_local3);
} else {
_local2 = rollOverColor;
_local3.color = _local2;
};
if (_arg1.keyCode != Keyboard.ENTER){
return;
};
dispatchEvent(new ColorPickerEvent(ColorPickerEvent.ENTER, _local2));
_selectedColor = rollOverColor;
setColorText(_local3.color);
rollOverColor = _local3.color;
dispatchEvent(new ColorPickerEvent(ColorPickerEvent.CHANGE, selectedColor));
close();
}
protected function drawBG():void{
var _local1:Object;
var _local2:Number;
_local1 = getStyleValue("background");
if (_local1 != null){
paletteBG = (getDisplayObjectInstance(_local1) as Sprite);
};
if (paletteBG == null){
return;
};
_local2 = Number(getStyleValue("backgroundPadding"));
paletteBG.width = (Math.max((showTextField) ? textFieldBG.width : 0, swatches.width) + (_local2 * 2));
paletteBG.height = ((swatches.y + swatches.height) + _local2);
palette.addChildAt(paletteBG, 0);
}
protected function positionTextField():void{
var _local1:Number;
var _local2:Number;
if (!showTextField){
return;
};
_local1 = (getStyleValue("backgroundPadding") as Number);
_local2 = (getStyleValue("textPadding") as Number);
textFieldBG.x = (paletteBG.x + _local1);
textFieldBG.y = (paletteBG.y + _local1);
textField.x = (textFieldBG.x + _local2);
textField.y = (textFieldBG.y + _local2);
}
protected function setEmbedFonts():void{
var _local1:Object;
_local1 = getStyleValue("embedFonts");
if (_local1 != null){
textField.embedFonts = _local1;
};
}
public function set showTextField(_arg1:Boolean):void{
invalidate(InvalidationType.STYLES);
_showTextField = _arg1;
}
protected function addStageListener(_arg1:Event=null):void{
stage.addEventListener(MouseEvent.MOUSE_DOWN, onStageClick, false, 0, true);
}
protected function drawPalette():void{
if (isOpen){
stage.removeChild(palette);
};
palette = new Sprite();
drawTextField();
drawSwatches();
drawBG();
}
protected function showPalette():void{
var _local1:Sprite;
if (isOpen){
positionPalette();
return;
};
addEventListener(Event.ENTER_FRAME, addCloseListener, false, 0, true);
stage.addChild(palette);
isOpen = true;
positionPalette();
dispatchEvent(new Event(Event.OPEN));
stage.focus = textField;
_local1 = selectedSwatch;
if (_local1 == null){
_local1 = findSwatch(_selectedColor);
};
setSwatchHighlight(_local1);
}
public function set editable(_arg1:Boolean):void{
_editable = _arg1;
invalidate(InvalidationType.STATE);
}
public function set colors(_arg1:Array):void{
customColors = _arg1;
invalidate(InvalidationType.DATA);
}
protected function drawTextField():void{
var _local1:Number;
var _local2:Number;
var _local3:Object;
var _local4:TextFormat;
var _local5:TextFormat;
if (!showTextField){
return;
};
_local1 = (getStyleValue("backgroundPadding") as Number);
_local2 = (getStyleValue("textPadding") as Number);
textFieldBG = getDisplayObjectInstance(getStyleValue("textFieldSkin"));
if (textFieldBG != null){
palette.addChild(textFieldBG);
textFieldBG.x = (textFieldBG.y = _local1);
};
_local3 = UIComponent.getStyleDefinition();
_local4 = (enabled) ? (_local3.defaultTextFormat as TextFormat) : (_local3.defaultDisabledTextFormat as TextFormat);
textField.setTextFormat(_local4);
_local5 = (getStyleValue("textFormat") as TextFormat);
if (_local5 != null){
textField.setTextFormat(_local5);
} else {
_local5 = _local4;
};
textField.defaultTextFormat = _local5;
setEmbedFonts();
textField.restrict = "A-Fa-f0-9#";
textField.maxChars = 6;
palette.addChild(textField);
textField.text = " #888888 ";
textField.height = (textField.textHeight + 3);
textField.width = (textField.textWidth + 3);
textField.text = "";
textField.x = (textField.y = (_local1 + _local2));
textFieldBG.width = (textField.width + (_local2 * 2));
textFieldBG.height = (textField.height + (_local2 * 2));
setTextEditable();
}
protected function setColorText(_arg1:uint):void{
if (textField == null){
return;
};
textField.text = ("#" + colorToString(_arg1));
}
protected function colorToString(_arg1:uint):String{
var _local2:String;
_local2 = _arg1.toString(16);
while (_local2.length < 6) {
_local2 = ("0" + _local2);
};
return (_local2);
}
public function get imeMode():String{
return (_imeMode);
}
public function set selectedColor(_arg1:uint):void{
var _local2:ColorTransform;
if (!_enabled){
return;
};
_selectedColor = _arg1;
rollOverColor = -1;
currColIndex = (currRowIndex = 0);
_local2 = new ColorTransform();
_local2.color = _arg1;
setColorWellColor(_local2);
invalidate(InvalidationType.DATA);
}
override protected function focusOutHandler(_arg1:FocusEvent):void{
if (_arg1.relatedObject == textField){
setFocus();
return;
};
if (isOpen){
close();
};
super.focusOutHandler(_arg1);
setIMEMode(false);
}
protected function onPopupButtonClick(_arg1:MouseEvent):void{
if (isOpen){
close();
} else {
open();
};
}
protected function positionPalette():void{
var _local1:Point;
var _local2:Number;
_local1 = swatchButton.localToGlobal(new Point(0, 0));
_local2 = (getStyleValue("backgroundPadding") as Number);
if ((_local1.x + palette.width) > stage.stageWidth){
palette.x = ((_local1.x - palette.width) << 0);
} else {
palette.x = (((_local1.x + swatchButton.width) + _local2) << 0);
};
palette.y = (Math.max(0, Math.min(_local1.y, (stage.stageHeight - palette.height))) << 0);
}
public function get hexValue():String{
if (colorWell == null){
return (colorToString(0));
};
return (colorToString(colorWell.transform.colorTransform.color));
}
override public function get enabled():Boolean{
return (super.enabled);
}
protected function setSwatchHighlight(_arg1:Sprite):void{
var _local2:Number;
var _local3:*;
if (_arg1 == null){
if (palette.contains(swatchSelectedSkin)){
palette.removeChild(swatchSelectedSkin);
};
return;
} else {
if (((!(palette.contains(swatchSelectedSkin))) && ((colors.length > 0)))){
palette.addChild(swatchSelectedSkin);
} else {
if (!colors.length){
return;
};
};
};
_local2 = (getStyleValue("swatchPadding") as Number);
palette.setChildIndex(swatchSelectedSkin, (palette.numChildren - 1));
swatchSelectedSkin.x = ((swatches.x + _arg1.x) - 1);
swatchSelectedSkin.y = ((swatches.y + _arg1.y) - 1);
_local3 = _arg1.getChildByName("color").transform.colorTransform.color;
currColIndex = colorHash[_local3].col;
currRowIndex = colorHash[_local3].row;
}
protected function onSwatchClick(_arg1:MouseEvent):void{
var _local2:ColorTransform;
_local2 = _arg1.target.getChildByName("color").transform.colorTransform;
_selectedColor = _local2.color;
dispatchEvent(new ColorPickerEvent(ColorPickerEvent.CHANGE, selectedColor));
close();
}
override protected function draw():void{
if (isInvalid(InvalidationType.STYLES, InvalidationType.DATA)){
setStyles();
drawPalette();
setEmbedFonts();
invalidate(InvalidationType.DATA, false);
invalidate(InvalidationType.STYLES, false);
};
if (isInvalid(InvalidationType.DATA)){
drawSwatchHighlight();
setColorDisplay();
};
if (isInvalid(InvalidationType.STATE)){
setTextEditable();
if (doOpen){
doOpen = false;
showPalette();
};
colorWell.visible = enabled;
};
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
swatchButton.setSize(width, height);
swatchButton.drawNow();
colorWell.width = width;
colorWell.height = height;
};
super.draw();
}
protected function drawSwatches():void{
var _local1:Number;
var _local2:Number;
var _local3:uint;
var _local4:uint;
var _local5:Number;
var _local6:Number;
var _local7:uint;
var _local8:int;
var _local9:uint;
var _local10:Sprite;
_local1 = (getStyleValue("backgroundPadding") as Number);
_local2 = (showTextField) ? ((textFieldBG.y + textFieldBG.height) + _local1) : _local1;
swatches = new Sprite();
palette.addChild(swatches);
swatches.x = _local1;
swatches.y = _local2;
_local3 = (getStyleValue("columnCount") as uint);
_local4 = (getStyleValue("swatchPadding") as uint);
_local5 = (getStyleValue("swatchWidth") as Number);
_local6 = (getStyleValue("swatchHeight") as Number);
colorHash = {};
swatchMap = [];
_local7 = Math.min(0x0400, colors.length);
_local8 = -1;
_local9 = 0;
while (_local9 < _local7) {
_local10 = createSwatch(colors[_local9]);
_local10.x = ((_local5 + _local4) * (_local9 % _local3));
if (_local10.x == 0){
swatchMap.push([_local10]);
_local8++;
} else {
swatchMap[_local8].push(_local10);
};
colorHash[colors[_local9]] = {swatch:_local10, row:_local8, col:(swatchMap[_local8].length - 1)};
_local10.y = (Math.floor((_local9 / _local3)) * (_local6 + _local4));
swatches.addChild(_local10);
_local9++;
};
}
override protected function configUI():void{
var _local1:uint;
super.configUI();
tabChildren = false;
if (_slot1.defaultColors == null){
_slot1.defaultColors = [];
_local1 = 0;
while (_local1 < 216) {
_slot1.defaultColors.push(((((((((_local1 / 6) % 3) << 0) + (((_local1 / 108) << 0) * 3)) * 51) << 16) | (((_local1 % 6) * 51) << 8)) | ((((_local1 / 18) << 0) % 6) * 51)));
_local1++;
};
};
colorHash = {};
swatchMap = [];
textField = new TextField();
textField.tabEnabled = false;
swatchButton = new BaseButton();
swatchButton.focusEnabled = false;
swatchButton.useHandCursor = false;
swatchButton.autoRepeat = false;
swatchButton.setSize(25, 25);
swatchButton.addEventListener(MouseEvent.CLICK, onPopupButtonClick, false, 0, true);
addChild(swatchButton);
palette = new Sprite();
palette.tabChildren = false;
palette.cacheAsBitmap = true;
}
public function get showTextField():Boolean{
return (_showTextField);
}
public function get colors():Array{
return (((customColors)!=null) ? customColors : _slot1.defaultColors);
}
protected function findSwatch(_arg1:uint):Sprite{
var _local2:Object;
if (!swatchMap.length){
return (null);
};
_local2 = colorHash[_arg1];
if (_local2 != null){
return (_local2.swatch);
};
return (null);
}
protected function setColorDisplay():void{
var _local1:ColorTransform;
var _local2:Sprite;
if (!swatchMap.length){
return;
};
_local1 = new ColorTransform(0, 0, 0, 1, (_selectedColor >> 16), ((_selectedColor >> 8) & 0xFF), (_selectedColor & 0xFF), 0);
setColorWellColor(_local1);
setColorText(_selectedColor);
_local2 = findSwatch(_selectedColor);
setSwatchHighlight(_local2);
if (((swatchMap.length) && ((colorHash[_selectedColor] == undefined)))){
cleanUpSelected();
};
}
protected function cleanUpSelected():void{
if (((swatchSelectedSkin) && (palette.contains(swatchSelectedSkin)))){
palette.removeChild(swatchSelectedSkin);
};
}
public function get selectedColor():uint{
if (colorWell == null){
return (0);
};
return (colorWell.transform.colorTransform.color);
}
private function addCloseListener(_arg1:Event){
removeEventListener(Event.ENTER_FRAME, addCloseListener);
if (!isOpen){
return;
};
addStageListener();
}
protected function removeStageListener(_arg1:Event=null):void{
stage.removeEventListener(MouseEvent.MOUSE_DOWN, onStageClick, false);
}
protected function setStyles():void{
var _local1:DisplayObject;
var _local2:Object;
_local1 = colorWell;
_local2 = getStyleValue("colorWell");
if (_local2 != null){
colorWell = (getDisplayObjectInstance(_local2) as DisplayObject);
};
addChildAt(colorWell, getChildIndex(swatchButton));
copyStylesToChild(swatchButton, POPUP_BUTTON_STYLES);
swatchButton.drawNow();
if (((((!((_local1 == null))) && (contains(_local1)))) && (!((_local1 == colorWell))))){
removeChild(_local1);
};
}
public function close():void{
var _local1:IFocusManager;
if (isOpen){
stage.removeChild(palette);
isOpen = false;
dispatchEvent(new Event(Event.CLOSE));
};
_local1 = focusManager;
if (_local1){
_local1.defaultButtonEnabled = true;
};
removeStageListener();
cleanUpSelected();
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 6
//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 7
//ScrollBar (fl.controls.ScrollBar)
package fl.controls {
import fl.core.*;
import flash.events.*;
import fl.events.*;
public class ScrollBar extends UIComponent {
private var _direction:String;// = "vertical"
protected var inDrag:Boolean;// = false
protected var upArrow:BaseButton;
private var _pageScrollSize:Number;// = 0
protected var downArrow:BaseButton;
private var _pageSize:Number;// = 10
private var thumbScrollOffset:Number;
private var _maxScrollPosition:Number;// = 0
private var _scrollPosition:Number;// = 0
protected var track:BaseButton;
private var _minScrollPosition:Number;// = 0
private var _lineScrollSize:Number;// = 1
protected var thumb:LabelButton;
protected static const THUMB_STYLES:Object = {disabledSkin:"thumbDisabledSkin", downSkin:"thumbDownSkin", overSkin:"thumbOverSkin", upSkin:"thumbUpSkin", icon:"thumbIcon", textPadding:0};
public static const WIDTH:Number = 15;
protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
protected static const TRACK_STYLES:Object = {disabledSkin:"trackDisabledSkin", downSkin:"trackDownSkin", overSkin:"trackOverSkin", upSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
private static var defaultStyles:Object = {downArrowDisabledSkin:"ScrollArrowDown_disabledSkin", downArrowDownSkin:"ScrollArrowDown_downSkin", downArrowOverSkin:"ScrollArrowDown_overSkin", downArrowUpSkin:"ScrollArrowDown_upSkin", thumbDisabledSkin:"ScrollThumb_upSkin", thumbDownSkin:"ScrollThumb_downSkin", thumbOverSkin:"ScrollThumb_overSkin", thumbUpSkin:"ScrollThumb_upSkin", trackDisabledSkin:"ScrollTrack_skin", trackDownSkin:"ScrollTrack_skin", trackOverSkin:"ScrollTrack_skin", trackUpSkin:"ScrollTrack_skin", upArrowDisabledSkin:"ScrollArrowUp_disabledSkin", upArrowDownSkin:"ScrollArrowUp_downSkin", upArrowOverSkin:"ScrollArrowUp_overSkin", upArrowUpSkin:"ScrollArrowUp_upSkin", thumbIcon:"ScrollBar_thumbIcon", repeatDelay:500, repeatInterval:35};
public function ScrollBar(){
_pageSize = 10;
_pageScrollSize = 0;
_lineScrollSize = 1;
_minScrollPosition = 0;
_maxScrollPosition = 0;
_scrollPosition = 0;
_direction = ScrollBarDirection.VERTICAL;
inDrag = false;
super();
setStyles();
focusEnabled = false;
}
public function get minScrollPosition():Number{
return (_minScrollPosition);
}
public function set minScrollPosition(_arg1:Number):void{
setScrollProperties(_pageSize, _arg1, _maxScrollPosition);
}
public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{
var _local3:Number;
_local3 = scrollPosition;
_scrollPosition = Math.max(_minScrollPosition, Math.min(_maxScrollPosition, _arg1));
if (_local3 == _scrollPosition){
return;
};
if (_arg2){
dispatchEvent(new ScrollEvent(_direction, (scrollPosition - _local3), scrollPosition));
};
updateThumb();
}
public function set scrollPosition(_arg1:Number):void{
setScrollPosition(_arg1, true);
}
public function get pageScrollSize():Number{
return (((_pageScrollSize)==0) ? _pageSize : _pageScrollSize);
}
public function set pageSize(_arg1:Number):void{
if (_arg1 > 0){
_pageSize = _arg1;
};
}
public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{
this.pageSize = _arg1;
_minScrollPosition = _arg2;
_maxScrollPosition = _arg3;
if (_arg4 >= 0){
_pageScrollSize = _arg4;
};
enabled = (_maxScrollPosition > _minScrollPosition);
setScrollPosition(_scrollPosition, false);
updateThumb();
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
downArrow.enabled = (track.enabled = (thumb.enabled = (upArrow.enabled = ((enabled) && ((_maxScrollPosition > _minScrollPosition))))));
updateThumb();
}
protected function updateThumb():void{
var _local1:Number;
_local1 = ((_maxScrollPosition - _minScrollPosition) + _pageSize);
if ((((((track.height <= 12)) || ((_maxScrollPosition <= _minScrollPosition)))) || ((((_local1 == 0)) || (isNaN(_local1)))))){
thumb.height = 12;
thumb.visible = false;
} else {
thumb.height = Math.max(13, ((_pageSize / _local1) * track.height));
thumb.y = (track.y + ((track.height - thumb.height) * ((_scrollPosition - _minScrollPosition) / (_maxScrollPosition - _minScrollPosition))));
thumb.visible = enabled;
};
}
protected function thumbPressHandler(_arg1:MouseEvent):void{
inDrag = true;
thumbScrollOffset = (mouseY - thumb.y);
thumb.mouseStateLocked = true;
mouseChildren = false;
stage.addEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true);
}
protected function thumbReleaseHandler(_arg1:MouseEvent):void{
inDrag = false;
mouseChildren = true;
thumb.mouseStateLocked = false;
stage.removeEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag);
stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler);
}
public function set pageScrollSize(_arg1:Number):void{
if (_arg1 >= 0){
_pageScrollSize = _arg1;
};
}
protected function handleThumbDrag(_arg1:MouseEvent):void{
var _local2:Number;
_local2 = Math.max(0, Math.min((track.height - thumb.height), ((mouseY - track.y) - thumbScrollOffset)));
setScrollPosition((((_local2 / (track.height - thumb.height)) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition));
}
public function set direction(_arg1:String):void{
var _local2:Boolean;
if (_direction == _arg1){
return;
};
_direction = _arg1;
if (isLivePreview){
return;
};
setScaleY(1);
_local2 = (_direction == ScrollBarDirection.HORIZONTAL);
if (((_local2) && (componentInspectorSetting))){
if (rotation == 90){
return;
};
setScaleX(-1);
rotation = -90;
};
if (!componentInspectorSetting){
if (((_local2) && ((rotation == 0)))){
rotation = -90;
setScaleX(-1);
} else {
if (((!(_local2)) && ((rotation == -90)))){
rotation = 0;
setScaleX(1);
};
};
};
invalidate(InvalidationType.SIZE);
}
public function set lineScrollSize(_arg1:Number):void{
if (_arg1 > 0){
_lineScrollSize = _arg1;
};
}
override public function get height():Number{
return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.width : super.height);
}
protected function scrollPressHandler(_arg1:ComponentEvent):void{
var _local2:Number;
var _local3:Number;
_arg1.stopImmediatePropagation();
if (_arg1.currentTarget == upArrow){
setScrollPosition((_scrollPosition - _lineScrollSize));
} else {
if (_arg1.currentTarget == downArrow){
setScrollPosition((_scrollPosition + _lineScrollSize));
} else {
_local2 = (((track.mouseY / track.height) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition);
_local3 = ((pageScrollSize)==0) ? pageSize : pageScrollSize;
if (_scrollPosition < _local2){
setScrollPosition(Math.min(_local2, (_scrollPosition + _local3)));
} else {
if (_scrollPosition > _local2){
setScrollPosition(Math.max(_local2, (_scrollPosition - _local3)));
};
};
};
};
}
public function get pageSize():Number{
return (_pageSize);
}
public function set maxScrollPosition(_arg1:Number):void{
setScrollProperties(_pageSize, _minScrollPosition, _arg1);
}
public function get scrollPosition():Number{
return (_scrollPosition);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
var _local1:Number;
if (isInvalid(InvalidationType.SIZE)){
_local1 = super.height;
downArrow.move(0, Math.max(upArrow.height, (_local1 - downArrow.height)));
track.setSize(WIDTH, Math.max(0, (_local1 - (downArrow.height + upArrow.height))));
updateThumb();
};
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
setStyles();
};
downArrow.drawNow();
upArrow.drawNow();
track.drawNow();
thumb.drawNow();
validate();
}
override protected function configUI():void{
super.configUI();
track = new BaseButton();
track.move(0, 14);
track.useHandCursor = false;
track.autoRepeat = true;
track.focusEnabled = false;
addChild(track);
thumb = new LabelButton();
thumb.label = "";
thumb.setSize(WIDTH, 15);
thumb.move(0, 15);
thumb.focusEnabled = false;
addChild(thumb);
downArrow = new BaseButton();
downArrow.setSize(WIDTH, 14);
downArrow.autoRepeat = true;
downArrow.focusEnabled = false;
addChild(downArrow);
upArrow = new BaseButton();
upArrow.setSize(WIDTH, 14);
upArrow.move(0, 0);
upArrow.autoRepeat = true;
upArrow.focusEnabled = false;
addChild(upArrow);
upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
track.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true);
enabled = false;
}
public function get direction():String{
return (_direction);
}
public function get lineScrollSize():Number{
return (_lineScrollSize);
}
override public function setSize(_arg1:Number, _arg2:Number):void{
if (_direction == ScrollBarDirection.HORIZONTAL){
super.setSize(_arg2, _arg1);
} else {
super.setSize(_arg1, _arg2);
};
}
public function get maxScrollPosition():Number{
return (_maxScrollPosition);
}
override public function get width():Number{
return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.height : super.width);
}
protected function setStyles():void{
copyStylesToChild(downArrow, DOWN_ARROW_STYLES);
copyStylesToChild(thumb, THUMB_STYLES);
copyStylesToChild(track, TRACK_STYLES);
copyStylesToChild(upArrow, UP_ARROW_STYLES);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 8
//ScrollBarDirection (fl.controls.ScrollBarDirection)
package fl.controls {
public class ScrollBarDirection {
public static const HORIZONTAL:String = "horizontal";
public static const VERTICAL:String = "vertical";
}
}//package fl.controls
Section 9
//UIScrollBar (fl.controls.UIScrollBar)
package fl.controls {
import fl.core.*;
import flash.events.*;
import fl.events.*;
import flash.text.*;
public class UIScrollBar extends ScrollBar {
protected var inScroll:Boolean;// = false
protected var _scrollTarget:TextField;
protected var inEdit:Boolean;// = false
private static var defaultStyles:Object = {};
public function UIScrollBar(){
inEdit = false;
inScroll = false;
super();
}
protected function handleTargetScroll(_arg1:Event):void{
if (inDrag){
return;
};
if (!enabled){
return;
};
inEdit = true;
updateScrollTargetProperties();
scrollPosition = ((direction)==ScrollBarDirection.HORIZONTAL) ? _scrollTarget.scrollH : _scrollTarget.scrollV;
inEdit = false;
}
override public function set minScrollPosition(_arg1:Number):void{
super.minScrollPosition = ((_arg1)<0) ? 0 : _arg1;
}
override public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{
super.setScrollPosition(_arg1, _arg2);
if (!_scrollTarget){
inScroll = false;
return;
};
updateTargetScroll();
}
override public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{
var _local5:Number;
var _local6:Number;
_local5 = _arg3;
_local6 = ((_arg2)<0) ? 0 : _arg2;
if (_scrollTarget != null){
if (direction == ScrollBarDirection.HORIZONTAL){
_local5 = ((_arg3)>_scrollTarget.maxScrollH) ? _scrollTarget.maxScrollH : _local5;
} else {
_local5 = ((_arg3)>_scrollTarget.maxScrollV) ? _scrollTarget.maxScrollV : _local5;
};
};
super.setScrollProperties(_arg1, _local6, _local5, _arg4);
}
public function get scrollTargetName():String{
return (_scrollTarget.name);
}
public function get scrollTarget():TextField{
return (_scrollTarget);
}
protected function updateScrollTargetProperties():void{
var _local1:Boolean;
var _local2:Number;
if (_scrollTarget == null){
setScrollProperties(pageSize, minScrollPosition, maxScrollPosition, pageScrollSize);
scrollPosition = 0;
} else {
_local1 = (direction == ScrollBarDirection.HORIZONTAL);
_local2 = (_local1) ? _scrollTarget.width : 10;
setScrollProperties(_local2, (_local1) ? 0 : 1, (_local1) ? _scrollTarget.maxScrollH : _scrollTarget.maxScrollV, pageScrollSize);
scrollPosition = (_local1) ? _scrollTarget.scrollH : _scrollTarget.scrollV;
};
}
public function update():void{
inEdit = true;
updateScrollTargetProperties();
inEdit = false;
}
public function set scrollTargetName(_arg1:String):void{
var target = _arg1;
try {
scrollTarget = (parent.getChildByName(target) as TextField);
} catch(error:Error) {
throw (new Error("ScrollTarget not found, or is not a TextField"));
};
}
override public function set direction(_arg1:String):void{
if (isLivePreview){
return;
};
super.direction = _arg1;
updateScrollTargetProperties();
}
protected function handleTargetChange(_arg1:Event):void{
inEdit = true;
setScrollPosition(((direction)==ScrollBarDirection.HORIZONTAL) ? _scrollTarget.scrollH : _scrollTarget.scrollV, true);
updateScrollTargetProperties();
inEdit = false;
}
override public function set maxScrollPosition(_arg1:Number):void{
var _local2:Number;
_local2 = _arg1;
if (_scrollTarget != null){
if (direction == ScrollBarDirection.HORIZONTAL){
_local2 = ((_local2)>_scrollTarget.maxScrollH) ? _scrollTarget.maxScrollH : _local2;
} else {
_local2 = ((_local2)>_scrollTarget.maxScrollV) ? _scrollTarget.maxScrollV : _local2;
};
};
super.maxScrollPosition = _local2;
}
protected function updateTargetScroll(_arg1:ScrollEvent=null):void{
if (inEdit){
return;
};
if (direction == ScrollBarDirection.HORIZONTAL){
_scrollTarget.scrollH = scrollPosition;
} else {
_scrollTarget.scrollV = scrollPosition;
};
}
override protected function draw():void{
if (isInvalid(InvalidationType.DATA)){
updateScrollTargetProperties();
};
super.draw();
}
public function set scrollTarget(_arg1:TextField):void{
if (_scrollTarget != null){
_scrollTarget.removeEventListener(Event.CHANGE, handleTargetChange, false);
_scrollTarget.removeEventListener(TextEvent.TEXT_INPUT, handleTargetChange, false);
_scrollTarget.removeEventListener(Event.SCROLL, handleTargetScroll, false);
removeEventListener(ScrollEvent.SCROLL, updateTargetScroll, false);
};
_scrollTarget = _arg1;
if (_scrollTarget != null){
_scrollTarget.addEventListener(Event.CHANGE, handleTargetChange, false, 0, true);
_scrollTarget.addEventListener(TextEvent.TEXT_INPUT, handleTargetChange, false, 0, true);
_scrollTarget.addEventListener(Event.SCROLL, handleTargetScroll, false, 0, true);
addEventListener(ScrollEvent.SCROLL, updateTargetScroll, false, 0, true);
};
invalidate(InvalidationType.DATA);
}
override public function get direction():String{
return (super.direction);
}
public static function getStyleDefinition():Object{
return (UIComponent.mergeStyles(defaultStyles, ScrollBar.getStyleDefinition()));
}
}
}//package fl.controls
Section 10
//ComponentShim (fl.core.ComponentShim)
package fl.core {
import flash.display.*;
public dynamic class ComponentShim extends MovieClip {
}
}//package fl.core
Section 11
//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 12
//UIComponent (fl.core.UIComponent)
package fl.core {
import flash.display.*;
import flash.events.*;
import fl.managers.*;
import fl.events.*;
import flash.text.*;
import flash.utils.*;
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 13
//ColorPickerEvent (fl.events.ColorPickerEvent)
package fl.events {
import flash.events.*;
public class ColorPickerEvent extends Event {
protected var _color:uint;
public static const ITEM_ROLL_OUT:String = "itemRollOut";
public static const ITEM_ROLL_OVER:String = "itemRollOver";
public static const CHANGE:String = "change";
public static const ENTER:String = "enter";
public function ColorPickerEvent(_arg1:String, _arg2:uint){
super(_arg1, true);
_color = _arg2;
}
override public function toString():String{
return (formatToString("ColorPickerEvent", "type", "bubbles", "cancelable", "color"));
}
public function get color():uint{
return (_color);
}
override public function clone():Event{
return (new ColorPickerEvent(type, color));
}
}
}//package fl.events
Section 14
//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 15
//ScrollEvent (fl.events.ScrollEvent)
package fl.events {
import flash.events.*;
public class ScrollEvent extends Event {
private var _position:Number;
private var _direction:String;
private var _delta:Number;
public static const SCROLL:String = "scroll";
public function ScrollEvent(_arg1:String, _arg2:Number, _arg3:Number){
super(ScrollEvent.SCROLL, false, false);
_direction = _arg1;
_delta = _arg2;
_position = _arg3;
}
override public function clone():Event{
return (new ScrollEvent(_direction, _delta, _position));
}
public function get position():Number{
return (_position);
}
override public function toString():String{
return (formatToString("ScrollEvent", "type", "bubbles", "cancelable", "direction", "delta", "position"));
}
public function get delta():Number{
return (_delta);
}
public function get direction():String{
return (_direction);
}
}
}//package fl.events
Section 16
//FocusManager (fl.managers.FocusManager)
package fl.managers {
import fl.controls.*;
import flash.display.*;
import fl.core.*;
import flash.events.*;
import flash.text.*;
import flash.utils.*;
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 17
//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 18
//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 19
//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 20
//StyleManager (fl.managers.StyleManager)
package fl.managers {
import fl.core.*;
import flash.text.*;
import flash.utils.*;
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 21
//ears_89 (hamtaroocmaker1_fla.ears_89)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class ears_89 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 22
//furry1_176 (hamtaroocmaker1_fla.furry1_176)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class furry1_176 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 23
//furry2_178 (hamtaroocmaker1_fla.furry2_178)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class furry2_178 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 24
//MainTimeline (hamtaroocmaker1_fla.MainTimeline)
package hamtaroocmaker1_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
public dynamic class MainTimeline extends MovieClip {
public var pitchfork:MovieClip;
public var goggles_location;
public var shirt6_location;
public var devil_location;
public var exc1:MovieClip;
public var exc2:MovieClip;
public var exc3:MovieClip;
public var exc4:MovieClip;
public var exc5:MovieClip;
public var exc6:MovieClip;
public var loincloth_location;
public var diaper_moved;
public var maid_moved;
public var pitchfork_moved;
public var halo:MovieClip;
public var broom:MovieClip;
public var broom_moved;
public var maid_location;
public var exc3_location;
public var wings_location;
public var exc2_moved;
public var tie4_moved;
public var narutoshirt:MovieClip;
public var belt_location;
public var panties2_moved;
public var bell_moved;
public var santahat_moved;
public var policeshirt_location;
public var guitar:MovieClip;
public var purse_moved;
public var tie9_moved;
public var shovel:MovieClip;
public var strawberry_location;
public var policehat_moved;
public var crown:MovieClip;
public var pants8_location;
public var my_sound:TottokonoUta;
public var policehat:MovieClip;
public var scarf9_location;
public var blindfold:MovieClip;
public var pants1_location;
public var scarf2_location;
public var wings2_location;
public var shoes1_location;
public var shirt3_moved;
public var shirt2:MovieClip;
public var shirt3:MovieClip;
public var shirt4:MovieClip;
public var shirt5:MovieClip;
public var shirt6:MovieClip;
public var shirt7:MovieClip;
public var shirt1:MovieClip;
public var blindfold_location;
public var shirt8:MovieClip;
public var tie5_location;
public var pencil_moved;
public var pants2_moved;
public var shirt9:MovieClip;
public var cookie_moved;
public var maraca1_location;
public var sweat_moved;
public var nursedress_location;
public var eyepatch_moved;
public var santahat:MovieClip;
public var loincloth:MovieClip;
public var shirt7_location;
public var shirt8_moved;
public var nursedress:MovieClip;
public var shoes1_moved;
public var scarf4_moved;
public var bow1_location;
public var bowtie_location;
public var strawberry:MovieClip;
public var pants7_moved;
public var curItem;
public var maxbook_location;
public var exc4_location;
public var pearl_moved;
public var bunny:MovieClip;
public var scarf9_moved;
public var goggles_moved;
public var nursehat_moved;
public var scarf10_moved;
public var wings2_moved;
public var tie1:MovieClip;
public var tie2:MovieClip;
public var tie3:MovieClip;
public var tie4:MovieClip;
public var tie5:MovieClip;
public var tie6:MovieClip;
public var tie7:MovieClip;
public var tie8:MovieClip;
public var tie9:MovieClip;
public var seed_location;
public var wings:MovieClip;
public var purse_location;
public var pants9_location;
public var sleepcap_location;
public var tie2_moved;
public var tears_location;
public var ipod_moved;
public var glover_location;
public var pants2_location;
public var headband_moved;
public var shoes2_location;
public var wand:MovieClip;
public var blindfold_moved;
public var purse:MovieClip;
public var exc5_moved;
public var tie7_moved;
public var scarf3_location;
public var glover_moved;
public var tie6_location;
public var dress:MovieClip;
public var eyepatch_location;
public var musketeer_moved;
public var maxbook_moved;
public var maraca2_location;
public var shoes1:MovieClip;
public var shoes2:MovieClip;
public var shoes3:MovieClip;
public var shoes4:MovieClip;
public var narutoshirt_location;
public var tears:MovieClip;
public var shirt8_location;
public var frill_location;
public var narutoshirt_moved;
public var flower:MovieClip;
public var cookie:MovieClip;
public var shirt1_moved;
public var shirt1_location;
public var bow2_location;
public var belt_moved;
public var maidhat:MovieClip;
public var exc5_location;
public var leaf_moved;
public var hat:MovieClip;
public var bow3_moved;
public var pencil_location;
public var shirt6_moved;
public var santashirt_moved;
public var guitar_moved;
public var scarf2_moved;
public var underwear_moved;
public var pants5_moved;
public var scarf10:MovieClip;
public var shoes4_moved;
public var vest_moved;
public var scarf7_moved;
public var diaper_location;
public var diaper:MovieClip;
public var scarf4_location;
public var shoes3_location;
public var glasses_location;
public var pants3_location;
public var maidhat_moved;
public var tears_moved;
public var policeshirt_moved;
public var rage:MovieClip;
public var glovel_location;
public var tie7_location;
public var pitchfork_location;
public var prelo:MovieClip;
public var shirt9_location;
public var kunai:MovieClip;
public var leaf_location;
public var bow3_location;
public var pearl_location;
public var urlaccess:SimpleButton;
public var policeshirt:MovieClip;
public var tie5_moved;
public var exc3_moved;
public var shirt2_location;
public var maraca1_moved;
public var santahat_location;
public var bow1:MovieClip;
public var bow2:MovieClip;
public var bow3:MovieClip;
public var panties3_moved;
public var bow4:MovieClip;
public var wand_moved;
public var bowtie_moved;
public var exc6_location;
public var strawberry_moved;
public var santashirt:MovieClip;
public var guitar_location;
public var flower_moved;
public var cheeks:MovieClip;
public var pikachuhat_moved;
public var shades_location;
public var panties1_location;
public var maidhat_location;
public var naruto_location;
public var hat_moved;
public var headband:MovieClip;
public var shovel_moved;
public var kunai_moved;
public var bow1_moved;
public var blush_location;
public var panties1:MovieClip;
public var panties2:MovieClip;
public var panties3:MovieClip;
public var panties4:MovieClip;
public var naruto:MovieClip;
public var pants4_location;
public var shirt4_moved;
public var pearl:MovieClip;
public var shoes4_location;
public var pants3_moved;
public var scarf5_location;
public var halo_location;
public var rage_location;
public var tie8_location;
public var nursehat_location;
public var shirt9_moved;
public var shoes2_moved;
public var scarf5_moved;
public var pants8_moved;
public var tie1_location;
public var nextItems:SimpleButton;
public var underwear_location;
public var headband_location;
public var pikachuhat_location;
public var bow4_location;
public var eyepatch:MovieClip;
public var dress_location;
public var shirt3_location;
public var cowboyhat_moved;
public var hat_location;
public var halo_moved;
public var blush:MovieClip;
public var bell:MovieClip;
public var policehat_location;
public var channel:SoundChannel;
public var belt:MovieClip;
public var pencil:MovieClip;
public var exc1_moved;
public var tie3_moved;
public var shades_moved;
public var flower_location;
public var panties2_location;
public var panties1_moved;
public var sweat_location;
public var glasses:MovieClip;
public var crown_moved;
public var naruto_moved;
public var ipod:MovieClip;
public var pausePosition:int;
public var prevItems:SimpleButton;
public var vest:MovieClip;
public var goggles:MovieClip;
public var exc6_moved;
public var pants5_location;
public var tie8_moved;
public var scarf6_location;
public var loincloth_moved;
public var broom_location;
public var wings_moved;
public var tie9_location;
public var sleepcap:MovieClip;
public var maid:MovieClip;
public var shirt2_moved;
public var musketeer_location;
public var tie2_location;
public var pikachuhat:MovieClip;
public var vest_location;
public var pants1_moved;
public var shirt4_location;
public var bow4_moved;
public var maraca1:MovieClip;
public var maraca2:MovieClip;
public var shirt7_moved;
public var sword_moved;
public var sword:MovieClip;
public var scarf3_moved;
public var pants6_moved;
public var exc1_location;
public var crown_location;
public var scarf8_moved;
public var panties3_location;
public var bunny_location;
public var underwear:MovieClip;
public var maxbook:MovieClip;
public var nursehat:MovieClip;
public var seed:MovieClip;
public var sweat:MovieClip;
public var pants6_location;
public var bowtie:MovieClip;
public var tie1_moved;
public var nextHam:SimpleButton;
public var glovel_moved;
public var cowboyhat:MovieClip;
public var dress_moved;
public var scarf7_location;
public var blush_moved;
public var scarf10_location;
public var notes:MovieClip;
public var musketeer:MovieClip;
public var bunny_moved;
public var scarf1:MovieClip;
public var scarf2:MovieClip;
public var scarf3:MovieClip;
public var scarf4:MovieClip;
public var scarf5:MovieClip;
public var scarf6:MovieClip;
public var scarf7:MovieClip;
public var scarf9:MovieClip;
public var scarf8:MovieClip;
public var base:MovieClip;
public var tie6_moved;
public var maraca2_moved;
public var panties4_moved;
public var exc4_moved;
public var shirt5_location;
public var tie3_location;
public var sleepcap_moved;
public var wand_location;
public var kunai_location;
public var glovel:MovieClip;
public var cookie_location;
public var glover:MovieClip;
public var frill:MovieClip;
public var leaf:MovieClip;
public var ipod_location;
public var panties4_location;
public var bow2_moved;
public var glasses_moved;
public var prevHam:SimpleButton;
public var frill_moved;
public var wings2:MovieClip;
public var santashirt_location;
public var seed_moved;
public var bell_location;
public var shirt5_moved;
public var nursedress_moved;
public var scarf1_moved;
public var rage_moved;
public var pants4_moved;
public var exc2_location;
public var pants7_location;
public var scarf8_location;
public var sword_location;
public var devil_moved;
public var shoes3_moved;
public var cowboyhat_location;
public var scarf6_moved;
public var scarf1_location;
public var cheeks_location;
public var shovel_location;
public var pants1:MovieClip;
public var pants2:MovieClip;
public var pants3:MovieClip;
public var pants4:MovieClip;
public var pants5:MovieClip;
public var pants7:MovieClip;
public var pants8:MovieClip;
public var pants9:MovieClip;
public var pants9_moved;
public var pants6:MovieClip;
public var shades:MovieClip;
public var tie4_location;
public var devil:MovieClip;
public var cheeks_moved;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function shoes1dropIt(_arg1:MouseEvent):void{
shoes1.stopDrag();
}
public function scarf4dropIt(_arg1:MouseEvent):void{
scarf4.stopDrag();
}
public function maidhatpickUp(_arg1:MouseEvent):void{
maidhat.startDrag();
maidhat_moved = true;
}
public function policeshirtpickUp(_arg1:MouseEvent):void{
policeshirt.startDrag();
policeshirt_moved = true;
}
public function pearldropIt(_arg1:MouseEvent):void{
pearl.stopDrag();
}
public function scarf9dropIt(_arg1:MouseEvent):void{
scarf9.stopDrag();
}
public function nursehatdropIt(_arg1:MouseEvent):void{
nursehat.stopDrag();
}
public function tearspickUp(_arg1:MouseEvent):void{
tears.startDrag();
tears_moved = true;
}
public function wings2dropIt(_arg1:MouseEvent):void{
wings2.stopDrag();
}
public function gogglesdropIt(_arg1:MouseEvent):void{
goggles.stopDrag();
}
public function scarf10dropIt(_arg1:MouseEvent):void{
scarf10.stopDrag();
}
public function urlAction(_arg1:MouseEvent){
var url:String;
var request:URLRequest;
var event_object = _arg1;
url = "http://pichu90.deviantart.com";
request = new URLRequest(url);
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
public function exc3pickUp(_arg1:MouseEvent):void{
exc3.startDrag();
exc3_moved = true;
}
public function pants7dropIt(_arg1:MouseEvent):void{
pants7.stopDrag();
}
public function panties3pickUp(_arg1:MouseEvent):void{
panties3.startDrag();
panties3_moved = true;
}
public function tie5pickUp(_arg1:MouseEvent):void{
tie5.startDrag();
tie5_moved = true;
}
public function maraca1pickUp(_arg1:MouseEvent):void{
maraca1.startDrag();
maraca1_moved = true;
}
public function bowtiepickUp(_arg1:MouseEvent):void{
bowtie.startDrag();
bowtie_moved = true;
}
public function strawberrypickUp(_arg1:MouseEvent):void{
strawberry.startDrag();
strawberry_moved = true;
}
public function wandpickUp(_arg1:MouseEvent):void{
wand.startDrag();
wand_moved = true;
}
public function ipoddropIt(_arg1:MouseEvent):void{
ipod.stopDrag();
}
public function flowerpickUp(_arg1:MouseEvent):void{
flower.startDrag();
flower_moved = true;
}
public function tie2dropIt(_arg1:MouseEvent):void{
tie2.stopDrag();
}
public function headbanddropIt(_arg1:MouseEvent):void{
headband.stopDrag();
}
public function blindfolddropIt(_arg1:MouseEvent):void{
blindfold.stopDrag();
}
public function pikachuhatpickUp(_arg1:MouseEvent):void{
pikachuhat.startDrag();
pikachuhat_moved = true;
}
public function tie7dropIt(_arg1:MouseEvent):void{
tie7.stopDrag();
}
public function exc5dropIt(_arg1:MouseEvent):void{
exc5.stopDrag();
}
public function gloverdropIt(_arg1:MouseEvent):void{
glover.stopDrag();
}
public function hatpickUp(_arg1:MouseEvent):void{
hat.startDrag();
hat_moved = true;
}
public function musketeerdropIt(_arg1:MouseEvent):void{
musketeer.stopDrag();
}
public function shovelpickUp(_arg1:MouseEvent):void{
shovel.startDrag();
shovel_moved = true;
}
public function maxbookdropIt(_arg1:MouseEvent):void{
maxbook.stopDrag();
}
public function kunaipickUp(_arg1:MouseEvent):void{
kunai.startDrag();
kunai_moved = true;
}
public function bow1pickUp(_arg1:MouseEvent):void{
bow1.startDrag();
bow1_moved = true;
}
public function narutoshirtdropIt(_arg1:MouseEvent):void{
narutoshirt.stopDrag();
}
public function nextItemsAction(_arg1:MouseEvent){
if (curItem == 3){
curItem = 0;
} else {
curItem = (curItem + 1);
};
}
public function shirt1dropIt(_arg1:MouseEvent):void{
shirt1.stopDrag();
}
public function shirt4pickUp(_arg1:MouseEvent):void{
shirt4.startDrag();
shirt4_moved = true;
}
public function pants3pickUp(_arg1:MouseEvent):void{
pants3.startDrag();
pants3_moved = true;
}
public function beltdropIt(_arg1:MouseEvent):void{
belt.stopDrag();
}
public function leafdropIt(_arg1:MouseEvent):void{
leaf.stopDrag();
}
public function shirt9pickUp(_arg1:MouseEvent):void{
shirt9.startDrag();
shirt9_moved = true;
}
public function bow3dropIt(_arg1:MouseEvent):void{
bow3.stopDrag();
}
public function shoes2pickUp(_arg1:MouseEvent):void{
shoes2.startDrag();
shoes2_moved = true;
}
public function scarf5pickUp(_arg1:MouseEvent):void{
scarf5.startDrag();
scarf5_moved = true;
}
public function pants8pickUp(_arg1:MouseEvent):void{
pants8.startDrag();
pants8_moved = true;
}
public function santashirtdropIt(_arg1:MouseEvent):void{
santashirt.stopDrag();
}
public function guitardropIt(_arg1:MouseEvent):void{
guitar.stopDrag();
}
public function scarf2dropIt(_arg1:MouseEvent):void{
scarf2.stopDrag();
}
public function underweardropIt(_arg1:MouseEvent):void{
underwear.stopDrag();
}
public function pants5dropIt(_arg1:MouseEvent):void{
pants5.stopDrag();
}
public function shirt6dropIt(_arg1:MouseEvent):void{
shirt6.stopDrag();
}
public function cowboyhatpickUp(_arg1:MouseEvent):void{
cowboyhat.startDrag();
cowboyhat_moved = true;
}
public function shoes4dropIt(_arg1:MouseEvent):void{
shoes4.stopDrag();
}
public function vestdropIt(_arg1:MouseEvent):void{
vest.stopDrag();
}
public function scarf7dropIt(_arg1:MouseEvent):void{
scarf7.stopDrag();
}
public function halopickUp(_arg1:MouseEvent):void{
halo.startDrag();
halo_moved = true;
}
public function prevItemsAction(_arg1:MouseEvent){
if (curItem == 0){
curItem = 3;
} else {
curItem = (curItem - 1);
};
}
public function exc1pickUp(_arg1:MouseEvent):void{
exc1.startDrag();
exc1_moved = true;
}
public function tie3pickUp(_arg1:MouseEvent):void{
tie3.startDrag();
tie3_moved = true;
}
public function tearsdropIt(_arg1:MouseEvent):void{
tears.stopDrag();
}
public function policeshirtdropIt(_arg1:MouseEvent):void{
policeshirt.stopDrag();
}
public function crownpickUp(_arg1:MouseEvent):void{
crown.startDrag();
crown_moved = true;
}
public function panties1pickUp(_arg1:MouseEvent):void{
panties1.startDrag();
panties1_moved = true;
}
public function narutopickUp(_arg1:MouseEvent):void{
naruto.startDrag();
naruto_moved = true;
}
public function maidhatdropIt(_arg1:MouseEvent):void{
maidhat.stopDrag();
}
public function shadespickUp(_arg1:MouseEvent):void{
shades.startDrag();
shades_moved = true;
}
public function tie8pickUp(_arg1:MouseEvent):void{
tie8.startDrag();
tie8_moved = true;
}
public function loinclothpickUp(_arg1:MouseEvent):void{
loincloth.startDrag();
loincloth_moved = true;
}
public function tie5dropIt(_arg1:MouseEvent):void{
tie5.stopDrag();
}
public function maraca1dropIt(_arg1:MouseEvent):void{
maraca1.stopDrag();
}
public function panties3dropIt(_arg1:MouseEvent):void{
panties3.stopDrag();
}
public function exc3dropIt(_arg1:MouseEvent):void{
exc3.stopDrag();
}
public function wanddropIt(_arg1:MouseEvent):void{
wand.stopDrag();
}
public function wingspickUp(_arg1:MouseEvent):void{
wings.startDrag();
wings_moved = true;
}
public function bowtiedropIt(_arg1:MouseEvent):void{
bowtie.stopDrag();
}
public function strawberrydropIt(_arg1:MouseEvent):void{
strawberry.stopDrag();
}
public function flowerdropIt(_arg1:MouseEvent):void{
flower.stopDrag();
}
public function exc6pickUp(_arg1:MouseEvent):void{
exc6.startDrag();
exc6_moved = true;
}
public function shirt2pickUp(_arg1:MouseEvent):void{
shirt2.startDrag();
shirt2_moved = true;
}
public function pants1pickUp(_arg1:MouseEvent):void{
pants1.startDrag();
pants1_moved = true;
}
public function pikachuhatdropIt(_arg1:MouseEvent):void{
pikachuhat.stopDrag();
}
public function bow4pickUp(_arg1:MouseEvent):void{
bow4.startDrag();
bow4_moved = true;
}
public function hatdropIt(_arg1:MouseEvent):void{
hat.stopDrag();
}
public function swordpickUp(_arg1:MouseEvent):void{
sword.startDrag();
sword_moved = true;
}
public function shoveldropIt(_arg1:MouseEvent):void{
shovel.stopDrag();
}
public function bow1dropIt(_arg1:MouseEvent):void{
bow1.stopDrag();
}
public function scarf3pickUp(_arg1:MouseEvent):void{
scarf3.startDrag();
scarf3_moved = true;
}
public function shirt7pickUp(_arg1:MouseEvent):void{
shirt7.startDrag();
shirt7_moved = true;
}
public function kunaidropIt(_arg1:MouseEvent):void{
kunai.stopDrag();
}
public function pants6pickUp(_arg1:MouseEvent):void{
pants6.startDrag();
pants6_moved = true;
}
public function shirt4dropIt(_arg1:MouseEvent):void{
shirt4.stopDrag();
}
public function pants3dropIt(_arg1:MouseEvent):void{
pants3.stopDrag();
}
public function scarf8pickUp(_arg1:MouseEvent):void{
scarf8.startDrag();
scarf8_moved = true;
}
public function shirt9dropIt(_arg1:MouseEvent):void{
shirt9.stopDrag();
}
public function shoes2dropIt(_arg1:MouseEvent):void{
shoes2.stopDrag();
}
public function playMusic():void{
my_sound = new TottokonoUta();
channel = my_sound.play();
channel.addEventListener(Event.SOUND_COMPLETE, loopMusic);
}
public function pants8dropIt(_arg1:MouseEvent):void{
pants8.stopDrag();
}
public function scarf5dropIt(_arg1:MouseEvent):void{
scarf5.stopDrag();
}
public function tie1pickUp(_arg1:MouseEvent):void{
tie1.startDrag();
tie1_moved = true;
}
public function glovelpickUp(_arg1:MouseEvent):void{
glovel.startDrag();
glovel_moved = true;
}
public function cowboyhatdropIt(_arg1:MouseEvent):void{
cowboyhat.stopDrag();
}
public function dresspickUp(_arg1:MouseEvent):void{
dress.startDrag();
dress_moved = true;
}
public function blushpickUp(_arg1:MouseEvent):void{
blush.startDrag();
blush_moved = true;
}
public function bunnypickUp(_arg1:MouseEvent):void{
bunny.startDrag();
bunny_moved = true;
}
public function halodropIt(_arg1:MouseEvent):void{
halo.stopDrag();
}
public function exc4pickUp(_arg1:MouseEvent):void{
exc4.startDrag();
exc4_moved = true;
}
public function tie6pickUp(_arg1:MouseEvent):void{
tie6.startDrag();
tie6_moved = true;
}
public function maraca2pickUp(_arg1:MouseEvent):void{
maraca2.startDrag();
maraca2_moved = true;
}
public function panties4pickUp(_arg1:MouseEvent):void{
panties4.startDrag();
panties4_moved = true;
}
public function onEnterMe(_arg1:Event):void{
if (!strawberry_moved){
if (curItem != 0){
strawberry.x = -1000;
strawberry.alpha = 0;
} else {
strawberry.x = strawberry_location;
strawberry.alpha = 100;
};
};
if (!flower_moved){
if (curItem != 0){
flower.x = -1000;
flower.alpha = 0;
} else {
flower.x = flower_location;
flower.alpha = 100;
};
};
if (!seed_moved){
if (curItem != 0){
seed.x = -1000;
seed.alpha = 0;
} else {
seed.x = seed_location;
seed.alpha = 100;
};
};
if (!maraca1_moved){
if (curItem != 0){
maraca1.x = -1000;
maraca1.alpha = 0;
} else {
maraca1.x = maraca1_location;
maraca1.alpha = 100;
};
};
if (!maraca2_moved){
if (curItem != 0){
maraca2.x = -1000;
maraca2.alpha = 0;
} else {
maraca2.x = maraca2_location;
maraca2.alpha = 100;
};
};
if (!pearl_moved){
if (curItem != 0){
pearl.x = -1000;
pearl.alpha = 0;
} else {
pearl.x = pearl_location;
pearl.alpha = 100;
};
};
if (!halo_moved){
if (curItem != 0){
halo.x = -1000;
halo.alpha = 0;
} else {
halo.x = halo_location;
halo.alpha = 100;
};
};
if (!headband_moved){
if (curItem != 0){
headband.x = -1000;
headband.alpha = 0;
} else {
headband.x = headband_location;
headband.alpha = 100;
};
};
if (!bowtie_moved){
if (curItem != 0){
bowtie.x = -1000;
bowtie.alpha = 0;
} else {
bowtie.x = bowtie_location;
bowtie.alpha = 100;
};
};
if (!wand_moved){
if (curItem != 0){
wand.x = -1000;
wand.alpha = 0;
} else {
wand.x = wand_location;
wand.alpha = 100;
};
};
if (!wings_moved){
if (curItem != 0){
wings.x = -1000;
wings.alpha = 0;
} else {
wings.x = wings_location;
wings.alpha = 100;
};
};
if (!frill_moved){
if (curItem != 0){
frill.x = -1000;
frill.alpha = 0;
} else {
frill.x = frill_location;
frill.alpha = 100;
};
};
if (!maxbook_moved){
if (curItem != 0){
maxbook.x = -1000;
maxbook.alpha = 0;
} else {
maxbook.x = maxbook_location;
maxbook.alpha = 100;
};
};
if (!pitchfork_moved){
if (curItem != 0){
pitchfork.x = -1000;
pitchfork.alpha = 0;
} else {
pitchfork.x = pitchfork_location;
pitchfork.alpha = 100;
};
};
if (!purse_moved){
if (curItem != 0){
purse.x = -1000;
purse.alpha = 0;
} else {
purse.x = purse_location;
purse.alpha = 100;
};
};
if (!broom_moved){
if (curItem != 0){
broom.x = -1000;
broom.alpha = 0;
} else {
broom.x = broom_location;
broom.alpha = 100;
};
};
if (!wings2_moved){
if (curItem != 0){
wings2.x = -1000;
wings2.alpha = 0;
} else {
wings2.x = wings2_location;
wings2.alpha = 100;
};
};
if (!sword_moved){
if (curItem != 0){
sword.x = -1000;
sword.alpha = 0;
} else {
sword.x = sword_location;
sword.alpha = 100;
};
};
if (!shovel_moved){
if (curItem != 0){
shovel.x = -1000;
shovel.alpha = 0;
} else {
shovel.x = shovel_location;
shovel.alpha = 100;
};
};
if (!kunai_moved){
if (curItem != 0){
kunai.x = -1000;
kunai.alpha = 0;
} else {
kunai.x = kunai_location;
kunai.alpha = 100;
};
};
if (!pencil_moved){
if (curItem != 0){
pencil.x = -1000;
pencil.alpha = 0;
} else {
pencil.x = pencil_location;
pencil.alpha = 100;
};
};
if (!leaf_moved){
if (curItem != 0){
leaf.x = -1000;
leaf.alpha = 0;
} else {
leaf.x = leaf_location;
leaf.alpha = 100;
};
};
if (!glovel_moved){
if (curItem != 0){
glovel.x = -1000;
glovel.alpha = 0;
} else {
glovel.x = glovel_location;
glovel.alpha = 100;
};
};
if (!glover_moved){
if (curItem != 0){
glover.x = -1000;
glover.alpha = 0;
} else {
glover.x = glover_location;
glover.alpha = 100;
};
};
if (!guitar_moved){
if (curItem != 0){
guitar.x = -1000;
guitar.alpha = 0;
} else {
guitar.x = guitar_location;
guitar.alpha = 100;
};
};
if (!cookie_moved){
if (curItem != 0){
cookie.x = -1000;
cookie.alpha = 0;
} else {
cookie.x = cookie_location;
cookie.alpha = 100;
};
};
if (!vest_moved){
if (curItem != 1){
vest.x = -1000;
vest.alpha = 0;
} else {
vest.x = vest_location;
vest.alpha = 100;
};
};
if (!policeshirt_moved){
if (curItem != 1){
policeshirt.x = -1000;
policeshirt.alpha = 0;
} else {
policeshirt.x = policeshirt_location;
policeshirt.alpha = 100;
};
};
if (!narutoshirt_moved){
if (curItem != 1){
narutoshirt.x = -1000;
narutoshirt.alpha = 0;
} else {
narutoshirt.x = narutoshirt_location;
narutoshirt.alpha = 100;
};
};
if (!santashirt_moved){
if (curItem != 1){
santashirt.x = -1000;
santashirt.alpha = 0;
} else {
santashirt.x = santashirt_location;
santashirt.alpha = 100;
};
};
if (!musketeer_moved){
if (curItem != 1){
musketeer.x = -1000;
musketeer.alpha = 0;
} else {
musketeer.x = musketeer_location;
musketeer.alpha = 100;
};
};
if (!maid_moved){
if (curItem != 1){
maid.x = -1000;
maid.alpha = 0;
} else {
maid.x = maid_location;
maid.alpha = 100;
};
};
if (!nursedress_moved){
if (curItem != 1){
nursedress.x = -1000;
nursedress.alpha = 0;
} else {
nursedress.x = nursedress_location;
nursedress.alpha = 100;
};
};
if (!dress_moved){
if (curItem != 1){
dress.x = -1000;
dress.alpha = 0;
} else {
dress.x = dress_location;
dress.alpha = 100;
};
};
if (!shoes4_moved){
if (curItem != 1){
shoes4.x = -1000;
shoes4.alpha = 0;
} else {
shoes4.x = shoes4_location;
shoes4.alpha = 100;
};
};
if (!shoes3_moved){
if (curItem != 1){
shoes3.x = -1000;
shoes3.alpha = 0;
} else {
shoes3.x = shoes3_location;
shoes3.alpha = 100;
};
};
if (!shoes2_moved){
if (curItem != 1){
shoes2.x = -1000;
shoes2.alpha = 0;
} else {
shoes2.x = shoes2_location;
shoes2.alpha = 100;
};
};
if (!shoes1_moved){
if (curItem != 1){
shoes1.x = -1000;
shoes1.alpha = 0;
} else {
shoes1.x = shoes1_location;
shoes1.alpha = 100;
};
};
if (!blindfold_moved){
if (curItem != 1){
blindfold.x = -1000;
blindfold.alpha = 0;
} else {
blindfold.x = blindfold_location;
blindfold.alpha = 100;
};
};
if (!loincloth_moved){
if (curItem != 1){
loincloth.x = -1000;
loincloth.alpha = 0;
} else {
loincloth.x = loincloth_location;
loincloth.alpha = 100;
};
};
if (!panties4_moved){
if (curItem != 1){
panties4.x = -1000;
panties4.alpha = 0;
} else {
panties4.x = panties4_location;
panties4.alpha = 100;
};
};
if (!panties3_moved){
if (curItem != 1){
panties3.x = -1000;
panties3.alpha = 0;
} else {
panties3.x = panties3_location;
panties3.alpha = 100;
};
};
if (!panties2_moved){
if (curItem != 1){
panties2.x = -1000;
panties2.alpha = 0;
} else {
panties2.x = panties2_location;
panties2.alpha = 100;
};
};
if (!panties1_moved){
if (curItem != 1){
panties1.x = -1000;
panties1.alpha = 0;
} else {
panties1.x = panties1_location;
panties1.alpha = 100;
};
};
if (!underwear_moved){
if (curItem != 1){
underwear.x = -1000;
underwear.alpha = 0;
} else {
underwear.x = underwear_location;
underwear.alpha = 100;
};
};
if (!diaper_moved){
if (curItem != 1){
diaper.x = -1000;
diaper.alpha = 0;
} else {
diaper.x = diaper_location;
diaper.alpha = 100;
};
};
if (!belt_moved){
if (curItem != 1){
belt.x = -1000;
belt.alpha = 0;
} else {
belt.x = belt_location;
belt.alpha = 100;
};
};
if (!bell_moved){
if (curItem != 1){
bell.x = -1000;
bell.alpha = 0;
} else {
bell.x = bell_location;
bell.alpha = 100;
};
};
if (!bow4_moved){
if (curItem != 1){
bow4.x = -1000;
bow4.alpha = 0;
} else {
bow4.x = bow4_location;
bow4.alpha = 100;
};
};
if (!bow3_moved){
if (curItem != 1){
bow3.x = -1000;
bow3.alpha = 0;
} else {
bow3.x = bow3_location;
bow3.alpha = 100;
};
};
if (!bow2_moved){
if (curItem != 1){
bow2.x = -1000;
bow2.alpha = 0;
} else {
bow2.x = bow2_location;
bow2.alpha = 100;
};
};
if (!bow1_moved){
if (curItem != 1){
bow1.x = -1000;
bow1.alpha = 0;
} else {
bow1.x = bow1_location;
bow1.alpha = 100;
};
};
if (!glasses_moved){
if (curItem != 1){
glasses.x = -1000;
glasses.alpha = 0;
} else {
glasses.x = glasses_location;
glasses.alpha = 100;
};
};
if (!shades_moved){
if (curItem != 1){
shades.x = -1000;
shades.alpha = 0;
} else {
shades.x = shades_location;
shades.alpha = 100;
};
};
if (!goggles_moved){
if (curItem != 1){
goggles.x = -1000;
goggles.alpha = 0;
} else {
goggles.x = goggles_location;
goggles.alpha = 100;
};
};
if (!eyepatch_moved){
if (curItem != 1){
eyepatch.x = -1000;
eyepatch.alpha = 0;
} else {
eyepatch.x = eyepatch_location;
eyepatch.alpha = 100;
};
};
if (!santahat_moved){
if (curItem != 2){
santahat.x = -1000;
santahat.alpha = 0;
} else {
santahat.x = santahat_location;
santahat.alpha = 100;
};
};
if (!policehat_moved){
if (curItem != 2){
policehat.x = -1000;
policehat.alpha = 0;
} else {
policehat.x = policehat_location;
policehat.alpha = 100;
};
};
if (!pikachuhat_moved){
if (curItem != 2){
pikachuhat.x = -1000;
pikachuhat.alpha = 0;
} else {
pikachuhat.x = pikachuhat_location;
pikachuhat.alpha = 100;
};
};
if (!crown_moved){
if (curItem != 2){
crown.x = -1000;
crown.alpha = 0;
} else {
crown.x = crown_location;
crown.alpha = 100;
};
};
if (!devil_moved){
if (curItem != 2){
devil.x = -1000;
devil.alpha = 0;
} else {
devil.x = devil_location;
devil.alpha = 100;
};
};
if (!nursehat_moved){
if (curItem != 2){
nursehat.x = -1000;
nursehat.alpha = 0;
} else {
nursehat.x = nursehat_location;
nursehat.alpha = 100;
};
};
if (!ipod_moved){
if (curItem != 2){
ipod.x = -1000;
ipod.alpha = 0;
} else {
ipod.x = ipod_location;
ipod.alpha = 100;
};
};
if (!bunny_moved){
if (curItem != 2){
bunny.x = -1000;
bunny.alpha = 0;
} else {
bunny.x = bunny_location;
bunny.alpha = 100;
};
};
if (!hat_moved){
if (curItem != 2){
hat.x = -1000;
hat.alpha = 0;
} else {
hat.x = hat_location;
hat.alpha = 100;
};
};
if (!sleepcap_moved){
if (curItem != 2){
sleepcap.x = -1000;
sleepcap.alpha = 0;
} else {
sleepcap.x = sleepcap_location;
sleepcap.alpha = 100;
};
};
if (!maidhat_moved){
if (curItem != 2){
maidhat.x = -1000;
maidhat.alpha = 0;
} else {
maidhat.x = maidhat_location;
maidhat.alpha = 100;
};
};
if (!cowboyhat_moved){
if (curItem != 2){
cowboyhat.x = -1000;
cowboyhat.alpha = 0;
} else {
cowboyhat.x = cowboyhat_location;
cowboyhat.alpha = 100;
};
};
if (!naruto_moved){
if (curItem != 2){
naruto.x = -1000;
naruto.alpha = 0;
} else {
naruto.x = naruto_location;
naruto.alpha = 100;
};
};
if (!shirt1_moved){
if (curItem != 3){
shirt1.x = -1000;
shirt1.alpha = 0;
} else {
shirt1.x = shirt1_location;
shirt1.alpha = 100;
};
};
if (!shirt2_moved){
if (curItem != 3){
shirt2.x = -1000;
shirt2.alpha = 0;
} else {
shirt2.x = shirt2_location;
shirt2.alpha = 100;
};
};
if (!shirt3_moved){
if (curItem != 3){
shirt3.x = -1000;
shirt3.alpha = 0;
} else {
shirt3.x = shirt3_location;
shirt3.alpha = 100;
};
};
if (!shirt4_moved){
if (curItem != 3){
shirt4.x = -1000;
shirt4.alpha = 0;
} else {
shirt4.x = shirt4_location;
shirt4.alpha = 100;
};
};
if (!shirt5_moved){
if (curItem != 3){
shirt5.x = -1000;
shirt5.alpha = 0;
} else {
shirt5.x = shirt5_location;
shirt5.alpha = 100;
};
};
if (!shirt6_moved){
if (curItem != 3){
shirt6.x = -1000;
shirt6.alpha = 0;
} else {
shirt6.x = shirt6_location;
shirt6.alpha = 100;
};
};
if (!shirt7_moved){
if (curItem != 3){
shirt7.x = -1000;
shirt7.alpha = 0;
} else {
shirt7.x = shirt7_location;
shirt7.alpha = 100;
};
};
if (!shirt8_moved){
if (curItem != 3){
shirt8.x = -1000;
shirt8.alpha = 0;
} else {
shirt8.x = shirt8_location;
shirt8.alpha = 100;
};
};
if (!shirt9_moved){
if (curItem != 3){
shirt9.x = -1000;
shirt9.alpha = 0;
} else {
shirt9.x = shirt9_location;
shirt9.alpha = 100;
};
};
if (!pants1_moved){
if (curItem != 3){
pants1.x = -1000;
pants1.alpha = 0;
} else {
pants1.x = pants1_location;
pants1.alpha = 100;
};
};
if (!pants2_moved){
if (curItem != 3){
pants2.x = -1000;
pants2.alpha = 0;
} else {
pants2.x = pants2_location;
pants2.alpha = 100;
};
};
if (!pants3_moved){
if (curItem != 3){
pants3.x = -1000;
pants3.alpha = 0;
} else {
pants3.x = pants3_location;
pants3.alpha = 100;
};
};
if (!pants4_moved){
if (curItem != 3){
pants4.x = -1000;
pants4.alpha = 0;
} else {
pants4.x = pants4_location;
pants4.alpha = 100;
};
};
if (!pants5_moved){
if (curItem != 3){
pants5.x = -1000;
pants5.alpha = 0;
} else {
pants5.x = pants5_location;
pants5.alpha = 100;
};
};
if (!pants6_moved){
if (curItem != 3){
pants6.x = -1000;
pants6.alpha = 0;
} else {
pants6.x = pants6_location;
pants6.alpha = 100;
};
};
if (!pants7_moved){
if (curItem != 3){
pants7.x = -1000;
pants7.alpha = 0;
} else {
pants7.x = pants7_location;
pants7.alpha = 100;
};
};
if (!pants8_moved){
if (curItem != 3){
pants8.x = -1000;
pants8.alpha = 0;
} else {
pants8.x = pants8_location;
pants8.alpha = 100;
};
};
if (!pants9_moved){
if (curItem != 3){
pants9.x = -1000;
pants9.alpha = 0;
} else {
pants9.x = pants9_location;
pants9.alpha = 100;
};
};
if (!tie1_moved){
if (curItem != 3){
tie1.x = -1000;
tie1.alpha = 0;
} else {
tie1.x = tie1_location;
tie1.alpha = 100;
};
};
if (!tie2_moved){
if (curItem != 3){
tie2.x = -1000;
tie2.alpha = 0;
} else {
tie2.x = tie2_location;
tie2.alpha = 100;
};
};
if (!tie3_moved){
if (curItem != 3){
tie3.x = -1000;
tie3.alpha = 0;
} else {
tie3.x = tie3_location;
tie3.alpha = 100;
};
};
if (!tie4_moved){
if (curItem != 3){
tie4.x = -1000;
tie4.alpha = 0;
} else {
tie4.x = tie4_location;
tie4.alpha = 100;
};
};
if (!tie5_moved){
if (curItem != 3){
tie5.x = -1000;
tie5.alpha = 0;
} else {
tie5.x = tie5_location;
tie5.alpha = 100;
};
};
if (!tie6_moved){
if (curItem != 3){
tie6.x = -1000;
tie6.alpha = 0;
} else {
tie6.x = tie6_location;
tie6.alpha = 100;
};
};
if (!tie7_moved){
if (curItem != 3){
tie7.x = -1000;
tie7.alpha = 0;
} else {
tie7.x = tie7_location;
tie7.alpha = 100;
};
};
if (!tie8_moved){
if (curItem != 3){
tie8.x = -1000;
tie8.alpha = 0;
} else {
tie8.x = tie8_location;
tie8.alpha = 100;
};
};
if (!tie9_moved){
if (curItem != 3){
tie9.x = -1000;
tie9.alpha = 0;
} else {
tie9.x = tie9_location;
tie9.alpha = 100;
};
};
if (!scarf1_moved){
if (curItem != 3){
scarf1.x = -1000;
scarf1.alpha = 0;
} else {
scarf1.x = scarf1_location;
scarf1.alpha = 100;
};
};
if (!scarf2_moved){
if (curItem != 3){
scarf2.x = -1000;
scarf2.alpha = 0;
} else {
scarf2.x = scarf2_location;
scarf2.alpha = 100;
};
};
if (!scarf3_moved){
if (curItem != 3){
scarf3.x = -1000;
scarf3.alpha = 0;
} else {
scarf3.x = scarf3_location;
scarf3.alpha = 100;
};
};
if (!scarf4_moved){
if (curItem != 3){
scarf4.x = -1000;
scarf4.alpha = 0;
} else {
scarf4.x = scarf4_location;
scarf4.alpha = 100;
};
};
if (!scarf5_moved){
if (curItem != 3){
scarf5.x = -1000;
scarf5.alpha = 0;
} else {
scarf5.x = scarf5_location;
scarf5.alpha = 100;
};
};
if (!scarf6_moved){
if (curItem != 3){
scarf6.x = -1000;
scarf6.alpha = 0;
} else {
scarf6.x = scarf6_location;
scarf6.alpha = 100;
};
};
if (!scarf7_moved){
if (curItem != 3){
scarf7.x = -1000;
scarf7.alpha = 0;
} else {
scarf7.x = scarf7_location;
scarf7.alpha = 100;
};
};
if (!scarf8_moved){
if (curItem != 3){
scarf8.x = -1000;
scarf8.alpha = 0;
} else {
scarf8.x = scarf8_location;
scarf8.alpha = 100;
};
};
if (!scarf9_moved){
if (curItem != 3){
scarf9.x = -1000;
scarf9.alpha = 0;
} else {
scarf9.x = scarf9_location;
scarf9.alpha = 100;
};
};
if (!scarf10_moved){
if (curItem != 3){
scarf10.x = -1000;
scarf10.alpha = 0;
} else {
scarf10.x = scarf10_location;
scarf10.alpha = 100;
};
};
if (!tears_moved){
if (curItem != 3){
tears.x = -1000;
tears.alpha = 0;
} else {
tears.x = tears_location;
tears.alpha = 100;
};
};
if (!cheeks_moved){
if (curItem != 3){
cheeks.x = -1000;
cheeks.alpha = 0;
} else {
cheeks.x = cheeks_location;
cheeks.alpha = 100;
};
};
if (!blush_moved){
if (curItem != 3){
blush.x = -1000;
blush.alpha = 0;
} else {
blush.x = blush_location;
blush.alpha = 100;
};
};
if (!sweat_moved){
if (curItem != 3){
sweat.x = -1000;
sweat.alpha = 0;
} else {
sweat.x = sweat_location;
sweat.alpha = 100;
};
};
if (!rage_moved){
if (curItem != 3){
rage.x = -1000;
rage.alpha = 0;
} else {
rage.x = rage_location;
rage.alpha = 100;
};
};
if (!exc1_moved){
if (curItem != 3){
exc1.x = -1000;
exc1.alpha = 0;
} else {
exc1.x = exc1_location;
exc1.alpha = 100;
};
};
if (!exc2_moved){
if (curItem != 3){
exc2.x = -1000;
exc2.alpha = 0;
} else {
exc2.x = exc2_location;
exc2.alpha = 100;
};
};
if (!exc3_moved){
if (curItem != 3){
exc3.x = -1000;
exc3.alpha = 0;
} else {
exc3.x = exc3_location;
exc3.alpha = 100;
};
};
if (!exc4_moved){
if (curItem != 3){
exc4.x = -1000;
exc4.alpha = 0;
} else {
exc4.x = exc4_location;
exc4.alpha = 100;
};
};
if (!exc5_moved){
if (curItem != 3){
exc5.x = -1000;
exc5.alpha = 0;
} else {
exc5.x = exc5_location;
exc5.alpha = 100;
};
};
if (!exc6_moved){
if (curItem != 3){
exc6.x = -1000;
exc6.alpha = 0;
} else {
exc6.x = exc6_location;
exc6.alpha = 100;
};
};
}
public function exc1dropIt(_arg1:MouseEvent):void{
exc1.stopDrag();
}
public function tie3dropIt(_arg1:MouseEvent):void{
tie3.stopDrag();
}
public function shadesdropIt(_arg1:MouseEvent):void{
shades.stopDrag();
}
public function panties1dropIt(_arg1:MouseEvent):void{
panties1.stopDrag();
}
public function crowndropIt(_arg1:MouseEvent):void{
crown.stopDrag();
}
public function narutodropIt(_arg1:MouseEvent):void{
naruto.stopDrag();
}
public function sleepcappickUp(_arg1:MouseEvent):void{
sleepcap.startDrag();
sleepcap_moved = true;
}
public function exc6dropIt(_arg1:MouseEvent):void{
exc6.stopDrag();
}
public function tie8dropIt(_arg1:MouseEvent):void{
tie8.stopDrag();
}
public function loinclothdropIt(_arg1:MouseEvent):void{
loincloth.stopDrag();
}
public function ragepickUp(_arg1:MouseEvent):void{
rage.startDrag();
rage_moved = true;
}
public function nextHamAction(_arg1:MouseEvent){
if ((((base.currentFrame == 21)) || ((base.currentFrame == 22)))){
base.gotoAndStop(1);
} else {
base.gotoAndStop((base.currentFrame + 1));
};
if ((((base.currentFrame == 6)) || ((base.currentFrame == 22)))){
diaper.gotoAndStop(2);
} else {
diaper.gotoAndStop(1);
};
}
public function frillpickUp(_arg1:MouseEvent):void{
frill.startDrag();
frill_moved = true;
}
public function wingsdropIt(_arg1:MouseEvent):void{
wings.stopDrag();
}
public function bow2pickUp(_arg1:MouseEvent):void{
bow2.startDrag();
bow2_moved = true;
}
public function seedpickUp(_arg1:MouseEvent):void{
seed.startDrag();
seed_moved = true;
}
public function glassespickUp(_arg1:MouseEvent):void{
glasses.startDrag();
glasses_moved = true;
}
public function nursedresspickUp(_arg1:MouseEvent):void{
nursedress.startDrag();
nursedress_moved = true;
}
public function notesAction(_arg1:MouseEvent){
if (notes.currentFrame == 1){
notes.gotoAndStop(2);
pausePosition = channel.position;
channel.stop();
} else {
channel = my_sound.play(pausePosition);
channel.removeEventListener(Event.SOUND_COMPLETE, loopMusic);
channel.addEventListener(Event.SOUND_COMPLETE, loopMusic);
notes.gotoAndStop(1);
};
}
public function shirt5pickUp(_arg1:MouseEvent):void{
shirt5.startDrag();
shirt5_moved = true;
}
function frame1(){
stop();
}
function frame2(){
my_sound = new TottokonoUta();
channel = my_sound.play();
pausePosition = channel.position;
channel.addEventListener(Event.SOUND_COMPLETE, loopMusic);
notes.addEventListener(MouseEvent.CLICK, notesAction);
prevHam.addEventListener(MouseEvent.CLICK, prevHamAction);
nextHam.addEventListener(MouseEvent.CLICK, nextHamAction);
curItem = 0;
prevItems.addEventListener(MouseEvent.CLICK, prevItemsAction);
nextItems.addEventListener(MouseEvent.CLICK, nextItemsAction);
addEventListener(Event.ENTER_FRAME, onEnterMe);
broom_location = broom.x;
broom_moved = false;
broom.buttonMode = true;
broom.addEventListener(MouseEvent.MOUSE_DOWN, broompickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, broomdropIt);
pitchfork_location = pitchfork.x;
pitchfork_moved = false;
pitchfork.buttonMode = true;
pitchfork.addEventListener(MouseEvent.MOUSE_DOWN, pitchforkpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pitchforkdropIt);
purse_location = purse.x;
purse_moved = false;
purse.buttonMode = true;
purse.addEventListener(MouseEvent.MOUSE_DOWN, pursepickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pursedropIt);
maxbook_location = maxbook.x;
maxbook_moved = false;
maxbook.buttonMode = true;
maxbook.addEventListener(MouseEvent.MOUSE_DOWN, maxbookpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, maxbookdropIt);
frill_location = frill.x;
frill_moved = false;
frill.buttonMode = true;
frill.addEventListener(MouseEvent.MOUSE_DOWN, frillpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, frilldropIt);
wings2_location = wings2.x;
wings2_moved = false;
wings2.buttonMode = true;
wings2.addEventListener(MouseEvent.MOUSE_DOWN, wings2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, wings2dropIt);
strawberry_location = strawberry.x;
strawberry_moved = false;
strawberry.buttonMode = true;
strawberry.addEventListener(MouseEvent.MOUSE_DOWN, strawberrypickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, strawberrydropIt);
flower_location = flower.x;
flower_moved = false;
flower.buttonMode = true;
flower.addEventListener(MouseEvent.MOUSE_DOWN, flowerpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, flowerdropIt);
seed_location = seed.x;
seed_moved = false;
seed.buttonMode = true;
seed.addEventListener(MouseEvent.MOUSE_DOWN, seedpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, seeddropIt);
maraca1_location = maraca1.x;
maraca1_moved = false;
maraca1.buttonMode = true;
maraca1.addEventListener(MouseEvent.MOUSE_DOWN, maraca1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, maraca1dropIt);
maraca2_location = maraca2.x;
maraca2_moved = false;
maraca2.buttonMode = true;
maraca2.addEventListener(MouseEvent.MOUSE_DOWN, maraca2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, maraca2dropIt);
pearl_location = pearl.x;
pearl_moved = false;
pearl.buttonMode = true;
pearl.addEventListener(MouseEvent.MOUSE_DOWN, pearlpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pearldropIt);
halo_location = halo.x;
halo_moved = false;
halo.buttonMode = true;
halo.addEventListener(MouseEvent.MOUSE_DOWN, halopickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, halodropIt);
headband_location = headband.x;
headband_moved = false;
headband.buttonMode = true;
headband.addEventListener(MouseEvent.MOUSE_DOWN, headbandpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, headbanddropIt);
bowtie_location = bowtie.x;
bowtie_moved = false;
bowtie.buttonMode = true;
bowtie.addEventListener(MouseEvent.MOUSE_DOWN, bowtiepickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, bowtiedropIt);
wand_location = wand.x;
wand_moved = false;
wand.buttonMode = true;
wand.addEventListener(MouseEvent.MOUSE_DOWN, wandpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, wanddropIt);
wings_location = wings.x;
wings_moved = false;
wings.buttonMode = true;
wings.addEventListener(MouseEvent.MOUSE_DOWN, wingspickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, wingsdropIt);
sword_location = sword.x;
sword_moved = false;
sword.buttonMode = true;
sword.addEventListener(MouseEvent.MOUSE_DOWN, swordpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, sworddropIt);
shovel_location = shovel.x;
shovel_moved = false;
shovel.buttonMode = true;
shovel.addEventListener(MouseEvent.MOUSE_DOWN, shovelpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shoveldropIt);
kunai_location = kunai.x;
kunai_moved = false;
kunai.buttonMode = true;
kunai.addEventListener(MouseEvent.MOUSE_DOWN, kunaipickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, kunaidropIt);
pencil_location = pencil.x;
pencil_moved = false;
pencil.buttonMode = true;
pencil.addEventListener(MouseEvent.MOUSE_DOWN, pencilpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pencildropIt);
leaf_location = leaf.x;
leaf_moved = false;
leaf.buttonMode = true;
leaf.addEventListener(MouseEvent.MOUSE_DOWN, leafpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, leafdropIt);
glovel_location = glovel.x;
glovel_moved = false;
glovel.buttonMode = true;
glovel.addEventListener(MouseEvent.MOUSE_DOWN, glovelpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, gloveldropIt);
glover_location = glover.x;
glover_moved = false;
glover.buttonMode = true;
glover.addEventListener(MouseEvent.MOUSE_DOWN, gloverpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, gloverdropIt);
guitar_location = guitar.x;
guitar_moved = false;
guitar.buttonMode = true;
guitar.addEventListener(MouseEvent.MOUSE_DOWN, guitarpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, guitardropIt);
cookie_location = cookie.x;
cookie_moved = false;
cookie.buttonMode = true;
cookie.addEventListener(MouseEvent.MOUSE_DOWN, cookiepickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, cookiedropIt);
vest_location = vest.x;
vest_moved = false;
vest.buttonMode = true;
vest.addEventListener(MouseEvent.MOUSE_DOWN, vestpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, vestdropIt);
policeshirt_location = policeshirt.x;
policeshirt_moved = false;
policeshirt.buttonMode = true;
policeshirt.addEventListener(MouseEvent.MOUSE_DOWN, policeshirtpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, policeshirtdropIt);
narutoshirt_location = narutoshirt.x;
narutoshirt_moved = false;
narutoshirt.buttonMode = true;
narutoshirt.addEventListener(MouseEvent.MOUSE_DOWN, narutoshirtpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, narutoshirtdropIt);
santashirt_location = santashirt.x;
santashirt_moved = false;
santashirt.buttonMode = true;
santashirt.addEventListener(MouseEvent.MOUSE_DOWN, santashirtpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, santashirtdropIt);
musketeer_location = musketeer.x;
musketeer_moved = false;
musketeer.buttonMode = true;
musketeer.addEventListener(MouseEvent.MOUSE_DOWN, musketeerpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, musketeerdropIt);
maid_location = maid.x;
maid_moved = false;
maid.buttonMode = true;
maid.addEventListener(MouseEvent.MOUSE_DOWN, maidpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, maiddropIt);
nursedress_location = nursedress.x;
nursedress_moved = false;
nursedress.buttonMode = true;
nursedress.addEventListener(MouseEvent.MOUSE_DOWN, nursedresspickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, nursedressdropIt);
dress_location = dress.x;
dress_moved = false;
dress.buttonMode = true;
dress.addEventListener(MouseEvent.MOUSE_DOWN, dresspickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, dressdropIt);
shoes4_location = shoes4.x;
shoes4_moved = false;
shoes4.buttonMode = true;
shoes4.addEventListener(MouseEvent.MOUSE_DOWN, shoes4pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shoes4dropIt);
shoes3_location = shoes3.x;
shoes3_moved = false;
shoes3.buttonMode = true;
shoes3.addEventListener(MouseEvent.MOUSE_DOWN, shoes3pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shoes3dropIt);
shoes2_location = shoes2.x;
shoes2_moved = false;
shoes2.buttonMode = true;
shoes2.addEventListener(MouseEvent.MOUSE_DOWN, shoes2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shoes2dropIt);
shoes1_location = shoes1.x;
shoes1_moved = false;
shoes1.buttonMode = true;
shoes1.addEventListener(MouseEvent.MOUSE_DOWN, shoes1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shoes1dropIt);
blindfold_location = blindfold.x;
blindfold_moved = false;
blindfold.buttonMode = true;
blindfold.addEventListener(MouseEvent.MOUSE_DOWN, blindfoldpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, blindfolddropIt);
loincloth_location = loincloth.x;
loincloth_moved = false;
loincloth.buttonMode = true;
loincloth.addEventListener(MouseEvent.MOUSE_DOWN, loinclothpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, loinclothdropIt);
panties4_location = panties4.x;
panties4_moved = false;
panties4.buttonMode = true;
panties4.addEventListener(MouseEvent.MOUSE_DOWN, panties4pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, panties4dropIt);
panties3_location = panties3.x;
panties3_moved = false;
panties3.buttonMode = true;
panties3.addEventListener(MouseEvent.MOUSE_DOWN, panties3pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, panties3dropIt);
panties2_location = panties2.x;
panties2_moved = false;
panties2.buttonMode = true;
panties2.addEventListener(MouseEvent.MOUSE_DOWN, panties2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, panties2dropIt);
panties1_location = panties1.x;
panties1_moved = false;
panties1.buttonMode = true;
panties1.addEventListener(MouseEvent.MOUSE_DOWN, panties1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, panties1dropIt);
underwear_location = underwear.x;
underwear_moved = false;
underwear.buttonMode = true;
underwear.addEventListener(MouseEvent.MOUSE_DOWN, underwearpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, underweardropIt);
diaper_location = diaper.x;
diaper_moved = false;
diaper.buttonMode = true;
diaper.addEventListener(MouseEvent.MOUSE_DOWN, diaperpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, diaperdropIt);
belt_location = belt.x;
belt_moved = false;
belt.buttonMode = true;
belt.addEventListener(MouseEvent.MOUSE_DOWN, beltpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, beltdropIt);
bell_location = bell.x;
bell_moved = false;
bell.buttonMode = true;
bell.addEventListener(MouseEvent.MOUSE_DOWN, bellpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, belldropIt);
bow4_location = bow4.x;
bow4_moved = false;
bow4.buttonMode = true;
bow4.addEventListener(MouseEvent.MOUSE_DOWN, bow4pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, bow4dropIt);
bow3_location = bow3.x;
bow3_moved = false;
bow3.buttonMode = true;
bow3.addEventListener(MouseEvent.MOUSE_DOWN, bow3pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, bow3dropIt);
bow2_location = bow2.x;
bow2_moved = false;
bow2.buttonMode = true;
bow2.addEventListener(MouseEvent.MOUSE_DOWN, bow2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, bow2dropIt);
bow1_location = bow1.x;
bow1_moved = false;
bow1.buttonMode = true;
bow1.addEventListener(MouseEvent.MOUSE_DOWN, bow1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, bow1dropIt);
glasses_location = glasses.x;
glasses_moved = false;
glasses.buttonMode = true;
glasses.addEventListener(MouseEvent.MOUSE_DOWN, glassespickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, glassesdropIt);
shades_location = shades.x;
shades_moved = false;
shades.buttonMode = true;
shades.addEventListener(MouseEvent.MOUSE_DOWN, shadespickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shadesdropIt);
goggles_location = goggles.x;
goggles_moved = false;
goggles.buttonMode = true;
goggles.addEventListener(MouseEvent.MOUSE_DOWN, gogglespickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, gogglesdropIt);
eyepatch_location = eyepatch.x;
eyepatch_moved = false;
eyepatch.buttonMode = true;
eyepatch.addEventListener(MouseEvent.MOUSE_DOWN, eyepatchpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, eyepatchdropIt);
santahat_location = santahat.x;
santahat_moved = false;
santahat.buttonMode = true;
santahat.addEventListener(MouseEvent.MOUSE_DOWN, santahatpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, santahatdropIt);
policehat_location = policehat.x;
policehat_moved = false;
policehat.buttonMode = true;
policehat.addEventListener(MouseEvent.MOUSE_DOWN, policehatpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, policehatdropIt);
pikachuhat_location = pikachuhat.x;
pikachuhat_moved = false;
pikachuhat.buttonMode = true;
pikachuhat.addEventListener(MouseEvent.MOUSE_DOWN, pikachuhatpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pikachuhatdropIt);
crown_location = crown.x;
crown_moved = false;
crown.buttonMode = true;
crown.addEventListener(MouseEvent.MOUSE_DOWN, crownpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, crowndropIt);
devil_location = devil.x;
devil_moved = false;
devil.buttonMode = true;
devil.addEventListener(MouseEvent.MOUSE_DOWN, devilpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, devildropIt);
nursehat_location = nursehat.x;
nursehat_moved = false;
nursehat.buttonMode = true;
nursehat.addEventListener(MouseEvent.MOUSE_DOWN, nursehatpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, nursehatdropIt);
ipod_location = ipod.x;
ipod_moved = false;
ipod.buttonMode = true;
ipod.addEventListener(MouseEvent.MOUSE_DOWN, ipodpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, ipoddropIt);
bunny_location = bunny.x;
bunny_moved = false;
bunny.buttonMode = true;
bunny.addEventListener(MouseEvent.MOUSE_DOWN, bunnypickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, bunnydropIt);
hat_location = hat.x;
hat_moved = false;
hat.buttonMode = true;
hat.addEventListener(MouseEvent.MOUSE_DOWN, hatpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, hatdropIt);
sleepcap_location = sleepcap.x;
sleepcap_moved = false;
sleepcap.buttonMode = true;
sleepcap.addEventListener(MouseEvent.MOUSE_DOWN, sleepcappickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, sleepcapdropIt);
maidhat_location = maidhat.x;
maidhat_moved = false;
maidhat.buttonMode = true;
maidhat.addEventListener(MouseEvent.MOUSE_DOWN, maidhatpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, maidhatdropIt);
cowboyhat_location = cowboyhat.x;
cowboyhat_moved = false;
cowboyhat.buttonMode = true;
cowboyhat.addEventListener(MouseEvent.MOUSE_DOWN, cowboyhatpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, cowboyhatdropIt);
naruto_location = naruto.x;
naruto_moved = false;
naruto.buttonMode = true;
naruto.addEventListener(MouseEvent.MOUSE_DOWN, narutopickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, narutodropIt);
shirt1_location = shirt1.x;
shirt1_moved = false;
shirt1.buttonMode = true;
shirt1.addEventListener(MouseEvent.MOUSE_DOWN, shirt1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt1dropIt);
shirt2_location = shirt2.x;
shirt2_moved = false;
shirt2.buttonMode = true;
shirt2.addEventListener(MouseEvent.MOUSE_DOWN, shirt2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt2dropIt);
shirt3_location = shirt3.x;
shirt3_moved = false;
shirt3.buttonMode = true;
shirt3.addEventListener(MouseEvent.MOUSE_DOWN, shirt3pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt3dropIt);
shirt4_location = shirt4.x;
shirt4_moved = false;
shirt4.buttonMode = true;
shirt4.addEventListener(MouseEvent.MOUSE_DOWN, shirt4pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt4dropIt);
shirt5_location = shirt5.x;
shirt5_moved = false;
shirt5.buttonMode = true;
shirt5.addEventListener(MouseEvent.MOUSE_DOWN, shirt5pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt5dropIt);
shirt6_location = shirt6.x;
shirt6_moved = false;
shirt6.buttonMode = true;
shirt6.addEventListener(MouseEvent.MOUSE_DOWN, shirt6pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt6dropIt);
shirt7_location = shirt7.x;
shirt7_moved = false;
shirt7.buttonMode = true;
shirt7.addEventListener(MouseEvent.MOUSE_DOWN, shirt7pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt7dropIt);
shirt8_location = shirt8.x;
shirt8_moved = false;
shirt8.buttonMode = true;
shirt8.addEventListener(MouseEvent.MOUSE_DOWN, shirt8pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt8dropIt);
shirt9_location = shirt9.x;
shirt9_moved = false;
shirt9.buttonMode = true;
shirt9.addEventListener(MouseEvent.MOUSE_DOWN, shirt9pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, shirt9dropIt);
pants1_location = pants1.x;
pants1_moved = false;
pants1.buttonMode = true;
pants1.addEventListener(MouseEvent.MOUSE_DOWN, pants1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants1dropIt);
pants2_location = pants2.x;
pants2_moved = false;
pants2.buttonMode = true;
pants2.addEventListener(MouseEvent.MOUSE_DOWN, pants2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants2dropIt);
pants3_location = pants3.x;
pants3_moved = false;
pants3.buttonMode = true;
pants3.addEventListener(MouseEvent.MOUSE_DOWN, pants3pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants3dropIt);
pants4_location = pants4.x;
pants4_moved = false;
pants4.buttonMode = true;
pants4.addEventListener(MouseEvent.MOUSE_DOWN, pants4pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants4dropIt);
pants5_location = pants5.x;
pants5_moved = false;
pants5.buttonMode = true;
pants5.addEventListener(MouseEvent.MOUSE_DOWN, pants5pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants5dropIt);
pants6_location = pants6.x;
pants6_moved = false;
pants6.buttonMode = true;
pants6.addEventListener(MouseEvent.MOUSE_DOWN, pants6pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants6dropIt);
pants7_location = pants7.x;
pants7_moved = false;
pants7.buttonMode = true;
pants7.addEventListener(MouseEvent.MOUSE_DOWN, pants7pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants7dropIt);
pants8_location = pants8.x;
pants8_moved = false;
pants8.buttonMode = true;
pants8.addEventListener(MouseEvent.MOUSE_DOWN, pants8pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants8dropIt);
pants9_location = pants9.x;
pants9_moved = false;
pants9.buttonMode = true;
pants9.addEventListener(MouseEvent.MOUSE_DOWN, pants9pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, pants9dropIt);
tie1_location = tie1.x;
tie1_moved = false;
tie1.buttonMode = true;
tie1.addEventListener(MouseEvent.MOUSE_DOWN, tie1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie1dropIt);
tie2_location = tie2.x;
tie2_moved = false;
tie2.buttonMode = true;
tie2.addEventListener(MouseEvent.MOUSE_DOWN, tie2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie2dropIt);
tie3_location = tie3.x;
tie3_moved = false;
tie3.buttonMode = true;
tie3.addEventListener(MouseEvent.MOUSE_DOWN, tie3pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie3dropIt);
tie4_location = tie4.x;
tie4_moved = false;
tie4.buttonMode = true;
tie4.addEventListener(MouseEvent.MOUSE_DOWN, tie4pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie4dropIt);
tie5_location = tie5.x;
tie5_moved = false;
tie5.buttonMode = true;
tie5.addEventListener(MouseEvent.MOUSE_DOWN, tie5pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie5dropIt);
tie6_location = tie6.x;
tie6_moved = false;
tie6.buttonMode = true;
tie6.addEventListener(MouseEvent.MOUSE_DOWN, tie6pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie6dropIt);
tie7_location = tie7.x;
tie7_moved = false;
tie7.buttonMode = true;
tie7.addEventListener(MouseEvent.MOUSE_DOWN, tie7pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie7dropIt);
tie8_location = tie8.x;
tie8_moved = false;
tie8.buttonMode = true;
tie8.addEventListener(MouseEvent.MOUSE_DOWN, tie8pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie8dropIt);
tie9_location = tie9.x;
tie9_moved = false;
tie9.buttonMode = true;
tie9.addEventListener(MouseEvent.MOUSE_DOWN, tie9pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tie9dropIt);
scarf1_location = scarf1.x;
scarf1_moved = false;
scarf1.buttonMode = true;
scarf1.addEventListener(MouseEvent.MOUSE_DOWN, scarf1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf1dropIt);
scarf2_location = scarf2.x;
scarf2_moved = false;
scarf2.buttonMode = true;
scarf2.addEventListener(MouseEvent.MOUSE_DOWN, scarf2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf2dropIt);
scarf3_location = scarf3.x;
scarf3_moved = false;
scarf3.buttonMode = true;
scarf3.addEventListener(MouseEvent.MOUSE_DOWN, scarf3pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf3dropIt);
scarf4_location = scarf4.x;
scarf4_moved = false;
scarf4.buttonMode = true;
scarf4.addEventListener(MouseEvent.MOUSE_DOWN, scarf4pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf4dropIt);
scarf5_location = scarf5.x;
scarf5_moved = false;
scarf5.buttonMode = true;
scarf5.addEventListener(MouseEvent.MOUSE_DOWN, scarf5pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf5dropIt);
scarf6_location = scarf6.x;
scarf6_moved = false;
scarf6.buttonMode = true;
scarf6.addEventListener(MouseEvent.MOUSE_DOWN, scarf6pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf6dropIt);
scarf7_location = scarf7.x;
scarf7_moved = false;
scarf7.buttonMode = true;
scarf7.addEventListener(MouseEvent.MOUSE_DOWN, scarf7pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf7dropIt);
scarf8_location = scarf8.x;
scarf8_moved = false;
scarf8.buttonMode = true;
scarf8.addEventListener(MouseEvent.MOUSE_DOWN, scarf8pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf8dropIt);
scarf9_location = scarf9.x;
scarf9_moved = false;
scarf9.buttonMode = true;
scarf9.addEventListener(MouseEvent.MOUSE_DOWN, scarf9pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf9dropIt);
scarf10_location = scarf10.x;
scarf10_moved = false;
scarf10.buttonMode = true;
scarf10.addEventListener(MouseEvent.MOUSE_DOWN, scarf10pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, scarf10dropIt);
tears_location = tears.x;
tears_moved = false;
tears.buttonMode = true;
tears.addEventListener(MouseEvent.MOUSE_DOWN, tearspickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, tearsdropIt);
cheeks_location = cheeks.x;
cheeks_moved = false;
cheeks.buttonMode = true;
cheeks.addEventListener(MouseEvent.MOUSE_DOWN, cheekspickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, cheeksdropIt);
blush_location = blush.x;
blush_moved = false;
blush.buttonMode = true;
blush.addEventListener(MouseEvent.MOUSE_DOWN, blushpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, blushdropIt);
sweat_location = sweat.x;
sweat_moved = false;
sweat.buttonMode = true;
sweat.addEventListener(MouseEvent.MOUSE_DOWN, sweatpickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, sweatdropIt);
rage_location = rage.x;
rage_moved = false;
rage.buttonMode = true;
rage.addEventListener(MouseEvent.MOUSE_DOWN, ragepickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, ragedropIt);
exc1_location = exc1.x;
exc1_moved = false;
exc1.buttonMode = true;
exc1.addEventListener(MouseEvent.MOUSE_DOWN, exc1pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, exc1dropIt);
exc2_location = exc2.x;
exc2_moved = false;
exc2.buttonMode = true;
exc2.addEventListener(MouseEvent.MOUSE_DOWN, exc2pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, exc2dropIt);
exc3_location = exc3.x;
exc3_moved = false;
exc3.buttonMode = true;
exc3.addEventListener(MouseEvent.MOUSE_DOWN, exc3pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, exc3dropIt);
exc4_location = exc4.x;
exc4_moved = false;
exc4.buttonMode = true;
exc4.addEventListener(MouseEvent.MOUSE_DOWN, exc4pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, exc4dropIt);
exc5_location = exc5.x;
exc5_moved = false;
exc5.buttonMode = true;
exc5.addEventListener(MouseEvent.MOUSE_DOWN, exc5pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, exc5dropIt);
exc6_location = exc6.x;
exc6_moved = false;
exc6.buttonMode = true;
exc6.addEventListener(MouseEvent.MOUSE_DOWN, exc6pickUp);
stage.addEventListener(MouseEvent.MOUSE_UP, exc6dropIt);
urlaccess.addEventListener(MouseEvent.CLICK, urlAction);
stop();
}
public function scarf1pickUp(_arg1:MouseEvent):void{
scarf1.startDrag();
scarf1_moved = true;
}
public function pants4pickUp(_arg1:MouseEvent):void{
pants4.startDrag();
pants4_moved = true;
}
public function shirt2dropIt(_arg1:MouseEvent):void{
shirt2.stopDrag();
}
public function pants1dropIt(_arg1:MouseEvent):void{
pants1.stopDrag();
}
public function devilpickUp(_arg1:MouseEvent):void{
devil.startDrag();
devil_moved = true;
}
public function bow4dropIt(_arg1:MouseEvent):void{
bow4.stopDrag();
}
public function shoes3pickUp(_arg1:MouseEvent):void{
shoes3.startDrag();
shoes3_moved = true;
}
public function scarf6pickUp(_arg1:MouseEvent):void{
scarf6.startDrag();
scarf6_moved = true;
}
public function pants9pickUp(_arg1:MouseEvent):void{
pants9.startDrag();
pants9_moved = true;
}
public function shirt7dropIt(_arg1:MouseEvent):void{
shirt7.stopDrag();
}
public function sworddropIt(_arg1:MouseEvent):void{
sword.stopDrag();
}
public function cheekspickUp(_arg1:MouseEvent):void{
cheeks.startDrag();
cheeks_moved = true;
}
public function scarf3dropIt(_arg1:MouseEvent):void{
scarf3.stopDrag();
}
public function pants6dropIt(_arg1:MouseEvent):void{
pants6.stopDrag();
}
public function prevHamAction(_arg1:MouseEvent){
if (base.currentFrame == 1){
base.gotoAndStop(21);
} else {
base.gotoAndStop((base.currentFrame - 1));
};
if ((((base.currentFrame == 6)) || ((base.currentFrame == 22)))){
diaper.gotoAndStop(2);
} else {
diaper.gotoAndStop(1);
};
}
public function diaperpickUp(_arg1:MouseEvent):void{
diaper.startDrag();
diaper_moved = true;
}
public function maidpickUp(_arg1:MouseEvent):void{
maid.startDrag();
maid_moved = true;
}
public function scarf8dropIt(_arg1:MouseEvent):void{
scarf8.stopDrag();
}
public function broompickUp(_arg1:MouseEvent):void{
broom.startDrag();
broom_moved = true;
}
public function pitchforkpickUp(_arg1:MouseEvent):void{
pitchfork.startDrag();
pitchfork_moved = true;
}
public function exc2pickUp(_arg1:MouseEvent):void{
exc2.startDrag();
exc2_moved = true;
}
public function tie4pickUp(_arg1:MouseEvent):void{
tie4.startDrag();
tie4_moved = true;
}
public function santahatpickUp(_arg1:MouseEvent):void{
santahat.startDrag();
santahat_moved = true;
}
public function panties2pickUp(_arg1:MouseEvent):void{
panties2.startDrag();
panties2_moved = true;
}
public function bellpickUp(_arg1:MouseEvent):void{
bell.startDrag();
bell_moved = true;
}
public function tie1dropIt(_arg1:MouseEvent):void{
tie1.stopDrag();
}
public function gloveldropIt(_arg1:MouseEvent):void{
glovel.stopDrag();
}
public function dressdropIt(_arg1:MouseEvent):void{
dress.stopDrag();
}
public function pursepickUp(_arg1:MouseEvent):void{
purse.startDrag();
purse_moved = true;
}
public function blushdropIt(_arg1:MouseEvent):void{
blush.stopDrag();
}
public function tie9pickUp(_arg1:MouseEvent):void{
tie9.startDrag();
tie9_moved = true;
}
public function bunnydropIt(_arg1:MouseEvent):void{
bunny.stopDrag();
}
public function policehatpickUp(_arg1:MouseEvent):void{
policehat.startDrag();
policehat_moved = true;
}
public function exc4dropIt(_arg1:MouseEvent):void{
exc4.stopDrag();
}
public function tie6dropIt(_arg1:MouseEvent):void{
tie6.stopDrag();
}
public function maraca2dropIt(_arg1:MouseEvent):void{
maraca2.stopDrag();
}
public function panties4dropIt(_arg1:MouseEvent):void{
panties4.stopDrag();
}
public function sleepcapdropIt(_arg1:MouseEvent):void{
sleepcap.stopDrag();
}
public function shirt3pickUp(_arg1:MouseEvent):void{
shirt3.startDrag();
shirt3_moved = true;
}
public function loopMusic(_arg1:Event):void{
if (channel != null){
channel.removeEventListener(Event.SOUND_COMPLETE, loopMusic);
playMusic();
};
}
public function pencilpickUp(_arg1:MouseEvent):void{
pencil.startDrag();
pencil_moved = true;
}
public function pants2pickUp(_arg1:MouseEvent):void{
pants2.startDrag();
pants2_moved = true;
}
public function cookiepickUp(_arg1:MouseEvent):void{
cookie.startDrag();
cookie_moved = true;
}
public function sweatpickUp(_arg1:MouseEvent):void{
sweat.startDrag();
sweat_moved = true;
}
public function eyepatchpickUp(_arg1:MouseEvent):void{
eyepatch.startDrag();
eyepatch_moved = true;
}
public function ragedropIt(_arg1:MouseEvent):void{
rage.stopDrag();
}
public function frilldropIt(_arg1:MouseEvent):void{
frill.stopDrag();
}
public function bow2dropIt(_arg1:MouseEvent):void{
bow2.stopDrag();
}
public function glassesdropIt(_arg1:MouseEvent):void{
glasses.stopDrag();
}
public function shoes1pickUp(_arg1:MouseEvent):void{
shoes1.startDrag();
shoes1_moved = true;
}
public function seeddropIt(_arg1:MouseEvent):void{
seed.stopDrag();
}
public function shirt8pickUp(_arg1:MouseEvent):void{
shirt8.startDrag();
shirt8_moved = true;
}
public function scarf4pickUp(_arg1:MouseEvent):void{
scarf4.startDrag();
scarf4_moved = true;
}
public function nursedressdropIt(_arg1:MouseEvent):void{
nursedress.stopDrag();
}
public function pants7pickUp(_arg1:MouseEvent):void{
pants7.startDrag();
pants7_moved = true;
}
public function shirt5dropIt(_arg1:MouseEvent):void{
shirt5.stopDrag();
}
public function scarf1dropIt(_arg1:MouseEvent):void{
scarf1.stopDrag();
}
public function pants4dropIt(_arg1:MouseEvent):void{
pants4.stopDrag();
}
public function pearlpickUp(_arg1:MouseEvent):void{
pearl.startDrag();
pearl_moved = true;
}
public function gogglespickUp(_arg1:MouseEvent):void{
goggles.startDrag();
goggles_moved = true;
}
public function scarf9pickUp(_arg1:MouseEvent):void{
scarf9.startDrag();
scarf9_moved = true;
}
public function devildropIt(_arg1:MouseEvent):void{
devil.stopDrag();
}
public function nursehatpickUp(_arg1:MouseEvent):void{
nursehat.startDrag();
nursehat_moved = true;
}
public function shoes3dropIt(_arg1:MouseEvent):void{
shoes3.stopDrag();
}
public function scarf10pickUp(_arg1:MouseEvent):void{
scarf10.startDrag();
scarf10_moved = true;
}
public function scarf6dropIt(_arg1:MouseEvent):void{
scarf6.stopDrag();
}
public function wings2pickUp(_arg1:MouseEvent):void{
wings2.startDrag();
wings2_moved = true;
}
public function pants9dropIt(_arg1:MouseEvent):void{
pants9.stopDrag();
}
public function cheeksdropIt(_arg1:MouseEvent):void{
cheeks.stopDrag();
}
public function tie2pickUp(_arg1:MouseEvent):void{
tie2.startDrag();
tie2_moved = true;
}
public function diaperdropIt(_arg1:MouseEvent):void{
diaper.stopDrag();
}
public function ipodpickUp(_arg1:MouseEvent):void{
ipod.startDrag();
ipod_moved = true;
}
public function maiddropIt(_arg1:MouseEvent):void{
maid.stopDrag();
}
public function headbandpickUp(_arg1:MouseEvent):void{
headband.startDrag();
headband_moved = true;
}
public function blindfoldpickUp(_arg1:MouseEvent):void{
blindfold.startDrag();
blindfold_moved = true;
}
public function broomdropIt(_arg1:MouseEvent):void{
broom.stopDrag();
}
public function exc5pickUp(_arg1:MouseEvent):void{
exc5.startDrag();
exc5_moved = true;
}
public function pitchforkdropIt(_arg1:MouseEvent):void{
pitchfork.stopDrag();
}
public function tie7pickUp(_arg1:MouseEvent):void{
tie7.startDrag();
tie7_moved = true;
}
public function gloverpickUp(_arg1:MouseEvent):void{
glover.startDrag();
glover_moved = true;
}
public function tie4dropIt(_arg1:MouseEvent):void{
tie4.stopDrag();
}
public function musketeerpickUp(_arg1:MouseEvent):void{
musketeer.startDrag();
musketeer_moved = true;
}
public function exc2dropIt(_arg1:MouseEvent):void{
exc2.stopDrag();
}
public function maxbookpickUp(_arg1:MouseEvent):void{
maxbook.startDrag();
maxbook_moved = true;
}
public function panties2dropIt(_arg1:MouseEvent):void{
panties2.stopDrag();
}
public function santahatdropIt(_arg1:MouseEvent):void{
santahat.stopDrag();
}
public function belldropIt(_arg1:MouseEvent):void{
bell.stopDrag();
}
public function narutoshirtpickUp(_arg1:MouseEvent):void{
narutoshirt.startDrag();
narutoshirt_moved = true;
}
public function shirt1pickUp(_arg1:MouseEvent):void{
shirt1.startDrag();
shirt1_moved = true;
}
public function pursedropIt(_arg1:MouseEvent):void{
purse.stopDrag();
}
public function beltpickUp(_arg1:MouseEvent):void{
belt.startDrag();
belt_moved = true;
}
public function tie9dropIt(_arg1:MouseEvent):void{
tie9.stopDrag();
}
public function policehatdropIt(_arg1:MouseEvent):void{
policehat.stopDrag();
}
public function leafpickUp(_arg1:MouseEvent):void{
leaf.startDrag();
leaf_moved = true;
}
public function bow3pickUp(_arg1:MouseEvent):void{
bow3.startDrag();
bow3_moved = true;
}
public function shirt6pickUp(_arg1:MouseEvent):void{
shirt6.startDrag();
shirt6_moved = true;
}
public function guitarpickUp(_arg1:MouseEvent):void{
guitar.startDrag();
guitar_moved = true;
}
public function underwearpickUp(_arg1:MouseEvent):void{
underwear.startDrag();
underwear_moved = true;
}
public function pants5pickUp(_arg1:MouseEvent):void{
pants5.startDrag();
pants5_moved = true;
}
public function santashirtpickUp(_arg1:MouseEvent):void{
santashirt.startDrag();
santashirt_moved = true;
}
public function shirt3dropIt(_arg1:MouseEvent):void{
shirt3.stopDrag();
}
public function pencildropIt(_arg1:MouseEvent):void{
pencil.stopDrag();
}
public function scarf2pickUp(_arg1:MouseEvent):void{
scarf2.startDrag();
scarf2_moved = true;
}
public function pants2dropIt(_arg1:MouseEvent):void{
pants2.stopDrag();
}
public function cookiedropIt(_arg1:MouseEvent):void{
cookie.stopDrag();
}
public function shoes4pickUp(_arg1:MouseEvent):void{
shoes4.startDrag();
shoes4_moved = true;
}
public function vestpickUp(_arg1:MouseEvent):void{
vest.startDrag();
vest_moved = true;
}
public function scarf7pickUp(_arg1:MouseEvent):void{
scarf7.startDrag();
scarf7_moved = true;
}
public function eyepatchdropIt(_arg1:MouseEvent):void{
eyepatch.stopDrag();
}
public function sweatdropIt(_arg1:MouseEvent):void{
sweat.stopDrag();
}
public function shirt8dropIt(_arg1:MouseEvent):void{
shirt8.stopDrag();
}
}
}//package hamtaroocmaker1_fla
Section 25
//Symbol1_34 (hamtaroocmaker1_fla.Symbol1_34)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol1_34 extends MovieClip {
public var innereyes:MovieClip;
public function Symbol1_34(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14);
}
function frame10(){
innereyes.alpha = 0;
}
function frame14(){
innereyes.alpha = 0;
}
function frame12(){
innereyes.alpha = 0;
}
function frame3(){
innereyes.alpha = 100;
}
function frame6(){
innereyes.alpha = 0;
}
function frame7(){
innereyes.alpha = 0;
}
function frame1(){
innereyes.alpha = 100;
stop();
}
function frame13(){
innereyes.alpha = 0;
}
function frame4(){
innereyes.alpha = 0;
}
function frame5(){
innereyes.alpha = 0;
}
function frame9(){
innereyes.alpha = 0;
}
function frame8(){
innereyes.alpha = 0;
}
function frame2(){
innereyes.alpha = 100;
}
function frame11(){
innereyes.alpha = 0;
}
}
}//package hamtaroocmaker1_fla
Section 26
//Symbol100_75 (hamtaroocmaker1_fla.Symbol100_75)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol100_75 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 27
//Symbol102_78 (hamtaroocmaker1_fla.Symbol102_78)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol102_78 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 28
//Symbol105_80 (hamtaroocmaker1_fla.Symbol105_80)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol105_80 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 29
//Symbol107_82 (hamtaroocmaker1_fla.Symbol107_82)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol107_82 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 30
//Symbol108_84 (hamtaroocmaker1_fla.Symbol108_84)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol108_84 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 31
//Symbol110_87 (hamtaroocmaker1_fla.Symbol110_87)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol110_87 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 32
//Symbol114_91 (hamtaroocmaker1_fla.Symbol114_91)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol114_91 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 33
//Symbol116_94 (hamtaroocmaker1_fla.Symbol116_94)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol116_94 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 34
//Symbol121_98 (hamtaroocmaker1_fla.Symbol121_98)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol121_98 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 35
//Symbol122_100 (hamtaroocmaker1_fla.Symbol122_100)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol122_100 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 36
//Symbol124_103 (hamtaroocmaker1_fla.Symbol124_103)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol124_103 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 37
//Symbol128_105 (hamtaroocmaker1_fla.Symbol128_105)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol128_105 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 38
//Symbol129_107 (hamtaroocmaker1_fla.Symbol129_107)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol129_107 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 39
//Symbol130_110 (hamtaroocmaker1_fla.Symbol130_110)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol130_110 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 40
//Symbol135_113 (hamtaroocmaker1_fla.Symbol135_113)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol135_113 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 41
//Symbol136_115 (hamtaroocmaker1_fla.Symbol136_115)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol136_115 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 42
//Symbol138_118 (hamtaroocmaker1_fla.Symbol138_118)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol138_118 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 43
//Symbol14_73 (hamtaroocmaker1_fla.Symbol14_73)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol14_73 extends MovieClip {
public var innereyes:MovieClip;
public function Symbol14_73(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
innereyes.alpha = 100;
stop();
}
function frame4(){
innereyes.alpha = 0;
}
}
}//package hamtaroocmaker1_fla
Section 44
//Symbol142_120 (hamtaroocmaker1_fla.Symbol142_120)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol142_120 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 45
//Symbol143_122 (hamtaroocmaker1_fla.Symbol143_122)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol143_122 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 46
//Symbol144_124 (hamtaroocmaker1_fla.Symbol144_124)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol144_124 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 47
//Symbol145_126 (hamtaroocmaker1_fla.Symbol145_126)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol145_126 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 48
//Symbol151_129 (hamtaroocmaker1_fla.Symbol151_129)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol151_129 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 49
//Symbol153_131 (hamtaroocmaker1_fla.Symbol153_131)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol153_131 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 50
//Symbol156_133 (hamtaroocmaker1_fla.Symbol156_133)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol156_133 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 51
//Symbol159_136 (hamtaroocmaker1_fla.Symbol159_136)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol159_136 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 52
//Symbol160_138 (hamtaroocmaker1_fla.Symbol160_138)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol160_138 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 53
//Symbol162_141 (hamtaroocmaker1_fla.Symbol162_141)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol162_141 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 54
//Symbol163_143 (hamtaroocmaker1_fla.Symbol163_143)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol163_143 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 55
//Symbol164_145 (hamtaroocmaker1_fla.Symbol164_145)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol164_145 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 56
//Symbol170_147 (hamtaroocmaker1_fla.Symbol170_147)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol170_147 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 57
//Symbol172_150 (hamtaroocmaker1_fla.Symbol172_150)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol172_150 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 58
//Symbol189_304 (hamtaroocmaker1_fla.Symbol189_304)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol189_304 extends MovieClip {
public function Symbol189_304(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package hamtaroocmaker1_fla
Section 59
//Symbol2_36 (hamtaroocmaker1_fla.Symbol2_36)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol2_36 extends MovieClip {
public function Symbol2_36(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package hamtaroocmaker1_fla
Section 60
//Symbol275_1 (hamtaroocmaker1_fla.Symbol275_1)
package hamtaroocmaker1_fla {
import flash.display.*;
import flash.events.*;
public dynamic class Symbol275_1 extends MovieClip {
public var startb:MovieClip;
public var bytes_total;
public var bytes_loaded;
public function Symbol275_1(){
addFrameScript(0, frame1, 24, frame25, 43, frame44);
}
function frame1(){
startb.addEventListener(MouseEvent.CLICK, startbAction);
bytes_loaded = Math.round(stage.loaderInfo.bytesLoaded);
bytes_total = Math.round(stage.loaderInfo.bytesTotal);
if (bytes_loaded >= bytes_total){
startb.alpha = 100;
startb.x = -295.5;
} else {
startb.alpha = 0;
startb.x = -1000;
};
}
function frame25(){
gotoAndPlay(1);
}
public function startbAction(_arg1:MouseEvent){
gotoAndPlay(28);
}
function frame44(){
stop();
MovieClip(root).gotoAndStop(2);
}
}
}//package hamtaroocmaker1_fla
Section 61
//Symbol283_169 (hamtaroocmaker1_fla.Symbol283_169)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol283_169 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 62
//Symbol286_172 (hamtaroocmaker1_fla.Symbol286_172)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol286_172 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 63
//Symbol289_180 (hamtaroocmaker1_fla.Symbol289_180)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol289_180 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 64
//Symbol291_183 (hamtaroocmaker1_fla.Symbol291_183)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol291_183 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 65
//Symbol293_186 (hamtaroocmaker1_fla.Symbol293_186)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol293_186 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 66
//Symbol294_188 (hamtaroocmaker1_fla.Symbol294_188)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol294_188 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 67
//Symbol295_190 (hamtaroocmaker1_fla.Symbol295_190)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol295_190 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 68
//Symbol3_13 (hamtaroocmaker1_fla.Symbol3_13)
package hamtaroocmaker1_fla {
import fl.controls.*;
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import fl.events.*;
import flash.text.*;
import flash.utils.*;
import flash.media.*;
import flash.ui.*;
import flash.system.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class Symbol3_13 extends MovieClip {
public var fur2colorInfo3:ColorTransform;
public var pawscolorInfo2:ColorTransform;
public var pawscolorInfo4:ColorTransform;
public var pawscolorInfo5:ColorTransform;
public var cp22fur1:ColorPicker;
public var pawscolorInfo7:ColorTransform;
public var fur2colorInfo7:ColorTransform;
public var fur2colorInfo8:ColorTransform;
public var bag1colorInfo15:ColorTransform;
public var fur2colorInfo4:ColorTransform;
public var cp11fur3:ColorPicker;
public var pawscolorInfo6:ColorTransform;
public var fur2colorInfo6:ColorTransform;
public var fur2colorInfo9:ColorTransform;
public var cp12ears:ColorPicker;
public var pawscolorInfo8:ColorTransform;
public var cp13eyes:ColorPicker;
public var cp16muzzle:ColorPicker;
public var pawscolorInfo9:ColorTransform;
public var halo:MovieClip;
public var eyesb:SimpleButton;
public var clother:MovieClip;
public var bowscolorInfo2:ColorTransform;
public var cp8eyes:ColorPicker;
public var cp10fur1:ColorPicker;
public var cp10fur2:ColorPicker;
public var cp13paws:ColorPicker;
public var cp7ears:ColorPicker;
public var eyes:MovieClip;
public var ckbelly:CheckBox;
public var __setPropDict:Dictionary;
public var cp5fur1:ColorPicker;
public var cp5fur2:ColorPicker;
public var mouthb:SimpleButton;
public var fur2colorInfo:ColorTransform;
public var cp8paws:ColorPicker;
public var eyescolorInfo:ColorTransform;
public var earscolorInfo10:ColorTransform;
public var paws:MovieClip;
public var earscolorInfo13:ColorTransform;
public var earscolorInfo14:ColorTransform;
public var earscolorInfo15:ColorTransform;
public var earscolorInfo16:ColorTransform;
public var bowcolorInfo18:ColorTransform;
public var earscolorInfo11:ColorTransform;
public var earscolorInfo12:ColorTransform;
public var earscolorInfo19:ColorTransform;
public var cp12eyes:ColorPicker;
public var cp11ears:ColorPicker;
public var earscolorInfo18:ColorTransform;
public var cp19hair:ColorPicker;
public var cp19ears:ColorPicker;
public var earscolorInfo21:ColorTransform;
public var earscolorInfo20:ColorTransform;
public var fur1colorInfo11:ColorTransform;
public var cp6ears:ColorPicker;
public var mouth:MovieClip;
public var ckmuzzle:CheckBox;
public var cp22ears:ColorPicker;
public var pawscolorInfo:ColorTransform;
public var cp7eyes:ColorPicker;
public var cp21muzzle:ColorPicker;
public var fur1colorInfo15:ColorTransform;
public var fur1colorInfo10:ColorTransform;
public var fur1colorInfo12:ColorTransform;
public var fur1colorInfo13:ColorTransform;
public var fur1colorInfo14:ColorTransform;
public var earscolorInfo22:ColorTransform;
public var cp12paws:ColorPicker;
public var earscolorInfo17:ColorTransform;
public var fur1colorInfo20:ColorTransform;
public var fur1colorInfo22:ColorTransform;
public var ookwee:SimpleButton;
public var cp16fur:ColorPicker;
public var cp4fur1:ColorPicker;
public var cppaws2:ColorPicker;
public var cp20fur1:ColorPicker;
public var cp20fur2:ColorPicker;
public var cpfur2:ColorPicker;
public var cp7paws:ColorPicker;
public var cp4fur2:ColorPicker;
public var cpfur1:ColorPicker;
public var cp7stripes:ColorPicker;
public var cpbows2:ColorPicker;
public var bag1:MovieClip;
public var bag2:MovieClip;
public var hood:MovieClip;
public var cp10hair:ColorPicker;
public var cp11eyes:ColorPicker;
public var cp10ears:ColorPicker;
public var cp18ears:ColorPicker;
public var fur1colorInfo5:ColorTransform;
public var fur1colorInfo6:ColorTransform;
public var fur1colorInfo7:ColorTransform;
public var fur1colorInfo4:ColorTransform;
public var fur1colorInfo8:ColorTransform;
public var cp20wings:ColorPicker;
public var cp19eyes:ColorPicker;
public var cp21nose:ColorPicker;
public var bag2colorInfo15:ColorTransform;
public var cp18hair:ColorPicker;
public var clothcolorInfo6:ColorTransform;
public var fur1colorInfo3:ColorTransform;
public var cp21ears:ColorPicker;
public var cp5ears:ColorPicker;
public var fur1colorInfo9:ColorTransform;
public var cp22eyes:ColorPicker;
public var cp17fur:ColorPicker;
public var cp6eyes:ColorPicker;
public var cp11paws:ColorPicker;
public var cp19paws:ColorPicker;
public var furcolorInfo2:ColorTransform;
public var cp3fur1:ColorPicker;
public var cp3fur2:ColorPicker;
public var cp6paws:ColorPicker;
public var cp22paws:ColorPicker;
public var capcolorInfo13:ColorTransform;
public var fur:MovieClip;
public var eyescolorInfo3:ColorTransform;
public var eartip:MovieClip;
public var eyescolorInfo6:ColorTransform;
public var eyescolorInfo8:ColorTransform;
public var eyescolorInfo2:ColorTransform;
public var eyescolorInfo7:ColorTransform;
public var eyescolorInfo9:ColorTransform;
public var eyescolorInfo5:ColorTransform;
public var eyescolorInfo4:ColorTransform;
public var cp10eyes:ColorPicker;
public var cp18fur:ColorPicker;
public var cp17ears:ColorPicker;
public var cp18eyes:ColorPicker;
public var cp20ears:ColorPicker;
public var bow:MovieClip;
public var stripes:MovieClip;
public var cp21eyes:ColorPicker;
public var wings:MovieClip;
public var cpears:ColorPicker;
public var cp4ears:ColorPicker;
public var cp10paws:ColorPicker;
public var cp15fur1:ColorPicker;
public var cp15fur2:ColorPicker;
public var cp18paws:ColorPicker;
public var cp5eyes:ColorPicker;
public var pawscolorInfo11:ColorTransform;
public var pawscolorInfo12:ColorTransform;
public var pawscolorInfo15:ColorTransform;
public var pawscolorInfo13:ColorTransform;
public var cp19hood:ColorPicker;
public var cp5paws:ColorPicker;
public var cp18bow:ColorPicker;
public var cp21paws:ColorPicker;
public var cp2fur:ColorPicker;
public var pawscolorInfo14:ColorTransform;
public var pawscolorInfo18:ColorTransform;
public var stripescolorInfo7:ColorTransform;
public var pawscolorInfo10:ColorTransform;
public var stripescolorInfo9:ColorTransform;
public var eartipcolorInfo16:ColorTransform;
public var pawscolorInfo21:ColorTransform;
public var pawscolorInfo16:ColorTransform;
public var pawscolorInfo17:ColorTransform;
public var cp19fur:ColorPicker;
public var cp17halo:ColorPicker;
public var pawscolorInfo22:ColorTransform;
public var hoodcolorInfo19:ColorTransform;
public var fur2colorInfo10:ColorTransform;
public var fur2colorInfo11:ColorTransform;
public var cp13cap:ColorPicker;
public var fur2colorInfo13:ColorTransform;
public var fur2colorInfo14:ColorTransform;
public var fur2colorInfo15:ColorTransform;
public var fur2colorInfo12:ColorTransform;
public var wingscolorInfo20:ColorTransform;
public var cp16ears:ColorPicker;
public var cp17eyes:ColorPicker;
public var pawscolorInfo20:ColorTransform;
public var cp3ears:ColorPicker;
public var cp4eyes:ColorPicker;
public var cpeyes:ColorPicker;
public var cp6cloth:ColorPicker;
public var cp14fur2:ColorPicker;
public var cp17paws:ColorPicker;
public var cp20eyes:ColorPicker;
public var muzzle:MovieClip;
public var cp14fur1:ColorPicker;
public var cp4paws:ColorPicker;
public var cp20paws:ColorPicker;
public var cp9fur2:ColorPicker;
public var cp9fur1:ColorPicker;
public var cp21fur:ColorPicker;
public var hat:MovieClip;
public var cppaws:ColorPicker;
public var fur2colorInfo20:ColorTransform;
public var pawscolorInfo19:ColorTransform;
public var cp15ears:ColorPicker;
public var cp16eyes:ColorPicker;
public var cp3eyes:ColorPicker;
public var cp9stripes:ColorPicker;
public var halocolorInfo17:ColorTransform;
public var cp13fur1:ColorPicker;
public var cp13fur2:ColorPicker;
public var cp16paws:ColorPicker;
public var eyescolorInfo10:ColorTransform;
public var eyescolorInfo13:ColorTransform;
public var cp3paws:ColorPicker;
public var eyescolorInfo17:ColorTransform;
public var eyescolorInfo11:ColorTransform;
public var eyescolorInfo12:ColorTransform;
public var cp8fur1:ColorPicker;
public var eyescolorInfo18:ColorTransform;
public var fur2colorInfo22:ColorTransform;
public var bellycolorInfo16:ColorTransform;
public var cp8fur2:ColorPicker;
public var eyescolorInfo16:ColorTransform;
public var eyescolorInfo15:ColorTransform;
public var fur1:MovieClip;
public var fur3:MovieClip;
public var fur2:MovieClip;
public var eyescolorInfo20:ColorTransform;
public var eyescolorInfo22:ColorTransform;
public var eyescolorInfo19:ColorTransform;
public var eyescolorInfo21:ColorTransform;
public var eyescolorInfo14:ColorTransform;
public var cp14ears:ColorPicker;
public var cp15eyes:ColorPicker;
public var furcolorInfo18:ColorTransform;
public var furcolorInfo19:ColorTransform;
public var furcolorInfo16:ColorTransform;
public var furcolorInfo17:ColorTransform;
public var earscolorInfo2:ColorTransform;
public var earscolorInfo3:ColorTransform;
public var earscolorInfo4:ColorTransform;
public var earscolorInfo6:ColorTransform;
public var earscolorInfo7:ColorTransform;
public var earscolorInfo8:ColorTransform;
public var earscolorInfo9:ColorTransform;
public var earscolorInfo5:ColorTransform;
public var cp9ears:ColorPicker;
public var hatcolorInfo20:ColorTransform;
public var furcolorInfo21:ColorTransform;
public var cp20hat:ColorPicker;
public var cp16eartip:ColorPicker;
public var cp12fur2:ColorPicker;
public var cp15paws:ColorPicker;
public var fur1colorInfo:ColorTransform;
public var cp12fur1:ColorPicker;
public var haircolorInfo10:ColorTransform;
public var nosecolorInfo21:ColorTransform;
public var haircolorInfo18:ColorTransform;
public var haircolorInfo19:ColorTransform;
public var cp7fur1:ColorPicker;
public var cp7fur2:ColorPicker;
public var earscolorInfo:ColorTransform;
public var fur3colorInfo11:ColorTransform;
public var muzzlecolorInfo16:ColorTransform;
public var cpears2:ColorPicker;
public var muzzlecolorInfo21:ColorTransform;
public var cp13ears:ColorPicker;
public var cp14eyes:ColorPicker;
public var cpeyes2:ColorPicker;
public var cp16belly:ColorPicker;
public var cp8ears:ColorPicker;
public var cp9eyes:ColorPicker;
public var cap:MovieClip;
public var nose:MovieClip;
public var belly:MovieClip;
public var cp11fur1:ColorPicker;
public var cp11fur2:ColorPicker;
public var cp14paws:ColorPicker;
public var ears:MovieClip;
public var bows:MovieClip;
public var ckeartip:CheckBox;
public var pawscolorInfo3:ColorTransform;
public var hair:MovieClip;
public var fur2colorInfo5:ColorTransform;
public var cp6fur1:ColorPicker;
public var cp6fur2:ColorPicker;
public var cp9paws:ColorPicker;
public var cp15bag1:ColorPicker;
public var cp15bag2:ColorPicker;
public var cp22fur2:ColorPicker;
public function Symbol3_13(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22);
}
function __setProp_ckbelly_Symbol3_Layer7_16(){
try {
ckbelly["componentInspectorSetting"] = true;
} catch(e:Error) {
};
ckbelly.enabled = true;
ckbelly.label = "";
ckbelly.labelPlacement = "right";
ckbelly.selected = false;
ckbelly.visible = true;
try {
ckbelly["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_ckmuzzle_Symbol3_Layer10_16(){
try {
ckmuzzle["componentInspectorSetting"] = true;
} catch(e:Error) {
};
ckmuzzle.enabled = true;
ckmuzzle.label = "";
ckmuzzle.labelPlacement = "right";
ckmuzzle.selected = false;
ckmuzzle.visible = true;
try {
ckmuzzle["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame14(){
eyes.gotoAndStop(1);
fur1colorInfo14 = fur1.overlay.transform.colorTransform;
fur2colorInfo14 = fur2.overlay.transform.colorTransform;
eyescolorInfo14 = eyes.innereyes.transform.colorTransform;
pawscolorInfo14 = paws.transform.colorTransform;
earscolorInfo14 = ears.overlay.transform.colorTransform;
cp14fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange14);
cp14fur1.selectedColor = 16475402;
cp14fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange14);
cp14fur2.selectedColor = 0xFFFFFF;
cp14eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange14);
cp14eyes.selectedColor = 0xAA6600;
cp14paws.addEventListener(ColorPickerEvent.CHANGE, colorChange14);
cp14paws.selectedColor = 16495034;
cp14ears.addEventListener(ColorPickerEvent.CHANGE, colorChange14);
cp14ears.selectedColor = 16495034;
}
function frame16(){
if ((((__setPropDict[ckbelly] == undefined)) || (!((int(__setPropDict[ckbelly]) == 16))))){
__setPropDict[ckbelly] = currentFrame;
__setProp_ckbelly_Symbol3_Layer7_16();
};
if ((((__setPropDict[ckeartip] == undefined)) || (!((int(__setPropDict[ckeartip]) == 16))))){
__setPropDict[ckeartip] = currentFrame;
__setProp_ckeartip_Symbol3_Layer10_16();
};
if ((((__setPropDict[ckmuzzle] == undefined)) || (!((int(__setPropDict[ckmuzzle]) == 16))))){
__setPropDict[ckmuzzle] = currentFrame;
__setProp_ckmuzzle_Symbol3_Layer10_16();
};
eyes.gotoAndStop(1);
ckeartip.selected = false;
eartip.alpha = 0;
ckbelly.selected = false;
belly.alpha = 0;
ckmuzzle.selected = false;
muzzle.alpha = 0;
ckeartip.addEventListener(MouseEvent.CLICK, updateCart);
ckbelly.addEventListener(MouseEvent.CLICK, updateCart);
ckmuzzle.addEventListener(MouseEvent.CLICK, updateCart);
furcolorInfo16 = fur.overlay.transform.colorTransform;
muzzlecolorInfo16 = muzzle.transform.colorTransform;
eyescolorInfo16 = eyes.innereyes.transform.colorTransform;
pawscolorInfo16 = paws.transform.colorTransform;
earscolorInfo16 = ears.overlay.transform.colorTransform;
bellycolorInfo16 = belly.overlay.transform.colorTransform;
eartipcolorInfo16 = eartip.transform.colorTransform;
cp16fur.addEventListener(ColorPickerEvent.CHANGE, colorChange16);
cp16fur.selectedColor = 16475402;
cp16muzzle.addEventListener(ColorPickerEvent.CHANGE, colorChange16);
cp16muzzle.selectedColor = 0xFFFFFF;
cp16eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange16);
cp16eyes.selectedColor = 0xAA6600;
cp16paws.addEventListener(ColorPickerEvent.CHANGE, colorChange16);
cp16paws.selectedColor = 16495034;
cp16belly.addEventListener(ColorPickerEvent.CHANGE, colorChange16);
cp16belly.selectedColor = 16495034;
cp16eartip.addEventListener(ColorPickerEvent.CHANGE, colorChange16);
cp16eartip.selectedColor = 16495034;
cp16ears.addEventListener(ColorPickerEvent.CHANGE, colorChange16);
cp16ears.selectedColor = 16495034;
}
function frame15(){
eyes.gotoAndStop(6);
fur1colorInfo15 = fur1.overlay.transform.colorTransform;
fur2colorInfo15 = fur2.overlay.transform.colorTransform;
bag1colorInfo15 = bag1.overlay.transform.colorTransform;
bag2colorInfo15 = bag2.overlay.transform.colorTransform;
eyescolorInfo15 = eyes.innereyes.transform.colorTransform;
pawscolorInfo15 = paws.transform.colorTransform;
earscolorInfo15 = ears.overlay.transform.colorTransform;
cp15bag1.addEventListener(ColorPickerEvent.CHANGE, colorChange15);
cp15bag1.selectedColor = 16475402;
cp15bag2.addEventListener(ColorPickerEvent.CHANGE, colorChange15);
cp15bag2.selectedColor = 0xFFFFFF;
cp15fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange15);
cp15fur1.selectedColor = 16475402;
cp15fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange15);
cp15fur2.selectedColor = 0xFFFFFF;
cp15eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange15);
cp15eyes.selectedColor = 0xAA6600;
cp15paws.addEventListener(ColorPickerEvent.CHANGE, colorChange15);
cp15paws.selectedColor = 16495034;
cp15ears.addEventListener(ColorPickerEvent.CHANGE, colorChange15);
cp15ears.selectedColor = 16495034;
}
function frame18(){
eyes.gotoAndStop(1);
furcolorInfo18 = fur.overlay.transform.colorTransform;
haircolorInfo18 = hair.transform.colorTransform;
bowcolorInfo18 = bow.overlay.transform.colorTransform;
eyescolorInfo18 = eyes.innereyes.transform.colorTransform;
pawscolorInfo18 = paws.transform.colorTransform;
earscolorInfo18 = ears.overlay.transform.colorTransform;
cp18fur.addEventListener(ColorPickerEvent.CHANGE, colorChange18);
cp18fur.selectedColor = 16475402;
cp18hair.addEventListener(ColorPickerEvent.CHANGE, colorChange18);
cp18hair.selectedColor = 16186426;
cp18bow.addEventListener(ColorPickerEvent.CHANGE, colorChange18);
cp18bow.selectedColor = 12982806;
cp18eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange18);
cp18eyes.selectedColor = 0xAA6600;
cp18paws.addEventListener(ColorPickerEvent.CHANGE, colorChange18);
cp18paws.selectedColor = 16495034;
cp18ears.addEventListener(ColorPickerEvent.CHANGE, colorChange18);
cp18ears.selectedColor = 16495034;
}
function frame1(){
eyes.gotoAndStop(1);
fur1colorInfo = fur1.overlay.transform.colorTransform;
fur2colorInfo = fur2.overlay.transform.colorTransform;
eyescolorInfo = eyes.innereyes.transform.colorTransform;
pawscolorInfo = paws.transform.colorTransform;
earscolorInfo = ears.overlay.transform.colorTransform;
cpfur1.addEventListener(ColorPickerEvent.CHANGE, colorChange);
cpfur1.selectedColor = 16475395;
cpfur2.addEventListener(ColorPickerEvent.CHANGE, colorChange);
cpfur2.selectedColor = 0xFFFFFF;
cpeyes.addEventListener(ColorPickerEvent.CHANGE, colorChange);
cpeyes.selectedColor = 0x996600;
cppaws.addEventListener(ColorPickerEvent.CHANGE, colorChange);
cppaws.selectedColor = 16495027;
cpears.addEventListener(ColorPickerEvent.CHANGE, colorChange);
cpears.selectedColor = 16495027;
mouthb.addEventListener(MouseEvent.CLICK, mouthbAction);
eyesb.addEventListener(MouseEvent.CLICK, eyesbAction);
ookwee.addEventListener(MouseEvent.CLICK, ookweeAction);
ookwee.alpha = 0;
stop();
}
function frame4(){
eyes.gotoAndStop(1);
fur1colorInfo4 = fur1.overlay.transform.colorTransform;
fur2colorInfo4 = fur2.transform.colorTransform;
eyescolorInfo4 = eyes.innereyes.transform.colorTransform;
pawscolorInfo4 = paws.transform.colorTransform;
earscolorInfo4 = ears.overlay.transform.colorTransform;
cp4fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange4);
cp4fur1.selectedColor = 16475396;
cp4fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange4);
cp4fur2.selectedColor = 0xFFFFFF;
cp4eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange4);
cp4eyes.selectedColor = 0x996600;
cp4paws.addEventListener(ColorPickerEvent.CHANGE, colorChange4);
cp4paws.selectedColor = 16495028;
cp4ears.addEventListener(ColorPickerEvent.CHANGE, colorChange4);
cp4ears.selectedColor = 16495028;
}
function frame5(){
eyes.gotoAndStop(1);
fur1colorInfo5 = fur1.overlay.transform.colorTransform;
fur2colorInfo5 = fur2.overlay.transform.colorTransform;
eyescolorInfo5 = eyes.innereyes.transform.colorTransform;
pawscolorInfo5 = paws.transform.colorTransform;
earscolorInfo5 = ears.overlay.transform.colorTransform;
cp5fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange5);
cp5fur1.selectedColor = 16475397;
cp5fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange5);
cp5fur2.selectedColor = 0xFFFFFF;
cp5eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange5);
cp5eyes.selectedColor = 0x996600;
cp5paws.addEventListener(ColorPickerEvent.CHANGE, colorChange5);
cp5paws.selectedColor = 16495029;
cp5ears.addEventListener(ColorPickerEvent.CHANGE, colorChange5);
cp5ears.selectedColor = 16495029;
ookwee.alpha = 0;
}
function frame8(){
eyes.gotoAndStop(1);
fur1colorInfo8 = fur1.overlay.transform.colorTransform;
fur2colorInfo8 = fur2.overlay.transform.colorTransform;
eyescolorInfo8 = eyes.innereyes.transform.colorTransform;
pawscolorInfo8 = paws.transform.colorTransform;
earscolorInfo8 = ears.overlay.transform.colorTransform;
cp8fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange8);
cp8fur1.selectedColor = 16475400;
cp8fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange8);
cp8fur2.selectedColor = 0xFFFFFF;
cp8eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange8);
cp8eyes.selectedColor = 0x996600;
cp8paws.addEventListener(ColorPickerEvent.CHANGE, colorChange8);
cp8paws.selectedColor = 16495032;
cp8ears.addEventListener(ColorPickerEvent.CHANGE, colorChange8);
cp8ears.selectedColor = 16495032;
}
function frame2(){
eyes.gotoAndStop(1);
furcolorInfo2 = fur.overlay.transform.colorTransform;
bowscolorInfo2 = bows.transform.colorTransform;
eyescolorInfo2 = eyes.innereyes.transform.colorTransform;
pawscolorInfo2 = paws.transform.colorTransform;
earscolorInfo2 = ears.overlay.transform.colorTransform;
cp2fur.addEventListener(ColorPickerEvent.CHANGE, colorChange2);
cp2fur.selectedColor = 0xFFFFFF;
cpbows2.addEventListener(ColorPickerEvent.CHANGE, colorChange2);
cpbows2.selectedColor = 94425;
cpeyes2.addEventListener(ColorPickerEvent.CHANGE, colorChange2);
cpeyes2.selectedColor = 0x996600;
cppaws2.addEventListener(ColorPickerEvent.CHANGE, colorChange2);
cppaws2.selectedColor = 16495027;
cpears2.addEventListener(ColorPickerEvent.CHANGE, colorChange2);
cpears2.selectedColor = 16495027;
}
function frame3(){
eyes.gotoAndStop(1);
fur1colorInfo3 = fur1.transform.colorTransform;
fur2colorInfo3 = fur2.transform.colorTransform;
eyescolorInfo3 = eyes.innereyes.transform.colorTransform;
pawscolorInfo3 = paws.transform.colorTransform;
earscolorInfo3 = ears.overlay.transform.colorTransform;
cp3fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange3);
cp3fur1.selectedColor = 16475395;
cp3fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange3);
cp3fur2.selectedColor = 0xFFFFFF;
cp3eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange3);
cp3eyes.selectedColor = 0x996600;
cp3paws.addEventListener(ColorPickerEvent.CHANGE, colorChange3);
cp3paws.selectedColor = 16495027;
cp3ears.addEventListener(ColorPickerEvent.CHANGE, colorChange3);
cp3ears.selectedColor = 16495027;
}
function frame11(){
eyes.gotoAndStop(1);
fur1colorInfo11 = fur1.overlay.transform.colorTransform;
fur2colorInfo11 = fur2.overlay.transform.colorTransform;
fur3colorInfo11 = fur3.transform.colorTransform;
eyescolorInfo11 = eyes.innereyes.transform.colorTransform;
pawscolorInfo11 = paws.transform.colorTransform;
earscolorInfo11 = ears.overlay.transform.colorTransform;
cp11fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange11);
cp11fur1.selectedColor = 16475402;
cp11fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange11);
cp11fur2.selectedColor = 0xFFFFFF;
cp11fur3.addEventListener(ColorPickerEvent.CHANGE, colorChange11);
cp11fur3.selectedColor = 0xAA6600;
cp11eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange11);
cp11eyes.selectedColor = 0xAA6600;
cp11paws.addEventListener(ColorPickerEvent.CHANGE, colorChange11);
cp11paws.selectedColor = 16495034;
cp11ears.addEventListener(ColorPickerEvent.CHANGE, colorChange11);
cp11ears.selectedColor = 16495034;
}
function frame6(){
eyes.gotoAndStop(1);
fur1colorInfo6 = fur1.overlay.transform.colorTransform;
fur2colorInfo6 = fur2.overlay.transform.colorTransform;
eyescolorInfo6 = eyes.innereyes.transform.colorTransform;
pawscolorInfo6 = paws.transform.colorTransform;
earscolorInfo6 = ears.overlay.transform.colorTransform;
clothcolorInfo6 = clother.overlay.transform.colorTransform;
cp6fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange6);
cp6fur1.selectedColor = 16475654;
cp6fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange6);
cp6fur2.selectedColor = 0xFFFFFF;
cp6eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange6);
cp6eyes.selectedColor = 0x996600;
cp6paws.addEventListener(ColorPickerEvent.CHANGE, colorChange6);
cp6paws.selectedColor = 16495030;
cp6ears.addEventListener(ColorPickerEvent.CHANGE, colorChange6);
cp6ears.selectedColor = 16495030;
cp6cloth.addEventListener(ColorPickerEvent.CHANGE, colorChange6);
cp6cloth.selectedColor = 16495030;
ookwee.alpha = 100;
}
function frame7(){
eyes.gotoAndStop(1);
fur1colorInfo7 = fur1.overlay.transform.colorTransform;
fur2colorInfo7 = fur2.overlay.transform.colorTransform;
stripescolorInfo7 = stripes.transform.colorTransform;
eyescolorInfo7 = eyes.innereyes.transform.colorTransform;
pawscolorInfo7 = paws.transform.colorTransform;
earscolorInfo7 = ears.overlay.transform.colorTransform;
cp7fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange7);
cp7fur1.selectedColor = 16475399;
cp7fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange7);
cp7fur2.selectedColor = 0xFFFFFF;
cp7stripes.addEventListener(ColorPickerEvent.CHANGE, colorChange7);
cp7stripes.selectedColor = 0x996600;
cp7eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange7);
cp7eyes.selectedColor = 0x996600;
cp7paws.addEventListener(ColorPickerEvent.CHANGE, colorChange7);
cp7paws.selectedColor = 16495031;
cp7ears.addEventListener(ColorPickerEvent.CHANGE, colorChange7);
cp7ears.selectedColor = 16495031;
ookwee.alpha = 0;
}
function frame22(){
eyes.gotoAndStop(1);
fur1colorInfo22 = fur1.overlay.transform.colorTransform;
fur2colorInfo22 = fur2.overlay.transform.colorTransform;
eyescolorInfo22 = eyes.innereyes.transform.colorTransform;
pawscolorInfo22 = paws.transform.colorTransform;
earscolorInfo22 = ears.overlay.transform.colorTransform;
cp22fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange22);
cp22fur1.selectedColor = 16475402;
cp22fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange22);
cp22fur2.selectedColor = 0xFFFFFF;
cp22eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange22);
cp22eyes.selectedColor = 0xAA6600;
cp22paws.addEventListener(ColorPickerEvent.CHANGE, colorChange22);
cp22paws.selectedColor = 16495034;
cp22ears.addEventListener(ColorPickerEvent.CHANGE, colorChange22);
cp22ears.selectedColor = 16495034;
ookwee.alpha = 100;
}
function frame17(){
eyes.gotoAndStop(1);
furcolorInfo17 = fur.overlay.transform.colorTransform;
halocolorInfo17 = halo.transform.colorTransform;
eyescolorInfo17 = eyes.innereyes.transform.colorTransform;
pawscolorInfo17 = paws.transform.colorTransform;
earscolorInfo17 = ears.overlay.transform.colorTransform;
cp17fur.addEventListener(ColorPickerEvent.CHANGE, colorChange17);
cp17fur.selectedColor = 16475402;
cp17halo.addEventListener(ColorPickerEvent.CHANGE, colorChange17);
cp17halo.selectedColor = 16186426;
cp17eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange17);
cp17eyes.selectedColor = 0xAA6600;
cp17paws.addEventListener(ColorPickerEvent.CHANGE, colorChange17);
cp17paws.selectedColor = 16495034;
cp17ears.addEventListener(ColorPickerEvent.CHANGE, colorChange17);
cp17ears.selectedColor = 16495034;
}
function frame13(){
eyes.gotoAndStop(1);
fur1colorInfo13 = fur1.overlay.transform.colorTransform;
fur2colorInfo13 = fur2.overlay.transform.colorTransform;
capcolorInfo13 = cap.overlay.transform.colorTransform;
eyescolorInfo13 = eyes.innereyes.transform.colorTransform;
pawscolorInfo13 = paws.transform.colorTransform;
earscolorInfo13 = ears.overlay.transform.colorTransform;
cp13fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange13);
cp13fur1.selectedColor = 16475402;
cp13fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange13);
cp13fur2.selectedColor = 0xFFFFFF;
cp13cap.addEventListener(ColorPickerEvent.CHANGE, colorChange13);
cp13cap.selectedColor = 0xAA6600;
cp13eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange13);
cp13eyes.selectedColor = 0xAA6600;
cp13paws.addEventListener(ColorPickerEvent.CHANGE, colorChange13);
cp13paws.selectedColor = 16495034;
cp13ears.addEventListener(ColorPickerEvent.CHANGE, colorChange13);
cp13ears.selectedColor = 16495034;
}
function frame20(){
eyes.gotoAndStop(14);
fur1colorInfo20 = fur1.overlay.transform.colorTransform;
fur2colorInfo20 = fur2.overlay.transform.colorTransform;
wingscolorInfo20 = wings.transform.colorTransform;
hatcolorInfo20 = hat.overlay.transform.colorTransform;
eyescolorInfo20 = eyes.innereyes.transform.colorTransform;
pawscolorInfo20 = paws.transform.colorTransform;
earscolorInfo20 = ears.overlay.transform.colorTransform;
cp20fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange20);
cp20fur1.selectedColor = 9804158;
cp20fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange20);
cp20fur2.selectedColor = 16184539;
cp20wings.addEventListener(ColorPickerEvent.CHANGE, colorChange20);
cp20wings.selectedColor = 1458288;
cp20hat.addEventListener(ColorPickerEvent.CHANGE, colorChange20);
cp20hat.selectedColor = 0x323232;
cp20eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange20);
cp20eyes.selectedColor = 0xAA6600;
cp20paws.addEventListener(ColorPickerEvent.CHANGE, colorChange20);
cp20paws.selectedColor = 16495034;
cp20ears.addEventListener(ColorPickerEvent.CHANGE, colorChange20);
cp20ears.selectedColor = 16495034;
}
function frame10(){
eyes.gotoAndStop(1);
fur1colorInfo10 = fur1.overlay.transform.colorTransform;
fur2colorInfo10 = fur2.overlay.transform.colorTransform;
haircolorInfo10 = hair.transform.colorTransform;
eyescolorInfo10 = eyes.innereyes.transform.colorTransform;
pawscolorInfo10 = paws.transform.colorTransform;
earscolorInfo10 = ears.overlay.transform.colorTransform;
cp10fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange10);
cp10fur1.selectedColor = 16475402;
cp10fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange10);
cp10fur2.selectedColor = 0xFFFFFF;
cp10hair.addEventListener(ColorPickerEvent.CHANGE, colorChange10);
cp10hair.selectedColor = 0xAA6600;
cp10eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange10);
cp10eyes.selectedColor = 0xAA6600;
cp10paws.addEventListener(ColorPickerEvent.CHANGE, colorChange10);
cp10paws.selectedColor = 16495034;
cp10ears.addEventListener(ColorPickerEvent.CHANGE, colorChange10);
cp10ears.selectedColor = 16495034;
}
function frame19(){
eyes.gotoAndStop(1);
furcolorInfo19 = fur.overlay.transform.colorTransform;
haircolorInfo19 = hair.transform.colorTransform;
hoodcolorInfo19 = hood.overlay.transform.colorTransform;
eyescolorInfo19 = eyes.innereyes.transform.colorTransform;
pawscolorInfo19 = paws.transform.colorTransform;
earscolorInfo19 = ears.overlay.transform.colorTransform;
cp19fur.addEventListener(ColorPickerEvent.CHANGE, colorChange19);
cp19fur.selectedColor = 16475402;
cp19hair.addEventListener(ColorPickerEvent.CHANGE, colorChange19);
cp19hair.selectedColor = 16186426;
cp19hood.addEventListener(ColorPickerEvent.CHANGE, colorChange19);
cp19hood.selectedColor = 5262748;
cp19eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange19);
cp19eyes.selectedColor = 0xAA6600;
cp19paws.addEventListener(ColorPickerEvent.CHANGE, colorChange19);
cp19paws.selectedColor = 16495034;
cp19ears.addEventListener(ColorPickerEvent.CHANGE, colorChange19);
cp19ears.selectedColor = 16495034;
}
function frame9(){
eyes.gotoAndStop(1);
fur1colorInfo9 = fur1.overlay.transform.colorTransform;
fur2colorInfo9 = fur2.overlay.transform.colorTransform;
stripescolorInfo9 = stripes.transform.colorTransform;
eyescolorInfo9 = eyes.innereyes.transform.colorTransform;
pawscolorInfo9 = paws.transform.colorTransform;
earscolorInfo9 = ears.overlay.transform.colorTransform;
cp9fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange9);
cp9fur1.selectedColor = 16475401;
cp9fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange9);
cp9fur2.selectedColor = 0xFFFFFF;
cp9stripes.addEventListener(ColorPickerEvent.CHANGE, colorChange9);
cp9stripes.selectedColor = 0x996600;
cp9eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange9);
cp9eyes.selectedColor = 0x996600;
cp9paws.addEventListener(ColorPickerEvent.CHANGE, colorChange9);
cp9paws.selectedColor = 16495033;
cp9ears.addEventListener(ColorPickerEvent.CHANGE, colorChange9);
cp9ears.selectedColor = 16495033;
}
function frame12(){
eyes.gotoAndStop(4);
fur1colorInfo12 = fur1.overlay.transform.colorTransform;
fur2colorInfo12 = fur2.overlay.transform.colorTransform;
eyescolorInfo12 = eyes.innereyes.transform.colorTransform;
pawscolorInfo12 = paws.transform.colorTransform;
earscolorInfo12 = ears.overlay.transform.colorTransform;
cp12fur1.addEventListener(ColorPickerEvent.CHANGE, colorChange12);
cp12fur1.selectedColor = 16475402;
cp12fur2.addEventListener(ColorPickerEvent.CHANGE, colorChange12);
cp12fur2.selectedColor = 0xFFFFFF;
cp12eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange12);
cp12eyes.selectedColor = 0xAA6600;
cp12paws.addEventListener(ColorPickerEvent.CHANGE, colorChange12);
cp12paws.selectedColor = 16495034;
cp12ears.addEventListener(ColorPickerEvent.CHANGE, colorChange12);
cp12ears.selectedColor = 16495034;
}
function frame21(){
eyes.gotoAndStop(1);
furcolorInfo21 = fur.overlay.transform.colorTransform;
nosecolorInfo21 = nose.transform.colorTransform;
muzzlecolorInfo21 = muzzle.transform.colorTransform;
eyescolorInfo21 = eyes.innereyes.transform.colorTransform;
pawscolorInfo21 = paws.transform.colorTransform;
earscolorInfo21 = ears.overlay.transform.colorTransform;
cp21fur.addEventListener(ColorPickerEvent.CHANGE, colorChange21);
cp21fur.selectedColor = 16475402;
cp21nose.addEventListener(ColorPickerEvent.CHANGE, colorChange21);
cp21nose.selectedColor = 7936518;
cp21muzzle.addEventListener(ColorPickerEvent.CHANGE, colorChange21);
cp21muzzle.selectedColor = 0xFFFFFF;
cp21eyes.addEventListener(ColorPickerEvent.CHANGE, colorChange21);
cp21eyes.selectedColor = 0xAA6600;
cp21paws.addEventListener(ColorPickerEvent.CHANGE, colorChange21);
cp21paws.selectedColor = 16495034;
cp21ears.addEventListener(ColorPickerEvent.CHANGE, colorChange21);
cp21ears.selectedColor = 16495034;
ookwee.alpha = 0;
}
public function colorChange(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cpfur1:
fur1colorInfo.color = cpfur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo;
break;
case cpfur2:
fur2colorInfo.color = cpfur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo;
break;
case cpeyes:
eyescolorInfo.color = cpeyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo;
break;
case cppaws:
pawscolorInfo.color = cppaws.selectedColor;
paws.transform.colorTransform = pawscolorInfo;
break;
case cpears:
earscolorInfo.color = cpears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo;
break;
default:
break;
};
}
public function colorChange2(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp2fur:
furcolorInfo2.color = cp2fur.selectedColor;
fur.overlay.transform.colorTransform = furcolorInfo2;
break;
case cpbows2:
bowscolorInfo2.color = cpbows2.selectedColor;
bows.transform.colorTransform = bowscolorInfo2;
break;
case cpeyes2:
eyescolorInfo2.color = cpeyes2.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo2;
break;
case cppaws2:
pawscolorInfo2.color = cppaws2.selectedColor;
paws.transform.colorTransform = pawscolorInfo2;
break;
case cpears2:
earscolorInfo2.color = cpears2.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo2;
break;
default:
break;
};
}
public function colorChange3(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp3fur1:
fur1colorInfo3.color = cp3fur1.selectedColor;
fur1.transform.colorTransform = fur1colorInfo3;
break;
case cp3fur2:
fur2colorInfo3.color = cp3fur2.selectedColor;
fur2.transform.colorTransform = fur2colorInfo3;
break;
case cp3eyes:
eyescolorInfo3.color = cp3eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo3;
break;
case cp3paws:
pawscolorInfo3.color = cp3paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo3;
break;
case cp3ears:
earscolorInfo3.color = cp3ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo3;
break;
default:
break;
};
}
public function colorChange4(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp4fur1:
fur1colorInfo4.color = cp4fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo4;
break;
case cp4fur2:
fur2colorInfo4.color = cp4fur2.selectedColor;
fur2.transform.colorTransform = fur2colorInfo4;
break;
case cp4eyes:
eyescolorInfo4.color = cp4eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo4;
break;
case cp4paws:
pawscolorInfo4.color = cp4paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo4;
break;
case cp4ears:
earscolorInfo4.color = cp4ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo4;
break;
default:
break;
};
}
public function colorChange5(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp5fur1:
fur1colorInfo5.color = cp5fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo5;
break;
case cp5fur2:
fur2colorInfo5.color = cp5fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo5;
break;
case cp5eyes:
eyescolorInfo5.color = cp5eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo5;
break;
case cp5paws:
pawscolorInfo5.color = cp5paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo5;
break;
case cp5ears:
earscolorInfo5.color = cp5ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo5;
break;
default:
break;
};
}
public function colorChange7(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp7fur1:
fur1colorInfo7.color = cp7fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo7;
break;
case cp7fur2:
fur2colorInfo7.color = cp7fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo7;
break;
case cp7eyes:
eyescolorInfo7.color = cp7eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo7;
break;
case cp7paws:
pawscolorInfo7.color = cp7paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo7;
break;
case cp7ears:
earscolorInfo7.color = cp7ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo7;
break;
case cp7stripes:
stripescolorInfo7.color = cp7stripes.selectedColor;
stripes.transform.colorTransform = stripescolorInfo7;
break;
default:
break;
};
}
public function colorChange8(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp8fur1:
fur1colorInfo8.color = cp8fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo8;
break;
case cp8fur2:
fur2colorInfo8.color = cp8fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo8;
break;
case cp8eyes:
eyescolorInfo8.color = cp8eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo8;
break;
case cp8paws:
pawscolorInfo8.color = cp8paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo8;
break;
case cp8ears:
earscolorInfo8.color = cp8ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo8;
break;
default:
break;
};
}
public function colorChange9(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp9fur1:
fur1colorInfo9.color = cp9fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo9;
break;
case cp9fur2:
fur2colorInfo9.color = cp9fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo9;
break;
case cp9eyes:
eyescolorInfo9.color = cp9eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo9;
break;
case cp9paws:
pawscolorInfo9.color = cp9paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo9;
break;
case cp9ears:
earscolorInfo9.color = cp9ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo9;
break;
case cp9stripes:
stripescolorInfo9.color = cp9stripes.selectedColor;
stripes.transform.colorTransform = stripescolorInfo9;
break;
default:
break;
};
}
public function colorChange6(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp6fur1:
fur1colorInfo6.color = cp6fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo6;
break;
case cp6fur2:
fur2colorInfo6.color = cp6fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo6;
break;
case cp6eyes:
eyescolorInfo6.color = cp6eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo6;
break;
case cp6paws:
pawscolorInfo6.color = cp6paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo6;
break;
case cp6ears:
earscolorInfo6.color = cp6ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo6;
break;
case cp6cloth:
clothcolorInfo6.color = cp6cloth.selectedColor;
clother.overlay.transform.colorTransform = clothcolorInfo6;
break;
default:
break;
};
}
public function colorChange11(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp11fur1:
fur1colorInfo11.color = cp11fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo11;
break;
case cp11fur2:
fur2colorInfo11.color = cp11fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo11;
break;
case cp11eyes:
eyescolorInfo11.color = cp11eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo11;
break;
case cp11paws:
pawscolorInfo11.color = cp11paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo11;
break;
case cp11ears:
earscolorInfo11.color = cp11ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo11;
break;
case cp11fur3:
fur3colorInfo11.color = cp11fur3.selectedColor;
fur3.transform.colorTransform = fur3colorInfo11;
break;
default:
break;
};
}
public function colorChange13(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp13fur1:
fur1colorInfo13.color = cp13fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo13;
break;
case cp13fur2:
fur2colorInfo13.color = cp13fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo13;
break;
case cp13eyes:
eyescolorInfo13.color = cp13eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo13;
break;
case cp13paws:
pawscolorInfo13.color = cp13paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo13;
break;
case cp13ears:
earscolorInfo13.color = cp13ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo13;
break;
case cp13cap:
capcolorInfo13.color = cp13cap.selectedColor;
cap.overlay.transform.colorTransform = capcolorInfo13;
break;
default:
break;
};
}
public function colorChange14(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp14fur1:
fur1colorInfo14.color = cp14fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo14;
break;
case cp14fur2:
fur2colorInfo14.color = cp14fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo14;
break;
case cp14eyes:
eyescolorInfo14.color = cp14eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo14;
break;
case cp14paws:
pawscolorInfo14.color = cp14paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo14;
break;
case cp14ears:
earscolorInfo14.color = cp14ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo14;
break;
default:
break;
};
}
public function colorChange15(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp15fur1:
fur1colorInfo15.color = cp15fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo15;
break;
case cp15fur2:
fur2colorInfo15.color = cp15fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo15;
break;
case cp15bag1:
bag1colorInfo15.color = cp15bag1.selectedColor;
bag1.overlay.transform.colorTransform = bag1colorInfo15;
break;
case cp15bag2:
bag2colorInfo15.color = cp15bag2.selectedColor;
bag2.overlay.transform.colorTransform = bag2colorInfo15;
break;
case cp15eyes:
eyescolorInfo15.color = cp15eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo15;
break;
case cp15paws:
pawscolorInfo15.color = cp15paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo15;
break;
case cp15ears:
earscolorInfo15.color = cp15ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo15;
break;
default:
break;
};
}
public function colorChange12(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp12fur1:
fur1colorInfo12.color = cp12fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo12;
break;
case cp12fur2:
fur2colorInfo12.color = cp12fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo12;
break;
case cp12eyes:
eyescolorInfo12.color = cp12eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo12;
break;
case cp12paws:
pawscolorInfo12.color = cp12paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo12;
break;
case cp12ears:
earscolorInfo12.color = cp12ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo12;
break;
default:
break;
};
}
public function ookweeAction(_arg1:MouseEvent){
if (currentFrame == 6){
gotoAndStop(22);
} else {
if (currentFrame == 22){
gotoAndStop(6);
};
};
}
public function colorChange16(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp16fur:
furcolorInfo16.color = cp16fur.selectedColor;
fur.overlay.transform.colorTransform = furcolorInfo16;
break;
case cp16muzzle:
muzzlecolorInfo16.color = cp16muzzle.selectedColor;
muzzle.transform.colorTransform = muzzlecolorInfo16;
muzzle.alpha = 100;
ckmuzzle.selected = true;
break;
case cp16belly:
bellycolorInfo16.color = cp16belly.selectedColor;
belly.overlay.transform.colorTransform = bellycolorInfo16;
belly.alpha = 100;
ckbelly.selected = true;
break;
case cp16eartip:
eartipcolorInfo16.color = cp16eartip.selectedColor;
eartip.transform.colorTransform = eartipcolorInfo16;
eartip.alpha = 100;
ckeartip.selected = true;
break;
case cp16eyes:
eyescolorInfo16.color = cp16eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo16;
break;
case cp16paws:
pawscolorInfo16.color = cp16paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo16;
break;
case cp16ears:
earscolorInfo16.color = cp16ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo16;
break;
default:
break;
};
}
public function colorChange17(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp17fur:
furcolorInfo17.color = cp17fur.selectedColor;
fur.overlay.transform.colorTransform = furcolorInfo17;
break;
case cp17halo:
halocolorInfo17.color = cp17halo.selectedColor;
halo.transform.colorTransform = halocolorInfo17;
break;
case cp17eyes:
eyescolorInfo17.color = cp17eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo17;
break;
case cp17paws:
pawscolorInfo17.color = cp17paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo17;
break;
case cp17ears:
earscolorInfo17.color = cp17ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo17;
break;
default:
break;
};
}
public function colorChange18(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp18fur:
furcolorInfo18.color = cp18fur.selectedColor;
fur.overlay.transform.colorTransform = furcolorInfo18;
break;
case cp18hair:
haircolorInfo18.color = cp18hair.selectedColor;
hair.transform.colorTransform = haircolorInfo18;
break;
case cp18bow:
bowcolorInfo18.color = cp18bow.selectedColor;
bow.overlay.transform.colorTransform = bowcolorInfo18;
break;
case cp18eyes:
eyescolorInfo18.color = cp18eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo18;
break;
case cp18paws:
pawscolorInfo18.color = cp18paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo18;
break;
case cp18ears:
earscolorInfo18.color = cp18ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo18;
break;
default:
break;
};
}
public function colorChange10(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp10fur1:
fur1colorInfo10.color = cp10fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo10;
break;
case cp10fur2:
fur2colorInfo10.color = cp10fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo10;
break;
case cp10eyes:
eyescolorInfo10.color = cp10eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo10;
break;
case cp10paws:
pawscolorInfo10.color = cp10paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo10;
break;
case cp10ears:
earscolorInfo10.color = cp10ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo10;
break;
case cp10hair:
haircolorInfo10.color = cp10hair.selectedColor;
hair.transform.colorTransform = haircolorInfo10;
break;
default:
break;
};
}
public function mouthbAction(_arg1:MouseEvent){
if (mouth.currentFrame == mouth.totalFrames){
mouth.gotoAndStop(1);
} else {
mouth.gotoAndStop((mouth.currentFrame + 1));
};
}
public function colorChange19(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp19fur:
furcolorInfo19.color = cp19fur.selectedColor;
fur.overlay.transform.colorTransform = furcolorInfo19;
break;
case cp19hair:
haircolorInfo19.color = cp19hair.selectedColor;
hair.transform.colorTransform = haircolorInfo19;
break;
case cp19hood:
hoodcolorInfo19.color = cp19hood.selectedColor;
hood.overlay.transform.colorTransform = hoodcolorInfo19;
break;
case cp19eyes:
eyescolorInfo19.color = cp19eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo19;
break;
case cp19paws:
pawscolorInfo19.color = cp19paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo19;
break;
case cp19ears:
earscolorInfo19.color = cp19ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo19;
break;
default:
break;
};
}
public function eyesbAction(_arg1:MouseEvent){
if (eyes.currentFrame == eyes.totalFrames){
eyes.gotoAndStop(1);
} else {
eyes.gotoAndStop((eyes.currentFrame + 1));
};
}
function __setProp_ckeartip_Symbol3_Layer10_16(){
try {
ckeartip["componentInspectorSetting"] = true;
} catch(e:Error) {
};
ckeartip.enabled = true;
ckeartip.label = "";
ckeartip.labelPlacement = "right";
ckeartip.selected = false;
ckeartip.visible = true;
try {
ckeartip["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function colorChange20(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp20fur1:
fur1colorInfo20.color = cp20fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo20;
break;
case cp20fur2:
fur2colorInfo20.color = cp20fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo20;
break;
case cp20wings:
wingscolorInfo20.color = cp20wings.selectedColor;
wings.transform.colorTransform = wingscolorInfo20;
break;
case cp20hat:
hatcolorInfo20.color = cp20hat.selectedColor;
hat.overlay.transform.colorTransform = hatcolorInfo20;
break;
case cp20eyes:
eyescolorInfo20.color = cp20eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo20;
break;
case cp20paws:
pawscolorInfo20.color = cp20paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo20;
break;
case cp20ears:
earscolorInfo20.color = cp20ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo20;
break;
default:
break;
};
}
public function colorChange21(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp21fur:
furcolorInfo21.color = cp21fur.selectedColor;
fur.overlay.transform.colorTransform = furcolorInfo21;
break;
case cp21nose:
nosecolorInfo21.color = cp21nose.selectedColor;
nose.transform.colorTransform = nosecolorInfo21;
break;
case cp21muzzle:
muzzlecolorInfo21.color = cp21muzzle.selectedColor;
muzzle.transform.colorTransform = muzzlecolorInfo21;
break;
case cp21eyes:
eyescolorInfo21.color = cp21eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo21;
break;
case cp21paws:
pawscolorInfo21.color = cp21paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo21;
break;
case cp21ears:
earscolorInfo21.color = cp21ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo21;
break;
default:
break;
};
}
public function colorChange22(_arg1:Event):void{
var _local2:ColorPicker;
_local2 = (_arg1.target as ColorPicker);
switch (_local2){
case cp22fur1:
fur1colorInfo22.color = cp22fur1.selectedColor;
fur1.overlay.transform.colorTransform = fur1colorInfo22;
break;
case cp22fur2:
fur2colorInfo22.color = cp22fur2.selectedColor;
fur2.overlay.transform.colorTransform = fur2colorInfo22;
break;
case cp22eyes:
eyescolorInfo22.color = cp22eyes.selectedColor;
eyes.innereyes.transform.colorTransform = eyescolorInfo22;
break;
case cp22paws:
pawscolorInfo22.color = cp22paws.selectedColor;
paws.transform.colorTransform = pawscolorInfo22;
break;
case cp22ears:
earscolorInfo22.color = cp22ears.selectedColor;
ears.overlay.transform.colorTransform = earscolorInfo22;
break;
default:
break;
};
}
public function updateCart(_arg1:MouseEvent){
var _local2:CheckBox;
_local2 = CheckBox(_arg1.target);
if (_local2.selected == true){
if (_local2 == ckeartip){
eartip.alpha = 100;
} else {
if (_local2 == ckbelly){
belly.alpha = 100;
} else {
muzzle.alpha = 100;
};
};
} else {
if (_local2 == ckeartip){
eartip.alpha = 0;
} else {
if (_local2 == ckbelly){
belly.alpha = 0;
} else {
muzzle.alpha = 0;
};
};
};
}
}
}//package hamtaroocmaker1_fla
Section 69
//Symbol38_197 (hamtaroocmaker1_fla.Symbol38_197)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol38_197 extends MovieClip {
public function Symbol38_197(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package hamtaroocmaker1_fla
Section 70
//Symbol47_14 (hamtaroocmaker1_fla.Symbol47_14)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol47_14 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 71
//Symbol48_16 (hamtaroocmaker1_fla.Symbol48_16)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol48_16 extends MovieClip {
public var overlay:SimpleButton;
}
}//package hamtaroocmaker1_fla
Section 72
//Symbol49_18 (hamtaroocmaker1_fla.Symbol49_18)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol49_18 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 73
//Symbol52_152 (hamtaroocmaker1_fla.Symbol52_152)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol52_152 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 74
//Symbol64_40 (hamtaroocmaker1_fla.Symbol64_40)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol64_40 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 75
//Symbol67_44 (hamtaroocmaker1_fla.Symbol67_44)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol67_44 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 76
//Symbol70_46 (hamtaroocmaker1_fla.Symbol70_46)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol70_46 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 77
//Symbol76_51 (hamtaroocmaker1_fla.Symbol76_51)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol76_51 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 78
//Symbol78_54 (hamtaroocmaker1_fla.Symbol78_54)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol78_54 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 79
//Symbol83_58 (hamtaroocmaker1_fla.Symbol83_58)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol83_58 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 80
//Symbol84_60 (hamtaroocmaker1_fla.Symbol84_60)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol84_60 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 81
//Symbol85_62 (hamtaroocmaker1_fla.Symbol85_62)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol85_62 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 82
//Symbol89_64 (hamtaroocmaker1_fla.Symbol89_64)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol89_64 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 83
//Symbol90_66 (hamtaroocmaker1_fla.Symbol90_66)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol90_66 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 84
//Symbol91_68 (hamtaroocmaker1_fla.Symbol91_68)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol91_68 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 85
//Symbol92_70 (hamtaroocmaker1_fla.Symbol92_70)
package hamtaroocmaker1_fla {
import flash.display.*;
public dynamic class Symbol92_70 extends MovieClip {
public var overlay:MovieClip;
}
}//package hamtaroocmaker1_fla
Section 86
//CheckBox_disabledIcon (CheckBox_disabledIcon)
package {
import flash.display.*;
public dynamic class CheckBox_disabledIcon extends MovieClip {
}
}//package
Section 87
//CheckBox_downIcon (CheckBox_downIcon)
package {
import flash.display.*;
public dynamic class CheckBox_downIcon extends MovieClip {
}
}//package
Section 88
//CheckBox_overIcon (CheckBox_overIcon)
package {
import flash.display.*;
public dynamic class CheckBox_overIcon extends MovieClip {
}
}//package
Section 89
//CheckBox_selectedDisabledIcon (CheckBox_selectedDisabledIcon)
package {
import flash.display.*;
public dynamic class CheckBox_selectedDisabledIcon extends MovieClip {
}
}//package
Section 90
//CheckBox_selectedDownIcon (CheckBox_selectedDownIcon)
package {
import flash.display.*;
public dynamic class CheckBox_selectedDownIcon extends MovieClip {
}
}//package
Section 91
//CheckBox_selectedOverIcon (CheckBox_selectedOverIcon)
package {
import flash.display.*;
public dynamic class CheckBox_selectedOverIcon extends MovieClip {
}
}//package
Section 92
//CheckBox_selectedUpIcon (CheckBox_selectedUpIcon)
package {
import flash.display.*;
public dynamic class CheckBox_selectedUpIcon extends MovieClip {
}
}//package
Section 93
//CheckBox_upIcon (CheckBox_upIcon)
package {
import flash.display.*;
public dynamic class CheckBox_upIcon extends MovieClip {
}
}//package
Section 94
//ColorPicker_backgroundSkin (ColorPicker_backgroundSkin)
package {
import flash.display.*;
public dynamic class ColorPicker_backgroundSkin extends MovieClip {
}
}//package
Section 95
//ColorPicker_colorWell (ColorPicker_colorWell)
package {
import flash.display.*;
public dynamic class ColorPicker_colorWell extends MovieClip {
}
}//package
Section 96
//ColorPicker_disabledSkin (ColorPicker_disabledSkin)
package {
import flash.display.*;
public dynamic class ColorPicker_disabledSkin extends MovieClip {
}
}//package
Section 97
//ColorPicker_downSkin (ColorPicker_downSkin)
package {
import flash.display.*;
public dynamic class ColorPicker_downSkin extends MovieClip {
}
}//package
Section 98
//ColorPicker_overSkin (ColorPicker_overSkin)
package {
import flash.display.*;
public dynamic class ColorPicker_overSkin extends MovieClip {
}
}//package
Section 99
//ColorPicker_swatchSelectedSkin (ColorPicker_swatchSelectedSkin)
package {
import flash.display.*;
public dynamic class ColorPicker_swatchSelectedSkin extends MovieClip {
}
}//package
Section 100
//ColorPicker_swatchSkin (ColorPicker_swatchSkin)
package {
import flash.display.*;
public dynamic class ColorPicker_swatchSkin extends Sprite {
}
}//package
Section 101
//ColorPicker_textFieldSkin (ColorPicker_textFieldSkin)
package {
import flash.display.*;
public dynamic class ColorPicker_textFieldSkin extends MovieClip {
}
}//package
Section 102
//ColorPicker_upSkin (ColorPicker_upSkin)
package {
import flash.display.*;
public dynamic class ColorPicker_upSkin extends MovieClip {
}
}//package
Section 103
//focusRectSkin (focusRectSkin)
package {
import flash.display.*;
public dynamic class focusRectSkin extends MovieClip {
}
}//package
Section 104
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_disabledSkin extends MovieClip {
}
}//package
Section 105
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_downSkin extends MovieClip {
}
}//package
Section 106
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_overSkin extends MovieClip {
}
}//package
Section 107
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_upSkin extends MovieClip {
}
}//package
Section 108
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_disabledSkin extends MovieClip {
}
}//package
Section 109
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_downSkin extends MovieClip {
}
}//package
Section 110
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_overSkin extends MovieClip {
}
}//package
Section 111
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_upSkin extends MovieClip {
}
}//package
Section 112
//ScrollBar_thumbIcon (ScrollBar_thumbIcon)
package {
import flash.display.*;
public dynamic class ScrollBar_thumbIcon extends MovieClip {
}
}//package
Section 113
//ScrollThumb_downSkin (ScrollThumb_downSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_downSkin extends MovieClip {
}
}//package
Section 114
//ScrollThumb_overSkin (ScrollThumb_overSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_overSkin extends MovieClip {
}
}//package
Section 115
//ScrollThumb_upSkin (ScrollThumb_upSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_upSkin extends MovieClip {
}
}//package
Section 116
//ScrollTrack_skin (ScrollTrack_skin)
package {
import flash.display.*;
public dynamic class ScrollTrack_skin extends MovieClip {
}
}//package
Section 117
//TottokonoUta (TottokonoUta)
package {
import flash.media.*;
public dynamic class TottokonoUta extends Sound {
}
}//package