Section 1
//AuxFunctions (caurina.transitions.AuxFunctions)
package caurina.transitions {
public class AuxFunctions {
public static function getObjectLength(_arg1:Object):uint{
var _local3:String;
var _local2:uint;
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 _local3:Object;
var _local5:String;
var _local2:Object = {};
var _local4:int;
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 2
//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 _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period;
var _local8:Number = (((!(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 = (((!(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 = (((!(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 = (((!(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 _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
var _local8:Number = (((!(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 _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
var _local8:Number = (((!(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 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj)
package caurina.transitions {
public class PropertyInfoObj {
public var modifierParameters:Array;
public var isSpecialProperty:Boolean;
public var valueComplete:Number;
public var modifierFunction:Function;
public var extra:Object;
public var valueStart:Number;
public var hasModifier:Boolean;
public var arrayIndex:Number;
public var originalValueComplete:Object;
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 = "\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 = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters);
return (_local1);
}
}
}//package caurina.transitions
Section 4
//SpecialProperty (caurina.transitions.SpecialProperty)
package caurina.transitions {
public class SpecialProperty {
public var parameters:Array;
public var getValue:Function;
public var preProcess:Function;
public var setValue: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 = "";
_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 5
//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 = "";
_local1 = (_local1 + "[SpecialPropertyModifier ");
_local1 = (_local1 + ("modifyValues:" + String(modifyValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 6
//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 = "";
_local1 = (_local1 + "[SpecialPropertySplitter ");
_local1 = (_local1 + ("splitValues:" + String(splitValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 7
//Tweener (caurina.transitions.Tweener)
package caurina.transitions {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
public class Tweener {
private static var _timeScale:Number = 1;
private static var _currentTimeFrame:Number;
private static var _specialPropertySplitterList:Object;
public static var autoOverwrite:Boolean = true;
private static var _engineExists:Boolean = false;
private static var _currentTime:Number;
private static var _tweenList:Array;
private static var _specialPropertyModifierList:Object;
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{
if (!_inited){
init();
};
var _local4:SpecialPropertyModifier = new SpecialPropertyModifier(_arg2, _arg3);
_specialPropertyModifierList[_arg1] = _local4;
}
public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{
if (!_inited){
init();
};
var _local6:SpecialProperty = 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 _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];
};
var _local5:Object = _arg2;
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
var _local6:Number = (isNaN(_local5.time)) ? 0 : _local5.time;
var _local7:Number = (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 _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_local2 = 0;
while (_local2 < _tweenList.length) {
pauseTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function removeTweens(_arg1:Object, ... _args):Boolean{
var _local4:uint;
var _local5:SpecialPropertySplitter;
var _local6:Array;
var _local7:uint;
var _local3:Array = 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 updateFrame():void{
_currentTimeFrame++;
}
public static function splitTweens(_arg1:Number, _arg2:Array):uint{
var _local5:uint;
var _local6:String;
var _local7:Boolean;
var _local3:TweenListObj = _tweenList[_arg1];
var _local4:TweenListObj = _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 resumeTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj = _tweenList[_arg1];
if ((((_local2 == null)) || (!(_local2.isPaused)))){
return (false);
};
var _local3:Number = 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.33.74");
}
public static function onEnterFrame(_arg1:Event):void{
updateTime();
updateFrame();
var _local2:Boolean;
_local2 = updateTweens();
if (!_local2){
stopEngine();
};
}
public static function updateTime():void{
_currentTime = getTimer();
}
private static function updateTweenByIndex(_arg1:Number):Boolean{
var tTweening:TweenListObj;
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 tProperty:Object;
var pv:Number;
var i = _arg1;
tTweening = _tweenList[i];
if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){
return (false);
};
var isOver:Boolean;
var cTime:Number = 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 _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_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 _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_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 _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];
};
var _local7:Object = TweenListObj.makePropertiesChain(_arg2);
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
var _local8:Number = (isNaN(_local7.time)) ? 0 : _local7.time;
var _local9:Number = (isNaN(_local7.delay)) ? 0 : _local7.delay;
var _local10:Array = new Array();
var _local11:Object = {overwrite:true, 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};
var _local12:Object = 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;
if (((_local7.overwrite == undefined)) ? autoOverwrite : _local7.overwrite){
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 _local5:uint;
var _local6:Array;
var _local7:uint;
var _local8:uint;
var _local9:uint;
var _local4:Boolean;
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;
if (!Boolean(_tweenList)){
return ([]);
};
var _local4:Array = 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 = _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;
if (!Boolean(_tweenList)){
return (0);
};
var _local3:Number = 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 removedLocally:Boolean;
var i:uint;
var pName:String;
var eventScope:Object;
var p_scope = _arg1;
var p_properties = _arg2;
var p_timeStart = _arg3;
var p_timeComplete = _arg4;
var removed:Boolean;
var tl:uint = _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{
if (!_inited){
init();
};
var _local4:SpecialPropertySplitter = 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 _local4:uint;
var _local3:Array = 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 _local4:uint;
var _local3:Array = 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 8
//TweenListObj (caurina.transitions.TweenListObj)
package caurina.transitions {
public class TweenListObj {
public var hasStarted:Boolean;
public var onUpdate:Function;
public var useFrames:Boolean;
public var count:Number;
public var onOverwriteParams:Array;
public var timeStart: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 isCaller:Boolean;
public var timePaused:Number;
public var transition:Function;
public var onCompleteParams:Array;
public var onError:Function;
public var timesCalled:Number;
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 _local3:String;
var _local2:TweenListObj = 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 _local3:String;
var _local1 = "\n[TweenListObj ";
_local1 = (_local1 + ("scope:" + String(scope)));
_local1 = (_local1 + ", properties:");
var _local2:Boolean;
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 _local3:Object;
var _local4:Object;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local2:Object = _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 9
//BitString (com.adobe.images.BitString)
package com.adobe.images {
public class BitString {
public var val:int;// = 0
public var len:int;// = 0
}
}//package com.adobe.images
Section 10
//JPGEncoder (com.adobe.images.JPGEncoder)
package com.adobe.images {
import flash.display.*;
import flash.utils.*;
import flash.geom.*;
public class JPGEncoder {
private var fdtbl_UV:Array;
private var std_ac_chrominance_values:Array;
private var std_dc_chrominance_values:Array;
private var ZigZag:Array;
private var YDC_HT:Array;
private var YAC_HT:Array;
private var bytenew:int;// = 0
private var fdtbl_Y:Array;
private var std_ac_chrominance_nrcodes:Array;
private var DU:Array;
private var std_ac_luminance_values:Array;
private var std_dc_chrominance_nrcodes:Array;
private var UVTable:Array;
private var YDU:Array;
private var UDU:Array;
private var byteout:ByteArray;
private var UVAC_HT:Array;
private var UVDC_HT:Array;
private var bytepos:int;// = 7
private var VDU:Array;
private var std_ac_luminance_nrcodes:Array;
private var std_dc_luminance_values:Array;
private var YTable:Array;
private var std_dc_luminance_nrcodes:Array;
private var bitcode:Array;
private var category:Array;
public function JPGEncoder(_arg1:Number=50){
this.ZigZag = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63];
this.YTable = new Array(64);
this.UVTable = new Array(64);
this.fdtbl_Y = new Array(64);
this.fdtbl_UV = new Array(64);
this.std_dc_luminance_nrcodes = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0];
this.std_dc_luminance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
this.std_ac_luminance_nrcodes = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125];
this.std_ac_luminance_values = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250];
this.std_dc_chrominance_nrcodes = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
this.std_dc_chrominance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
this.std_ac_chrominance_nrcodes = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119];
this.std_ac_chrominance_values = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
this.bitcode = new Array(0xFFFF);
this.category = new Array(0xFFFF);
this.DU = new Array(64);
this.YDU = new Array(64);
this.UDU = new Array(64);
this.VDU = new Array(64);
super();
if (_arg1 <= 0){
_arg1 = 1;
};
if (_arg1 > 100){
_arg1 = 100;
};
var _local2:int;
if (_arg1 < 50){
_local2 = int((5000 / _arg1));
} else {
_local2 = int((200 - (_arg1 * 2)));
};
this.initHuffmanTbl();
this.initCategoryNumber();
this.initQuantTables(_local2);
}
private function initHuffmanTbl():void{
this.YDC_HT = this.computeHuffmanTbl(this.std_dc_luminance_nrcodes, this.std_dc_luminance_values);
this.UVDC_HT = this.computeHuffmanTbl(this.std_dc_chrominance_nrcodes, this.std_dc_chrominance_values);
this.YAC_HT = this.computeHuffmanTbl(this.std_ac_luminance_nrcodes, this.std_ac_luminance_values);
this.UVAC_HT = this.computeHuffmanTbl(this.std_ac_chrominance_nrcodes, this.std_ac_chrominance_values);
}
private function RGB2YUV(_arg1:BitmapData, _arg2:int, _arg3:int):void{
var _local6:int;
var _local7:uint;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local4:int;
var _local5:int;
while (_local5 < 8) {
_local6 = 0;
while (_local6 < 8) {
_local7 = _arg1.getPixel32((_arg2 + _local6), (_arg3 + _local5));
_local8 = Number(((_local7 >> 16) & 0xFF));
_local9 = Number(((_local7 >> 8) & 0xFF));
_local10 = Number((_local7 & 0xFF));
this.YDU[_local4] = ((((0.299 * _local8) + (0.587 * _local9)) + (0.114 * _local10)) - 128);
this.UDU[_local4] = (((-0.16874 * _local8) + (-0.33126 * _local9)) + (0.5 * _local10));
this.VDU[_local4] = (((0.5 * _local8) + (-0.41869 * _local9)) + (-0.08131 * _local10));
_local4++;
_local6++;
};
_local5++;
};
}
private function writeBits(_arg1:BitString):void{
var _local2:int = _arg1.val;
var _local3:int = (_arg1.len - 1);
while (_local3 >= 0) {
if ((_local2 & uint((1 << _local3)))){
this.bytenew = (this.bytenew | uint((1 << this.bytepos)));
};
_local3--;
this.bytepos--;
if (this.bytepos < 0){
if (this.bytenew == 0xFF){
this.writeByte(0xFF);
this.writeByte(0);
} else {
this.writeByte(this.bytenew);
};
this.bytepos = 7;
this.bytenew = 0;
};
};
}
private function writeWord(_arg1:int):void{
this.writeByte(((_arg1 >> 8) & 0xFF));
this.writeByte((_arg1 & 0xFF));
}
private function writeByte(_arg1:int):void{
this.byteout.writeByte(_arg1);
}
private function writeDHT():void{
var _local1:int;
this.writeWord(65476);
this.writeWord(418);
this.writeByte(0);
_local1 = 0;
while (_local1 < 16) {
this.writeByte(this.std_dc_luminance_nrcodes[(_local1 + 1)]);
_local1++;
};
_local1 = 0;
while (_local1 <= 11) {
this.writeByte(this.std_dc_luminance_values[_local1]);
_local1++;
};
this.writeByte(16);
_local1 = 0;
while (_local1 < 16) {
this.writeByte(this.std_ac_luminance_nrcodes[(_local1 + 1)]);
_local1++;
};
_local1 = 0;
while (_local1 <= 161) {
this.writeByte(this.std_ac_luminance_values[_local1]);
_local1++;
};
this.writeByte(1);
_local1 = 0;
while (_local1 < 16) {
this.writeByte(this.std_dc_chrominance_nrcodes[(_local1 + 1)]);
_local1++;
};
_local1 = 0;
while (_local1 <= 11) {
this.writeByte(this.std_dc_chrominance_values[_local1]);
_local1++;
};
this.writeByte(17);
_local1 = 0;
while (_local1 < 16) {
this.writeByte(this.std_ac_chrominance_nrcodes[(_local1 + 1)]);
_local1++;
};
_local1 = 0;
while (_local1 <= 161) {
this.writeByte(this.std_ac_chrominance_values[_local1]);
_local1++;
};
}
public function encode(_arg1:BitmapData):ByteArray{
var _local6:int;
var _local7:BitString;
this.byteout = new ByteArray();
this.bytenew = 0;
this.bytepos = 7;
this.writeWord(65496);
this.writeAPP0();
this.writeDQT();
this.writeSOF0(_arg1.width, _arg1.height);
this.writeDHT();
this.writeSOS();
var _local2:Number = 0;
var _local3:Number = 0;
var _local4:Number = 0;
this.bytenew = 0;
this.bytepos = 7;
var _local5:int;
while (_local5 < _arg1.height) {
_local6 = 0;
while (_local6 < _arg1.width) {
this.RGB2YUV(_arg1, _local6, _local5);
_local2 = this.processDU(this.YDU, this.fdtbl_Y, _local2, this.YDC_HT, this.YAC_HT);
_local3 = this.processDU(this.UDU, this.fdtbl_UV, _local3, this.UVDC_HT, this.UVAC_HT);
_local4 = this.processDU(this.VDU, this.fdtbl_UV, _local4, this.UVDC_HT, this.UVAC_HT);
_local6 = (_local6 + 8);
};
_local5 = (_local5 + 8);
};
if (this.bytepos >= 0){
_local7 = new BitString();
_local7.len = (this.bytepos + 1);
_local7.val = ((1 << (this.bytepos + 1)) - 1);
this.writeBits(_local7);
};
this.writeWord(65497);
return (this.byteout);
}
private function initCategoryNumber():void{
var _local3:int;
var _local1 = 1;
var _local2 = 2;
var _local4 = 1;
while (_local4 <= 15) {
_local3 = _local1;
while (_local3 < _local2) {
this.category[(32767 + _local3)] = _local4;
this.bitcode[(32767 + _local3)] = new BitString();
this.bitcode[(32767 + _local3)].len = _local4;
this.bitcode[(32767 + _local3)].val = _local3;
_local3++;
};
_local3 = -((_local2 - 1));
while (_local3 <= -(_local1)) {
this.category[(32767 + _local3)] = _local4;
this.bitcode[(32767 + _local3)] = new BitString();
this.bitcode[(32767 + _local3)].len = _local4;
this.bitcode[(32767 + _local3)].val = ((_local2 - 1) + _local3);
_local3++;
};
_local1 = (_local1 << 1);
_local2 = (_local2 << 1);
_local4++;
};
}
private function writeDQT():void{
var _local1:int;
this.writeWord(65499);
this.writeWord(132);
this.writeByte(0);
_local1 = 0;
while (_local1 < 64) {
this.writeByte(this.YTable[_local1]);
_local1++;
};
this.writeByte(1);
_local1 = 0;
while (_local1 < 64) {
this.writeByte(this.UVTable[_local1]);
_local1++;
};
}
private function writeAPP0():void{
this.writeWord(65504);
this.writeWord(16);
this.writeByte(74);
this.writeByte(70);
this.writeByte(73);
this.writeByte(70);
this.writeByte(0);
this.writeByte(1);
this.writeByte(1);
this.writeByte(0);
this.writeWord(1);
this.writeWord(1);
this.writeByte(0);
this.writeByte(0);
}
private function writeSOS():void{
this.writeWord(65498);
this.writeWord(12);
this.writeByte(3);
this.writeByte(1);
this.writeByte(0);
this.writeByte(2);
this.writeByte(17);
this.writeByte(3);
this.writeByte(17);
this.writeByte(0);
this.writeByte(63);
this.writeByte(0);
}
private function processDU(_arg1:Array, _arg2:Array, _arg3:Number, _arg4:Array, _arg5:Array):Number{
var _local8:int;
var _local12:int;
var _local13:int;
var _local14:int;
var _local6:BitString = _arg5[0];
var _local7:BitString = _arg5[240];
var _local9:Array = this.fDCTQuant(_arg1, _arg2);
_local8 = 0;
while (_local8 < 64) {
this.DU[this.ZigZag[_local8]] = _local9[_local8];
_local8++;
};
var _local10:int = (this.DU[0] - _arg3);
_arg3 = this.DU[0];
if (_local10 == 0){
this.writeBits(_arg4[0]);
} else {
this.writeBits(_arg4[this.category[(32767 + _local10)]]);
this.writeBits(this.bitcode[(32767 + _local10)]);
};
var _local11 = 63;
while ((((_local11 > 0)) && ((this.DU[_local11] == 0)))) {
_local11--;
};
if (_local11 == 0){
this.writeBits(_local6);
return (_arg3);
};
_local8 = 1;
while (_local8 <= _local11) {
_local12 = _local8;
while ((((this.DU[_local8] == 0)) && ((_local8 <= _local11)))) {
_local8++;
};
_local13 = (_local8 - _local12);
if (_local13 >= 16){
_local14 = 1;
while (_local14 <= (_local13 / 16)) {
this.writeBits(_local7);
_local14++;
};
_local13 = int((_local13 & 15));
};
this.writeBits(_arg5[((_local13 * 16) + this.category[(32767 + this.DU[_local8])])]);
this.writeBits(this.bitcode[(32767 + this.DU[_local8])]);
_local8++;
};
if (_local11 != 63){
this.writeBits(_local6);
};
return (_arg3);
}
private function initQuantTables(_arg1:int):void{
var _local2:int;
var _local3:Number;
var _local8:int;
var _local4:Array = [16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55, 14, 13, 16, 24, 40, 57, 69, 56, 14, 17, 22, 29, 51, 87, 80, 62, 18, 22, 37, 56, 68, 109, 103, 77, 24, 35, 55, 64, 81, 104, 113, 92, 49, 64, 78, 87, 103, 121, 120, 101, 72, 92, 95, 98, 112, 100, 103, 99];
_local2 = 0;
while (_local2 < 64) {
_local3 = Math.floor((((_local4[_local2] * _arg1) + 50) / 100));
if (_local3 < 1){
_local3 = 1;
} else {
if (_local3 > 0xFF){
_local3 = 0xFF;
};
};
this.YTable[this.ZigZag[_local2]] = _local3;
_local2++;
};
var _local5:Array = [17, 18, 24, 47, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99, 24, 26, 56, 99, 99, 99, 99, 99, 47, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99];
_local2 = 0;
while (_local2 < 64) {
_local3 = Math.floor((((_local5[_local2] * _arg1) + 50) / 100));
if (_local3 < 1){
_local3 = 1;
} else {
if (_local3 > 0xFF){
_local3 = 0xFF;
};
};
this.UVTable[this.ZigZag[_local2]] = _local3;
_local2++;
};
var _local6:Array = [1, 1.387039845, 1.306562965, 1.175875602, 1, 0.785694958, 0.5411961, 0.275899379];
_local2 = 0;
var _local7:int;
while (_local7 < 8) {
_local8 = 0;
while (_local8 < 8) {
this.fdtbl_Y[_local2] = (1 / (((this.YTable[this.ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8));
this.fdtbl_UV[_local2] = (1 / (((this.UVTable[this.ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8));
_local2++;
_local8++;
};
_local7++;
};
}
private function writeSOF0(_arg1:int, _arg2:int):void{
this.writeWord(65472);
this.writeWord(17);
this.writeByte(8);
this.writeWord(_arg2);
this.writeWord(_arg1);
this.writeByte(3);
this.writeByte(1);
this.writeByte(17);
this.writeByte(0);
this.writeByte(2);
this.writeByte(17);
this.writeByte(1);
this.writeByte(3);
this.writeByte(17);
this.writeByte(1);
}
private function computeHuffmanTbl(_arg1:Array, _arg2:Array):Array{
var _local7:int;
var _local3:int;
var _local4:int;
var _local5:Array = new Array();
var _local6 = 1;
while (_local6 <= 16) {
_local7 = 1;
while (_local7 <= _arg1[_local6]) {
_local5[_arg2[_local4]] = new BitString();
_local5[_arg2[_local4]].val = _local3;
_local5[_arg2[_local4]].len = _local6;
_local4++;
_local3++;
_local7++;
};
_local3 = (_local3 * 2);
_local6++;
};
return (_local5);
}
private function fDCTQuant(_arg1:Array, _arg2:Array):Array{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:int;
var _local23:int;
_local22 = 0;
while (_local22 < 8) {
_local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 7)]);
_local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 7)]);
_local4 = (_arg1[(_local23 + 1)] + _arg1[(_local23 + 6)]);
_local9 = (_arg1[(_local23 + 1)] - _arg1[(_local23 + 6)]);
_local5 = (_arg1[(_local23 + 2)] + _arg1[(_local23 + 5)]);
_local8 = (_arg1[(_local23 + 2)] - _arg1[(_local23 + 5)]);
_local6 = (_arg1[(_local23 + 3)] + _arg1[(_local23 + 4)]);
_local7 = (_arg1[(_local23 + 3)] - _arg1[(_local23 + 4)]);
_local11 = (_local3 + _local6);
_local14 = (_local3 - _local6);
_local12 = (_local4 + _local5);
_local13 = (_local4 - _local5);
_arg1[(_local23 + 0)] = (_local11 + _local12);
_arg1[(_local23 + 4)] = (_local11 - _local12);
_local15 = ((_local13 + _local14) * 0.707106781);
_arg1[(_local23 + 2)] = (_local14 + _local15);
_arg1[(_local23 + 6)] = (_local14 - _local15);
_local11 = (_local7 + _local8);
_local12 = (_local8 + _local9);
_local13 = (_local9 + _local10);
_local19 = ((_local11 - _local13) * 0.382683433);
_local16 = ((0.5411961 * _local11) + _local19);
_local18 = ((1.306562965 * _local13) + _local19);
_local17 = (_local12 * 0.707106781);
_local20 = (_local10 + _local17);
_local21 = (_local10 - _local17);
_arg1[(_local23 + 5)] = (_local21 + _local16);
_arg1[(_local23 + 3)] = (_local21 - _local16);
_arg1[(_local23 + 1)] = (_local20 + _local18);
_arg1[(_local23 + 7)] = (_local20 - _local18);
_local23 = (_local23 + 8);
_local22++;
};
_local23 = 0;
_local22 = 0;
while (_local22 < 8) {
_local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 56)]);
_local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 56)]);
_local4 = (_arg1[(_local23 + 8)] + _arg1[(_local23 + 48)]);
_local9 = (_arg1[(_local23 + 8)] - _arg1[(_local23 + 48)]);
_local5 = (_arg1[(_local23 + 16)] + _arg1[(_local23 + 40)]);
_local8 = (_arg1[(_local23 + 16)] - _arg1[(_local23 + 40)]);
_local6 = (_arg1[(_local23 + 24)] + _arg1[(_local23 + 32)]);
_local7 = (_arg1[(_local23 + 24)] - _arg1[(_local23 + 32)]);
_local11 = (_local3 + _local6);
_local14 = (_local3 - _local6);
_local12 = (_local4 + _local5);
_local13 = (_local4 - _local5);
_arg1[(_local23 + 0)] = (_local11 + _local12);
_arg1[(_local23 + 32)] = (_local11 - _local12);
_local15 = ((_local13 + _local14) * 0.707106781);
_arg1[(_local23 + 16)] = (_local14 + _local15);
_arg1[(_local23 + 48)] = (_local14 - _local15);
_local11 = (_local7 + _local8);
_local12 = (_local8 + _local9);
_local13 = (_local9 + _local10);
_local19 = ((_local11 - _local13) * 0.382683433);
_local16 = ((0.5411961 * _local11) + _local19);
_local18 = ((1.306562965 * _local13) + _local19);
_local17 = (_local12 * 0.707106781);
_local20 = (_local10 + _local17);
_local21 = (_local10 - _local17);
_arg1[(_local23 + 40)] = (_local21 + _local16);
_arg1[(_local23 + 24)] = (_local21 - _local16);
_arg1[(_local23 + 8)] = (_local20 + _local18);
_arg1[(_local23 + 56)] = (_local20 - _local18);
_local23++;
_local22++;
};
_local22 = 0;
while (_local22 < 64) {
_arg1[_local22] = Math.round((_arg1[_local22] * _arg2[_local22]));
_local22++;
};
return (_arg1);
}
}
}//package com.adobe.images
Section 11
//7k7kmc_326 (the_fla.7k7kmc_326)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class 7k7kmc_326 extends MovieClip {
public function 7k7kmc_326(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.7k7k.com/"), "blank");
}
}
}//package the_fla
Section 12
//ababmc_363 (the_fla.ababmc_363)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class ababmc_363 extends MovieClip {
public function ababmc_363(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.abab.com/"), "blank");
}
}
}//package the_fla
Section 13
//bonniegamesLOGO_304 (the_fla.bonniegamesLOGO_304)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class bonniegamesLOGO_304 extends MovieClip {
public function bonniegamesLOGO_304(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.bonniegames.com/"), "blank");
}
}
}//package the_fla
Section 14
//branding_341 (the_fla.branding_341)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class branding_341 extends MovieClip {
public var branding_def:MovieClip;
public var h:int;
public var context:LoaderContext;
public var loader:Loader;
public var url:String;
public var w:int;
public function branding_341(){
addFrameScript(0, frame1);
}
public function success(_arg1:Event):void{
var _local2:MovieClip = MovieClip(_arg1.target.content);
if (contains(branding_def)){
removeChild(branding_def);
};
var _local3:* = (w / _local2.loaderInfo.width);
var _local4:* = (h / _local2.loaderInfo.height);
addChild(this.scaleToFit(_local2, (_local2.width * _local3), (_local2.height * _local4)));
}
function frame1(){
if (((!((MovieClip(root).partner === undefined))) && ((MovieClip(root).partner == "gamesxl")))){
try {
Security.allowDomain("*");
url = "http://media.admeen.com/branding/branding02.swf";
w = 180;
h = 100;
branding_def.addEventListener(MouseEvent.CLICK, onClickHandler);
branding_def.buttonMode = true;
branding_def.useHandCursor = true;
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, success);
if (Security.sandboxType != "localWithFile"){
if (Security.sandboxType == Security.REMOTE){
context = new LoaderContext();
context.securityDomain = SecurityDomain.currentDomain;
loader.load(new URLRequest(url), context);
} else {
loader.load(new URLRequest(url));
};
};
} catch(error:Error) {
};
};
}
public function scaleToFit(_arg1:MovieClip, _arg2:int, _arg3:int):MovieClip{
_arg3 = ((_arg3 == 0)) ? _arg2 : _arg3;
_arg1.width = _arg2;
_arg1.height = _arg3;
if ((_arg1.scaleX < _arg1.scaleY)){
_arg1.scaleY = _arg1.scaleX;
} else {
_arg1.scaleX = _arg1.scaleY;
};
return (_arg1);
}
public function onClickHandler(_arg1:MouseEvent){
var event = _arg1;
var variables:URLVariables = new URLVariables();
variables.lng = Capabilities.language;
var request:URLRequest = new URLRequest("http://media.admeen.com/branding/forward.php");
request.data = variables;
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace("Error: ");
};
}
}
}//package the_fla
Section 15
//dailygamescommc_310 (the_fla.dailygamescommc_310)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class dailygamescommc_310 extends MovieClip {
public var dailygames:SimpleButton;
public function dailygamescommc_310(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
var _local2:* = "http://www.dailygames.com";
navigateToURL(new URLRequest(_local2), "blank");
}
}
}//package the_fla
Section 16
//didigames_333 (the_fla.didigames_333)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class didigames_333 extends MovieClip {
public function didigames_333(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.didigames.com"), "blank");
}
}
}//package the_fla
Section 17
//dressupgames_335 (the_fla.dressupgames_335)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class dressupgames_335 extends MovieClip {
public function dressupgames_335(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.dressupgames.com"), "blank");
}
}
}//package the_fla
Section 18
//dressupgirlnet_338 (the_fla.dressupgirlnet_338)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class dressupgirlnet_338 extends MovieClip {
public function dressupgirlnet_338(){
addFrameScript(0, frame1);
}
public function hand_logoOut(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
_local2.buttonMode = false;
this.gotoAndStop(1);
}
function frame1(){
this.gotoAndStop(1);
this.addEventListener(MouseEvent.ROLL_OVER, hand_logoOver);
this.addEventListener(MouseEvent.ROLL_OUT, hand_logoOut);
this.addEventListener(MouseEvent.CLICK, hand_logoClick);
}
public function hand_logoClick(_arg1:MouseEvent):void{
var _local2:URLRequest = new URLRequest("http://www.dressupgirl.net");
navigateToURL(_local2, "_new");
}
public function hand_logoOver(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
_local2.buttonMode = true;
this.gotoAndStop(2);
}
}
}//package the_fla
Section 19
//DressuponepreloaderMovieClip_8 (the_fla.DressuponepreloaderMovieClip_8)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class DressuponepreloaderMovieClip_8 extends MovieClip {
public var logo_btn:SimpleButton;
public function DressuponepreloaderMovieClip_8(){
addFrameScript(0, frame1, 287, frame288);
}
function frame1(){
logo_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).gogames);
}
function frame288(){
stop();
}
}
}//package the_fla
Section 20
//EL_18430_6581_169 (the_fla.EL_18430_6581_169)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class EL_18430_6581_169 extends MovieClip {
public var logo_btn:SimpleButton;
public function EL_18430_6581_169(){
addFrameScript(0, frame1);
}
function frame1(){
logo_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).gogames);
}
}
}//package the_fla
Section 21
//EL_3242_5134_123 (the_fla.EL_3242_5134_123)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class EL_3242_5134_123 extends MovieClip {
public var play_btn:SimpleButton;
public var more_btn:SimpleButton;
public function EL_3242_5134_123(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
more_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).gogames);
play_btn.addEventListener(MouseEvent.CLICK, playscene);
}
public function playscene(_arg1:MouseEvent){
more_btn.removeEventListener(MouseEvent.CLICK, MovieClip(root).gogames);
play_btn.removeEventListener(MouseEvent.CLICK, playscene);
MovieClip(root).play();
}
}
}//package the_fla
Section 22
//EL_4125_2971_190 (the_fla.EL_4125_2971_190)
package the_fla {
import flash.display.*;
public dynamic class EL_4125_2971_190 extends MovieClip {
public function EL_4125_2971_190(){
addFrameScript(49, frame50);
}
function frame50(){
stop();
}
}
}//package the_fla
Section 23
//EL_4955_6567_198 (the_fla.EL_4955_6567_198)
package the_fla {
import flash.display.*;
public dynamic class EL_4955_6567_198 extends MovieClip {
public function EL_4955_6567_198(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package the_fla
Section 24
//EL_5568_9855_202 (the_fla.EL_5568_9855_202)
package the_fla {
import flash.display.*;
public dynamic class EL_5568_9855_202 extends MovieClip {
public function EL_5568_9855_202(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package the_fla
Section 25
//EL_6199_4017_281 (the_fla.EL_6199_4017_281)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class EL_6199_4017_281 extends MovieClip {
public var logo_btn:SimpleButton;
public function EL_6199_4017_281(){
addFrameScript(0, frame1);
}
function frame1(){
logo_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).faceT);
}
}
}//package the_fla
Section 26
//EL_665_3110_162 (the_fla.EL_665_3110_162)
package the_fla {
import flash.display.*;
public dynamic class EL_665_3110_162 extends MovieClip {
public function EL_665_3110_162(){
addFrameScript(2, frame3);
}
function frame3(){
gotoAndStop(1);
}
}
}//package the_fla
Section 27
//EL_8199_5927_71 (the_fla.EL_8199_5927_71)
package the_fla {
import flash.display.*;
public dynamic class EL_8199_5927_71 extends MovieClip {
public function EL_8199_5927_71(){
addFrameScript(49, frame50);
}
function frame50(){
stop();
}
}
}//package the_fla
Section 28
//EL_8922_3460_224 (the_fla.EL_8922_3460_224)
package the_fla {
import flash.display.*;
public dynamic class EL_8922_3460_224 extends MovieClip {
public function EL_8922_3460_224(){
addFrameScript(119, frame120);
}
function frame120(){
gotoAndPlay("move");
}
}
}//package the_fla
Section 29
//EL_8982_9988_30 (the_fla.EL_8982_9988_30)
package the_fla {
import flash.display.*;
public dynamic class EL_8982_9988_30 extends MovieClip {
public function EL_8982_9988_30(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package the_fla
Section 30
//EL_9085_5926_226 (the_fla.EL_9085_5926_226)
package the_fla {
import flash.display.*;
public dynamic class EL_9085_5926_226 extends MovieClip {
public function EL_9085_5926_226(){
addFrameScript(119, frame120);
}
function frame120(){
gotoAndPlay("move");
}
}
}//package the_fla
Section 31
//EL_9173_1698_227 (the_fla.EL_9173_1698_227)
package the_fla {
import flash.display.*;
public dynamic class EL_9173_1698_227 extends MovieClip {
public function EL_9173_1698_227(){
addFrameScript(121, frame122);
}
function frame122(){
gotoAndPlay("move");
}
}
}//package the_fla
Section 32
//EL_9272_2730_228 (the_fla.EL_9272_2730_228)
package the_fla {
import flash.display.*;
public dynamic class EL_9272_2730_228 extends MovieClip {
public function EL_9272_2730_228(){
addFrameScript(119, frame120);
}
function frame120(){
gotoAndPlay("move");
}
}
}//package the_fla
Section 33
//EL_9377_1905_229 (the_fla.EL_9377_1905_229)
package the_fla {
import flash.display.*;
public dynamic class EL_9377_1905_229 extends MovieClip {
public function EL_9377_1905_229(){
addFrameScript(119, frame120);
}
function frame120(){
gotoAndPlay("move");
}
}
}//package the_fla
Section 34
//EL_9459_8585_230 (the_fla.EL_9459_8585_230)
package the_fla {
import flash.display.*;
public dynamic class EL_9459_8585_230 extends MovieClip {
public function EL_9459_8585_230(){
addFrameScript(120, frame121);
}
function frame121(){
gotoAndPlay("move");
}
}
}//package the_fla
Section 35
//EL_9524_1869_34 (the_fla.EL_9524_1869_34)
package the_fla {
import flash.display.*;
public dynamic class EL_9524_1869_34 extends MovieClip {
public function EL_9524_1869_34(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package the_fla
Section 36
//EL_9557_1525_231 (the_fla.EL_9557_1525_231)
package the_fla {
import flash.display.*;
public dynamic class EL_9557_1525_231 extends MovieClip {
public function EL_9557_1525_231(){
addFrameScript(119, frame120);
}
function frame120(){
gotoAndPlay("move");
}
}
}//package the_fla
Section 37
//EL_9610_2684_232 (the_fla.EL_9610_2684_232)
package the_fla {
import flash.display.*;
public dynamic class EL_9610_2684_232 extends MovieClip {
public function EL_9610_2684_232(){
addFrameScript(119, frame120);
}
function frame120(){
gotoAndPlay("move");
}
}
}//package the_fla
Section 38
//fas1d_288 (the_fla.fas1d_288)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class fas1d_288 extends MovieClip {
public function fas1d_288(){
addFrameScript(0, frame1);
}
public function hand_logoOut(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
_local2.buttonMode = false;
}
function frame1(){
this.addEventListener(MouseEvent.ROLL_OVER, hand_logoOver);
this.addEventListener(MouseEvent.ROLL_OUT, hand_logoOut);
this.addEventListener(MouseEvent.CLICK, hand_logoClick);
stop();
}
public function hand_logoClick(_arg1:MouseEvent):void{
var _local2:URLRequest = new URLRequest("http://www.bowbie.com/");
navigateToURL(_local2, "_new");
}
public function hand_logoOver(_arg1:MouseEvent):void{
var _local2:MovieClip = (_arg1.currentTarget as MovieClip);
_local2.buttonMode = true;
}
}
}//package the_fla
Section 39
//fffff_302 (the_fla.fffff_302)
package the_fla {
import flash.display.*;
public dynamic class fffff_302 extends MovieClip {
public function fffff_302(){
addFrameScript(10, frame11);
}
function frame11(){
}
}
}//package the_fla
Section 40
//girlgames4unewmovieclip_285 (the_fla.girlgames4unewmovieclip_285)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class girlgames4unewmovieclip_285 extends MovieClip {
public function girlgames4unewmovieclip_285(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.girlgames4u.com"), "blank");
}
}
}//package the_fla
Section 41
//hotgamesforgirls_mc_324 (the_fla.hotgamesforgirls_mc_324)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class hotgamesforgirls_mc_324 extends MovieClip {
public var logo_btn:SimpleButton;
public function hotgamesforgirls_mc_324(){
addFrameScript(0, frame1);
}
public function linkHandler(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.hotgamesforgirls.com/"), "_blank");
}
function frame1(){
logo_btn.addEventListener(MouseEvent.CLICK, linkHandler);
}
}
}//package the_fla
Section 42
//igirlsgames_312 (the_fla.igirlsgames_312)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class igirlsgames_312 extends MovieClip {
public function igirlsgames_312(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.igirlsgames.com/"), "blank");
}
}
}//package the_fla
Section 43
//igirlsgames_logo_317 (the_fla.igirlsgames_logo_317)
package the_fla {
import flash.display.*;
public dynamic class igirlsgames_logo_317 extends MovieClip {
public function igirlsgames_logo_317(){
addFrameScript(142, frame143);
}
function frame143(){
gotoAndPlay(44);
}
}
}//package the_fla
Section 44
//igirlsgames_logo_319 (the_fla.igirlsgames_logo_319)
package the_fla {
import flash.display.*;
public dynamic class igirlsgames_logo_319 extends MovieClip {
public function igirlsgames_logo_319(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package the_fla
Section 45
//igirlsgames_logo_321 (the_fla.igirlsgames_logo_321)
package the_fla {
import flash.display.*;
public dynamic class igirlsgames_logo_321 extends MovieClip {
public function igirlsgames_logo_321(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package the_fla
Section 46
//jogos10_mc_365 (the_fla.jogos10_mc_365)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class jogos10_mc_365 extends MovieClip {
public function jogos10_mc_365(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.jogos10.com/"), "blank");
}
}
}//package the_fla
Section 47
//jogosbr_334 (the_fla.jogosbr_334)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class jogosbr_334 extends MovieClip {
public function jogosbr_334(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.jogosbr.net"), "blank");
}
}
}//package the_fla
Section 48
//juegos10_mc_366 (the_fla.juegos10_mc_366)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class juegos10_mc_366 extends MovieClip {
public function juegos10_mc_366(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.juegos10.com/"), "blank");
}
}
}//package the_fla
Section 49
//kibagames_mc2_367 (the_fla.kibagames_mc2_367)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class kibagames_mc2_367 extends MovieClip {
public function kibagames_mc2_367(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.kraloyun.com/"), "blank");
}
}
}//package the_fla
Section 50
//kibagames_mc3_368 (the_fla.kibagames_mc3_368)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class kibagames_mc3_368 extends MovieClip {
public function kibagames_mc3_368(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.spielaffe.de/"), "blank");
}
}
}//package the_fla
Section 51
//kibagamestext_361 (the_fla.kibagamestext_361)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class kibagamestext_361 extends MovieClip {
public function kibagamestext_361(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.kibagames.com/"), "blank");
}
}
}//package the_fla
Section 52
//koyuncu_336 (the_fla.koyuncu_336)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class koyuncu_336 extends MovieClip {
public var minikoyuncu:SimpleButton;
public function koyuncu_336(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.minikoyuncu.net"), "blank");
}
}
}//package the_fla
Section 53
//logo_330 (the_fla.logo_330)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class logo_330 extends MovieClip {
public function logo_330(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.noelia.com/"), "blank");
}
}
}//package the_fla
Section 54
//LogoGG4U_286 (the_fla.LogoGG4U_286)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class LogoGG4U_286 extends MovieClip {
public function LogoGG4U_286(){
addFrameScript(0, frame1);
}
function frame1(){
this.buttonMode = true;
this.addEventListener(MouseEvent.ROLL_OUT, outGG4U);
this.addEventListener(MouseEvent.ROLL_OVER, overGG4U);
this.isx = this.scaleX;
this.isy = this.scaleY;
}
public function overGG4U(_arg1:MouseEvent){
this.scaleX = (this.scaleX + 0.1);
this.scaleY = (this.scaleY + 0.1);
}
public function outGG4U(_arg1:MouseEvent){
this.scaleX = this.isx;
this.scaleY = this.isy;
}
}
}//package the_fla
Section 55
//MainTimeline (the_fla.MainTimeline)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import caurina.transitions.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var porcentaje:Number;
public var replay_btn:SimpleButton;
public var more_btn1:SimpleButton;
public var back_btn:SimpleButton;
public var currentColorNum;
public var peso:Number;
public var my_menu:ContextMenu;
public var teacher_mc:MovieClip;
public var minute:int;
public var girl_mc:MovieClip;
public var timeControlId:int;
public var asasas;
public var oldX:Number;
public var oldY:Number;
public var strSecond:String;
public var countFlag:int;
public var hbbFlag:int;
public var volumeSize:Number;
public var loadDelay:int;
public var Alpha:Number;
public var strength:Number;
public var ticker:Timer;
public var sf:Boolean;
public var inner:Boolean;
public var clickFlag:Boolean;
public var sbFlag:int;
public var help_btn:SimpleButton;
public var delayporcen:Number;
public var Loader_txt:TextField;
public var snd:btnSound;
public var timeTxt:TextField;
public var delaycount:int;
public var loadbar:MovieClip;
public var o:Object;
public var p:MovieClip;
public var color:Number;
public var hbFlag2:Boolean;
public var filter:GlowFilter;
public var more_btn:SimpleButton;
public var second:int;
public var scoreTxt:TextField;
public var menu_btn:SimpleButton;
public var sb_mc:MovieClip;
public var timeEach1:int;
public var hbFlag3:Boolean;
public var failTFlag:Boolean;
public var score:int;
public var sleepS:sleepSound;
public var intervalID1:int;
public var frameFlag:int;
public var bt_mc:MovieClip;
public var strMinute:String;
public var hbFlag:int;
public var carga:Number;
public var scaleX1;
public var myChannel:SoundChannel;
public var wp_mc:MovieClip;
public var hFlag1:Boolean;
public var hFlag2:Boolean;
public var teacherS:teacherSound;
public var filterArray:Array;
public var scaleY1;
public var mymp3:bg_sound;
public var isDown1:Boolean;
public var logo_btn:SimpleButton;
public var my_notice;
public var apiLoader:URLLoader;
public var hFlag3:Boolean;
public var hbFlag1:Boolean;
public var play_btn:SimpleButton;
public var blurY:Number;
public var framerate:Number;
public var filterclear:Array;
public var partner:String;
public var kissS:kissSound;
public var moveFlag:int;
public var timeNum1:int;
public var blurX:Number;
public var fw:Sprite;
public var linesize:uint;
public var music_mc:MovieClip;
public var knockout:Boolean;
public var quality:Number;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
public function randRange(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1);
return (_local3);
}
public function onTick(_arg1:TimerEvent):void{
var event = _arg1;
try {
if (MovieClip(root).second < 59){
MovieClip(root).second++;
} else {
if (MovieClip(root).second == 59){
MovieClip(root).second = 0;
if (MovieClip(root).minute < 59){
MovieClip(root).minute++;
};
};
};
if (MovieClip(root).second < 10){
MovieClip(root).strSecond = ("0" + MovieClip(root).second);
} else {
MovieClip(root).strSecond = MovieClip(root).second;
};
if (MovieClip(root).minute < 10){
MovieClip(root).strMinute = ("0" + MovieClip(root).minute);
} else {
MovieClip(root).strMinute = MovieClip(root).minute;
};
MovieClip(root).timeTxt.text = ((MovieClip(root).strMinute + ":") + MovieClip(root).strSecond);
if (MovieClip(root).minute >= 5){
clearInterval(MovieClip(root).timeControlId);
MovieClip(root).ticker.stop();
MovieClip(root).ticker.removeEventListener(TimerEvent.TIMER, MovieClip(root).onTick);
clearInterval(MovieClip(root).intervalID1);
MovieClip(root).failTFlag = true;
MovieClip(root).gotoAndStop("fail");
};
} catch(err:Error) {
};
}
public function wpContrl():void{
var j:int;
try {
j = 1;
while (j <= 8) {
MovieClip(root).wp_mc.wp[("ctrl_mc" + j)].n = j;
MovieClip(root).wp_mc.wp[("ctrl_mc" + j)].gotoAndStop(1);
MovieClip(root).wp_mc.wp[("ctrl_mc" + j)].mouseChildren = false;
MovieClip(root).wp_mc.wp[("ctrl_mc" + j)].mouseEnabled = true;
MovieClip(root).wp_mc.wp[("ctrl_mc" + j)].buttonMode = true;
MovieClip(root).wp_mc.wp[("ctrl_mc" + j)].addEventListener(MouseEvent.MOUSE_DOWN, controlWp);
j = (j + 1);
};
} catch(err:Error) {
};
}
public function progreso(_arg1:Event):void{
var e = _arg1;
try {
MovieClip(root).peso = MovieClip(root).loaderInfo.bytesTotal;
MovieClip(root).carga = MovieClip(root).loaderInfo.bytesLoaded;
MovieClip(root).porcentaje = (carga / peso);
MovieClip(root).delayporcen = (delaycount / loadDelay);
if (delayporcen < porcentaje){
porcentaje = delayporcen;
};
MovieClip(root).Loader_txt.text = (Math.floor((porcentaje * 100)) + "%");
MovieClip(this).loadbar.bar.scaleX = porcentaje;
if (porcentaje >= 1){
MovieClip(root).frameRate = framerate;
MovieClip(root).removeEventListener(Event.ENTER_FRAME, progreso);
play();
};
delaycount++;
} catch(err:Error) {
};
}
public function controlWp(_arg1:MouseEvent):void{
var _e = _arg1;
try {
if ((((_e.currentTarget.currentFrame == 1)) && (!((MovieClip(root).wp_mc.currentFrame == _e.currentTarget.n))))){
clearInterval(MovieClip(root).intervalID1);
MovieClip(root).timeControl1();
if ((((MovieClip(root).teacher_mc.currentFrame == 1)) && ((MovieClip(root).teacher_mc.currentFrame < 112)))){
MovieClip(root).teacher_mc.gotoAndStop(1);
} else {
if (MovieClip(root).teacher_mc.currentFrame > 114){
} else {
MovieClip(root).teacher_mc.gotoAndPlay(114);
};
};
MovieClip(root).wp_mc.gotoAndStop(_e.currentTarget.n);
MovieClip(root).girl_mc.gotoAndStop(_e.currentTarget.n);
};
} catch(err:Error) {
};
}
public function initAA():void{
MovieClip(root).frameRate = 24;
MovieClip(root).addEventListener(Event.ENTER_FRAME, progreso);
}
public function onDown1(_arg1:MouseEvent):void{
MovieClip(root).snd.play();
if (MovieClip(root).wp_mc.currentFrame == 7){
MovieClip(root).sbFlag = 3;
MovieClip(root).sb_mc.gotoAndStop(1);
MovieClip(root).isDown1 = true;
MovieClip(root).oldX = (mouseX - 382);
MovieClip(root).oldY = (mouseY - 307);
};
}
public function replayGame1(_arg1:MouseEvent):void{
var _e = _arg1;
try {
MovieClip(root).gotoAndStop("start");
} catch(err:Error) {
};
}
public function playGame(_arg1:MouseEvent):void{
var _e = _arg1;
try {
MovieClip(root).gotoAndStop("game");
} catch(err:Error) {
};
}
public function More1(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.dressupone.com"), "blank");
}
public function mouseOutFun(_arg1:MouseEvent):void{
var _e = _arg1;
try {
_e.currentTarget.filters = MovieClip(root).filterclear;
} catch(err:Error) {
};
}
public function timeControl1(){
MovieClip(root).timeNum1 = MovieClip(root).randRange(15, 20);
MovieClip(root).timeEach1 = (MovieClip(root).timeNum1 * 1000);
MovieClip(root).intervalID1 = setInterval(MovieClip(root).updateTimer1, MovieClip(root).timeEach1);
}
function frame2(){
stop();
}
function frame3(){
stop();
MovieClip(root).more_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).gogames);
MovieClip(root).play_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).playGame);
MovieClip(root).help_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).helpGame);
MovieClip(root).bt_mc.y = -200;
Tweener.addTween(MovieClip(root).bt_mc, {time:1, y:202.8});
color = 0xFFFF00;
Alpha = 100;
blurX = 15;
blurY = 15;
strength = 2;
quality = 3;
inner = false;
knockout = false;
filter = new GlowFilter(color, Alpha, blurX, blurY, strength, quality, inner, knockout);
filterArray = new Array();
filterArray.push(filter);
filterclear = new Array();
snd = new btnSound();
sleepS = new sleepSound();
kissS = new kissSound();
teacherS = new teacherSound();
stage.addEventListener(MouseEvent.MOUSE_DOWN, downSound);
Mouse.show();
stop();
if (asasas){
} else {
sf = true;
mymp3 = new bg_sound();
myChannel = mymp3.play(0, 9999);
asasas = 1;
};
volumeSize = 1;
music_mc.addEventListener(MouseEvent.CLICK, mouseClick);
music_mc.gotoAndStop((2 - Number(sf)));
music_mc.mouseChildren = false;
music_mc.buttonMode = true;
}
function frame4(){
MovieClip(root).back_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).backGame);
}
public function openLink(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest("http://www.dressupone.com"));
}
function frame7(){
stop();
MovieClip(root).more_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).gogames);
Mouse.show();
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).replay_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).replayGame1);
clearInterval(MovieClip(root).timeControlId);
MovieClip(root).ticker.stop();
MovieClip(root).ticker.removeEventListener(TimerEvent.TIMER, MovieClip(root).onTick);
clearInterval(MovieClip(root).intervalID1);
}
function frame5(){
stop();
MovieClip(root).more_btn1.addEventListener(MouseEvent.CLICK, MovieClip(root).More1);
MovieClip(root).more_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).gogames);
sbFlag = 0;
failTFlag = false;
second = 0;
minute = 0;
strSecond = "";
strMinute = "";
MovieClip(root).timeControl1();
hFlag1 = false;
hFlag2 = false;
hFlag3 = false;
hbFlag = 0;
score = 0;
frameFlag = 0;
moveFlag = 0;
fw = new Sprite();
linesize = 2;
isDown1 = false;
hbFlag1 = false;
hbFlag2 = false;
hbFlag3 = false;
hbbFlag = 0;
countFlag = 1;
currentColorNum = 0;
clickFlag = true;
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).girl_mc.gotoAndStop(MovieClip(root).girl_mc.totalFrames);
MovieClip(root).wpContrl();
MovieClip(root).wp_mc.gotoAndStop(MovieClip(root).wp_mc.totalFrames);
MovieClip(root).ticker = new Timer(1000);
MovieClip(root).ticker.addEventListener(TimerEvent.TIMER, onTick);
MovieClip(root).ticker.start();
MovieClip(root).menu_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).menuGame);
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
public function backGame(_arg1:MouseEvent):void{
var _e = _arg1;
try {
MovieClip(root).gotoAndStop("start");
} catch(err:Error) {
};
}
public function successFun():void{
if ((((((((((((((((MovieClip(root).wp_mc.wp.ctrl_mc1.currentFrame == 2)) && ((MovieClip(root).wp_mc.wp.ctrl_mc2.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc3.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc4.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc5.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc6.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc7.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc8.currentFrame == 2)))){
MovieClip(root).gotoAndStop("success");
};
}
public function downSound(_arg1:MouseEvent):void{
snd.play();
}
function frame1(){
partner = "y8";
stop();
framerate = MovieClip(root).frameRate;
loadDelay = 48;
delaycount = 0;
this.addEventListener(Event.ENTER_FRAME, doLaterAA);
this.logo_btn.addEventListener(MouseEvent.MOUSE_DOWN, gogames);
my_menu = new ContextMenu();
my_menu.hideBuiltInItems();
my_notice = new ContextMenuItem("Dress Up Games");
my_notice.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink);
my_menu.customItems.push(my_notice);
contextMenu = my_menu;
try {
if (Security){
o = Security;
if (o.sandboxType != "localWithFile"){
apiLoader = new URLLoader();
apiLoader.load(new URLRequest("http://api.britetrade.com/api/gameplay.php?key=f905895ab68811a6f691080c09c85d73&id=1098"));
};
};
} catch(error:Error) {
};
}
public function faceT(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.facebook.com/dressupone"), "blank");
}
public function doLaterAA(_arg1:Event):void{
this.removeEventListener(Event.ENTER_FRAME, doLaterAA);
initAA();
}
public function mouseOverFun(_arg1:MouseEvent):void{
var _e = _arg1;
try {
if (_e.currentTarget.m > 0){
_e.currentTarget.filters = MovieClip(root).filterArray;
};
} catch(err:Error) {
};
}
public function onUp1(_arg1:MouseEvent):void{
var event = _arg1;
try {
if (MovieClip(root).wp_mc.currentFrame == 7){
MovieClip(root).fw.graphics.clear();
MovieClip(root).isDown1 = false;
if (((((MovieClip(root).hbFlag1_1) && (MovieClip(root).hbFlag1_2))) && (MovieClip(root).hbFlag1_3))){
MovieClip(root).wp_mc.p.tm_mc1.nextFrame();
MovieClip(root).hbFlag1_1 = false;
MovieClip(root).hbFlag1_2 = false;
MovieClip(root).hbFlag1_3 = false;
} else {
if (((((MovieClip(root).hbFlag2_1) && (MovieClip(root).hbFlag2_2))) && (MovieClip(root).hbFlag2_3))){
MovieClip(root).wp_mc.p.tm_mc2.nextFrame();
MovieClip(root).hbFlag2_1 = false;
MovieClip(root).hbFlag2_2 = false;
MovieClip(root).hbFlag2_3 = false;
} else {
if (((((MovieClip(root).hbFlag3_1) && (MovieClip(root).hbFlag3_2))) && (MovieClip(root).hbFlag3_3))){
MovieClip(root).wp_mc.p.tm_mc3.nextFrame();
MovieClip(root).hbFlag3_1 = false;
MovieClip(root).hbFlag3_2 = false;
MovieClip(root).hbFlag3_3 = false;
};
};
};
if ((((((MovieClip(root).wp_mc.p.tm_mc1.currentFrame == 5)) && ((MovieClip(root).wp_mc.p.tm_mc2.currentFrame == 5)))) && ((MovieClip(root).wp_mc.p.tm_mc3.currentFrame == 5)))){
MovieClip(root).wp_mc.p.gotoAndStop(2);
};
};
} catch(err:Error) {
};
}
public function updateTimer1():void{
clearInterval(MovieClip(root).intervalID1);
MovieClip(root).teacher_mc.gotoAndPlay(2);
}
function frame6(){
stop();
MovieClip(root).more_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).gogames);
Mouse.show();
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).replay_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).replayGame);
clearInterval(MovieClip(root).timeControlId);
MovieClip(root).ticker.stop();
MovieClip(root).ticker.removeEventListener(TimerEvent.TIMER, MovieClip(root).onTick);
clearInterval(MovieClip(root).intervalID1);
}
public function helpGame(_arg1:MouseEvent):void{
var _e = _arg1;
try {
MovieClip(root).gotoAndStop("help");
} catch(err:Error) {
};
}
public function gogames(_arg1:MouseEvent){
var _local2:LocalConnection = new LocalConnection();
var _local3:String = _local2.domain;
var _local4:* = "the-bad-student";
var _local5:* = ((("http://www.dressupone.com/?utm_source=" + _local3) + "&utm_medium=game&utm_campaign=") + _local4);
navigateToURL(new URLRequest(_local5), "blank");
}
public function mouseClick(_arg1:MouseEvent):void{
if (sf){
volumeSize = 0;
sf = false;
} else {
volumeSize = 1;
sf = true;
};
var _local2:SoundTransform = new SoundTransform(volumeSize, 0);
myChannel.soundTransform = _local2;
music_mc.nextFrame();
}
public function replayGame(_arg1:MouseEvent):void{
var _e = _arg1;
try {
MovieClip(root).gotoAndStop("start");
} catch(err:Error) {
};
}
public function menuGame(_arg1:MouseEvent):void{
var _e = _arg1;
try {
MovieClip(root).sb_mc.gotoAndStop(2);
clearInterval(MovieClip(root).timeControlId);
MovieClip(root).ticker.stop();
MovieClip(root).ticker.removeEventListener(TimerEvent.TIMER, MovieClip(root).onTick);
clearInterval(MovieClip(root).intervalID1);
MovieClip(root).gotoAndStop("start");
} catch(err:Error) {
};
}
public function onMove1(_arg1:MouseEvent):void{
var event = _arg1;
try {
trace(MovieClip(root).sbFlag);
if (((MovieClip(root).isDown1) && (!((MovieClip(root).sbFlag == 0))))){
if (MovieClip(root).wp_mc.p.hit_mc1.hit1.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag1_1 = true;
};
if (MovieClip(root).wp_mc.p.hit_mc1.hit2.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag1_2 = true;
};
if (MovieClip(root).wp_mc.p.hit_mc1.hit3.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag1_3 = true;
};
if (MovieClip(root).wp_mc.p.hit_mc2.hit1.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag2_1 = true;
};
if (MovieClip(root).wp_mc.p.hit_mc2.hit2.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag2_2 = true;
};
if (MovieClip(root).wp_mc.p.hit_mc2.hit3.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag2_3 = true;
};
if (MovieClip(root).wp_mc.p.hit_mc3.hit1.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag3_1 = true;
};
if (MovieClip(root).wp_mc.p.hit_mc3.hit2.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag3_2 = true;
};
if (MovieClip(root).wp_mc.p.hit_mc3.hit3.hitTestObject(MovieClip(root).sb_mc.color_mc)){
MovieClip(root).hbFlag3_3 = true;
};
MovieClip(root).fw.graphics.lineStyle(MovieClip(root).linesize, 0xFF0000);
MovieClip(root).fw.graphics.moveTo(MovieClip(root).oldX, MovieClip(root).oldY);
MovieClip(root).fw.graphics.lineTo((MovieClip(root).mouseX - 385), (MovieClip(root).mouseY - 285));
MovieClip(root).oldX = (MovieClip(root).mouseX - 385);
MovieClip(root).oldY = (MovieClip(root).mouseY - 285);
};
} catch(err:Error) {
};
}
}
}//package the_fla
Section 56
//oyuntcmc_362 (the_fla.oyuntcmc_362)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class oyuntcmc_362 extends MovieClip {
public function oyuntcmc_362(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.oyuntc.com/"), "blank");
}
}
}//package the_fla
Section 57
//partners_284 (the_fla.partners_284)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class partners_284 extends MovieClip {
public var dailygamesmc:MovieClip;
public var logobb_mc:MovieClip;
public function partners_284(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29);
}
function frame10(){
stop();
}
function frame11(){
stop();
}
function frame12(){
stop();
}
function frame13(){
stop();
}
function frame14(){
stop();
}
function frame15(){
stop();
}
function frame16(){
stop();
}
function frame17(){
stop();
}
function frame19(){
stop();
}
function frame18(){
stop();
}
function frame1(){
gotoAndStop(MovieClip(root).partner);
stop();
}
function frame2(){
stop();
}
function frame3(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame6(){
stop();
addChild(new KaisergamesBranding(MovieClip(root).gameTitle, 100, 80));
}
function frame7(){
stop();
}
function frame20(){
stop();
}
function frame9(){
stop();
}
function frame22(){
stop();
}
function frame23(){
stop();
}
function frame24(){
stop();
}
function frame25(){
stop();
}
function frame8(){
stop();
}
function frame21(){
stop();
}
function frame29(){
stop();
}
function frame26(){
stop();
}
function frame27(){
stop();
}
function frame28(){
stop();
}
}
}//package the_fla
Section 58
//popgals_305 (the_fla.popgals_305)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class popgals_305 extends MovieClip {
public function popgals_305(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.popgals.com/"), "blank");
}
}
}//package the_fla
Section 59
//starsue_350 (the_fla.starsue_350)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class starsue_350 extends MovieClip {
public function starsue_350(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.starsue.net"), "blank");
}
}
}//package the_fla
Section 60
//Symbole11_331 (the_fla.Symbole11_331)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class Symbole11_331 extends MovieClip {
public function Symbole11_331(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.kizoyunlari.org"), "blank");
}
}
}//package the_fla
Section 61
//Symbole2_359 (the_fla.Symbole2_359)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class Symbole2_359 extends MovieClip {
public function Symbole2_359(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.adressupgames.com/br"), "blank");
}
}
}//package the_fla
Section 62
//Symbole4_328 (the_fla.Symbole4_328)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class Symbole4_328 extends MovieClip {
public function Symbole4_328(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://girls-games.jsoftj.com/"), "blank");
}
}
}//package the_fla
Section 63
//Timeline_132 (the_fla.Timeline_132)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_132 extends MovieClip {
public function Timeline_132(){
addFrameScript(0, frame1, 25, frame26);
}
function frame26(){
stop();
MovieClip(root).play_btn.visible = true;
}
function frame1(){
MovieClip(root).play_btn.visible = false;
}
}
}//package the_fla
Section 64
//Timeline_147 (the_fla.Timeline_147)
package the_fla {
import flash.display.*;
public dynamic class Timeline_147 extends MovieClip {
public function Timeline_147(){
addFrameScript(55, frame56);
}
function frame56(){
stop();
}
}
}//package the_fla
Section 65
//Timeline_370 (the_fla.Timeline_370)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_370 extends MovieClip {
public function Timeline_370(){
addFrameScript(0, frame1, 8, frame9, 111, frame112, 112, frame113);
}
function frame9(){
MovieClip(root).teacherS.play();
}
function frame1(){
stop();
}
function frame112(){
if (((!((MovieClip(root).wp_mc.currentFrame == 9))) && (!((MovieClip(root).wp_mc.wp[("ctrl_mc" + MovieClip(root).wp_mc.currentFrame)].currentFrame == 2))))){
MovieClip(root).teacher_mc.gotoAndStop(113);
} else {
MovieClip(root).teacher_mc.gotoAndPlay(114);
MovieClip(root).timeControl1();
};
}
function frame113(){
stop();
trace("fail");
MovieClip(root).gotoAndStop("fail");
}
}
}//package the_fla
Section 66
//Timeline_373 (the_fla.Timeline_373)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_373 extends MovieClip {
public function Timeline_373(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(root).sleepS.play();
}
}
}//package the_fla
Section 67
//Timeline_403 (the_fla.Timeline_403)
package the_fla {
import flash.display.*;
public dynamic class Timeline_403 extends MovieClip {
public function Timeline_403(){
addFrameScript(119, frame120);
}
function frame120(){
gotoAndPlay(38);
}
}
}//package the_fla
Section 68
//Timeline_418 (the_fla.Timeline_418)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_418 extends MovieClip {
public var p:MovieClip;
public var wp:MovieClip;
public function Timeline_418(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame1(){
stop();
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
function frame2(){
stop();
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
function frame3(){
stop();
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
function frame4(){
stop();
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
function frame5(){
stop();
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
function frame6(){
stop();
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
function frame7(){
stop();
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).wp_mc.addChild(MovieClip(root).fw);
}
function frame8(){
stop();
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
function frame9(){
MovieClip(root).sbFlag = 0;
MovieClip(root).isDown = false;
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
MovieClip(root).sbFlag = 0;
MovieClip(root).isDown = false;
MovieClip(root).sb_mc.gotoAndStop(2);
}
}
}//package the_fla
Section 69
//Timeline_420 (the_fla.Timeline_420)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_420 extends MovieClip {
public function Timeline_420(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).score = (MovieClip(root).score + 300);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).successFun();
}
}
}//package the_fla
Section 70
//Timeline_421 (the_fla.Timeline_421)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_421 extends MovieClip {
public function Timeline_421(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).score = (MovieClip(root).score + 800);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).successFun();
}
}
}//package the_fla
Section 71
//Timeline_422 (the_fla.Timeline_422)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_422 extends MovieClip {
public function Timeline_422(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).score = (MovieClip(root).score + 500);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).successFun();
}
}
}//package the_fla
Section 72
//Timeline_423 (the_fla.Timeline_423)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_423 extends MovieClip {
public function Timeline_423(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).score = (MovieClip(root).score + 300);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).successFun();
}
}
}//package the_fla
Section 73
//Timeline_424 (the_fla.Timeline_424)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_424 extends MovieClip {
public function Timeline_424(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).score = (MovieClip(root).score + 200);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).successFun();
}
}
}//package the_fla
Section 74
//Timeline_425 (the_fla.Timeline_425)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_425 extends MovieClip {
public function Timeline_425(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).score = (MovieClip(root).score + 300);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).successFun();
}
}
}//package the_fla
Section 75
//Timeline_426 (the_fla.Timeline_426)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_426 extends MovieClip {
public function Timeline_426(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).score = (MovieClip(root).score + 400);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).successFun();
}
}
}//package the_fla
Section 76
//Timeline_427 (the_fla.Timeline_427)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_427 extends MovieClip {
public function Timeline_427(){
addFrameScript(1, frame2);
}
function frame2(){
MovieClip(root).score = (MovieClip(root).score + 300);
MovieClip(root).scoreTxt.text = MovieClip(root).score;
MovieClip(root).successFun();
}
}
}//package the_fla
Section 77
//Timeline_428 (the_fla.Timeline_428)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_428 extends MovieClip {
public var close_btn:SimpleButton;
public function Timeline_428(){
addFrameScript(0, frame1);
}
public function closeHandler(_arg1:MouseEvent):void{
MovieClip(root).girl_mc.gotoAndStop(9);
MovieClip(root).wp_mc.gotoAndStop(MovieClip(root).wp_mc.totalFrames);
}
function frame1(){
this.close_btn.addEventListener(MouseEvent.MOUSE_DOWN, closeHandler);
}
}
}//package the_fla
Section 78
//Timeline_430 (the_fla.Timeline_430)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_430 extends MovieClip {
public var p:MovieClip;
public var keyFlag:Boolean;
public function Timeline_430(){
addFrameScript(0, frame1, 1, frame2);
}
public function keyDown(_arg1:KeyboardEvent):void{
if ((((_arg1.keyCode == 37)) && ((keyFlag == true)))){
keyFlag = false;
this.p.nextFrame();
} else {
if ((((_arg1.keyCode == 39)) && ((keyFlag == false)))){
keyFlag = true;
this.p.nextFrame();
};
};
}
function frame1(){
stop();
this.p.gotoAndStop(1);
this.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown);
keyFlag = true;
}
function frame2(){
stop();
MovieClip(root).wp_mc.wp.ctrl_mc1.gotoAndStop(2);
MovieClip(root).sb_mc.gotoAndStop(2);
}
}
}//package the_fla
Section 79
//Timeline_431 (the_fla.Timeline_431)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_431 extends MovieClip {
public function Timeline_431(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
MovieClip(root).wp_mc.p.gotoAndStop(2);
}
}
}//package the_fla
Section 80
//Timeline_440 (the_fla.Timeline_440)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_440 extends MovieClip {
public var p1:MovieClip;
public var p3:MovieClip;
public var p5:MovieClip;
public var p7:MovieClip;
public var p8:MovieClip;
public var p2:MovieClip;
public var p4:MovieClip;
public var p6:MovieClip;
public var p12:MovieClip;
public var p14:MovieClip;
public var p15:MovieClip;
public var p16:MovieClip;
public var p10:MovieClip;
public var p18:MovieClip;
public var p9:MovieClip;
public var p13:MovieClip;
public var love_mc:MovieClip;
public var p17:MovieClip;
public var p11:MovieClip;
public var i:int;
public var loveNum:int;
public function Timeline_440(){
addFrameScript(0, frame1, 1, frame2);
}
function frame2(){
stop();
MovieClip(root).wp_mc.wp.ctrl_mc2.gotoAndStop(2);
MovieClip(root).sb_mc.gotoAndStop(2);
}
function frame1(){
stop();
MovieClip(root).clickFlag = true;
MovieClip(root).sbFlag = 1;
loveNum = 0;
MovieClip(root).sb_mc.gotoAndStop(1);
this.love_mc.gotoAndStop(19);
i = 1;
while (i <= 18) {
this[("p" + i)].gotoAndStop(1);
this[("p" + i)].n = i;
this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, pHandler);
i++;
};
}
public function pHandler(_arg1:MouseEvent):void{
trace(("hua:" + _arg1.currentTarget.n));
if ((((MovieClip(root).clickFlag == true)) && ((_arg1.currentTarget.currentFrame == 1)))){
MovieClip(root).clickFlag = false;
_arg1.currentTarget.gotoAndStop(2);
loveNum++;
MovieClip(root).wp_mc.p.love_mc.gotoAndStop(_arg1.currentTarget.n);
if (loveNum >= 18){
MovieClip(root).wp_mc.p.gotoAndStop(2);
};
};
}
}
}//package the_fla
Section 81
//Timeline_442 (the_fla.Timeline_442)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_442 extends MovieClip {
public function Timeline_442(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 82
//Timeline_446 (the_fla.Timeline_446)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_446 extends MovieClip {
public function Timeline_446(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 83
//Timeline_449 (the_fla.Timeline_449)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_449 extends MovieClip {
public function Timeline_449(){
addFrameScript(13, frame14);
}
function frame14(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 84
//Timeline_451 (the_fla.Timeline_451)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_451 extends MovieClip {
public function Timeline_451(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 85
//Timeline_457 (the_fla.Timeline_457)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_457 extends MovieClip {
public function Timeline_457(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 86
//Timeline_461 (the_fla.Timeline_461)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_461 extends MovieClip {
public function Timeline_461(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 87
//Timeline_464 (the_fla.Timeline_464)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_464 extends MovieClip {
public function Timeline_464(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 88
//Timeline_467 (the_fla.Timeline_467)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_467 extends MovieClip {
public function Timeline_467(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 89
//Timeline_469 (the_fla.Timeline_469)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_469 extends MovieClip {
public function Timeline_469(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 90
//Timeline_472 (the_fla.Timeline_472)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_472 extends MovieClip {
public function Timeline_472(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 91
//Timeline_475 (the_fla.Timeline_475)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_475 extends MovieClip {
public function Timeline_475(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 92
//Timeline_478 (the_fla.Timeline_478)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_478 extends MovieClip {
public function Timeline_478(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 93
//Timeline_481 (the_fla.Timeline_481)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_481 extends MovieClip {
public function Timeline_481(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 94
//Timeline_484 (the_fla.Timeline_484)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_484 extends MovieClip {
public function Timeline_484(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 95
//Timeline_487 (the_fla.Timeline_487)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_487 extends MovieClip {
public function Timeline_487(){
addFrameScript(16, frame17);
}
function frame17(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 96
//Timeline_491 (the_fla.Timeline_491)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_491 extends MovieClip {
public function Timeline_491(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 97
//Timeline_494 (the_fla.Timeline_494)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_494 extends MovieClip {
public function Timeline_494(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 98
//Timeline_497 (the_fla.Timeline_497)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_497 extends MovieClip {
public function Timeline_497(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
MovieClip(root).clickFlag = true;
}
}
}//package the_fla
Section 99
//Timeline_501 (the_fla.Timeline_501)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_501 extends MovieClip {
public var ctrl_mc1:MovieClip;
public var ctrl_mc10:MovieClip;
public var ctrl_mc11:MovieClip;
public var ctrl_mc5:MovieClip;
public var ctrl_mc6:MovieClip;
public var ctrl_mc7:MovieClip;
public var ctrl_mc8:MovieClip;
public var ctrl_mc9:MovieClip;
public var ctrl_mc4:MovieClip;
public var ctrl_mc2:MovieClip;
public var p11:MovieClip;
public var ctrl_mc3:MovieClip;
public var ctrl_mc12:MovieClip;
public var p10:MovieClip;
public var p12:MovieClip;
public var p13:MovieClip;
public var p1:MovieClip;
public var p2:MovieClip;
public var p3:MovieClip;
public var p4:MovieClip;
public var p5:MovieClip;
public var p6:MovieClip;
public var p7:MovieClip;
public var p8:MovieClip;
public var p9:MovieClip;
public var cuo_mc:MovieClip;
public var i;
public var j;
public function Timeline_501(){
addFrameScript(0, frame1, 1, frame2);
}
public function ctrlHandler(_arg1:MouseEvent):void{
switch (_arg1.currentTarget.n){
case 1:
if ((((MovieClip(root).wp_mc.p.p1.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p2.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p2.gotoAndStop(2);
} else {
if ((((MovieClip(root).wp_mc.p.p6.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p7.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p7.gotoAndStop(2);
} else {
MovieClip(root).wp_mc.p.cuo_mc.gotoAndPlay(2);
MovieClip(root).wp_mc.p.cuo_mc.x = _arg1.currentTarget.x;
MovieClip(root).wp_mc.p.cuo_mc.y = _arg1.currentTarget.y;
};
};
break;
case 2:
if (MovieClip(root).wp_mc.p.p1.currentFrame == 1){
MovieClip(root).wp_mc.p.p1.gotoAndStop(2);
} else {
if ((((MovieClip(root).wp_mc.p.p2.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p3.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p3.gotoAndStop(2);
} else {
if ((((MovieClip(root).wp_mc.p.p5.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p6.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p6.gotoAndStop(2);
} else {
if ((((MovieClip(root).wp_mc.p.p10.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p11.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p11.gotoAndStop(2);
} else {
MovieClip(root).wp_mc.p.cuo_mc.gotoAndPlay(2);
MovieClip(root).wp_mc.p.cuo_mc.x = _arg1.currentTarget.x;
MovieClip(root).wp_mc.p.cuo_mc.y = _arg1.currentTarget.y;
};
};
};
};
break;
case 4:
if ((((MovieClip(root).wp_mc.p.p4.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p5.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p5.gotoAndStop(2);
} else {
if ((((MovieClip(root).wp_mc.p.p9.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p10.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p10.gotoAndStop(2);
} else {
MovieClip(root).wp_mc.p.cuo_mc.gotoAndPlay(2);
MovieClip(root).wp_mc.p.cuo_mc.x = _arg1.currentTarget.x;
MovieClip(root).wp_mc.p.cuo_mc.y = _arg1.currentTarget.y;
};
};
break;
case 6:
if ((((MovieClip(root).wp_mc.p.p3.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p4.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p4.gotoAndStop(2);
} else {
MovieClip(root).wp_mc.p.cuo_mc.gotoAndPlay(2);
MovieClip(root).wp_mc.p.cuo_mc.x = _arg1.currentTarget.x;
MovieClip(root).wp_mc.p.cuo_mc.y = _arg1.currentTarget.y;
};
break;
case 9:
if ((((MovieClip(root).wp_mc.p.p11.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p12.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p12.gotoAndStop(2);
};
break;
case 10:
if ((((MovieClip(root).wp_mc.p.p8.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p9.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p9.gotoAndStop(2);
} else {
MovieClip(root).wp_mc.p.cuo_mc.gotoAndPlay(2);
MovieClip(root).wp_mc.p.cuo_mc.x = _arg1.currentTarget.x;
MovieClip(root).wp_mc.p.cuo_mc.y = _arg1.currentTarget.y;
};
break;
case 11:
if ((((MovieClip(root).wp_mc.p.p7.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p8.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p8.gotoAndStop(2);
} else {
MovieClip(root).wp_mc.p.cuo_mc.gotoAndPlay(2);
MovieClip(root).wp_mc.p.cuo_mc.x = _arg1.currentTarget.x;
MovieClip(root).wp_mc.p.cuo_mc.y = _arg1.currentTarget.y;
};
break;
case 12:
if ((((MovieClip(root).wp_mc.p.p12.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p13.currentFrame == 1)))){
MovieClip(root).wp_mc.p.p13.gotoAndStop(2);
MovieClip(root).wp_mc.p.gotoAndStop(2);
} else {
MovieClip(root).wp_mc.p.cuo_mc.gotoAndPlay(2);
MovieClip(root).wp_mc.p.cuo_mc.x = _arg1.currentTarget.x;
MovieClip(root).wp_mc.p.cuo_mc.y = _arg1.currentTarget.y;
};
break;
};
}
function frame1(){
stop();
i = 1;
while (i <= 13) {
this[("p" + i)].gotoAndStop(1);
i++;
};
j = 1;
while (j <= 12) {
this[("ctrl_mc" + j)].n = j;
this[("ctrl_mc" + j)].addEventListener(MouseEvent.CLICK, ctrlHandler);
j++;
};
}
function frame2(){
stop();
MovieClip(root).wp_mc.wp.ctrl_mc3.gotoAndStop(2);
MovieClip(root).sb_mc.gotoAndStop(2);
}
}
}//package the_fla
Section 100
//Timeline_527 (the_fla.Timeline_527)
package the_fla {
import flash.display.*;
public dynamic class Timeline_527 extends MovieClip {
public function Timeline_527(){
addFrameScript(0, frame1, 18, frame19);
}
function frame1(){
stop();
}
function frame19(){
this.gotoAndStop(1);
}
}
}//package the_fla
Section 101
//Timeline_528 (the_fla.Timeline_528)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_528 extends MovieClip {
public var kiss_mc:MovieClip;
public var jdt_mc:MovieClip;
public var click_mc:MovieClip;
public function Timeline_528(){
addFrameScript(0, frame1, 1, frame2);
}
public function kissUHandler(_arg1:MouseEvent):void{
MovieClip(root).wp_mc.p.jdt_mc.gotoAndStop(1);
MovieClip(root).wp_mc.p.kiss_mc.gotoAndStop(1);
}
public function kissDHandler(_arg1:MouseEvent):void{
MovieClip(root).wp_mc.p.jdt_mc.gotoAndPlay(2);
MovieClip(root).wp_mc.p.kiss_mc.gotoAndPlay(2);
}
function frame2(){
stop();
MovieClip(root).wp_mc.wp.ctrl_mc4.gotoAndStop(2);
MovieClip(root).sb_mc.gotoAndStop(2);
}
function frame1(){
stop();
this.jdt_mc.gotoAndStop(1);
this.click_mc.addEventListener(MouseEvent.MOUSE_DOWN, kissDHandler);
this.click_mc.addEventListener(MouseEvent.MOUSE_UP, kissUHandler);
}
}
}//package the_fla
Section 102
//Timeline_529 (the_fla.Timeline_529)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_529 extends MovieClip {
public function Timeline_529(){
addFrameScript(173, frame174);
}
function frame174(){
stop();
MovieClip(root).wp_mc.p.gotoAndStop(2);
}
}
}//package the_fla
Section 103
//Timeline_531 (the_fla.Timeline_531)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_531 extends MovieClip {
public function Timeline_531(){
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
stop();
MovieClip(root).kissS.play();
}
function frame1(){
stop();
}
}
}//package the_fla
Section 104
//Timeline_537 (the_fla.Timeline_537)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_537 extends MovieClip {
public var p1:MovieClip;
public var p3:MovieClip;
public var p5:MovieClip;
public var p7:MovieClip;
public var p2:MovieClip;
public var p4:MovieClip;
public var p6:MovieClip;
public var p10:MovieClip;
public var p8:MovieClip;
public var p9:MovieClip;
public var khNum:int;
public var i:int;
public function Timeline_537(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
MovieClip(root).sbFlag = 4;
khNum = 0;
MovieClip(root).sb_mc.gotoAndStop(1);
i = 1;
while (i <= 10) {
this[("p" + i)].gotoAndStop(1);
this[("p" + i)].n = i;
this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, pHandler);
i++;
};
}
function frame2(){
stop();
MovieClip(root).wp_mc.wp.ctrl_mc5.gotoAndStop(2);
MovieClip(root).sb_mc.gotoAndStop(2);
}
public function pHandler(_arg1:MouseEvent):void{
if (_arg1.currentTarget.currentFrame == 1){
_arg1.currentTarget.gotoAndStop(2);
khNum++;
if (khNum >= 10){
MovieClip(root).wp_mc.p.gotoAndStop(2);
};
};
}
}
}//package the_fla
Section 105
//Timeline_568 (the_fla.Timeline_568)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_568 extends MovieClip {
public var p1:MovieClip;
public var p3:MovieClip;
public var p5:MovieClip;
public var p7:MovieClip;
public var p2:MovieClip;
public var p4:MovieClip;
public var p6:MovieClip;
public var p10:MovieClip;
public var p8:MovieClip;
public var p9:MovieClip;
public var i:int;
public var zjNum:int;
public function Timeline_568(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
MovieClip(root).sbFlag = 2;
zjNum = 0;
MovieClip(root).sb_mc.gotoAndStop(1);
i = 1;
while (i <= 10) {
this[("p" + i)].gotoAndStop(1);
this[("p" + i)].n = i;
this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, pHandler);
i++;
};
}
function frame2(){
stop();
MovieClip(root).wp_mc.wp.ctrl_mc6.gotoAndStop(2);
MovieClip(root).sb_mc.gotoAndStop(2);
}
public function pHandler(_arg1:MouseEvent):void{
if (_arg1.currentTarget.currentFrame == 1){
_arg1.currentTarget.gotoAndStop(2);
zjNum++;
if (zjNum >= 10){
MovieClip(root).wp_mc.p.gotoAndStop(2);
};
};
}
}
}//package the_fla
Section 106
//Timeline_579 (the_fla.Timeline_579)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_579 extends MovieClip {
public var i:int;
public var hit_mc1:MovieClip;
public var hit_mc2:MovieClip;
public var hit_mc3:MovieClip;
public var tm_mc1:MovieClip;
public var tm_mc2:MovieClip;
public var tm_mc3:MovieClip;
public function Timeline_579(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
MovieClip(root).sbFlag = 3;
i = 1;
while (i <= 3) {
this[("tm_mc" + i)].gotoAndStop(1);
i++;
};
this.hit_mc1.visible = true;
this.hit_mc2.visible = false;
this.hit_mc3.visible = false;
}
function frame2(){
stop();
MovieClip(root).wp_mc.wp.ctrl_mc7.gotoAndStop(2);
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
}
}//package the_fla
Section 107
//Timeline_580 (the_fla.Timeline_580)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_580 extends MovieClip {
public function Timeline_580(){
addFrameScript(1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame5(){
stop();
MovieClip(root).wp_mc.p.hit_mc3.visible = false;
if ((((((MovieClip(root).wp_mc.p.tm_mc1.currentFrame == 5)) && ((MovieClip(root).wp_mc.p.tm_mc2.currentFrame == 5)))) && ((MovieClip(root).wp_mc.p.tm_mc3.currentFrame == 5)))){
MovieClip(root).wp_mc.p.gotoAndStop(2);
};
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc3.scaleY = -1;
MovieClip(root).wp_mc.p.hit_mc3.rotation = 45;
}
function frame3(){
MovieClip(root).wp_mc.p.hit_mc3.scaleY = -1;
}
function frame4(){
MovieClip(root).wp_mc.p.hit_mc3.scaleY = -1;
}
}
}//package the_fla
Section 108
//Timeline_581 (the_fla.Timeline_581)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_581 extends MovieClip {
public function Timeline_581(){
addFrameScript(1, frame2, 20, frame21);
}
function frame21(){
stop();
MovieClip(root).wp_mc.p.hit_mc3.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc3.visible = false;
}
}
}//package the_fla
Section 109
//Timeline_583 (the_fla.Timeline_583)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_583 extends MovieClip {
public function Timeline_583(){
addFrameScript(1, frame2, 14, frame15);
}
function frame15(){
stop();
MovieClip(root).wp_mc.p.hit_mc3.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc3.visible = false;
}
}
}//package the_fla
Section 110
//Timeline_584 (the_fla.Timeline_584)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_584 extends MovieClip {
public function Timeline_584(){
addFrameScript(1, frame2, 14, frame15);
}
function frame15(){
stop();
MovieClip(root).wp_mc.p.tm_mc3.gotoAndStop(5);
stop();
MovieClip(root).wp_mc.p.hit_mc3.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc3.visible = false;
}
}
}//package the_fla
Section 111
//Timeline_585 (the_fla.Timeline_585)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_585 extends MovieClip {
public function Timeline_585(){
addFrameScript(1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame5(){
stop();
MovieClip(root).wp_mc.p.hit_mc2.visible = false;
MovieClip(root).wp_mc.p.hit_mc3.visible = true;
if ((((((MovieClip(root).wp_mc.p.tm_mc1.currentFrame == 5)) && ((MovieClip(root).wp_mc.p.tm_mc2.currentFrame == 5)))) && ((MovieClip(root).wp_mc.p.tm_mc3.currentFrame == 5)))){
MovieClip(root).wp_mc.p.gotoAndStop(2);
};
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc2.scaleY = -1;
MovieClip(root).wp_mc.p.hit_mc2.rotation = 45;
}
function frame3(){
MovieClip(root).wp_mc.p.hit_mc2.scaleY = -1;
}
function frame4(){
MovieClip(root).wp_mc.p.hit_mc2.scaleY = -1;
}
}
}//package the_fla
Section 112
//Timeline_586 (the_fla.Timeline_586)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_586 extends MovieClip {
public function Timeline_586(){
addFrameScript(1, frame2, 20, frame21);
}
function frame21(){
stop();
MovieClip(root).wp_mc.p.hit_mc2.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc2.visible = false;
}
}
}//package the_fla
Section 113
//Timeline_587 (the_fla.Timeline_587)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_587 extends MovieClip {
public function Timeline_587(){
addFrameScript(1, frame2, 14, frame15);
}
function frame15(){
stop();
MovieClip(root).wp_mc.p.hit_mc2.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc2.visible = false;
}
}
}//package the_fla
Section 114
//Timeline_588 (the_fla.Timeline_588)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_588 extends MovieClip {
public function Timeline_588(){
addFrameScript(1, frame2, 14, frame15);
}
function frame15(){
stop();
MovieClip(root).wp_mc.p.tm_mc2.gotoAndStop(5);
stop();
MovieClip(root).wp_mc.p.hit_mc2.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc2.visible = false;
}
}
}//package the_fla
Section 115
//Timeline_589 (the_fla.Timeline_589)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_589 extends MovieClip {
public function Timeline_589(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame1(){
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc1.scaleY = -1;
MovieClip(root).wp_mc.p.hit_mc1.rotation = 45;
}
function frame3(){
MovieClip(root).wp_mc.p.hit_mc1.scaleY = -1;
}
function frame4(){
MovieClip(root).wp_mc.p.hit_mc1.scaleY = -1;
}
function frame5(){
stop();
MovieClip(root).wp_mc.p.hit_mc1.visible = false;
MovieClip(root).wp_mc.p.hit_mc2.visible = true;
if ((((((MovieClip(root).wp_mc.p.tm_mc1.currentFrame == 5)) && ((MovieClip(root).wp_mc.p.tm_mc2.currentFrame == 5)))) && ((MovieClip(root).wp_mc.p.tm_mc3.currentFrame == 5)))){
MovieClip(root).wp_mc.p.gotoAndStop(2);
};
}
}
}//package the_fla
Section 116
//Timeline_590 (the_fla.Timeline_590)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_590 extends MovieClip {
public function Timeline_590(){
addFrameScript(1, frame2, 20, frame21);
}
function frame21(){
stop();
MovieClip(root).wp_mc.p.hit_mc1.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc1.visible = false;
}
}
}//package the_fla
Section 117
//Timeline_591 (the_fla.Timeline_591)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_591 extends MovieClip {
public function Timeline_591(){
addFrameScript(1, frame2, 14, frame15);
}
function frame15(){
stop();
MovieClip(root).wp_mc.p.hit_mc1.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc1.visible = false;
}
}
}//package the_fla
Section 118
//Timeline_592 (the_fla.Timeline_592)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_592 extends MovieClip {
public function Timeline_592(){
addFrameScript(1, frame2, 14, frame15);
}
function frame15(){
MovieClip(root).wp_mc.p.tm_mc1.gotoAndStop(5);
stop();
MovieClip(root).wp_mc.p.hit_mc1.visible = true;
}
function frame2(){
MovieClip(root).wp_mc.p.hit_mc1.visible = false;
}
}
}//package the_fla
Section 119
//Timeline_595 (the_fla.Timeline_595)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_595 extends MovieClip {
public function Timeline_595(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
MovieClip(root).addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).onDown1);
MovieClip(root).addEventListener(MouseEvent.MOUSE_UP, MovieClip(root).onUp1);
MovieClip(root).addEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1);
}
}
}//package the_fla
Section 120
//Timeline_597 (the_fla.Timeline_597)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_597 extends MovieClip {
public var girl_mc:MovieClip;
public var mht_mc:MovieClip;
public function Timeline_597(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
mht_mc.addEventListener(MouseEvent.MOUSE_DOWN, mhtDHandler);
this.mht_mc.gotoAndStop(1);
this.girl_mc.gotoAndStop(1);
this.mht_mc.addEventListener(MouseEvent.MOUSE_DOWN, mhtDHandler);
this.mht_mc.addEventListener(MouseEvent.MOUSE_UP, mhtUHandler);
}
function frame2(){
stop();
MovieClip(root).wp_mc.wp.ctrl_mc8.gotoAndStop(2);
MovieClip(root).sb_mc.gotoAndStop(2);
MovieClip(root).wp_mc.p.girl_mc.gotoAndStop(1);
}
public function mhtUHandler(_arg1:MouseEvent):void{
MovieClip(root).wp_mc.p.girl_mc.gotoAndStop(1);
}
public function mhtDHandler(_arg1:MouseEvent):void{
MovieClip(root).wp_mc.p.girl_mc.gotoAndStop(2);
_arg1.currentTarget.nextFrame();
}
}
}//package the_fla
Section 121
//Timeline_599 (the_fla.Timeline_599)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_599 extends MovieClip {
public function Timeline_599(){
addFrameScript(8, frame9);
}
function frame9(){
stop();
MovieClip(root).wp_mc.p.gotoAndStop(2);
}
}
}//package the_fla
Section 122
//Timeline_604 (the_fla.Timeline_604)
package the_fla {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.text.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Timeline_604 extends MovieClip {
public var color_mc:MovieClip;
public var hb_mc:MovieClip;
public function Timeline_604(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
this.startDrag(true);
this.mouseEnabled = false;
this.mouseChildren = false;
if (((!((MovieClip(root).sbFlag == 0))) && (!((MovieClip(root).wp_mc.currentFrame == 9))))){
this.hb_mc.gotoAndStop(MovieClip(root).sbFlag);
Mouse.hide();
} else {
this.hb_mc.gotoAndStop(this.hb_mc.totalFrames);
Mouse.show();
};
}
function frame2(){
this.startDrag(true);
Mouse.show();
}
}
}//package the_fla
Section 123
//wambie_mc_364 (the_fla.wambie_mc_364)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class wambie_mc_364 extends MovieClip {
public function wambie_mc_364(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.wambie.com/"), "blank");
}
}
}//package the_fla
Section 124
//y8_340 (the_fla.y8_340)
package the_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class y8_340 extends MovieClip {
public function y8_340(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
this.mouseEnabled = (this.buttonMode = (this.useHandCursor = true));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.y8.com"), "blank");
}
}
}//package the_fla
Section 125
//bg_sound (bg_sound)
package {
import flash.media.*;
public dynamic class bg_sound extends Sound {
}
}//package
Section 126
//btnSound (btnSound)
package {
import flash.media.*;
public dynamic class btnSound extends Sound {
}
}//package
Section 127
//KaisergamesBranding (KaisergamesBranding)
package {
import flash.display.*;
import flash.events.*;
import flash.filters.*;
import flash.net.*;
import flash.system.*;
public class KaisergamesBranding extends Sprite {
private var maxWidth:int;
private var maxHeight:int;
private var gameName:String;
private var loader:Loader;
private var branding:BrandingPackage;
public function KaisergamesBranding(_arg1:String, _arg2:int=200, _arg3:int=161){
this.maxHeight = _arg3;
this.maxWidth = _arg2;
this.gameName = _arg1;
makeButton();
determineBranding();
loadContent();
}
private function makeButton():void{
buttonMode = (useHandCursor = true);
mouseChildren = false;
addEventListener(MouseEvent.MOUSE_OVER, handleMouseOver);
addEventListener(MouseEvent.MOUSE_OUT, handleMouseOut);
addEventListener(MouseEvent.CLICK, handleMouseClick);
}
private function handleMouseOver(_arg1:MouseEvent):void{
filters = [new GlowFilter(0xFFFFFF, 1, 6, 6, 6), new GlowFilter(0, 1, 6, 6, 6)];
}
private function determineBranding():void{
branding = new BrandingPackage("kibagames.com", "kibagames");
if (Capabilities.language == "de"){
branding = new BrandingPackage("spielaffe.de", "spielaffe");
};
if (Capabilities.language == "tr"){
branding = new BrandingPackage("kraloyun.com", "kraloyun");
};
if (Capabilities.language == "es"){
branding = new BrandingPackage("juegosmonitos.com", "juegosmonitos");
};
if (Capabilities.language == "nr"){
branding = new BrandingPackage("spillape.no", "spillape");
};
if (Capabilities.language == "it"){
branding = new BrandingPackage("giochiscimmia.it", "giochiscimmia");
};
if (Capabilities.language == "fr"){
branding = new BrandingPackage("jeuxsinge.fr", "jeuxsinge");
};
if (Capabilities.language == "pl"){
branding = new BrandingPackage("gramalpa.pl", "gramalpa");
};
if (Capabilities.language == "ru"){
branding = new BrandingPackage("igrmore.ru", "igrmore");
};
if (Capabilities.language == "nl"){
branding = new BrandingPackage("spelletjesapen.nl", "spelletjesapen");
};
}
private function handleMouseOut(_arg1:MouseEvent):void{
filters = [];
}
private function handleMouseClick(_arg1:MouseEvent):void{
var _local3:String;
if (stage != null){
_local3 = unescape(stage.loaderInfo.url);
};
var _local2:String = "http://www.{0}/?utm_campaign={1}&utm_source={2}&utm_medium=branding".replace("{0}", branding.url).replace("{1}", gameName).replace("{2}", _local3);
navigateToURL(new URLRequest(_local2));
}
private function handleLogoLoaded(_arg1:Event):void{
var _local2:Number = Math.min((maxWidth / width), (maxHeight / height));
loader.scaleX = (loader.scaleY = _local2);
var _local3:Bitmap = (loader.content as Bitmap);
if (_local3){
_local3.smoothing = true;
};
}
private function loadContent():void{
loader = new Loader();
var _local1:String = "http://cdn.kaisergames.de/games/branding/{0}.png".replace("{0}", branding.image);
loader.load(new URLRequest(_local1));
addChild(loader);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLogoLoaded);
}
}
}//package
class BrandingPackage {
public var image:String;
public var url:String;
private function BrandingPackage(_arg1:String, _arg2:String){
this.image = _arg2;
this.url = _arg1;
}
}
Section 128
//kissSound (kissSound)
package {
import flash.media.*;
public dynamic class kissSound extends Sound {
}
}//package
Section 129
//SaveImage (SaveImage)
package {
import com.adobe.images.*;
import flash.display.*;
import flash.geom.*;
import flash.net.*;
public class SaveImage extends MovieClip {
public static function drawImage(_arg1:DisplayObject, _arg2:Rectangle, _arg3:String="未命名.jpg"):void{
var _local4:Matrix = new Matrix();
_local4.tx = -(_arg2.x);
_local4.ty = -(_arg2.y);
_arg2.x = 0;
_arg2.y = 0;
var _local5:BitmapData = new BitmapData(_arg2.width, _arg2.height, true);
_local5.draw(_arg1, _local4);
var _local6:FileReference = new FileReference();
var _local7:JPGEncoder = new JPGEncoder(100);
_local6.save(_local7.encode(_local5), _arg3);
}
}
}//package
Section 130
//sleepSound (sleepSound)
package {
import flash.media.*;
public dynamic class sleepSound extends Sound {
}
}//package
Section 131
//teacherSound (teacherSound)
package {
import flash.media.*;
public dynamic class teacherSound extends Sound {
}
}//package