Section 1
//ColorShortcuts (caurina.transitions.properties.ColorShortcuts)
package caurina.transitions.properties {
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
public class ColorShortcuts {
private static var LUMINANCE_B:Number = 0.072169;
private static var LUMINANCE_G:Number = 0.71516;
private static var LUMINANCE_R:Number = 0.212671;
public function ColorShortcuts(){
trace("This is an static class and should not be instantiated.");
}
public static function _color_splitter(_arg1, _arg2:Array):Array{
var _local3:Array;
_local3 = new Array();
if (_arg1 == null){
_local3.push({name:"_color_redMultiplier", value:1});
_local3.push({name:"_color_redOffset", value:0});
_local3.push({name:"_color_greenMultiplier", value:1});
_local3.push({name:"_color_greenOffset", value:0});
_local3.push({name:"_color_blueMultiplier", value:1});
_local3.push({name:"_color_blueOffset", value:0});
} else {
_local3.push({name:"_color_redMultiplier", value:0});
_local3.push({name:"_color_redOffset", value:AuxFunctions.numberToR(_arg1)});
_local3.push({name:"_color_greenMultiplier", value:0});
_local3.push({name:"_color_greenOffset", value:AuxFunctions.numberToG(_arg1)});
_local3.push({name:"_color_blueMultiplier", value:0});
_local3.push({name:"_color_blueOffset", value:AuxFunctions.numberToB(_arg1)});
};
return (_local3);
}
public static function _contrast_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
var _local5:Number;
var _local6:Number;
var _local7:ColorTransform;
_local5 = (_arg2 + 1);
_local6 = Math.round((_arg2 * -128));
_local7 = new ColorTransform(_local5, _local5, _local5, 1, _local6, _local6, _local6, 0);
_arg1.transform.colorTransform = _local7;
}
public static function _brightness_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
var _local4:Boolean;
var _local5:ColorTransform;
var _local6:Number;
var _local7:Number;
_local4 = _arg2[0];
_local5 = _arg1.transform.colorTransform;
_local6 = (1 - (((_local5.redMultiplier + _local5.greenMultiplier) + _local5.blueMultiplier) / 3));
_local7 = (((_local5.redOffset + _local5.greenOffset) + _local5.blueOffset) / 3);
if (_local4){
return (((_local7 > 0)) ? (_local7 / 0xFF) : -(_local6));
//unresolved jump
};
return ((_local7 / 100));
}
public static function _saturation_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
var _local4:Array;
var _local5:Boolean;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
_local4 = getObjectMatrix(_arg1);
_local5 = _arg2[0];
_local6 = (_local5) ? (1 / 3) : LUMINANCE_R;
_local7 = (_local5) ? (1 / 3) : LUMINANCE_G;
_local8 = (_local5) ? (1 / 3) : LUMINANCE_B;
_local9 = (((((_local4[0] - _local6) / (1 - _local6)) + ((_local4[6] - _local7) / (1 - _local7))) + ((_local4[12] - _local8) / (1 - _local8))) / 3);
_local10 = (1 - (((((((_local4[1] / _local7) + (_local4[2] / _local8)) + (_local4[5] / _local6)) + (_local4[7] / _local8)) + (_local4[10] / _local6)) + (_local4[11] / _local7)) / 6));
return (((_local9 + _local10) / 2));
}
public static function _oldColor_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
return ((_arg1.transform.colorTransform[_arg2[0]] * 100));
}
public static function _brightness_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
var _local5:Boolean;
var _local6:Number;
var _local7:Number;
var _local8:ColorTransform;
_local5 = _arg3[0];
if (_local5){
_local6 = (1 - Math.abs(_arg2));
_local7 = ((_arg2 > 0)) ? Math.round((_arg2 * 0xFF)) : 0;
} else {
_local6 = 1;
_local7 = Math.round((_arg2 * 100));
};
_local8 = new ColorTransform(_local6, _local6, _local6, 1, _local7, _local7, _local7, 0);
_arg1.transform.colorTransform = _local8;
}
public static function _saturation_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
var _local5:Boolean;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Array;
_local5 = _arg3[0];
_local6 = (_local5) ? (1 / 3) : LUMINANCE_R;
_local7 = (_local5) ? (1 / 3) : LUMINANCE_G;
_local8 = (_local5) ? (1 / 3) : LUMINANCE_B;
_local9 = _arg2;
_local10 = (1 - _local9);
_local11 = (_local6 * _local10);
_local12 = (_local7 * _local10);
_local13 = (_local8 * _local10);
_local14 = [(_local11 + _local9), _local12, _local13, 0, 0, _local11, (_local12 + _local9), _local13, 0, 0, _local11, _local12, (_local13 + _local9), 0, 0, 0, 0, 0, 1, 0];
setObjectMatrix(_arg1, _local14);
}
private static function getObjectMatrix(_arg1:Object):Array{
var _local2:Number;
_local2 = 0;
while (_local2 < _arg1.filters.length) {
if ((_arg1.filters[_local2] is ColorMatrixFilter)){
return (_arg1.filters[_local2].matrix.concat());
};
_local2++;
};
return ([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]);
}
public static function getHueDistance(_arg1:Array, _arg2:Array):Number{
return (((Math.abs((_arg1[0] - _arg2[0])) + Math.abs((_arg1[1] - _arg2[1]))) + Math.abs((_arg1[2] - _arg2[2]))));
}
public static function _hue_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
setObjectMatrix(_arg1, getHueMatrix(_arg2));
}
public static function _hue_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
var _local4:Array;
var _local5:Array;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local4 = getObjectMatrix(_arg1);
_local5 = [];
_local5[0] = {angle:-179.9, matrix:getHueMatrix(-179.9)};
_local5[1] = {angle:180, matrix:getHueMatrix(180)};
_local6 = 0;
while (_local6 < _local5.length) {
_local5[_local6].distance = getHueDistance(_local4, _local5[_local6].matrix);
_local6++;
};
_local7 = 15;
_local6 = 0;
while (_local6 < _local7) {
if (_local5[0].distance < _local5[1].distance){
_local8 = 1;
} else {
_local8 = 0;
};
_local5[_local8].angle = ((_local5[0].angle + _local5[1].angle) / 2);
_local5[_local8].matrix = getHueMatrix(_local5[_local8].angle);
_local5[_local8].distance = getHueDistance(_local4, _local5[_local8].matrix);
_local6++;
};
return (_local5[_local8].angle);
}
public static function getHueMatrix(_arg1:Number):Array{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Array;
_local2 = ((_arg1 * Math.PI) / 180);
_local3 = LUMINANCE_R;
_local4 = LUMINANCE_G;
_local5 = LUMINANCE_B;
_local6 = Math.cos(_local2);
_local7 = Math.sin(_local2);
_local8 = [((_local3 + (_local6 * (1 - _local3))) + (_local7 * -(_local3))), ((_local4 + (_local6 * -(_local4))) + (_local7 * -(_local4))), ((_local5 + (_local6 * -(_local5))) + (_local7 * (1 - _local5))), 0, 0, ((_local3 + (_local6 * -(_local3))) + (_local7 * 0.143)), ((_local4 + (_local6 * (1 - _local4))) + (_local7 * 0.14)), ((_local5 + (_local6 * -(_local5))) + (_local7 * -0.283)), 0, 0, ((_local3 + (_local6 * -(_local3))) + (_local7 * -((1 - _local3)))), ((_local4 + (_local6 * -(_local4))) + (_local7 * _local4)), ((_local5 + (_local6 * (1 - _local5))) + (_local7 * _local5)), 0, 0, 0, 0, 0, 1, 0];
return (_local8);
}
public static function _color_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
return (_arg1.transform.colorTransform[_arg2[0]]);
}
public static function init():void{
Tweener.registerSpecialProperty("_color_ra", _oldColor_property_get, _oldColor_property_set, ["redMultiplier"]);
Tweener.registerSpecialProperty("_color_rb", _color_property_get, _color_property_set, ["redOffset"]);
Tweener.registerSpecialProperty("_color_ga", _oldColor_property_get, _oldColor_property_set, ["greenMultiplier"]);
Tweener.registerSpecialProperty("_color_gb", _color_property_get, _color_property_set, ["greenOffset"]);
Tweener.registerSpecialProperty("_color_ba", _oldColor_property_get, _oldColor_property_set, ["blueMultiplier"]);
Tweener.registerSpecialProperty("_color_bb", _color_property_get, _color_property_set, ["blueOffset"]);
Tweener.registerSpecialProperty("_color_aa", _oldColor_property_get, _oldColor_property_set, ["alphaMultiplier"]);
Tweener.registerSpecialProperty("_color_ab", _color_property_get, _color_property_set, ["alphaOffset"]);
Tweener.registerSpecialProperty("_color_redMultiplier", _color_property_get, _color_property_set, ["redMultiplier"]);
Tweener.registerSpecialProperty("_color_redOffset", _color_property_get, _color_property_set, ["redOffset"]);
Tweener.registerSpecialProperty("_color_greenMultiplier", _color_property_get, _color_property_set, ["greenMultiplier"]);
Tweener.registerSpecialProperty("_color_greenOffset", _color_property_get, _color_property_set, ["greenOffset"]);
Tweener.registerSpecialProperty("_color_blueMultiplier", _color_property_get, _color_property_set, ["blueMultiplier"]);
Tweener.registerSpecialProperty("_color_blueOffset", _color_property_get, _color_property_set, ["blueOffset"]);
Tweener.registerSpecialProperty("_color_alphaMultiplier", _color_property_get, _color_property_set, ["alphaMultiplier"]);
Tweener.registerSpecialProperty("_color_alphaOffset", _color_property_get, _color_property_set, ["alphaOffset"]);
Tweener.registerSpecialPropertySplitter("_color", _color_splitter);
Tweener.registerSpecialPropertySplitter("_colorTransform", _colorTransform_splitter);
Tweener.registerSpecialProperty("_brightness", _brightness_get, _brightness_set, [false]);
Tweener.registerSpecialProperty("_tintBrightness", _brightness_get, _brightness_set, [true]);
Tweener.registerSpecialProperty("_contrast", _contrast_get, _contrast_set);
Tweener.registerSpecialProperty("_hue", _hue_get, _hue_set);
Tweener.registerSpecialProperty("_saturation", _saturation_get, _saturation_set, [false]);
Tweener.registerSpecialProperty("_dumbSaturation", _saturation_get, _saturation_set, [true]);
}
private static function setObjectMatrix(_arg1:Object, _arg2:Array):void{
var _local3:Array;
var _local4:Boolean;
var _local5:Number;
var _local6:ColorMatrixFilter;
_local3 = _arg1.filters.concat();
_local4 = false;
_local5 = 0;
while (_local5 < _local3.length) {
if ((_local3[_local5] is ColorMatrixFilter)){
_local3[_local5].matrix = _arg2.concat();
_local4 = true;
};
_local5++;
};
if (!_local4){
_local6 = new ColorMatrixFilter(_arg2);
_local3[_local3.length] = _local6;
};
_arg1.filters = _local3;
}
public static function _color_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
var _local5:ColorTransform;
_local5 = _arg1.transform.colorTransform;
_local5[_arg3[0]] = _arg2;
_arg1.transform.colorTransform = _local5;
}
public static function _oldColor_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
var _local5:ColorTransform;
_local5 = _arg1.transform.colorTransform;
_local5[_arg3[0]] = (_arg2 / 100);
_arg1.transform.colorTransform = _local5;
}
public static function _contrast_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
var _local4:ColorTransform;
var _local5:Number;
var _local6:Number;
_local4 = _arg1.transform.colorTransform;
_local5 = ((((_local4.redMultiplier + _local4.greenMultiplier) + _local4.blueMultiplier) / 3) - 1);
_local6 = ((((_local4.redOffset + _local4.greenOffset) + _local4.blueOffset) / 3) / -128);
return (((_local5 + _local6) / 2));
}
public static function _colorTransform_splitter(_arg1:Object, _arg2:Array):Array{
var _local3:Array;
_local3 = new Array();
if (_arg1 == null){
_local3.push({name:"_color_redMultiplier", value:1});
_local3.push({name:"_color_redOffset", value:0});
_local3.push({name:"_color_greenMultiplier", value:1});
_local3.push({name:"_color_greenOffset", value:0});
_local3.push({name:"_color_blueMultiplier", value:1});
_local3.push({name:"_color_blueOffset", value:0});
} else {
_local3.push({name:"_color_redMultiplier", value:_arg1.redMultiplier});
_local3.push({name:"_color_redOffset", value:_arg1.redOffset});
_local3.push({name:"_color_blueMultiplier", value:_arg1.blueMultiplier});
_local3.push({name:"_color_blueOffset", value:_arg1.blueOffset});
_local3.push({name:"_color_greenMultiplier", value:_arg1.greenMultiplier});
_local3.push({name:"_color_greenOffset", value:_arg1.greenOffset});
_local3.push({name:"_color_alphaMultiplier", value:_arg1.alphaMultiplier});
_local3.push({name:"_color_alphaOffset", value:_arg1.alphaOffset});
};
return (_local3);
}
}
}//package caurina.transitions.properties
Section 2
//DisplayShortcuts (caurina.transitions.properties.DisplayShortcuts)
package caurina.transitions.properties {
import caurina.transitions.*;
import flash.geom.*;
public class DisplayShortcuts {
public function DisplayShortcuts(){
trace("This is an static class and should not be instantiated.");
}
public static function init():void{
Tweener.registerSpecialProperty("_frame", _frame_get, _frame_set);
Tweener.registerSpecialProperty("_autoAlpha", _autoAlpha_get, _autoAlpha_set);
Tweener.registerSpecialPropertySplitter("_scale", _scale_splitter);
Tweener.registerSpecialPropertySplitter("_scrollRect", _scrollRect_splitter);
Tweener.registerSpecialProperty("_scrollRect_x", _scrollRect_property_get, _scrollRect_property_set, ["x"]);
Tweener.registerSpecialProperty("_scrollRect_y", _scrollRect_property_get, _scrollRect_property_set, ["y"]);
Tweener.registerSpecialProperty("_scrollRect_left", _scrollRect_property_get, _scrollRect_property_set, ["left"]);
Tweener.registerSpecialProperty("_scrollRect_right", _scrollRect_property_get, _scrollRect_property_set, ["right"]);
Tweener.registerSpecialProperty("_scrollRect_top", _scrollRect_property_get, _scrollRect_property_set, ["top"]);
Tweener.registerSpecialProperty("_scrollRect_bottom", _scrollRect_property_get, _scrollRect_property_set, ["bottom"]);
Tweener.registerSpecialProperty("_scrollRect_width", _scrollRect_property_get, _scrollRect_property_set, ["width"]);
Tweener.registerSpecialProperty("_scrollRect_height", _scrollRect_property_get, _scrollRect_property_set, ["height"]);
}
public static function _frame_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
_arg1.gotoAndStop(Math.round(_arg2));
}
public static function _autoAlpha_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
_arg1.alpha = _arg2;
_arg1.visible = (_arg2 > 0);
}
public static function _frame_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
return (_arg1.currentFrame);
}
public static function _scrollRect_splitter(_arg1:Rectangle, _arg2:Array, _arg3:Object=null):Array{
var _local4:Array;
_local4 = new Array();
if (_arg1 == null){
_local4.push({name:"_scrollRect_x", value:0});
_local4.push({name:"_scrollRect_y", value:0});
_local4.push({name:"_scrollRect_width", value:100});
_local4.push({name:"_scrollRect_height", value:100});
} else {
_local4.push({name:"_scrollRect_x", value:_arg1.x});
_local4.push({name:"_scrollRect_y", value:_arg1.y});
_local4.push({name:"_scrollRect_width", value:_arg1.width});
_local4.push({name:"_scrollRect_height", value:_arg1.height});
};
return (_local4);
}
public static function _autoAlpha_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
return (_arg1.alpha);
}
public static function _scrollRect_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
return (_arg1.scrollRect[_arg2[0]]);
}
public static function _scale_splitter(_arg1:Number, _arg2:Array):Array{
var _local3:Array;
_local3 = new Array();
_local3.push({name:"scaleX", value:_arg1});
_local3.push({name:"scaleY", value:_arg1});
return (_local3);
}
public static function _scrollRect_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
var _local5:Rectangle;
_local5 = _arg1.scrollRect;
_local5[_arg3[0]] = Math.round(_arg2);
_arg1.scrollRect = _local5;
}
}
}//package caurina.transitions.properties
Section 3
//FilterShortcuts (caurina.transitions.properties.FilterShortcuts)
package caurina.transitions.properties {
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import flash.display.*;
public class FilterShortcuts {
public function FilterShortcuts(){
trace("This is an static class and should not be instantiated.");
}
public static function init():void{
Tweener.registerSpecialPropertySplitter("_filter", _filter_splitter);
Tweener.registerSpecialProperty("_Bevel_angle", _filter_property_get, _filter_property_set, [BevelFilter, "angle"]);
Tweener.registerSpecialProperty("_Bevel_blurX", _filter_property_get, _filter_property_set, [BevelFilter, "blurX"]);
Tweener.registerSpecialProperty("_Bevel_blurY", _filter_property_get, _filter_property_set, [BevelFilter, "blurY"]);
Tweener.registerSpecialProperty("_Bevel_distance", _filter_property_get, _filter_property_set, [BevelFilter, "distance"]);
Tweener.registerSpecialProperty("_Bevel_highlightAlpha", _filter_property_get, _filter_property_set, [BevelFilter, "highlightAlpha"]);
Tweener.registerSpecialPropertySplitter("_Bevel_highlightColor", _generic_color_splitter, ["_Bevel_highlightColor_r", "_Bevel_highlightColor_g", "_Bevel_highlightColor_b"]);
Tweener.registerSpecialProperty("_Bevel_highlightColor_r", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "r"]);
Tweener.registerSpecialProperty("_Bevel_highlightColor_g", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "g"]);
Tweener.registerSpecialProperty("_Bevel_highlightColor_b", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "b"]);
Tweener.registerSpecialProperty("_Bevel_knockout", _filter_property_get, _filter_property_set, [BevelFilter, "knockout"]);
Tweener.registerSpecialProperty("_Bevel_quality", _filter_property_get, _filter_property_set, [BevelFilter, "quality"]);
Tweener.registerSpecialProperty("_Bevel_shadowAlpha", _filter_property_get, _filter_property_set, [BevelFilter, "shadowAlpha"]);
Tweener.registerSpecialPropertySplitter("_Bevel_shadowColor", _generic_color_splitter, ["_Bevel_shadowColor_r", "_Bevel_shadowColor_g", "_Bevel_shadowColor_b"]);
Tweener.registerSpecialProperty("_Bevel_shadowColor_r", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "r"]);
Tweener.registerSpecialProperty("_Bevel_shadowColor_g", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "g"]);
Tweener.registerSpecialProperty("_Bevel_shadowColor_b", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "b"]);
Tweener.registerSpecialProperty("_Bevel_strength", _filter_property_get, _filter_property_set, [BevelFilter, "strength"]);
Tweener.registerSpecialProperty("_Bevel_type", _filter_property_get, _filter_property_set, [BevelFilter, "type"]);
Tweener.registerSpecialProperty("_Blur_blurX", _filter_property_get, _filter_property_set, [BlurFilter, "blurX"]);
Tweener.registerSpecialProperty("_Blur_blurY", _filter_property_get, _filter_property_set, [BlurFilter, "blurY"]);
Tweener.registerSpecialProperty("_Blur_quality", _filter_property_get, _filter_property_set, [BlurFilter, "quality"]);
Tweener.registerSpecialPropertySplitter("_ColorMatrix_matrix", _generic_matrix_splitter, [[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], ["_ColorMatrix_matrix_rr", "_ColorMatrix_matrix_rg", "_ColorMatrix_matrix_rb", "_ColorMatrix_matrix_ra", "_ColorMatrix_matrix_ro", "_ColorMatrix_matrix_gr", "_ColorMatrix_matrix_gg", "_ColorMatrix_matrix_gb", "_ColorMatrix_matrix_ga", "_ColorMatrix_matrix_go", "_ColorMatrix_matrix_br", "_ColorMatrix_matrix_bg", "_ColorMatrix_matrix_bb", "_ColorMatrix_matrix_ba", "_ColorMatrix_matrix_bo", "_ColorMatrix_matrix_ar", "_ColorMatrix_matrix_ag", "_ColorMatrix_matrix_ab", "_ColorMatrix_matrix_aa", "_ColorMatrix_matrix_ao"]]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_rr", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 0]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_rg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 1]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_rb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 2]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_ra", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 3]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_ro", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 4]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_gr", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 5]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_gg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 6]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_gb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 7]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_ga", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 8]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_go", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 9]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_br", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 10]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_bg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 11]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_bb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 12]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_ba", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 13]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_bo", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 14]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_ar", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 15]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_ag", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 16]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_ab", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 17]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_aa", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 18]);
Tweener.registerSpecialProperty("_ColorMatrix_matrix_ao", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 19]);
Tweener.registerSpecialProperty("_Convolution_alpha", _filter_property_get, _filter_property_set, [ConvolutionFilter, "alpha"]);
Tweener.registerSpecialProperty("_Convolution_bias", _filter_property_get, _filter_property_set, [ConvolutionFilter, "bias"]);
Tweener.registerSpecialProperty("_Convolution_clamp", _filter_property_get, _filter_property_set, [ConvolutionFilter, "clamp"]);
Tweener.registerSpecialPropertySplitter("_Convolution_color", _generic_color_splitter, ["_Convolution_color_r", "_Convolution_color_g", "_Convolution_color_b"]);
Tweener.registerSpecialProperty("_Convolution_color_r", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "r"]);
Tweener.registerSpecialProperty("_Convolution_color_g", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "g"]);
Tweener.registerSpecialProperty("_Convolution_color_b", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "b"]);
Tweener.registerSpecialProperty("_Convolution_divisor", _filter_property_get, _filter_property_set, [ConvolutionFilter, "divisor"]);
Tweener.registerSpecialProperty("_Convolution_matrixX", _filter_property_get, _filter_property_set, [ConvolutionFilter, "matrixX"]);
Tweener.registerSpecialProperty("_Convolution_matrixY", _filter_property_get, _filter_property_set, [ConvolutionFilter, "matrixY"]);
Tweener.registerSpecialProperty("_Convolution_preserveAlpha", _filter_property_get, _filter_property_set, [ConvolutionFilter, "preserveAlpha"]);
Tweener.registerSpecialProperty("_DisplacementMap_alpha", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "alpha"]);
Tweener.registerSpecialPropertySplitter("_DisplacementMap_color", _generic_color_splitter, ["_DisplacementMap_color_r", "_DisplacementMap_color_r", "_DisplacementMap_color_r"]);
Tweener.registerSpecialProperty("_DisplacementMap_color_r", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "r"]);
Tweener.registerSpecialProperty("_DisplacementMap_color_g", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "g"]);
Tweener.registerSpecialProperty("_DisplacementMap_color_b", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "b"]);
Tweener.registerSpecialProperty("_DisplacementMap_componentX", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "componentX"]);
Tweener.registerSpecialProperty("_DisplacementMap_componentY", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "componentY"]);
Tweener.registerSpecialProperty("_DisplacementMap_mapBitmap", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapBitmap"]);
Tweener.registerSpecialPropertySplitter("_DisplacementMap_mapPoint", _generic_point_splitter, ["_DisplacementMap_mapPoint_x", "_DisplacementMap_mapPoint_y"]);
Tweener.registerSpecialProperty("_DisplacementMap_mapPoint_x", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapPoint", "point", "x"]);
Tweener.registerSpecialProperty("_DisplacementMap_mapPoint_y", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapPoint", "point", "y"]);
Tweener.registerSpecialProperty("_DisplacementMap_mode", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mode"]);
Tweener.registerSpecialProperty("_DisplacementMap_scaleX", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "scaleX"]);
Tweener.registerSpecialProperty("_DisplacementMap_scaleY", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "scaleY"]);
Tweener.registerSpecialProperty("_DropShadow_alpha", _filter_property_get, _filter_property_set, [DropShadowFilter, "alpha"]);
Tweener.registerSpecialProperty("_DropShadow_angle", _filter_property_get, _filter_property_set, [DropShadowFilter, "angle"]);
Tweener.registerSpecialProperty("_DropShadow_blurX", _filter_property_get, _filter_property_set, [DropShadowFilter, "blurX"]);
Tweener.registerSpecialProperty("_DropShadow_blurY", _filter_property_get, _filter_property_set, [DropShadowFilter, "blurY"]);
Tweener.registerSpecialPropertySplitter("_DropShadow_color", _generic_color_splitter, ["_DropShadow_color_r", "_DropShadow_color_g", "_DropShadow_color_b"]);
Tweener.registerSpecialProperty("_DropShadow_color_r", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "r"]);
Tweener.registerSpecialProperty("_DropShadow_color_g", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "g"]);
Tweener.registerSpecialProperty("_DropShadow_color_b", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "b"]);
Tweener.registerSpecialProperty("_DropShadow_distance", _filter_property_get, _filter_property_set, [DropShadowFilter, "distance"]);
Tweener.registerSpecialProperty("_DropShadow_hideObject", _filter_property_get, _filter_property_set, [DropShadowFilter, "hideObject"]);
Tweener.registerSpecialProperty("_DropShadow_inner", _filter_property_get, _filter_property_set, [DropShadowFilter, "inner"]);
Tweener.registerSpecialProperty("_DropShadow_knockout", _filter_property_get, _filter_property_set, [DropShadowFilter, "knockout"]);
Tweener.registerSpecialProperty("_DropShadow_quality", _filter_property_get, _filter_property_set, [DropShadowFilter, "quality"]);
Tweener.registerSpecialProperty("_DropShadow_strength", _filter_property_get, _filter_property_set, [DropShadowFilter, "strength"]);
Tweener.registerSpecialProperty("_Glow_alpha", _filter_property_get, _filter_property_set, [GlowFilter, "alpha"]);
Tweener.registerSpecialProperty("_Glow_blurX", _filter_property_get, _filter_property_set, [GlowFilter, "blurX"]);
Tweener.registerSpecialProperty("_Glow_blurY", _filter_property_get, _filter_property_set, [GlowFilter, "blurY"]);
Tweener.registerSpecialPropertySplitter("_Glow_color", _generic_color_splitter, ["_Glow_color_r", "_Glow_color_g", "_Glow_color_b"]);
Tweener.registerSpecialProperty("_Glow_color_r", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "r"]);
Tweener.registerSpecialProperty("_Glow_color_g", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "g"]);
Tweener.registerSpecialProperty("_Glow_color_b", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "b"]);
Tweener.registerSpecialProperty("_Glow_inner", _filter_property_get, _filter_property_set, [GlowFilter, "inner"]);
Tweener.registerSpecialProperty("_Glow_knockout", _filter_property_get, _filter_property_set, [GlowFilter, "knockout"]);
Tweener.registerSpecialProperty("_Glow_quality", _filter_property_get, _filter_property_set, [GlowFilter, "quality"]);
Tweener.registerSpecialProperty("_Glow_strength", _filter_property_get, _filter_property_set, [GlowFilter, "strength"]);
Tweener.registerSpecialProperty("_GradientBevel_angle", _filter_property_get, _filter_property_set, [GradientBevelFilter, "angle"]);
Tweener.registerSpecialProperty("_GradientBevel_blurX", _filter_property_get, _filter_property_set, [GradientBevelFilter, "blurX"]);
Tweener.registerSpecialProperty("_GradientBevel_blurY", _filter_property_get, _filter_property_set, [GradientBevelFilter, "blurY"]);
Tweener.registerSpecialProperty("_GradientBevel_distance", _filter_property_get, _filter_property_set, [GradientBevelFilter, "distance"]);
Tweener.registerSpecialProperty("_GradientBevel_quality", _filter_property_get, _filter_property_set, [GradientBevelFilter, "quality"]);
Tweener.registerSpecialProperty("_GradientBevel_strength", _filter_property_get, _filter_property_set, [GradientBevelFilter, "strength"]);
Tweener.registerSpecialProperty("_GradientBevel_type", _filter_property_get, _filter_property_set, [GradientBevelFilter, "type"]);
Tweener.registerSpecialProperty("_GradientGlow_angle", _filter_property_get, _filter_property_set, [GradientGlowFilter, "angle"]);
Tweener.registerSpecialProperty("_GradientGlow_blurX", _filter_property_get, _filter_property_set, [GradientGlowFilter, "blurX"]);
Tweener.registerSpecialProperty("_GradientGlow_blurY", _filter_property_get, _filter_property_set, [GradientGlowFilter, "blurY"]);
Tweener.registerSpecialProperty("_GradientGlow_distance", _filter_property_get, _filter_property_set, [GradientGlowFilter, "distance"]);
Tweener.registerSpecialProperty("_GradientGlow_knockout", _filter_property_get, _filter_property_set, [GradientGlowFilter, "knockout"]);
Tweener.registerSpecialProperty("_GradientGlow_quality", _filter_property_get, _filter_property_set, [GradientGlowFilter, "quality"]);
Tweener.registerSpecialProperty("_GradientGlow_strength", _filter_property_get, _filter_property_set, [GradientGlowFilter, "strength"]);
Tweener.registerSpecialProperty("_GradientGlow_type", _filter_property_get, _filter_property_set, [GradientGlowFilter, "type"]);
}
public static function _filter_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{
var _local4:Array;
var _local5:Number;
var _local6:Object;
var _local7:String;
var _local8:String;
var _local9:Object;
var _local10:String;
_local4 = _arg1.filters;
_local6 = _arg2[0];
_local7 = _arg2[1];
_local8 = _arg2[2];
_local5 = 0;
while (_local5 < _local4.length) {
if ((_local4[_local5] is Class(_local6))){
if (_local8 == "color"){
_local10 = _arg2[3];
if (_local10 == "r"){
return (AuxFunctions.numberToR(_local4[_local5][_local7]));
};
if (_local10 == "g"){
return (AuxFunctions.numberToG(_local4[_local5][_local7]));
};
if (_local10 == "b"){
return (AuxFunctions.numberToB(_local4[_local5][_local7]));
};
} else {
if (_local8 == "matrix"){
return (_local4[_local5][_local7][_arg2[3]]);
};
if (_local8 == "point"){
return (_local4[_local5][_local7][_arg2[3]]);
};
return (_local4[_local5][_local7]);
};
};
_local5++;
};
switch (_local6){
case BevelFilter:
_local9 = {angle:NaN, blurX:0, blurY:0, distance:0, highlightAlpha:1, highlightColor:NaN, knockout:null, quality:NaN, shadowAlpha:1, shadowColor:NaN, strength:2, type:null};
break;
case BlurFilter:
_local9 = {blurX:0, blurY:0, quality:NaN};
break;
case ColorMatrixFilter:
_local9 = {matrix:[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]};
break;
case ConvolutionFilter:
_local9 = {alpha:0, bias:0, clamp:null, color:NaN, divisor:1, matrix:[1], matrixX:1, matrixY:1, preserveAlpha:null};
break;
case DisplacementMapFilter:
_local9 = {alpha:0, color:NaN, componentX:null, componentY:null, mapBitmap:null, mapPoint:null, mode:null, scaleX:0, scaleY:0};
break;
case DropShadowFilter:
_local9 = {distance:0, angle:NaN, color:NaN, alpha:1, blurX:0, blurY:0, strength:1, quality:NaN, inner:null, knockout:null, hideObject:null};
break;
case GlowFilter:
_local9 = {alpha:1, blurX:0, blurY:0, color:NaN, inner:null, knockout:null, quality:NaN, strength:2};
break;
case GradientBevelFilter:
_local9 = {alphas:null, angle:NaN, blurX:0, blurY:0, colors:null, distance:0, knockout:null, quality:NaN, ratios:NaN, strength:1, type:null};
break;
case GradientGlowFilter:
_local9 = {alphas:null, angle:NaN, blurX:0, blurY:0, colors:null, distance:0, knockout:null, quality:NaN, ratios:NaN, strength:1, type:null};
break;
};
if (_local8 == "color"){
return (NaN);
};
if (_local8 == "matrix"){
return (_local9[_local7][_arg2[3]]);
};
if (_local8 == "point"){
return (_local9[_local7][_arg2[3]]);
};
return (_local9[_local7]);
}
public static function _filter_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{
var _local5:Array;
var _local6:Number;
var _local7:Object;
var _local8:String;
var _local9:String;
var _local10:BitmapFilter;
var _local11:String;
var _local12:Array;
var _local13:Point;
_local5 = _arg1.filters;
_local7 = _arg3[0];
_local8 = _arg3[1];
_local9 = _arg3[2];
_local6 = 0;
while (_local6 < _local5.length) {
if ((_local5[_local6] is Class(_local7))){
if (_local9 == "color"){
_local11 = _arg3[3];
if (_local11 == "r"){
_local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFFFF) | (_arg2 << 16));
};
if (_local11 == "g"){
_local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFF00FF) | (_arg2 << 8));
};
if (_local11 == "b"){
_local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFFFF00) | _arg2);
};
} else {
if (_local9 == "matrix"){
_local12 = _local5[_local6][_local8];
_local12[_arg3[3]] = _arg2;
_local5[_local6][_local8] = _local12;
} else {
if (_local9 == "point"){
_local13 = Point(_local5[_local6][_local8]);
_local13[_arg3[3]] = _arg2;
_local5[_local6][_local8] = _local13;
} else {
_local5[_local6][_local8] = _arg2;
};
};
};
_arg1.filters = _local5;
return;
};
_local6++;
};
if (_local5 == null){
_local5 = new Array();
};
switch (_local7){
case BevelFilter:
_local10 = new BevelFilter(0, 45, 0xFFFFFF, 1, 0, 1, 0, 0);
break;
case BlurFilter:
_local10 = new BlurFilter(0, 0);
break;
case ColorMatrixFilter:
_local10 = new ColorMatrixFilter([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]);
break;
case ConvolutionFilter:
_local10 = new ConvolutionFilter(1, 1, [1], 1, 0, true, true, 0, 0);
break;
case DisplacementMapFilter:
_local10 = new DisplacementMapFilter(new BitmapData(10, 10), new Point(0, 0), 0, 1, 0, 0);
break;
case DropShadowFilter:
_local10 = new DropShadowFilter(0, 45, 0, 1, 0, 0);
break;
case GlowFilter:
_local10 = new GlowFilter(0xFF0000, 1, 0, 0);
break;
case GradientBevelFilter:
_local10 = new GradientBevelFilter(0, 45, [0xFFFFFF, 0], [1, 1], [32, 223], 0, 0);
break;
case GradientGlowFilter:
_local10 = new GradientGlowFilter(0, 45, [0xFFFFFF, 0], [1, 1], [32, 223], 0, 0);
break;
};
_local5.push(_local10);
_arg1.filters = _local5;
_filter_property_set(_arg1, _arg2, _arg3);
}
public static function _generic_color_splitter(_arg1:Number, _arg2:Array):Array{
var _local3:Array;
_local3 = new Array();
_local3.push({name:_arg2[0], value:AuxFunctions.numberToR(_arg1)});
_local3.push({name:_arg2[1], value:AuxFunctions.numberToG(_arg1)});
_local3.push({name:_arg2[2], value:AuxFunctions.numberToB(_arg1)});
return (_local3);
}
public static function _generic_point_splitter(_arg1:Point, _arg2:Array):Array{
var _local3:Array;
_local3 = new Array();
_local3.push({name:_arg2[0], value:_arg1.x});
_local3.push({name:_arg2[1], value:_arg1.y});
return (_local3);
}
public static function _generic_matrix_splitter(_arg1:Array, _arg2:Array):Array{
var _local3:Array;
var _local4:Number;
if (_arg1 == null){
_arg1 = _arg2[0].concat();
};
_local3 = new Array();
_local4 = 0;
while (_local4 < _arg1.length) {
_local3.push({name:_arg2[1][_local4], value:_arg1[_local4]});
_local4++;
};
return (_local3);
}
public static function _filter_splitter(_arg1:BitmapFilter, _arg2:Array, _arg3:Object=null):Array{
var _local4:Array;
_local4 = new Array();
if ((_arg1 is BevelFilter)){
_local4.push({name:"_Bevel_angle", value:BevelFilter(_arg1).angle});
_local4.push({name:"_Bevel_blurX", value:BevelFilter(_arg1).blurX});
_local4.push({name:"_Bevel_blurY", value:BevelFilter(_arg1).blurY});
_local4.push({name:"_Bevel_distance", value:BevelFilter(_arg1).distance});
_local4.push({name:"_Bevel_highlightAlpha", value:BevelFilter(_arg1).highlightAlpha});
_local4.push({name:"_Bevel_highlightColor", value:BevelFilter(_arg1).highlightColor});
_local4.push({name:"_Bevel_knockout", value:BevelFilter(_arg1).knockout});
_local4.push({name:"_Bevel_quality", value:BevelFilter(_arg1).quality});
_local4.push({name:"_Bevel_shadowAlpha", value:BevelFilter(_arg1).shadowAlpha});
_local4.push({name:"_Bevel_shadowColor", value:BevelFilter(_arg1).shadowColor});
_local4.push({name:"_Bevel_strength", value:BevelFilter(_arg1).strength});
_local4.push({name:"_Bevel_type", value:BevelFilter(_arg1).type});
} else {
if ((_arg1 is BlurFilter)){
_local4.push({name:"_Blur_blurX", value:BlurFilter(_arg1).blurX});
_local4.push({name:"_Blur_blurY", value:BlurFilter(_arg1).blurY});
_local4.push({name:"_Blur_quality", value:BlurFilter(_arg1).quality});
} else {
if ((_arg1 is ColorMatrixFilter)){
_local4.push({name:"_ColorMatrix_matrix", value:ColorMatrixFilter(_arg1).matrix});
} else {
if ((_arg1 is ConvolutionFilter)){
_local4.push({name:"_Convolution_alpha", value:ConvolutionFilter(_arg1).alpha});
_local4.push({name:"_Convolution_bias", value:ConvolutionFilter(_arg1).bias});
_local4.push({name:"_Convolution_clamp", value:ConvolutionFilter(_arg1).clamp});
_local4.push({name:"_Convolution_color", value:ConvolutionFilter(_arg1).color});
_local4.push({name:"_Convolution_divisor", value:ConvolutionFilter(_arg1).divisor});
_local4.push({name:"_Convolution_matrixX", value:ConvolutionFilter(_arg1).matrixX});
_local4.push({name:"_Convolution_matrixY", value:ConvolutionFilter(_arg1).matrixY});
_local4.push({name:"_Convolution_preserveAlpha", value:ConvolutionFilter(_arg1).preserveAlpha});
} else {
if ((_arg1 is DisplacementMapFilter)){
_local4.push({name:"_DisplacementMap_alpha", value:DisplacementMapFilter(_arg1).alpha});
_local4.push({name:"_DisplacementMap_color", value:DisplacementMapFilter(_arg1).color});
_local4.push({name:"_DisplacementMap_componentX", value:DisplacementMapFilter(_arg1).componentX});
_local4.push({name:"_DisplacementMap_componentY", value:DisplacementMapFilter(_arg1).componentY});
_local4.push({name:"_DisplacementMap_mapBitmap", value:DisplacementMapFilter(_arg1).mapBitmap});
_local4.push({name:"_DisplacementMap_mapPoint", value:DisplacementMapFilter(_arg1).mapPoint});
_local4.push({name:"_DisplacementMap_mode", value:DisplacementMapFilter(_arg1).mode});
_local4.push({name:"_DisplacementMap_scaleX", value:DisplacementMapFilter(_arg1).scaleX});
_local4.push({name:"_DisplacementMap_scaleY", value:DisplacementMapFilter(_arg1).scaleY});
} else {
if ((_arg1 is DropShadowFilter)){
_local4.push({name:"_DropShadow_alpha", value:DropShadowFilter(_arg1).alpha});
_local4.push({name:"_DropShadow_angle", value:DropShadowFilter(_arg1).angle});
_local4.push({name:"_DropShadow_blurX", value:DropShadowFilter(_arg1).blurX});
_local4.push({name:"_DropShadow_blurY", value:DropShadowFilter(_arg1).blurY});
_local4.push({name:"_DropShadow_color", value:DropShadowFilter(_arg1).color});
_local4.push({name:"_DropShadow_distance", value:DropShadowFilter(_arg1).distance});
_local4.push({name:"_DropShadow_hideObject", value:DropShadowFilter(_arg1).hideObject});
_local4.push({name:"_DropShadow_inner", value:DropShadowFilter(_arg1).inner});
_local4.push({name:"_DropShadow_knockout", value:DropShadowFilter(_arg1).knockout});
_local4.push({name:"_DropShadow_quality", value:DropShadowFilter(_arg1).quality});
_local4.push({name:"_DropShadow_strength", value:DropShadowFilter(_arg1).strength});
} else {
if ((_arg1 is GlowFilter)){
_local4.push({name:"_Glow_alpha", value:GlowFilter(_arg1).alpha});
_local4.push({name:"_Glow_blurX", value:GlowFilter(_arg1).blurX});
_local4.push({name:"_Glow_blurY", value:GlowFilter(_arg1).blurY});
_local4.push({name:"_Glow_color", value:GlowFilter(_arg1).color});
_local4.push({name:"_Glow_inner", value:GlowFilter(_arg1).inner});
_local4.push({name:"_Glow_knockout", value:GlowFilter(_arg1).knockout});
_local4.push({name:"_Glow_quality", value:GlowFilter(_arg1).quality});
_local4.push({name:"_Glow_strength", value:GlowFilter(_arg1).strength});
} else {
if ((_arg1 is GradientBevelFilter)){
_local4.push({name:"_GradientBevel_angle", value:GradientBevelFilter(_arg1).strength});
_local4.push({name:"_GradientBevel_blurX", value:GradientBevelFilter(_arg1).blurX});
_local4.push({name:"_GradientBevel_blurY", value:GradientBevelFilter(_arg1).blurY});
_local4.push({name:"_GradientBevel_distance", value:GradientBevelFilter(_arg1).distance});
_local4.push({name:"_GradientBevel_quality", value:GradientBevelFilter(_arg1).quality});
_local4.push({name:"_GradientBevel_strength", value:GradientBevelFilter(_arg1).strength});
_local4.push({name:"_GradientBevel_type", value:GradientBevelFilter(_arg1).type});
} else {
if ((_arg1 is GradientGlowFilter)){
_local4.push({name:"_GradientGlow_angle", value:GradientGlowFilter(_arg1).strength});
_local4.push({name:"_GradientGlow_blurX", value:GradientGlowFilter(_arg1).blurX});
_local4.push({name:"_GradientGlow_blurY", value:GradientGlowFilter(_arg1).blurY});
_local4.push({name:"_GradientGlow_distance", value:GradientGlowFilter(_arg1).distance});
_local4.push({name:"_GradientGlow_knockout", value:GradientGlowFilter(_arg1).knockout});
_local4.push({name:"_GradientGlow_quality", value:GradientGlowFilter(_arg1).quality});
_local4.push({name:"_GradientGlow_strength", value:GradientGlowFilter(_arg1).strength});
_local4.push({name:"_GradientGlow_type", value:GradientGlowFilter(_arg1).type});
} else {
trace("Tweener FilterShortcuts Error :: Unknown filter class used");
};
};
};
};
};
};
};
};
};
return (_local4);
}
}
}//package caurina.transitions.properties
Section 4
//AuxFunctions (caurina.transitions.AuxFunctions)
package caurina.transitions {
public class AuxFunctions {
public static function getObjectLength(_arg1:Object):uint{
var _local2:uint;
var _local3:String;
_local2 = 0;
for (_local3 in _arg1) {
_local2++;
};
return (_local2);
}
public static function numberToG(_arg1:Number):Number{
return (((_arg1 & 0xFF00) >> 8));
}
public static function numberToB(_arg1:Number):Number{
return ((_arg1 & 0xFF));
}
public static function numberToR(_arg1:Number):Number{
return (((_arg1 & 0xFF0000) >> 16));
}
public static function concatObjects(... _args):Object{
var _local2:Object;
var _local3:Object;
var _local4:int;
var _local5:String;
_local2 = {};
_local4 = 0;
while (_local4 < _args.length) {
_local3 = _args[_local4];
for (_local5 in _local3) {
if (_local3[_local5] == null){
delete _local2[_local5];
} else {
_local2[_local5] = _local3[_local5];
};
};
_local4++;
};
return (_local2);
}
}
}//package caurina.transitions
Section 5
//Equations (caurina.transitions.Equations)
package caurina.transitions {
public class Equations {
public function Equations(){
trace("Equations is a static class and should not be instantiated.");
}
public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
if (_arg1 < (1 / 2.75)){
return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2));
};
if (_arg1 < (2 / 2.75)){
_arg1 = (_arg1 - (1.5 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2));
};
if (_arg1 < (2.5 / 2.75)){
_arg1 = (_arg1 - (2.25 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2));
};
_arg1 = (_arg1 - (2.625 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2));
}
public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
};
--_arg1;
return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2));
}
public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2));
};
return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2));
}
public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2));
};
_arg1 = (_arg1 - 2);
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2));
}
public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2));
}
public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2));
}
public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2));
}
public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function init():void{
Tweener.registerTransition("easenone", easeNone);
Tweener.registerTransition("linear", easeNone);
Tweener.registerTransition("easeinquad", easeInQuad);
Tweener.registerTransition("easeoutquad", easeOutQuad);
Tweener.registerTransition("easeinoutquad", easeInOutQuad);
Tweener.registerTransition("easeoutinquad", easeOutInQuad);
Tweener.registerTransition("easeincubic", easeInCubic);
Tweener.registerTransition("easeoutcubic", easeOutCubic);
Tweener.registerTransition("easeinoutcubic", easeInOutCubic);
Tweener.registerTransition("easeoutincubic", easeOutInCubic);
Tweener.registerTransition("easeinquart", easeInQuart);
Tweener.registerTransition("easeoutquart", easeOutQuart);
Tweener.registerTransition("easeinoutquart", easeInOutQuart);
Tweener.registerTransition("easeoutinquart", easeOutInQuart);
Tweener.registerTransition("easeinquint", easeInQuint);
Tweener.registerTransition("easeoutquint", easeOutQuint);
Tweener.registerTransition("easeinoutquint", easeInOutQuint);
Tweener.registerTransition("easeoutinquint", easeOutInQuint);
Tweener.registerTransition("easeinsine", easeInSine);
Tweener.registerTransition("easeoutsine", easeOutSine);
Tweener.registerTransition("easeinoutsine", easeInOutSine);
Tweener.registerTransition("easeoutinsine", easeOutInSine);
Tweener.registerTransition("easeincirc", easeInCirc);
Tweener.registerTransition("easeoutcirc", easeOutCirc);
Tweener.registerTransition("easeinoutcirc", easeInOutCirc);
Tweener.registerTransition("easeoutincirc", easeOutInCirc);
Tweener.registerTransition("easeinexpo", easeInExpo);
Tweener.registerTransition("easeoutexpo", easeOutExpo);
Tweener.registerTransition("easeinoutexpo", easeInOutExpo);
Tweener.registerTransition("easeoutinexpo", easeOutInExpo);
Tweener.registerTransition("easeinelastic", easeInElastic);
Tweener.registerTransition("easeoutelastic", easeOutElastic);
Tweener.registerTransition("easeinoutelastic", easeInOutElastic);
Tweener.registerTransition("easeoutinelastic", easeOutInElastic);
Tweener.registerTransition("easeinback", easeInBack);
Tweener.registerTransition("easeoutback", easeOutBack);
Tweener.registerTransition("easeinoutback", easeInOutBack);
Tweener.registerTransition("easeoutinback", easeOutInBack);
Tweener.registerTransition("easeinbounce", easeInBounce);
Tweener.registerTransition("easeoutbounce", easeOutBounce);
Tweener.registerTransition("easeinoutbounce", easeInOutBounce);
Tweener.registerTransition("easeoutinbounce", easeOutInBounce);
}
public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2));
}
public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001)));
}
public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2));
}
public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2));
}
public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2));
}
public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2));
}
public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2));
}
public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
--_arg1;
return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
}
public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2));
}
public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
}
public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 == 0){
return (_arg2);
};
if (_arg1 == _arg4){
return ((_arg2 + _arg3));
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005)));
};
--_arg1;
return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2));
}
public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2));
}
public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2));
}
public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
}
}//package caurina.transitions
Section 6
//PropertyInfoObj (caurina.transitions.PropertyInfoObj)
package caurina.transitions {
public class PropertyInfoObj {
public var originalValueComplete:Object;
public var modifierParameters:Array;
public var isSpecialProperty:Boolean;
public var hasModifier:Boolean;
public var valueComplete:Number;
public var extra:Object;
public var valueStart:Number;
public var modifierFunction:Function;
public var arrayIndex:Number;
public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){
valueStart = _arg1;
valueComplete = _arg2;
originalValueComplete = _arg3;
arrayIndex = _arg4;
extra = _arg5;
isSpecialProperty = _arg6;
hasModifier = Boolean(_arg7);
modifierFunction = _arg7;
modifierParameters = _arg8;
}
public function toString():String{
var _local1:String;
_local1 = "\n[PropertyInfoObj ";
_local1 = (_local1 + ("valueStart:" + String(valueStart)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("valueComplete:" + String(valueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("arrayIndex:" + String(arrayIndex)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("extra:" + String(extra)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("hasModifier:" + String(hasModifier)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierFunction:" + String(modifierFunction)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierParameters:" + String(modifierParameters)));
_local1 = (_local1 + "]\n");
return (_local1);
}
public function clone():PropertyInfoObj{
var _local1:PropertyInfoObj;
_local1 = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters);
return (_local1);
}
}
}//package caurina.transitions
Section 7
//SpecialProperty (caurina.transitions.SpecialProperty)
package caurina.transitions {
public class SpecialProperty {
public var parameters:Array;
public var preProcess:Function;
public var setValue:Function;
public var getValue:Function;
public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){
getValue = _arg1;
setValue = _arg2;
parameters = _arg3;
preProcess = _arg4;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialProperty ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("setValue:" + String(setValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("preProcess:" + String(preProcess)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 8
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier)
package caurina.transitions {
public class SpecialPropertyModifier {
public var getValue:Function;
public var modifyValues:Function;
public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){
modifyValues = _arg1;
getValue = _arg2;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialPropertyModifier ");
_local1 = (_local1 + ("modifyValues:" + String(modifyValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 9
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter)
package caurina.transitions {
public class SpecialPropertySplitter {
public var parameters:Array;
public var splitValues:Function;
public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){
splitValues = _arg1;
parameters = _arg2;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialPropertySplitter ");
_local1 = (_local1 + ("splitValues:" + String(splitValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 10
//Tweener (caurina.transitions.Tweener)
package caurina.transitions {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Tweener {
private static var _timeScale:Number = 1;
private static var _currentTimeFrame:Number;
private static var _specialPropertySplitterList:Object;
private static var _engineExists:Boolean = false;
private static var _specialPropertyModifierList:Object;
private static var _currentTime:Number;
private static var _tweenList:Array;
private static var _specialPropertyList:Object;
private static var _transitionList:Object;
private static var _inited:Boolean = false;
private static var __tweener_controller__:MovieClip;
public function Tweener(){
trace("Tweener is a static class and should not be instantiated.");
}
public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{
var _local4:SpecialPropertyModifier;
if (!_inited){
init();
};
_local4 = new SpecialPropertyModifier(_arg2, _arg3);
_specialPropertyModifierList[_arg1] = _local4;
}
public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{
var _local6:SpecialProperty;
if (!_inited){
init();
};
_local6 = new SpecialProperty(_arg2, _arg3, _arg4, _arg5);
_specialPropertyList[_arg1] = _local6;
}
public static function init(... _args):void{
_inited = true;
_transitionList = new Object();
Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
}
private static function updateTweens():Boolean{
var _local1:int;
if (_tweenList.length == 0){
return (false);
};
_local1 = 0;
while (_local1 < _tweenList.length) {
if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){
if (!updateTweenByIndex(_local1)){
removeTweenByIndex(_local1);
};
if (_tweenList[_local1] == null){
removeTweenByIndex(_local1, true);
_local1--;
};
};
_local1++;
};
return (true);
}
public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Array;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Function;
var _local9:TweenListObj;
var _local10:Number;
var _local11:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local4 = _arg1.concat();
} else {
_local4 = [_arg1];
};
_local5 = _arg2;
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
_local6 = (isNaN(_local5.time)) ? 0 : _local5.time;
_local7 = (isNaN(_local5.delay)) ? 0 : _local5.delay;
if (typeof(_local5.transition) == "string"){
_local11 = _local5.transition.toLowerCase();
_local8 = _transitionList[_local11];
} else {
_local8 = _local5.transition;
};
if (!Boolean(_local8)){
_local8 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local4.length) {
if (_local5.useFrames == true){
_local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams);
} else {
_local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams);
};
_local9.properties = null;
_local9.onStart = _local5.onStart;
_local9.onUpdate = _local5.onUpdate;
_local9.onComplete = _local5.onComplete;
_local9.onOverwrite = _local5.onOverwrite;
_local9.onStartParams = _local5.onStartParams;
_local9.onUpdateParams = _local5.onUpdateParams;
_local9.onCompleteParams = _local5.onCompleteParams;
_local9.onOverwriteParams = _local5.onOverwriteParams;
_local9.onStartScope = _local5.onStartScope;
_local9.onUpdateScope = _local5.onUpdateScope;
_local9.onCompleteScope = _local5.onCompleteScope;
_local9.onOverwriteScope = _local5.onOverwriteScope;
_local9.onErrorScope = _local5.onErrorScope;
_local9.isCaller = true;
_local9.count = _local5.count;
_local9.waitFrames = _local5.waitFrames;
_tweenList.push(_local9);
if ((((_local6 == 0)) && ((_local7 == 0)))){
_local10 = (_tweenList.length - 1);
updateTweenByIndex(_local10);
removeTweenByIndex(_local10);
};
_local3++;
};
return (true);
}
public static function pauseAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
pauseTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function removeTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
var _local5:SpecialPropertySplitter;
var _local6:Array;
var _local7:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
if (_specialPropertySplitterList[_args[_local4]]){
_local5 = _specialPropertySplitterList[_args[_local4]];
_local6 = _local5.splitValues(_arg1, null);
_local7 = 0;
while (_local7 < _local6.length) {
_local3.push(_local6[_local7].name);
_local7++;
};
} else {
_local3.push(_args[_local4]);
};
};
_local4++;
};
return (affectTweens(removeTweenByIndex, _arg1, _local3));
}
public static function splitTweens(_arg1:Number, _arg2:Array):uint{
var _local3:TweenListObj;
var _local4:TweenListObj;
var _local5:uint;
var _local6:String;
var _local7:Boolean;
_local3 = _tweenList[_arg1];
_local4 = _local3.clone(false);
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2[_local5];
if (Boolean(_local3.properties[_local6])){
_local3.properties[_local6] = undefined;
delete _local3.properties[_local6];
};
_local5++;
};
for (_local6 in _local4.properties) {
_local7 = false;
_local5 = 0;
while (_local5 < _arg2.length) {
if (_arg2[_local5] == _local6){
_local7 = true;
break;
};
_local5++;
};
if (!_local7){
_local4.properties[_local6] = undefined;
delete _local4.properties[_local6];
};
};
_tweenList.push(_local4);
return ((_tweenList.length - 1));
}
public static function updateFrame():void{
_currentTimeFrame++;
}
public static function resumeTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj;
var _local3:Number;
_local2 = _tweenList[_arg1];
if ((((_local2 == null)) || (!(_local2.isPaused)))){
return (false);
};
_local3 = getCurrentTweeningTime(_local2);
_local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused));
_local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused));
_local2.timePaused = undefined;
_local2.isPaused = false;
return (true);
}
public static function getVersion():String{
return ("AS3 1.31.74");
}
public static function onEnterFrame(_arg1:Event):void{
var _local2:Boolean;
updateTime();
updateFrame();
_local2 = false;
_local2 = updateTweens();
if (!_local2){
stopEngine();
};
}
public static function updateTime():void{
_currentTime = getTimer();
}
private static function updateTweenByIndex(_arg1:Number):Boolean{
var tTweening:TweenListObj;
var isOver:Boolean;
var mustUpdate:Boolean;
var nv:Number;
var t:Number;
var b:Number;
var c:Number;
var d:Number;
var pName:String;
var eventScope:Object;
var tScope:Object;
var cTime:Number;
var tProperty:Object;
var pv:Number;
var i = _arg1;
tTweening = _tweenList[i];
if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){
return (false);
};
isOver = false;
cTime = getCurrentTweeningTime(tTweening);
if (cTime >= tTweening.timeStart){
tScope = tTweening.scope;
if (tTweening.isCaller){
do {
t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1));
b = tTweening.timeStart;
c = (tTweening.timeComplete - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d);
} while (!(cTime >= nv));
} else {
mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates)));
if (cTime >= tTweening.timeComplete){
isOver = true;
mustUpdate = true;
};
if (!tTweening.hasStarted){
if (Boolean(tTweening.onStart)){
eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope;
try {
tTweening.onStart.apply(eventScope, tTweening.onStartParams);
} catch(e2:Error) {
handleError(tTweening, e2, "onStart");
};
};
for (pName in tTweening.properties) {
if (tTweening.properties[pName].isSpecialProperty){
if (Boolean(_specialPropertyList[pName].preProcess)){
tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra);
};
pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
pv = tScope[pName];
};
tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv;
};
mustUpdate = true;
tTweening.hasStarted = true;
};
if (mustUpdate){
for (pName in tTweening.properties) {
tProperty = tTweening.properties[pName];
if (isOver){
nv = tProperty.valueComplete;
} else {
if (tProperty.hasModifier){
t = (cTime - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams);
nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters);
} else {
t = (cTime - tTweening.timeStart);
b = tProperty.valueStart;
c = (tProperty.valueComplete - tProperty.valueStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d, tTweening.transitionParams);
};
};
if (tTweening.rounded){
nv = Math.round(nv);
};
if (tProperty.isSpecialProperty){
_specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
tScope[pName] = nv;
};
};
tTweening.updatesSkipped = 0;
if (Boolean(tTweening.onUpdate)){
eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope;
try {
tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams);
} catch(e3:Error) {
handleError(tTweening, e3, "onUpdate");
};
};
} else {
tTweening.updatesSkipped++;
};
};
if (((isOver) && (Boolean(tTweening.onComplete)))){
eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope;
try {
tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams);
} catch(e4:Error) {
handleError(tTweening, e4, "onComplete");
};
};
return (!(isOver));
};
return (true);
}
public static function setTimeScale(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
if (isNaN(_arg1)){
_arg1 = 1;
};
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
if (_arg1 != _timeScale){
if (_tweenList != null){
_local2 = 0;
while (_local2 < _tweenList.length) {
_local3 = getCurrentTweeningTime(_tweenList[_local2]);
_tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1));
_tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1));
if (_tweenList[_local2].timePaused != undefined){
_tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1));
};
_local2++;
};
};
_timeScale = _arg1;
};
}
public static function resumeAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
resumeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{
var eventScope:Object;
var pTweening = _arg1;
var pError = _arg2;
var pCallBackName = _arg3;
if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){
eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope;
try {
pTweening.onError.apply(eventScope, [pTweening.scope, pError]);
} catch(metaError:Error) {
printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace()));
};
} else {
if (!Boolean(pTweening.onError)){
printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace()));
};
};
}
private static function startEngine():void{
_engineExists = true;
_tweenList = new Array();
__tweener_controller__ = new MovieClip();
__tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
_currentTimeFrame = 0;
updateTime();
}
public static function removeAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
removeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Number;
var _local5:String;
var _local6:Array;
var _local7:Object;
var _local8:Number;
var _local9:Number;
var _local10:Array;
var _local11:Object;
var _local12:Object;
var _local13:Function;
var _local14:Object;
var _local15:TweenListObj;
var _local16:Number;
var _local17:Array;
var _local18:Array;
var _local19:Array;
var _local20:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local6 = _arg1.concat();
} else {
_local6 = [_arg1];
};
_local7 = TweenListObj.makePropertiesChain(_arg2);
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
_local8 = (isNaN(_local7.time)) ? 0 : _local7.time;
_local9 = (isNaN(_local7.delay)) ? 0 : _local7.delay;
_local10 = new Array();
_local11 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true};
_local12 = new Object();
for (_local5 in _local7) {
if (!_local11[_local5]){
if (_specialPropertySplitterList[_local5]){
_local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters);
_local3 = 0;
while (_local3 < _local17.length) {
if (_specialPropertySplitterList[_local17[_local3].name]){
_local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters);
_local4 = 0;
while (_local4 < _local18.length) {
_local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false};
_local4++;
};
} else {
_local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false};
};
_local3++;
};
} else {
if (_specialPropertyModifierList[_local5] != undefined){
_local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]);
_local3 = 0;
while (_local3 < _local19.length) {
_local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue};
_local3++;
};
} else {
_local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]};
};
};
};
};
for (_local5 in _local10) {
if (_specialPropertyList[_local5] != undefined){
_local10[_local5].isSpecialProperty = true;
} else {
if (_local6[0][_local5] == undefined){
printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property."));
};
};
};
for (_local5 in _local12) {
if (_local10[_local5] != undefined){
_local10[_local5].modifierParameters = _local12[_local5].modifierParameters;
_local10[_local5].modifierFunction = _local12[_local5].modifierFunction;
};
};
if (typeof(_local7.transition) == "string"){
_local20 = _local7.transition.toLowerCase();
_local13 = _transitionList[_local20];
} else {
_local13 = _local7.transition;
};
if (!Boolean(_local13)){
_local13 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local6.length) {
_local14 = new Object();
for (_local5 in _local10) {
_local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters);
};
if (_local7.useFrames == true){
_local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams);
} else {
_local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams);
};
_local15.properties = _local14;
_local15.onStart = _local7.onStart;
_local15.onUpdate = _local7.onUpdate;
_local15.onComplete = _local7.onComplete;
_local15.onOverwrite = _local7.onOverwrite;
_local15.onError = _local7.onError;
_local15.onStartParams = _local7.onStartParams;
_local15.onUpdateParams = _local7.onUpdateParams;
_local15.onCompleteParams = _local7.onCompleteParams;
_local15.onOverwriteParams = _local7.onOverwriteParams;
_local15.onStartScope = _local7.onStartScope;
_local15.onUpdateScope = _local7.onUpdateScope;
_local15.onCompleteScope = _local7.onCompleteScope;
_local15.onOverwriteScope = _local7.onOverwriteScope;
_local15.onErrorScope = _local7.onErrorScope;
_local15.rounded = _local7.rounded;
_local15.skipUpdates = _local7.skipUpdates;
removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete);
_tweenList.push(_local15);
if ((((_local8 == 0)) && ((_local9 == 0)))){
_local16 = (_tweenList.length - 1);
updateTweenByIndex(_local16);
removeTweenByIndex(_local16);
};
_local3++;
};
return (true);
}
public static function registerTransition(_arg1:String, _arg2:Function):void{
if (!_inited){
init();
};
_transitionList[_arg1] = _arg2;
}
public static function printError(_arg1:String):void{
trace(("## [Tweener] Error: " + _arg1));
}
private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{
var _local4:Boolean;
var _local5:uint;
var _local6:Array;
var _local7:uint;
var _local8:uint;
var _local9:uint;
_local4 = false;
if (!Boolean(_tweenList)){
return (false);
};
_local5 = 0;
while (_local5 < _tweenList.length) {
if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){
if (_arg3.length == 0){
_arg1(_local5);
_local4 = true;
} else {
_local6 = new Array();
_local7 = 0;
while (_local7 < _arg3.length) {
if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){
_local6.push(_arg3[_local7]);
};
_local7++;
};
if (_local6.length > 0){
_local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties);
if (_local8 == _local6.length){
_arg1(_local5);
_local4 = true;
} else {
_local9 = splitTweens(_local5, _local6);
_arg1(_local9);
_local4 = true;
};
};
};
};
_local5++;
};
return (_local4);
}
public static function getTweens(_arg1:Object):Array{
var _local2:uint;
var _local3:String;
var _local4:Array;
if (!Boolean(_tweenList)){
return ([]);
};
_local4 = new Array();
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
for (_local3 in _tweenList[_local2].properties) {
_local4.push(_local3);
};
};
_local2++;
};
return (_local4);
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
return (true);
};
_local2++;
};
return (false);
}
public static function pauseTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj;
_local2 = _tweenList[_arg1];
if ((((_local2 == null)) || (_local2.isPaused))){
return (false);
};
_local2.timePaused = getCurrentTweeningTime(_local2);
_local2.isPaused = true;
return (true);
}
public static function getCurrentTweeningTime(_arg1:Object):Number{
return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime);
}
public static function getTweenCount(_arg1:Object):Number{
var _local2:uint;
var _local3:Number;
if (!Boolean(_tweenList)){
return (0);
};
_local3 = 0;
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
_local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties));
};
_local2++;
};
return (_local3);
}
private static function stopEngine():void{
_engineExists = false;
_tweenList = null;
_currentTime = 0;
_currentTimeFrame = 0;
__tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
__tweener_controller__ = null;
}
public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{
var removed:Boolean;
var removedLocally:Boolean;
var i:uint;
var tl:uint;
var pName:String;
var eventScope:Object;
var p_scope = _arg1;
var p_properties = _arg2;
var p_timeStart = _arg3;
var p_timeComplete = _arg4;
removed = false;
tl = _tweenList.length;
i = 0;
while (i < tl) {
if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){
if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){
removedLocally = false;
for (pName in _tweenList[i].properties) {
if (Boolean(p_properties[pName])){
if (Boolean(_tweenList[i].onOverwrite)){
eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope;
try {
_tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[i], e, "onOverwrite");
};
};
_tweenList[i].properties[pName] = undefined;
delete _tweenList[i].properties[pName];
removedLocally = true;
removed = true;
};
};
if (removedLocally){
if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){
removeTweenByIndex(i);
};
};
};
};
i = (i + 1);
};
return (removed);
}
public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{
var _local4:SpecialPropertySplitter;
if (!_inited){
init();
};
_local4 = new SpecialPropertySplitter(_arg2, _arg3);
_specialPropertySplitterList[_arg1] = _local4;
}
public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{
_tweenList[_arg1] = null;
if (_arg2){
_tweenList.splice(_arg1, 1);
};
return (true);
}
public static function resumeTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(resumeTweenByIndex, _arg1, _local3));
}
public static function pauseTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(pauseTweenByIndex, _arg1, _local3));
}
}
}//package caurina.transitions
Section 11
//TweenListObj (caurina.transitions.TweenListObj)
package caurina.transitions {
public class TweenListObj {
public var onUpdate:Function;
public var useFrames:Boolean;
public var hasStarted:Boolean;
public var onOverwriteParams:Array;
public var timeStart:Number;
public var count:Number;
public var timeComplete:Number;
public var onStartParams:Array;
public var onUpdateScope:Object;
public var rounded:Boolean;
public var onUpdateParams:Array;
public var properties:Object;
public var onComplete:Function;
public var transitionParams:Object;
public var updatesSkipped:Number;
public var onStart:Function;
public var onOverwriteScope:Object;
public var skipUpdates:Number;
public var onStartScope:Object;
public var scope:Object;
public var transition:Function;
public var timePaused:Number;
public var onCompleteParams:Array;
public var timesCalled:Number;
public var isCaller:Boolean;
public var onError:Function;
public var onErrorScope:Object;
public var onOverwrite:Function;
public var isPaused:Boolean;
public var waitFrames:Boolean;
public var onCompleteScope:Object;
public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){
scope = _arg1;
timeStart = _arg2;
timeComplete = _arg3;
useFrames = _arg4;
transition = _arg5;
transitionParams = _arg6;
properties = new Object();
isPaused = false;
timePaused = undefined;
isCaller = false;
updatesSkipped = 0;
timesCalled = 0;
skipUpdates = 0;
hasStarted = false;
}
public function clone(_arg1:Boolean):TweenListObj{
var _local2:TweenListObj;
var _local3:String;
_local2 = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams);
_local2.properties = new Array();
for (_local3 in properties) {
_local2.properties[_local3] = properties[_local3].clone();
};
_local2.skipUpdates = skipUpdates;
_local2.updatesSkipped = updatesSkipped;
if (!_arg1){
_local2.onStart = onStart;
_local2.onUpdate = onUpdate;
_local2.onComplete = onComplete;
_local2.onOverwrite = onOverwrite;
_local2.onError = onError;
_local2.onStartParams = onStartParams;
_local2.onUpdateParams = onUpdateParams;
_local2.onCompleteParams = onCompleteParams;
_local2.onOverwriteParams = onOverwriteParams;
_local2.onStartScope = onStartScope;
_local2.onUpdateScope = onUpdateScope;
_local2.onCompleteScope = onCompleteScope;
_local2.onOverwriteScope = onOverwriteScope;
_local2.onErrorScope = onErrorScope;
};
_local2.rounded = rounded;
_local2.isPaused = isPaused;
_local2.timePaused = timePaused;
_local2.isCaller = isCaller;
_local2.count = count;
_local2.timesCalled = timesCalled;
_local2.waitFrames = waitFrames;
_local2.hasStarted = hasStarted;
return (_local2);
}
public function toString():String{
var _local1:String;
var _local2:Boolean;
var _local3:String;
_local1 = "\n[TweenListObj ";
_local1 = (_local1 + ("scope:" + String(scope)));
_local1 = (_local1 + ", properties:");
_local2 = true;
for (_local3 in properties) {
if (!_local2){
_local1 = (_local1 + ",");
};
_local1 = (_local1 + ("[name:" + properties[_local3].name));
_local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart));
_local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete));
_local1 = (_local1 + "]");
_local2 = false;
};
_local1 = (_local1 + (", timeStart:" + String(timeStart)));
_local1 = (_local1 + (", timeComplete:" + String(timeComplete)));
_local1 = (_local1 + (", useFrames:" + String(useFrames)));
_local1 = (_local1 + (", transition:" + String(transition)));
_local1 = (_local1 + (", transitionParams:" + String(transitionParams)));
if (skipUpdates){
_local1 = (_local1 + (", skipUpdates:" + String(skipUpdates)));
};
if (updatesSkipped){
_local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped)));
};
if (Boolean(onStart)){
_local1 = (_local1 + (", onStart:" + String(onStart)));
};
if (Boolean(onUpdate)){
_local1 = (_local1 + (", onUpdate:" + String(onUpdate)));
};
if (Boolean(onComplete)){
_local1 = (_local1 + (", onComplete:" + String(onComplete)));
};
if (Boolean(onOverwrite)){
_local1 = (_local1 + (", onOverwrite:" + String(onOverwrite)));
};
if (Boolean(onError)){
_local1 = (_local1 + (", onError:" + String(onError)));
};
if (onStartParams){
_local1 = (_local1 + (", onStartParams:" + String(onStartParams)));
};
if (onUpdateParams){
_local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams)));
};
if (onCompleteParams){
_local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams)));
};
if (onOverwriteParams){
_local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams)));
};
if (onStartScope){
_local1 = (_local1 + (", onStartScope:" + String(onStartScope)));
};
if (onUpdateScope){
_local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope)));
};
if (onCompleteScope){
_local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope)));
};
if (onOverwriteScope){
_local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope)));
};
if (onErrorScope){
_local1 = (_local1 + (", onErrorScope:" + String(onErrorScope)));
};
if (rounded){
_local1 = (_local1 + (", rounded:" + String(rounded)));
};
if (isPaused){
_local1 = (_local1 + (", isPaused:" + String(isPaused)));
};
if (timePaused){
_local1 = (_local1 + (", timePaused:" + String(timePaused)));
};
if (isCaller){
_local1 = (_local1 + (", isCaller:" + String(isCaller)));
};
if (count){
_local1 = (_local1 + (", count:" + String(count)));
};
if (timesCalled){
_local1 = (_local1 + (", timesCalled:" + String(timesCalled)));
};
if (waitFrames){
_local1 = (_local1 + (", waitFrames:" + String(waitFrames)));
};
if (hasStarted){
_local1 = (_local1 + (", hasStarted:" + String(hasStarted)));
};
_local1 = (_local1 + "]\n");
return (_local1);
}
public static function makePropertiesChain(_arg1:Object):Object{
var _local2:Object;
var _local3:Object;
var _local4:Object;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local2 = _arg1.base;
if (_local2){
_local3 = {};
if ((_local2 is Array)){
_local4 = [];
_local8 = 0;
while (_local8 < _local2.length) {
_local4.push(_local2[_local8]);
_local8++;
};
} else {
_local4 = [_local2];
};
_local4.push(_arg1);
_local6 = _local4.length;
_local7 = 0;
while (_local7 < _local6) {
if (_local4[_local7]["base"]){
_local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]);
} else {
_local5 = _local4[_local7];
};
_local3 = AuxFunctions.concatObjects(_local3, _local5);
_local7++;
};
if (_local3["base"]){
delete _local3["base"];
};
return (_local3);
//unresolved jump
};
return (_arg1);
}
}
}//package caurina.transitions
Section 12
//Header (src.Header)
package src {
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import caurina.transitions.properties.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class Header extends MovieClip {
public var position2:MovieClip;
public var addedHed2:MovieClip;
public var pairFlg:Boolean;
public var rootMc:MovieClip;
public var addedHed1:MovieClip;
public var position1:MovieClip;
public var header_str:String;
public var posHash:Object;
private var header:Object;
public var headerBg:MovieClip;
public var addedHedType:Object;
public var inUseFlg:Boolean;
public function Header(){
posHash = new Object();
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
super();
header = this;
header_str = header.name;
inUseFlg = false;
init();
rootMc = MovieClip(root);
header.addEventListener(MouseEvent.CLICK, onClick);
header.addEventListener(MouseEvent.MOUSE_OVER, onOver);
header.addEventListener(MouseEvent.MOUSE_OUT, onOut);
header.buttonMode = true;
header.headerBg.mouseEnabled = false;
link();
}
public function link():void{
posHash.pos1 = "wingtop";
posHash.pos2 = "center";
posHash.pos3 = "wingtop";
posHash.pos4 = "wingtop";
posHash.pos5 = "wingtop";
posHash.pos6 = "wingtop";
posHash.pos7 = "shoulderR";
posHash.pos8 = "shoulderL";
posHash.pos9 = "handR";
posHash.pos10 = "handL";
posHash.pos11 = "footR";
posHash.pos12 = "footR";
posHash.pos13 = "footL";
posHash.pos14 = "footL";
posHash.pos15 = "front";
posHash.pos16 = "front";
posHash.pos17 = "front";
posHash.pos18 = "front";
posHash.posSword = "sword";
}
public function init(){
header.headerBg.alpha = 0;
Tweener.addTween(header, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
addedHedType = null;
inUseFlg = false;
pairFlg = false;
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
}
public function typeSelecter(_arg1){
var _local2:String;
_local2 = posHash[_arg1.name];
switch (_local2){
case "wingtop":
if (_arg1.name == "pos1"){
rootMc.addheader(_arg1, "wingtop", rootMc.img.faceDown);
} else {
rootMc.addheader(_arg1, "wingtop", rootMc.img.wingTop.wingTopIn);
rootMc.addheaderSub(_arg1, "front", rootMc.img.wingFront, 12);
};
rootMc.headerAnimeSlide(_arg1, _arg1.x, (_arg1.y - 100), 1);
break;
case "center":
rootMc.addheader(_arg1, "center", rootMc.img);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "shoulderR":
rootMc.addheader(_arg1, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 100), _arg1.y, 1);
break;
case "shoulderL":
rootMc.addheader(_arg1, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x + 100), _arg1.y, -1);
break;
case "handR":
rootMc.addheader(_arg1, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 30), (_arg1.y + 100), 1);
break;
case "handL":
rootMc.addheader(_arg1, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x + 30), (_arg1.y + 100), -1);
break;
case "footR":
rootMc.addheader(_arg1, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "footL":
rootMc.addheader(_arg1, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(_arg1, -1);
break;
case "front":
rootMc.addheader(_arg1, "front", rootMc.img.wingFront);
rootMc.addheaderSub(_arg1, "wingtop", rootMc.img.wingTop, -12);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "sword":
rootMc.addheader(_arg1, "sword", rootMc.img.sword);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 75), (_arg1.y - 100), 1);
break;
};
}
public function inUse():void{
header.headerBg.alpha = 0.6;
Tweener.addTween(header, {time:0.5, _tintBrightness:-0.7, transition:"easeOutQuad"});
inUseFlg = true;
rootMc.enabledAddFlg = false;
}
public function onOver(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if (inUseFlg){
_local2 = (header.x + (header.width / 2));
_local3 = (header.y + (header.height / 2));
rootMc.txtTake.alpha = 0;
Tweener.addTween(rootMc.txtTake, {time:0.4, alpha:1, x:_local2, y:_local3, transition:"easeOutBack"});
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:1, transition:"easeOutQuad"});
} else {
Tweener.addTween(_arg1.target.headerBg, {alpha:0.6, time:0.3, transition:"easeOutQuad"});
};
}
public function checker(){
}
public function onClick(_arg1:Event):void{
onClickFnc();
rootMc.seHeaderClick.play();
}
public function onOut(_arg1:Event):void{
if (inUseFlg){
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.nowSelect == header){
return;
};
Tweener.addTween(_arg1.target.headerBg, {alpha:0, time:0.5, transition:"easeOutQuad"});
};
}
public function onClickFnc():void{
if (inUseFlg){
rootMc.takeHeader(addedHed1);
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.enabledAddFlg){
rootMc.nowSelect.init();
};
if (((!((rootMc.selectHeader == null))) && (!(rootMc.selectHeader.inUseFlg)))){
rootMc.selectHeader.init();
};
rootMc.nowSelect = header;
rootMc.selectHeader = header;
header.headerBg.alpha = 0.6;
rootMc.allPosArray.forEach(rootMc.showPos);
rootMc.enabledAddFlg = true;
rootMc.txtAnime(rootMc.txt2);
};
}
}
ColorShortcuts.init();
FilterShortcuts.init();
var _local1:* = DisplayShortcuts.init();
return (_local1);
}//package src
Section 13
//HeaderCrow (src.HeaderCrow)
package src {
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import caurina.transitions.properties.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class HeaderCrow extends MovieClip {
public var position2:MovieClip;
public var addedHed2:MovieClip;
public var pairFlg:Boolean;
public var rootMc:MovieClip;
public var addedHed1:MovieClip;
public var position1:MovieClip;
public var header_str:String;
public var posHash:Object;
private var header:Object;
public var headerBg:MovieClip;
public var addedHedType:Object;
public var inUseFlg:Boolean;
private var messageMc:Message1;
public function HeaderCrow(){
posHash = new Object();
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
super();
header = this;
header_str = header.name;
inUseFlg = false;
init();
rootMc = MovieClip(root);
header.addEventListener(MouseEvent.CLICK, onClick);
header.addEventListener(MouseEvent.MOUSE_OVER, onOver);
header.addEventListener(MouseEvent.MOUSE_OUT, onOut);
header.buttonMode = true;
header.headerBg.mouseEnabled = false;
link();
}
public function link():void{
posHash.pos1 = "face";
posHash.pos2 = "center";
posHash.pos3 = "wingtop";
posHash.pos4 = "wingtop";
posHash.pos5 = "wingtop";
posHash.pos6 = "wingtop";
posHash.pos7 = "shoulderR";
posHash.pos8 = "shoulderL";
posHash.pos9 = "handR";
posHash.pos10 = "handL";
posHash.pos11 = "footR";
posHash.pos12 = "footR";
posHash.pos13 = "footL";
posHash.pos14 = "footL";
posHash.pos15 = "front";
posHash.pos16 = "front";
posHash.pos17 = "front";
posHash.pos18 = "front";
posHash.posSword = "sword";
}
public function init(){
header.headerBg.alpha = 0;
Tweener.addTween(header, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
addedHedType = null;
inUseFlg = false;
pairFlg = false;
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
}
public function typeSelecter(_arg1){
var addHeaderType:String;
var targetPos = _arg1;
addHeaderType = posHash[targetPos.name];
switch (addHeaderType){
case "face":
rootMc.addheader(targetPos, "wingtop", rootMc.img.faceDown);
rootMc.headerAnimeSlide(targetPos, targetPos.x, (targetPos.y - 100), 1);
break;
case "wingtop":
rootMc.addheader(targetPos, "wingtop", rootMc.img.wingTop.wingTopIn);
rootMc.addheaderSub(targetPos, "front", rootMc.img.wingFront, 12);
rootMc.headerAnimeSlide(targetPos, targetPos.x, (targetPos.y - 100), 1);
break;
case "center":
rootMc.addheader(targetPos, "center", rootMc.img);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "shoulderR":
if (rootMc.nowWing.name == "wingTop"){
messageMc = new Message1();
messageMc.x = (stage.mouseX - 190);
messageMc.y = stage.mouseY;
messageMc.bg.scaleX = (messageMc.bg.scaleX * -1);
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:0, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(messageMc);
stage.mouseChildren = true;
}});
} else {
rootMc.addheader(targetPos, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 100), targetPos.y, 1);
};
break;
case "shoulderL":
if (rootMc.nowWing.name == "wingTop"){
messageMc = new Message1();
messageMc.x = stage.mouseX;
messageMc.y = stage.mouseY;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:0, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(messageMc);
stage.mouseChildren = true;
}});
} else {
rootMc.addheader(targetPos, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x + 100), targetPos.y, -1);
};
break;
case "handR":
rootMc.addheader(targetPos, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 30), (targetPos.y + 100), 1);
break;
case "handL":
rootMc.addheader(targetPos, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x + 30), (targetPos.y + 100), -1);
break;
case "footR":
rootMc.addheader(targetPos, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "footL":
rootMc.addheader(targetPos, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(targetPos, -1);
break;
case "front":
rootMc.addheader(targetPos, "front", rootMc.img.wingFront);
rootMc.addheaderSub(targetPos, "wingtop", rootMc.img.wingTop, -12);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "sword":
rootMc.addheader(targetPos, "sword", rootMc.img.sword);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 75), (targetPos.y - 100), 1);
break;
};
}
public function inUse():void{
header.headerBg.alpha = 0.6;
Tweener.addTween(header, {time:0.5, _tintBrightness:-0.7, transition:"easeOutQuad"});
inUseFlg = true;
rootMc.enabledAddFlg = false;
}
public function onOver(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if (inUseFlg){
_local2 = (header.x + (header.width / 2));
_local3 = (header.y + (header.height / 2));
rootMc.txtTake.alpha = 0;
Tweener.addTween(rootMc.txtTake, {time:0.4, alpha:1, x:_local2, y:_local3, transition:"easeOutBack"});
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:1, transition:"easeOutQuad"});
} else {
Tweener.addTween(_arg1.target.headerBg, {alpha:0.6, time:0.3, transition:"easeOutQuad"});
};
}
public function checker(){
var index:*;
var index2:*;
var removeAnimeSlide:Function;
removeAnimeSlide = function (_arg1, _arg2):void{
var toX = _arg1;
var toY = _arg2;
Tweener.addTween(addedHed1, {time:0, onComplete:function ():void{
var _local1:*;
rootMc.seOff.play();
}});
Tweener.addTween(addedHed1, {time:0.4, x:(position1.x + toX), y:(position1.y + toY), alpha:0, transition:"easeInExpo", onComplete:function ():void{
rootMc.img.body.removeChild(addedHed1);
init();
if (rootMc.enabledAddFlg){
rootMc.allPosArray.forEach(rootMc.showPos);
};
}});
};
if ((((position1.name == "pos7")) && ((rootMc.nowWing.name == "wingTop")))){
index = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(index, 1);
position1.inUse = false;
messageMc = new Message1();
messageMc.x = (position1.x - 190);
messageMc.y = position1.y;
messageMc.bg.scaleX = (messageMc.bg.scaleX * -1);
messageMc.mouseEnabled = false;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:1, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(this);
removeAnimeSlide(-200, 0);
}});
};
if ((((position1.name == "pos8")) && ((rootMc.nowWing.name == "wingTop")))){
index = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(index, 1);
position1.inUse = false;
messageMc = new Message1();
messageMc.x = position1.x;
messageMc.y = position1.y;
messageMc.mouseEnabled = false;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:1, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(this);
removeAnimeSlide(200, 0);
}});
};
}
public function onClick(_arg1:Event):void{
onClickFnc();
rootMc.seHeaderClick.play();
}
public function onOut(_arg1:Event):void{
if (inUseFlg){
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.nowSelect == header){
return;
};
Tweener.addTween(_arg1.target.headerBg, {alpha:0, time:0.5, transition:"easeOutQuad"});
};
}
public function onClickFnc():void{
if (inUseFlg){
rootMc.takeHeader(addedHed1);
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.enabledAddFlg){
rootMc.nowSelect.init();
};
if (((!((rootMc.selectHeader == null))) && (!(rootMc.selectHeader.inUseFlg)))){
rootMc.selectHeader.init();
};
rootMc.nowSelect = header;
rootMc.selectHeader = header;
header.headerBg.alpha = 0.6;
rootMc.allPosArray.forEach(rootMc.showPos);
rootMc.enabledAddFlg = true;
rootMc.txtAnime(rootMc.txt2);
};
}
}
ColorShortcuts.init();
FilterShortcuts.init();
var _local1:* = DisplayShortcuts.init();
return (_local1);
}//package src
Section 14
//HeaderHammer (src.HeaderHammer)
package src {
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import caurina.transitions.properties.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class HeaderHammer extends MovieClip {
public var position2:MovieClip;
public var addedHed2:MovieClip;
public var pairFlg:Boolean;
public var rootMc:MovieClip;
public var addedHed1:MovieClip;
public var position1:MovieClip;
public var header_str:String;
public var posHash:Object;
private var header:Object;
public var headerBg:MovieClip;
public var addedHedType:Object;
public var inUseFlg:Boolean;
private var messageMc:Message1;
public function HeaderHammer(){
posHash = new Object();
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
super();
header = this;
header_str = header.name;
inUseFlg = false;
init();
rootMc = MovieClip(root);
header.addEventListener(MouseEvent.CLICK, onClick);
header.addEventListener(MouseEvent.MOUSE_OVER, onOver);
header.addEventListener(MouseEvent.MOUSE_OUT, onOut);
header.buttonMode = true;
header.headerBg.mouseEnabled = false;
link();
}
public function link():void{
posHash.pos1 = "wingtop";
posHash.pos2 = "center";
posHash.pos3 = "wingtop";
posHash.pos4 = "wingtop";
posHash.pos5 = "wingtop";
posHash.pos6 = "wingtop";
posHash.pos7 = "shoulderR";
posHash.pos8 = "shoulderL";
posHash.pos9 = "handR";
posHash.pos10 = "handL";
posHash.pos11 = "footR";
posHash.pos12 = "footR";
posHash.pos13 = "footL";
posHash.pos14 = "footL";
posHash.pos15 = "front";
posHash.pos16 = "front";
posHash.pos17 = "front";
posHash.pos18 = "front";
posHash.posSword = "sword";
}
public function init(){
header.headerBg.alpha = 0;
Tweener.addTween(header, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
addedHedType = null;
inUseFlg = false;
pairFlg = false;
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
}
public function typeSelecter(_arg1){
var addHeaderType:String;
var targetPos = _arg1;
addHeaderType = posHash[targetPos.name];
switch (addHeaderType){
case "wingtop":
if (targetPos.name == "pos1"){
rootMc.addheader(targetPos, "wingtop", rootMc.img.faceDown);
} else {
rootMc.addheader(targetPos, "wingtop", rootMc.img.wingTop.wingTopIn);
rootMc.addheaderSub(targetPos, "front", rootMc.img.wingFront, 12);
};
rootMc.headerAnimeSlide(targetPos, targetPos.x, (targetPos.y - 100), 1);
break;
case "center":
rootMc.addheader(targetPos, "center", rootMc.img);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "shoulderR":
if (rootMc.nowWing.name == "wingTop"){
messageMc = new Message1();
messageMc.x = (stage.mouseX - 190);
messageMc.y = stage.mouseY;
messageMc.bg.scaleX = (messageMc.bg.scaleX * -1);
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:0, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(messageMc);
stage.mouseChildren = true;
}});
} else {
rootMc.addheader(targetPos, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 100), targetPos.y, 1);
};
break;
case "shoulderL":
if (rootMc.nowWing.name == "wingTop"){
messageMc = new Message1();
messageMc.x = stage.mouseX;
messageMc.y = stage.mouseY;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:0, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(messageMc);
stage.mouseChildren = true;
}});
} else {
rootMc.addheader(targetPos, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x + 100), targetPos.y, -1);
};
break;
case "handR":
rootMc.addheader(targetPos, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 30), (targetPos.y + 100), 1);
break;
case "handL":
rootMc.addheader(targetPos, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x + 30), (targetPos.y + 100), -1);
break;
case "footR":
rootMc.addheader(targetPos, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "footL":
rootMc.addheader(targetPos, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(targetPos, -1);
break;
case "front":
rootMc.addheader(targetPos, "front", rootMc.img.wingFront);
rootMc.addheaderSub(targetPos, "wingtop", rootMc.img.wingTop, -12);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "sword":
rootMc.addheader(targetPos, "sword", rootMc.img.sword);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 75), (targetPos.y - 100), 1);
break;
};
}
public function inUse():void{
header.headerBg.alpha = 0.6;
Tweener.addTween(header, {time:0.5, _tintBrightness:-0.7, transition:"easeOutQuad"});
inUseFlg = true;
rootMc.enabledAddFlg = false;
}
public function onOver(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if (inUseFlg){
_local2 = (header.x + (header.width / 2));
_local3 = (header.y + (header.height / 2));
rootMc.txtTake.alpha = 0;
Tweener.addTween(rootMc.txtTake, {time:0.4, alpha:1, x:_local2, y:_local3, transition:"easeOutBack"});
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:1, transition:"easeOutQuad"});
} else {
Tweener.addTween(_arg1.target.headerBg, {alpha:0.6, time:0.3, transition:"easeOutQuad"});
};
}
public function checker(){
var index:*;
var index2:*;
var removeAnimeSlide:Function;
removeAnimeSlide = function (_arg1, _arg2):void{
var toX = _arg1;
var toY = _arg2;
Tweener.addTween(addedHed1, {time:0, onComplete:function ():void{
var _local1:*;
rootMc.seOff.play();
}});
Tweener.addTween(addedHed1, {time:0.4, x:(position1.x + toX), y:(position1.y + toY), alpha:0, transition:"easeInExpo", onComplete:function ():void{
rootMc.img.body.removeChild(addedHed1);
init();
if (rootMc.enabledAddFlg){
rootMc.allPosArray.forEach(rootMc.showPos);
};
}});
};
if ((((position1.name == "pos7")) && ((rootMc.nowWing.name == "wingTop")))){
index = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(index, 1);
position1.inUse = false;
messageMc = new Message1();
messageMc.x = (position1.x - 190);
messageMc.y = position1.y;
messageMc.bg.scaleX = (messageMc.bg.scaleX * -1);
messageMc.mouseEnabled = false;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:1, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(this);
removeAnimeSlide(-200, 0);
}});
};
if ((((position1.name == "pos8")) && ((rootMc.nowWing.name == "wingTop")))){
index = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(index, 1);
position1.inUse = false;
messageMc = new Message1();
messageMc.x = position1.x;
messageMc.y = position1.y;
messageMc.mouseEnabled = false;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:1, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(this);
removeAnimeSlide(200, 0);
}});
};
}
public function onClick(_arg1:Event):void{
onClickFnc();
rootMc.seHeaderClick.play();
}
public function onOut(_arg1:Event):void{
if (inUseFlg){
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.nowSelect == header){
return;
};
Tweener.addTween(_arg1.target.headerBg, {alpha:0, time:0.5, transition:"easeOutQuad"});
};
}
public function onClickFnc():void{
if (inUseFlg){
rootMc.takeHeader(addedHed1);
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.enabledAddFlg){
rootMc.nowSelect.init();
};
if (((!((rootMc.selectHeader == null))) && (!(rootMc.selectHeader.inUseFlg)))){
rootMc.selectHeader.init();
};
rootMc.nowSelect = header;
rootMc.selectHeader = header;
header.headerBg.alpha = 0.6;
rootMc.allPosArray.forEach(rootMc.showPos);
rootMc.enabledAddFlg = true;
rootMc.txtAnime(rootMc.txt2);
};
}
}
ColorShortcuts.init();
FilterShortcuts.init();
var _local1:* = DisplayShortcuts.init();
return (_local1);
}//package src
Section 15
//HeaderKuwaga (src.HeaderKuwaga)
package src {
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import caurina.transitions.properties.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class HeaderKuwaga extends MovieClip {
public var position2:MovieClip;
public var addedHed2:MovieClip;
public var pairFlg:Boolean;
public var rootMc:MovieClip;
public var addedHed1:MovieClip;
public var position1:MovieClip;
public var header_str:String;
public var posHash:Object;
private var header:Object;
public var headerBg:MovieClip;
public var addedHedType:Object;
public var inUseFlg:Boolean;
public function HeaderKuwaga(){
posHash = new Object();
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
super();
header = this;
header_str = header.name;
inUseFlg = false;
init();
rootMc = MovieClip(root);
header.addEventListener(MouseEvent.CLICK, onClick);
header.addEventListener(MouseEvent.MOUSE_OVER, onOver);
header.addEventListener(MouseEvent.MOUSE_OUT, onOut);
header.buttonMode = true;
header.headerBg.mouseEnabled = false;
link();
}
public function link():void{
posHash.pos1 = "wingtop";
posHash.pos2 = "center";
posHash.pos3 = "wingtop";
posHash.pos4 = "wingtop";
posHash.pos5 = "wingtop";
posHash.pos6 = "wingtop";
posHash.pos7 = "shoulderR";
posHash.pos8 = "shoulderL";
posHash.pos9 = "handR";
posHash.pos10 = "handL";
posHash.pos11 = "footR";
posHash.pos12 = "footR";
posHash.pos13 = "footL";
posHash.pos14 = "footL";
posHash.pos15 = "front";
posHash.pos16 = "front";
posHash.pos17 = "front";
posHash.pos18 = "front";
posHash.posSword = "sword";
}
public function init(){
header.headerBg.alpha = 0;
Tweener.addTween(header, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
addedHedType = null;
inUseFlg = false;
pairFlg = false;
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
}
public function typeSelecter(_arg1){
var _local2:String;
_local2 = posHash[_arg1.name];
switch (_local2){
case "wingtop":
if (_arg1.name == "pos1"){
switch (rootMc.nowWing.name){
case "wingTop":
rootMc.addheader(_arg1, "wingtop", rootMc.img.faceDown);
break;
default:
rootMc.addheader(_arg1, "wingtop2", rootMc.img.faceDown);
};
} else {
rootMc.addheader(_arg1, "wingtop", rootMc.img.wingTop.wingTopIn);
rootMc.addheaderSub(_arg1, "front", rootMc.img.wingFront, 12);
};
rootMc.headerAnimeSlide(_arg1, _arg1.x, (_arg1.y - 100), 1);
break;
case "center":
rootMc.addheader(_arg1, "front", rootMc.img);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "shoulderR":
rootMc.addheader(_arg1, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 100), _arg1.y, 1);
break;
case "shoulderL":
rootMc.addheader(_arg1, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x + 100), _arg1.y, -1);
break;
case "handR":
rootMc.addheader(_arg1, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 30), (_arg1.y + 100), 1);
break;
case "handL":
rootMc.addheader(_arg1, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x + 30), (_arg1.y + 100), -1);
break;
case "footR":
rootMc.addheader(_arg1, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "footL":
rootMc.addheader(_arg1, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(_arg1, -1);
break;
case "front":
rootMc.addheader(_arg1, "front", rootMc.img.wingFront);
rootMc.addheaderSub(_arg1, "wingtop", rootMc.img.wingTop, -12);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "sword":
rootMc.addheader(_arg1, "sword", rootMc.img.sword);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 75), (_arg1.y - 100), 1);
break;
};
}
public function inUse():void{
header.headerBg.alpha = 0.6;
Tweener.addTween(header, {time:0.5, _tintBrightness:-0.7, transition:"easeOutQuad"});
inUseFlg = true;
rootMc.enabledAddFlg = false;
}
public function onOver(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if (inUseFlg){
_local2 = (header.x + (header.width / 2));
_local3 = (header.y + (header.height / 2));
rootMc.txtTake.alpha = 0;
Tweener.addTween(rootMc.txtTake, {time:0.4, alpha:1, x:_local2, y:_local3, transition:"easeOutBack"});
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:1, transition:"easeOutQuad"});
} else {
Tweener.addTween(_arg1.target.headerBg, {alpha:0.6, time:0.3, transition:"easeOutQuad"});
};
}
public function checker(){
var _local1:*;
if (position1.name == "pos1"){
_local1 = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(_local1, 1);
rootMc.img.faceDown.removeChild(addedHed1);
switch (rootMc.nowWing.name){
case "wingTop":
addedHed1 = new header10wingtop();
break;
default:
addedHed1 = new header10wingtop2();
};
addedHed1.x = position1.x;
addedHed1.y = position1.y;
rootMc.img.faceDown.addChild(addedHed1);
rootMc.addedAllHeaders.push(addedHed1);
rootMc.addedHeader = addedHed1;
rootMc.headerAsBtn();
addedHed1.parentHeader = header;
addedHed1.posObj = position1;
};
}
public function onClick(_arg1:Event):void{
onClickFnc();
rootMc.seHeaderClick.play();
}
public function onOut(_arg1:Event):void{
if (inUseFlg){
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.nowSelect == header){
return;
};
Tweener.addTween(_arg1.target.headerBg, {alpha:0, time:0.5, transition:"easeOutQuad"});
};
}
public function onClickFnc():void{
if (inUseFlg){
rootMc.takeHeader(addedHed1);
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.enabledAddFlg){
rootMc.nowSelect.init();
};
if (((!((rootMc.selectHeader == null))) && (!(rootMc.selectHeader.inUseFlg)))){
rootMc.selectHeader.init();
};
rootMc.nowSelect = header;
rootMc.selectHeader = header;
header.headerBg.alpha = 0.6;
rootMc.allPosArray.forEach(rootMc.showPos);
rootMc.enabledAddFlg = true;
rootMc.txtAnime(rootMc.txt2);
};
}
}
ColorShortcuts.init();
FilterShortcuts.init();
var _local1:* = DisplayShortcuts.init();
return (_local1);
}//package src
Section 16
//HeaderManta (src.HeaderManta)
package src {
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import caurina.transitions.properties.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class HeaderManta extends MovieClip {
public var position2:MovieClip;
public var addedHed2:MovieClip;
public var pairFlg:Boolean;
public var rootMc:MovieClip;
public var addedHed1:MovieClip;
public var position1:MovieClip;
public var header_str:String;
public var posHash:Object;
private var header:Object;
public var headerBg:MovieClip;
public var addedHedType:Object;
public var inUseFlg:Boolean;
public function HeaderManta(){
posHash = new Object();
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
super();
header = this;
header_str = header.name;
inUseFlg = false;
init();
rootMc = MovieClip(root);
header.addEventListener(MouseEvent.CLICK, onClick);
header.addEventListener(MouseEvent.MOUSE_OVER, onOver);
header.addEventListener(MouseEvent.MOUSE_OUT, onOut);
header.buttonMode = true;
header.headerBg.mouseEnabled = false;
link();
}
public function link():void{
posHash.pos1 = "wingtop";
posHash.pos2 = "center";
posHash.pos3 = "wingtop";
posHash.pos4 = "wingtop";
posHash.pos5 = "wingtop";
posHash.pos6 = "wingtop";
posHash.pos7 = "shoulderR";
posHash.pos8 = "shoulderL";
posHash.pos9 = "handR";
posHash.pos10 = "handL";
posHash.pos11 = "footR";
posHash.pos12 = "footR";
posHash.pos13 = "footL";
posHash.pos14 = "footL";
posHash.pos15 = "front";
posHash.pos16 = "front";
posHash.pos17 = "front";
posHash.pos18 = "front";
posHash.posSword = "sword";
}
public function init(){
header.headerBg.alpha = 0;
Tweener.addTween(header, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
addedHedType = null;
inUseFlg = false;
pairFlg = false;
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
}
public function typeSelecter(_arg1){
var _local2:String;
_local2 = posHash[_arg1.name];
switch (_local2){
case "wingtop":
if (_arg1.name == "pos1"){
switch (rootMc.nowWing.name){
case "wingTop":
rootMc.addheader(_arg1, "wingtop", rootMc.img.faceDown);
break;
default:
rootMc.addheader(_arg1, "wingtop2", rootMc.img.faceDown);
};
} else {
rootMc.addheader(_arg1, "wingtop", rootMc.img.wingTop.wingTopIn);
rootMc.addheaderSub(_arg1, "front", rootMc.img.wingFront, 12);
};
rootMc.headerAnimeSlide(_arg1, _arg1.x, (_arg1.y - 100), 1);
break;
case "center":
rootMc.addheader(_arg1, "front", rootMc.img);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "shoulderR":
if (rootMc.nowWing.name == "wingTop"){
rootMc.addheader(_arg1, "shoulder2", rootMc.img.body);
} else {
rootMc.addheader(_arg1, "shoulder", rootMc.img.body);
};
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 100), _arg1.y, 1);
break;
case "shoulderL":
if (rootMc.nowWing.name == "wingTop"){
rootMc.addheader(_arg1, "shoulder2", rootMc.img.body);
} else {
rootMc.addheader(_arg1, "shoulder", rootMc.img.body);
};
rootMc.headerAnimeSlide(_arg1, (_arg1.x + 100), _arg1.y, -1);
break;
case "handR":
rootMc.addheader(_arg1, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 30), (_arg1.y + 100), 1);
break;
case "handL":
rootMc.addheader(_arg1, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x + 30), (_arg1.y + 100), -1);
break;
case "footR":
rootMc.addheader(_arg1, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "footL":
rootMc.addheader(_arg1, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(_arg1, -1);
break;
case "front":
rootMc.addheader(_arg1, "front", rootMc.img.wingFront);
rootMc.addheaderSub(_arg1, "wingtop", rootMc.img.wingTop, -12);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "sword":
rootMc.addheader(_arg1, "sword", rootMc.img.sword);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 75), (_arg1.y - 100), 1);
break;
};
}
public function inUse():void{
header.headerBg.alpha = 0.6;
Tweener.addTween(header, {time:0.5, _tintBrightness:-0.7, transition:"easeOutQuad"});
inUseFlg = true;
rootMc.enabledAddFlg = false;
}
public function onOver(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if (inUseFlg){
_local2 = (header.x + (header.width / 2));
_local3 = (header.y + (header.height / 2));
rootMc.txtTake.alpha = 0;
Tweener.addTween(rootMc.txtTake, {time:0.4, alpha:1, x:_local2, y:_local3, transition:"easeOutBack"});
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:1, transition:"easeOutQuad"});
} else {
Tweener.addTween(_arg1.target.headerBg, {alpha:0.6, time:0.3, transition:"easeOutQuad"});
};
}
public function checker(){
var _local1:*;
if ((((((position1.name == "pos1")) || ((position1.name == "pos7")))) || ((position1.name == "pos8")))){
_local1 = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(_local1, 1);
switch (position1.name){
case "pos1":
rootMc.img.faceDown.removeChild(addedHed1);
switch (rootMc.nowWing.name){
case "wingTop":
addedHed1 = new header8wingtop();
break;
default:
addedHed1 = new header8wingtop2();
};
addedHed1.x = position1.x;
addedHed1.y = position1.y;
rootMc.img.faceDown.addChild(addedHed1);
break;
case "pos7":
rootMc.img.body.removeChild(addedHed1);
switch (rootMc.nowWing.name){
case "wingTop":
addedHed1 = new header8shoulder2();
break;
default:
addedHed1 = new header8shoulder();
};
addedHed1.x = position1.x;
addedHed1.y = position1.y;
rootMc.img.body.addChild(addedHed1);
break;
case "pos8":
rootMc.img.body.removeChild(addedHed1);
switch (rootMc.nowWing.name){
case "wingTop":
addedHed1 = new header8shoulder2();
break;
default:
addedHed1 = new header8shoulder();
};
addedHed1.x = position1.x;
addedHed1.y = position1.y;
addedHed1.scaleX = (addedHed1.scaleX * -1);
rootMc.img.body.addChild(addedHed1);
break;
};
rootMc.addedAllHeaders.push(addedHed1);
rootMc.addedHeader = addedHed1;
rootMc.headerAsBtn();
addedHed1.parentHeader = header;
addedHed1.posObj = position1;
};
}
public function onClick(_arg1:Event):void{
onClickFnc();
rootMc.seHeaderClick.play();
}
public function onOut(_arg1:Event):void{
if (inUseFlg){
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.nowSelect == header){
return;
};
Tweener.addTween(_arg1.target.headerBg, {alpha:0, time:0.5, transition:"easeOutQuad"});
};
}
public function onClickFnc():void{
if (inUseFlg){
rootMc.takeHeader(addedHed1);
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.enabledAddFlg){
rootMc.nowSelect.init();
};
if (((!((rootMc.selectHeader == null))) && (!(rootMc.selectHeader.inUseFlg)))){
rootMc.selectHeader.init();
};
rootMc.nowSelect = header;
rootMc.selectHeader = header;
header.headerBg.alpha = 0.6;
rootMc.allPosArray.forEach(rootMc.showPos);
rootMc.enabledAddFlg = true;
rootMc.txtAnime(rootMc.txt2);
};
}
}
ColorShortcuts.init();
FilterShortcuts.init();
var _local1:* = DisplayShortcuts.init();
return (_local1);
}//package src
Section 17
//HeaderTaka (src.HeaderTaka)
package src {
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import caurina.transitions.properties.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class HeaderTaka extends MovieClip {
public var position2:MovieClip;
public var addedHed2:MovieClip;
public var pairFlg:Boolean;
public var rootMc:MovieClip;
public var addedHed1:MovieClip;
public var position1:MovieClip;
public var header_str:String;
public var posHash:Object;
public var checkStart:Boolean;
private var header:Object;
public var headerBg:MovieClip;
public var addedHedType:Object;
public var inUseFlg:Boolean;
private var messageMc:Message1;
public function HeaderTaka(){
posHash = new Object();
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
super();
header = this;
header_str = header.name;
inUseFlg = false;
init();
rootMc = MovieClip(root);
header.addEventListener(MouseEvent.CLICK, onClick);
header.addEventListener(MouseEvent.MOUSE_OVER, onOver);
header.addEventListener(MouseEvent.MOUSE_OUT, onOut);
header.buttonMode = true;
header.headerBg.mouseEnabled = false;
link();
}
public function link():void{
posHash.pos1 = "face";
posHash.pos2 = "center";
posHash.pos3 = "wingtop";
posHash.pos4 = "wingtop";
posHash.pos5 = "wingtop";
posHash.pos6 = "wingtop";
posHash.pos7 = "shoulderR";
posHash.pos8 = "shoulderL";
posHash.pos9 = "handR";
posHash.pos10 = "handL";
posHash.pos11 = "footR";
posHash.pos12 = "footR";
posHash.pos13 = "footL";
posHash.pos14 = "footL";
posHash.pos15 = "front";
posHash.pos16 = "front";
posHash.pos17 = "front";
posHash.pos18 = "front";
posHash.posSword = "sword";
}
public function init(){
header.headerBg.alpha = 0;
Tweener.addTween(header, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
addedHedType = null;
inUseFlg = false;
pairFlg = false;
checkStart = false;
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
removeEventListener(Event.ENTER_FRAME, posChecker);
}
public function typeSelecter(_arg1){
var addHeaderType:String;
var flg:Boolean;
var targetPos = _arg1;
addHeaderType = posHash[targetPos.name];
switch (addHeaderType){
case "face":
if (rootMc.nowWing.name == "wingTop"){
flg = takaOpenCheker();
if (flg){
rootMc.addheader(targetPos, "wingtop2", rootMc.img.faceDown);
} else {
rootMc.addheader(targetPos, "wingtop", rootMc.img.faceDown);
};
} else {
rootMc.addheader(targetPos, "wingtop2", rootMc.img.faceDown);
};
rootMc.headerAnimeSlide(targetPos, targetPos.x, (targetPos.y - 100), 1);
addEventListener(Event.ENTER_FRAME, posChecker);
break;
case "wingtop":
rootMc.addheader(targetPos, "wingtop", rootMc.img.wingTop.wingTopIn);
rootMc.addheaderSub(targetPos, "front", rootMc.img.wingFront, 12);
rootMc.headerAnimeSlide(targetPos, targetPos.x, (targetPos.y - 100), 1);
break;
case "center":
rootMc.addheader(targetPos, "center", rootMc.img);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "shoulderR":
if (rootMc.nowWing.name == "wingTop"){
messageMc = new Message1();
messageMc.x = (stage.mouseX - 190);
messageMc.y = stage.mouseY;
messageMc.bg.scaleX = (messageMc.bg.scaleX * -1);
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:0, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(messageMc);
stage.mouseChildren = true;
}});
} else {
rootMc.addheader(targetPos, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 100), targetPos.y, 1);
};
break;
case "shoulderL":
if (rootMc.nowWing.name == "wingTop"){
messageMc = new Message1();
messageMc.x = stage.mouseX;
messageMc.y = stage.mouseY;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:0, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(messageMc);
stage.mouseChildren = true;
}});
} else {
rootMc.addheader(targetPos, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x + 100), targetPos.y, -1);
};
break;
case "handR":
rootMc.addheader(targetPos, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 30), (targetPos.y + 100), 1);
break;
case "handL":
rootMc.addheader(targetPos, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(targetPos, (targetPos.x + 30), (targetPos.y + 100), -1);
break;
case "footR":
rootMc.addheader(targetPos, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "footL":
rootMc.addheader(targetPos, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(targetPos, -1);
break;
case "front":
rootMc.addheader(targetPos, "front", rootMc.img.wingFront);
rootMc.addheaderSub(targetPos, "wingtop", rootMc.img.wingTop, -12);
rootMc.headerAnimeZoom(targetPos, 1);
break;
case "sword":
rootMc.addheader(targetPos, "sword", rootMc.img.sword);
rootMc.headerAnimeSlide(targetPos, (targetPos.x - 75), (targetPos.y - 100), 1);
break;
};
}
public function inUse():void{
header.headerBg.alpha = 0.6;
Tweener.addTween(header, {time:0.5, _tintBrightness:-0.7, transition:"easeOutQuad"});
inUseFlg = true;
rootMc.enabledAddFlg = false;
}
public function onOver(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if (inUseFlg){
_local2 = (header.x + (header.width / 2));
_local3 = (header.y + (header.height / 2));
rootMc.txtTake.alpha = 0;
Tweener.addTween(rootMc.txtTake, {time:0.4, alpha:1, x:_local2, y:_local3, transition:"easeOutBack"});
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:1, transition:"easeOutQuad"});
} else {
Tweener.addTween(_arg1.target.headerBg, {alpha:0.6, time:0.3, transition:"easeOutQuad"});
};
}
public function takaOpenCheker(){
var _local1:Boolean;
_local1 = false;
if ((((rootMc.nowWing.name == "wingFront")) || ((rootMc.nowWing.name == "wingBack")))){
_local1 = true;
return (_local1);
};
if ((((rootMc.img.addPos.pos4.addedHed == "header12")) && ((rootMc.img.addPos.pos5.addedHed == "header14")))){
_local1 = true;
};
if ((((rootMc.img.addPos.pos4.addedHed == "header14")) && ((rootMc.img.addPos.pos5.addedHed == "header12")))){
_local1 = true;
};
if ((((rootMc.img.addPos.pos4.addedHed == "none")) && ((rootMc.img.addPos.pos5.addedHed == "none")))){
_local1 = true;
};
if ((((rootMc.img.addPos.pos4.addedHed == "header12")) && ((rootMc.img.addPos.pos5.addedHed == "none")))){
_local1 = true;
};
if ((((rootMc.img.addPos.pos4.addedHed == "header14")) && ((rootMc.img.addPos.pos5.addedHed == "none")))){
_local1 = true;
};
if ((((rootMc.img.addPos.pos4.addedHed == "none")) && ((rootMc.img.addPos.pos5.addedHed == "header12")))){
_local1 = true;
};
if ((((rootMc.img.addPos.pos4.addedHed == "none")) && ((rootMc.img.addPos.pos5.addedHed == "header14")))){
_local1 = true;
};
return (_local1);
}
public function checker(){
var index:*;
var index2:*;
var removeAnimeSlide:Function;
removeAnimeSlide = function (_arg1, _arg2):void{
var toX = _arg1;
var toY = _arg2;
Tweener.addTween(addedHed1, {time:0, onComplete:function ():void{
var _local1:*;
rootMc.seOff.play();
}});
Tweener.addTween(addedHed1, {time:0.4, x:(position1.x + toX), y:(position1.y + toY), alpha:0, transition:"easeInExpo", onComplete:function ():void{
rootMc.img.body.removeChild(addedHed1);
init();
if (rootMc.enabledAddFlg){
rootMc.allPosArray.forEach(rootMc.showPos);
};
}});
};
checkStart = true;
if ((((position1.name == "pos7")) && ((rootMc.nowWing.name == "wingTop")))){
index = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(index, 1);
position1.inUse = false;
messageMc = new Message1();
messageMc.x = (position1.x - 190);
messageMc.y = position1.y;
messageMc.bg.scaleX = (messageMc.bg.scaleX * -1);
messageMc.mouseEnabled = false;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:1, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(this);
removeAnimeSlide(-200, 0);
}});
};
if ((((position1.name == "pos8")) && ((rootMc.nowWing.name == "wingTop")))){
index = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(index, 1);
position1.inUse = false;
messageMc = new Message1();
messageMc.x = position1.x;
messageMc.y = position1.y;
messageMc.mouseEnabled = false;
messageMc.alpha = 0;
stage.addChild(messageMc);
Tweener.addTween(messageMc, {alpha:1, time:0.3, transition:"linear"});
Tweener.addTween(messageMc, {alpha:1, time:0.5, delay:1.7, transition:"linear", onComplete:function ():void{
stage.removeChild(this);
removeAnimeSlide(200, 0);
}});
};
}
public function takaHeaderChange(){
var _local1:Boolean;
var _local2:*;
_local1 = takaOpenCheker();
if (_local1){
_local2 = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(_local2, 1);
rootMc.img.faceDown.removeChild(addedHed1);
addedHed1 = new header13wingtop2();
} else {
_local2 = rootMc.addedAllHeaders.indexOf(addedHed1);
rootMc.addedAllHeaders.splice(_local2, 1);
rootMc.img.faceDown.removeChild(addedHed1);
addedHed1 = new header13wingtop();
};
addedHed1.x = rootMc.img.addPos.pos1.x;
addedHed1.y = rootMc.img.addPos.pos1.y;
rootMc.img.faceDown.addChild(addedHed1);
rootMc.addedAllHeaders.push(addedHed1);
rootMc.headerAsBtn2(addedHed1);
addedHed1.parentHeader = header;
addedHed1.posObj = rootMc.img.addPos.pos1;
}
private function posChecker(_arg1:Event):void{
if (checkStart){
takaHeaderChange();
checkStart = false;
};
}
public function onClick(_arg1:Event):void{
onClickFnc();
rootMc.seHeaderClick.play();
}
public function onOut(_arg1:Event):void{
if (inUseFlg){
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.nowSelect == header){
return;
};
Tweener.addTween(_arg1.target.headerBg, {alpha:0, time:0.5, transition:"easeOutQuad"});
};
}
public function onClickFnc():void{
if (inUseFlg){
rootMc.takeHeader(addedHed1);
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.enabledAddFlg){
rootMc.nowSelect.init();
};
if (((!((rootMc.selectHeader == null))) && (!(rootMc.selectHeader.inUseFlg)))){
rootMc.selectHeader.init();
};
rootMc.nowSelect = header;
rootMc.selectHeader = header;
header.headerBg.alpha = 0.6;
rootMc.allPosArray.forEach(rootMc.showPos);
rootMc.enabledAddFlg = true;
rootMc.txtAnime(rootMc.txt2);
};
}
}
ColorShortcuts.init();
FilterShortcuts.init();
var _local1:* = DisplayShortcuts.init();
return (_local1);
}//package src
Section 18
//HeaderTyranno (src.HeaderTyranno)
package src {
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import caurina.transitions.properties.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class HeaderTyranno extends MovieClip {
public var position2:MovieClip;
public var addedHed2:MovieClip;
public var pairFlg:Boolean;
public var rootMc:MovieClip;
public var addedHed1:MovieClip;
public var position1:MovieClip;
public var header_str:String;
public var posHash:Object;
private var header:Object;
public var headerBg:MovieClip;
public var addedHedType:Object;
public var inUseFlg:Boolean;
public function HeaderTyranno(){
posHash = new Object();
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
super();
header = this;
header_str = header.name;
inUseFlg = false;
init();
rootMc = MovieClip(root);
header.addEventListener(MouseEvent.CLICK, onClick);
header.addEventListener(MouseEvent.MOUSE_OVER, onOver);
header.addEventListener(MouseEvent.MOUSE_OUT, onOut);
header.buttonMode = true;
header.headerBg.mouseEnabled = false;
link();
}
public function link():void{
posHash.pos1 = "wingtop";
posHash.pos2 = "center";
posHash.pos3 = "wingtop";
posHash.pos4 = "wingtop";
posHash.pos5 = "wingtop";
posHash.pos6 = "wingtop";
posHash.pos7 = "shoulderR";
posHash.pos8 = "shoulderL";
posHash.pos9 = "handR";
posHash.pos10 = "handL";
posHash.pos11 = "footR";
posHash.pos12 = "footR";
posHash.pos13 = "footL";
posHash.pos14 = "footL";
posHash.pos15 = "front";
posHash.pos16 = "front";
posHash.pos17 = "front";
posHash.pos18 = "front";
posHash.posSword = "sword";
}
public function init(){
header.headerBg.alpha = 0;
Tweener.addTween(header, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
addedHedType = null;
inUseFlg = false;
pairFlg = false;
position1 = new MovieClip();
position2 = new MovieClip();
addedHed1 = new MovieClip();
addedHed2 = new MovieClip();
}
public function typeSelecter(_arg1){
var _local2:String;
_local2 = posHash[_arg1.name];
switch (_local2){
case "wingtop":
if (_arg1.name == "pos1"){
rootMc.addheader(_arg1, "wingtop", rootMc.img.faceDown);
} else {
rootMc.addheader(_arg1, "wingtop", rootMc.img.wingTop.wingTopIn);
rootMc.addheaderSub(_arg1, "front", rootMc.img.wingFront, 12);
};
rootMc.headerAnimeSlide(_arg1, _arg1.x, (_arg1.y - 100), 1);
break;
case "center":
rootMc.addheader(_arg1, "front", rootMc.img);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "shoulderR":
rootMc.addheader(_arg1, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 100), _arg1.y, 1);
break;
case "shoulderL":
rootMc.addheader(_arg1, "shoulder", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x + 100), _arg1.y, -1);
break;
case "handR":
rootMc.addheader(_arg1, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 30), (_arg1.y + 100), 1);
break;
case "handL":
rootMc.addheader(_arg1, "hand", rootMc.img.body);
rootMc.headerAnimeSlide(_arg1, (_arg1.x + 30), (_arg1.y + 100), -1);
break;
case "footR":
rootMc.addheader(_arg1, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "footL":
rootMc.addheader(_arg1, "foot", rootMc.img.body);
rootMc.headerAnimeZoom(_arg1, -1);
break;
case "front":
rootMc.addheader(_arg1, "front", rootMc.img.wingFront);
rootMc.addheaderSub(_arg1, "wingtop", rootMc.img.wingTop, -12);
rootMc.headerAnimeZoom(_arg1, 1);
break;
case "sword":
rootMc.addheader(_arg1, "sword", rootMc.img.sword);
rootMc.headerAnimeSlide(_arg1, (_arg1.x - 75), (_arg1.y - 100), 1);
break;
};
}
public function inUse():void{
header.headerBg.alpha = 0.6;
Tweener.addTween(header, {time:0.5, _tintBrightness:-0.7, transition:"easeOutQuad"});
inUseFlg = true;
rootMc.enabledAddFlg = false;
}
public function onOver(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if (inUseFlg){
_local2 = (header.x + (header.width / 2));
_local3 = (header.y + (header.height / 2));
rootMc.txtTake.alpha = 0;
Tweener.addTween(rootMc.txtTake, {time:0.4, alpha:1, x:_local2, y:_local3, transition:"easeOutBack"});
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:1, transition:"easeOutQuad"});
} else {
Tweener.addTween(_arg1.target.headerBg, {alpha:0.6, time:0.3, transition:"easeOutQuad"});
};
}
public function checker(){
}
public function onClick(_arg1:Event):void{
onClickFnc();
rootMc.seHeaderClick.play();
}
public function onOut(_arg1:Event):void{
if (inUseFlg){
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.nowSelect == header){
return;
};
Tweener.addTween(_arg1.target.headerBg, {alpha:0, time:0.5, transition:"easeOutQuad"});
};
}
public function onClickFnc():void{
if (inUseFlg){
rootMc.takeHeader(addedHed1);
Tweener.addTween(rootMc.txtTake, {time:0.5, alpha:0, transition:"easeOutQuad"});
} else {
if (rootMc.enabledAddFlg){
rootMc.nowSelect.init();
};
if (((!((rootMc.selectHeader == null))) && (!(rootMc.selectHeader.inUseFlg)))){
rootMc.selectHeader.init();
};
rootMc.nowSelect = header;
rootMc.selectHeader = header;
header.headerBg.alpha = 0.6;
rootMc.allPosArray.forEach(rootMc.showPos);
rootMc.enabledAddFlg = true;
rootMc.txtAnime(rootMc.txt2);
};
}
}
ColorShortcuts.init();
FilterShortcuts.init();
var _local1:* = DisplayShortcuts.init();
return (_local1);
}//package src
Section 19
//Main (src.Main)
package src {
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.filters.*;
import caurina.transitions.properties.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class Main extends MovieClip {
public var nowWing:Object;
public var posObj:Object;
public var btnWingBack:MovieClip;
private var maxPage:int;
public var inUse:Boolean;
public var btnChangeHed:MovieClip;
public var for_selectHeader:TextField;
public var btnSet:Array;
public var Logo_mc:MovieClip;
public var area:String;
private var menuPage:int;
public var nowWingBtn:Object;
var volume05:SoundTransform;
public var enabledAddFlg:Boolean;
public var allHeaders:Array;
public var selectHeader;
public var seChange:Sound;
public var clearCount:int;
public var pair:Object;
public var inUseHeaders:Array;
public var addedAllHeadersLength:int;
public var clearBtnFlg:Boolean;
public var txtTake:TxtTake;
public var allPosArray:Array;
public var faceType:Object;
public var seHeaderClick:Sound;
public var btnWingTop:MovieClip;
public var btnClear:MovieClip;
public var btnBack:MovieClip;
public var faceUpFlg:Boolean;
public var posFlg:Boolean;
public var btnNext:MovieClip;
public var nowSelect:Object;
public var for_nowSelect:TextField;
public var addedHeader;
public var for_enabledAddFlg:TextField;
public var headerNum:Number;
public var seOff:Sound;
public var txt1:MovieClip;
public var txt2:MovieClip;
public var img:MovieClip;
public var addedAllHeaders:Array;
public var txt3:MovieClip;
public var txtType:Object;
public var parentHeader:Object;
public var seOn:Sound;
public var btnWingFront:MovieClip;
public var addedHed:String;
public var headerBox:MovieClip;
public function Main(){
var _local1:int;
var _local2:int;
var _local3:*;
allPosArray = new Array();
allHeaders = new Array();
addedAllHeaders = new Array();
inUseHeaders = new Array();
seOn = new SE_on();
seOff = new SE_off2();
seChange = new SE_change();
seHeaderClick = new SE_headerClick();
volume05 = new SoundTransform(0.5);
addedHed = new String();
pair = new Object();
parentHeader = new Object();
posObj = new Object();
super();
Logo_mc.y = 7;
Logo_mc.x = 1000;
Tweener.addTween(Logo_mc, {_Blur_blurX:30});
Tweener.addTween(Logo_mc, {time:1, x:369, _Blur_blurX:0, transition:"easeInOutBack"});
headerNum = headerBox.numChildren;
maxPage = (headerNum / 6);
btnSet = [btnWingTop, btnWingFront, btnWingBack, btnChangeHed, btnClear, btnNext, btnBack];
btnSet.forEach(addEvent);
img.wingFront.visible = false;
img.wingBack.visible = false;
img.faceDown.visible = false;
img.sword.posSword.visible = false;
faceUpFlg = true;
faceType = img.faceUp;
nowWing = img.wingTop;
enabledAddFlg = false;
btnLock(btnClear);
nowWingBtn = btnWingTop;
btnLock(nowWingBtn);
txtType = txt1;
btnLock(btnBack);
img.wingTop.mouseEnabled = false;
img.wingFront.mouseEnabled = false;
img.wingTop.wingTopIn.mouseEnabled = false;
txtTake = new TxtTake();
txtTake.x = 144;
txtTake.y = 450;
txtTake.mouseEnabled = false;
headerBox.addChild(txtTake);
_local1 = 1;
while (_local1 <= 18) {
_local3 = img.addPos.getChildByName(("pos" + _local1));
allPosArray.push(_local3);
_local3.addEventListener(MouseEvent.CLICK, onPositionClick);
_local3.addEventListener(MouseEvent.MOUSE_OVER, onOver);
_local3.addEventListener(MouseEvent.MOUSE_OUT, onOut);
_local3.buttonMode = true;
if (_local1 == 1){
_local3.area = "head";
} else {
if ((((_local1 >= 3)) && ((_local1 <= 6)))){
_local3.area = "wingTop";
} else {
if ((((_local1 >= 7)) && ((_local1 <= 8)))){
_local3.area = "shoulder";
} else {
if ((((_local1 >= 15)) && ((_local1 <= 18)))){
_local3.area = "wingFront";
} else {
_local3.area = "body";
};
};
};
};
_local3.inUse = false;
_local3.addedHed = "none";
_local3.visible = false;
_local1++;
};
allPosArray.push(img.sword.posSword);
img.sword.posSword.area = "body";
img.sword.posSword.inUse = false;
img.sword.posSword.visible = false;
img.sword.posSword.addEventListener(MouseEvent.CLICK, onPositionClick);
img.sword.posSword.addEventListener(MouseEvent.MOUSE_OVER, onOver);
img.sword.posSword.addEventListener(MouseEvent.MOUSE_OUT, onOut);
img.sword.posSword.buttonMode = true;
_local2 = 1;
while (_local2 <= headerNum) {
allHeaders.push(headerBox.getChildByName(("header" + _local2)));
_local2++;
};
}
public function headerAnimeSlide(_arg1, _arg2, _arg3, _arg4){
var flashLight:FlashLight1;
var header:Object;
var posX:Number;
var posY:Number;
var motionX:Number;
var motionY:Number;
var targetpos = _arg1;
var startX = _arg2;
var startY = _arg3;
var way = _arg4;
flashLight = new FlashLight1();
flashLight.x = targetpos.x;
flashLight.y = targetpos.y;
flashLight.scaleX = 0;
flashLight.scaleY = 0;
flashLight.alpha = 0;
flashLight.blendMode = "screen";
addChild(flashLight);
header = addedHeader;
posX = targetpos.x;
posY = targetpos.y;
header.scaleX = way;
header.x = startX;
header.y = startY;
header.alpha = 0;
motionX = ((posX - startX) / 11);
motionY = ((posY - startY) / 11);
Tweener.addTween(header, {time:0.4, x:posX, y:posY, alpha:1, transition:"easeInOutElastic", onComplete:headerAsBtn});
Tweener.addTween(header, {time:0.3, onComplete:function ():void{
var _local1:*;
seOn.play();
}});
Tweener.addTween(img, {time:0, delay:0.25, x:motionX, y:motionY, transition:"linear"});
Tweener.addTween(img, {time:0.3, delay:0.25, x:0, y:0, transition:"easeOutElastic"});
Tweener.addTween(flashLight, {time:0.3, delay:0.1, scaleX:1, scaleY:1, alpha:0.6, transition:"easeInOutBack"});
Tweener.addTween(flashLight, {time:0.2, delay:0.4, scaleX:0, scaleY:0, alpha:0, transition:"easeInSine", onComplete:function ():void{
removeChild(this);
}});
}
public function showPos(_arg1, _arg2:int, _arg3:Array){
if (!_arg1.inUse){
switch (nowWing.name){
case "wingTop":
if ((((_arg1.area == "wingTop")) || ((_arg1.area == "shoulder")))){
posAnime(_arg1);
};
break;
case "wingFront":
if (_arg1.area == "wingFront"){
posAnime(_arg1);
};
break;
case "wingBack":
if ((((_arg1.area == "wingBack")) || ((_arg1.area == "shoulder")))){
posAnime(_arg1);
};
break;
};
if (((!(faceUpFlg)) && ((_arg1.area == "head")))){
posAnime(_arg1);
};
if (_arg1.area == "body"){
posAnime(_arg1);
};
};
}
public function onChangeHedClick(_arg1:Event):void{
seChange.play(0, 0, volume05);
faceType.visible = false;
if (faceUpFlg){
faceType = img.faceDown;
} else {
faceType = img.faceUp;
};
faceType.visible = true;
faceUpFlg = !(faceUpFlg);
if (enabledAddFlg){
allPosArray.forEach(hidePos);
allPosArray.forEach(showPos);
};
}
public function onPositionClick(_arg1:Event):void{
var _local2:*;
_local2 = _arg1.target;
stage.mouseChildren = false;
selectHeader.typeSelecter(_arg1.target);
}
public function headerAnimeZoom(_arg1, _arg2){
var flashLight:FlashLight1;
var header:Object;
var targetpos = _arg1;
var way = _arg2;
flashLight = new FlashLight1();
flashLight.x = targetpos.x;
flashLight.y = targetpos.y;
flashLight.scaleX = 0;
flashLight.scaleY = 0;
flashLight.alpha = 0;
flashLight.blendMode = "screen";
addChild(flashLight);
header = addedHeader;
header.x = targetpos.x;
header.y = targetpos.y;
header.scaleX = (4 * way);
header.scaleY = 4;
header.alpha = 0;
Tweener.addTween(header, {time:0.8, scaleX:way, scaleY:1, alpha:1, transition:"easeInOutElastic", onComplete:headerAsBtn});
Tweener.addTween(header, {time:0.4, onComplete:function ():void{
var _local1:*;
seOn.play();
}});
Tweener.addTween(img, {time:0, delay:0.45, scaleX:0.95, scaleY:0.95, transition:"linear"});
Tweener.addTween(img, {time:0.3, delay:0.45, scaleX:1, scaleY:1, transition:"easeOutElastic"});
Tweener.addTween(flashLight, {time:0.3, delay:0.2, scaleX:1, scaleY:1, alpha:0.6, transition:"easeInOutBack"});
Tweener.addTween(flashLight, {time:0.2, delay:0.5, scaleX:0, scaleY:0, alpha:0, transition:"easeInSine", onComplete:function ():void{
removeChild(this);
}});
}
public function debug(_arg1){
if (selectHeader != null){
for_selectHeader.text = selectHeader.name;
};
if (nowSelect == null){
for_nowSelect.text = "null";
} else {
for_nowSelect.text = nowSelect.name;
};
if (enabledAddFlg){
for_enabledAddFlg.text = "true";
} else {
for_enabledAddFlg.text = "false";
};
}
public function headerChecker(_arg1, _arg2:int, _arg3:Array){
_arg1.checker();
}
public function headerAsBtn(){
stage.mouseChildren = true;
addedHeader.buttonMode = true;
addedHeader.addEventListener(MouseEvent.MOUSE_OVER, onOver);
addedHeader.addEventListener(MouseEvent.MOUSE_OUT, onOut);
addedHeader.addEventListener(MouseEvent.CLICK, onTakeHeader);
if (addedAllHeaders.length == headerNum){
txtAnime(txt3);
} else {
txtAnime(txt1);
};
}
public function addheader(_arg1, _arg2, _arg3){
var _local4:String;
var _local5:Class;
var _local6:*;
selectHeader.inUse();
inUseHeaders.push(nowSelect);
nowSelect = undefined;
if (_arg1 == img.addPos.pos1){
Tweener.addTween(btnChangeHed, {time:0.5, _tintBrightness:-0.5, transition:"easeOutQuad"});
btnChangeHed.mouseEnabled = false;
};
btnEnabled(btnClear);
allPosArray.forEach(hidePos);
_arg1.inUse = true;
_arg1.visible = false;
_arg1.addedHed = selectHeader.name;
_local4 = (selectHeader.header_str + _arg2);
_local5 = (getDefinitionByName(_local4) as Class);
_local6 = new (_local5);
_arg3.addChild(_local6);
addedAllHeaders.push(_local6);
selectHeader.position1 = _arg1;
selectHeader.addedHed1 = _local6;
addedHeader = _local6;
_local6.parentHeader = selectHeader;
_local6.posObj = _arg1;
Tweener.addTween(btnClear, {_tintBrightness:0});
btnClear.mouseEnabled = true;
btnClear.buttonMode = true;
btnClear.addEventListener(MouseEvent.MOUSE_OVER, onOver);
btnClear.addEventListener(MouseEvent.MOUSE_OUT, onOut);
if (img.addPos.pos1.addedHed == "header13"){
if ((((_arg1.name == "pos4")) || ((_arg1.name == "pos5")))){
headerBox.header13.checkStart = true;
};
};
}
public function addEvent(_arg1, _arg2:int, _arg3:Array){
_arg1.addEventListener(MouseEvent.MOUSE_OVER, onOver);
_arg1.addEventListener(MouseEvent.MOUSE_OUT, onOut);
_arg1.buttonMode = true;
if (_arg1.name.substr(0, 7) == "btnWing"){
_arg1.addEventListener(MouseEvent.CLICK, onWingBtnClick);
} else {
switch (_arg1){
case btnChangeHed:
_arg1.addEventListener(MouseEvent.CLICK, onChangeHedClick);
break;
case btnClear:
_arg1.addEventListener(MouseEvent.CLICK, onClearClick);
break;
case btnNext:
_arg1.addEventListener(MouseEvent.CLICK, onNextClick);
break;
case btnBack:
_arg1.addEventListener(MouseEvent.CLICK, onBackClick);
break;
};
};
}
public function posAnime(_arg1:Object):void{
_arg1.visible = true;
_arg1.alpha = 0;
Tweener.addTween(_arg1, {time:0.6, alpha:0.5, transition:"linear"});
Tweener.addTween(_arg1, {time:0.05, alpha:0, transition:"linear", delay:0.65});
Tweener.addTween(_arg1, {time:0.05, alpha:0.5, transition:"linear", delay:0.7});
Tweener.addTween(_arg1, {time:0.05, alpha:0, transition:"linear", delay:0.75});
Tweener.addTween(_arg1, {time:0.05, alpha:0.5, transition:"linear", delay:0.8});
Tweener.addTween(_arg1, {time:0.05, alpha:0, transition:"linear", delay:0.85});
Tweener.addTween(_arg1, {time:0.05, alpha:0.5, transition:"linear", delay:0.9});
}
public function onClearClick(_arg1:Event):void{
var _local2:int;
stage.mouseChildren = false;
enabledAddFlg = false;
if (nowSelect != null){
nowSelect.init();
allPosArray.forEach(hidePos);
nowSelect = undefined;
};
clearBtnFlg = true;
addedAllHeadersLength = addedAllHeaders.length;
_local2 = 0;
while (_local2 < addedAllHeadersLength) {
takeHeader(addedAllHeaders[_local2]);
_local2++;
};
}
public function onOut(_arg1:Event):void{
if (_arg1.target.name.substr(0, 3) == "pos"){
Tweener.addTween(_arg1.target, {_color:0xFFFF00, time:0.2, transition:"linear"});
} else {
switch (_arg1.target){
case btnWingFront:
Tweener.addTween(nowWing, {_color_redOffset:0, _color_greenOffset:0, time:0.5, transition:"linear"});
break;
case btnWingTop:
Tweener.addTween(nowWing, {_color_redOffset:0, _color_greenOffset:0, time:0.5, transition:"linear"});
break;
case btnWingBack:
Tweener.addTween(nowWing, {_color_redOffset:0, _color_greenOffset:0, time:0.5, transition:"linear"});
break;
case btnChangeHed:
Tweener.addTween(faceType, {_color_redOffset:0, _color_greenOffset:0, time:0.5, transition:"linear"});
break;
};
Tweener.addTween(_arg1.target, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
};
}
public function addheaderSub(_arg1, _arg2, _arg3, _arg4){
var _local5:String;
var _local6:Class;
var _local7:*;
var _local8:*;
var _local9:*;
_local5 = (selectHeader.header_str + _arg2);
_local6 = (getDefinitionByName(_local5) as Class);
_local7 = new (_local6);
_arg3.addChild(_local7);
selectHeader.addedHed2 = _local7;
addedAllHeaders.push(_local7);
selectHeader.pairFlg = true;
_local7.pair = addedHeader;
addedHeader.pair = _local7;
_local8 = (parseFloat(_arg1.name.substr(3)) + _arg4);
_local9 = img.addPos.getChildByName(("pos" + _local8));
_local7.x = _local9.x;
_local7.y = _local9.y;
_local9.inUse = true;
_local9.addedHed = selectHeader.name;
_local7.posObj = _local9;
_local7.parentHeader = selectHeader;
selectHeader.position2 = _local9;
_local7.buttonMode = true;
_local7.addEventListener(MouseEvent.MOUSE_OVER, onOver);
_local7.addEventListener(MouseEvent.MOUSE_OUT, onOut);
_local7.addEventListener(MouseEvent.CLICK, onTakeHeader);
}
public function onTakeHeader(_arg1:Event):void{
stage.mouseChildren = false;
takeHeader(_arg1.target);
}
public function onWingBtnClick(_arg1:Event):void{
var e = _arg1;
stage.mouseChildren = false;
btnEnabled(nowWingBtn);
nowWingBtn = e.target;
btnLock(nowWingBtn);
Tweener.addTween(img.wingTop, {_color_redOffset:0, _color_greenOffset:0, transition:"linear"});
Tweener.addTween(img.wingFront, {_color_redOffset:0, _color_greenOffset:0, transition:"linear"});
Tweener.addTween(img.wingBack, {_color_redOffset:0, _color_greenOffset:0, transition:"linear"});
nowWing.visible = false;
switch (e.target){
case btnWingTop:
nowWing = img.wingTop;
nowWing.visible = true;
seChange.play(0, 0, volume05);
break;
case btnWingFront:
if (nowWing == img.wingBack){
img.wingTop.visible = true;
seChange.play(0, 0, volume05);
Tweener.addTween(img.wingTop, {visible:false, time:0.2, onComplete:function (){
img.wingFront.visible = true;
seChange.play(0, 0, volume05);
}});
} else {
img.wingFront.visible = true;
seChange.play(0, 0, volume05);
};
nowWing = img.wingFront;
break;
case btnWingBack:
if (nowWing == img.wingFront){
img.wingTop.visible = true;
seChange.play(0, 0, volume05);
Tweener.addTween(img.wingTop, {visible:false, time:0.2, onComplete:function (){
img.wingBack.visible = true;
seChange.play(0, 0, volume05);
}});
} else {
img.wingBack.visible = true;
seChange.play(0, 0, volume05);
};
nowWing = img.wingBack;
break;
};
if (enabledAddFlg){
allPosArray.forEach(hidePos);
allPosArray.forEach(showPos);
};
stage.mouseChildren = true;
inUseHeaders.forEach(headerChecker);
addedHeaderCheck();
}
public function btnEnabled(_arg1):void{
_arg1.mouseEnabled = true;
_arg1.addEventListener(MouseEvent.MOUSE_OVER, onOver);
_arg1.addEventListener(MouseEvent.MOUSE_OUT, onOut);
Tweener.addTween(_arg1, {_tintBrightness:0});
}
public function onOver(_arg1:Event):void{
if (_arg1.target.name.substr(0, 3) == "pos"){
Tweener.addTween(_arg1.target, {_color:0xFF, time:0.2, transition:"linear"});
} else {
switch (_arg1.target){
case btnWingFront:
Tweener.addTween(nowWing, {_color_redOffset:20, _color_greenOffset:80, time:0.5, transition:"easeOutQuad"});
break;
case btnWingTop:
Tweener.addTween(nowWing, {_color_redOffset:20, _color_greenOffset:80, time:0.5, transition:"easeOutQuad"});
break;
case btnWingBack:
Tweener.addTween(nowWing, {_color_redOffset:20, _color_greenOffset:80, time:0.5, transition:"easeOutQuad"});
break;
case btnChangeHed:
Tweener.addTween(faceType, {_color_redOffset:20, _color_greenOffset:80, time:0.5, transition:"easeOutQuad"});
break;
};
Tweener.addTween(_arg1.target, {time:0.5, _tintBrightness:0.5, transition:"easeOutQuad"});
};
}
public function addedHeaderCheck():void{
if (addedAllHeaders.length == 0){
btnLock(btnClear);
};
}
private function onNextClick(_arg1:Event):void{
var e = _arg1;
stage.mouseChildren = false;
if (menuPage == 0){
btnEnabled(btnBack);
};
menuPage++;
headerBox.x = (headerBox.x - 270);
headerBox.alpha = 0;
Tweener.addTween(headerBox, {x:(headerBox.x - 18), alpha:1, time:0.5, transition:"easeInOutBack", onComplete:function ():void{
stage.mouseChildren = true;
}});
if (menuPage == maxPage){
btnLock(e.target);
};
}
public function headerAsBtn2(_arg1){
_arg1.buttonMode = true;
_arg1.addEventListener(MouseEvent.MOUSE_OVER, onOver);
_arg1.addEventListener(MouseEvent.MOUSE_OUT, onOut);
_arg1.addEventListener(MouseEvent.CLICK, onTakeHeader);
}
public function btnLock(_arg1):void{
_arg1.mouseEnabled = false;
_arg1.removeEventListener(MouseEvent.MOUSE_OVER, onOver);
_arg1.removeEventListener(MouseEvent.MOUSE_OUT, onOut);
Tweener.addTween(_arg1, {_tintBrightness:-0.5});
}
private function onBackClick(_arg1:Event):void{
var e = _arg1;
stage.mouseChildren = false;
if (menuPage == maxPage){
btnEnabled(btnNext);
};
menuPage--;
headerBox.x = (headerBox.x + 270);
headerBox.alpha = 0;
Tweener.addTween(headerBox, {x:(headerBox.x + 18), alpha:1, time:0.5, transition:"easeInOutBack", onComplete:function ():void{
stage.mouseChildren = true;
}});
if (menuPage == 0){
btnLock(e.target);
};
}
public function hidePos(_arg1, _arg2:int, _arg3:Array){
_arg1.visible = false;
}
public function txtAnime(_arg1):void{
Tweener.addTween(txtType, {time:0.3, y:560, alpha:0, transition:"easeOutQuad"});
txtType = _arg1;
txtType.x = 79;
txtType.y = 560;
txtType.alpha = 0;
Tweener.addTween(txtType, {time:0.3, delay:0.3, y:477, alpha:1, transition:"easeOutQuad"});
}
public function takeHeader(_arg1):void{
var menuHeader:*;
var index2:*;
var addHeaderType:String;
var removeAnimeZoom:Function;
var removeAnimeSlide:Function;
var removeAnimeSword:Function;
var afterTakeFnc:Function;
var index:*;
var pairH:*;
var pairIndex:*;
var targetH = _arg1;
removeAnimeZoom = function (_arg1):void{
var way = _arg1;
Tweener.addTween(targetH, {time:0, onComplete:function ():void{
var _local1:*;
seOff.play();
}});
Tweener.addTween(targetH, {time:0.4, scaleX:(2 * way), scaleY:2, alpha:0, transition:"easeInExpo", onComplete:function ():void{
this.parent.removeChild(this);
afterTakeFnc();
}});
};
removeAnimeSlide = function (_arg1, _arg2):void{
var toX = _arg1;
var toY = _arg2;
Tweener.addTween(targetH, {time:0, onComplete:function ():void{
var _local1:*;
seOff.play();
}});
Tweener.addTween(targetH, {time:0.4, x:(targetH.x + toX), y:(targetH.y + toY), alpha:0, transition:"easeInExpo", onComplete:function ():void{
this.parent.removeChild(this);
afterTakeFnc();
}});
};
removeAnimeSword = function ():void{
Tweener.addTween(targetH, {time:0, onComplete:function ():void{
var _local1:*;
seOff.play();
}});
Tweener.addTween(targetH, {time:0.4, x:(targetH.x - 75), y:(targetH.y - 100), alpha:0, transition:"easeInExpo", onComplete:function ():void{
img.sword.removeChild(this);
afterTakeFnc();
}});
};
afterTakeFnc = function ():void{
if (clearBtnFlg){
targetH.parentHeader.init();
clearCount++;
if (clearCount == addedAllHeadersLength){
clearBtnFlg = false;
addedAllHeaders = new Array();
btnLock(btnClear);
inUseHeaders = new Array();
clearCount = 0;
txtAnime(txt1);
};
} else {
targetH.parentHeader.onClickFnc();
txtAnime(txt2);
};
stage.mouseChildren = true;
};
menuHeader = targetH.parentHeader;
index2 = inUseHeaders.indexOf(menuHeader);
inUseHeaders.splice(index2, 1);
targetH.parentHeader.inUseFlg = false;
targetH.removeEventListener(MouseEvent.MOUSE_OVER, onOver);
targetH.removeEventListener(MouseEvent.MOUSE_OUT, onOut);
targetH.removeEventListener(MouseEvent.CLICK, onTakeHeader);
if (nowSelect == targetH.parentHeader){
nowSelect.init();
};
if (!clearBtnFlg){
index = addedAllHeaders.indexOf(targetH);
addedAllHeaders.splice(index, 1);
if (targetH.parentHeader.pairFlg){
pairH = targetH.pair;
pairIndex = addedAllHeaders.indexOf(pairH);
addedAllHeaders.splice(pairIndex, 1);
pairH.parent.removeChild(pairH);
pairH.posObj.inUse = false;
pairH.posObj.addedHed = "none";
};
addedHeaderCheck();
nowSelect = targetH.parentHeader;
enabledAddFlg = true;
if (img.addPos.pos1.addedHed == "header13"){
if ((((targetH.posObj.name == "pos4")) || ((targetH.posObj.name == "pos5")))){
headerBox.header13.checkStart = true;
};
};
};
targetH.posObj.inUse = false;
targetH.posObj.addedHed = "none";
if (targetH.posObj.name == "pos1"){
Tweener.addTween(btnChangeHed, {time:0.5, _tintBrightness:0, transition:"easeOutQuad"});
btnChangeHed.mouseEnabled = true;
};
addHeaderType = targetH.parentHeader.posHash[targetH.posObj.name];
switch (addHeaderType){
case "face":
removeAnimeSlide(0, -100);
break;
case "wingtop":
removeAnimeSlide(0, -100);
break;
case "center":
removeAnimeZoom(1);
break;
case "shoulderR":
removeAnimeSlide(-200, 0);
break;
case "shoulderL":
removeAnimeSlide(200, 0);
break;
case "handR":
removeAnimeSlide(-30, 200);
break;
case "handL":
removeAnimeSlide(30, 200);
break;
case "footR":
removeAnimeZoom(1);
break;
case "footL":
removeAnimeZoom(-1);
break;
case "front":
removeAnimeZoom(1);
break;
case "sword":
removeAnimeSword();
break;
};
}
}
ColorShortcuts.init();
FilterShortcuts.init();
var _local1:* = DisplayShortcuts.init();
return (_local1);
}//package src
Section 20
//g_3 (tukekae_fla.g_3)
package tukekae_fla {
import flash.display.*;
public dynamic class g_3 extends MovieClip {
public var posSword:MovieClip;
}
}//package tukekae_fla
Section 21
//g_7 (tukekae_fla.g_7)
package tukekae_fla {
import flash.display.*;
public dynamic class g_7 extends MovieClip {
public var wingTopIn:MovieClip;
}
}//package tukekae_fla
Section 22
//headerBox_25 (tukekae_fla.headerBox_25)
package tukekae_fla {
import flash.display.*;
public dynamic class headerBox_25 extends MovieClip {
public var header1:Header1;
public var header2:Header2;
public var header5:Header5;
public var header9:Header9;
public var header6:Header6;
public var header4:Header4;
public var header8:Header8;
public var header11:Header11;
public var header14:Header14;
public var header12:Header12;
public var header13:Header13;
public var header7:Header7;
public var header10:Header10;
public var header3:Header3;
}
}//package tukekae_fla
Section 23
//img_2 (tukekae_fla.img_2)
package tukekae_fla {
import flash.display.*;
public dynamic class img_2 extends MovieClip {
public var faceUp:MovieClip;
public var addPos:MovieClip;
public var wingTop:MovieClip;
public var wingBack:MovieClip;
public var faceDown:MovieClip;
public var body:MovieClip;
public var wingFront:MovieClip;
public var sword:MovieClip;
}
}//package tukekae_fla
Section 24
//position1_12 (tukekae_fla.position1_12)
package tukekae_fla {
import flash.display.*;
public dynamic class position1_12 extends MovieClip {
public var pos1:MovieClip;
public var pos3:MovieClip;
public var pos7:MovieClip;
public var pos6:MovieClip;
public var pos8:MovieClip;
public var pos2:MovieClip;
public var pos5:MovieClip;
public var pos12:MovieClip;
public var pos13:MovieClip;
public var pos14:MovieClip;
public var pos11:MovieClip;
public var pos15:MovieClip;
public var pos9:MovieClip;
public var pos18:MovieClip;
public var pos16:MovieClip;
public var pos10:MovieClip;
public var pos4:MovieClip;
public var pos17:MovieClip;
}
}//package tukekae_fla
Section 25
//FlashLight (FlashLight)
package {
import flash.display.*;
public dynamic class FlashLight extends MovieClip {
}
}//package
Section 26
//FlashLight1 (FlashLight1)
package {
import flash.display.*;
public dynamic class FlashLight1 extends MovieClip {
}
}//package
Section 27
//Header1 (Header1)
package {
import src.*;
public dynamic class Header1 extends Header {
}
}//package
Section 28
//Header10 (Header10)
package {
import src.*;
public dynamic class Header10 extends HeaderKuwaga {
}
}//package
Section 29
//header10foot (header10foot)
package {
import flash.display.*;
public dynamic class header10foot extends MovieClip {
}
}//package
Section 30
//header10front (header10front)
package {
import flash.display.*;
public dynamic class header10front extends MovieClip {
}
}//package
Section 31
//header10hand (header10hand)
package {
import flash.display.*;
public dynamic class header10hand extends MovieClip {
}
}//package
Section 32
//header10shoulder (header10shoulder)
package {
import flash.display.*;
public dynamic class header10shoulder extends MovieClip {
}
}//package
Section 33
//header10sword (header10sword)
package {
import flash.display.*;
public dynamic class header10sword extends MovieClip {
}
}//package
Section 34
//header10wingtop (header10wingtop)
package {
import flash.display.*;
public dynamic class header10wingtop extends MovieClip {
}
}//package
Section 35
//header10wingtop2 (header10wingtop2)
package {
import flash.display.*;
public dynamic class header10wingtop2 extends MovieClip {
}
}//package
Section 36
//Header11 (Header11)
package {
import src.*;
public dynamic class Header11 extends HeaderTyranno {
}
}//package
Section 37
//header11foot (header11foot)
package {
import flash.display.*;
public dynamic class header11foot extends MovieClip {
}
}//package
Section 38
//header11front (header11front)
package {
import flash.display.*;
public dynamic class header11front extends MovieClip {
}
}//package
Section 39
//header11hand (header11hand)
package {
import flash.display.*;
public dynamic class header11hand extends MovieClip {
}
}//package
Section 40
//header11shoulder (header11shoulder)
package {
import flash.display.*;
public dynamic class header11shoulder extends MovieClip {
}
}//package
Section 41
//header11sword (header11sword)
package {
import flash.display.*;
public dynamic class header11sword extends MovieClip {
}
}//package
Section 42
//header11wingtop (header11wingtop)
package {
import flash.display.*;
public dynamic class header11wingtop extends MovieClip {
}
}//package
Section 43
//Header12 (Header12)
package {
import src.*;
public dynamic class Header12 extends HeaderCrow {
}
}//package
Section 44
//header12center (header12center)
package {
import flash.display.*;
public dynamic class header12center extends MovieClip {
}
}//package
Section 45
//header12foot (header12foot)
package {
import flash.display.*;
public dynamic class header12foot extends MovieClip {
}
}//package
Section 46
//header12front (header12front)
package {
import flash.display.*;
public dynamic class header12front extends MovieClip {
}
}//package
Section 47
//header12hand (header12hand)
package {
import flash.display.*;
public dynamic class header12hand extends MovieClip {
}
}//package
Section 48
//header12shoulder (header12shoulder)
package {
import flash.display.*;
public dynamic class header12shoulder extends MovieClip {
}
}//package
Section 49
//header12sword (header12sword)
package {
import flash.display.*;
public dynamic class header12sword extends MovieClip {
}
}//package
Section 50
//header12wingtop (header12wingtop)
package {
import flash.display.*;
public dynamic class header12wingtop extends MovieClip {
}
}//package
Section 51
//Header13 (Header13)
package {
import src.*;
public dynamic class Header13 extends HeaderTaka {
}
}//package
Section 52
//header13center (header13center)
package {
import flash.display.*;
public dynamic class header13center extends MovieClip {
}
}//package
Section 53
//header13foot (header13foot)
package {
import flash.display.*;
public dynamic class header13foot extends MovieClip {
}
}//package
Section 54
//header13front (header13front)
package {
import flash.display.*;
public dynamic class header13front extends MovieClip {
}
}//package
Section 55
//header13hand (header13hand)
package {
import flash.display.*;
public dynamic class header13hand extends MovieClip {
}
}//package
Section 56
//header13shoulder (header13shoulder)
package {
import flash.display.*;
public dynamic class header13shoulder extends MovieClip {
}
}//package
Section 57
//header13sword (header13sword)
package {
import flash.display.*;
public dynamic class header13sword extends MovieClip {
}
}//package
Section 58
//header13wingtop (header13wingtop)
package {
import flash.display.*;
public dynamic class header13wingtop extends MovieClip {
}
}//package
Section 59
//header13wingtop2 (header13wingtop2)
package {
import flash.display.*;
public dynamic class header13wingtop2 extends MovieClip {
}
}//package
Section 60
//Header14 (Header14)
package {
import src.*;
public dynamic class Header14 extends HeaderCrow {
}
}//package
Section 61
//header14center (header14center)
package {
import flash.display.*;
public dynamic class header14center extends MovieClip {
}
}//package
Section 62
//header14foot (header14foot)
package {
import flash.display.*;
public dynamic class header14foot extends MovieClip {
}
}//package
Section 63
//header14front (header14front)
package {
import flash.display.*;
public dynamic class header14front extends MovieClip {
}
}//package
Section 64
//header14hand (header14hand)
package {
import flash.display.*;
public dynamic class header14hand extends MovieClip {
}
}//package
Section 65
//header14shoulder (header14shoulder)
package {
import flash.display.*;
public dynamic class header14shoulder extends MovieClip {
}
}//package
Section 66
//header14sword (header14sword)
package {
import flash.display.*;
public dynamic class header14sword extends MovieClip {
}
}//package
Section 67
//header14wingtop (header14wingtop)
package {
import flash.display.*;
public dynamic class header14wingtop extends MovieClip {
}
}//package
Section 68
//header14wingtop2 (header14wingtop2)
package {
import flash.display.*;
public dynamic class header14wingtop2 extends MovieClip {
}
}//package
Section 69
//header1center (header1center)
package {
import flash.display.*;
public dynamic class header1center extends MovieClip {
}
}//package
Section 70
//header1foot (header1foot)
package {
import flash.display.*;
public dynamic class header1foot extends MovieClip {
}
}//package
Section 71
//header1front (header1front)
package {
import flash.display.*;
public dynamic class header1front extends MovieClip {
}
}//package
Section 72
//header1hand (header1hand)
package {
import flash.display.*;
public dynamic class header1hand extends MovieClip {
}
}//package
Section 73
//header1shoulder (header1shoulder)
package {
import flash.display.*;
public dynamic class header1shoulder extends MovieClip {
}
}//package
Section 74
//header1sword (header1sword)
package {
import flash.display.*;
public dynamic class header1sword extends MovieClip {
}
}//package
Section 75
//header1wingtop (header1wingtop)
package {
import flash.display.*;
public dynamic class header1wingtop extends MovieClip {
}
}//package
Section 76
//Header2 (Header2)
package {
import src.*;
public dynamic class Header2 extends Header {
}
}//package
Section 77
//header2center (header2center)
package {
import flash.display.*;
public dynamic class header2center extends MovieClip {
}
}//package
Section 78
//header2foot (header2foot)
package {
import flash.display.*;
public dynamic class header2foot extends MovieClip {
}
}//package
Section 79
//header2front (header2front)
package {
import flash.display.*;
public dynamic class header2front extends MovieClip {
}
}//package
Section 80
//header2hand (header2hand)
package {
import flash.display.*;
public dynamic class header2hand extends MovieClip {
}
}//package
Section 81
//header2shoulder (header2shoulder)
package {
import flash.display.*;
public dynamic class header2shoulder extends MovieClip {
}
}//package
Section 82
//header2sword (header2sword)
package {
import flash.display.*;
public dynamic class header2sword extends MovieClip {
}
}//package
Section 83
//header2wingtop (header2wingtop)
package {
import flash.display.*;
public dynamic class header2wingtop extends MovieClip {
}
}//package
Section 84
//Header3 (Header3)
package {
import src.*;
public dynamic class Header3 extends Header {
}
}//package
Section 85
//header3center (header3center)
package {
import flash.display.*;
public dynamic class header3center extends MovieClip {
}
}//package
Section 86
//header3foot (header3foot)
package {
import flash.display.*;
public dynamic class header3foot extends MovieClip {
}
}//package
Section 87
//header3front (header3front)
package {
import flash.display.*;
public dynamic class header3front extends MovieClip {
}
}//package
Section 88
//header3hand (header3hand)
package {
import flash.display.*;
public dynamic class header3hand extends MovieClip {
}
}//package
Section 89
//header3shoulder (header3shoulder)
package {
import flash.display.*;
public dynamic class header3shoulder extends MovieClip {
}
}//package
Section 90
//header3sword (header3sword)
package {
import flash.display.*;
public dynamic class header3sword extends MovieClip {
}
}//package
Section 91
//header3wingtop (header3wingtop)
package {
import flash.display.*;
public dynamic class header3wingtop extends MovieClip {
}
}//package
Section 92
//Header4 (Header4)
package {
import src.*;
public dynamic class Header4 extends Header {
}
}//package
Section 93
//header4center (header4center)
package {
import flash.display.*;
public dynamic class header4center extends MovieClip {
}
}//package
Section 94
//header4foot (header4foot)
package {
import flash.display.*;
public dynamic class header4foot extends MovieClip {
}
}//package
Section 95
//header4front (header4front)
package {
import flash.display.*;
public dynamic class header4front extends MovieClip {
}
}//package
Section 96
//header4hand (header4hand)
package {
import flash.display.*;
public dynamic class header4hand extends MovieClip {
}
}//package
Section 97
//header4shoulder (header4shoulder)
package {
import flash.display.*;
public dynamic class header4shoulder extends MovieClip {
}
}//package
Section 98
//header4sword (header4sword)
package {
import flash.display.*;
public dynamic class header4sword extends MovieClip {
}
}//package
Section 99
//header4wingtop (header4wingtop)
package {
import flash.display.*;
public dynamic class header4wingtop extends MovieClip {
}
}//package
Section 100
//Header5 (Header5)
package {
import src.*;
public dynamic class Header5 extends Header {
}
}//package
Section 101
//header5center (header5center)
package {
import flash.display.*;
public dynamic class header5center extends MovieClip {
}
}//package
Section 102
//header5foot (header5foot)
package {
import flash.display.*;
public dynamic class header5foot extends MovieClip {
}
}//package
Section 103
//header5front (header5front)
package {
import flash.display.*;
public dynamic class header5front extends MovieClip {
}
}//package
Section 104
//header5hand (header5hand)
package {
import flash.display.*;
public dynamic class header5hand extends MovieClip {
}
}//package
Section 105
//header5shoulder (header5shoulder)
package {
import flash.display.*;
public dynamic class header5shoulder extends MovieClip {
}
}//package
Section 106
//header5sword (header5sword)
package {
import flash.display.*;
public dynamic class header5sword extends MovieClip {
}
}//package
Section 107
//header5wingtop (header5wingtop)
package {
import flash.display.*;
public dynamic class header5wingtop extends MovieClip {
}
}//package
Section 108
//Header6 (Header6)
package {
import src.*;
public dynamic class Header6 extends HeaderHammer {
}
}//package
Section 109
//header6center (header6center)
package {
import flash.display.*;
public dynamic class header6center extends MovieClip {
}
}//package
Section 110
//header6foot (header6foot)
package {
import flash.display.*;
public dynamic class header6foot extends MovieClip {
}
}//package
Section 111
//header6front (header6front)
package {
import flash.display.*;
public dynamic class header6front extends MovieClip {
}
}//package
Section 112
//header6hand (header6hand)
package {
import flash.display.*;
public dynamic class header6hand extends MovieClip {
}
}//package
Section 113
//header6shoulder (header6shoulder)
package {
import flash.display.*;
public dynamic class header6shoulder extends MovieClip {
}
}//package
Section 114
//header6sword (header6sword)
package {
import flash.display.*;
public dynamic class header6sword extends MovieClip {
}
}//package
Section 115
//header6wingtop (header6wingtop)
package {
import flash.display.*;
public dynamic class header6wingtop extends MovieClip {
}
}//package
Section 116
//Header7 (Header7)
package {
import src.*;
public dynamic class Header7 extends HeaderHammer {
}
}//package
Section 117
//header7center (header7center)
package {
import flash.display.*;
public dynamic class header7center extends MovieClip {
}
}//package
Section 118
//header7foot (header7foot)
package {
import flash.display.*;
public dynamic class header7foot extends MovieClip {
}
}//package
Section 119
//header7front (header7front)
package {
import flash.display.*;
public dynamic class header7front extends MovieClip {
}
}//package
Section 120
//header7hand (header7hand)
package {
import flash.display.*;
public dynamic class header7hand extends MovieClip {
}
}//package
Section 121
//header7shoulder (header7shoulder)
package {
import flash.display.*;
public dynamic class header7shoulder extends MovieClip {
}
}//package
Section 122
//header7sword (header7sword)
package {
import flash.display.*;
public dynamic class header7sword extends MovieClip {
}
}//package
Section 123
//header7wingtop (header7wingtop)
package {
import flash.display.*;
public dynamic class header7wingtop extends MovieClip {
}
}//package
Section 124
//Header8 (Header8)
package {
import src.*;
public dynamic class Header8 extends HeaderManta {
}
}//package
Section 125
//header8foot (header8foot)
package {
import flash.display.*;
public dynamic class header8foot extends MovieClip {
}
}//package
Section 126
//header8front (header8front)
package {
import flash.display.*;
public dynamic class header8front extends MovieClip {
}
}//package
Section 127
//header8hand (header8hand)
package {
import flash.display.*;
public dynamic class header8hand extends MovieClip {
}
}//package
Section 128
//header8shoulder (header8shoulder)
package {
import flash.display.*;
public dynamic class header8shoulder extends MovieClip {
}
}//package
Section 129
//header8shoulder2 (header8shoulder2)
package {
import flash.display.*;
public dynamic class header8shoulder2 extends MovieClip {
}
}//package
Section 130
//header8sword (header8sword)
package {
import flash.display.*;
public dynamic class header8sword extends MovieClip {
}
}//package
Section 131
//header8wingtop (header8wingtop)
package {
import flash.display.*;
public dynamic class header8wingtop extends MovieClip {
}
}//package
Section 132
//header8wingtop2 (header8wingtop2)
package {
import flash.display.*;
public dynamic class header8wingtop2 extends MovieClip {
}
}//package
Section 133
//Header9 (Header9)
package {
import src.*;
public dynamic class Header9 extends HeaderTyranno {
}
}//package
Section 134
//header9foot (header9foot)
package {
import flash.display.*;
public dynamic class header9foot extends MovieClip {
}
}//package
Section 135
//header9front (header9front)
package {
import flash.display.*;
public dynamic class header9front extends MovieClip {
}
}//package
Section 136
//header9hand (header9hand)
package {
import flash.display.*;
public dynamic class header9hand extends MovieClip {
}
}//package
Section 137
//header9shoulder (header9shoulder)
package {
import flash.display.*;
public dynamic class header9shoulder extends MovieClip {
}
}//package
Section 138
//header9sword (header9sword)
package {
import flash.display.*;
public dynamic class header9sword extends MovieClip {
}
}//package
Section 139
//header9wingtop (header9wingtop)
package {
import flash.display.*;
public dynamic class header9wingtop extends MovieClip {
}
}//package
Section 140
//Message1 (Message1)
package {
import flash.display.*;
public dynamic class Message1 extends MovieClip {
public var bg:MovieClip;
}
}//package
Section 141
//SE_change (SE_change)
package {
import flash.media.*;
public dynamic class SE_change extends Sound {
}
}//package
Section 142
//SE_headerClick (SE_headerClick)
package {
import flash.media.*;
public dynamic class SE_headerClick extends Sound {
}
}//package
Section 143
//SE_off2 (SE_off2)
package {
import flash.media.*;
public dynamic class SE_off2 extends Sound {
}
}//package
Section 144
//SE_on (SE_on)
package {
import flash.media.*;
public dynamic class SE_on extends Sound {
}
}//package
Section 145
//SE_pageBtn (SE_pageBtn)
package {
import flash.media.*;
public dynamic class SE_pageBtn extends Sound {
}
}//package
Section 146
//TxtTake (TxtTake)
package {
import flash.display.*;
public dynamic class TxtTake extends MovieClip {
}
}//package