Section 1
//None (fl.transitions.easing.None)
package fl.transitions.easing {
public class None {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package fl.transitions.easing
Section 2
//Strong (fl.transitions.easing.Strong)
package fl.transitions.easing {
public class Strong {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):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));
}
}
}//package fl.transitions.easing
Section 3
//AuxFunctions (fl.transitions.AuxFunctions)
package fl.transitions {
public class AuxFunctions {
public static function getObjectLength(_arg1:Object):uint{
var _local2:uint;
var _local3:String;
_local2 = 0;
for (_local3 in _arg1) {
_local2++;
};
return (_local2);
}
public static function numberToG(_arg1:Number):Number{
return (((_arg1 & 0xFF00) >> 8));
}
public static function numberToB(_arg1:Number):Number{
return ((_arg1 & 0xFF));
}
public static function numberToR(_arg1:Number):Number{
return (((_arg1 & 0xFF0000) >> 16));
}
public static function concatObjects(... _args):Object{
var _local2:Object;
var _local3:Object;
var _local4:int;
var _local5:String;
_local2 = {};
_local4 = 0;
while (_local4 < _args.length) {
_local3 = _args[_local4];
for (_local5 in _local3) {
if (_local3[_local5] == null){
delete _local2[_local5];
} else {
_local2[_local5] = _local3[_local5];
};
};
_local4++;
};
return (_local2);
}
}
}//package fl.transitions
Section 4
//Equations (fl.transitions.Equations)
package fl.transitions {
public class Equations {
public function Equations(){
trace("Equations is a static class and should not be instantiated.");
}
public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
if (_arg1 < (1 / 2.75)){
return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2));
};
if (_arg1 < (2 / 2.75)){
_arg1 = (_arg1 - (1.5 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2));
};
if (_arg1 < (2.5 / 2.75)){
_arg1 = (_arg1 - (2.25 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2));
};
_arg1 = (_arg1 - (2.625 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2));
}
public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
};
--_arg1;
return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2));
}
public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2));
};
return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2));
}
public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2));
};
_arg1 = (_arg1 - 2);
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2));
}
public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2));
}
public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2));
}
public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2));
}
public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function init():void{
Tweener.registerTransition("easenone", easeNone);
Tweener.registerTransition("linear", easeNone);
Tweener.registerTransition("easeinquad", easeInQuad);
Tweener.registerTransition("easeoutquad", easeOutQuad);
Tweener.registerTransition("easeinoutquad", easeInOutQuad);
Tweener.registerTransition("easeoutinquad", easeOutInQuad);
Tweener.registerTransition("easeincubic", easeInCubic);
Tweener.registerTransition("easeoutcubic", easeOutCubic);
Tweener.registerTransition("easeinoutcubic", easeInOutCubic);
Tweener.registerTransition("easeoutincubic", easeOutInCubic);
Tweener.registerTransition("easeinquart", easeInQuart);
Tweener.registerTransition("easeoutquart", easeOutQuart);
Tweener.registerTransition("easeinoutquart", easeInOutQuart);
Tweener.registerTransition("easeoutinquart", easeOutInQuart);
Tweener.registerTransition("easeinquint", easeInQuint);
Tweener.registerTransition("easeoutquint", easeOutQuint);
Tweener.registerTransition("easeinoutquint", easeInOutQuint);
Tweener.registerTransition("easeoutinquint", easeOutInQuint);
Tweener.registerTransition("easeinsine", easeInSine);
Tweener.registerTransition("easeoutsine", easeOutSine);
Tweener.registerTransition("easeinoutsine", easeInOutSine);
Tweener.registerTransition("easeoutinsine", easeOutInSine);
Tweener.registerTransition("easeincirc", easeInCirc);
Tweener.registerTransition("easeoutcirc", easeOutCirc);
Tweener.registerTransition("easeinoutcirc", easeInOutCirc);
Tweener.registerTransition("easeoutincirc", easeOutInCirc);
Tweener.registerTransition("easeinexpo", easeInExpo);
Tweener.registerTransition("easeoutexpo", easeOutExpo);
Tweener.registerTransition("easeinoutexpo", easeInOutExpo);
Tweener.registerTransition("easeoutinexpo", easeOutInExpo);
Tweener.registerTransition("easeinelastic", easeInElastic);
Tweener.registerTransition("easeoutelastic", easeOutElastic);
Tweener.registerTransition("easeinoutelastic", easeInOutElastic);
Tweener.registerTransition("easeoutinelastic", easeOutInElastic);
Tweener.registerTransition("easeinback", easeInBack);
Tweener.registerTransition("easeoutback", easeOutBack);
Tweener.registerTransition("easeinoutback", easeInOutBack);
Tweener.registerTransition("easeoutinback", easeOutInBack);
Tweener.registerTransition("easeinbounce", easeInBounce);
Tweener.registerTransition("easeoutbounce", easeOutBounce);
Tweener.registerTransition("easeinoutbounce", easeInOutBounce);
Tweener.registerTransition("easeoutinbounce", easeOutInBounce);
}
public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2));
}
public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001)));
}
public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2));
}
public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2));
}
public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2));
}
public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2));
}
public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2));
}
public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
--_arg1;
return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
}
public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2));
}
public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
}
public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 == 0){
return (_arg2);
};
if (_arg1 == _arg4){
return ((_arg2 + _arg3));
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005)));
};
--_arg1;
return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2));
}
public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number;
var _local7:Number;
var _local8:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
_local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
_local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2));
}
public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2));
}
public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
}
}//package fl.transitions
Section 5
//Fade (fl.transitions.Fade)
package fl.transitions {
import flash.display.*;
public class Fade extends Transition {
protected var _alphaFinal:Number;
public function Fade(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
super(_arg1, _arg2, _arg3);
this._alphaFinal = this.manager.contentAppearance.alpha;
}
override protected function _render(_arg1:Number):void{
this._content.alpha = (this._alphaFinal * _arg1);
}
override public function get type():Class{
return (Fade);
}
}
}//package fl.transitions
Section 6
//Photo (fl.transitions.Photo)
package fl.transitions {
import flash.display.*;
import flash.geom.*;
public class Photo extends Transition {
protected var _alphaFinal:Number;// = 1
protected var _colorControl:ColorTransform;
public function Photo(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
_alphaFinal = 1;
super(_arg1, _arg2, _arg3);
this._alphaFinal = this.manager.contentAppearance.alpha;
this._colorControl = new ColorTransform();
}
override protected function _render(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
var _local4:Object;
var _local5:Number;
_local2 = 0.8;
_local3 = 0.9;
_local4 = {};
_local5 = 0;
if (_arg1 <= _local2){
this._colorControl.alphaMultiplier = (this._alphaFinal * (_arg1 / _local2));
} else {
this._colorControl.alphaMultiplier = this._alphaFinal;
if (_arg1 <= _local3){
_local5 = (((_arg1 - _local2) / (_local3 - _local2)) * 0x0100);
} else {
_local5 = ((1 - ((_arg1 - _local3) / (1 - _local3))) * 0x0100);
};
};
_local4.rb = (_local4.gb = (_local4.bb = _local5));
this._colorControl.redOffset = (this._colorControl.greenOffset = (this._colorControl.blueOffset = _local5));
this._content.transform.colorTransform = this._colorControl;
}
override public function get type():Class{
return (Photo);
}
}
}//package fl.transitions
Section 7
//PropertyInfoObj (fl.transitions.PropertyInfoObj)
package fl.transitions {
public class PropertyInfoObj {
public var originalValueComplete:Object;
public var modifierParameters:Array;
public var isSpecialProperty:Boolean;
public var hasModifier:Boolean;
public var valueComplete:Number;
public var extra:Object;
public var valueStart:Number;
public var modifierFunction:Function;
public var arrayIndex:Number;
public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){
valueStart = _arg1;
valueComplete = _arg2;
originalValueComplete = _arg3;
arrayIndex = _arg4;
extra = _arg5;
isSpecialProperty = _arg6;
hasModifier = Boolean(_arg7);
modifierFunction = _arg7;
modifierParameters = _arg8;
}
public function toString():String{
var _local1:String;
_local1 = "\n[PropertyInfoObj ";
_local1 = (_local1 + ("valueStart:" + String(valueStart)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("valueComplete:" + String(valueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("arrayIndex:" + String(arrayIndex)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("extra:" + String(extra)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("hasModifier:" + String(hasModifier)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierFunction:" + String(modifierFunction)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierParameters:" + String(modifierParameters)));
_local1 = (_local1 + "]\n");
return (_local1);
}
public function clone():PropertyInfoObj{
var _local1:PropertyInfoObj;
_local1 = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters);
return (_local1);
}
}
}//package fl.transitions
Section 8
//Rotate (fl.transitions.Rotate)
package fl.transitions {
import flash.display.*;
public class Rotate extends Transition {
protected var _rotationFinal:Number;// = NAN
protected var _degrees:Number;// = 360
public function Rotate(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
_rotationFinal = NaN;
_degrees = 360;
super(_arg1, _arg2, _arg3);
if (isNaN(this._rotationFinal)){
this._rotationFinal = this.manager.contentAppearance.rotation;
};
if (_arg2.degrees){
this._degrees = _arg2.degrees;
};
if ((_arg2.ccw ^ this.direction)){
this._degrees = (this._degrees * -1);
};
}
override protected function _render(_arg1:Number):void{
this._content.rotation = (this._rotationFinal - (this._degrees * (1 - _arg1)));
}
override public function get type():Class{
return (Rotate);
}
}
}//package fl.transitions
Section 9
//SpecialProperty (fl.transitions.SpecialProperty)
package fl.transitions {
public class SpecialProperty {
public var parameters:Array;
public var preProcess:Function;
public var setValue:Function;
public var getValue:Function;
public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){
getValue = _arg1;
setValue = _arg2;
parameters = _arg3;
preProcess = _arg4;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialProperty ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("setValue:" + String(setValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("preProcess:" + String(preProcess)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package fl.transitions
Section 10
//SpecialPropertyModifier (fl.transitions.SpecialPropertyModifier)
package fl.transitions {
public class SpecialPropertyModifier {
public var getValue:Function;
public var modifyValues:Function;
public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){
modifyValues = _arg1;
getValue = _arg2;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialPropertyModifier ");
_local1 = (_local1 + ("modifyValues:" + String(modifyValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package fl.transitions
Section 11
//SpecialPropertySplitter (fl.transitions.SpecialPropertySplitter)
package fl.transitions {
public class SpecialPropertySplitter {
public var parameters:Array;
public var splitValues:Function;
public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){
splitValues = _arg1;
parameters = _arg2;
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + "[SpecialPropertySplitter ");
_local1 = (_local1 + ("splitValues:" + String(splitValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package fl.transitions
Section 12
//SpringScale (fl.transitions.SpringScale)
package fl.transitions {
import flash.display.*;
import flash.events.*;
public class SpringScale {
var my_mc:MovieClip;
var endScale:ScaleObj;
var stepCnt:int;
public function SpringScale(_arg1:MovieClip){
my_mc = _arg1;
}
public function springTo(_arg1:Number, _arg2:Number):void{
endScale = new ScaleObj(_arg1, _arg2);
my_mc.addEventListener(Event.ENTER_FRAME, springStep);
stepCnt = 0;
}
private function getTmpScale():ScaleObj{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:ScaleObj;
_local1 = (1 + (0.5 * Math.pow(-0.5, stepCnt)));
_local2 = (endScale.scaleX * _local1);
_local3 = (endScale.scaleY * _local1);
_local4 = new ScaleObj(_local2, _local3);
return (_local4);
}
private function springStep(_arg1:Event):void{
var _local2:ScaleObj;
if (stepCnt++ < 6){
_local2 = getTmpScale();
my_mc.scaleX = _local2.scaleX;
my_mc.scaleY = _local2.scaleY;
} else {
my_mc.scaleX = endScale.scaleX;
my_mc.scaleY = endScale.scaleY;
my_mc.removeEventListener(Event.ENTER_FRAME, springStep);
};
}
}
}//package fl.transitions
class ScaleObj {
private var scaleX:Number;
private var scaleY:Number;
private function ScaleObj(_arg1:Number, _arg2:Number){
scaleX = _arg1;
scaleY = _arg2;
}
}
Section 13
//Squeeze (fl.transitions.Squeeze)
package fl.transitions {
import flash.display.*;
public class Squeeze extends Transition {
protected var _scaleProp:String;// = "scaleX"
protected var _scaleFinal:Number;// = 1
public function Squeeze(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
_scaleProp = "scaleX";
_scaleFinal = 1;
super(_arg1, _arg2, _arg3);
if (_arg2.dimension){
this._scaleProp = "scaleY";
this._scaleFinal = this.manager.contentAppearance.scaleY;
} else {
this._scaleProp = "scaleX";
this._scaleFinal = this.manager.contentAppearance.scaleX;
};
}
override protected function _render(_arg1:Number):void{
if (_arg1 <= 0){
_arg1 = 0;
};
this._content[this._scaleProp] = (_arg1 * this._scaleFinal);
}
override public function get type():Class{
return (Squeeze);
}
}
}//package fl.transitions
Section 14
//Transition (fl.transitions.Transition)
package fl.transitions {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class Transition extends EventDispatcher {
protected var _direction:uint;// = 0
protected var _progress:Number;
public var ID:int;
protected var _twn:Tween;
protected var _content:MovieClip;
protected var _height:Number;// = NAN
protected var _width:Number;// = NAN
protected var _outerBounds:Rectangle;
protected var _easing:Function;
protected var _innerBounds:Rectangle;
protected var _manager:TransitionManager;
protected var _duration:Number;// = 2
public static const IN:uint = 0;
public static const OUT:uint = 1;
public function Transition(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
_direction = 0;
_duration = 2;
_width = NaN;
_height = NaN;
super();
this.content = _arg1;
this.direction = _arg2.direction;
this.duration = _arg2.duration;
this.easing = _arg2.easing;
this.manager = _arg3;
this._innerBounds = this.manager._innerBounds;
this._outerBounds = this.manager._outerBounds;
this._width = this.manager._width;
this._height = this.manager._height;
this._resetTween();
}
public function stop():void{
this._twn.fforward();
this._twn.stop();
}
private function _resetTween():void{
if (this._twn){
this._twn.stop();
this._twn.removeEventListener(TweenEvent.MOTION_FINISH, this.onMotionFinished);
};
this._twn = new Tween(this, "", this.easing, 0, 1, this.duration, true);
this._twn.stop();
this._twn.prop = "progress";
this._twn.addEventListener(TweenEvent.MOTION_FINISH, this.onMotionFinished, false, 0, true);
}
public function onMotionFinished(_arg1:Object):void{
if (this.direction == Transition.OUT){
this.dispatchEvent(new Event("transitionOutDone"));
} else {
this.dispatchEvent(new Event("transitionInDone"));
};
}
public function get duration():Number{
return (this._duration);
}
public function set duration(_arg1:Number):void{
if (_arg1){
this._duration = _arg1;
if (this._twn){
this._twn.duration = _arg1;
};
};
}
public function get easing():Function{
return (this._easing);
}
public function get manager():TransitionManager{
return (this._manager);
}
public function get progress():Number{
return (this._progress);
}
protected function _render(_arg1:Number):void{
}
public function get type():Class{
return (Transition);
}
public function drawCircle(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number):void{
_arg1.graphics.moveTo((_arg2 + _arg4), _arg3);
_arg1.graphics.curveTo((_arg4 + _arg2), ((Math.tan((Math.PI / 8)) * _arg4) + _arg3), ((Math.sin((Math.PI / 4)) * _arg4) + _arg2), ((Math.sin((Math.PI / 4)) * _arg4) + _arg3));
_arg1.graphics.curveTo(((Math.tan((Math.PI / 8)) * _arg4) + _arg2), (_arg4 + _arg3), _arg2, (_arg4 + _arg3));
_arg1.graphics.curveTo(((-(Math.tan((Math.PI / 8))) * _arg4) + _arg2), (_arg4 + _arg3), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg2), ((Math.sin((Math.PI / 4)) * _arg4) + _arg3));
_arg1.graphics.curveTo((-(_arg4) + _arg2), ((Math.tan((Math.PI / 8)) * _arg4) + _arg3), (-(_arg4) + _arg2), _arg3);
_arg1.graphics.curveTo((-(_arg4) + _arg2), ((-(Math.tan((Math.PI / 8))) * _arg4) + _arg3), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg2), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg3));
_arg1.graphics.curveTo(((-(Math.tan((Math.PI / 8))) * _arg4) + _arg2), (-(_arg4) + _arg3), _arg2, (-(_arg4) + _arg3));
_arg1.graphics.curveTo(((Math.tan((Math.PI / 8)) * _arg4) + _arg2), (-(_arg4) + _arg3), ((Math.sin((Math.PI / 4)) * _arg4) + _arg2), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg3));
_arg1.graphics.curveTo((_arg4 + _arg2), ((-(Math.tan((Math.PI / 8))) * _arg4) + _arg3), (_arg4 + _arg2), _arg3);
}
public function cleanUp():void{
this.removeEventListener("transitionInDone", this._manager.transitionInDone);
this.removeEventListener("transitionOutDone", this._manager.transitionOutDone);
this.stop();
}
public function set easing(_arg1:Function):void{
this._easing = _arg1;
if (this._twn){
this._twn.func = _arg1;
};
}
public function set manager(_arg1:TransitionManager):void{
if (this._manager){
this.removeEventListener("transitionInDone", this._manager.transitionInDone);
this.removeEventListener("transitionOutDone", this._manager.transitionOutDone);
};
this._manager = _arg1;
this.addEventListener("transitionInDone", this._manager.transitionInDone);
this.addEventListener("transitionOutDone", this._manager.transitionOutDone);
}
public function set progress(_arg1:Number):void{
if (this._progress == _arg1){
return;
};
this._progress = _arg1;
if (this._direction){
this._render((1 - _arg1));
} else {
this._render(_arg1);
};
this.dispatchEvent(new Event("transitionProgress"));
}
public function start():void{
this.content.visible = true;
this._twn.start();
}
public function drawBox(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_arg1.graphics.moveTo(_arg2, _arg3);
_arg1.graphics.lineTo((_arg2 + _arg4), _arg3);
_arg1.graphics.lineTo((_arg2 + _arg4), (_arg3 + _arg5));
_arg1.graphics.lineTo(_arg2, (_arg3 + _arg5));
_arg1.graphics.lineTo(_arg2, _arg3);
}
public function set content(_arg1:MovieClip):void{
if (_arg1){
this._content = _arg1;
if (this._twn){
this._twn.obj = _arg1;
};
};
}
private function _noEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public function get content():MovieClip{
return (this._content);
}
public function set direction(_arg1:Number):void{
this._direction = (_arg1) ? 1 : 0;
}
public function get direction():Number{
return (this._direction);
}
}
}//package fl.transitions
Section 15
//TransitionManager (fl.transitions.TransitionManager)
package fl.transitions {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class TransitionManager extends EventDispatcher {
public var _innerBounds:Rectangle;
private var _visualPropList:Object;
private var _triggerEvent:String;
public var className:String;// = "TransitionManager"
public var type:Object;
private var _contentAppearance:Object;
private var _content:MovieClip;
public var _width:Number;// = NAN
public var _height:Number;// = NAN
public var _outerBounds:Rectangle;
private var _transitions:Object;
private static var IDCount:int = 0;
public function TransitionManager(_arg1:MovieClip){
type = TransitionManager;
className = "TransitionManager";
_width = NaN;
_height = NaN;
_visualPropList = {x:null, y:null, scaleX:null, scaleY:null, alpha:null, rotation:null};
super();
this.content = _arg1;
this._transitions = {};
}
public function get content():MovieClip{
return (this._content);
}
public function removeAllTransitions():void{
var _local1:Transition;
for each (_local1 in this._transitions) {
_local1.cleanUp();
this.removeTransition(_local1);
};
}
function transitionInDone(_arg1:Object):void{
var _local2:Boolean;
this.removeTransition(_arg1.target);
if (this.numInTransitions == 0){
_local2 = this._content.visible;
if ((((this._triggerEvent == "hide")) || ((this._triggerEvent == "hideChild")))){
this._content.visible = false;
};
if (_local2){
this.dispatchEvent(new Event("allTransitionsInDone"));
};
};
}
public function get numOutTransitions():Number{
var _local1:Number;
var _local2:Object;
var _local3:Transition;
_local1 = 0;
_local2 = this._transitions;
for each (_local3 in _local2) {
if (_local3.direction){
_local1++;
};
};
return (_local1);
}
public function get contentAppearance():Object{
return (this._contentAppearance);
}
public function saveContentAppearance():void{
var _local1:MovieClip;
var _local2:Object;
var _local3:String;
_local1 = this._content;
if (!this._contentAppearance){
_local2 = (this._contentAppearance = {});
for (_local3 in this._visualPropList) {
_local2[_local3] = _local1[_local3];
};
_local2.colorTransform = _local1.transform.colorTransform;
};
this._innerBounds = _local1.getBounds(_local1);
this._outerBounds = _local1.getBounds(_local1.parent);
this._width = _local1.width;
this._height = _local1.height;
}
public function addTransition(_arg1:Transition):Transition{
_arg1.ID = ++TransitionManager.IDCount;
this._transitions[_arg1.ID] = _arg1;
return (_arg1);
}
public function startTransition(_arg1:Object):Transition{
var _local2:Class;
var _local3:Transition;
this.removeTransition(this.findTransition(_arg1));
_local2 = _arg1.type;
_local3 = new _local2(this._content, _arg1, this);
this.addTransition(_local3);
_local3.start();
return (_local3);
}
function transitionOutDone(_arg1:Object):void{
var _local2:Boolean;
this.removeTransition(_arg1.target);
if (this.numOutTransitions == 0){
this.restoreContentAppearance();
_local2 = this._content.visible;
if (((_local2) && ((((_triggerEvent == "hide")) || ((_triggerEvent == "hideChild")))))){
this._content.visible = false;
};
if (_local2){
this.dispatchEvent(new Event("allTransitionsOutDone"));
};
};
}
public function restoreContentAppearance():void{
var _local1:MovieClip;
var _local2:Object;
var _local3:String;
_local1 = this._content;
_local2 = this._contentAppearance;
for (_local3 in this._visualPropList) {
_local1[_local3] = _local2[_local3];
};
_local1.transform.colorTransform = _local2.colorTransform;
}
public function get numTransitions():Number{
var _local1:Number;
var _local2:Transition;
_local1 = 0;
for each (_local2 in this._transitions) {
_local1++;
};
return (_local1);
}
public function findTransition(_arg1:Object):Transition{
var _local2:Transition;
for each (_local2 in this._transitions) {
if (_local2.type == _arg1.type){
return (_local2);
};
};
return (null);
}
public function set content(_arg1:MovieClip):void{
this._content = _arg1;
this.saveContentAppearance();
}
public function get numInTransitions():Number{
var _local1:Number;
var _local2:Object;
var _local3:Transition;
_local1 = 0;
_local2 = this._transitions;
for each (_local3 in _local2) {
if (!_local3.direction){
_local1++;
};
};
return (_local1);
}
public function removeTransition(_arg1:Transition):Boolean{
if (((((!(_arg1)) || (!(this._transitions)))) || (!(this._transitions[_arg1.ID])))){
return (false);
};
_arg1.cleanUp();
return (delete this._transitions[_arg1.ID]);
}
public function get transitionsList():Object{
return (this._transitions);
}
public static function start(_arg1:MovieClip, _arg2:Object):Transition{
if (!_arg1.__transitionManager){
_arg1.__transitionManager = new TransitionManager(_arg1);
};
if (_arg2.direction == 1){
_arg1.__transitionManager._triggerEvent = "hide";
} else {
_arg1.__transitionManager._triggerEvent = "reveal";
};
return (_arg1.__transitionManager.startTransition(_arg2));
}
}
}//package fl.transitions
Section 16
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class Tween extends EventDispatcher {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
public var begin:Number;// = NAN
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var change:Number;// = NAN
private var _finish:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
isPlaying = false;
obj = null;
prop = "";
func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
begin = NaN;
change = NaN;
useSeconds = false;
prevTime = NaN;
prevPos = NaN;
looping = false;
_duration = NaN;
_time = NaN;
_fps = NaN;
_position = NaN;
_startTime = NaN;
_intervalID = 0;
_finish = NaN;
_timer = null;
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean;
_local2 = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//package fl.transitions
Section 17
//Tweener (fl.transitions.Tweener)
package fl.transitions {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class Tweener {
private static var _timeScale:Number = 1;
private static var _currentTimeFrame:Number;
private static var _specialPropertySplitterList:Object;
private static var _engineExists:Boolean = false;
private static var _specialPropertyModifierList:Object;
private static var _currentTime:Number;
private static var _tweenList:Array;
private static var _specialPropertyList:Object;
private static var _transitionList:Object;
private static var _inited:Boolean = false;
private static var __tweener_controller__:MovieClip;
public function Tweener(){
trace("Tweener is a static class and should not be instantiated.");
}
public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{
var _local4:SpecialPropertyModifier;
if (!_inited){
init();
};
_local4 = new SpecialPropertyModifier(_arg2, _arg3);
_specialPropertyModifierList[_arg1] = _local4;
}
public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{
var _local6:SpecialProperty;
if (!_inited){
init();
};
_local6 = new SpecialProperty(_arg2, _arg3, _arg4, _arg5);
_specialPropertyList[_arg1] = _local6;
}
public static function init(... _args):void{
_inited = true;
_transitionList = new Object();
Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
}
private static function updateTweens():Boolean{
var _local1:int;
if (_tweenList.length == 0){
return (false);
};
_local1 = 0;
while (_local1 < _tweenList.length) {
if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){
if (!updateTweenByIndex(_local1)){
removeTweenByIndex(_local1);
};
if (_tweenList[_local1] == null){
removeTweenByIndex(_local1, true);
_local1--;
};
};
_local1++;
};
return (true);
}
public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Array;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Function;
var _local9:TweenListObj;
var _local10:Number;
var _local11:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local4 = _arg1.concat();
} else {
_local4 = [_arg1];
};
_local5 = _arg2;
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
_local6 = (isNaN(_local5.time)) ? 0 : _local5.time;
_local7 = (isNaN(_local5.delay)) ? 0 : _local5.delay;
if (typeof(_local5.transition) == "string"){
_local11 = _local5.transition.toLowerCase();
_local8 = _transitionList[_local11];
} else {
_local8 = _local5.transition;
};
if (!Boolean(_local8)){
_local8 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local4.length) {
if (_local5.useFrames == true){
_local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams);
} else {
_local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams);
};
_local9.properties = null;
_local9.onStart = _local5.onStart;
_local9.onUpdate = _local5.onUpdate;
_local9.onComplete = _local5.onComplete;
_local9.onOverwrite = _local5.onOverwrite;
_local9.onStartParams = _local5.onStartParams;
_local9.onUpdateParams = _local5.onUpdateParams;
_local9.onCompleteParams = _local5.onCompleteParams;
_local9.onOverwriteParams = _local5.onOverwriteParams;
_local9.onStartScope = _local5.onStartScope;
_local9.onUpdateScope = _local5.onUpdateScope;
_local9.onCompleteScope = _local5.onCompleteScope;
_local9.onOverwriteScope = _local5.onOverwriteScope;
_local9.onErrorScope = _local5.onErrorScope;
_local9.isCaller = true;
_local9.count = _local5.count;
_local9.waitFrames = _local5.waitFrames;
_tweenList.push(_local9);
if ((((_local6 == 0)) && ((_local7 == 0)))){
_local10 = (_tweenList.length - 1);
updateTweenByIndex(_local10);
removeTweenByIndex(_local10);
};
_local3++;
};
return (true);
}
public static function pauseAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
pauseTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function removeTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
var _local5:SpecialPropertySplitter;
var _local6:Array;
var _local7:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
if (_specialPropertySplitterList[_args[_local4]]){
_local5 = _specialPropertySplitterList[_args[_local4]];
_local6 = _local5.splitValues(_arg1, null);
_local7 = 0;
while (_local7 < _local6.length) {
_local3.push(_local6[_local7].name);
_local7++;
};
} else {
_local3.push(_args[_local4]);
};
};
_local4++;
};
return (affectTweens(removeTweenByIndex, _arg1, _local3));
}
public static function splitTweens(_arg1:Number, _arg2:Array):uint{
var _local3:TweenListObj;
var _local4:TweenListObj;
var _local5:uint;
var _local6:String;
var _local7:Boolean;
_local3 = _tweenList[_arg1];
_local4 = _local3.clone(false);
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2[_local5];
if (Boolean(_local3.properties[_local6])){
_local3.properties[_local6] = undefined;
delete _local3.properties[_local6];
};
_local5++;
};
for (_local6 in _local4.properties) {
_local7 = false;
_local5 = 0;
while (_local5 < _arg2.length) {
if (_arg2[_local5] == _local6){
_local7 = true;
break;
};
_local5++;
};
if (!_local7){
_local4.properties[_local6] = undefined;
delete _local4.properties[_local6];
};
};
_tweenList.push(_local4);
return ((_tweenList.length - 1));
}
public static function updateFrame():void{
_currentTimeFrame++;
}
public static function resumeTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj;
var _local3:Number;
_local2 = _tweenList[_arg1];
if ((((_local2 == null)) || (!(_local2.isPaused)))){
return (false);
};
_local3 = getCurrentTweeningTime(_local2);
_local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused));
_local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused));
_local2.timePaused = undefined;
_local2.isPaused = false;
return (true);
}
public static function getVersion():String{
return ("AS3 1.31.74");
}
public static function onEnterFrame(_arg1:Event):void{
var _local2:Boolean;
updateTime();
updateFrame();
_local2 = false;
_local2 = updateTweens();
if (!_local2){
stopEngine();
};
}
public static function updateTime():void{
_currentTime = getTimer();
}
private static function updateTweenByIndex(_arg1:Number):Boolean{
var tTweening:TweenListObj;
var isOver:Boolean;
var mustUpdate:Boolean;
var nv:Number;
var t:Number;
var b:Number;
var c:Number;
var d:Number;
var pName:String;
var eventScope:Object;
var tScope:Object;
var cTime:Number;
var tProperty:Object;
var pv:Number;
var i = _arg1;
tTweening = _tweenList[i];
if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){
return (false);
};
isOver = false;
cTime = getCurrentTweeningTime(tTweening);
if (cTime >= tTweening.timeStart){
tScope = tTweening.scope;
if (tTweening.isCaller){
do {
t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1));
b = tTweening.timeStart;
c = (tTweening.timeComplete - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d);
} while (!(cTime >= nv));
} else {
mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates)));
if (cTime >= tTweening.timeComplete){
isOver = true;
mustUpdate = true;
};
if (!tTweening.hasStarted){
if (Boolean(tTweening.onStart)){
eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope;
try {
tTweening.onStart.apply(eventScope, tTweening.onStartParams);
} catch(e2:Error) {
handleError(tTweening, e2, "onStart");
};
};
for (pName in tTweening.properties) {
if (tTweening.properties[pName].isSpecialProperty){
if (Boolean(_specialPropertyList[pName].preProcess)){
tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra);
};
pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
pv = tScope[pName];
};
tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv;
};
mustUpdate = true;
tTweening.hasStarted = true;
};
if (mustUpdate){
for (pName in tTweening.properties) {
tProperty = tTweening.properties[pName];
if (isOver){
nv = tProperty.valueComplete;
} else {
if (tProperty.hasModifier){
t = (cTime - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams);
nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters);
} else {
t = (cTime - tTweening.timeStart);
b = tProperty.valueStart;
c = (tProperty.valueComplete - tProperty.valueStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d, tTweening.transitionParams);
};
};
if (tTweening.rounded){
nv = Math.round(nv);
};
if (tProperty.isSpecialProperty){
_specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
tScope[pName] = nv;
};
};
tTweening.updatesSkipped = 0;
if (Boolean(tTweening.onUpdate)){
eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope;
try {
tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams);
} catch(e3:Error) {
handleError(tTweening, e3, "onUpdate");
};
};
} else {
tTweening.updatesSkipped++;
};
};
if (((isOver) && (Boolean(tTweening.onComplete)))){
eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope;
try {
tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams);
} catch(e4:Error) {
handleError(tTweening, e4, "onComplete");
};
};
return (!(isOver));
};
return (true);
}
public static function setTimeScale(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
if (isNaN(_arg1)){
_arg1 = 1;
};
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
if (_arg1 != _timeScale){
if (_tweenList != null){
_local2 = 0;
while (_local2 < _tweenList.length) {
_local3 = getCurrentTweeningTime(_tweenList[_local2]);
_tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1));
_tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1));
if (_tweenList[_local2].timePaused != undefined){
_tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1));
};
_local2++;
};
};
_timeScale = _arg1;
};
}
public static function resumeAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
resumeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{
var eventScope:Object;
var pTweening = _arg1;
var pError = _arg2;
var pCallBackName = _arg3;
if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){
eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope;
try {
pTweening.onError.apply(eventScope, [pTweening.scope, pError]);
} catch(metaError:Error) {
printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace()));
};
} else {
if (!Boolean(pTweening.onError)){
printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace()));
};
};
}
private static function startEngine():void{
_engineExists = true;
_tweenList = new Array();
__tweener_controller__ = new MovieClip();
__tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
_currentTimeFrame = 0;
updateTime();
}
public static function removeAllTweens():Boolean{
var _local1:Boolean;
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local1 = false;
_local2 = 0;
while (_local2 < _tweenList.length) {
removeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Number;
var _local5:String;
var _local6:Array;
var _local7:Object;
var _local8:Number;
var _local9:Number;
var _local10:Array;
var _local11:Object;
var _local12:Object;
var _local13:Function;
var _local14:Object;
var _local15:TweenListObj;
var _local16:Number;
var _local17:Array;
var _local18:Array;
var _local19:Array;
var _local20:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local6 = _arg1.concat();
} else {
_local6 = [_arg1];
};
_local7 = TweenListObj.makePropertiesChain(_arg2);
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
_local8 = (isNaN(_local7.time)) ? 0 : _local7.time;
_local9 = (isNaN(_local7.delay)) ? 0 : _local7.delay;
_local10 = new Array();
_local11 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true};
_local12 = new Object();
for (_local5 in _local7) {
if (!_local11[_local5]){
if (_specialPropertySplitterList[_local5]){
_local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters);
_local3 = 0;
while (_local3 < _local17.length) {
if (_specialPropertySplitterList[_local17[_local3].name]){
_local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters);
_local4 = 0;
while (_local4 < _local18.length) {
_local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false};
_local4++;
};
} else {
_local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false};
};
_local3++;
};
} else {
if (_specialPropertyModifierList[_local5] != undefined){
_local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]);
_local3 = 0;
while (_local3 < _local19.length) {
_local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue};
_local3++;
};
} else {
_local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]};
};
};
};
};
for (_local5 in _local10) {
if (_specialPropertyList[_local5] != undefined){
_local10[_local5].isSpecialProperty = true;
} else {
if (_local6[0][_local5] == undefined){
printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property."));
};
};
};
for (_local5 in _local12) {
if (_local10[_local5] != undefined){
_local10[_local5].modifierParameters = _local12[_local5].modifierParameters;
_local10[_local5].modifierFunction = _local12[_local5].modifierFunction;
};
};
if (typeof(_local7.transition) == "string"){
_local20 = _local7.transition.toLowerCase();
_local13 = _transitionList[_local20];
} else {
_local13 = _local7.transition;
};
if (!Boolean(_local13)){
_local13 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local6.length) {
_local14 = new Object();
for (_local5 in _local10) {
_local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters);
};
if (_local7.useFrames == true){
_local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams);
} else {
_local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams);
};
_local15.properties = _local14;
_local15.onStart = _local7.onStart;
_local15.onUpdate = _local7.onUpdate;
_local15.onComplete = _local7.onComplete;
_local15.onOverwrite = _local7.onOverwrite;
_local15.onError = _local7.onError;
_local15.onStartParams = _local7.onStartParams;
_local15.onUpdateParams = _local7.onUpdateParams;
_local15.onCompleteParams = _local7.onCompleteParams;
_local15.onOverwriteParams = _local7.onOverwriteParams;
_local15.onStartScope = _local7.onStartScope;
_local15.onUpdateScope = _local7.onUpdateScope;
_local15.onCompleteScope = _local7.onCompleteScope;
_local15.onOverwriteScope = _local7.onOverwriteScope;
_local15.onErrorScope = _local7.onErrorScope;
_local15.rounded = _local7.rounded;
_local15.skipUpdates = _local7.skipUpdates;
removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete);
_tweenList.push(_local15);
if ((((_local8 == 0)) && ((_local9 == 0)))){
_local16 = (_tweenList.length - 1);
updateTweenByIndex(_local16);
removeTweenByIndex(_local16);
};
_local3++;
};
return (true);
}
public static function registerTransition(_arg1:String, _arg2:Function):void{
if (!_inited){
init();
};
_transitionList[_arg1] = _arg2;
}
public static function printError(_arg1:String):void{
trace(("## [Tweener] Error: " + _arg1));
}
private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{
var _local4:Boolean;
var _local5:uint;
var _local6:Array;
var _local7:uint;
var _local8:uint;
var _local9:uint;
_local4 = false;
if (!Boolean(_tweenList)){
return (false);
};
_local5 = 0;
while (_local5 < _tweenList.length) {
if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){
if (_arg3.length == 0){
_arg1(_local5);
_local4 = true;
} else {
_local6 = new Array();
_local7 = 0;
while (_local7 < _arg3.length) {
if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){
_local6.push(_arg3[_local7]);
};
_local7++;
};
if (_local6.length > 0){
_local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties);
if (_local8 == _local6.length){
_arg1(_local5);
_local4 = true;
} else {
_local9 = splitTweens(_local5, _local6);
_arg1(_local9);
_local4 = true;
};
};
};
};
_local5++;
};
return (_local4);
}
public static function getTweens(_arg1:Object):Array{
var _local2:uint;
var _local3:String;
var _local4:Array;
if (!Boolean(_tweenList)){
return ([]);
};
_local4 = new Array();
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
for (_local3 in _tweenList[_local2].properties) {
_local4.push(_local3);
};
};
_local2++;
};
return (_local4);
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
return (true);
};
_local2++;
};
return (false);
}
public static function pauseTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj;
_local2 = _tweenList[_arg1];
if ((((_local2 == null)) || (_local2.isPaused))){
return (false);
};
_local2.timePaused = getCurrentTweeningTime(_local2);
_local2.isPaused = true;
return (true);
}
public static function getCurrentTweeningTime(_arg1:Object):Number{
return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime);
}
public static function getTweenCount(_arg1:Object):Number{
var _local2:uint;
var _local3:Number;
if (!Boolean(_tweenList)){
return (0);
};
_local3 = 0;
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
_local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties));
};
_local2++;
};
return (_local3);
}
private static function stopEngine():void{
_engineExists = false;
_tweenList = null;
_currentTime = 0;
_currentTimeFrame = 0;
__tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
__tweener_controller__ = null;
}
public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{
var removed:Boolean;
var removedLocally:Boolean;
var i:uint;
var tl:uint;
var pName:String;
var eventScope:Object;
var p_scope = _arg1;
var p_properties = _arg2;
var p_timeStart = _arg3;
var p_timeComplete = _arg4;
removed = false;
tl = _tweenList.length;
i = 0;
while (i < tl) {
if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){
if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){
removedLocally = false;
for (pName in _tweenList[i].properties) {
if (Boolean(p_properties[pName])){
if (Boolean(_tweenList[i].onOverwrite)){
eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope;
try {
_tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[i], e, "onOverwrite");
};
};
_tweenList[i].properties[pName] = undefined;
delete _tweenList[i].properties[pName];
removedLocally = true;
removed = true;
};
};
if (removedLocally){
if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){
removeTweenByIndex(i);
};
};
};
};
i = (i + 1);
};
return (removed);
}
public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{
var _local4:SpecialPropertySplitter;
if (!_inited){
init();
};
_local4 = new SpecialPropertySplitter(_arg2, _arg3);
_specialPropertySplitterList[_arg1] = _local4;
}
public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{
_tweenList[_arg1] = null;
if (_arg2){
_tweenList.splice(_arg1, 1);
};
return (true);
}
public static function resumeTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(resumeTweenByIndex, _arg1, _local3));
}
public static function pauseTweens(_arg1:Object, ... _args):Boolean{
var _local3:Array;
var _local4:uint;
_local3 = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(pauseTweenByIndex, _arg1, _local3));
}
}
}//package fl.transitions
Section 18
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
time = NaN;
position = NaN;
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 19
//TweenListObj (fl.transitions.TweenListObj)
package fl.transitions {
public class TweenListObj {
public var onUpdate:Function;
public var useFrames:Boolean;
public var hasStarted:Boolean;
public var onOverwriteParams:Array;
public var timeStart:Number;
public var count:Number;
public var timeComplete:Number;
public var onStartParams:Array;
public var onUpdateScope:Object;
public var rounded:Boolean;
public var onUpdateParams:Array;
public var properties:Object;
public var onComplete:Function;
public var transitionParams:Object;
public var updatesSkipped:Number;
public var onStart:Function;
public var onOverwriteScope:Object;
public var skipUpdates:Number;
public var onStartScope:Object;
public var scope:Object;
public var transition:Function;
public var timePaused:Number;
public var onCompleteParams:Array;
public var timesCalled:Number;
public var isCaller:Boolean;
public var onError:Function;
public var onErrorScope:Object;
public var onOverwrite:Function;
public var isPaused:Boolean;
public var waitFrames:Boolean;
public var onCompleteScope:Object;
public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){
scope = _arg1;
timeStart = _arg2;
timeComplete = _arg3;
useFrames = _arg4;
transition = _arg5;
transitionParams = _arg6;
properties = new Object();
isPaused = false;
timePaused = undefined;
isCaller = false;
updatesSkipped = 0;
timesCalled = 0;
skipUpdates = 0;
hasStarted = false;
}
public function clone(_arg1:Boolean):TweenListObj{
var _local2:TweenListObj;
var _local3:String;
_local2 = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams);
_local2.properties = new Array();
for (_local3 in properties) {
_local2.properties[_local3] = properties[_local3].clone();
};
_local2.skipUpdates = skipUpdates;
_local2.updatesSkipped = updatesSkipped;
if (!_arg1){
_local2.onStart = onStart;
_local2.onUpdate = onUpdate;
_local2.onComplete = onComplete;
_local2.onOverwrite = onOverwrite;
_local2.onError = onError;
_local2.onStartParams = onStartParams;
_local2.onUpdateParams = onUpdateParams;
_local2.onCompleteParams = onCompleteParams;
_local2.onOverwriteParams = onOverwriteParams;
_local2.onStartScope = onStartScope;
_local2.onUpdateScope = onUpdateScope;
_local2.onCompleteScope = onCompleteScope;
_local2.onOverwriteScope = onOverwriteScope;
_local2.onErrorScope = onErrorScope;
};
_local2.rounded = rounded;
_local2.isPaused = isPaused;
_local2.timePaused = timePaused;
_local2.isCaller = isCaller;
_local2.count = count;
_local2.timesCalled = timesCalled;
_local2.waitFrames = waitFrames;
_local2.hasStarted = hasStarted;
return (_local2);
}
public function toString():String{
var _local1:String;
var _local2:Boolean;
var _local3:String;
_local1 = "\n[TweenListObj ";
_local1 = (_local1 + ("scope:" + String(scope)));
_local1 = (_local1 + ", properties:");
_local2 = true;
for (_local3 in properties) {
if (!_local2){
_local1 = (_local1 + ",");
};
_local1 = (_local1 + ("[name:" + properties[_local3].name));
_local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart));
_local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete));
_local1 = (_local1 + "]");
_local2 = false;
};
_local1 = (_local1 + (", timeStart:" + String(timeStart)));
_local1 = (_local1 + (", timeComplete:" + String(timeComplete)));
_local1 = (_local1 + (", useFrames:" + String(useFrames)));
_local1 = (_local1 + (", transition:" + String(transition)));
_local1 = (_local1 + (", transitionParams:" + String(transitionParams)));
if (skipUpdates){
_local1 = (_local1 + (", skipUpdates:" + String(skipUpdates)));
};
if (updatesSkipped){
_local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped)));
};
if (Boolean(onStart)){
_local1 = (_local1 + (", onStart:" + String(onStart)));
};
if (Boolean(onUpdate)){
_local1 = (_local1 + (", onUpdate:" + String(onUpdate)));
};
if (Boolean(onComplete)){
_local1 = (_local1 + (", onComplete:" + String(onComplete)));
};
if (Boolean(onOverwrite)){
_local1 = (_local1 + (", onOverwrite:" + String(onOverwrite)));
};
if (Boolean(onError)){
_local1 = (_local1 + (", onError:" + String(onError)));
};
if (onStartParams){
_local1 = (_local1 + (", onStartParams:" + String(onStartParams)));
};
if (onUpdateParams){
_local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams)));
};
if (onCompleteParams){
_local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams)));
};
if (onOverwriteParams){
_local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams)));
};
if (onStartScope){
_local1 = (_local1 + (", onStartScope:" + String(onStartScope)));
};
if (onUpdateScope){
_local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope)));
};
if (onCompleteScope){
_local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope)));
};
if (onOverwriteScope){
_local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope)));
};
if (onErrorScope){
_local1 = (_local1 + (", onErrorScope:" + String(onErrorScope)));
};
if (rounded){
_local1 = (_local1 + (", rounded:" + String(rounded)));
};
if (isPaused){
_local1 = (_local1 + (", isPaused:" + String(isPaused)));
};
if (timePaused){
_local1 = (_local1 + (", timePaused:" + String(timePaused)));
};
if (isCaller){
_local1 = (_local1 + (", isCaller:" + String(isCaller)));
};
if (count){
_local1 = (_local1 + (", count:" + String(count)));
};
if (timesCalled){
_local1 = (_local1 + (", timesCalled:" + String(timesCalled)));
};
if (waitFrames){
_local1 = (_local1 + (", waitFrames:" + String(waitFrames)));
};
if (hasStarted){
_local1 = (_local1 + (", hasStarted:" + String(hasStarted)));
};
_local1 = (_local1 + "]\n");
return (_local1);
}
public static function makePropertiesChain(_arg1:Object):Object{
var _local2:Object;
var _local3:Object;
var _local4:Object;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local2 = _arg1.base;
if (_local2){
_local3 = {};
if ((_local2 is Array)){
_local4 = [];
_local8 = 0;
while (_local8 < _local2.length) {
_local4.push(_local2[_local8]);
_local8++;
};
} else {
_local4 = [_local2];
};
_local4.push(_arg1);
_local6 = _local4.length;
_local7 = 0;
while (_local7 < _local6) {
if (_local4[_local7]["base"]){
_local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]);
} else {
_local5 = _local4[_local7];
};
_local3 = AuxFunctions.concatObjects(_local3, _local5);
_local7++;
};
if (_local3["base"]){
delete _local3["base"];
};
return (_local3);
//unresolved jump
};
return (_arg1);
}
}
}//package fl.transitions
Section 20
//Wipe (fl.transitions.Wipe)
package fl.transitions {
import flash.display.*;
import flash.geom.*;
public class Wipe extends Transition {
protected var _cornerMode:Boolean;// = false
protected var _mask:MovieClip;
protected var _innerMask:MovieClip;
protected var _startPoint:uint;// = 4
public function Wipe(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
_startPoint = 4;
_cornerMode = false;
super(_arg1, _arg2, _arg3);
if (_arg2.startPoint){
this._startPoint = _arg2.startPoint;
};
this._initMask();
}
protected function _initMask():void{
var _local1:Rectangle;
this._mask = new MovieClip();
this._mask.visible = false;
this._content.addChild(this._mask);
this._innerMask = new MovieClip();
this._mask.addChild(this._innerMask);
this._innerMask.x = (this._innerMask.y = 50);
this._innerMask.graphics.beginFill(0xFF0000);
this.drawBox(this._innerMask, -50, -50, 100, 100);
this._innerMask.graphics.endFill();
switch (this._startPoint){
case 3:
case 2:
this._innerMask.rotation = 90;
break;
case 1:
case 4:
case 5:
this._innerMask.rotation = 0;
break;
case 9:
case 6:
this._innerMask.rotation = 180;
break;
case 7:
case 8:
this._innerMask.rotation = -90;
break;
};
if ((this._startPoint % 2)){
this._cornerMode = true;
};
_local1 = this._innerBounds;
this._mask.x = _local1.left;
this._mask.y = _local1.top;
this._mask.width = _local1.width;
this._mask.height = _local1.height;
}
protected function _drawSlant(_arg1:MovieClip, _arg2:Number):void{
_arg1.graphics.moveTo(-50, -50);
if (_arg2 <= 0.5){
_arg1.graphics.lineTo((200 * (_arg2 - 0.25)), -50);
_arg1.graphics.lineTo(-50, (200 * (_arg2 - 0.25)));
} else {
_arg1.graphics.lineTo(50, -50);
_arg1.graphics.lineTo(50, (200 * (_arg2 - 0.75)));
_arg1.graphics.lineTo((200 * (_arg2 - 0.75)), 50);
_arg1.graphics.lineTo(-50, 50);
};
_arg1.graphics.lineTo(-50, -50);
}
override protected function _render(_arg1:Number):void{
this._innerMask.graphics.clear();
this._innerMask.graphics.beginFill(0xFF0000);
if (this._cornerMode){
this._drawSlant(this._innerMask, _arg1);
} else {
this.drawBox(this._innerMask, -50, -50, (_arg1 * 100), 100);
};
this._innerMask.graphics.endFill();
}
override public function get type():Class{
return (Wipe);
}
override public function cleanUp():void{
this._content.removeChild(this._mask);
this._content.mask = null;
super.cleanUp();
}
override public function start():void{
this._content.mask = this._mask;
super.start();
}
}
}//package fl.transitions
Section 21
//GAME_22 (koi2_game_fla.GAME_22)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class GAME_22 extends MovieClip {
public var heartStopMc:MovieClip;
public var moveMc:MovieClip;
public var satoshiYoukoMc:MovieClip;
public var limitTime:int;
public var heartStartMc:MovieClip;
public var parentObject:Object;
public var score:int;
public var yukaMc:MovieClip;
public var handMouseMc:HandMouseMc;
public var youkoMc:Oaite1;
public var satoshiMc:MovieClip;
public var backMc:MovieClip;
public var rate:Number;
public var heartItemMc:MovieClip;
public var my_timer:Timer;
public function GAME_22(){
addFrameScript(0, frame1, 1, frame2);
}
public function dispScore():void{
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = new TextFormat();
_local1.letterSpacing = -1;
backMc.scoreText.text = String(score);
backMc.scoreText.setTextFormat(_local1);
_local2 = new TextFormat();
_local2.letterSpacing = -1;
backMc.scoreText2.text = String(score);
backMc.scoreText2.setTextFormat(_local2);
_local3 = new TextFormat();
_local3.letterSpacing = -1;
backMc.tikahaikeiMc.scoreText3.text = String(score);
backMc.tikahaikeiMc.scoreText3.setTextFormat(_local3);
}
public function moveMouseMc(_arg1:MouseEvent):void{
handMouseMc.startDrag(true);
_arg1.updateAfterEvent();
}
public function goResult():void{
parentObject.resultScore = score;
removeChild(handMouseMc);
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
parentObject.gotoAndStop("result");
}
public function timerHandler(_arg1:TimerEvent):void{
limitTime--;
backMc.clockMc.secondMc.rotation = (backMc.clockMc.secondMc.rotation + 6);
if ((((((limitTime == 54)) || ((limitTime == 36)))) || ((limitTime == 18)))){
heartItemMc.x = 316;
heartItemMc.y = 0;
heartItemMc.itemMc.rotation = 0;
heartItemMc.itemMc.x = 0;
heartItemMc.itemMc.y = -60;
heartItemMc.gotoAndStop("2");
heartItemMc.itemMc.gotoAndStop("1");
};
if (limitTime == 3){
backMc.clockMc.gotoAndStop("2");
};
if (limitTime == 1){
heartStopMc.gotoAndStop("2");
};
if (limitTime == 0){
backMc.clockMc.gotoAndStop("1");
timeUp();
};
}
public function timeUp():void{
handMouseMc.x = satoshiMc.x;
handMouseMc.y = satoshiMc.y;
this.addEventListener(Event.ENTER_FRAME, moveMouse);
satoshiMc.timeUp = true;
satoshiMc.gotoAndStop("3");
youkoMc.gotoAndStop("3");
my_timer.removeEventListener(TimerEvent.TIMER, timerHandler);
}
public function endTween():void{
heartStartMc.gotoAndStop("2");
}
public function moveMouse(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:int;
_local2 = (mouseX - handMouseMc.x);
_local3 = (mouseY - handMouseMc.y);
_local4 = (_local2 * rate);
_local5 = (_local3 * rate);
_local6 = 60;
handMouseMc.x = (handMouseMc.x + _local4);
handMouseMc.y = (handMouseMc.y + _local5);
handMouseMc.y = Math.max(handMouseMc.y, _local6);
if (rate < 0.7){
rate = (rate + 0.03);
};
if (rate >= 0.7){
this.addEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
};
}
function frame1(){
stop();
moveMc = satoshiYoukoMc;
Tweener.addTween(moveMc, {delay:1, onComplete:endTween});
Tweener.addTween(moveMc, {y:216, delay:2.5, time:1, onComplete:endTween2});
backMc.scoreText.selectable = false;
backMc.scoreText2.selectable = false;
backMc.tikahaikeiMc.scoreText3.selectable = false;
}
function frame2(){
stop();
parentObject = Object(parent);
score = 0;
limitTime = 60;
my_timer = new Timer(1000, limitTime);
my_timer.addEventListener(TimerEvent.TIMER, timerHandler);
my_timer.start();
rate = 0.1;
}
public function endTween2():void{
gotoAndStop("2");
}
}
}//package koi2_game_fla
Section 22
//GAMESTART_18 (koi2_game_fla.GAMESTART_18)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class GAMESTART_18 extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public function GAMESTART_18(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
this.hitArea = hitMc;
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
gotoAndStop("2");
parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
gotoAndStop("1");
parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 23
//HI_15 (koi2_game_fla.HI_15)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HI_15 extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public function HI_15(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
this.hitArea = hitMc;
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
gotoAndStop("2");
parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
gotoAndStop("1");
parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 24
//HI_64 (koi2_game_fla.HI_64)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HI_64 extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public function HI_64(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
this.hitArea = hitMc;
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
gotoAndStop("2");
parentObject.parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
gotoAndStop("1");
parentObject.parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 25
//HI_65 (koi2_game_fla.HI_65)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class HI_65 extends MovieClip {
public var thisTimer1:Timer;
public function HI_65(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
thisTimer1 = new Timer(100, 3);
thisTimer1.addEventListener(TimerEvent.TIMER, ThisTimer1);
thisTimer1.start();
}
function frame4(){
gotoAndStop("1");
}
public function ThisTimer1(_arg1:TimerEvent):void{
nextFrame();
}
}
}//package koi2_game_fla
Section 26
//HI_69 (koi2_game_fla.HI_69)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HI_69 extends MovieClip {
public var titleBtn:MovieClip;
public var btnMc:MovieClip;
public var format;
public var moveMc:MovieClip;
public var parentObject:Object;
public var handMouseMc:HandMouseMc;
public var hiScoresMc:MovieClip;
public var moveMc2:MovieClip;
public var tvMc:MovieClip;
public var scoreText:TextField;
public function HI_69(){
addFrameScript(0, frame1);
}
public function titleBtnClick(_arg1:MouseEvent):void{
var _local2:KoitsuBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
_local2 = new KoitsuBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
removeChild(handMouseMc);
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
titleBtn.removeEventListener(MouseEvent.CLICK, titleBtnClick);
Tweener.pauseTweens(tvMc.rankingMc.moveMc);
parentObject.gotoAndStop("title");
}
public function moveMouseMc(_arg1:MouseEvent):void{
handMouseMc.startDrag(true);
_arg1.updateAfterEvent();
}
function frame1(){
stop();
parentObject = Object(parent);
Mouse.hide();
handMouseMc.x = mouseX;
handMouseMc.y = mouseY;
addChild(handMouseMc);
this.addEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
titleBtn.addEventListener(MouseEvent.CLICK, titleBtnClick);
format = new TextFormat();
format.letterSpacing = -1;
scoreText.selectable = false;
scoreText.text = String(parentObject.resultScore);
scoreText.setTextFormat(format);
moveMc = hiScoresMc;
Tweener.addTween(moveMc, {x:19, delay:0.2, time:0.5, transition:"easeOutBack"});
moveMc2 = titleBtn;
Tweener.addTween(moveMc2, {x:18, delay:0.4, time:0.5, transition:"easeOutBack"});
}
}
}//package koi2_game_fla
Section 27
//HOWTOPLAY_17 (koi2_game_fla.HOWTOPLAY_17)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HOWTOPLAY_17 extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public function HOWTOPLAY_17(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
this.hitArea = hitMc;
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
gotoAndStop("2");
parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
gotoAndStop("1");
parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 28
//HOWTOPLAY_48 (koi2_game_fla.HOWTOPLAY_48)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HOWTOPLAY_48 extends MovieClip {
public var titleBtn:MovieClip;
public var format;
public var clockMc:MovieClip;
public var moveMc:MovieClip;
public var parentObject:Object;
public var handMouseMc:HandMouseMc;
public var howToPlayMc:MovieClip;
public var thisTimer:Timer;
public var thisTimer3:Timer;
public var time:Number;
public var thisTimer5:Timer;
public var moveMc2:MovieClip;
public var thisTimer4:Timer;
public var thisTimer2:Timer;
public var scoreText:TextField;
public function HOWTOPLAY_48(){
addFrameScript(0, frame1);
}
public function titleBtnClick(_arg1:MouseEvent):void{
var _local2:KoitsuBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:Object;
_local2 = new KoitsuBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
removeChild(handMouseMc);
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer3.removeEventListener(TimerEvent.TIMER, ThisTimer3);
thisTimer4.removeEventListener(TimerEvent.TIMER, ThisTimer4);
thisTimer5.removeEventListener(TimerEvent.TIMER, ThisTimer5);
titleBtn.removeEventListener(MouseEvent.CLICK, titleBtnClick);
_local5 = Object(parent);
_local5.gotoAndStop("title");
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:HeartItemMc;
_local2 = new HeartItemMc();
_local2.x = 316;
_local2.y = 0;
addChild(_local2);
setChildIndex(_local2, getChildIndex(handMouseMc));
}
public function ThisTimer3(_arg1:TimerEvent){
var _local2:HeartItemMc;
_local2 = new HeartItemMc();
_local2.x = 316;
_local2.y = 0;
addChild(_local2);
setChildIndex(_local2, getChildIndex(handMouseMc));
}
public function moveMouseMc(_arg1:MouseEvent):void{
handMouseMc.startDrag(true);
_arg1.updateAfterEvent();
}
public function ThisTimer(_arg1:TimerEvent){
clockMc.secondMc.rotation = (clockMc.secondMc.rotation + 6);
time++;
if (time == 57){
clockMc.gotoAndStop("2");
};
if (time == 60){
clockMc.gotoAndStop("1");
time = 0;
};
}
function frame1(){
parentObject = Object(parent);
Mouse.hide();
handMouseMc.x = mouseX;
handMouseMc.y = mouseY;
this.addEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
titleBtn.addEventListener(MouseEvent.CLICK, titleBtnClick);
format = new TextFormat();
format.letterSpacing = -1;
scoreText.selectable = false;
scoreText.text = String(parentObject.resultScore);
scoreText.setTextFormat(format);
moveMc = howToPlayMc;
Tweener.addTween(moveMc, {x:19, delay:0.2, time:0.5, transition:"easeOutBack"});
moveMc2 = titleBtn;
Tweener.addTween(moveMc2, {x:18, delay:0.4, time:0.5, transition:"easeOutBack"});
time = 0;
thisTimer = new Timer(1000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
thisTimer2 = new Timer(6000, 1);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
thisTimer3 = new Timer(24000, 1);
thisTimer3.addEventListener(TimerEvent.TIMER, ThisTimer3);
thisTimer3.start();
thisTimer4 = new Timer(42000, 1);
thisTimer4.addEventListener(TimerEvent.TIMER, ThisTimer4);
thisTimer4.start();
thisTimer5 = new Timer(61000);
thisTimer5.addEventListener(TimerEvent.TIMER, ThisTimer5);
thisTimer5.start();
}
public function ThisTimer4(_arg1:TimerEvent){
var _local2:HeartItemMc;
_local2 = new HeartItemMc();
_local2.x = 316;
_local2.y = 0;
addChild(_local2);
setChildIndex(_local2, getChildIndex(handMouseMc));
}
public function ThisTimer5(_arg1:TimerEvent){
thisTimer2.start();
thisTimer3.start();
thisTimer4.start();
}
}
}//package koi2_game_fla
Section 29
//LOAD_2 (koi2_game_fla.LOAD_2)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class LOAD_2 extends MovieClip {
public var heartMc:MovieClip;
public var handMouseMc:HandMouseMc;
public var loadingMc:MovieClip;
public function LOAD_2(){
addFrameScript(0, frame1);
}
public function moveMouseMc(_arg1:MouseEvent):void{
handMouseMc.startDrag(true);
_arg1.updateAfterEvent();
}
public function endMove():void{
var _local1:Object;
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
_local1 = Object(parent);
_local1.gotoAndStop("presented");
}
function frame1(){
Mouse.hide();
handMouseMc.x = mouseX;
handMouseMc.y = mouseY;
this.addEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
}
}
}//package koi2_game_fla
Section 30
//LOADING_72 (koi2_game_fla.LOADING_72)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class LOADING_72 extends MovieClip {
public var thisTimer:Timer;
public function LOADING_72(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 31
//MainTimeline (koi2_game_fla.MainTimeline)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var mainBgm_channel:SoundChannel;
public var loader:URLLoader;
public var count:int;
public var mainBgm:MainBgm;
public var resultScore:int;
public var request:URLRequest;
public var cgi_url:String;
public var logo:int;
public var shotList:Array;
public function MainTimeline(){
addFrameScript(1, frame2, 2, frame3, 17, frame18);
}
public function onComplete(_arg1:Event){
var _local2:URLVariables;
_local2 = new URLVariables(_arg1.target.data);
count = _local2.countdata;
loader.removeEventListener(Event.COMPLETE, onComplete);
}
function frame18(){
stop();
}
function frame3(){
stop();
System.useCodePage = true;
cgi_url = (("http://www.party-tencho.com/koi2/koi2count.cgi" + "?") + Math.floor((Math.random() * 1000)));
request = new URLRequest(cgi_url);
loader = new URLLoader(request);
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.addEventListener(Event.COMPLETE, onComplete);
loader.load(request);
}
function frame2(){
stage.scaleMode = StageScaleMode.NO_SCALE;
this.addEventListener(Event.ENTER_FRAME, thisEnter1);
resultScore = 0;
logo = 0;
mainBgm = new MainBgm();
shotList = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31];
}
public function thisEnter1(_arg1:Event):void{
if ((((mouseX < -6)) || ((mouseX > 642)))){
Mouse.show();
} else {
if ((((mouseY < -6)) || ((mouseY > 486)))){
Mouse.show();
} else {
Mouse.hide();
};
};
}
}
}//package koi2_game_fla
Section 32
//PRESENTED_10 (koi2_game_fla.PRESENTED_10)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class PRESENTED_10 extends MovieClip {
public var handMouseMc:HandMouseMc;
public function PRESENTED_10(){
addFrameScript(0, frame1);
}
public function moveMouseMc(_arg1:MouseEvent):void{
handMouseMc.startDrag(true);
_arg1.updateAfterEvent();
}
public function goTitle():void{
var _local1:Object;
_local1 = Object(parent);
_local1.gotoAndStop("title");
}
function frame1(){
Mouse.hide();
handMouseMc.x = mouseX;
handMouseMc.y = mouseY;
this.addEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
}
}
}//package koi2_game_fla
Section 33
//PRESENTEDBY_11 (koi2_game_fla.PRESENTEDBY_11)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class PRESENTEDBY_11 extends MovieClip {
public var thisTimer:Timer;
public var thisTimer3:Timer;
public var thisTimer2:Timer;
public function PRESENTEDBY_11(){
addFrameScript(0, frame1, 35, frame36);
}
public function ThisTimer3(_arg1:TimerEvent):void{
var _local2:PresentedBgm;
_local2 = new PresentedBgm();
_local2.play();
thisTimer3.removeEventListener(TimerEvent.TIMER, ThisTimer3);
thisTimer.start();
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:Object;
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
_local2 = Object(parent);
_local2.goTitle();
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
stop();
thisTimer3 = new Timer(1000);
thisTimer3.addEventListener(TimerEvent.TIMER, ThisTimer3);
thisTimer3.start();
thisTimer = new Timer(60, 35);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
}
function frame36(){
stop();
thisTimer2 = new Timer(1500);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
}
}//package koi2_game_fla
Section 34
//RESULT_56 (koi2_game_fla.RESULT_56)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RESULT_56 extends MovieClip {
public var titleBtn:MovieClip;
public var loader:URLLoader;
public var format;
public var fukidasiMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public var resultMc:MovieClip;
public var request:URLRequest;
public var trans:SoundTransform;
public var handMouseMc:HandMouseMc;
public var cgi_url:String;
public var youkoMc:MovieClip;
public var moveMc:MovieClip;
public var retryBtn:MovieClip;
public var moveMc3:MovieClip;
public var moveMc4:MovieClip;
public var moveMc5:MovieClip;
public var moveMc2:MovieClip;
public var thisTimer2:Timer;
public var scoreText:TextField;
public function RESULT_56(){
addFrameScript(0, frame1);
}
public function titleBtnClick(_arg1:MouseEvent):void{
btnEvent();
parentObject.gotoAndStop("title");
}
public function ThisTimer2(_arg1:TimerEvent){
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
titleBtn.removeEventListener(MouseEvent.CLICK, titleBtnClick);
retryBtn.removeEventListener(MouseEvent.CLICK, retryBtnClick);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
parentObject.gotoAndStop("result2");
}
public function moveMouseMc(_arg1:MouseEvent):void{
handMouseMc.startDrag(true);
_arg1.updateAfterEvent();
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
fukidasiMc.x = 412;
fukidasiMc.gotoAndStop("2");
youkoMc.gotoAndStop("2");
}
public function onComplete(_arg1:Event):void{
var _local2:Number;
var _local3:Array;
var _local4:int;
var _local5:String;
var _local6:Array;
_local2 = 50;
_local3 = _arg1.target.data.split("&");
_local4 = 1;
while (_local4 <= _local2) {
_local5 = _local3[(_local4 - (2 - _local4))];
_local6 = _local5.split("=");
if (parentObject.resultScore > _local6[1]){
fukidasiMc.rankText.text = (("RANK IN!!\nNO." + _local4) + " BOY!!");
thisTimer2.start();
break;
} else {
fukidasiMc.rankText.text = "OH MY GOD!!\nRANK OUT!!";
};
_local4++;
};
loader.removeEventListener(Event.COMPLETE, onComplete);
}
public function endTween():void{
parentObject.mainBgm_channel.stop();
removeChild(handMouseMc);
parentObject.gotoAndStop("game");
}
public function retryBtnClick(_arg1:MouseEvent):void{
btnEvent();
handMouseMc.stopDrag();
Tweener.addTween(moveMc, {x:-149.2, time:0.5, transition:"easeInBack"});
Tweener.addTween(moveMc2, {x:-110, delay:0.2, time:0.5, transition:"easeInBack"});
Tweener.addTween(moveMc3, {x:-97.5, delay:0.4, time:0.5, transition:"easeInBack"});
Tweener.addTween(moveMc4, {x:700, time:1, transition:"easeInBack"});
Tweener.addTween(moveMc5, {y:538, delay:1, time:1.5, onComplete:endTween});
titleBtn.removeEventListener(MouseEvent.MOUSE_OVER, titleBtn.thisOver);
retryBtn.removeEventListener(MouseEvent.MOUSE_OVER, retryBtn.thisOver);
}
function frame1(){
stop();
parentObject = Object(parent);
parentObject.mainBgm_channel = parentObject.mainBgm.play(0, int.MAX_VALUE);
trans = parentObject.mainBgm_channel.soundTransform;
trans.volume = 0.5;
parentObject.mainBgm_channel.soundTransform = trans;
fukidasiMc.scoreText.text = (String(parentObject.resultScore) + " KOITSU!!");
format = new TextFormat();
format.letterSpacing = -1;
scoreText.selectable = false;
scoreText.text = String(parentObject.resultScore);
scoreText.setTextFormat(format);
thisTimer = new Timer(2000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
Mouse.hide();
handMouseMc.x = mouseX;
handMouseMc.y = mouseY;
this.addEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
moveMc = resultMc;
Tweener.addTween(moveMc, {x:19, delay:0.2, time:0.5, transition:"easeOutBack"});
moveMc2 = retryBtn;
Tweener.addTween(moveMc2, {x:18, delay:0.4, time:0.5, transition:"easeOutBack"});
moveMc3 = titleBtn;
Tweener.addTween(moveMc3, {x:18, delay:0.6, time:0.5, transition:"easeOutBack"});
titleBtn.addEventListener(MouseEvent.CLICK, titleBtnClick);
moveMc4 = handMouseMc;
moveMc5 = youkoMc;
retryBtn.addEventListener(MouseEvent.CLICK, retryBtnClick);
System.useCodePage = true;
cgi_url = "http://www.party-tencho.com/koi2/koi2score.cgi";
request = new URLRequest(cgi_url);
loader = new URLLoader(request);
loader.addEventListener(Event.COMPLETE, onComplete);
thisTimer2 = new Timer(7000);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
}
public function btnEvent():void{
var _local1:KoitsuBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new KoitsuBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
fukidasiMc.x = 0;
youkoMc.gotoAndStop("1");
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
titleBtn.removeEventListener(MouseEvent.CLICK, titleBtnClick);
retryBtn.removeEventListener(MouseEvent.CLICK, retryBtnClick);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
}
}
}//package koi2_game_fla
Section 35
//RESULT_62 (koi2_game_fla.RESULT_62)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RESULT_62 extends MovieClip {
public var titleBtn:MovieClip;
public var playername:String;
public var loader:URLLoader;
public var format;
public var cgiObj:koi2scoreCGI;
public var fukidasiMc:MovieClip;
public var kinsi:Array;
public var Switch:Boolean;
public var comment:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public var resultMc:MovieClip;
public var request:URLRequest;
public var handMouseMc:HandMouseMc;
public var cgi_url:String;
public var youkoMc:MovieClip;
public var moveMc:MovieClip;
public var retryBtn:MovieClip;
public var fukidasiMc2:MovieClip;
public var commentList:Array;
public var moveMc3:MovieClip;
public var moveMc4:MovieClip;
public var moveMc5:MovieClip;
public var thisTimer2:Timer;
public var moveMc2:MovieClip;
public var scoreText:TextField;
public function RESULT_62(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function titleBtnClick(_arg1:MouseEvent):void{
btnEvent();
parentObject.gotoAndStop("title");
}
public function playernameClick(_arg1:MouseEvent):void{
stage.displayState = StageDisplayState.NORMAL;
if (Switch == false){
fukidasiMc.playername.text = "";
Switch = true;
};
}
public function ThisTimer2(_arg1:TimerEvent){
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
fukidasiMc2.gotoAndStop("2");
youkoMc.gotoAndStop("2");
nextFrame();
}
public function moveMouseMc(_arg1:MouseEvent):void{
handMouseMc.startDrag(true);
_arg1.updateAfterEvent();
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
fukidasiMc.gotoAndStop("2");
youkoMc.gotoAndStop("2");
nextFrame();
}
public function onComplete(_arg1:Event):void{
var _local2:Number;
var _local3:Array;
_local2 = 50;
_local3 = _arg1.target.data.split("&");
}
public function endTween():void{
parentObject.mainBgm_channel.stop();
removeChild(handMouseMc);
parentObject.gotoAndStop("game");
}
public function retryBtnClick(_arg1:MouseEvent):void{
btnEvent();
handMouseMc.stopDrag();
Tweener.addTween(moveMc, {x:-149.2, time:0.5, transition:"easeInBack"});
Tweener.addTween(moveMc2, {x:-110, delay:0.2, time:0.5, transition:"easeInBack"});
Tweener.addTween(moveMc3, {x:-97.5, delay:0.4, time:0.5, transition:"easeInBack"});
Tweener.addTween(moveMc4, {x:700, time:1, transition:"easeInBack"});
Tweener.addTween(moveMc5, {y:538, delay:1, time:1.5, onComplete:endTween});
titleBtn.removeEventListener(MouseEvent.MOUSE_OVER, titleBtn.thisOver);
retryBtn.removeEventListener(MouseEvent.MOUSE_OVER, retryBtn.thisOver);
}
function frame3(){
thisTimer2.start();
}
public function submitEvent():void{
var _local1:KoitsuBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
var _local4:int;
_local1 = new KoitsuBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
fukidasiMc.gotoAndStop("1");
youkoMc.gotoAndStop("1");
playername = fukidasiMc.playername.text;
if (parentObject.resultScore < 200){
_local4 = int(parentObject.resultScore);
cgiObj.query(playername, _local4);
fukidasiMc.submitBtn.removeEventListener(MouseEvent.CLICK, submitData);
};
nextFrame();
}
function frame4(){
commentList = ["LOVE", "NEED", "WANT"];
comment = Math.floor((Math.random() * 3));
fukidasiMc2.playernameText.text = (((("I " + commentList[comment]) + "\n") + playername) + "!!");
fukidasiMc2.hiScoresBtn.addEventListener(MouseEvent.CLICK, hiScoresBtnClick);
}
function frame2(){
System.useCodePage = true;
cgi_url = "http://www.party-tencho.com/koi2/koi2score.cgi";
request = new URLRequest(cgi_url);
loader = new URLLoader(request);
loader.addEventListener(Event.COMPLETE, onComplete);
Switch = false;
fukidasiMc.playername.addEventListener(MouseEvent.CLICK, playernameClick);
fukidasiMc.playername.restrict = "0-9A-Z";
fukidasiMc.playername.maxChars = 6;
kinsi = ["SEX", "SEXSEX", "H", "AV", "AVAV", "AVAVAV", "SM", "SMSM", "SMSMSM", "NUDE", "VIBES", "BREAST", "SHIT", "CUNT", "FUCK", "SUCK", "ADULT", "ERO", "PORNO", "SHINE", "SINE", "INCEST", "DICKS", "PUSSY", "COCK", "DEATH", "69", "6969", "696969", "MARA", "MALA", "CHINPO", "CHINKO", "CHINCO", "TINPO", "TINKO", "TINCO", "OPPAI", "CHIKUB", "TIKUBI", "CHICUB", "TICUBI", "OSHIRI", "OSIRI", "SHIRI", "SIRI", "KETU", "OKETU", "MANKO", "MANNKO", "OMANKO", "OMENKO", "OMEKO", "MANCO", "MANNCO", "OMAN", "OMANCO", "OMENCO", "OMECO", "CHIKAN", "TIKAN", "CHICAN", "TICAN", "HENTAI", "GSPOT", "TINTIN", "KITTOU", "PAIOTU", "CHINGE", "TINGE", "UNKO", "UNCO", "UNCHI", "UNTHI", "UNTI", "SEISHI", "SEISI", "SEIKAN", "SEICAN", "KOI2", "KOITSU"];
cgiObj = new koi2scoreCGI();
fukidasiMc.submitBtn.addEventListener(MouseEvent.CLICK, submitData);
}
public function hiScoresBtnClick(_arg1:MouseEvent):void{
var _local2:KoitsuBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
_local2 = new KoitsuBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
titleBtn.removeEventListener(MouseEvent.CLICK, titleBtnClick);
retryBtn.removeEventListener(MouseEvent.CLICK, retryBtnClick);
fukidasiMc2.hiScoresBtn.removeEventListener(MouseEvent.CLICK, hiScoresBtnClick);
parentObject.gotoAndStop("hiScores");
}
public function btnEvent():void{
var _local1:KoitsuBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new KoitsuBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
fukidasiMc.x = 0;
fukidasiMc2.x = 0;
youkoMc.gotoAndStop("1");
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
titleBtn.removeEventListener(MouseEvent.CLICK, titleBtnClick);
retryBtn.removeEventListener(MouseEvent.CLICK, retryBtnClick);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
thisTimer2 = new Timer(500);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
Mouse.hide();
handMouseMc.x = mouseX;
handMouseMc.y = mouseY;
this.addEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
moveMc = resultMc;
moveMc2 = retryBtn;
moveMc3 = titleBtn;
titleBtn.addEventListener(MouseEvent.CLICK, titleBtnClick);
moveMc4 = handMouseMc;
moveMc5 = youkoMc;
retryBtn.addEventListener(MouseEvent.CLICK, retryBtnClick);
format = new TextFormat();
format.letterSpacing = -1;
scoreText.selectable = false;
scoreText.text = String(parentObject.resultScore);
scoreText.setTextFormat(format);
}
public function submitData(_arg1:MouseEvent):void{
var _local2:int;
var _local3:DameBgm;
var _local4:DameBgm;
_local2 = 0;
while (_local2 < kinsi.length) {
if (fukidasiMc.playername.text == kinsi[_local2]){
_local3 = new DameBgm();
_local3.play();
fukidasiMc.playername.text = "";
};
_local2++;
};
if (fukidasiMc.playername.text == ""){
_local4 = new DameBgm();
_local4.play();
return;
};
fukidasiMc.playername.removeEventListener(MouseEvent.CLICK, playernameClick);
submitEvent();
}
}
}//package koi2_game_fla
Section 36
//RETRY_57 (koi2_game_fla.RETRY_57)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RETRY_57 extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public function RETRY_57(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
this.hitArea = hitMc;
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
gotoAndStop("2");
parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
gotoAndStop("1");
parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 37
//SUBMIT_67 (koi2_game_fla.SUBMIT_67)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SUBMIT_67 extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public function SUBMIT_67(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
this.hitArea = hitMc;
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
gotoAndStop("2");
parentObject.parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
gotoAndStop("1");
parentObject.parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 38
//SUBMIT_68 (koi2_game_fla.SUBMIT_68)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class SUBMIT_68 extends MovieClip {
public var thisTimer1:Timer;
public function SUBMIT_68(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
thisTimer1 = new Timer(100, 3);
thisTimer1.addEventListener(TimerEvent.TIMER, ThisTimer1);
thisTimer1.start();
}
function frame4(){
gotoAndStop("1");
}
public function ThisTimer1(_arg1:TimerEvent):void{
nextFrame();
}
}
}//package koi2_game_fla
Section 39
//Timeline_104 (koi2_game_fla.Timeline_104)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
import flash.media.*;
public dynamic class Timeline_104 extends MovieClip {
public var twoBgm:TwoBgm;
public var thisTimer:Timer;
public var timing:Number;
public var oneBgm_channel:SoundChannel;
public var trans2:SoundTransform;
public var oneBgm:OneBgm;
public var twoBgm_channel:SoundChannel;
public var trans:SoundTransform;
public var springObj:SpringScale;
public var thisTimer2:Timer;
public function Timeline_104(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 4, frame5, 5, frame6);
}
public function ThisTimer2(_arg1:TimerEvent):void{
nextFrame();
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
}
function frame3(){
oneBgm = new OneBgm();
oneBgm_channel = oneBgm.play(0, 1);
trans = oneBgm_channel.soundTransform;
trans.volume = 0.3;
oneBgm_channel.soundTransform = trans;
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
function frame6(){
timing++;
if (timing <= 10){
gotoAndStop("2");
};
}
function frame1(){
timing = 0;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
stop();
thisTimer2 = new Timer(250, 4);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame5(){
twoBgm = new TwoBgm();
twoBgm_channel = twoBgm.play(0, 1);
trans2 = twoBgm_channel.soundTransform;
trans2.volume = 0.5;
twoBgm_channel.soundTransform = trans2;
springObj.springTo(1, 1);
}
}
}//package koi2_game_fla
Section 40
//Timeline_106 (koi2_game_fla.Timeline_106)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
import flash.media.*;
public dynamic class Timeline_106 extends MovieClip {
public var thisTimer:Timer;
public var springObj:SpringScale;
public var thisTimer3:Timer;
public var thisTimer2:Timer;
public function Timeline_106(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function ThisTimer3(_arg1:TimerEvent):void{
nextFrame();
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:ChekeraBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
_local2 = new ChekeraBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.4;
_local3.soundTransform = _local4;
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer3.removeEventListener(TimerEvent.TIMER, ThisTimer3);
}
function frame3(){
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
function frame1(){
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
thisTimer2 = new Timer(500, 21);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame4(){
gotoAndStop("2");
}
function frame2(){
stop();
thisTimer3 = new Timer(250, 2);
thisTimer3.addEventListener(TimerEvent.TIMER, ThisTimer3);
thisTimer3.start();
}
}
}//package koi2_game_fla
Section 41
//Timeline_108 (koi2_game_fla.Timeline_108)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
public dynamic class Timeline_108 extends MovieClip {
public var rota2:Number;
public var poBgm_channel:SoundChannel;
public var poBgm:PoBgm;
public var rota:Number;
public var trans:SoundTransform;
public function Timeline_108(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
poBgm = new PoBgm();
poBgm_channel = poBgm.play(0, 1);
trans = poBgm_channel.soundTransform;
trans.volume = 1;
poBgm_channel.soundTransform = trans;
rota = 6;
rota2 = -1;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
rotation = (rotation + rota);
rota = (rota + rota2);
if ((((rota > 6)) || ((rota < -6)))){
rota2 = (rota2 * -1);
};
}
}
}//package koi2_game_fla
Section 42
//Timeline_110 (koi2_game_fla.Timeline_110)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_110 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_110(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(150, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 43
//Timeline_112 (koi2_game_fla.Timeline_112)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_112 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_112(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(150, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 44
//Timeline_12 (koi2_game_fla.Timeline_12)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_12 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_12(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(500, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 45
//Timeline_135 (koi2_game_fla.Timeline_135)
package koi2_game_fla {
import flash.display.*;
import fl.transitions.*;
public dynamic class Timeline_135 extends MovieClip {
public var springObj:SpringScale;
public function Timeline_135(){
addFrameScript(0, frame1);
}
function frame1(){
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
}
}//package koi2_game_fla
Section 46
//Timeline_137 (koi2_game_fla.Timeline_137)
package koi2_game_fla {
import flash.display.*;
import fl.transitions.*;
public dynamic class Timeline_137 extends MovieClip {
public var springObj:SpringScale;
public function Timeline_137(){
addFrameScript(0, frame1);
}
function frame1(){
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
}
}//package koi2_game_fla
Section 47
//Timeline_139 (koi2_game_fla.Timeline_139)
package koi2_game_fla {
import flash.display.*;
import fl.transitions.*;
public dynamic class Timeline_139 extends MovieClip {
public var springObj:SpringScale;
public function Timeline_139(){
addFrameScript(0, frame1);
}
function frame1(){
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
}
}//package koi2_game_fla
Section 48
//Timeline_141 (koi2_game_fla.Timeline_141)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_141 extends MovieClip {
public function Timeline_141(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 49
//Timeline_147 (koi2_game_fla.Timeline_147)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_147 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_147(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent){
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 50
//Timeline_149 (koi2_game_fla.Timeline_149)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
public dynamic class Timeline_149 extends MovieClip {
public var phase:Number;
public var moveY:Number;
public var amp:Number;
public function Timeline_149(){
addFrameScript(0, frame1);
}
function frame1(){
moveY = -6;
amp = 20;
phase = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
y = (y + moveY);
x = (Math.sin(((phase * Math.PI) / 180)) * amp);
phase = (phase - 10);
if (y < (-500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package koi2_game_fla
Section 51
//Timeline_151 (koi2_game_fla.Timeline_151)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_151 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_151(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 52
//Timeline_152 (koi2_game_fla.Timeline_152)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_152 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_152(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 53
//Timeline_153 (koi2_game_fla.Timeline_153)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_153 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_153(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 54
//Timeline_154 (koi2_game_fla.Timeline_154)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_154 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_154(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 55
//Timeline_156 (koi2_game_fla.Timeline_156)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_156 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_156(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(60, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 56
//Timeline_158 (koi2_game_fla.Timeline_158)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_158 extends MovieClip {
public function Timeline_158(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 57
//Timeline_161 (koi2_game_fla.Timeline_161)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_161 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_161(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 58
//Timeline_162 (koi2_game_fla.Timeline_162)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_162 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_162(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 59
//Timeline_165 (koi2_game_fla.Timeline_165)
package koi2_game_fla {
import flash.display.*;
import fl.transitions.*;
public dynamic class Timeline_165 extends MovieClip {
public var moveMc:MovieClip;
public function Timeline_165(){
addFrameScript(0, frame1, 2, frame3);
}
public function endTween():void{
gotoAndPlay("2");
}
function frame3(){
moveMc = this;
Tweener.addTween(moveMc, {delay:0.04, onComplete:endTween});
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 60
//Timeline_168 (koi2_game_fla.Timeline_168)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public dynamic class Timeline_168 extends MovieClip {
public var timing2:Number;
public function Timeline_168(){
addFrameScript(0, frame1);
}
function frame1(){
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
rotation = (rotation + 30);
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.3});
timing2 = 0;
};
}
}
}//package koi2_game_fla
Section 61
//Timeline_169 (koi2_game_fla.Timeline_169)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_169 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_169(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 62
//Timeline_170 (koi2_game_fla.Timeline_170)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public dynamic class Timeline_170 extends MovieClip {
public var timing2:Number;
public function Timeline_170(){
addFrameScript(0, frame1);
}
function frame1(){
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
rotation = (rotation + 30);
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.3});
timing2 = 0;
};
}
}
}//package koi2_game_fla
Section 63
//Timeline_171 (koi2_game_fla.Timeline_171)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_171 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_171(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 64
//Timeline_173 (koi2_game_fla.Timeline_173)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_173 extends MovieClip {
public function Timeline_173(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 65
//Timeline_174 (koi2_game_fla.Timeline_174)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
public dynamic class Timeline_174 extends MovieClip {
public var thisTimer:Timer;
public var timing2:Number;
public function Timeline_174(){
addFrameScript(0, frame1, 1, frame2, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame4(){
gotoAndStop("2");
}
function frame2(){
stop();
thisTimer = new Timer(30, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
}
}//package koi2_game_fla
Section 66
//Timeline_175 (koi2_game_fla.Timeline_175)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_175 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_175(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 67
//Timeline_178 (koi2_game_fla.Timeline_178)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_178 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_178(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(150, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 68
//Timeline_180 (koi2_game_fla.Timeline_180)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_180 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_180(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(50, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 69
//Timeline_182 (koi2_game_fla.Timeline_182)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_182 extends MovieClip {
public var thisTimer:Timer;
public var parentObject:Object;
public var onpuMc:OnpuMc;
public function Timeline_182(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(500, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
onpuMc = new OnpuMc();
onpuMc.x = -44;
onpuMc.y = 26;
addChild(onpuMc);
}
}
}//package koi2_game_fla
Section 70
//Timeline_185 (koi2_game_fla.Timeline_185)
package koi2_game_fla {
import flash.display.*;
import fl.transitions.*;
public dynamic class Timeline_185 extends MovieClip {
public var springObj:SpringScale;
public function Timeline_185(){
addFrameScript(0, frame1);
}
function frame1(){
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
}
}//package koi2_game_fla
Section 71
//Timeline_186 (koi2_game_fla.Timeline_186)
package koi2_game_fla {
import flash.display.*;
import fl.transitions.*;
public dynamic class Timeline_186 extends MovieClip {
public var springObj:SpringScale;
public function Timeline_186(){
addFrameScript(0, frame1);
}
function frame1(){
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
}
}//package koi2_game_fla
Section 72
//Timeline_189 (koi2_game_fla.Timeline_189)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_189 extends MovieClip {
public function Timeline_189(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 73
//Timeline_19 (koi2_game_fla.Timeline_19)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_19 extends MovieClip {
public var copyRightBtn:MovieClip;
public var moveMc:MovieClip;
public var keta:Number;
public var parentObject:Object;
public var cdata:String;
public var num_2:MovieClip;
public var num_3:MovieClip;
public var num_4:MovieClip;
public var num_6:MovieClip;
public var num_7:MovieClip;
public var num_5:MovieClip;
public var nValue:Number;
public var i:int;
public var num_1:MovieClip;
public var tname:String;
public function Timeline_19(){
addFrameScript(0, frame1, 1, frame2);
}
public function endTween():void{
gotoAndStop("2");
}
public function copyRightBtnClick(_arg1:MouseEvent):void{
var _local2:KoitsuBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:String;
var _local6:URLRequest;
_local2 = new KoitsuBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = "http://www.party-tencho.com";
_local6 = new URLRequest(_local5);
navigateToURL(_local6, "_blank");
}
function frame2(){
keta = 7;
cdata = ("0000000" + parentObject.parentObject.count);
cdata = cdata.substr((cdata.length - keta));
i = 1;
while (i <= keta) {
tname = ("num_" + i);
nValue = (Number(cdata.substr((keta - i), 1)) + 1);
this[tname].gotoAndStop(nValue);
i++;
};
x = (636 + (width / 2));
Tweener.addTween(moveMc, {x:318, delay:1, time:2});
Tweener.addTween(moveMc, {x:(-(width) - 100), delay:6, time:2, onComplete:endTween2});
}
function frame1(){
stop();
parentObject = Object(parent);
x = (636 + (width / 2));
moveMc = this;
Tweener.addTween(moveMc, {x:318, delay:1, time:2});
Tweener.addTween(moveMc, {x:(-(width) - 100), delay:6, time:2, onComplete:endTween});
copyRightBtn.addEventListener(MouseEvent.CLICK, copyRightBtnClick);
copyRightBtn.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
copyRightBtn.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
parentObject.handMouseMc.gotoAndStop("1");
}
public function endTween2():void{
gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 74
//Timeline_190 (koi2_game_fla.Timeline_190)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_190 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_190(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(67, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 75
//Timeline_193 (koi2_game_fla.Timeline_193)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public dynamic class Timeline_193 extends MovieClip {
public var fadeMc:MovieClip;
public var phase:Number;
public var amp:Number;
public function Timeline_193(){
addFrameScript(0, frame1, 1, frame2);
}
public function endTween():void{
gotoAndStop("2");
}
function frame1(){
stop();
fadeMc = this;
Tweener.addTween(fadeMc, {time:0.2, onComplete:endTween});
}
function frame2(){
TransitionManager.start(fadeMc, {type:Fade, direction:Transition.IN, duration:0.5});
amp = 15;
phase = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
y = ((Math.sin(((phase * Math.PI) / 180)) * amp) - 2);
phase = (phase - 5);
}
}
}//package koi2_game_fla
Section 76
//Timeline_194 (koi2_game_fla.Timeline_194)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public dynamic class Timeline_194 extends MovieClip {
public var fadeMc:MovieClip;
public var phase:Number;
public var amp:Number;
public function Timeline_194(){
addFrameScript(0, frame1, 1, frame2);
}
public function endTween():void{
gotoAndStop("2");
}
function frame1(){
stop();
fadeMc = this;
Tweener.addTween(fadeMc, {time:0.7, onComplete:endTween});
}
function frame2(){
TransitionManager.start(fadeMc, {type:Fade, direction:Transition.IN, duration:0.5});
amp = 15;
phase = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
y = ((Math.sin(((phase * Math.PI) / 180)) * amp) + 122);
phase = (phase - 5);
}
}
}//package koi2_game_fla
Section 77
//Timeline_197 (koi2_game_fla.Timeline_197)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_197 extends MovieClip {
public var hitMc:MovieClip;
}
}//package koi2_game_fla
Section 78
//Timeline_198 (koi2_game_fla.Timeline_198)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_198 extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function Timeline_198(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:HatumeiShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new HatumeiShotMc();
_local5.x = (parentObject.parentObject.parentObject.satoshiMc.x + 54);
_local5.y = (parentObject.parentObject.parentObject.satoshiMc.y + 20);
parentObject.parentObject.parentObject.addChild(_local5);
parentObject.parentObject.parentObject.setChildIndex(_local5, parentObject.parentObject.parentObject.getChildIndex(parentObject.parentObject.parentObject.satoshiMc));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package koi2_game_fla
Section 79
//Timeline_199 (koi2_game_fla.Timeline_199)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_199 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_199(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 80
//Timeline_200 (koi2_game_fla.Timeline_200)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_200 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_200(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 81
//Timeline_202 (koi2_game_fla.Timeline_202)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_202 extends MovieClip {
public var hitMc:MovieClip;
}
}//package koi2_game_fla
Section 82
//Timeline_204 (koi2_game_fla.Timeline_204)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_204 extends MovieClip {
public var hitMc:MovieClip;
}
}//package koi2_game_fla
Section 83
//Timeline_206 (koi2_game_fla.Timeline_206)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_206 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_206(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 84
//Timeline_207 (koi2_game_fla.Timeline_207)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public dynamic class Timeline_207 extends MovieClip {
public var fadeMc:MovieClip;
public var phase:Number;
public var amp:Number;
public function Timeline_207(){
addFrameScript(0, frame1, 1, frame2);
}
public function endTween():void{
gotoAndStop("2");
}
function frame1(){
stop();
fadeMc = this;
Tweener.addTween(fadeMc, {time:0.2, onComplete:endTween});
}
function frame2(){
TransitionManager.start(fadeMc, {type:Fade, direction:Transition.IN, duration:0.5});
amp = 15;
phase = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
y = ((Math.sin(((phase * Math.PI) / 180)) * amp) - 2);
phase = (phase - 5);
}
}
}//package koi2_game_fla
Section 85
//Timeline_208 (koi2_game_fla.Timeline_208)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public dynamic class Timeline_208 extends MovieClip {
public var fadeMc:MovieClip;
public var phase:Number;
public var amp:Number;
public function Timeline_208(){
addFrameScript(0, frame1, 1, frame2);
}
public function endTween():void{
gotoAndStop("2");
}
function frame1(){
stop();
fadeMc = this;
Tweener.addTween(fadeMc, {time:0.7, onComplete:endTween});
}
function frame2(){
TransitionManager.start(fadeMc, {type:Fade, direction:Transition.IN, duration:0.5});
amp = 15;
phase = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
y = ((Math.sin(((phase * Math.PI) / 180)) * amp) + 122);
phase = (phase - 5);
}
}
}//package koi2_game_fla
Section 86
//Timeline_21 (koi2_game_fla.Timeline_21)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_21 extends MovieClip {
public function Timeline_21(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 87
//Timeline_210 (koi2_game_fla.Timeline_210)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
public dynamic class Timeline_210 extends MovieClip {
public var thisTimer:Timer;
public var springObj:SpringScale;
public function Timeline_210(){
addFrameScript(0, frame1, 4, frame5);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
stop();
thisTimer = new Timer(50, 4);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
function frame5(){
stop();
}
}
}//package koi2_game_fla
Section 88
//Timeline_211 (koi2_game_fla.Timeline_211)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
public dynamic class Timeline_211 extends MovieClip {
public var thisTimer:Timer;
public var springObj:SpringScale;
public function Timeline_211(){
addFrameScript(0, frame1, 4, frame5);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
stop();
thisTimer = new Timer(50, 4);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
function frame5(){
stop();
}
}
}//package koi2_game_fla
Section 89
//Timeline_213 (koi2_game_fla.Timeline_213)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_213 extends MovieClip {
public var hitMc:MovieClip;
}
}//package koi2_game_fla
Section 90
//Timeline_220 (koi2_game_fla.Timeline_220)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.media.*;
public dynamic class Timeline_220 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_220(){
addFrameScript(0, frame1, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent):void{
var _local2:TsuBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
_local2 = new TsuBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
nextFrame();
}
function frame1(){
stop();
thisTimer = new Timer(150, 3);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
}
}
}//package koi2_game_fla
Section 91
//Timeline_228 (koi2_game_fla.Timeline_228)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_228 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_228(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent){
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(50, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 92
//Timeline_23 (koi2_game_fla.Timeline_23)
package koi2_game_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Timeline_23 extends MovieClip {
public var scoreText2:TextField;
public var clockMc:MovieClip;
public var tikahaikeiMc:MovieClip;
public var scoreText:TextField;
}
}//package koi2_game_fla
Section 93
//Timeline_232 (koi2_game_fla.Timeline_232)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_232 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_232(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 94
//Timeline_239 (koi2_game_fla.Timeline_239)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_239 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_239(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(500, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 95
//Timeline_24 (koi2_game_fla.Timeline_24)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.text.*;
public dynamic class Timeline_24 extends MovieClip {
public var scoreText3:TextField;
public var timing2:Number;
public function Timeline_24(){
addFrameScript(0, frame1);
}
function frame1(){
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
}
}//package koi2_game_fla
Section 96
//Timeline_25 (koi2_game_fla.Timeline_25)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_25 extends MovieClip {
public var secondMc:MovieClip;
public function Timeline_25(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 97
//Timeline_27 (koi2_game_fla.Timeline_27)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.media.*;
public dynamic class Timeline_27 extends MovieClip {
public var tsuBgm:TsuBgm;
public var thisTimer:Timer;
public var trans:SoundTransform;
public var tsuBgm_channel:SoundChannel;
public function Timeline_27(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
tsuBgm = new TsuBgm();
tsuBgm_channel = tsuBgm.play(0, 1);
trans = tsuBgm_channel.soundTransform;
trans.volume = 0.5;
tsuBgm_channel.soundTransform = trans;
thisTimer = new Timer(60, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 98
//Timeline_28 (koi2_game_fla.Timeline_28)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
public dynamic class Timeline_28 extends MovieClip {
public var moveX:Number;
public var moveXList:Array;
public function Timeline_28(){
addFrameScript(0, frame1);
}
function frame1(){
moveXList = [0.2, 0.3, 0.4, 0.5];
moveX = Math.floor((Math.random() * 4));
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
x = (x + moveXList[moveX]);
if (x > 636){
x = -(width);
};
}
}
}//package koi2_game_fla
Section 99
//Timeline_30 (koi2_game_fla.Timeline_30)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_30 extends MovieClip {
public var fireBallMc2:MovieClip;
public var fireBallMc:MovieClip;
}
}//package koi2_game_fla
Section 100
//Timeline_31 (koi2_game_fla.Timeline_31)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
import flash.media.*;
public dynamic class Timeline_31 extends MovieClip {
public var boBgm:BoBgm;
public var hinotamaMc:MovieClip;
public var moveMc:MovieClip;
public var i:Number;
public var timing2:Number;
public var trans:SoundTransform;
public var moveY:Number;
public var thisTimer:Timer;
public var bgm:Boolean;
public var boBgm_channel:SoundChannel;
public function Timeline_31(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
nextFrame();
}
function frame3(){
thisTimer = new Timer(2000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame1(){
stop();
moveMc = this;
Tweener.addTween(moveMc, {delay:2, onComplete:endTween});
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
bgm = false;
}
function frame2(){
if (bgm == true){
boBgm = new BoBgm();
boBgm_channel = boBgm.play(0, 1);
trans = boBgm_channel.soundTransform;
trans.volume = 0.7;
boBgm_channel.soundTransform = trans;
};
x = ((Math.ceil((Math.random() * 5)) * 53) + 318);
moveY = -30;
i = 1;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
hinotamaMc.y = (hinotamaMc.y + moveY);
moveY = (moveY + i);
if (moveY == 0){
hinotamaMc.rotation = 180;
};
if (hinotamaMc.y > 100){
hinotamaMc.rotation = 0;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
nextFrame();
};
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
}
}//package koi2_game_fla
Section 101
//Timeline_32 (koi2_game_fla.Timeline_32)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_32 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_32(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(30, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 102
//Timeline_33 (koi2_game_fla.Timeline_33)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
import flash.media.*;
public dynamic class Timeline_33 extends MovieClip {
public var boBgm:BoBgm;
public var hinotamaMc:MovieClip;
public var i:Number;
public var timing2:Number;
public var trans:SoundTransform;
public var moveY:Number;
public var thisTimer:Timer;
public var bgm:Boolean;
public var boBgm_channel:SoundChannel;
public function Timeline_33(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame3(){
thisTimer = new Timer(2000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame1(){
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
bgm = false;
}
function frame2(){
stop();
if (bgm == true){
boBgm = new BoBgm();
boBgm_channel = boBgm.play(0, 1);
trans = boBgm_channel.soundTransform;
trans.volume = 0.7;
boBgm_channel.soundTransform = trans;
};
x = (Math.ceil((Math.random() * 5)) * 53);
moveY = -30;
i = 1;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
hinotamaMc.y = (hinotamaMc.y + moveY);
moveY = (moveY + i);
if (moveY == 0){
hinotamaMc.rotation = 180;
};
if (hinotamaMc.y > 100){
hinotamaMc.rotation = 0;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
nextFrame();
};
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
}
}//package koi2_game_fla
Section 103
//Timeline_34 (koi2_game_fla.Timeline_34)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_34 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_34(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(30, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 104
//Timeline_35 (koi2_game_fla.Timeline_35)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_35 extends MovieClip {
public var moveMc:MovieClip;
public var stopBgm:StopBgm;
public var phase:Number;
public var parentObject:Object;
public var pyuBgm_channel:SoundChannel;
public var trans:SoundTransform;
public var moveY:Number;
public var pyuBgm:PyuBgm;
public var amp:Number;
public function Timeline_35(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame1(){
stop();
}
function frame3(){
stopBgm = new StopBgm();
stopBgm.play();
moveY = -6;
amp = 20;
phase = 0;
moveMc.addEventListener(Event.ENTER_FRAME, moveMcEnter2);
}
function frame2(){
parentObject = Object(parent);
pyuBgm = new PyuBgm();
pyuBgm_channel = pyuBgm.play(0, 1);
trans = pyuBgm_channel.soundTransform;
trans.volume = 0.5;
pyuBgm_channel.soundTransform = trans;
moveY = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function moveMcEnter2(_arg1:Event):void{
moveMc.y = (moveMc.y + moveY);
moveMc.x = (Math.sin(((phase * Math.PI) / 180)) * amp);
phase = (phase - 10);
if (moveMc.y < -500){
parentObject.goResult();
moveMc.removeEventListener(Event.ENTER_FRAME, moveMcEnter2);
};
}
public function thisEnter(_arg1:Event):void{
moveY = (moveY + 2);
y = (y + moveY);
if (y > 396){
y = 396;
gotoAndStop("3");
parentObject.gotoAndStop("2");
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package koi2_game_fla
Section 105
//Timeline_37 (koi2_game_fla.Timeline_37)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
public dynamic class Timeline_37 extends MovieClip {
public var startBgm:StartBgm;
public var moveMc:MovieClip;
public var phase:Number;
public var parentObject:Object;
public var pyuBgm_channel:SoundChannel;
public var trans:SoundTransform;
public var moveY:Number;
public var pyuBgm:PyuBgm;
public var amp:Number;
public function Timeline_37(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
startBgm = new StartBgm();
startBgm.play();
moveY = -6;
amp = 20;
phase = 0;
moveMc.addEventListener(Event.ENTER_FRAME, moveMcEnter2);
}
function frame1(){
stop();
}
function frame2(){
parentObject = Object(parent);
pyuBgm = new PyuBgm();
pyuBgm_channel = pyuBgm.play(0, 1);
trans = pyuBgm_channel.soundTransform;
trans.volume = 0.5;
pyuBgm_channel.soundTransform = trans;
moveY = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function moveMcEnter2(_arg1:Event):void{
moveMc.y = (moveMc.y + moveY);
moveMc.x = (Math.sin(((phase * Math.PI) / 180)) * amp);
phase = (phase - 10);
if (moveMc.y < -400){
moveMc.removeEventListener(Event.ENTER_FRAME, moveMcEnter2);
};
}
public function thisEnter(_arg1:Event):void{
moveY = (moveY + 2);
y = (y + moveY);
if (y > 396){
y = 396;
gotoAndStop("3");
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package koi2_game_fla
Section 106
//Timeline_39 (koi2_game_fla.Timeline_39)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
public dynamic class Timeline_39 extends MovieClip {
public var itemMc:MovieClip;
public var parentObject:Object;
public var pyuBgm_channel:SoundChannel;
public var trans:SoundTransform;
public var moveY:Number;
public var pyuBgm:PyuBgm;
public function Timeline_39(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
parentObject = Object(parent);
pyuBgm = new PyuBgm();
pyuBgm_channel = pyuBgm.play(0, 1);
trans = pyuBgm_channel.soundTransform;
trans.volume = 0.5;
pyuBgm_channel.soundTransform = trans;
moveY = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
moveY = (moveY + 2);
y = (y + moveY);
if (y > 396){
y = 396;
gotoAndStop("3");
itemMc.gotoAndStop("2");
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package koi2_game_fla
Section 107
//Timeline_4 (koi2_game_fla.Timeline_4)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_4 extends MovieClip {
public var compBgm:CompBgm;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var phase:Number;
public var moveY:Number;
public var amp:Number;
public function Timeline_4(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
nextFrame();
}
function frame1(){
stop();
thisTimer = new Timer(500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
compBgm = new CompBgm();
compBgm.play();
moveY = -6;
amp = 20;
phase = 0;
moveMc.addEventListener(Event.ENTER_FRAME, moveMcEnter);
}
public function moveMcEnter(_arg1:Event):void{
var _local2:Object;
moveMc.y = (moveMc.y + moveY);
moveMc.x = (Math.sin(((phase * Math.PI) / 180)) * amp);
phase = (phase - 10);
if (moveMc.y < -450){
_local2 = Object(parent);
_local2.endMove();
moveMc.removeEventListener(Event.ENTER_FRAME, moveMcEnter);
};
}
}
}//package koi2_game_fla
Section 108
//Timeline_40 (koi2_game_fla.Timeline_40)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
public dynamic class Timeline_40 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var phase:Number;
public var getItemBgm:GetItemBgm;
public var hitMc:MovieClip;
public var moveY:Number;
public var amp:Number;
public function Timeline_40(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
hitMc.x = 10000;
kakouX = 16;
kakouY = -16;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame1(){
stop();
hitMc.x = 1000;
}
function frame2(){
hitMc.x = -32;
hitMc.y = -32;
getItemBgm = new GetItemBgm();
getItemBgm.play();
moveY = -6;
amp = 20;
phase = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter2(_arg1:Event):void{
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 30);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
};
}
public function thisEnter(_arg1:Event):void{
y = (y + moveY);
x = (Math.sin(((phase * Math.PI) / 180)) * amp);
phase = (phase - 10);
if (y < -500){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package koi2_game_fla
Section 109
//Timeline_41 (koi2_game_fla.Timeline_41)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_41 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_41(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 110
//Timeline_43 (koi2_game_fla.Timeline_43)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_43 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_43(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("1");
}
function frame1(){
stop();
}
function frame2(){
thisTimer = new Timer(300);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 111
//Timeline_44 (koi2_game_fla.Timeline_44)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_44 extends MovieClip {
public var defenseTime:Number;
public var noDefenseTimeList:Array;
public var defenseTimeList:Array;
public var parentObject:Object;
public var defenseType:Number;
public var noDefenseTime:Number;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public function Timeline_44(){
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);
}
public function ThisTimer(_arg1:TimerEvent){
Tweener.pauseTweens(moveMc);
parentObject.youkoHeadMc.visible = true;
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("13");
}
function frame10(){
parentObject.hitMc.x = -500;
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
public function endTween():void{
var _local1:ComeOnBgm;
if (parentObject.bgm == 0){
_local1 = new ComeOnBgm();
_local1.play();
};
parentObject.youkoHeadMc.visible = false;
gotoAndStop(defenseType);
}
function frame12(){
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame3(){
parentObject.hitMc.x = -500;
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame6(){
parentObject.hitMc.x = 50;
parentObject.hitMc2.x = 50;
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame7(){
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame4(){
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame5(){
parentObject.hitMc.x = -500;
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame9(){
parentObject.hitMc.x = -500;
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame1(){
stop();
parentObject = Object(parent);
noDefenseTimeList = [3, 5];
noDefenseTime = Math.floor((Math.random() * 2));
defenseTimeList = [1, 1.5];
defenseTime = Math.floor((Math.random() * 2));
defenseType = (Math.ceil((Math.random() * 11)) + 1);
moveMc = this;
Tweener.addTween(moveMc, {time:noDefenseTimeList[noDefenseTime], onComplete:endTween});
thisTimer = new Timer(60000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame8(){
parentObject.hitMc.x = -500;
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame2(){
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame11(){
parentObject.hitMc.x = -500;
Tweener.addTween(moveMc, {time:defenseTimeList[defenseTime], onComplete:endTween2});
}
function frame13(){
parentObject.youkoHeadMc.visible = true;
}
public function endTween2():void{
parentObject.hitMc.x = 28;
parentObject.hitMc2.x = 28;
parentObject.youkoHeadMc.visible = true;
gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 112
//Timeline_45 (koi2_game_fla.Timeline_45)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_45 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_45(){
addFrameScript(0, frame1, 4, frame5);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
stop();
thisTimer = new Timer(50, 4);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame5(){
gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 113
//Timeline_46 (koi2_game_fla.Timeline_46)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_46 extends MovieClip {
public var jetMc:JetMc;
public var rapperMc:RapperMc;
public var genshiMc:GenshiMc;
public var magicMc:MagicMc;
public var deluxeMc:DeluxeMc;
public var konbouMc:KonbouMc;
public var onikoroshiMc:OnikoroshiMc;
public var oumuMc:OumuMc;
public var tosikagoMc:TosikagoMc;
public var timeUp:Boolean;
public var machineMc:MachineMc;
public var makimonoMc:MakimonoMc;
public var sushiMc:SushiMc;
public var sabotenMc:SabotenMc;
public var hatumeiMc:HatumeiMc;
public var radiconMc:RadiconMc;
public var shougakuseiMc:ShougakuseiMc;
public var waveMc:WaveMc;
public var norenMc:NorenMc;
public var targetPoint:Point;
public var roboMc:RoboMc;
public var yureiHontaiMc:YureiHontaiMc;
public var parentObject:Object;
public var ishiMc:IshiMc;
public var flameBlueMc:FlameBlueMc;
public var yopparaiMc:YopparaiMc;
public var draculaCurtainMc2:DraculaCurtainMc2;
public var heikiMc:HeikiMc;
public var trans:SoundTransform;
public var draculaMc:DraculaMc;
public var roboHeadMc2:RoboHeadMc2;
public var battleBgm_channel:SoundChannel;
public var soccerBallMc:SoccerBallMc;
public var foxMc:FoxMc;
public var santaMc:SantaMc;
public var muetaiMc:MuetaiMc;
public var lampCurtainMc:LampCurtainMc;
public var index:int;
public var snowMc2:SnowMc2;
public var turisageMc:TurisageMc;
public var stoneMc:StoneMc;
public var rate:Number;
public var cocktailMc:CocktailMc;
public var kaizokuMc:KaizokuMc;
public var aoitoriMc:AoitoriMc;
public var radioMc:RadioMc;
public var kusaMc:KusaMc;
public var battleBgm:BattleBgm;
public var sushiMc2:SushiMc2;
public var aoitoriShotMc:AoitoriShotMc;
public var kusaMc2:KusaMc;
public var bgmChannel:SoundChannel;
public var tireMc:TireMc;
public var kanbanMc:KanbanMc;
public var yureiMc:YureiMc;
public var droidMc:DroidMc;
public var battleBgm2:BattleBgm2;
public var moveMc:MovieClip;
public var bazookaMc:BazookaMc;
public var shotType:int;
public var bikeMc:BikeMc;
public var yamiMc:YamiMc;
public var lampCurtainMc2:LampCurtainMc2;
public var draculaCurtainMc:DraculaCurtainMc;
public var radioMc2:RadioMc2;
public var kaminarigumoMc:KaminarigumoMc;
public var angelMc:AngelMc;
public var gokuuMc:GokuuMc;
public var roboHeadMc:RoboHeadMc;
public var lampMc:LampMc;
public var candleMc:CandleMc;
public var hyakuretsuMc:HyakuretsuMc;
public var flashMc:FlashMc;
public var oniMc:OniMc;
public var globalPoint:Point;
public var presentMc:PresentMc;
public var devilMc:DevilMc;
public var satoshiMc:MovieClip;
public var thisTimer1:Timer;
public var ninjaMc:NinjaMc;
public var tyoutinMc:TyoutinMc;
public var cowboyMc:CowboyMc;
public var radiconShotMc:RadiconShotMc;
public var beerMc:BeerMc;
public var ringMc:RingMc;
public function Timeline_46(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame4(){
flashMc = new FlashMc();
flashMc.x = 0;
flashMc.y = 0;
parentObject.addChild(flashMc);
battleBgm_channel.stop();
battleBgm2 = new BattleBgm2();
bgmChannel = battleBgm2.play(0, 3);
if (parentObject.parentObject.shotList.length == 0){
parentObject.parentObject.shotList = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31];
};
shotType = Math.floor((Math.random() * parentObject.parentObject.shotList.length));
index = parentObject.parentObject.shotList.indexOf(parentObject.parentObject.shotList[shotType]);
shotType = parentObject.parentObject.shotList[index];
parentObject.parentObject.shotList.splice(index, 1);
trace(shotType);
trace(parentObject.parentObject.shotList);
satoshiMc.visible = false;
if (shotType == 1){
roboHeadMc = new RoboHeadMc();
roboHeadMc.x = (parentObject.satoshiMc.x - 78);
roboHeadMc.y = (parentObject.satoshiMc.y - 6);
parentObject.addChild(roboHeadMc);
roboHeadMc2 = new RoboHeadMc2();
roboHeadMc2.x = (parentObject.satoshiMc.x - 118);
roboHeadMc2.y = (parentObject.satoshiMc.y - 6);
parentObject.addChild(roboHeadMc2);
roboMc = new RoboMc();
roboMc.x = 0;
roboMc.y = 0;
addChild(roboMc);
} else {
if (shotType == 2){
deluxeMc = new DeluxeMc();
deluxeMc.x = 0;
deluxeMc.y = 0;
addChild(deluxeMc);
radioMc = new RadioMc();
radioMc.x = 318;
radioMc.y = 364;
parentObject.addChild(radioMc);
parentObject.setChildIndex(radioMc, parentObject.getChildIndex(parentObject.youkoMc));
} else {
if (shotType == 3){
bikeMc = new BikeMc();
bikeMc.x = 0;
bikeMc.y = 0;
addChild(bikeMc);
tireMc = new TireMc();
tireMc.x = -54;
tireMc.y = 318;
parentObject.addChild(tireMc);
parentObject.setChildIndex(tireMc, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
} else {
if (shotType == 4){
angelMc = new AngelMc();
angelMc.x = 0;
angelMc.y = 0;
addChild(angelMc);
} else {
if (shotType == 5){
yureiHontaiMc = new YureiHontaiMc();
yureiHontaiMc.x = 0;
yureiHontaiMc.y = 0;
addChild(yureiHontaiMc);
yureiMc = new YureiMc();
yureiMc.x = parentObject.satoshiMc.x;
yureiMc.y = 282;
parentObject.addChild(yureiMc);
turisageMc = new TurisageMc();
turisageMc.x = 318;
turisageMc.y = 0;
parentObject.addChild(turisageMc);
parentObject.setChildIndex(turisageMc, parentObject.getChildIndex(parentObject.youkoMc));
yamiMc = new YamiMc();
yamiMc.x = 0;
yamiMc.y = 0;
parentObject.addChild(yamiMc);
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 6){
hyakuretsuMc = new HyakuretsuMc();
hyakuretsuMc.x = 0;
hyakuretsuMc.y = 0;
addChild(hyakuretsuMc);
flameBlueMc = new FlameBlueMc();
flameBlueMc.x = 0;
flameBlueMc.y = 456;
parentObject.addChild(flameBlueMc);
parentObject.setChildIndex(flameBlueMc, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
} else {
if (shotType == 7){
hatumeiMc = new HatumeiMc();
hatumeiMc.x = 0;
hatumeiMc.y = 0;
addChild(hatumeiMc);
} else {
if (shotType == 8){
ninjaMc = new NinjaMc();
ninjaMc.x = 0;
ninjaMc.y = 0;
addChild(ninjaMc);
kusaMc = new KusaMc();
kusaMc.x = 636;
kusaMc.y = 456;
parentObject.addChild(kusaMc);
parentObject.setChildIndex(kusaMc, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
kusaMc2 = new KusaMc();
kusaMc2.x = (636 + kusaMc2.width);
kusaMc2.y = 456;
parentObject.addChild(kusaMc2);
parentObject.setChildIndex(kusaMc2, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
makimonoMc = new MakimonoMc();
makimonoMc.x = 318;
makimonoMc.y = 384;
parentObject.addChild(makimonoMc);
parentObject.setChildIndex(makimonoMc, parentObject.getChildIndex(parentObject.youkoMc));
} else {
if (shotType == 9){
foxMc = new FoxMc();
foxMc.x = 0;
foxMc.y = 0;
addChild(foxMc);
tyoutinMc = new TyoutinMc();
tyoutinMc.x = 318;
tyoutinMc.y = 0;
parentObject.addChild(tyoutinMc);
parentObject.setChildIndex(tyoutinMc, parentObject.getChildIndex(parentObject.youkoMc));
} else {
if (shotType == 10){
bazookaMc = new BazookaMc();
bazookaMc.x = 0;
bazookaMc.y = 0;
addChild(bazookaMc);
} else {
if (shotType == 11){
lampMc = new LampMc();
lampMc.x = 0;
lampMc.y = 0;
addChild(lampMc);
lampCurtainMc = new LampCurtainMc();
lampCurtainMc.x = 0;
lampCurtainMc.y = 0;
parentObject.addChild(lampCurtainMc);
parentObject.setChildIndex(lampCurtainMc, parentObject.getChildIndex(parentObject.youkoMc));
lampCurtainMc2 = new LampCurtainMc2();
lampCurtainMc2.x = 636;
lampCurtainMc2.y = 0;
parentObject.addChild(lampCurtainMc2);
parentObject.setChildIndex(lampCurtainMc2, parentObject.getChildIndex(parentObject.youkoMc));
} else {
if (shotType == 12){
yopparaiMc = new YopparaiMc();
yopparaiMc.x = 0;
yopparaiMc.y = 0;
addChild(yopparaiMc);
kanbanMc = new KanbanMc();
kanbanMc.x = 0;
kanbanMc.y = 16;
parentObject.addChild(kanbanMc);
parentObject.setChildIndex(kanbanMc, parentObject.getChildIndex(parentObject.youkoMc));
beerMc = new BeerMc();
beerMc.x = 286;
beerMc.y = 362;
parentObject.addChild(beerMc);
parentObject.setChildIndex(beerMc, parentObject.getChildIndex(parentObject.yukaMc));
cocktailMc = new CocktailMc();
cocktailMc.x = 354;
cocktailMc.y = 372;
parentObject.addChild(cocktailMc);
parentObject.setChildIndex(cocktailMc, parentObject.getChildIndex(parentObject.yukaMc));
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 13){
aoitoriMc = new AoitoriMc();
aoitoriMc.x = 0;
aoitoriMc.y = 0;
addChild(aoitoriMc);
aoitoriShotMc = new AoitoriShotMc();
aoitoriShotMc.x = 0;
aoitoriShotMc.y = 0;
parentObject.addChild(aoitoriShotMc);
tosikagoMc = new TosikagoMc();
tosikagoMc.x = 318;
tosikagoMc.y = 348;
parentObject.addChild(tosikagoMc);
parentObject.setChildIndex(tosikagoMc, parentObject.getChildIndex(parentObject.youkoMc));
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 14){
sushiMc = new SushiMc();
sushiMc.x = 0;
sushiMc.y = 0;
addChild(sushiMc);
sushiMc2 = new SushiMc2();
sushiMc2.x = 336;
sushiMc2.y = 382;
parentObject.addChild(sushiMc2);
parentObject.setChildIndex(sushiMc2, parentObject.getChildIndex(parentObject.yukaMc));
norenMc = new NorenMc();
norenMc.x = 318;
norenMc.y = 0;
parentObject.addChild(norenMc);
parentObject.setChildIndex(norenMc, parentObject.getChildIndex(parentObject.youkoMc));
} else {
if (shotType == 15){
heikiMc = new HeikiMc();
heikiMc.x = 0;
heikiMc.y = 0;
addChild(heikiMc);
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 16){
kaizokuMc = new KaizokuMc();
kaizokuMc.x = 0;
kaizokuMc.y = 0;
addChild(kaizokuMc);
waveMc = new WaveMc();
waveMc.x = 0;
waveMc.y = 456;
parentObject.addChild(waveMc);
parentObject.setChildIndex(waveMc, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
oumuMc = new OumuMc();
oumuMc.x = (-(oumuMc.width) / 2);
oumuMc.y = (oumuMc.height / 2);
parentObject.addChild(oumuMc);
} else {
if (shotType == 17){
devilMc = new DevilMc();
devilMc.x = 0;
devilMc.y = 0;
addChild(devilMc);
} else {
if (shotType == 18){
machineMc = new MachineMc();
machineMc.x = 0;
machineMc.y = 0;
addChild(machineMc);
} else {
if (shotType == 19){
jetMc = new JetMc();
jetMc.x = parentObject.satoshiMc.x;
jetMc.y = parentObject.satoshiMc.y;
parentObject.addChild(jetMc);
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 20){
santaMc = new SantaMc();
santaMc.x = 0;
santaMc.y = 0;
addChild(santaMc);
snowMc2 = new SnowMc2();
snowMc2.x = 0;
snowMc2.y = 456;
parentObject.addChild(snowMc2);
parentObject.setChildIndex(snowMc2, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
presentMc = new PresentMc();
presentMc.x = 346;
presentMc.y = 378;
parentObject.addChild(presentMc);
parentObject.setChildIndex(presentMc, parentObject.getChildIndex(parentObject.youkoMc));
} else {
if (shotType == 21){
magicMc = new MagicMc();
magicMc.x = 0;
magicMc.y = 0;
addChild(magicMc);
} else {
if (shotType == 22){
draculaMc = new DraculaMc();
draculaMc.x = 0;
draculaMc.y = 0;
addChild(draculaMc);
candleMc = new CandleMc();
candleMc.x = 318;
candleMc.y = 340;
parentObject.addChild(candleMc);
parentObject.setChildIndex(candleMc, parentObject.getChildIndex(parentObject.youkoMc));
draculaCurtainMc = new DraculaCurtainMc();
draculaCurtainMc.x = 0;
draculaCurtainMc.y = 0;
parentObject.addChild(draculaCurtainMc);
parentObject.setChildIndex(draculaCurtainMc, parentObject.getChildIndex(parentObject.youkoMc));
draculaCurtainMc2 = new DraculaCurtainMc2();
draculaCurtainMc2.x = 636;
draculaCurtainMc2.y = 0;
parentObject.addChild(draculaCurtainMc2);
parentObject.setChildIndex(draculaCurtainMc2, parentObject.getChildIndex(parentObject.youkoMc));
} else {
if (shotType == 23){
cowboyMc = new CowboyMc();
cowboyMc.x = 0;
cowboyMc.y = 0;
addChild(cowboyMc);
sabotenMc = new SabotenMc();
sabotenMc.x = 0x0200;
sabotenMc.y = 124;
parentObject.addChild(sabotenMc);
parentObject.setChildIndex(sabotenMc, parentObject.getChildIndex(parentObject.youkoMc));
} else {
if (shotType == 24){
genshiMc = new GenshiMc();
genshiMc.x = 0;
genshiMc.y = 0;
addChild(genshiMc);
ishiMc = new IshiMc();
ishiMc.x = -54;
ishiMc.y = 318;
parentObject.addChild(ishiMc);
parentObject.setChildIndex(ishiMc, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
} else {
if (shotType == 25){
oniMc = new OniMc();
oniMc.x = 0;
oniMc.y = 0;
addChild(oniMc);
kaminarigumoMc = new KaminarigumoMc();
kaminarigumoMc.x = -(width);
kaminarigumoMc.y = 44;
parentObject.addChild(kaminarigumoMc);
onikoroshiMc = new OnikoroshiMc();
onikoroshiMc.x = 262;
onikoroshiMc.y = 422;
parentObject.addChild(onikoroshiMc);
parentObject.setChildIndex(onikoroshiMc, parentObject.getChildIndex(parentObject.yukaMc));
konbouMc = new KonbouMc();
konbouMc.x = 82;
konbouMc.y = 392;
parentObject.addChild(konbouMc);
parentObject.setChildIndex(konbouMc, parentObject.getChildIndex(parentObject.yukaMc));
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 26){
gokuuMc = new GokuuMc();
gokuuMc.x = parentObject.satoshiMc.x;
gokuuMc.y = parentObject.satoshiMc.y;
parentObject.addChild(gokuuMc);
stoneMc = new StoneMc();
targetPoint = new Point(parentObject.satoshiMc.x, parentObject.satoshiMc.y);
globalPoint = stage.localToGlobal(targetPoint);
stoneMc.x = (globalPoint.x - 156);
stoneMc.y = (globalPoint.y - 70);
parentObject.addChild(stoneMc);
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 27){
shougakuseiMc = new ShougakuseiMc();
shougakuseiMc.x = 0;
shougakuseiMc.y = 0;
addChild(shougakuseiMc);
soccerBallMc = new SoccerBallMc();
soccerBallMc.x = -34;
soccerBallMc.y = 338;
parentObject.addChild(soccerBallMc);
parentObject.setChildIndex(soccerBallMc, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 28){
radiconMc = new RadiconMc();
radiconMc.x = 0;
radiconMc.y = 0;
addChild(radiconMc);
radiconShotMc = new RadiconShotMc();
radiconShotMc.x = 318;
radiconShotMc.y = 378;
parentObject.addChild(radiconShotMc);
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
} else {
if (shotType == 29){
droidMc = new DroidMc();
droidMc.x = 0;
droidMc.y = 0;
addChild(droidMc);
} else {
if (shotType == 30){
muetaiMc = new MuetaiMc();
muetaiMc.x = 0;
muetaiMc.y = 0;
addChild(muetaiMc);
ringMc = new RingMc();
ringMc.x = 318;
ringMc.y = 0;
parentObject.addChild(ringMc);
parentObject.setChildIndex(ringMc, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
} else {
if (shotType == 31){
rapperMc = new RapperMc();
rapperMc.x = 0;
rapperMc.y = 0;
addChild(rapperMc);
radioMc2 = new RadioMc2();
radioMc2.x = 318;
radioMc2.y = 364;
parentObject.addChild(radioMc2);
parentObject.setChildIndex(radioMc2, parentObject.getChildIndex(parentObject.youkoMc));
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
thisTimer1 = new Timer(10500);
thisTimer1.addEventListener(TimerEvent.TIMER, ThisTimer1);
thisTimer1.start();
}
function frame3(){
battleBgm_channel.stop();
satoshiMc.gotoAndStop("4");
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
moveMc = this;
Tweener.addTween(moveMc, {y:600, time:3});
}
function frame1(){
parentObject = Object(parent);
timeUp = false;
shotType = 0;
battleBgm = new BattleBgm();
battleBgm_channel = battleBgm.play(0, int.MAX_VALUE);
trans = battleBgm_channel.soundTransform;
trans.volume = 0.5;
battleBgm_channel.soundTransform = trans;
}
function frame2(){
stop();
rate = 0.1;
this.addEventListener(Event.ENTER_FRAME, moveMouse);
}
public function moveMouse(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
if ((((parentObject.mouseY >= 70)) && ((parentObject.mouseY <= 282)))){
_local2 = (parent.mouseY - y);
_local3 = (_local2 * rate);
y = (y + _local3);
if (rate < 0.7){
rate = (rate + 0.03);
};
if (rate >= 0.7){
root.addEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
};
};
if (parentObject.mouseY < 70){
_local2 = (70 - y);
_local3 = (_local2 * rate);
y = (y + _local3);
if (rate < 0.7){
rate = (rate + 0.03);
};
if (rate >= 0.7){
root.addEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, moveMouse);
};
};
}
public function thisMove(_arg1:MouseEvent):void{
if ((((parentObject.mouseY >= 70)) && ((parentObject.mouseY <= 282)))){
y = parentObject.mouseY;
};
_arg1.updateAfterEvent();
}
public function ThisTimer1(_arg1:TimerEvent){
var _local2:FlashMc;
var _local3:SoundTransform;
_local2 = new FlashMc();
_local2.x = 0;
_local2.y = 0;
parentObject.addChild(_local2);
battleBgm_channel = battleBgm.play(0, int.MAX_VALUE);
_local3 = battleBgm_channel.soundTransform;
_local3.volume = 0.5;
battleBgm_channel.soundTransform = _local3;
thisTimer1.removeEventListener(TimerEvent.TIMER, ThisTimer1);
shotType = 0;
satoshiMc.visible = true;
gotoAndStop("2");
satoshiMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 114
//Timeline_47 (koi2_game_fla.Timeline_47)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_47 extends MovieClip {
public var timing:Number;
public var parentObject:Object;
public function Timeline_47(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:HandShotMc;
if (parentObject.shotType == 0){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new HandShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 22);
_local5.y = (parentObject.parentObject.satoshiMc.y + 8);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
};
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
}
public function thisEnter(_arg1:Event):void{
timing++;
if (parentObject.timeUp == false){
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
} else {
gotoAndStop("4");
};
}
}
}//package koi2_game_fla
Section 115
//Timeline_49 (koi2_game_fla.Timeline_49)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_49 extends MovieClip {
public var secondMc:MovieClip;
public function Timeline_49(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 116
//Timeline_50 (koi2_game_fla.Timeline_50)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_50 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_50(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(60, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 117
//Timeline_53 (koi2_game_fla.Timeline_53)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
public dynamic class Timeline_53 extends MovieClip {
public var moveTimeList:Array;
public var moveTime:Number;
public var moveMc:MovieClip;
public var parentObject:Object;
public var moveY:Number;
public var thisTimer1:Timer;
public function Timeline_53(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function endTween():void{
gotoAndPlay("2");
}
function frame3(){
stop();
moveMc = this;
Tweener.addTween(moveMc, {y:moveY, time:moveTimeList[moveTime], transition:"easeOutBounce", onComplete:endTween});
}
function frame1(){
stop();
thisTimer1 = new Timer(500);
thisTimer1.addEventListener(TimerEvent.TIMER, ThisTimer1);
thisTimer1.start();
}
function frame2(){
parentObject = Object(parent);
moveY = (Math.ceil((Math.random() * 96)) + 97.1);
moveTimeList = [0.25, 0.5, 0.75, 1];
moveTime = Math.floor((Math.random() * 4));
}
public function ThisTimer1(_arg1:TimerEvent){
thisTimer1.removeEventListener(TimerEvent.TIMER, ThisTimer1);
gotoAndPlay("2");
}
}
}//package koi2_game_fla
Section 118
//Timeline_54 (koi2_game_fla.Timeline_54)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_54 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_54(){
addFrameScript(0, frame1, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
stop();
thisTimer = new Timer(500, 3);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 119
//Timeline_55 (koi2_game_fla.Timeline_55)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
public dynamic class Timeline_55 extends MovieClip {
public var moveTimeList:Array;
public var moveTime:Number;
public var thisTimer:Timer;
public var moveMc:MovieClip;
public var parentObject:Object;
public var moveY:Number;
public function Timeline_55(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndPlay("2");
}
public function endTween():void{
gotoAndPlay("2");
}
function frame3(){
stop();
moveMc = this;
Tweener.addTween(moveMc, {y:moveY, time:moveTimeList[moveTime], transition:"easeOutBounce", onComplete:endTween});
}
function frame1(){
stop();
thisTimer = new Timer(500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject = Object(parent);
moveY = (Math.ceil((Math.random() * 88)) + 109.1);
moveTimeList = [0.25, 0.5, 0.75, 1];
moveTime = Math.floor((Math.random() * 4));
}
}
}//package koi2_game_fla
Section 120
//Timeline_59 (koi2_game_fla.Timeline_59)
package koi2_game_fla {
import flash.display.*;
public dynamic class Timeline_59 extends MovieClip {
public function Timeline_59(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package koi2_game_fla
Section 121
//Timeline_6 (koi2_game_fla.Timeline_6)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_6 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function Timeline_6(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
kakouX = 6;
kakouY = -8;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 2);
if (y > (480 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package koi2_game_fla
Section 122
//Timeline_60 (koi2_game_fla.Timeline_60)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_60 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_60(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(300, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 123
//Timeline_61 (koi2_game_fla.Timeline_61)
package koi2_game_fla {
import flash.display.*;
import fl.transitions.*;
import flash.text.*;
public dynamic class Timeline_61 extends MovieClip {
public var howanBgm:HowanBgm;
public var rankText:TextField;
public var springObj:SpringScale;
public var scoreText:TextField;
public function Timeline_61(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
scoreText.selectable = false;
rankText.selectable = false;
}
function frame2(){
howanBgm = new HowanBgm();
howanBgm.play();
springObj = new SpringScale(this);
springObj.springTo(1, 1);
}
}
}//package koi2_game_fla
Section 124
//Timeline_63 (koi2_game_fla.Timeline_63)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_63 extends MovieClip {
public var howanBgm:HowanBgm;
public var playernameText:TextField;
public var parentObject:Object;
public var hiScoresBtn:MovieClip;
public var springObj:SpringScale;
public function Timeline_63(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
public function hiScoresBtnOver(_arg1:MouseEvent):void{
parentObject.handMouseMc.gotoAndStop("2");
}
public function hiScoresBtnOut(_arg1:MouseEvent):void{
parentObject.handMouseMc.gotoAndStop("1");
}
function frame2(){
howanBgm = new HowanBgm();
howanBgm.play();
springObj = new SpringScale(this);
springObj.springTo(1, 1);
playernameText.selectable = false;
parentObject = Object(parent);
hiScoresBtn.addEventListener(MouseEvent.MOUSE_OVER, hiScoresBtnOver);
hiScoresBtn.addEventListener(MouseEvent.MOUSE_OUT, hiScoresBtnOut);
}
}
}//package koi2_game_fla
Section 125
//Timeline_66 (koi2_game_fla.Timeline_66)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_66 extends MovieClip {
public var playername:TextField;
public var howanBgm:HowanBgm;
public var submitBtn:MovieClip;
public var parentObject:Object;
public var springObj:SpringScale;
public function Timeline_66(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
howanBgm = new HowanBgm();
howanBgm.play();
springObj = new SpringScale(this);
springObj.springTo(1, 1);
parentObject = Object(parent);
playername.addEventListener(MouseEvent.MOUSE_OVER, playernameOver);
playername.addEventListener(MouseEvent.MOUSE_OUT, playernameOut);
}
public function playernameOut(_arg1:MouseEvent):void{
parentObject.handMouseMc.gotoAndStop("1");
}
public function playernameOver(_arg1:MouseEvent):void{
parentObject.handMouseMc.gotoAndStop("2");
}
}
}//package koi2_game_fla
Section 126
//Timeline_7 (koi2_game_fla.Timeline_7)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_7 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function Timeline_7(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
kakouX = -6;
kakouY = -8;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 2);
if (y > (480 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package koi2_game_fla
Section 127
//Timeline_70 (koi2_game_fla.Timeline_70)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_70 extends MovieClip {
public var rankingMc:MovieClip;
public function Timeline_70(){
addFrameScript(0, frame1);
}
public function endTween():void{
var _local1:Object;
_local1 = Object(parent);
_local1.btnMc.gotoAndStop("2");
}
function frame1(){
}
}
}//package koi2_game_fla
Section 128
//Timeline_71 (koi2_game_fla.Timeline_71)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_71 extends MovieClip {
public var loader:URLLoader;
public var nameText1:TextField;
public var nameText2:TextField;
public var nameText3:TextField;
public var nameText4:TextField;
public var nameText5:TextField;
public var nameText6:TextField;
public var nameText7:TextField;
public var nameText8:TextField;
public var nameText9:TextField;
public var scoreText2:TextField;
public var scoreText4:TextField;
public var scoreText5:TextField;
public var scoreText1:TextField;
public var scoreText9:TextField;
public var scoreText3:TextField;
public var scoreText6:TextField;
public var scoreText7:TextField;
public var scoreText14:TextField;
public var scoreText15:TextField;
public var scoreText16:TextField;
public var scoreText17:TextField;
public var scoreText18:TextField;
public var scoreText19:TextField;
public var scoreText13:TextField;
public var scoreText11:TextField;
public var scoreText12:TextField;
public var scoreText8:TextField;
public var scoreText10:TextField;
public var scoreText20:TextField;
public var scoreText22:TextField;
public var scoreText24:TextField;
public var scoreText25:TextField;
public var scoreText26:TextField;
public var scoreText27:TextField;
public var scoreText21:TextField;
public var scoreText29:TextField;
public var moveMc:MovieClip;
public var scoreText23:TextField;
public var scoreText31:TextField;
public var scoreText32:TextField;
public var scoreText33:TextField;
public var scoreText35:TextField;
public var scoreText36:TextField;
public var scoreText37:TextField;
public var scoreText38:TextField;
public var scoreText39:TextField;
public var scoreText34:TextField;
public var scoreText30:TextField;
public var scoreText28:TextField;
public var scoreText40:TextField;
public var scoreText41:TextField;
public var scoreText42:TextField;
public var scoreText43:TextField;
public var scoreText44:TextField;
public var scoreText45:TextField;
public var scoreText46:TextField;
public var scoreText47:TextField;
public var scoreText49:TextField;
public var scoreText50:TextField;
public var scoreText48:TextField;
public var nameText10:TextField;
public var nameText11:TextField;
public var nameText12:TextField;
public var nameText13:TextField;
public var nameText14:TextField;
public var nameText15:TextField;
public var nameText17:TextField;
public var nameText18:TextField;
public var nameText19:TextField;
public var nameText16:TextField;
public var nameText20:TextField;
public var nameText21:TextField;
public var nameText22:TextField;
public var nameText23:TextField;
public var nameText24:TextField;
public var nameText25:TextField;
public var nameText26:TextField;
public var nameText27:TextField;
public var nameText28:TextField;
public var nameText29:TextField;
public var request:URLRequest;
public var nameText30:TextField;
public var nameText32:TextField;
public var nameText34:TextField;
public var nameText36:TextField;
public var nameText38:TextField;
public var nameText39:TextField;
public var nameText33:TextField;
public var nameText37:TextField;
public var nameText35:TextField;
public var nameText31:TextField;
public var nameText40:TextField;
public var nameText41:TextField;
public var nameText42:TextField;
public var nameText43:TextField;
public var nameText45:TextField;
public var nameText46:TextField;
public var nameText47:TextField;
public var nameText49:TextField;
public var cgi_url:String;
public var nameText44:TextField;
public var nameText48:TextField;
public var nameText50:TextField;
public var rankText10:TextField;
public var rankText11:TextField;
public var rankText12:TextField;
public var rankText13:TextField;
public var rankText15:TextField;
public var rankText16:TextField;
public var rankText17:TextField;
public var rankText18:TextField;
public var rankText14:TextField;
public var rankText19:TextField;
public var rankText20:TextField;
public var rankText22:TextField;
public var rankText24:TextField;
public var rankText26:TextField;
public var rankText28:TextField;
public var rankText29:TextField;
public var rankText23:TextField;
public var rankText25:TextField;
public var rankText27:TextField;
public var rankText21:TextField;
public var rankText31:TextField;
public var rankText32:TextField;
public var rankText33:TextField;
public var rankText34:TextField;
public var rankText35:TextField;
public var rankText36:TextField;
public var rankText37:TextField;
public var rankText38:TextField;
public var rankText39:TextField;
public var rankText40:TextField;
public var rankText42:TextField;
public var rankText44:TextField;
public var rankText46:TextField;
public var rankText47:TextField;
public var rankText48:TextField;
public var rankText49:TextField;
public var rankText45:TextField;
public var rankText41:TextField;
public var rankText43:TextField;
public var rankText30:TextField;
public var rankText50:TextField;
public var rankText2:TextField;
public var rankText3:TextField;
public var rankText4:TextField;
public var rankText5:TextField;
public var rankText6:TextField;
public var rankText7:TextField;
public var rankText8:TextField;
public var rankText9:TextField;
public var rankText1:TextField;
public var loadingMc:MovieClip;
public function Timeline_71(){
addFrameScript(0, frame1);
}
public function onComplete(_arg1:Event):void{
var endTween:Function;
var event = _arg1;
endTween = function ():void{
var _local1:Number;
var _local2:Array;
var _local3:int;
var _local4:KoitsuBgm;
var _local5:SoundChannel;
var _local6:SoundTransform;
var _local7:String;
var _local8:String;
var _local9:Array;
var _local10:String;
var _local11:Array;
removeChild(loadingMc);
_local1 = 50;
_local2 = event.target.data.split("&");
_local3 = 1;
while (_local3 <= _local1) {
_local7 = ("rankText" + _local3);
this[_local7].text = String(_local3);
_local8 = _local2[(_local3 - (2 - _local3))];
_local9 = _local8.split("=");
_local8 = ("scoreText" + _local3);
this[_local8].text = (String(_local9[1]) + "KOITSU");
_local10 = _local2[(_local3 - (1 - _local3))];
_local11 = _local10.split("=");
_local10 = ("nameText" + _local3);
this[_local10].text = String(_local11[1]);
_local3++;
};
_local4 = new KoitsuBgm();
_local5 = _local4.play(0, 1);
_local6 = _local5.soundTransform;
_local6.volume = 0.5;
_local5.soundTransform = _local6;
Tweener.addTween(moveMc, {x:-340, delay:0.2, time:0.5, transition:"easeOutElastic", onComplete:endTween2});
loader.removeEventListener(Event.COMPLETE, onComplete);
};
Tweener.addTween(moveMc, {delay:1, onComplete:endTween});
}
function frame1(){
System.useCodePage = true;
cgi_url = "http://www.party-tencho.com/koi2/koi2score.cgi";
request = new URLRequest(cgi_url);
loader = new URLLoader(request);
moveMc = this;
loader.addEventListener(Event.COMPLETE, onComplete);
}
public function endTween2():void{
var _local1:Object;
_local1 = Object(parent);
_local1.endTween();
}
}
}//package koi2_game_fla
Section 129
//Timeline_73 (koi2_game_fla.Timeline_73)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_73 extends MovieClip {
public var moveMc:MovieClip;
public var timing:Number;
public var parentObject:Object;
public var rightBtn:MovieClip;
public var leftBtn:MovieClip;
public function Timeline_73(){
addFrameScript(0, frame1, 1, frame2);
}
public function endTween():void{
timing++;
if ((((timing >= 2)) || ((timing >= 5)))){
leftBtn.gotoAndStop("2");
rightBtn.addEventListener(MouseEvent.CLICK, rightBtnClick);
leftBtn.addEventListener(MouseEvent.CLICK, leftBtnClick);
};
if (timing == 5){
rightBtn.gotoAndStop("2");
leftBtn.addEventListener(MouseEvent.CLICK, leftBtnClick);
};
}
function frame1(){
stop();
}
function frame2(){
parentObject = Object(parent);
moveMc = parentObject.tvMc.rankingMc;
rightBtn.addEventListener(MouseEvent.CLICK, rightBtnClick);
timing = 1;
leftBtn.addEventListener(MouseEvent.CLICK, leftBtnClick);
}
public function btnEvent():void{
var _local1:KoitsuBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new KoitsuBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
}
public function leftBtnClick(_arg1:MouseEvent):void{
var _local2:Number;
btnEvent();
_local2 = parentObject.tvMc.rankingMc.x;
Tweener.addTween(moveMc, {x:(_local2 + 340), time:0.5, transition:"easeOutElastic", onComplete:endTween2});
rightBtn.removeEventListener(MouseEvent.CLICK, rightBtnClick);
leftBtn.removeEventListener(MouseEvent.CLICK, leftBtnClick);
}
public function rightBtnClick(_arg1:MouseEvent):void{
var _local2:Number;
btnEvent();
_local2 = parentObject.tvMc.rankingMc.x;
Tweener.addTween(moveMc, {x:(_local2 - 340), time:0.5, transition:"easeOutElastic", onComplete:endTween});
rightBtn.removeEventListener(MouseEvent.CLICK, rightBtnClick);
leftBtn.removeEventListener(MouseEvent.CLICK, leftBtnClick);
}
public function endTween2():void{
timing--;
if ((((timing >= 2)) || ((timing >= 5)))){
rightBtn.gotoAndStop("1");
rightBtn.addEventListener(MouseEvent.CLICK, rightBtnClick);
leftBtn.addEventListener(MouseEvent.CLICK, leftBtnClick);
};
if (timing == 1){
leftBtn.gotoAndStop("1");
rightBtn.addEventListener(MouseEvent.CLICK, rightBtnClick);
};
}
}
}//package koi2_game_fla
Section 130
//Timeline_74 (koi2_game_fla.Timeline_74)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_74 extends MovieClip {
public var parentObject:Object;
public function Timeline_74(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
parentObject = Object(parent);
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
parentObject.parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
parentObject.parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 131
//Timeline_75 (koi2_game_fla.Timeline_75)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_75 extends MovieClip {
public var parentObject:Object;
public function Timeline_75(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
parentObject.parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
parentObject.parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 132
//Timeline_78 (koi2_game_fla.Timeline_78)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_78 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_78(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(30, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 133
//Timeline_80 (koi2_game_fla.Timeline_80)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_80 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_80(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(100, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 134
//Timeline_82 (koi2_game_fla.Timeline_82)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_82 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function Timeline_82(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
parentObject.addChild(this);
kakouX = -((Math.floor((Math.random() * 6)) + 2));
kakouY = -((Math.floor((Math.random() * 8)) + 10));
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package koi2_game_fla
Section 135
//Timeline_83 (koi2_game_fla.Timeline_83)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_83 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function Timeline_83(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
parentObject.addChild(this);
kakouX = -((Math.floor((Math.random() * 6)) + 2));
kakouY = -((Math.floor((Math.random() * 8)) + 10));
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package koi2_game_fla
Section 136
//Timeline_84 (koi2_game_fla.Timeline_84)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_84 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function Timeline_84(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
parentObject.addChild(this);
kakouX = (Math.floor((Math.random() * 5)) - 2);
kakouY = -((Math.floor((Math.random() * 8)) + 10));
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
if (kakouX < 0){
rotation = (rotation - 3);
} else {
rotation = (rotation + 3);
};
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package koi2_game_fla
Section 137
//Timeline_85 (koi2_game_fla.Timeline_85)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_85 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function Timeline_85(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
parentObject.addChild(this);
kakouX = (Math.floor((Math.random() * 6)) + 2);
kakouY = -((Math.floor((Math.random() * 8)) + 10));
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package koi2_game_fla
Section 138
//Timeline_86 (koi2_game_fla.Timeline_86)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_86 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function Timeline_86(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
parentObject.addChild(this);
kakouX = (Math.floor((Math.random() * 5)) - 2);
kakouY = -((Math.floor((Math.random() * 8)) + 10));
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
if (kakouX < 0){
rotation = (rotation - 3);
} else {
rotation = (rotation + 3);
};
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package koi2_game_fla
Section 139
//Timeline_87 (koi2_game_fla.Timeline_87)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_87 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function Timeline_87(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
parentObject.addChild(this);
kakouX = (Math.floor((Math.random() * 6)) + 2);
kakouY = -((Math.floor((Math.random() * 8)) + 10));
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package koi2_game_fla
Section 140
//Timeline_9 (koi2_game_fla.Timeline_9)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_9 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_9(){
addFrameScript(0, frame1, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
stop();
this.hitArea = new Sprite();
thisTimer = new Timer(100, 3);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 141
//Timeline_94 (koi2_game_fla.Timeline_94)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.utils.*;
public dynamic class Timeline_94 extends MovieClip {
public var thisTimer:Timer;
public var timing2:Number;
public function Timeline_94(){
addFrameScript(0, frame1, 1, frame2, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame4(){
gotoAndStop("2");
}
function frame2(){
stop();
thisTimer = new Timer(50, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
}
}//package koi2_game_fla
Section 142
//Timeline_98 (koi2_game_fla.Timeline_98)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public dynamic class Timeline_98 extends MovieClip {
public var thisTimer:Timer;
public function Timeline_98(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent){
nextFrame();
}
function frame3(){
gotoAndStop("1");
}
function frame1(){
stop();
thisTimer = new Timer(50, 2);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
}
}//package koi2_game_fla
Section 143
//TITLE_13 (koi2_game_fla.TITLE_13)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class TITLE_13 extends MovieClip {
public var format;
public var titleMc:MovieClip;
public var howToPlayBtn:MovieClip;
public var moveMc:MovieClip;
public var parentObject:Object;
public var hiScoresBtn:MovieClip;
public var trans:SoundTransform;
public var gameStartBtn:MovieClip;
public var handMouseMc:HandMouseMc;
public var koitsuBgm_channel:SoundChannel;
public var moveMc2:MovieClip;
public var koitsuBgm:KoitsuBgm;
public var scoreText:TextField;
public function TITLE_13(){
addFrameScript(0, frame1);
}
public function moveMouseMc(_arg1:MouseEvent):void{
handMouseMc.startDrag(true);
_arg1.updateAfterEvent();
}
public function hiScoresBtnClick(_arg1:MouseEvent):void{
btnEvent();
removeChild(handMouseMc);
parentObject.gotoAndStop("hiScores");
}
public function gameStartBtnClick(_arg1:MouseEvent):void{
var _local2:MovieClip;
btnEvent();
handMouseMc.stopDrag();
gameStartBtn.removeEventListener(MouseEvent.MOUSE_OVER, gameStartBtn.thisOver);
howToPlayBtn.removeEventListener(MouseEvent.MOUSE_OVER, howToPlayBtn.thisOver);
hiScoresBtn.removeEventListener(MouseEvent.MOUSE_OVER, hiScoresBtn.thisOver);
_local2 = handMouseMc;
Tweener.addTween(_local2, {x:700, time:1, transition:"easeInBack", onComplete:endTween});
}
public function endTween():void{
parentObject.mainBgm_channel.stop();
removeChild(handMouseMc);
parentObject.gotoAndStop("game");
}
public function howToPlayBtnClick(_arg1:MouseEvent):void{
btnEvent();
removeChild(handMouseMc);
parentObject.gotoAndStop("howToPlay");
}
function frame1(){
parentObject = Object(parent);
Mouse.hide();
handMouseMc.x = mouseX;
handMouseMc.y = mouseY;
this.addEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
gameStartBtn.addEventListener(MouseEvent.CLICK, gameStartBtnClick);
howToPlayBtn.addEventListener(MouseEvent.CLICK, howToPlayBtnClick);
hiScoresBtn.addEventListener(MouseEvent.CLICK, hiScoresBtnClick);
format = new TextFormat();
format.letterSpacing = -1;
scoreText.selectable = false;
scoreText.text = String(parentObject.resultScore);
scoreText.setTextFormat(format);
if (parentObject.logo == 0){
koitsuBgm = new KoitsuBgm();
koitsuBgm_channel = koitsuBgm.play(0, 1);
trans = koitsuBgm_channel.soundTransform;
trans.volume = 0.5;
koitsuBgm_channel.soundTransform = trans;
moveMc2 = titleMc;
titleMc.y = -(titleMc.height);
Tweener.addTween(moveMc2, {y:0, time:1, transition:"easeOutBounce"});
moveMc = this;
Tweener.addTween(moveMc, {delay:1.2, onComplete:endTween2});
} else {
titleMc.y = 0;
};
}
public function btnEvent():void{
var _local1:KoitsuBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new KoitsuBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
parentObject.logo = 1;
this.removeEventListener(MouseEvent.MOUSE_MOVE, moveMouseMc);
gameStartBtn.removeEventListener(MouseEvent.CLICK, gameStartBtnClick);
howToPlayBtn.removeEventListener(MouseEvent.CLICK, howToPlayBtnClick);
hiScoresBtn.removeEventListener(MouseEvent.CLICK, hiScoresBtnClick);
}
public function endTween2():void{
var _local1:SoundTransform;
parentObject.mainBgm_channel = parentObject.mainBgm.play(0, int.MAX_VALUE);
_local1 = parentObject.mainBgm_channel.soundTransform;
_local1.volume = 0.5;
parentObject.mainBgm_channel.soundTransform = _local1;
}
}
}//package koi2_game_fla
Section 144
//TITLE_51 (koi2_game_fla.TITLE_51)
package koi2_game_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class TITLE_51 extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public function TITLE_51(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
this.hitArea = hitMc;
this.addEventListener(MouseEvent.MOUSE_OVER, thisOver);
this.addEventListener(MouseEvent.MOUSE_OUT, thisOut);
}
public function thisOver(_arg1:MouseEvent):void{
gotoAndStop("2");
parentObject.handMouseMc.gotoAndStop("2");
}
public function thisOut(_arg1:MouseEvent):void{
gotoAndStop("1");
parentObject.handMouseMc.gotoAndStop("1");
}
}
}//package koi2_game_fla
Section 145
//AngelMc (AngelMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class AngelMc extends MovieClip {
public var shot:Boolean;
public var haaBgm:HaaBgm;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public var moveMc3:MovieClip;
public var moveMc2:MovieClip;
public var thisTimer2:Timer;
public function AngelMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer2(_arg1:TimerEvent){
shot = true;
}
public function ThisTimer(_arg1:TimerEvent){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
haaBgm = new HaaBgm();
haaBgm.play();
moveMc = parentObject.parentObject.backMc;
Tweener.addTween(moveMc, {y:600, delay:0.1, time:1});
moveMc2 = parentObject.parentObject.yukaMc;
Tweener.addTween(moveMc2, {y:600, delay:0.1, time:1});
moveMc3 = parentObject.parentObject.heartItemMc;
Tweener.addTween(moveMc3, {y:(parentObject.parentObject.heartItemMc.y + 600), delay:0.1, time:1});
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
shot = false;
thisTimer2 = new Timer(9500);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
haaBgm.play();
moveMc = parentObject.parentObject.backMc;
Tweener.addTween(moveMc, {y:0, time:1});
moveMc2 = parentObject.parentObject.yukaMc;
Tweener.addTween(moveMc2, {y:0, time:1});
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:AngelShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new AngelShotMc();
_local5.x = -72;
_local5.y = (Math.ceil((Math.random() * 30)) * 10);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 146
//AngelShotMc (AngelShotMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class AngelShotMc extends MovieClip {
public var hit3:Boolean;
public var fadeMc:MovieClip;
public var thisTimer:Timer;
public var hitMc:MovieClip;
public var parentObject:Object;
public var kirakiraBgm_channel:SoundChannel;
public var moveX:Number;
public var trans:SoundTransform;
public var kirakiraBgm:KirakiraBgm;
public var rate:Number;
public function AngelShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function followMc(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
var _local4:Number;
var _local5:Number;
if (x > 100){
_local2 = new Point((parentObject.youkoMc.hitMc2.x + 10), (parentObject.youkoMc.hitMc2.y + 10));
_local3 = parentObject.youkoMc.localToGlobal(_local2);
_local4 = ((_local3.y - y) - 12);
_local5 = (_local4 * rate);
y = (y + _local5);
rate = (rate + 0.025);
};
}
public function ThisTimer(_arg1:TimerEvent){
var _local2:KirakiraMc;
var _local3:Point;
var _local4:Point;
_local2 = new KirakiraMc();
_local3 = new Point(x, y);
_local4 = stage.localToGlobal(_local3);
_local2.x = _local4.x;
_local2.y = ((_local4.y + (Math.floor((Math.random() * 21)) * 4)) - 40);
parentObject.addChild(_local2);
parentObject.setChildIndex(_local2, parentObject.getChildIndex(parentObject.yukaMc));
}
function frame1(){
stop();
parentObject = Object(parent);
fadeMc = this;
TransitionManager.start(fadeMc, {type:Fade, direction:Transition.IN, duration:0.7, easing:None.easeNone});
rate = 0.1;
this.addEventListener(Event.ENTER_FRAME, followMc);
moveX = 2;
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
kirakiraBgm = new KirakiraBgm();
kirakiraBgm_channel = kirakiraBgm.play(0, 1);
trans = kirakiraBgm_channel.soundTransform;
trans.volume = 0.3;
kirakiraBgm_channel.soundTransform = trans;
thisTimer = new Timer(50);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
moveX = (moveX + 1);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y + 12), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
}
}//package
Section 147
//AoitoriMc (AoitoriMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class AoitoriMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public function AoitoriMc(){
addFrameScript(0, frame1, 2, frame3);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("5");
}
public function endTween():void{
gotoAndStop("2");
}
function frame3(){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = parentObject.parentObject.satoshiMc;
Tweener.addTween(moveMc, {y:282, delay:0.1, time:0.5, onComplete:endTween});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 148
//AoitoriShotMc (AoitoriShotMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class AoitoriShotMc extends MovieClip {
public var hit3:Boolean;
public var shot:Boolean;
public var basabasaBgm:BasabasaBgm;
public var moveMc:MovieClip;
public var basabasaBgm_channel:SoundChannel;
public var thisTimer:Timer;
public var timing:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var trans:SoundTransform;
public var rate:Number;
public function AoitoriShotMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function followMc(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (parentObject.mouseX - x);
_local3 = (parentObject.mouseY - y);
_local4 = (_local2 * rate);
_local5 = (_local3 * rate);
x = (x + _local4);
y = (y + _local5);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
var _local1:BasabasaBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new BasabasaBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
rate = 0.15;
this.addEventListener(Event.ENTER_FRAME, followMc);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame3(){
hit3 = false;
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame4(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
basabasaBgm = new BasabasaBgm();
basabasaBgm_channel = basabasaBgm.play(0, 1);
trans = basabasaBgm_channel.soundTransform;
trans.volume = 1;
basabasaBgm_channel.soundTransform = trans;
Tweener.addTween(moveMc, {x:(900 + width), y:18, delay:0.1, time:2, onComplete:endTween2});
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint(x, y, true);
if (hit3 == false){
if (_local2 == true){
parentObject.youkoMc.hitShot();
hit3 = true;
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
}
}//package
Section 149
//BainBgm (BainBgm)
package {
import flash.media.*;
public dynamic class BainBgm extends Sound {
}
}//package
Section 150
//BasabasaBgm (BasabasaBgm)
package {
import flash.media.*;
public dynamic class BasabasaBgm extends Sound {
}
}//package
Section 151
//BatibatiBgm (BatibatiBgm)
package {
import flash.media.*;
public dynamic class BatibatiBgm extends Sound {
}
}//package
Section 152
//BatMc (BatMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class BatMc extends MovieClip {
public var parentObject:Object;
public var moveX:Number;
public var moveY:Number;
public function BatMc(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
moveX = -((Math.floor((Math.random() * 10)) - 2));
moveY = -8;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
y = (y + moveY);
moveY = (moveY - 1);
if (y < -(width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 153
//BatMc2 (BatMc2)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class BatMc2 extends MovieClip {
public var parentObject:Object;
public var moveX:Number;
public var moveY:Number;
public function BatMc2(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
moveX = (Math.floor((Math.random() * 10)) - 2);
moveY = -8;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
y = (y + moveY);
moveY = (moveY - 1);
if (y < -(width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 154
//BattleBgm (BattleBgm)
package {
import flash.media.*;
public dynamic class BattleBgm extends Sound {
}
}//package
Section 155
//BattleBgm2 (BattleBgm2)
package {
import flash.media.*;
public dynamic class BattleBgm2 extends Sound {
}
}//package
Section 156
//BazookaMc (BazookaMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class BazookaMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var i:Number;
public var timing:Number;
public var parentObject:Object;
public var thisTimer2:Timer;
public function BazookaMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:ParachuteMc;
var _local3:ParachuteMc;
if (i == 0){
_local2 = new ParachuteMc();
_local2.x = (Math.ceil((Math.random() * 266)) + 318);
_local2.y = 0;
parentObject.parentObject.addChild(_local2);
i++;
} else {
_local3 = new ParachuteMc();
_local3.x = (Math.ceil((Math.random() * 266)) + 52);
_local3.y = 0;
parentObject.parentObject.addChild(_local3);
i--;
};
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
i = 0;
thisTimer2 = new Timer(1000);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:BazookaShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new BazookaShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x + 2);
_local5.y = (parentObject.parentObject.satoshiMc.y + 24);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 6){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 157
//BazookaShotMc (BazookaShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class BazookaShotMc extends MovieClip {
public var hit3:Boolean;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function BazookaShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 8;
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
root.addEventListener(MouseEvent.MOUSE_MOVE, thisMove);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
moveX = (moveX + 2);
if ((((x > (750 + width))) || ((y > (500 + width))))){
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisMove(_arg1:MouseEvent):void{
if (x < 358){
y = (parentObject.satoshiMc.y + 24);
};
_arg1.updateAfterEvent();
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 2);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.score = (parentObject.score + 1);
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
}
}//package
Section 158
//BeerMc (BeerMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class BeerMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function BeerMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 159
//BikeMc (BikeMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class BikeMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public var thisTimer2:Timer;
public function BikeMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:KemuriMc;
_local2 = new KemuriMc();
_local2.x = (parentObject.parentObject.satoshiMc.x - 160);
_local2.y = (parentObject.parentObject.satoshiMc.y + 46);
parentObject.parentObject.addChild(_local2);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
thisTimer2 = new Timer(1000);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:BikeShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new BikeShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 50);
_local5.y = (parentObject.parentObject.satoshiMc.y - 88);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 3){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 160
//BikeShotMc (BikeShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class BikeShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function BikeShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 8;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 2);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 161
//BoBgm (BoBgm)
package {
import flash.media.*;
public dynamic class BoBgm extends Sound {
}
}//package
Section 162
//CandleMc (CandleMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class CandleMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function CandleMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 163
//ChekeraBgm (ChekeraBgm)
package {
import flash.media.*;
public dynamic class ChekeraBgm extends Sound {
}
}//package
Section 164
//CocktailMc (CocktailMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class CocktailMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function CocktailMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 165
//ComeOnBgm (ComeOnBgm)
package {
import flash.media.*;
public dynamic class ComeOnBgm extends Sound {
}
}//package
Section 166
//CompBgm (CompBgm)
package {
import flash.media.*;
public dynamic class CompBgm extends Sound {
}
}//package
Section 167
//CowboyMc (CowboyMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class CowboyMc extends MovieClip {
public var shot:Boolean;
public var konoBgm_channel:SoundChannel;
public var thisTimer:Timer;
public var konoBgm:KonoBgm;
public var timing:Number;
public var parentObject:Object;
public var trans:SoundTransform;
public var satoshiMc:MovieClip;
public var thisTimer2:Timer;
public var cowboyShotMc:CowboyShotMc;
public function CowboyMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer2(_arg1:TimerEvent){
shot2();
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
satoshiMc.gotoAndStop("3");
konoBgm = new KonoBgm();
konoBgm_channel = konoBgm.play(0, 1);
trans = konoBgm_channel.soundTransform;
trans.volume = 0.5;
konoBgm_channel.soundTransform = trans;
cowboyShotMc = new CowboyShotMc();
cowboyShotMc.x = (parentObject.parentObject.satoshiMc.x + 8);
cowboyShotMc.y = (parentObject.parentObject.satoshiMc.y + 42);
parentObject.parentObject.addChild(cowboyShotMc);
parentObject.parentObject.setChildIndex(cowboyShotMc, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
thisTimer2 = new Timer(50, 2);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function shot2():void{
var _local1:NoBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
var _local4:CowboyShotMc;
satoshiMc.gotoAndStop("3");
_local1 = new NoBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
_local4 = new CowboyShotMc();
_local4.x = (parentObject.parentObject.satoshiMc.x + 8);
_local4.y = (parentObject.parentObject.satoshiMc.y + 42);
parentObject.parentObject.addChild(_local4);
parentObject.parentObject.setChildIndex(_local4, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
if (shot == false){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 10){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
satoshiMc.gotoAndStop("1");
gotoAndStop("2");
};
}
}
}//package
Section 168
//CowboyShotMc (CowboyShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class CowboyShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function CowboyShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 12;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), y, true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 169
//DameBgm (DameBgm)
package {
import flash.media.*;
public dynamic class DameBgm extends Sound {
}
}//package
Section 170
//DeluxeMc (DeluxeMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DeluxeMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function DeluxeMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:DeluxeShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new DeluxeShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x + 4);
_local5.y = (parentObject.parentObject.satoshiMc.y - 22);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 2));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 5){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 171
//DeluxeShotMc (DeluxeShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DeluxeShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function DeluxeShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 4;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.hitArea = new Sprite();
kakouX = -3;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 2);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 14), true);
if (_local2 == true){
parentObject.score = (parentObject.score + 1);
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 172
//DevilMc (DevilMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DevilMc extends MovieClip {
public var shot:Boolean;
public var haaBgm:HaaBgm;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public var moveMc3:MovieClip;
public var moveMc2:MovieClip;
public var thisTimer2:Timer;
public function DevilMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer2(_arg1:TimerEvent){
shot = true;
}
public function ThisTimer(_arg1:TimerEvent){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
haaBgm = new HaaBgm();
haaBgm.play();
moveMc = parentObject.parentObject.backMc;
Tweener.addTween(moveMc, {y:-600, delay:0.1, time:1});
moveMc2 = parentObject.parentObject.yukaMc;
Tweener.addTween(moveMc2, {y:-600, delay:0.1, time:1});
moveMc3 = parentObject.parentObject.heartItemMc;
Tweener.addTween(moveMc3, {y:(parentObject.parentObject.heartItemMc.y - 600), delay:0.1, time:1});
parentObject.parentObject.yukaMc.fireBallMc.bgm = true;
parentObject.parentObject.yukaMc.fireBallMc2.bgm = true;
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
shot = false;
thisTimer2 = new Timer(10300);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
haaBgm.play();
moveMc = parentObject.parentObject.backMc;
Tweener.addTween(moveMc, {y:0, time:1});
moveMc2 = parentObject.parentObject.yukaMc;
Tweener.addTween(moveMc2, {y:0, time:1});
parentObject.parentObject.yukaMc.fireBallMc.bgm = false;
parentObject.parentObject.yukaMc.fireBallMc2.bgm = false;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:DevilShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new DevilShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x + 66);
_local5.y = (parentObject.parentObject.satoshiMc.y + 12);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc) + 1));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 5){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 173
//DevilShotMc (DevilShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DevilShotMc extends MovieClip {
public var hit3:Boolean;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public var rate:Number;
public function DevilShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function followMc(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
var _local4:Number;
var _local5:Number;
_local2 = new Point((parentObject.youkoMc.hitMc2.x + 10), (parentObject.youkoMc.hitMc2.y + 10));
_local3 = parentObject.youkoMc.localToGlobal(_local2);
_local4 = ((_local3.y - y) + 8);
_local5 = (_local4 * rate);
y = (y + _local5);
rate = (rate + 0.017);
if (rate >= 0.204){
this.removeEventListener(Event.ENTER_FRAME, followMc);
};
}
function frame1(){
stop();
parentObject = Object(parent);
rate = 0.1;
this.addEventListener(Event.ENTER_FRAME, followMc);
moveX = 18;
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
moveX = (moveX + 1);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + 22), (y - 8), true);
if (_local2 == true){
parentObject.score = (parentObject.score + 1);
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
}
}//package
Section 174
//DogonBgm (DogonBgm)
package {
import flash.media.*;
public dynamic class DogonBgm extends Sound {
}
}//package
Section 175
//DorodoroBgm (DorodoroBgm)
package {
import flash.media.*;
public dynamic class DorodoroBgm extends Sound {
}
}//package
Section 176
//DraculaCurtainMc (DraculaCurtainMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DraculaCurtainMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var saBgm_channel:SoundChannel;
public var parentObject:Object;
public var saBgm:SaBgm;
public var trans:SoundTransform;
public function DraculaCurtainMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
var _local1:SaBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new SaBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
Tweener.addTween(moveMc, {x:108, delay:0.1, time:0.5});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
saBgm = new SaBgm();
saBgm_channel = saBgm.play(0, 1);
trans = saBgm_channel.soundTransform;
trans.volume = 1;
saBgm_channel.soundTransform = trans;
Tweener.addTween(moveMc, {x:-20, time:0.5, onComplete:endTween2});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
}
}//package
Section 177
//DraculaCurtainMc2 (DraculaCurtainMc2)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DraculaCurtainMc2 extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public function DraculaCurtainMc2(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {x:528, delay:0.1, time:0.5});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
Tweener.addTween(moveMc, {x:(636 + 20), time:0.5, onComplete:endTween});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 178
//DraculaMc (DraculaMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DraculaMc extends MovieClip {
public var shot:Boolean;
public var batMc3:BatMc;
public var batMc4:BatMc;
public var batMc6:BatMc2;
public var batMc8:BatMc2;
public var batMc2:BatMc;
public var batMc5:BatMc;
public var batMc9:BatMc2;
public var batMc7:BatMc2;
public var basabasaBgm:BasabasaBgm;
public var thisTimer:Timer;
public var timing:Number;
public var targetPoint:Point;
public var parentObject:Object;
public var batMc:BatMc;
public var globalPoint:Point;
public var batMc10:BatMc2;
public function DraculaMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
basabasaBgm = new BasabasaBgm();
basabasaBgm.play();
targetPoint = new Point(parentObject.parentObject.satoshiMc.x, parentObject.parentObject.satoshiMc.y);
globalPoint = stage.localToGlobal(targetPoint);
batMc = new BatMc();
batMc.x = (globalPoint.x - 114);
batMc.y = (globalPoint.y - 40);
parentObject.parentObject.addChild(batMc);
batMc2 = new BatMc();
batMc2.x = (globalPoint.x - 126);
batMc2.y = (globalPoint.y + 8);
parentObject.parentObject.addChild(batMc2);
batMc3 = new BatMc();
batMc3.x = (globalPoint.x - 114);
batMc3.y = (globalPoint.y + 48);
parentObject.parentObject.addChild(batMc3);
batMc4 = new BatMc();
batMc4.x = (globalPoint.x - 130);
batMc4.y = (globalPoint.y + 92);
parentObject.parentObject.addChild(batMc4);
batMc5 = new BatMc();
batMc5.x = (globalPoint.x - 122);
batMc5.y = (globalPoint.y + 140);
parentObject.parentObject.addChild(batMc5);
batMc6 = new BatMc2();
batMc6.x = (globalPoint.x - 58);
batMc6.y = (globalPoint.y - 16);
parentObject.parentObject.addChild(batMc6);
batMc7 = new BatMc2();
batMc7.x = (globalPoint.x - 46);
batMc7.y = (globalPoint.y + 28);
parentObject.parentObject.addChild(batMc7);
batMc8 = new BatMc2();
batMc8.x = (globalPoint.x - 50);
batMc8.y = (globalPoint.y + 72);
parentObject.parentObject.addChild(batMc8);
batMc9 = new BatMc2();
batMc9.x = (globalPoint.x - 66);
batMc9.y = (globalPoint.y + 112);
parentObject.parentObject.addChild(batMc9);
batMc10 = new BatMc2();
batMc10.x = (globalPoint.x - 62);
batMc10.y = (globalPoint.y + 160);
parentObject.parentObject.addChild(batMc10);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:DraculaShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new DraculaShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 22);
_local5.y = (parentObject.parentObject.satoshiMc.y + 8);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 179
//DraculaShotMc (DraculaShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DraculaShotMc extends MovieClip {
public var hit3:Boolean;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public var moveY:Number;
public var rate:Number;
public function DraculaShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function followMc(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
var _local4:Number;
var _local5:Number;
_local2 = new Point((parentObject.youkoMc.hitMc2.x + 10), (parentObject.youkoMc.hitMc2.y + 10));
_local3 = parentObject.youkoMc.localToGlobal(_local2);
_local4 = ((_local3.y - y) + 8);
_local5 = (_local4 * rate);
y = (y + _local5);
rate = (rate + 0.03);
if (rate >= 0.21){
this.removeEventListener(Event.ENTER_FRAME, followMc);
};
}
function frame1(){
stop();
parentObject = Object(parent);
rate = 0.1;
this.addEventListener(Event.ENTER_FRAME, followMc);
moveX = 16;
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
moveY = -1;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
y = (y + moveY);
moveX = (moveX + 1);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > 258){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 2));
};
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + 22), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
}
}//package
Section 180
//DroidMc (DroidMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class DroidMc extends MovieClip {
public var hit3:Boolean;
public var shot:Boolean;
public var timing3:Number;
public var shotMc:DroidShotMc;
public var fadeMc:MovieClip;
public var thisTimer:Timer;
public var moveMc:MovieClip;
public var timing:Number;
public var timing2:Number;
public var parentObject:Object;
public var thuunBgm:ThuunBgm;
public var moveMc3:MovieClip;
public var moveMc2:MovieClip;
public function DroidMc(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function endTween3():void{
timing3++;
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
if (timing3 <= 6){
gotoAndStop("2");
};
}
public function endTween4():void{
var _local1:KonoBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new KonoBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
gotoAndStop("3");
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
var _local1:KonoBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new KonoBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
gotoAndStop("3");
}
function frame3(){
thuunBgm = new ThuunBgm();
thuunBgm.play();
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter3);
fadeMc = shotMc;
TransitionManager.start(fadeMc, {type:Squeeze, direction:Transition.IN, duration:0.3, easing:Strong.easeOut, dimension:1});
moveMc = shotMc;
Tweener.addTween(moveMc, {x:436, time:0.45, transition:"easeInCubic", onComplete:endTween2});
hit3 = false;
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame4(){
Tweener.pauseTweens(moveMc);
Tweener.pauseTweens(moveMc2);
Tweener.pauseTweens(moveMc3);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame2(){
moveMc3 = this;
Tweener.addTween(moveMc3, {delay:0.5, onComplete:endTween4});
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc2 = this;
Tweener.addTween(moveMc2, {delay:0.5, onComplete:endTween});
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
timing3 = 0;
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter3(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = shotMc;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.3});
timing2 = 0;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
_local2 = false;
_local2 = shotMc.hitMc.hitTestObject(parentObject.parentObject.youkoMc.hitMc);
_local3 = false;
_local3 = shotMc.hitMc.hitTestObject(parentObject.parentObject.youkoMc);
if (timing == 0){
if (_local2 == true){
parentObject.parentObject.score = (parentObject.parentObject.score + 1);
parentObject.parentObject.youkoMc.hitShot();
} else {
if (_local3 == true){
if (shotMc.x > 152){
_local4 = new DameBgm();
_local4.play();
};
};
};
};
timing++;
if (timing == 4){
timing = 0;
};
}
public function endTween2():void{
TransitionManager.start(fadeMc, {type:Squeeze, direction:Transition.OUT, duration:1, easing:Strong.easeOut, dimension:1});
Tweener.addTween(moveMc, {delay:0.5, onComplete:endTween3});
}
}
}//package
Section 181
//DroidShotMc (DroidShotMc)
package {
import flash.display.*;
public dynamic class DroidShotMc extends MovieClip {
public var hitMc:MovieClip;
}
}//package
Section 182
//FlameBlueMc (FlameBlueMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class FlameBlueMc extends MovieClip {
public var fadeMc:MovieClip;
public var boBgm:BoBgm;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var timing2:Number;
public var parentObject:Object;
public var trans:SoundTransform;
public var boBgm_channel:SoundChannel;
public function FlameBlueMc(){
addFrameScript(0, frame1, 1, frame2, 3, frame4);
}
public function endTween3():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
gotoAndStop("2");
}
function frame4(){
TransitionManager.start(fadeMc, {type:Squeeze, direction:Transition.OUT, duration:0.2, easing:Strong.easeOut, dimension:1});
Tweener.addTween(moveMc, {delay:0.2, onComplete:endTween3});
}
function frame2(){
boBgm = new BoBgm();
boBgm_channel = boBgm.play(0, 1);
trans = boBgm_channel.soundTransform;
trans.volume = 1;
boBgm_channel.soundTransform = trans;
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
fadeMc = this;
TransitionManager.start(fadeMc, {type:Squeeze, direction:Transition.IN, duration:0.2, easing:Strong.easeOut, dimension:1});
Tweener.addTween(moveMc, {delay:0.2, onComplete:endTween2});
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
public function endTween2():void{
gotoAndStop("3");
}
}
}//package
Section 183
//FlashMc (FlashMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class FlashMc extends MovieClip {
public var fadeMc:MovieClip;
public var moveMc:MovieClip;
public var parentObject:Object;
public function FlashMc(){
addFrameScript(0, frame1);
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
parentObject = Object(parent);
fadeMc = this;
TransitionManager.start(fadeMc, {type:Photo, direction:Transition.OUT, duration:0.1, easing:None.easeNone});
moveMc = this;
Tweener.addTween(moveMc, {delay:0.3, onComplete:endTween});
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 184
//FoxMc (FoxMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class FoxMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function FoxMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:FoxShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new FoxShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 22);
_local5.y = (parentObject.parentObject.satoshiMc.y + 4);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 185
//FoxShotMc (FoxShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class FoxShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var i:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public var moveY:Number;
public function FoxShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 7;
moveY = -16;
i = y;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
moveY = (moveY + 2);
x = (x + moveX);
y = (y + moveY);
if (y > i){
y = i;
moveY = (moveY * -1);
};
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), y, true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 186
//GenshiMc (GenshiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class GenshiMc extends MovieClip {
public var shot:Boolean;
public var armMc:MovieClip;
public var fadeMc:MovieClip;
public var thisTimer:Timer;
public var moveMc:MovieClip;
public var parentObject:Object;
public var moveMc2:MovieClip;
public function GenshiMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
var _local1:KonoBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
var _local4:GenshiShotMc;
armMc.gotoAndStop("2");
_local1 = new KonoBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
_local4 = new GenshiShotMc();
_local4.x = (parentObject.parentObject.satoshiMc.x - 38.1);
_local4.y = (parentObject.parentObject.satoshiMc.y - 21.4);
parentObject.parentObject.addChild(_local4);
parentObject.parentObject.setChildIndex(_local4, parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc));
_local4.rotation = (_local4.rotation - 45);
}
function frame3(){
fadeMc = armMc;
TransitionManager.start(fadeMc, {type:Rotate, direction:Transition.IN, duration:0.28, easing:None.easeNone});
moveMc = this;
Tweener.addTween(moveMc, {delay:0.245, onComplete:endTween});
moveMc2 = this;
Tweener.addTween(moveMc2, {delay:0.28, onComplete:endTween2});
}
function frame4(){
Tweener.pauseTweens(moveMc);
Tweener.pauseTweens(moveMc2);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
if (shot == false){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function endTween2():void{
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
armMc.gotoAndStop("1");
gotoAndStop("2");
}
}
}//package
Section 187
//GenshiShotMc (GenshiShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class GenshiShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var suby:Number;
public var subx:Number;
public var g:Number;
public var t:Number;
public var targetPoint:Point;
public var hitMc:MovieClip;
public var dy:Number;
public var dt:Number;
public var parentObject:Object;
public var dx:Number;
public var globalPoint:Point;
public function GenshiShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function followMc(_arg1:Event):void{
dy = (dy + (g * dt));
x = (x + dx);
y = (y + dy);
rotation = (rotation + 45);
}
function frame1(){
stop();
parentObject = Object(parent);
dx = 10;
g = 10;
dt = 0.2;
targetPoint = new Point((parentObject.youkoMc.x + 8), (parentObject.youkoMc.y + 20));
globalPoint = stage.localToGlobal(targetPoint);
subx = (globalPoint.x - x);
suby = (globalPoint.y - y);
t = (subx / dx);
dy = ((suby - ((((0.5 * t) * t) * g) * dt)) / t);
this.addEventListener(Event.ENTER_FRAME, followMc);
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
parentObject.setChildIndex(this, parentObject.getChildIndex(parentObject.yukaMc));
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 45);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint(x, y, true);
if (_local2 == true){
parentObject.score = (parentObject.score + 1);
parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, followMc);
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 188
//GetItemBgm (GetItemBgm)
package {
import flash.media.*;
public dynamic class GetItemBgm extends Sound {
}
}//package
Section 189
//GokuuMc (GokuuMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class GokuuMc extends MovieClip {
public var hit3:Boolean;
public var shot:Boolean;
public var shotMc:MovieClip;
public var thisTimer:Timer;
public var moveMc:MovieClip;
public var parentObject:Object;
public var moveMc2:MovieClip;
public var rate:Number;
public function GokuuMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function endTween3():void{
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
}
public function endTween4():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function followMc(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (parentObject.mouseX - x);
_local3 = (parentObject.mouseY - y);
_local4 = (_local2 * rate);
_local5 = (_local3 * rate);
x = (x + _local4);
y = (y + _local5);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
var _local1:DogonBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new DogonBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1;
_local2.soundTransform = _local3;
}
function frame3(){
moveMc = shotMc;
Tweener.addTween(moveMc, {x:156, time:0.1, transition:"easeOutBounce", onComplete:endTween2});
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
moveMc2 = this;
Tweener.addTween(moveMc2, {delay:0.1, onComplete:endTween});
rate = 0.1;
this.addEventListener(Event.ENTER_FRAME, followMc);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
this.stopDrag();
this.removeEventListener(Event.ENTER_FRAME, followMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
Tweener.addTween(moveMc2, {x:parentObject.satoshiMc.x, y:parentObject.satoshiMc.y, time:0.5, onComplete:endTween4});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
_local2 = false;
_local2 = shotMc.hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + shotMc.x), (y - 8), true);
if (_local2 == true){
parentObject.score = (parentObject.score + 2);
parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
public function endTween2():void{
Tweener.addTween(moveMc, {x:64, delay:0.2, time:0.1, onComplete:endTween3});
}
}
}//package
Section 190
//GonBgm (GonBgm)
package {
import flash.media.*;
public dynamic class GonBgm extends Sound {
}
}//package
Section 191
//GorogoroBgm (GorogoroBgm)
package {
import flash.media.*;
public dynamic class GorogoroBgm extends Sound {
}
}//package
Section 192
//HaaBgm (HaaBgm)
package {
import flash.media.*;
public dynamic class HaaBgm extends Sound {
}
}//package
Section 193
//HandMouseMc (HandMouseMc)
package {
import flash.display.*;
import flash.media.*;
public dynamic class HandMouseMc extends MovieClip {
public var poBgm_channel:SoundChannel;
public var poBgm:PoBgm;
public var trans:SoundTransform;
public function HandMouseMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.hitArea = new Sprite();
}
function frame2(){
poBgm = new PoBgm();
poBgm_channel = poBgm.play(0, 1);
trans = poBgm_channel.soundTransform;
trans.volume = 0.5;
poBgm_channel.soundTransform = trans;
}
}
}//package
Section 194
//HandShotMc (HandShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HandShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function HandShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 4;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:Boolean;
var _local5:DameBgm;
var _local6:KoitsuBgm;
var _local7:SoundChannel;
var _local8:SoundTransform;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
_local4 = false;
_local4 = hitMc.hitTestObject(parentObject.heartItemMc.itemMc.hitMc);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local5 = new DameBgm();
_local5.play();
nextFrame();
} else {
if (_local4 == true){
_local6 = new KoitsuBgm();
_local7 = _local6.play(0, 1);
_local8 = _local7.soundTransform;
_local8.volume = 0.5;
_local7.soundTransform = _local8;
parentObject.heartItemMc.itemMc.gotoAndStop("3");
parentObject.satoshiMc.gotoAndStop("4");
nextFrame();
};
};
};
}
}
}//package
Section 195
//HatumeiMc (HatumeiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HatumeiMc extends MovieClip {
public var hit3:Boolean;
public var shotMc:MovieClip;
public var thisTimer:Timer;
public var moveMc:MovieClip;
public var timing:Number;
public var parentObject:Object;
public var thisTimer3:Timer;
public var thisTimer2:Timer;
public function HatumeiMc(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function ThisTimer3(_arg1:TimerEvent){
var _local2:WinBgm;
_local2 = new WinBgm();
_local2.play();
thisTimer3.removeEventListener(TimerEvent.TIMER, ThisTimer3);
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:WinBgm;
_local2 = new WinBgm();
_local2.play();
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
gotoAndStop("3");
}
function frame3(){
thisTimer3 = new Timer(200);
thisTimer3.addEventListener(TimerEvent.TIMER, ThisTimer3);
thisTimer3.start();
Tweener.addTween(moveMc, {x:-4, delay:0.3, time:0.6, onComplete:endTween2});
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
timing = 0;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
Tweener.pauseTweens(moveMc);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer3.removeEventListener(TimerEvent.TIMER, ThisTimer3);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame2(){
stop();
parentObject = Object(parent);
thisTimer2 = new Timer(900);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
moveMc = shotMc;
Tweener.addTween(moveMc, {x:156, delay:1, time:0.6, transition:"easeOutBounce", onComplete:endTween});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Point;
var _local4:Point;
var _local5:Boolean;
var _local6:DameBgm;
_local2 = false;
_local2 = shotMc.hitMc.hitTestObject(parentObject.parentObject.youkoMc.hitMc);
_local3 = new Point(parentObject.parentObject.satoshiMc.x, parentObject.parentObject.satoshiMc.y);
_local4 = stage.localToGlobal(_local3);
_local5 = parentObject.parentObject.youkoMc.hitTestPoint((_local4.x + shotMc.x), ((_local4.y + shotMc.y) - 8), true);
if (_local2 == true){
parentObject.parentObject.score = (parentObject.parentObject.score + 2);
parentObject.parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
} else {
if (_local5 == true){
if (hit3 == false){
_local6 = new DameBgm();
_local6.play();
hit3 = true;
};
};
};
}
public function endTween2():void{
timing++;
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
if (timing < 4){
gotoAndStop("2");
};
}
}
}//package
Section 196
//HatumeiShotMc (HatumeiShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HatumeiShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function HatumeiShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 4;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
root.addEventListener(MouseEvent.MOUSE_MOVE, thisMove);
}
function frame2(){
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
parentObject.setChildIndex(this, parentObject.getChildIndex(parentObject.yukaMc));
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisMove(_arg1:MouseEvent):void{
if (x < 346){
y = (parentObject.satoshiMc.y + 20);
};
_arg1.updateAfterEvent();
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + 22), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 197
//HeartItemMc (HeartItemMc)
package {
import flash.display.*;
import flash.events.*;
public dynamic class HeartItemMc extends MovieClip {
public var itemMc:MovieClip;
public var parentObject:Object;
public var moveY:Number;
public function HeartItemMc(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
moveY = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
moveY = (moveY + 2);
y = (y + moveY);
if (y > 396){
y = 396;
gotoAndStop("2");
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package
Section 198
//HeikiMc (HeikiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HeikiMc extends MovieClip {
public var shot:Boolean;
public var winBgm:WinBgm;
public var moveMc:MovieClip;
public var heikihouMc:MovieClip;
public var kaisu:Number;
public var timing:Number;
public var parentObject:Object;
public var thisTimer:Timer;
public var satoshiMc:MovieClip;
public var moveMc2:MovieClip;
public function HeikiMc(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5);
}
public function endTween3():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("5");
}
public function endTween():void{
winBgm.play();
satoshiMc.gotoAndStop("2");
Tweener.addTween(moveMc2, {y:-278, time:0.5, transition:"easeOutBounce", onComplete:endTween2});
}
function frame1(){
stop();
parentObject = Object(parent);
winBgm = new WinBgm();
winBgm.play();
moveMc = parentObject.parentObject.satoshiMc;
Tweener.addTween(moveMc, {y:282, delay:0.1, time:0.5, onComplete:endTween});
moveMc2 = satoshiMc;
shot = false;
thisTimer = new Timer(10000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
kaisu = 0;
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
}
function frame5(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
satoshiMc.gotoAndStop("4");
winBgm.play();
Tweener.addTween(moveMc2, {y:-66, time:0.5, transition:"easeOutBounce", onComplete:endTween3});
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:HeikiShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new HeikiShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 90);
_local5.y = ((parentObject.parentObject.satoshiMc.y - 60) + (48 * kaisu));
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc));
heikihouMc.y = (-78 + (48 * kaisu));
kaisu++;
if (kaisu == 4){
kaisu = 0;
};
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
satoshiMc.gotoAndStop("3");
gotoAndStop("4");
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 5){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
satoshiMc.gotoAndStop("2");
gotoAndStop("3");
};
}
public function endTween2():void{
gotoAndStop("2");
}
}
}//package
Section 199
//HeikiShotMc (HeikiShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HeikiShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var rate2:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public var rate:Number;
public function HeikiShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function followMc(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local2 = new Point((parentObject.youkoMc.hitMc2.x + 10), (parentObject.youkoMc.hitMc2.y + 10));
_local3 = parentObject.youkoMc.localToGlobal(_local2);
_local4 = ((_local3.x - x) - (width / 2));
_local5 = ((_local3.y - y) + 8);
_local6 = (_local4 * rate);
_local7 = (_local5 * rate2);
x = (x + _local6);
if (x > 226){
y = (y + _local7);
};
rate = (rate + 0.02);
if (rate >= 0.3){
this.removeEventListener(Event.ENTER_FRAME, followMc);
};
}
function frame1(){
stop();
parentObject = Object(parent);
rate = 0.1;
rate2 = 0.3;
this.addEventListener(Event.ENTER_FRAME, followMc);
moveX = 4;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
parentObject.setChildIndex(this, parentObject.getChildIndex(parentObject.yukaMc));
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 200
//HowanBgm (HowanBgm)
package {
import flash.media.*;
public dynamic class HowanBgm extends Sound {
}
}//package
Section 201
//HyakuretsuArmMc (HyakuretsuArmMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HyakuretsuArmMc extends MovieClip {
public var thisTimer:Timer;
public var parentObject:Object;
public function HyakuretsuArmMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(60);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 202
//HyakuretsuMc (HyakuretsuMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HyakuretsuMc extends MovieClip {
public var shot:Boolean;
public var konoBgm_channel:SoundChannel;
public var thisTimer:Timer;
public var konoBgm:KonoBgm;
public var parentObject:Object;
public var trans:SoundTransform;
public var thisTimer2:Timer;
public function HyakuretsuMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:NoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:HyakuretsuArmMc;
var _local6:HyakuretsuShotMc;
if (shot == false){
_local2 = new NoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new HyakuretsuArmMc();
_local5.x = ((x - 56) + (Math.floor((Math.random() * 2)) * 4));
_local5.y = ((y + 6) + (Math.floor((Math.random() * 12)) * 4));
addChild(_local5);
_local6 = new HyakuretsuShotMc();
_local6.x = ((parentObject.parentObject.satoshiMc.x + _local5.x) + 74);
_local6.y = ((parentObject.parentObject.satoshiMc.y + _local5.y) + 10);
parentObject.parentObject.addChild(_local6);
};
}
public function ThisTimer(_arg1:TimerEvent){
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
shot = true;
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
konoBgm = new KonoBgm();
konoBgm_channel = konoBgm.play(0, 1);
trans = konoBgm_channel.soundTransform;
trans.volume = 0.5;
konoBgm_channel.soundTransform = trans;
thisTimer2 = new Timer(120);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 203
//HyakuretsuShotMc (HyakuretsuShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class HyakuretsuShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function HyakuretsuShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 16;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + 22), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 204
//IshiMc (IshiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class IshiMc extends MovieClip {
public var moveMc:MovieClip;
public var timing:Number;
public var parentObject:Object;
public var moveX:Number;
public var dy:Number;
public function IshiMc(){
addFrameScript(0, frame1);
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
moveX = 10;
dy = -16;
timing = 0;
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:GonBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
x = (x + moveX);
dy = (dy + 2);
y = (y + dy);
rotation = (rotation + 30);
if (y > 406){
timing++;
if (timing < 3){
_local2 = new GonBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
};
y = 406;
dy = (dy * -0.4);
};
if (x > (750 + width)){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package
Section 205
//JetMc (JetMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class JetMc extends MovieClip {
public var hit3:Boolean;
public var shot:Boolean;
public var winBgm:WinBgm;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var timing:Number;
public var batibatiBgm_channel:SoundChannel;
public var hitMc:MovieClip;
public var parentObject:Object;
public var trans:SoundTransform;
public var rate:Number;
public var batibatiBgm:BatibatiBgm;
public function JetMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function followMc(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (parentObject.mouseX - x);
_local3 = (parentObject.mouseY - y);
_local4 = (_local2 * rate);
_local5 = (_local3 * rate);
x = (x + _local4);
y = (y + _local5);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
var _local1:WinBgm;
_local1 = new WinBgm();
_local1.play();
}
function frame3(){
batibatiBgm = new BatibatiBgm();
batibatiBgm_channel = batibatiBgm.play(0, 1);
trans = batibatiBgm_channel.soundTransform;
trans.volume = 0.8;
batibatiBgm_channel.soundTransform = trans;
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter3);
}
function frame1(){
stop();
parentObject = Object(parent);
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
rate = 0.2;
this.addEventListener(Event.ENTER_FRAME, followMc);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
this.stopDrag();
this.removeEventListener(Event.ENTER_FRAME, followMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
winBgm = new WinBgm();
winBgm.play();
Tweener.addTween(moveMc, {x:parentObject.satoshiMc.x, y:parentObject.satoshiMc.y, time:0.5, onComplete:endTween2});
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter3(_arg1:Event):void{
var _local2:Boolean;
var _local3:Point;
var _local4:Point;
var _local5:Boolean;
var _local6:DameBgm;
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = new Point(x, y);
_local4 = stage.localToGlobal(_local3);
_local5 = parentObject.youkoMc.hitTestPoint((_local4.x + 76), (_local4.y + 12), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
} else {
if (_local5 == true){
if (hit3 == false){
_local6 = new DameBgm();
_local6.play();
hit3 = true;
};
};
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 7){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
gotoAndStop("2");
};
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
}
}//package
Section 206
//JetShotMc (JetShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class JetShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function JetShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 4;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + 22), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 207
//KaizokuMc (KaizokuMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class KaizokuMc extends MovieClip {
public var hit3:Boolean;
public var shot:Boolean;
public var shotMc:MovieClip;
public var thisTimer:Timer;
public var moveMc:MovieClip;
public var parentObject:Object;
public function KaizokuMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
Tweener.addTween(moveMc, {x:44, delay:0.2, time:0.2, onComplete:endTween2});
}
function frame3(){
moveMc = shotMc;
Tweener.addTween(moveMc, {x:156, time:0.2, transition:"easeOutBounce", onComplete:endTween});
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
Tweener.pauseTweens(moveMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Point;
var _local4:Point;
var _local5:Boolean;
var _local6:DameBgm;
_local2 = false;
_local2 = shotMc.hitMc.hitTestObject(parentObject.parentObject.youkoMc.hitMc);
_local3 = new Point(parentObject.parentObject.satoshiMc.x, parentObject.parentObject.satoshiMc.y);
_local4 = stage.localToGlobal(_local3);
_local5 = parentObject.parentObject.youkoMc.hitTestPoint((_local4.x + shotMc.x), ((_local4.y + shotMc.y) - 8), true);
if (_local2 == true){
parentObject.parentObject.score = (parentObject.parentObject.score + 1);
parentObject.parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
} else {
if (_local5 == true){
if (hit3 == false){
_local6 = new DameBgm();
_local6.play();
hit3 = true;
};
};
};
}
public function endTween2():void{
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
}
}
}//package
Section 208
//KaminariFlashMc (KaminariFlashMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class KaminariFlashMc extends MovieClip {
public var pikaBgm:PikaBgm;
public var thisTimer:Timer;
public var timing2:Number;
public var parentObject:Object;
public var trans:SoundTransform;
public var pikaBgm_channel:SoundChannel;
public function KaminariFlashMc(){
addFrameScript(0, frame1, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame1(){
stop();
parentObject = Object(parent);
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
pikaBgm = new PikaBgm();
pikaBgm_channel = pikaBgm.play(0, 1);
trans = pikaBgm_channel.soundTransform;
trans.volume = 1;
pikaBgm_channel.soundTransform = trans;
thisTimer = new Timer(50, 3);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.3});
timing2 = 0;
};
}
}
}//package
Section 209
//KaminarigumoMc (KaminarigumoMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class KaminarigumoMc extends MovieClip {
public var shot:Boolean;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var kaminariFlashMc:KaminariFlashMc;
public var gorogoroBgm_channel:SoundChannel;
public var timing:Number;
public var parentObject:Object;
public var trans:SoundTransform;
public var gorogoroBgm:GorogoroBgm;
public var rate:Number;
public function KaminarigumoMc(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5);
}
public function endTween3():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("5");
}
public function followMc(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
_local2 = (parentObject.mouseX - x);
_local3 = (_local2 * rate);
x = (x + _local3);
}
public function endTween():void{
var _local1:GorogoroBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new GorogoroBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 2;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
Tweener.addTween(moveMc, {x:parentObject.mouseX, delay:0.1, time:0.5, transition:"easeOutBack", onComplete:endTween2});
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
kaminariFlashMc = new KaminariFlashMc();
kaminariFlashMc.x = 0;
kaminariFlashMc.y = 0;
parentObject.addChild(kaminariFlashMc);
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
rate = 0.2;
this.addEventListener(Event.ENTER_FRAME, followMc);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
}
function frame5(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gorogoroBgm = new GorogoroBgm();
gorogoroBgm_channel = gorogoroBgm.play(0, 1);
trans = gorogoroBgm_channel.soundTransform;
trans.volume = 2;
gorogoroBgm_channel.soundTransform = trans;
Tweener.addTween(moveMc, {x:(900 + width), delay:0.1, time:0.8, transition:"easeInBack", onComplete:endTween3});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:Point;
var _local6:Point;
var _local7:OniShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new Point(x, y);
_local6 = stage.localToGlobal(_local5);
_local7 = new OniShotMc();
_local7.x = (_local6.x + 18);
_local7.y = (_local6.y + 10);
parentObject.addChild(_local7);
parentObject.setChildIndex(_local7, (parentObject.getChildIndex(parentObject.yukaMc) + 2));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("4");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 7){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("3");
};
}
public function endTween2():void{
gotoAndStop("2");
}
}
}//package
Section 210
//KanbanMc (KanbanMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class KanbanMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public function KanbanMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
var _local1:BainBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new BainBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1.2;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
Tweener.addTween(moveMc, {x:92, delay:0.1, time:0.5, transition:"easeOutBounce"});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
Tweener.addTween(moveMc, {x:-20, time:0.5, onComplete:endTween2});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
}
}//package
Section 211
//KanBgm (KanBgm)
package {
import flash.media.*;
public dynamic class KanBgm extends Sound {
}
}//package
Section 212
//KankankanBgm (KankankanBgm)
package {
import flash.media.*;
public dynamic class KankankanBgm extends Sound {
}
}//package
Section 213
//KemuriMc (KemuriMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class KemuriMc extends MovieClip {
public var poBgm_channel:SoundChannel;
public var poBgm:PoBgm;
public var phase:Number;
public var parentObject:Object;
public var trans:SoundTransform;
public var moveY:Number;
public var springObj:SpringScale;
public var nowX:Number;
public var amp:Number;
public function KemuriMc(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
poBgm = new PoBgm();
poBgm_channel = poBgm.play(0, 1);
trans = poBgm_channel.soundTransform;
trans.volume = 1;
poBgm_channel.soundTransform = trans;
springObj = new SpringScale(this);
springObj.springTo(1, 1);
moveY = 6;
amp = 30;
phase = 0;
nowX = x;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (nowX + (Math.sin(((phase * Math.PI) / 180)) * amp));
y = (y - moveY);
phase = (phase - 10);
nowX = (nowX - 2);
if (y < 0){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 214
//KirakiraBgm (KirakiraBgm)
package {
import flash.media.*;
public dynamic class KirakiraBgm extends Sound {
}
}//package
Section 215
//KirakiraMc (KirakiraMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class KirakiraMc extends MovieClip {
public var thisTimer:Timer;
public var parentObject:Object;
public function KirakiraMc(){
addFrameScript(0, frame1, 5, frame6);
}
public function ThisTimer(_arg1:TimerEvent):void{
nextFrame();
}
function frame6(){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(70, 5);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 216
//koi2scoreCGI (koi2scoreCGI)
package {
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
public class koi2scoreCGI extends EventDispatcher {
var cgi_url:String;
var cgiLoader:URLLoader;
public static const CGI_COMPLETE:String = "cgi_complete";
public function koi2scoreCGI(){
cgi_url = (("http://www.party-tencho.com/koi2/koi2score.cgi" + "?") + Math.floor((Math.random() * 1000)));
super();
}
public function query(_arg1:String, _arg2:int):void{
var _local3:URLRequest;
var _local4:URLVariables;
_local3 = new URLRequest(cgi_url);
_local3.method = URLRequestMethod.POST;
_local4 = new URLVariables();
System.useCodePage = true;
_local4.playername = escapeMultiByte(_arg1);
_local4.score = _arg2;
_local3.data = _local4;
_local4.urScore = _arg2;
_local4.urPlayername = _arg1;
_local3.data = _local4;
cgiLoader = new URLLoader();
cgiLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
cgiLoader.addEventListener(Event.COMPLETE, onCGIComplete);
cgiLoader.load(_local3);
}
function onCGIComplete(_arg1:Event):void{
dispatchEvent(new Event(CGI_COMPLETE));
}
}
}//package
Section 217
//KoitsuBgm (KoitsuBgm)
package {
import flash.media.*;
public dynamic class KoitsuBgm extends Sound {
}
}//package
Section 218
//KonBgm (KonBgm)
package {
import flash.media.*;
public dynamic class KonBgm extends Sound {
}
}//package
Section 219
//KonbouMc (KonbouMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class KonbouMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function KonbouMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 220
//KonoBgm (KonoBgm)
package {
import flash.media.*;
public dynamic class KonoBgm extends Sound {
}
}//package
Section 221
//KusaMc (KusaMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class KusaMc extends MovieClip {
public var thisTimer:Timer;
public var parentObject:Object;
public var moveX:Number;
public function KusaMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = -24;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
moveX = (moveX - 4);
if (x < -(width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
x = (x + moveX);
if (x <= -684){
x = 660;
};
}
}
}//package
Section 222
//LampCurtainMc (LampCurtainMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class LampCurtainMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var saBgm_channel:SoundChannel;
public var parentObject:Object;
public var saBgm:SaBgm;
public var trans:SoundTransform;
public function LampCurtainMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
var _local1:SaBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new SaBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.2, onComplete:endTween});
Tweener.addTween(moveMc, {x:180, delay:0.1, time:0.5});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
saBgm = new SaBgm();
saBgm_channel = saBgm.play(0, 1);
trans = saBgm_channel.soundTransform;
trans.volume = 1;
saBgm_channel.soundTransform = trans;
Tweener.addTween(moveMc, {x:-20, time:0.5, onComplete:endTween2});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
}
}//package
Section 223
//LampCurtainMc2 (LampCurtainMc2)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class LampCurtainMc2 extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public function LampCurtainMc2(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {x:456, delay:0.1, time:0.5});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
Tweener.addTween(moveMc, {x:(636 + 20), time:0.5, onComplete:endTween});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 224
//LampMc (LampMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class LampMc extends MovieClip {
public var hit3:Boolean;
public var shot:Boolean;
public var hit4:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public function LampMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
hit3 = false;
hit4 = false;
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Point;
var _local4:Point;
var _local5:Boolean;
var _local6:DameBgm;
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.parentObject.youkoMc.hitMc);
_local3 = new Point(parentObject.parentObject.satoshiMc.x, parentObject.parentObject.satoshiMc.y);
_local4 = stage.localToGlobal(_local3);
_local5 = parentObject.parentObject.youkoMc.hitTestPoint((_local4.x + 168), (_local4.y - 34), true);
if ((((_local2 == true)) && ((hit3 == false)))){
parentObject.parentObject.score = (parentObject.parentObject.score + 1);
parentObject.parentObject.youkoMc.hitShot();
hit3 = true;
hit4 = true;
} else {
if ((((_local5 == true)) && ((hit4 == false)))){
_local6 = new DameBgm();
_local6.play();
hit4 = true;
};
};
timing++;
if (timing == 22){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 225
//MachineMc (MachineMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MachineMc extends MovieClip {
public var hit3:Boolean;
public var shot:Boolean;
public var shotMc:MovieClip;
public var thisTimer:Timer;
public var moveMc:MovieClip;
public var parentObject:Object;
public function MachineMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
Tweener.addTween(moveMc, {x:96, delay:0.2, time:0.3, onComplete:endTween2});
}
function frame3(){
moveMc = shotMc;
Tweener.addTween(moveMc, {x:156, time:0.2, transition:"easeOutBounce", onComplete:endTween});
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
Tweener.pauseTweens(moveMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Point;
var _local4:Point;
var _local5:Boolean;
var _local6:DameBgm;
_local2 = false;
_local2 = shotMc.hitMc.hitTestObject(parentObject.parentObject.youkoMc.hitMc);
_local3 = new Point(parentObject.parentObject.satoshiMc.x, parentObject.parentObject.satoshiMc.y);
_local4 = stage.localToGlobal(_local3);
_local5 = parentObject.parentObject.youkoMc.hitTestPoint((_local4.x + shotMc.x), ((_local4.y + shotMc.y) + 12), true);
if (_local2 == true){
parentObject.parentObject.score = (parentObject.parentObject.score + 3);
parentObject.parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
} else {
if (_local5 == true){
if (hit3 == false){
_local6 = new DameBgm();
_local6.play();
hit3 = true;
};
};
};
}
public function endTween2():void{
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
}
}
}//package
Section 226
//MagicMc (MagicMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MagicMc extends MovieClip {
public var shot:Boolean;
public var shotType:Number;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public var satoshiType:Number;
public var satoshiMc:MovieClip;
public var thisTimer2:Timer;
public function MagicMc(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
public function ThisTimer2(_arg1:TimerEvent){
shotType++;
satoshiType++;
if (shotType == 1){
satoshiMc.gotoAndStop("2");
};
if (shotType == 2){
gotoAndStop("4");
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
};
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("5");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
shotType = 0;
satoshiType = 1;
thisTimer2 = new Timer(4000);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter3);
}
function frame2(){
satoshiMc.gotoAndStop(satoshiType);
}
function frame5(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:MagicShotMc;
var _local6:MagicShotMc2;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
if (shotType == 0){
_local5 = new MagicShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x + 34);
_local5.y = (parentObject.parentObject.satoshiMc.y + 30);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc));
};
if (shotType == 1){
_local6 = new MagicShotMc2();
_local6.x = (parentObject.parentObject.satoshiMc.x - 4);
_local6.y = (parentObject.parentObject.satoshiMc.y - 10);
parentObject.parentObject.addChild(_local6);
parentObject.parentObject.setChildIndex(_local6, parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc));
};
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
satoshiMc.gotoAndStop("3");
gotoAndStop("3");
};
}
public function thisEnter3(_arg1:Event):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:MagicShotMc3;
if (shot == false){
timing++;
if (timing == 4){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new MagicShotMc3();
_local5.x = (parentObject.parentObject.satoshiMc.x + 38);
_local5.y = (parentObject.parentObject.satoshiMc.y + 40);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc));
timing = 0;
};
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 5){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 227
//MagicShotMc (MagicShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MagicShotMc extends MovieClip {
public var hit3:Boolean;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public var moveY:Number;
public var targetY:Number;
public function MagicShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 10;
moveY = -16;
targetY = y;
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
y = (y + moveY);
moveY = (moveY + 2);
if (y > targetY){
y = targetY;
moveY = (moveY * -1);
};
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
y = (y + moveY);
moveY = (moveY + 2);
if (y > targetY){
y = targetY;
moveY = (moveY * -1);
};
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), y, true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
}
}//package
Section 228
//MagicShotMc2 (MagicShotMc2)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MagicShotMc2 extends MovieClip {
public var hit3:Boolean;
public var phase:Number;
public var targetPoint:Point;
public var hitMc:MovieClip;
public var ampList:Array;
public var parentObject:Object;
public var moveX:Number;
public var globalPoint:Point;
public var amp:Number;
public function MagicShotMc2(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 10;
ampList = [30, 40, 50];
amp = Math.floor((Math.random() * 3));
phase = 0;
targetPoint = new Point(parentObject.satoshiMc.x, parentObject.satoshiMc.y);
globalPoint = stage.localToGlobal(targetPoint);
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
y = (((Math.sin(((phase * Math.PI) / 180)) * ampList[amp]) + globalPoint.y) - 34);
phase = (phase - 15);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
y = (((Math.sin(((phase * Math.PI) / 180)) * ampList[amp]) + globalPoint.y) - 34);
phase = (phase - 15);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
}
}//package
Section 229
//MagicShotMc3 (MagicShotMc3)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MagicShotMc3 extends MovieClip {
public var hit3:Boolean;
public var k:Number;
public var scale:Number;
public var phase:Number;
public var hitMc:MovieClip;
public var s:Number;
public var parentObject:Object;
public var moveY:Number;
public var kakudo:Number;
public var amp:Number;
public function MagicShotMc3(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveY = -14;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
parentObject.setChildIndex(this, parentObject.getChildIndex(parentObject.yukaMc));
moveY = 10;
amp = 12;
phase = 0;
k = x;
kakudo = (Math.ceil((Math.random() * 12)) - 6);
rotation = (-3 * kakudo);
scale = -0.1;
s = 0;
rotation = (rotation + (Math.floor((Math.random() * 2)) * 180));
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter3);
}
public function thisEnter3(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.score = (parentObject.score + 1);
parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (k + (Math.sin(((phase * Math.PI) / 180)) * amp));
y = (y + moveY);
phase = (phase + 15);
k = (k + kakudo);
scaleY = (scaleY + scale);
s++;
if (s == 9){
scale = (scale * -1);
s = 0;
};
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
y = (y + moveY);
rotation = (rotation + 30);
if (y < -100){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
}
}
}//package
Section 230
//MaidoBgm (MaidoBgm)
package {
import flash.media.*;
public dynamic class MaidoBgm extends Sound {
}
}//package
Section 231
//MainBgm (MainBgm)
package {
import flash.media.*;
public dynamic class MainBgm extends Sound {
}
}//package
Section 232
//MakimonoMc (MakimonoMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MakimonoMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function MakimonoMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 233
//MuetaiMc (MuetaiMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MuetaiMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function MuetaiMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
var _local2:KankankanBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
_local2 = new KankankanBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 1.2;
_local3.soundTransform = _local4;
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:MuetaiShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new MuetaiShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x + 8);
_local5.y = (parentObject.parentObject.satoshiMc.y + 52);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 2));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 234
//MuetaiShotMc (MuetaiShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MuetaiShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function MuetaiShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 12;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 235
//NinjaMc (NinjaMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class NinjaMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function NinjaMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:NinjaShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new NinjaShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x + 10);
_local5.y = (parentObject.parentObject.satoshiMc.y + 16);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 8){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 236
//NinjaShotMc (NinjaShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class NinjaShotMc extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public var moveY:Number;
public var hitMc2:MovieClip;
public var hitMc3:MovieClip;
public var hitMc4:MovieClip;
public function NinjaShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 24;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
moveY = -24;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
y = (y + moveY);
rotation = (rotation + 30);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:Boolean;
var _local5:Boolean;
var _local6:Boolean;
var _local7:Boolean;
var _local8:Boolean;
var _local9:Boolean;
var _local10:DameBgm;
x = (x + moveX);
rotation = (rotation + 30);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = false;
_local3 = hitMc2.hitTestObject(parentObject.youkoMc.hitMc);
_local4 = false;
_local4 = hitMc3.hitTestObject(parentObject.youkoMc.hitMc);
_local5 = false;
_local5 = hitMc4.hitTestObject(parentObject.youkoMc.hitMc);
_local6 = parentObject.youkoMc.hitTestPoint((x + 14), (y - 34), true);
_local7 = parentObject.youkoMc.hitTestPoint((x + 34), (y + 14), true);
_local8 = parentObject.youkoMc.hitTestPoint((x - 14), (y + 34), true);
_local9 = parentObject.youkoMc.hitTestPoint((x - 34), (y - 14), true);
if ((((((((_local2 == true)) || ((_local3 == true)))) || ((_local4 == true)))) || ((_local5 == true)))){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if ((((((((_local6 == true)) || ((_local7 == true)))) || ((_local8 == true)))) || ((_local9 == true)))){
_local10 = new DameBgm();
_local10.play();
nextFrame();
};
};
}
}
}//package
Section 237
//NoBgm (NoBgm)
package {
import flash.media.*;
public dynamic class NoBgm extends Sound {
}
}//package
Section 238
//NorenMc (NorenMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class NorenMc extends MovieClip {
public var maidoBgm:MaidoBgm;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public var trans:SoundTransform;
public var maidoBgm_channel:SoundChannel;
public function NorenMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
var _local1:RasshaiBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new RasshaiBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1.2;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {y:104, delay:0.1, time:0.5});
Tweener.addTween(moveMc, {delay:0.3, onComplete:endTween});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
maidoBgm = new MaidoBgm();
maidoBgm_channel = maidoBgm.play(0, 1);
trans = maidoBgm_channel.soundTransform;
trans.volume = 1;
maidoBgm_channel.soundTransform = trans;
Tweener.addTween(moveMc, {y:-20, delay:0.1, time:0.5, onComplete:endTween2});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
}
}//package
Section 239
//Oaite1 (Oaite1)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Oaite1 extends MovieClip {
public var tokuten:Number;
public var moveTimeList:Array;
public var moveTime:Number;
public var youkoHeadMc:MovieClip;
public var moveMc:MovieClip;
public var youkoBodyMc:MovieClip;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveY:Number;
public var hitMc2:MovieClip;
public var bgm:Number;
public function Oaite1(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function hitShot():void{
var _local1:KoitsuBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
var _local4:MovieClip;
_local1 = new KoitsuBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.5;
_local2.soundTransform = _local3;
_local4 = this;
TransitionManager.start(_local4, {type:Photo, direction:Transition.IN, duration:0.1, easing:None.easeNone});
parentObject.score = (parentObject.score + tokuten);
parentObject.dispScore();
youkoHeadMc.gotoAndStop("2");
}
public function endTween():void{
gotoAndPlay("1");
}
function frame3(){
bgm = 1;
Tweener.addTween(moveMc, {y:220, time:3});
}
function frame1(){
parentObject = Object(parent);
tokuten = 1;
bgm = 0;
moveY = (Math.ceil((Math.random() * 188)) + 32);
moveTimeList = [0.25, 0.5, 0.75, 1];
moveTime = Math.floor((Math.random() * 4));
}
function frame2(){
stop();
moveMc = this;
Tweener.addTween(moveMc, {y:moveY, time:moveTimeList[moveTime], transition:"easeOutBounce", onComplete:endTween});
}
}
}//package
Section 240
//OneBgm (OneBgm)
package {
import flash.media.*;
public dynamic class OneBgm extends Sound {
}
}//package
Section 241
//OnikoroshiMc (OnikoroshiMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class OnikoroshiMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function OnikoroshiMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 242
//OniMc (OniMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class OniMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function OniMc(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5);
}
public function ThisTimer(_arg1:TimerEvent){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("5");
}
public function endTween():void{
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = parentObject.parentObject.satoshiMc;
Tweener.addTween(moveMc, {y:282, delay:0.1, time:0.5, onComplete:endTween});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
}
function frame5(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("4");
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 7){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("3");
};
}
}
}//package
Section 243
//OniShotMc (OniShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class OniShotMc extends MovieClip {
public var hit3:Boolean;
public var rad:Number;
public var aRotSpeed:Number;
public var speed:Number;
public var RotSpeedMax:Number;
public var targetPoint:Point;
public var hitMc:MovieClip;
public var parentObject:Object;
public var dx:Number;
public var globalPoint:Point;
public var dy:Number;
public var rad2:Number;
public var RotSpeed:Number;
public var rot:Number;
public function OniShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function followMc(_arg1:Event):void{
rad = Math.atan2(((globalPoint.y - y) - 4), ((globalPoint.x - x) - 8));
rot = ((rad * 180) / Math.PI);
if ((rotation - 180) > rot){
rot = (rot + 360);
};
if ((rotation + 180) < rot){
rot = (rot - 360);
};
if ((rotation - rot) > RotSpeedMax){
RotSpeed = (RotSpeed - aRotSpeed);
} else {
if ((rotation - rot) < -(RotSpeedMax)){
RotSpeed = (RotSpeed + aRotSpeed);
} else {
RotSpeed = (RotSpeed * 0.5);
};
};
if (RotSpeed > RotSpeedMax){
RotSpeed = RotSpeedMax;
};
if (-(RotSpeed) < -(RotSpeedMax)){
RotSpeed = RotSpeedMax;
};
rotation = (rotation + RotSpeed);
speed = (speed * 1.05);
rad2 = ((rotation * Math.PI) / 180);
dx = (Math.cos(rad2) * speed);
dy = (Math.sin(rad2) * speed);
x = (x + dx);
y = (y + dy);
}
function frame1(){
stop();
parentObject = Object(parent);
aRotSpeed = 0.1;
RotSpeedMax = 5;
targetPoint = new Point((parentObject.youkoMc.hitMc2.x + 10), (parentObject.youkoMc.hitMc2.y + 10));
globalPoint = parentObject.youkoMc.localToGlobal(targetPoint);
rad = Math.atan2(((globalPoint.y - y) - 4), ((globalPoint.x - x) - 8));
rad2 = ((rotation * Math.PI) / 180);
rot = ((rad * 180) / Math.PI);
rotation = rot;
RotSpeed = 0;
speed = 20;
dx = 0;
dy = 0;
this.addEventListener(Event.ENTER_FRAME, followMc);
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
if ((((((((x > (750 + width))) || ((y > (500 + width))))) || ((x < (-100 + width))))) || ((y < (-100 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
if ((((((((x > (750 + width))) || ((y > (500 + width))))) || ((x < (-100 + width))))) || ((y < (-100 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint(x, y, true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
}
}//package
Section 244
//OnpuMc (OnpuMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class OnpuMc extends MovieClip {
public var poBgm_channel:SoundChannel;
public var poBgm:PoBgm;
public var phase:Number;
public var targetPoint:Point;
public var parentObject:Object;
public var trans:SoundTransform;
public var globalPoint:Point;
public var moveY:Number;
public var springObj:SpringScale;
public var nowX:Number;
public var amp:Number;
public function OnpuMc(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
poBgm = new PoBgm();
poBgm_channel = poBgm.play(0, 1);
trans = poBgm_channel.soundTransform;
trans.volume = 1;
poBgm_channel.soundTransform = trans;
springObj = new SpringScale(this);
springObj.springTo(1, 1);
moveY = 6;
amp = 30;
phase = 0;
nowX = x;
targetPoint = new Point(x, y);
globalPoint = stage.localToGlobal(targetPoint);
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (nowX + (Math.sin(((phase * Math.PI) / 180)) * amp));
y = (y - moveY);
phase = (phase + 10);
nowX = (nowX + 2);
if (globalPoint.y < 0){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 245
//OumuMc (OumuMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class OumuMc extends MovieClip {
public var basabasaBgm:BasabasaBgm;
public var moveMc:MovieClip;
public var basabasaBgm_channel:SoundChannel;
public var thisTimer:Timer;
public var rate2:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var trans:SoundTransform;
public var rate:Number;
public function OumuMc(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function endTween3():void{
this.removeEventListener(Event.ENTER_FRAME, followMc);
gotoAndStop("2");
}
public function endTween4():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function followMc2(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local2 = new Point((parentObject.youkoMc.hitMc2.x + 10), (parentObject.youkoMc.hitMc2.y + 10));
_local3 = parentObject.youkoMc.localToGlobal(_local2);
_local4 = ((_local3.x - x) - (width / 2));
_local5 = ((_local3.y - y) + 10);
_local6 = (_local4 * rate2);
_local7 = (_local5 * rate2);
x = (x + _local6);
y = (y + _local7);
}
public function followMc(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local2 = new Point(parentObject.satoshiMc.x, parentObject.satoshiMc.y);
_local3 = stage.localToGlobal(_local2);
_local4 = ((_local3.x + 34) - x);
_local5 = ((_local3.y - 50) - y);
_local6 = (_local4 * rate);
_local7 = (_local5 * rate);
x = (x + _local6);
y = (y + _local7);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
var _local1:BasabasaBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new BasabasaBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
rate = 0.1;
this.addEventListener(Event.ENTER_FRAME, followMc);
Tweener.addTween(moveMc, {delay:2, onComplete:endTween2});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame3(){
this.removeEventListener(Event.ENTER_FRAME, followMc2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, followMc);
Tweener.addTween(moveMc, {delay:3, onComplete:endTween3});
}
function frame4(){
Tweener.pauseTweens(moveMc);
this.removeEventListener(Event.ENTER_FRAME, followMc);
this.removeEventListener(Event.ENTER_FRAME, followMc2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
basabasaBgm = new BasabasaBgm();
basabasaBgm_channel = basabasaBgm.play(0, 1);
trans = basabasaBgm_channel.soundTransform;
trans.volume = 1;
basabasaBgm_channel.soundTransform = trans;
Tweener.addTween(moveMc, {x:(900 + (width / 2)), y:(height / 2), delay:0.1, time:2, onComplete:endTween4});
}
function frame2(){
rate2 = 0.3;
this.addEventListener(Event.ENTER_FRAME, followMc2);
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 10), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
public function endTween2():void{
this.removeEventListener(Event.ENTER_FRAME, followMc);
gotoAndStop("2");
}
}
}//package
Section 246
//ParachuteMc (ParachuteMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ParachuteMc extends MovieClip {
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveY:Number;
public var parachuteMc:MovieClip;
public function ParachuteMc(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
moveY = 12;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
y = (y + moveY);
if (y > 180){
moveY = 4;
parachuteMc.gotoAndStop("2");
};
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
if (_local2 == true){
parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package
Section 247
//PikaBgm (PikaBgm)
package {
import flash.media.*;
public dynamic class PikaBgm extends Sound {
}
}//package
Section 248
//PoBgm (PoBgm)
package {
import flash.media.*;
public dynamic class PoBgm extends Sound {
}
}//package
Section 249
//PomuBgm (PomuBgm)
package {
import flash.media.*;
public dynamic class PomuBgm extends Sound {
}
}//package
Section 250
//PresentedBgm (PresentedBgm)
package {
import flash.media.*;
public dynamic class PresentedBgm extends Sound {
}
}//package
Section 251
//PresentMc (PresentMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class PresentMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function PresentMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 252
//PyuBgm (PyuBgm)
package {
import flash.media.*;
public dynamic class PyuBgm extends Sound {
}
}//package
Section 253
//RadiconMc (RadiconMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RadiconMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function RadiconMc(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5);
}
public function ThisTimer(_arg1:TimerEvent){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("5");
}
public function endTween():void{
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = parentObject.parentObject.satoshiMc;
Tweener.addTween(moveMc, {y:282, delay:0.1, time:0.5, onComplete:endTween});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
}
function frame5(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("4");
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 12){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("3");
};
}
}
}//package
Section 254
//RadiconShotMc (RadiconShotMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RadiconShotMc extends MovieClip {
public var hit3:Boolean;
public var shot:Boolean;
public var sin:Number;
public var rad:Number;
public var nowY:Number;
public var basabasaBgm:BasabasaBgm;
public var moveMc:MovieClip;
public var basabasaBgm_channel:SoundChannel;
public var thisTimer:Timer;
public var nowX:Number;
public var targetPoint:Point;
public var cos:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var radius:Number;
public var globalPoint:Point;
public var trans:SoundTransform;
public var rot:Number;
public var rate:Number;
public function RadiconShotMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function followMc(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (parentObject.mouseX - x);
_local3 = (parentObject.mouseY - y);
_local4 = (_local2 * rate);
_local5 = (_local3 * rate);
x = (x + _local4);
y = (y + _local5);
if (rate <= 0.2){
rate = (rate + 0.01);
};
scaleX = (Math.abs(scaleX) * ((x)<parentObject.mouseX) ? 1 : -1);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
var _local1:BasabasaBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new BasabasaBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
rate = 0;
this.addEventListener(Event.ENTER_FRAME, followMc);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame3(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
rot = 90;
rad = 0;
sin = 0;
cos = 0;
radius = 100;
targetPoint = new Point(x, y);
globalPoint = stage.localToGlobal(targetPoint);
nowX = globalPoint.x;
nowY = (globalPoint.y - 100);
this.addEventListener(Event.ENTER_FRAME, thisEnter3);
hit3 = false;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame4(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
scaleX = 1;
rotation = 0;
basabasaBgm = new BasabasaBgm();
basabasaBgm_channel = basabasaBgm.play(0, 1);
trans = basabasaBgm_channel.soundTransform;
trans.volume = 1;
basabasaBgm_channel.soundTransform = trans;
Tweener.addTween(moveMc, {x:(900 + width), y:18, delay:0.1, time:2, onComplete:endTween2});
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter3(_arg1:Event):void{
if (shot == false){
if (scaleX == 1){
rot = (rot - 30);
rotation = (rotation - 30);
rad = ((rot * Math.PI) / 180);
sin = Math.sin(rad);
cos = Math.cos(rad);
x = ((cos * radius) + nowX);
y = ((sin * radius) + nowY);
if (rot == -270){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
this.addEventListener(Event.ENTER_FRAME, followMc);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("2");
};
} else {
rot = (rot + 30);
rotation = (rotation + 30);
rad = ((rot * Math.PI) / 180);
sin = Math.sin(rad);
cos = Math.cos(rad);
x = ((cos * radius) + nowX);
y = ((sin * radius) + nowY);
if (rot == 450){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
this.addEventListener(Event.ENTER_FRAME, followMc);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("2");
};
};
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint(x, y, true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
} else {
if (_local3 == true){
if (hit3 == false){
_local4 = new DameBgm();
_local4.play();
hit3 = true;
};
};
};
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
}
}//package
Section 255
//RadioMc (RadioMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RadioMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function RadioMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 256
//RadioMc2 (RadioMc2)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RadioMc2 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function RadioMc2(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 257
//RapperMc (RapperMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RapperMc extends MovieClip {
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function RapperMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:RapperShotMc;
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new RapperShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 36);
_local5.y = (parentObject.parentObject.satoshiMc.y + 16);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 258
//RapperShotMc (RapperShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RapperShotMc extends MovieClip {
public var rad:Number;
public var aRotSpeed:Number;
public var kakouY:Number;
public var kakouX:Number;
public var speed:Number;
public var RotSpeedMax:Number;
public var targetPoint:Point;
public var hitMc:MovieClip;
public var parentObject:Object;
public var dx:Number;
public var globalPoint:Point;
public var dy:Number;
public var rad2:Number;
public var RotSpeed:Number;
public var rot:Number;
public function RapperShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function followMc(_arg1:Event):void{
rad = Math.atan2(((globalPoint.y - y) - 4), ((globalPoint.x - x) - 8));
rot = ((rad * 180) / Math.PI);
if ((rotation - 180) > rot){
rot = (rot + 360);
};
if ((rotation + 180) < rot){
rot = (rot - 360);
};
if ((rotation - rot) > RotSpeedMax){
RotSpeed = (RotSpeed - aRotSpeed);
} else {
if ((rotation - rot) < -(RotSpeedMax)){
RotSpeed = (RotSpeed + aRotSpeed);
} else {
RotSpeed = (RotSpeed * 0.5);
};
};
if (RotSpeed > RotSpeedMax){
RotSpeed = RotSpeedMax;
};
if (-(RotSpeed) < -(RotSpeedMax)){
RotSpeed = RotSpeedMax;
};
rotation = (rotation + RotSpeed);
speed = (speed * 1.05);
rad2 = ((rotation * Math.PI) / 180);
dx = (Math.cos(rad2) * speed);
dy = (Math.sin(rad2) * speed);
x = (x + dx);
y = (y + dy);
}
function frame1(){
stop();
parentObject = Object(parent);
aRotSpeed = 0.1;
RotSpeedMax = 5;
targetPoint = new Point((parentObject.youkoMc.hitMc2.x + 10), (parentObject.youkoMc.hitMc2.y + 10));
globalPoint = parentObject.youkoMc.localToGlobal(targetPoint);
rad = Math.atan2(((globalPoint.y - y) - 4), ((globalPoint.x - x) - 8));
rad2 = ((rotation * Math.PI) / 180);
rot = ((rad * 180) / Math.PI);
rotation = rot;
RotSpeed = 0;
speed = 16;
dx = 0;
dy = 0;
this.addEventListener(Event.ENTER_FRAME, followMc);
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 60);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint(x, y, true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 259
//RasshaiBgm (RasshaiBgm)
package {
import flash.media.*;
public dynamic class RasshaiBgm extends Sound {
}
}//package
Section 260
//RingMc (RingMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RingMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public var pyuBgm_channel:SoundChannel;
public var trans:SoundTransform;
public var moveY:Number;
public var pyuBgm:PyuBgm;
public function RingMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function endTween3():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
pyuBgm = new PyuBgm();
pyuBgm_channel = pyuBgm.play(0, 1);
trans = pyuBgm_channel.soundTransform;
trans.volume = 1;
pyuBgm_channel.soundTransform = trans;
moveY = 20;
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
moveMc = this;
Tweener.addTween(moveMc, {delay:1, onComplete:endTween});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
Tweener.addTween(moveMc, {x:(886 + 20), delay:0.1, time:0.5, onComplete:endTween3});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween():void{
var _local1:KanBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new KanBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1.2;
_local2.soundTransform = _local3;
}
public function thisEnter(_arg1:Event):void{
var _local2:BainBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
moveY = (moveY + 2);
y = (y + moveY);
if (y >= 460){
y = 460;
moveY = (moveY * -0.3);
if (timing == 0){
_local2 = new BainBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 1.5;
_local3.soundTransform = _local4;
};
timing++;
};
}
}
}//package
Section 261
//RoboHeadMc (RoboHeadMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RoboHeadMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var bainBgm_channel:SoundChannel;
public var bainBgm:BainBgm;
public var parentObject:Object;
public var trans:SoundTransform;
public function RoboHeadMc(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
bainBgm = new BainBgm();
bainBgm_channel = bainBgm.play(0, 1);
trans = bainBgm_channel.soundTransform;
trans.volume = 1.5;
bainBgm_channel.soundTransform = trans;
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 262
//RoboHeadMc2 (RoboHeadMc2)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RoboHeadMc2 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var parentObject:Object;
public function RoboHeadMc2(){
addFrameScript(0, frame1);
}
function frame1(){
parentObject = Object(parent);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 263
//RoboHeadMc3 (RoboHeadMc3)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RoboHeadMc3 extends MovieClip {
public var fadeMc:MovieClip;
public var winBgm:WinBgm;
public var moveMc:MovieClip;
public var parentObject:Object;
public function RoboHeadMc3(){
addFrameScript(0, frame1);
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
parentObject = Object(parent);
winBgm = new WinBgm();
winBgm.play();
fadeMc = this;
TransitionManager.start(fadeMc, {type:Wipe, direction:Transition.IN, duration:0.3, easing:None.easeNone, startPoint:6});
moveMc = this;
Tweener.addTween(moveMc, {delay:0.3, onComplete:endTween});
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 264
//RoboHeadMc4 (RoboHeadMc4)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RoboHeadMc4 extends MovieClip {
public var fadeMc:MovieClip;
public var moveMc:MovieClip;
public var parentObject:Object;
public function RoboHeadMc4(){
addFrameScript(0, frame1);
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
parentObject = Object(parent);
fadeMc = this;
TransitionManager.start(fadeMc, {type:Wipe, direction:Transition.IN, duration:0.3, easing:None.easeNone, startPoint:4});
moveMc = this;
Tweener.addTween(moveMc, {time:0.3, onComplete:endTween});
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 265
//RoboMc (RoboMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RoboMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public var thisTimer2:Timer;
public function RoboMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:RoboHeadMc3;
var _local3:RoboHeadMc4;
_local2 = new RoboHeadMc3();
_local2.x = -144;
_local2.y = -66;
addChild(_local2);
_local3 = new RoboHeadMc4();
_local3.x = -144;
_local3.y = -66;
addChild(_local3);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
thisTimer2 = new Timer(10200);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:RoboShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new RoboShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 22);
_local5.y = (parentObject.parentObject.satoshiMc.y + 8);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 5){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 266
//RoboShotMc (RoboShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class RoboShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var rate2:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public var rate:Number;
public function RoboShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function followMc(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local2 = new Point((parentObject.youkoMc.hitMc2.x + 10), (parentObject.youkoMc.hitMc2.y + 10));
_local3 = parentObject.youkoMc.localToGlobal(_local2);
_local4 = ((_local3.x - x) - (width / 2));
_local5 = ((_local3.y - y) + 8);
_local6 = (_local4 * rate);
_local7 = (_local5 * rate2);
x = (x + _local6);
y = (y + _local7);
rate = (rate + 0.02);
if (rate >= 0.3){
this.removeEventListener(Event.ENTER_FRAME, followMc);
};
}
function frame1(){
stop();
parentObject = Object(parent);
rate = 0.1;
rate2 = 0.14;
this.addEventListener(Event.ENTER_FRAME, followMc);
moveX = 4;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, followMc);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 267
//SaBgm (SaBgm)
package {
import flash.media.*;
public dynamic class SaBgm extends Sound {
}
}//package
Section 268
//SabotenMc (SabotenMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SabotenMc extends MovieClip {
public var thisTimer:Timer;
public var parentObject:Object;
public function SabotenMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 269
//SantaMc (SantaMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SantaMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var i:Number;
public var timing:Number;
public var parentObject:Object;
public var thisTimer2:Timer;
public function SantaMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:SnowMc;
var _local3:SnowMc;
if (i == 0){
_local2 = new SnowMc();
_local2.x = (Math.ceil((Math.random() * 318)) + 318);
_local2.y = 0;
parentObject.parentObject.addChild(_local2);
i++;
} else {
_local3 = new SnowMc();
_local3.x = Math.ceil((Math.random() * 318));
_local3.y = 0;
parentObject.parentObject.addChild(_local3);
i--;
};
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
i = 0;
thisTimer2 = new Timer(250);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:SantaShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new SantaShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x + 18);
_local5.y = (parentObject.parentObject.satoshiMc.y + 56);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, parentObject.parentObject.getChildIndex(parentObject.parentObject.satoshiMc));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 6){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 270
//SantaShotMc (SantaShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SantaShotMc extends MovieClip {
public var thisTimer:Timer;
public var phase:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var kirakiraBgm_channel:SoundChannel;
public var moveX:Number;
public var trans:SoundTransform;
public var moveY:Number;
public var nowX:Number;
public var kirakiraBgm:KirakiraBgm;
public var amp:Number;
public function SantaShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
var _local2:KirakiraMc;
var _local3:Point;
var _local4:Point;
_local2 = new KirakiraMc();
_local3 = new Point(x, y);
_local4 = stage.localToGlobal(_local3);
_local2.x = _local4.x;
_local2.y = ((_local4.y + (Math.floor((Math.random() * 21)) * 4)) - 40);
parentObject.addChild(_local2);
parentObject.setChildIndex(_local2, (parentObject.getChildIndex(parentObject.satoshiMc) + 1));
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 6;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
root.addEventListener(MouseEvent.MOUSE_MOVE, thisMove);
kirakiraBgm = new KirakiraBgm();
kirakiraBgm_channel = kirakiraBgm.play(0, 1);
trans = kirakiraBgm_channel.soundTransform;
trans.volume = 0.3;
kirakiraBgm_channel.soundTransform = trans;
thisTimer = new Timer(50);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
root.removeEventListener(MouseEvent.MOUSE_MOVE, thisMove);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
moveY = 6;
amp = 30;
phase = 0;
nowX = x;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (nowX + (Math.sin(((phase * Math.PI) / 180)) * amp));
y = (y - moveY);
phase = (phase - 10);
nowX = (nowX + 2);
if (y < -20){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisMove(_arg1:MouseEvent):void{
if (x < 338){
y = (parentObject.satoshiMc.y + 56);
};
_arg1.updateAfterEvent();
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 2);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
if (x > 338){
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.score = (parentObject.score + 2);
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
};
}
}
}//package
Section 271
//ShabonMc1 (ShabonMc1)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ShabonMc1 extends MovieClip {
public var shougakuseiShotMc:ShougakuseiShotMc;
public var konoBgm_channel:SoundChannel;
public var moveMc:MovieClip;
public var konoBgm:KonoBgm;
public var phase:Number;
public var targetPoint:Point;
public var parentObject:Object;
public var moveY:Number;
public var globalPoint:Point;
public var trans:SoundTransform;
public var springObj:SpringScale;
public var nowX:Number;
public var amp:Number;
public function ShabonMc1(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
springObj = new SpringScale(this);
springObj.springTo(1, 1);
moveY = 6;
amp = 30;
phase = 0;
nowX = x;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
konoBgm = new KonoBgm();
konoBgm_channel = konoBgm.play(0, 1);
trans = konoBgm_channel.soundTransform;
trans.volume = 0.5;
konoBgm_channel.soundTransform = trans;
targetPoint = new Point(x, y);
globalPoint = stage.localToGlobal(targetPoint);
shougakuseiShotMc = new ShougakuseiShotMc();
shougakuseiShotMc.x = (globalPoint.x + 34);
shougakuseiShotMc.y = (globalPoint.y - 34);
parentObject.addChild(shougakuseiShotMc);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
x = (nowX + (Math.sin(((phase * Math.PI) / 180)) * amp));
y = (y - moveY);
phase = (phase + 10);
nowX = (nowX + 2);
_local2 = new Point(x, y);
_local3 = stage.localToGlobal(_local2);
if ((_local3.y - 34) < (parentObject.youkoMc.y + 26)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
}
}
}//package
Section 272
//ShabonMc2 (ShabonMc2)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ShabonMc2 extends MovieClip {
public var shougakuseiShotMc:ShougakuseiShotMc;
public var konoBgm_channel:SoundChannel;
public var moveMc:MovieClip;
public var konoBgm:KonoBgm;
public var phase:Number;
public var targetPoint:Point;
public var parentObject:Object;
public var moveY:Number;
public var globalPoint:Point;
public var trans:SoundTransform;
public var springObj:SpringScale;
public var nowX:Number;
public var amp:Number;
public function ShabonMc2(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
springObj = new SpringScale(this);
springObj.springTo(1, 1);
moveY = 6;
amp = 30;
phase = 0;
nowX = x;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
konoBgm = new KonoBgm();
konoBgm_channel = konoBgm.play(0, 1);
trans = konoBgm_channel.soundTransform;
trans.volume = 0.5;
konoBgm_channel.soundTransform = trans;
targetPoint = new Point(x, y);
globalPoint = stage.localToGlobal(targetPoint);
shougakuseiShotMc = new ShougakuseiShotMc();
shougakuseiShotMc.x = (globalPoint.x + 34);
shougakuseiShotMc.y = (globalPoint.y - 34);
parentObject.addChild(shougakuseiShotMc);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
x = (nowX + (Math.sin(((phase * Math.PI) / 180)) * amp));
y = (y - moveY);
phase = (phase + 10);
nowX = (nowX + 2);
_local2 = new Point(x, y);
_local3 = stage.localToGlobal(_local2);
if ((_local3.y - 34) < (parentObject.youkoMc.y + 26)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
}
}
}//package
Section 273
//ShabonMc3 (ShabonMc3)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ShabonMc3 extends MovieClip {
public var shougakuseiShotMc:ShougakuseiShotMc;
public var konoBgm_channel:SoundChannel;
public var moveMc:MovieClip;
public var konoBgm:KonoBgm;
public var phase:Number;
public var targetPoint:Point;
public var parentObject:Object;
public var moveY:Number;
public var globalPoint:Point;
public var trans:SoundTransform;
public var springObj:SpringScale;
public var nowX:Number;
public var amp:Number;
public function ShabonMc3(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
springObj = new SpringScale(this);
springObj.springTo(1, 1);
moveY = 6;
amp = 30;
phase = 0;
nowX = x;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
konoBgm = new KonoBgm();
konoBgm_channel = konoBgm.play(0, 1);
trans = konoBgm_channel.soundTransform;
trans.volume = 0.5;
konoBgm_channel.soundTransform = trans;
targetPoint = new Point(x, y);
globalPoint = stage.localToGlobal(targetPoint);
shougakuseiShotMc = new ShougakuseiShotMc();
shougakuseiShotMc.x = (globalPoint.x + 34);
shougakuseiShotMc.y = (globalPoint.y - 34);
parentObject.addChild(shougakuseiShotMc);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter(_arg1:Event):void{
var _local2:Point;
var _local3:Point;
x = (nowX + (Math.sin(((phase * Math.PI) / 180)) * amp));
y = (y - moveY);
phase = (phase + 10);
nowX = (nowX + 2);
_local2 = new Point(x, y);
_local3 = stage.localToGlobal(_local2);
if ((_local3.y - 34) < (parentObject.youkoMc.y + 26)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
}
}
}//package
Section 274
//ShougakuseiMc (ShougakuseiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ShougakuseiMc extends MovieClip {
public var shot:Boolean;
public var moveMc:MovieClip;
public var color:Number;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function ShougakuseiMc(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
public function endTween():void{
gotoAndStop("2");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = parentObject.parentObject.satoshiMc;
Tweener.addTween(moveMc, {y:282, delay:0.1, time:0.5, onComplete:endTween});
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
color = 1;
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame2(){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:HowanBgm;
var _local3:ShabonMc1;
var _local4:ShabonMc2;
var _local5:ShabonMc3;
if (shot == false){
_local2 = new HowanBgm();
_local2.play();
if (color == 1){
_local3 = new ShabonMc1();
_local3.x = (parentObject.parentObject.satoshiMc.x - 4);
_local3.y = (parentObject.parentObject.satoshiMc.y + 50);
parentObject.parentObject.addChild(_local3);
parentObject.parentObject.setChildIndex(_local3, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
};
if (color == 2){
_local4 = new ShabonMc2();
_local4.x = (parentObject.parentObject.satoshiMc.x - 4);
_local4.y = (parentObject.parentObject.satoshiMc.y + 50);
parentObject.parentObject.addChild(_local4);
parentObject.parentObject.setChildIndex(_local4, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
};
if (color == 3){
_local5 = new ShabonMc3();
_local5.x = (parentObject.parentObject.satoshiMc.x - 4);
_local5.y = (parentObject.parentObject.satoshiMc.y + 50);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 1));
color = 0;
};
color++;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 10){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 275
//ShougakuseiShotMc (ShougakuseiShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class ShougakuseiShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function ShougakuseiShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 12;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.score = (parentObject.score + 1);
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 276
//SnowMc (SnowMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SnowMc extends MovieClip {
public var phase:Number;
public var parentObject:Object;
public var moveY:Number;
public var nowX:Number;
public var amp:Number;
public function SnowMc(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
parentObject = Object(parent);
moveY = 6;
amp = 20;
phase = 0;
nowX = x;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (nowX + (Math.sin(((phase * Math.PI) / 180)) * amp));
y = (y + moveY);
phase = (phase - 5);
if (y > 500){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 277
//SnowMc2 (SnowMc2)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SnowMc2 extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public function SnowMc2(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {x:712, delay:0.1, time:0.5});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
Tweener.addTween(moveMc, {x:((636 + width) + 20), delay:0.1, time:0.5, onComplete:endTween});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 278
//SoccerBallMc (SoccerBallMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SoccerBallMc extends MovieClip {
public var moveMc:MovieClip;
public var timing:Number;
public var parentObject:Object;
public var moveX:Number;
public var dy:Number;
public function SoccerBallMc(){
addFrameScript(0, frame1);
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
moveX = 10;
dy = -16;
timing = 0;
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:PomuBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
x = (x + moveX);
dy = (dy + 2);
y = (y + dy);
rotation = (rotation + 30);
if (y > 426){
timing++;
if (timing < 5){
_local2 = new PomuBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.7;
_local3.soundTransform = _local4;
};
y = 426;
dy = (dy * -0.8);
};
if (x > (750 + width)){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package
Section 279
//StartBgm (StartBgm)
package {
import flash.media.*;
public dynamic class StartBgm extends Sound {
}
}//package
Section 280
//StoneMc (StoneMc)
package {
import flash.display.*;
public dynamic class StoneMc extends MovieClip {
}
}//package
Section 281
//StopBgm (StopBgm)
package {
import flash.media.*;
public dynamic class StopBgm extends Sound {
}
}//package
Section 282
//SushiMc (SushiMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SushiMc extends MovieClip {
public var shot:Boolean;
public var thisTimer:Timer;
public var timing:Number;
public var parentObject:Object;
public function SushiMc(){
addFrameScript(0, frame1, 2, frame3, 3, frame4);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("4");
}
function frame3(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:SushiShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new SushiShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 22);
_local5.y = (parentObject.parentObject.satoshiMc.y + 8);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 2));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("3");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("2");
};
}
}
}//package
Section 283
//SushiMc2 (SushiMc2)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SushiMc2 extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function SushiMc2(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 284
//SushiShotMc (SushiShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SushiShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function SushiShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 6;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 285
//TamasiiMc (TamasiiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class TamasiiMc extends MovieClip {
public var nowY:Number;
public var phase:Number;
public var timing2:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public var amp:Number;
public function TamasiiMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter3);
moveX = 6;
amp = 40;
phase = 0;
nowY = y;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter3(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + moveX);
y = ((Math.sin(((phase * Math.PI) / 180)) * amp) + nowY);
phase = (phase - 15);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
x = (x + moveX);
y = ((Math.sin(((phase * Math.PI) / 180)) * amp) + nowY);
phase = (phase - 10);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
};
}
}
}//package
Section 286
//ThuunBgm (ThuunBgm)
package {
import flash.media.*;
public dynamic class ThuunBgm extends Sound {
}
}//package
Section 287
//TireMc (TireMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class TireMc extends MovieClip {
public var moveMc:MovieClip;
public var timing:Number;
public var parentObject:Object;
public var moveX:Number;
public var dy:Number;
public function TireMc(){
addFrameScript(0, frame1);
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {delay:0.1, onComplete:endTween});
moveX = 10;
dy = -16;
timing = 0;
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter(_arg1:Event):void{
var _local2:PomuBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
x = (x + moveX);
dy = (dy + 2);
y = (y + dy);
rotation = (rotation + 30);
if (y > 406){
timing++;
if (timing < 4){
_local2 = new PomuBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.7;
_local3.soundTransform = _local4;
};
y = 406;
dy = (dy * -0.6);
};
if (x > (750 + width)){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
};
}
}
}//package
Section 288
//TosikagoMc (TosikagoMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class TosikagoMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var thisTimer:Timer;
public var parentObject:Object;
public function TosikagoMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
function frame1(){
stop();
parentObject = Object(parent);
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
kakouX = 4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation + 3);
kakouY = (kakouY + 3);
if (y > (500 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
}
}//package
Section 289
//TsuBgm (TsuBgm)
package {
import flash.media.*;
public dynamic class TsuBgm extends Sound {
}
}//package
Section 290
//TurisageMc (TurisageMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class TurisageMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public function TurisageMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {y:108, delay:1, time:0.5, transition:"easeOutBounce"});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
Tweener.addTween(moveMc, {y:-20, delay:0.1, time:0.5, onComplete:endTween});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 291
//TwoBgm (TwoBgm)
package {
import flash.media.*;
public dynamic class TwoBgm extends Sound {
}
}//package
Section 292
//TyoutinMc (TyoutinMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class TyoutinMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public var trans:SoundTransform;
public var konBgm_channel:SoundChannel;
public var konBgm:KonBgm;
public function TyoutinMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
var _local1:KonBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new KonBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1.2;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {y:108, delay:0.1, time:0.5});
Tweener.addTween(moveMc, {delay:0.3, onComplete:endTween});
thisTimer = new Timer(10600);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame2(){
konBgm = new KonBgm();
konBgm_channel = konBgm.play(0, 1);
trans = konBgm_channel.soundTransform;
trans.volume = 1.2;
konBgm_channel.soundTransform = trans;
Tweener.addTween(moveMc, {y:-20, time:0.5, onComplete:endTween2});
}
public function thisEnter(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
}
}//package
Section 293
//WaveMc (WaveMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class WaveMc extends MovieClip {
public var sin:Number;
public var rad:Number;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var cos:Number;
public var parentObject:Object;
public var radius:Number;
public var centerY:Number;
public var centerX:Number;
public var rot:Number;
public function WaveMc(){
addFrameScript(0, frame1, 1, frame2);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("2");
}
public function endTween():void{
var _local1:ZazaBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new ZazaBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 0.7;
_local2.soundTransform = _local3;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame1(){
stop();
parentObject = Object(parent);
moveMc = this;
Tweener.addTween(moveMc, {x:646, delay:0.1, time:0.5, transition:"easeInSine", onComplete:endTween});
rot = 270;
rad = 0;
sin = 0;
cos = 0;
radius = 20;
centerX = 646;
centerY = 476;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
x = 646;
y = 456;
Tweener.addTween(moveMc, {x:((636 + width) + 20), delay:0.1, time:0.5, onComplete:endTween2});
}
public function thisEnter(_arg1:Event):void{
var _local2:ZazaBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
if ((((((((((rot == 540)) || ((rot == 900)))) || ((rot == 1260)))) || ((rot == 1620)))) || ((rot == 1980)))){
_local2 = new ZazaBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.7;
_local3.soundTransform = _local4;
};
rot = (rot + 6);
rad = ((rot * Math.PI) / 180);
sin = Math.sin(rad);
cos = Math.cos(rad);
x = ((cos * radius) + centerX);
y = ((sin * radius) + centerY);
}
public function endTween2():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
}
}//package
Section 294
//WinBgm (WinBgm)
package {
import flash.media.*;
public dynamic class WinBgm extends Sound {
}
}//package
Section 295
//YamiMc (YamiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class YamiMc extends MovieClip {
public var fadeMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public var thisTimer2:Timer;
public function YamiMc(){
addFrameScript(0, frame1, 1, frame2, 6, frame7, 7, frame8, 12, frame13, 13, frame14, 15, frame16, 16, frame17, 17, frame18, 18, frame19);
}
public function ThisTimer2(_arg1:TimerEvent):void{
nextFrame();
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("19");
}
function frame14(){
TransitionManager.start(fadeMc, {type:Photo, direction:Transition.OUT, duration:0.1, easing:None.easeNone});
}
function frame18(){
gotoAndStop("2");
}
function frame7(){
fadeMc = this;
TransitionManager.start(fadeMc, {type:Photo, direction:Transition.OUT, duration:0.1, easing:None.easeNone});
}
function frame19(){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame13(){
TransitionManager.start(fadeMc, {type:Photo, direction:Transition.OUT, duration:0.1, easing:None.easeNone});
}
function frame17(){
TransitionManager.start(fadeMc, {type:Photo, direction:Transition.OUT, duration:0.1, easing:None.easeNone});
}
function frame1(){
parentObject = Object(parent);
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame16(){
TransitionManager.start(fadeMc, {type:Photo, direction:Transition.OUT, duration:0.1, easing:None.easeNone});
}
function frame8(){
TransitionManager.start(fadeMc, {type:Photo, direction:Transition.OUT, duration:0.1, easing:None.easeNone});
}
function frame2(){
stop();
thisTimer2 = new Timer(100, 16);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 296
//YopparaiMc (YopparaiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class YopparaiMc extends MovieClip {
public var shot:Boolean;
public var moveTimeList:Array;
public var moveTime:Number;
public var thisTimer:Timer;
public var moveMc:MovieClip;
public var parentObject:Object;
public var moveY:Number;
public var satoshiMc:MovieClip;
public var thisTimer2:Timer;
public function YopparaiMc(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
public function ThisTimer2(_arg1:TimerEvent){
satoshiMc.gotoAndStop("1");
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
gotoAndStop("4");
}
public function endTween():void{
gotoAndPlay("2");
}
function frame3(){
stop();
moveMc = parentObject.parentObject.satoshiMc;
Tweener.addTween(moveMc, {y:moveY, time:moveTimeList[moveTime], transition:"easeOutBounce", onComplete:endTween});
}
function frame1(){
parentObject = Object(parent);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
shot = false;
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
thisTimer2 = new Timer(130, 1);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
}
function frame4(){
Tweener.pauseTweens(moveMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
function frame2(){
moveY = (Math.ceil((Math.random() * 212)) + 70);
moveTimeList = [0.25, 0.5, 0.75, 1];
moveTime = Math.floor((Math.random() * 4));
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:YopparaiShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new YopparaiShotMc();
_local5.x = (parentObject.parentObject.satoshiMc.x - 22);
_local5.y = (parentObject.parentObject.satoshiMc.y + 8);
parentObject.parentObject.addChild(_local5);
parentObject.parentObject.setChildIndex(_local5, (parentObject.parentObject.getChildIndex(parentObject.parentObject.yukaMc) + 3));
satoshiMc.gotoAndStop("2");
thisTimer2.start();
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
};
}
}
}//package
Section 297
//YopparaiShotMc (YopparaiShotMc)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class YopparaiShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var phase:Number;
public var targetPoint:Point;
public var hitMc:MovieClip;
public var ampList:Array;
public var parentObject:Object;
public var moveX:Number;
public var globalPoint:Point;
public var amp:Number;
public function YopparaiShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
moveX = 4;
ampList = [30, 50, 70];
amp = Math.floor((Math.random() * 3));
phase = 0;
targetPoint = new Point(parentObject.satoshiMc.x, parentObject.satoshiMc.y);
globalPoint = stage.localToGlobal(targetPoint);
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
y = ((Math.sin(((phase * Math.PI) / 180)) * ampList[amp]) + globalPoint.y);
phase = (phase - 15);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 298
//YureiHontaiMc (YureiHontaiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class YureiHontaiMc extends MovieClip {
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var parentObject:Object;
public function YureiHontaiMc(){
addFrameScript(0, frame1, 15, frame16, 16, frame17);
}
public function ThisTimer(_arg1:TimerEvent){
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
gotoAndStop("17");
}
function frame16(){
stop();
}
function frame1(){
parentObject = Object(parent);
moveMc = parentObject.parentObject.satoshiMc;
Tweener.addTween(moveMc, {y:282, delay:0.1, time:0.5, transition:"easeOutBounce"});
thisTimer = new Timer(10500);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame17(){
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
}
}//package
Section 299
//YureiMc (YureiMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class YureiMc extends MovieClip {
public var shot:Boolean;
public var moveMc:MovieClip;
public var thisTimer:Timer;
public var i:Number;
public var timing:Number;
public var timing2:Number;
public var parentObject:Object;
public var tamasiiMc:TamasiiMc;
public var thisTimer2:Timer;
public var rate:Number;
public function YureiMc(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5);
}
public function endTween3():void{
var _local1:DorodoroBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new DorodoroBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1.2;
_local2.soundTransform = _local3;
}
public function endTween4():void{
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function ThisTimer2(_arg1:TimerEvent){
var _local2:TamasiiMc;
var _local3:TamasiiMc;
if (i == 0){
_local2 = new TamasiiMc();
_local2.x = 0;
_local2.y = (Math.ceil((Math.random() * 170)) + 240);
parentObject.addChild(_local2);
i++;
} else {
_local3 = new TamasiiMc();
_local3.x = 0;
_local3.y = (Math.ceil((Math.random() * 170)) + 70);
parentObject.addChild(_local3);
i--;
};
}
public function ThisTimer(_arg1:TimerEvent){
shot = true;
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
thisTimer.removeEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer2.removeEventListener(TimerEvent.TIMER, ThisTimer2);
gotoAndStop("5");
}
public function followMc(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (parentObject.mouseX - x);
_local3 = (parentObject.mouseY - y);
_local4 = (_local2 * rate);
_local5 = (_local3 * rate);
x = (x + _local4);
y = (y + _local5);
}
public function endTween():void{
var _local1:DorodoroBgm;
var _local2:SoundChannel;
var _local3:SoundTransform;
_local1 = new DorodoroBgm();
_local2 = _local1.play(0, 1);
_local3 = _local2.soundTransform;
_local3.volume = 1.2;
_local2.soundTransform = _local3;
}
function frame1(){
stop();
parentObject = Object(parent);
parentObject.setChildIndex(this, (parentObject.getChildIndex(parentObject.yukaMc) + 1));
moveMc = this;
Tweener.addTween(moveMc, {delay:0.5, onComplete:endTween});
Tweener.addTween(moveMc, {delay:1, onComplete:endTween2});
Tweener.addTween(moveMc, {delay:9.5, onComplete:endTween3});
shot = false;
thisTimer = new Timer(10000);
thisTimer.addEventListener(TimerEvent.TIMER, ThisTimer);
thisTimer.start();
}
function frame4(){
timing = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter3);
rate = 0.05;
this.addEventListener(Event.ENTER_FRAME, followMc);
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
i = 0;
tamasiiMc = new TamasiiMc();
tamasiiMc.x = 0;
tamasiiMc.y = (Math.ceil((Math.random() * 170)) + 70);
parentObject.addChild(tamasiiMc);
thisTimer2 = new Timer(2000, 4);
thisTimer2.addEventListener(TimerEvent.TIMER, ThisTimer2);
thisTimer2.start();
}
function frame5(){
this.stopDrag();
this.removeEventListener(Event.ENTER_FRAME, followMc);
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
Tweener.addTween(moveMc, {x:parentObject.satoshiMc.x, y:parentObject.satoshiMc.y, time:0.5, onComplete:endTween4});
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
}
public function thisEnter3(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
public function thisDown(_arg1:MouseEvent):void{
var _local2:KonoBgm;
var _local3:SoundChannel;
var _local4:SoundTransform;
var _local5:Point;
var _local6:Point;
var _local7:YureiShotMc;
if (shot == false){
_local2 = new KonoBgm();
_local3 = _local2.play(0, 1);
_local4 = _local3.soundTransform;
_local4.volume = 0.5;
_local3.soundTransform = _local4;
_local5 = new Point(x, y);
_local6 = stage.localToGlobal(_local5);
_local7 = new YureiShotMc();
_local7.x = (_local6.x - 22);
_local7.y = (_local6.y + 8);
parentObject.addChild(_local7);
parentObject.setChildIndex(_local7, (parentObject.getChildIndex(parentObject.yukaMc) + 2));
root.removeEventListener(MouseEvent.MOUSE_DOWN, thisDown);
gotoAndStop("4");
};
}
public function thisEnter(_arg1:Event):void{
timing++;
if (timing == 4){
root.addEventListener(MouseEvent.MOUSE_DOWN, thisDown);
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
gotoAndStop("3");
};
}
public function endTween2():void{
gotoAndStop("2");
}
}
}//package
Section 300
//YureiShotMc (YureiShotMc)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class YureiShotMc extends MovieClip {
public var kakouY:Number;
public var kakouX:Number;
public var timing2:Number;
public var hitMc:MovieClip;
public var parentObject:Object;
public var moveX:Number;
public function YureiShotMc(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
parentObject = Object(parent);
timing2 = 0;
this.addEventListener(Event.ENTER_FRAME, thisEnter3);
moveX = 4;
this.addEventListener(Event.ENTER_FRAME, thisEnter);
}
function frame2(){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
kakouX = -4;
kakouY = -10;
this.addEventListener(Event.ENTER_FRAME, thisEnter2);
}
public function thisEnter3(_arg1:Event):void{
var _local2:MovieClip;
timing2++;
if (timing2 == 2){
_local2 = this;
TransitionManager.start(_local2, {type:Photo, direction:Transition.OUT, duration:0.2});
timing2 = 0;
};
}
public function thisEnter2(_arg1:Event):void{
var _local2:MovieClip;
x = (x + kakouX);
y = (y + kakouY);
rotation = (rotation - 3);
kakouY = (kakouY + 3);
if ((((x > (750 + width))) || ((y > (500 + width))))){
this.removeEventListener(Event.ENTER_FRAME, thisEnter2);
this.removeEventListener(Event.ENTER_FRAME, thisEnter3);
_local2 = (_arg1.target as MovieClip);
parentObject.removeChild(_local2);
_local2 = null;
};
}
public function thisEnter(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:DameBgm;
x = (x + moveX);
moveX = (moveX + 1);
if (x > (750 + width)){
this.removeEventListener(Event.ENTER_FRAME, thisEnter);
nextFrame();
};
_local2 = false;
_local2 = hitMc.hitTestObject(parentObject.youkoMc.hitMc);
_local3 = parentObject.youkoMc.hitTestPoint((x + (width / 2)), (y - 8), true);
if (_local2 == true){
parentObject.score = (parentObject.score + 2);
parentObject.youkoMc.hitShot();
nextFrame();
} else {
if (_local3 == true){
_local4 = new DameBgm();
_local4.play();
nextFrame();
};
};
}
}
}//package
Section 301
//ZazaBgm (ZazaBgm)
package {
import flash.media.*;
public dynamic class ZazaBgm extends Sound {
}
}//package