Section 1
//000_57 (4_level_pinball_demo_081217_fla.000_57)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 000_57 extends MovieClip {
public function 000_57(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 2
//007MORESKILLGAMESON_223 (4_level_pinball_demo_081217_fla.007MORESKILLGAMESON_223)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 007MORESKILLGAMESON_223 extends MovieClip {
public function 007MORESKILLGAMESON_223(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 3
//007MORESKILLGAMESON_55 (4_level_pinball_demo_081217_fla.007MORESKILLGAMESON_55)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 007MORESKILLGAMESON_55 extends MovieClip {
public function 007MORESKILLGAMESON_55(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 4
//008STARTGAME_72 (4_level_pinball_demo_081217_fla.008STARTGAME_72)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 008STARTGAME_72 extends MovieClip {
public function 008STARTGAME_72(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 5
//009HOWTOPLAY_76 (4_level_pinball_demo_081217_fla.009HOWTOPLAY_76)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 009HOWTOPLAY_76 extends MovieClip {
public function 009HOWTOPLAY_76(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 6
//010HIGHSCORES_103 (4_level_pinball_demo_081217_fla.010HIGHSCORES_103)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 010HIGHSCORES_103 extends MovieClip {
public function 010HIGHSCORES_103(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 7
//010HIGHSCORES_74 (4_level_pinball_demo_081217_fla.010HIGHSCORES_74)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 010HIGHSCORES_74 extends MovieClip {
public function 010HIGHSCORES_74(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 8
//011MOREGAMES_79 (4_level_pinball_demo_081217_fla.011MOREGAMES_79)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 011MOREGAMES_79 extends MovieClip {
public function 011MOREGAMES_79(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 9
//015soundON_62 (4_level_pinball_demo_081217_fla.015soundON_62)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 015soundON_62 extends MovieClip {
public function 015soundON_62(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 10
//017SoundOFF_63 (4_level_pinball_demo_081217_fla.017SoundOFF_63)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 017SoundOFF_63 extends MovieClip {
public function 017SoundOFF_63(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 11
//025howtoplay_266 (4_level_pinball_demo_081217_fla.025howtoplay_266)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 025howtoplay_266 extends MovieClip {
public function 025howtoplay_266(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 12
//029BACK_108 (4_level_pinball_demo_081217_fla.029BACK_108)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 029BACK_108 extends MovieClip {
public function 029BACK_108(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 13
//030Rank_104 (4_level_pinball_demo_081217_fla.030Rank_104)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 030Rank_104 extends MovieClip {
public function 030Rank_104(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 14
//034NEW_102 (4_level_pinball_demo_081217_fla.034NEW_102)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 034NEW_102 extends MovieClip {
public function 034NEW_102(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 15
//0353000_110 (4_level_pinball_demo_081217_fla.0353000_110)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 0353000_110 extends MovieClip {
public function 0353000_110(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 16
//036Ready_248 (4_level_pinball_demo_081217_fla.036Ready_248)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 036Ready_248 extends MovieClip {
public function 036Ready_248(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 17
//037GO_249 (4_level_pinball_demo_081217_fla.037GO_249)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 037GO_249 extends MovieClip {
public function 037GO_249(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 18
//038ballsleft_244 (4_level_pinball_demo_081217_fla.038ballsleft_244)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 038ballsleft_244 extends MovieClip {
public var txt:MovieClip;
public function 038ballsleft_244(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 19
//039finalball_246 (4_level_pinball_demo_081217_fla.039finalball_246)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 039finalball_246 extends MovieClip {
public function 039finalball_246(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 20
//040PAUSE_228 (4_level_pinball_demo_081217_fla.040PAUSE_228)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 040PAUSE_228 extends MovieClip {
public function 040PAUSE_228(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 21
//041CONTINUE_230 (4_level_pinball_demo_081217_fla.041CONTINUE_230)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 041CONTINUE_230 extends MovieClip {
public function 041CONTINUE_230(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 22
//042BACKTOMAIN_232 (4_level_pinball_demo_081217_fla.042BACKTOMAIN_232)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 042BACKTOMAIN_232 extends MovieClip {
public function 042BACKTOMAIN_232(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 23
//100000POINTS_227 (4_level_pinball_demo_081217_fla.100000POINTS_227)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 100000POINTS_227 extends MovieClip {
public function 100000POINTS_227(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 24
//300_109 (4_level_pinball_demo_081217_fla.300_109)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 300_109 extends MovieClip {
public function 300_109(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 25
//4levelpinballlogo_5 (4_level_pinball_demo_081217_fla.4levelpinballlogo_5)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class 4levelpinballlogo_5 extends MovieClip {
public function 4levelpinballlogo_5(){
addFrameScript(0, frame1);
}
function frame1(){
if (language.language_nr == 2){
gotoAndStop(2);
} else {
stop();
};
}
}
}//package 4_level_pinball_demo_081217_fla
Section 26
//Back_107 (4_level_pinball_demo_081217_fla.Back_107)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Back_107 extends MovieClip {
public function Back_107(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 27
//backtomain_231 (4_level_pinball_demo_081217_fla.backtomain_231)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class backtomain_231 extends MovieClip {
public function backtomain_231(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 28
//ballsleft_num_245 (4_level_pinball_demo_081217_fla.ballsleft_num_245)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
import flash.text.*;
public dynamic class ballsleft_num_245 extends MovieClip {
public var txt:TextField;
}
}//package 4_level_pinball_demo_081217_fla
Section 29
//branding_aligned_center_8 (4_level_pinball_demo_081217_fla.branding_aligned_center_8)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class branding_aligned_center_8 extends MovieClip {
public function branding_aligned_center_8(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.branding_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 30
//branding_with_games_on_text_222 (4_level_pinball_demo_081217_fla.branding_with_games_on_text_222)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class branding_with_games_on_text_222 extends MovieClip {
public function branding_with_games_on_text_222(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.branding_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 31
//continue_229 (4_level_pinball_demo_081217_fla.continue_229)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class continue_229 extends MovieClip {
public function continue_229(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 32
//GAMEOVER_257 (4_level_pinball_demo_081217_fla.GAMEOVER_257)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class GAMEOVER_257 extends MovieClip {
public function GAMEOVER_257(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 33
//HIGHSCORES_73 (4_level_pinball_demo_081217_fla.HIGHSCORES_73)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class HIGHSCORES_73 extends MovieClip {
public function HIGHSCORES_73(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 34
//HOWTOPlay_75 (4_level_pinball_demo_081217_fla.HOWTOPlay_75)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class HOWTOPlay_75 extends MovieClip {
public function HOWTOPlay_75(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 35
//level1dot_112 (4_level_pinball_demo_081217_fla.level1dot_112)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class level1dot_112 extends MovieClip {
public var line6_3:Dot;
public var line6_0:Dot;
public var line5_0:Dot;
public var line5_1:Dot;
public var line5_2:Dot;
public var line5_3:Dot;
public var line4_0:Dot;
public var line4_3:Dot;
public var line0_11:Dot;
public var line0_12:Dot;
public var line0_14:Dot;
public var line0_15:Dot;
public var line0_18:Dot;
public var line0_13:Dot;
public var line0_16:Dot;
public var line0_17:Dot;
public var line0_10:Dot;
public var line4_1:Dot;
public var line4_2:Dot;
public var line0_19:Dot;
public var line0_20:Dot;
public var line0_22:Dot;
public var line0_23:Dot;
public var line0_24:Dot;
public var line0_25:Dot;
public var line0_26:Dot;
public var line0_27:Dot;
public var line0_28:Dot;
public var flapper1_station:Dot;
public var line3_0:Dot;
public var line3_1:Dot;
public var line3_3:Dot;
public var line3_2:Dot;
public var line0_21:Dot;
public var line0_31:Dot;
public var line0_29:Dot;
public var line0_33:Dot;
public var line0_34:Dot;
public var line0_35:Dot;
public var line0_36:Dot;
public var line0_37:Dot;
public var line0_39:Dot;
public var line0_38:Dot;
public var line0_32:Dot;
public var line0_42:Dot;
public var line0_44:Dot;
public var line0_46:Dot;
public var line0_47:Dot;
public var line0_41:Dot;
public var line0_40:Dot;
public var line2_0:Dot;
public var line2_1:Dot;
public var line2_2:Dot;
public var line2_6:Dot;
public var line2_3:Dot;
public var line0_43:Dot;
public var line0_45:Dot;
public var line2_4:Dot;
public var line0_30:Dot;
public var line2_5:Dot;
public var line1_0:Dot;
public var line1_1:Dot;
public var line1_2:Dot;
public var line1_3:Dot;
public var line1_4:Dot;
public var line1_5:Dot;
public var line1_6:Dot;
public var line0_0:Dot;
public var line0_2:Dot;
public var line0_3:Dot;
public var line0_4:Dot;
public var line0_5:Dot;
public var line0_1:Dot;
public var line0_9:Dot;
public var line0_6:Dot;
public var line0_7:Dot;
public var line0_8:Dot;
public var flapper0_station:Dot;
public var line7_0:Dot;
public var line7_1:Dot;
public var line7_2:Dot;
public var line7_3:Dot;
public var line0_101:Dot;
public var line0_103:Dot;
public var line6_1:Dot;
public var line6_2:Dot;
public var line6_4:Dot;
public var line6_5:Dot;
public var line6_6:Dot;
public var line6_7:Dot;
public var line0_100:Dot;
public var line0_102:Dot;
}
}//package 4_level_pinball_demo_081217_fla
Section 36
//level2dot_134 (4_level_pinball_demo_081217_fla.level2dot_134)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class level2dot_134 extends MovieClip {
public var line5_0:Dot;
public var line5_1:Dot;
public var line5_2:Dot;
public var line5_3:Dot;
public var line5_4:Dot;
public var line4_0:Dot;
public var line4_3:Dot;
public var line4_4:Dot;
public var line4_5:Dot;
public var line0_11:Dot;
public var line0_12:Dot;
public var line0_14:Dot;
public var line0_15:Dot;
public var line0_18:Dot;
public var line0_13:Dot;
public var line0_16:Dot;
public var line0_17:Dot;
public var line0_10:Dot;
public var line4_2:Dot;
public var line0_19:Dot;
public var line4_1:Dot;
public var line0_20:Dot;
public var line0_22:Dot;
public var line0_23:Dot;
public var line0_24:Dot;
public var line0_25:Dot;
public var line0_26:Dot;
public var line0_27:Dot;
public var line0_28:Dot;
public var flapper1_station:Dot;
public var line3_0:Dot;
public var line3_1:Dot;
public var line3_3:Dot;
public var line3_2:Dot;
public var line0_21:Dot;
public var line3_4:Dot;
public var line0_31:Dot;
public var line0_29:Dot;
public var line0_30:Dot;
public var line2_0:Dot;
public var line2_2:Dot;
public var line2_1:Dot;
public var line2_3:Dot;
public var line2_4:Dot;
public var line1_0:Dot;
public var line1_1:Dot;
public var line1_2:Dot;
public var line1_3:Dot;
public var line1_4:Dot;
public var line1_5:Dot;
public var line9_0:Dot;
public var line9_2:Dot;
public var line9_3:Dot;
public var line9_1:Dot;
public var line0_0:Dot;
public var line0_2:Dot;
public var line0_4:Dot;
public var line0_1:Dot;
public var line8_1:Dot;
public var line0_3:Dot;
public var line0_5:Dot;
public var line0_6:Dot;
public var line0_7:Dot;
public var line0_8:Dot;
public var line8_8:Dot;
public var line8_3:Dot;
public var line8_5:Dot;
public var line8_0:Dot;
public var line8_9:Dot;
public var line8_7:Dot;
public var line0_9:Dot;
public var line8_2:Dot;
public var line8_4:Dot;
public var flapper0_station:Dot;
public var line8_6:Dot;
public var line7_0:Dot;
public var line7_1:Dot;
public var line7_2:Dot;
public var line7_3:Dot;
public var line7_5:Dot;
public var line7_4:Dot;
public var line0_100:Dot;
public var line0_101:Dot;
public var line0_102:Dot;
public var line0_103:Dot;
public var line6_1:Dot;
public var line6_2:Dot;
public var line6_0:Dot;
public var line6_3:Dot;
}
}//package 4_level_pinball_demo_081217_fla
Section 37
//level3_194 (4_level_pinball_demo_081217_fla.level3_194)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class level3_194 extends MovieClip {
public function level3_194(){
addFrameScript(0, frame1, 18, frame19);
}
function frame1(){
stop();
}
function frame19(){
gotoAndPlay(2);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 38
//level3dot_165 (4_level_pinball_demo_081217_fla.level3dot_165)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class level3dot_165 extends MovieClip {
public var line10_0:Dot;
public var line10_1:Dot;
public var line10_3:Dot;
public var line10_2:Dot;
public var line5_0:Dot;
public var line5_1:Dot;
public var line5_2:Dot;
public var line5_3:Dot;
public var line4_0:Dot;
public var line4_3:Dot;
public var line0_11:Dot;
public var line0_14:Dot;
public var line0_15:Dot;
public var line0_18:Dot;
public var line0_13:Dot;
public var line0_16:Dot;
public var line0_17:Dot;
public var line0_19:Dot;
public var line4_1:Dot;
public var line0_20:Dot;
public var line0_22:Dot;
public var line0_24:Dot;
public var line0_12:Dot;
public var line0_26:Dot;
public var line0_27:Dot;
public var line0_28:Dot;
public var line0_23:Dot;
public var line4_2:Dot;
public var line0_25:Dot;
public var line0_10:Dot;
public var line3_0:Dot;
public var line3_1:Dot;
public var line3_3:Dot;
public var line3_5:Dot;
public var line3_2:Dot;
public var line0_21:Dot;
public var line3_4:Dot;
public var line3_6:Dot;
public var line0_31:Dot;
public var line0_29:Dot;
public var line0_33:Dot;
public var line0_30:Dot;
public var line0_32:Dot;
public var flapper1_station:Dot;
public var line2_0:Dot;
public var line2_2:Dot;
public var line2_4:Dot;
public var line2_6:Dot;
public var line2_7:Dot;
public var line2_1:Dot;
public var line2_3:Dot;
public var line2_9:Dot;
public var line2_8:Dot;
public var line2_5:Dot;
public var line1_0:Dot;
public var line1_1:Dot;
public var line1_2:Dot;
public var line1_3:Dot;
public var line1_4:Dot;
public var line1_5:Dot;
public var line9_0:Dot;
public var line9_2:Dot;
public var line9_3:Dot;
public var line9_4:Dot;
public var line1_6:Dot;
public var line9_1:Dot;
public var line2_12:Dot;
public var line2_13:Dot;
public var line2_14:Dot;
public var line2_15:Dot;
public var line2_10:Dot;
public var line2_11:Dot;
public var line9_5:Dot;
public var line9_6:Dot;
public var line0_0:Dot;
public var line0_2:Dot;
public var line0_4:Dot;
public var line0_1:Dot;
public var line0_3:Dot;
public var line0_5:Dot;
public var line0_6:Dot;
public var line0_8:Dot;
public var line0_9:Dot;
public var line0_7:Dot;
public var line8_1:Dot;
public var line8_3:Dot;
public var line8_2:Dot;
public var line8_0:Dot;
public var flapper0_station:Dot;
public var line7_0:Dot;
public var line7_1:Dot;
public var line7_2:Dot;
public var line7_3:Dot;
public var line7_5:Dot;
public var line7_6:Dot;
public var line7_7:Dot;
public var line7_8:Dot;
public var line11_0:Dot;
public var line11_3:Dot;
public var line11_1:Dot;
public var line11_2:Dot;
public var line7_4:Dot;
public var line0_100:Dot;
public var line0_101:Dot;
public var line0_103:Dot;
public var line6_1:Dot;
public var line6_2:Dot;
public var line6_0:Dot;
public var line6_3:Dot;
public var line0_102:Dot;
}
}//package 4_level_pinball_demo_081217_fla
Section 39
//level4dot_198 (4_level_pinball_demo_081217_fla.level4dot_198)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class level4dot_198 extends MovieClip {
public var line6_3:Dot;
public var line5_0:Dot;
public var line5_1:Dot;
public var line5_2:Dot;
public var line5_3:Dot;
public var line5_4:Dot;
public var line5_5:Dot;
public var line4_0:Dot;
public var line4_3:Dot;
public var line4_4:Dot;
public var line4_5:Dot;
public var line0_11:Dot;
public var line0_12:Dot;
public var line0_15:Dot;
public var line0_18:Dot;
public var line0_13:Dot;
public var line0_16:Dot;
public var line0_17:Dot;
public var line0_10:Dot;
public var line0_14:Dot;
public var line0_19:Dot;
public var line4_1:Dot;
public var line0_20:Dot;
public var flapper1_station:Dot;
public var line0_21:Dot;
public var line4_2:Dot;
public var line3_0:Dot;
public var line3_1:Dot;
public var line3_3:Dot;
public var line3_2:Dot;
public var line3_4:Dot;
public var line2_0:Dot;
public var line2_2:Dot;
public var line2_1:Dot;
public var line2_3:Dot;
public var line2_4:Dot;
public var line1_0:Dot;
public var line1_1:Dot;
public var line1_2:Dot;
public var line1_3:Dot;
public var line1_4:Dot;
public var line1_5:Dot;
public var line9_0:Dot;
public var line9_2:Dot;
public var line9_3:Dot;
public var line9_1:Dot;
public var line0_0:Dot;
public var line0_2:Dot;
public var line0_4:Dot;
public var line0_1:Dot;
public var line0_9:Dot;
public var line0_3:Dot;
public var line0_5:Dot;
public var line0_6:Dot;
public var line0_7:Dot;
public var line0_8:Dot;
public var line8_1:Dot;
public var line8_3:Dot;
public var line8_0:Dot;
public var line8_2:Dot;
public var flapper0_station:Dot;
public var line7_0:Dot;
public var line7_1:Dot;
public var line7_2:Dot;
public var line7_3:Dot;
public var line7_5:Dot;
public var line7_4:Dot;
public var line0_101:Dot;
public var line0_102:Dot;
public var line6_1:Dot;
public var line6_2:Dot;
public var line6_4:Dot;
public var line0_103:Dot;
public var line6_0:Dot;
public var line0_100:Dot;
}
}//package 4_level_pinball_demo_081217_fla
Section 40
//logoani1_281 (4_level_pinball_demo_081217_fla.logoani1_281)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class logoani1_281 extends MovieClip {
public function logoani1_281(){
addFrameScript(239, frame240);
}
function frame240(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 41
//logologo_279 (4_level_pinball_demo_081217_fla.logologo_279)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class logologo_279 extends MovieClip {
public function logologo_279(){
addFrameScript(0, frame1, 239, frame240);
}
function frame1(){
}
function frame240(){
MovieClip(parent).play();
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 42
//MOREGAMES_77 (4_level_pinball_demo_081217_fla.MOREGAMES_77)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class MOREGAMES_77 extends MovieClip {
public function MOREGAMES_77(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 43
//Name_105 (4_level_pinball_demo_081217_fla.Name_105)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Name_105 extends MovieClip {
public function Name_105(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 44
//playagain_253 (4_level_pinball_demo_081217_fla.playagain_253)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class playagain_253 extends MovieClip {
public function playagain_253(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 45
//PLAYAGAIN_254 (4_level_pinball_demo_081217_fla.PLAYAGAIN_254)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class PLAYAGAIN_254 extends MovieClip {
public function PLAYAGAIN_254(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 46
//Quality_64 (4_level_pinball_demo_081217_fla.Quality_64)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Quality_64 extends MovieClip {
public var best:MovieClip;
public var low:MovieClip;
public var normal:MovieClip;
public function Quality_64(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
low.visible = false;
normal.visible = false;
}
}
}//package 4_level_pinball_demo_081217_fla
Section 47
//QUALITY_65 (4_level_pinball_demo_081217_fla.QUALITY_65)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class QUALITY_65 extends MovieClip {
public function QUALITY_65(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 48
//QUALITY_66 (4_level_pinball_demo_081217_fla.QUALITY_66)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class QUALITY_66 extends MovieClip {
public function QUALITY_66(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 49
//QUALITY_67 (4_level_pinball_demo_081217_fla.QUALITY_67)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class QUALITY_67 extends MovieClip {
public function QUALITY_67(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 50
//Score_106 (4_level_pinball_demo_081217_fla.Score_106)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Score_106 extends MovieClip {
public function Score_106(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 51
//soundon_61 (4_level_pinball_demo_081217_fla.soundon_61)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class soundon_61 extends MovieClip {
public var txt:MovieClip;
public function soundon_61(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
MovieClip(txt).gotoAndStop(language.language_nr);
}
function frame2(){
MovieClip(txt).gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 52
//start_game_267 (4_level_pinball_demo_081217_fla.start_game_267)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class start_game_267 extends MovieClip {
public function start_game_267(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 53
//STARTGAME_70 (4_level_pinball_demo_081217_fla.STARTGAME_70)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class STARTGAME_70 extends MovieClip {
public function STARTGAME_70(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 54
//submitscore_251 (4_level_pinball_demo_081217_fla.submitscore_251)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class submitscore_251 extends MovieClip {
public function submitscore_251(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 55
//submitscore_252 (4_level_pinball_demo_081217_fla.submitscore_252)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class submitscore_252 extends MovieClip {
public function submitscore_252(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 56
//Timeline_100 (4_level_pinball_demo_081217_fla.Timeline_100)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Timeline_100 extends MovieClip {
public var scores:TextField;
public var names:TextField;
}
}//package 4_level_pinball_demo_081217_fla
Section 57
//Timeline_150 (4_level_pinball_demo_081217_fla.Timeline_150)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_150 extends MovieClip {
public function Timeline_150(){
addFrameScript(0, frame1, 111, frame112);
}
function frame1(){
gotoAndPlay((Math.floor((Math.random() * 80)) + 1));
}
function frame112(){
gotoAndPlay(2);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 58
//Timeline_154 (4_level_pinball_demo_081217_fla.Timeline_154)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_154 extends MovieClip {
public function Timeline_154(){
addFrameScript(0, frame1, 113, frame114);
}
function frame1(){
gotoAndPlay((Math.floor((Math.random() * 80)) + 1));
}
function frame114(){
gotoAndPlay(2);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 59
//Timeline_159 (4_level_pinball_demo_081217_fla.Timeline_159)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_159 extends MovieClip {
public function Timeline_159(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 60
//Timeline_211 (4_level_pinball_demo_081217_fla.Timeline_211)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_211 extends MovieClip {
public function Timeline_211(){
addFrameScript(26, frame27);
}
function frame27(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 61
//Timeline_213 (4_level_pinball_demo_081217_fla.Timeline_213)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_213 extends MovieClip {
public function Timeline_213(){
addFrameScript(40, frame41);
}
function frame41(){
gotoAndPlay("xh");
}
}
}//package 4_level_pinball_demo_081217_fla
Section 62
//Timeline_218 (4_level_pinball_demo_081217_fla.Timeline_218)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_218 extends MovieClip {
public function Timeline_218(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
stop();
}
function frame5(){
gotoAndPlay(2);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 63
//Timeline_224 (4_level_pinball_demo_081217_fla.Timeline_224)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_224 extends MovieClip {
public function Timeline_224(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 64
//Timeline_225 (4_level_pinball_demo_081217_fla.Timeline_225)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_225 extends MovieClip {
public function Timeline_225(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 65
//Timeline_226 (4_level_pinball_demo_081217_fla.Timeline_226)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_226 extends MovieClip {
public function Timeline_226(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 66
//Timeline_262 (4_level_pinball_demo_081217_fla.Timeline_262)
package 4_level_pinball_demo_081217_fla {
import pinball.*;
import flash.display.*;
public dynamic class Timeline_262 extends MovieClip {
public function Timeline_262(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(Pinball.moden);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 67
//Timeline_264 (4_level_pinball_demo_081217_fla.Timeline_264)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class Timeline_264 extends MovieClip {
public var s:Number;
public function Timeline_264(){
addFrameScript(0, frame1, 26, frame27);
}
function frame1(){
gotoAndPlay(Math.floor(((Math.random() * 20) + 1)));
}
function frame27(){
x = (Math.random() * 520);
y = (Math.random() * 460);
s = ((Math.random() * 0.5) + 0.5);
scaleX = s;
scaleY = s;
gotoAndPlay(2);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 68
//water_163 (4_level_pinball_demo_081217_fla.water_163)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class water_163 extends MovieClip {
public function water_163(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 69
//YOULOSSEDONELIFE_243 (4_level_pinball_demo_081217_fla.YOULOSSEDONELIFE_243)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class YOULOSSEDONELIFE_243 extends MovieClip {
public var txt:MovieClip;
public function YOULOSSEDONELIFE_243(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 4_level_pinball_demo_081217_fla
Section 70
//YOURNAME_256 (4_level_pinball_demo_081217_fla.YOURNAME_256)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class YOURNAME_256 extends MovieClip {
public function YOURNAME_256(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 71
//YOURSCORE_255 (4_level_pinball_demo_081217_fla.YOURSCORE_255)
package 4_level_pinball_demo_081217_fla {
import flash.display.*;
public dynamic class YOURSCORE_255 extends MovieClip {
public function YOURSCORE_255(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndStop(language.language_nr);
}
}
}//package 4_level_pinball_demo_081217_fla
Section 72
//addScore (pinball.addScore)
package pinball {
import flash.display.*;
import flash.text.*;
public class addScore extends MovieClip {
public var txt:TextField;
public var parented:MovieClip;
}
}//package pinball
Section 73
//Ball (pinball.Ball)
package pinball {
import flash.display.*;
import flash.text.*;
public class Ball extends MovieClip {
public var y1;
public var moveCtrl:Boolean;
public var speedv:Number;
public var _vy;
public var txt:TextField;
public var _vx;
public var radius:Number;
public var x1;
public var vy;
public var parented;
public var x0;
public var vx;
public var _music_ballLost:music_ballLost;
public var y0;
public static var vx0;
public static var vy0:Number;
public static var gravity:Number = 0.4;
public function Ball(_arg1:Number=11){
_music_ballLost = new music_ballLost();
this.radius = _arg1;
x0 = 0;
y0 = 0;
x = 0;
y = 0;
vx0 = 0;
vy0 = 0;
vx = 0;
vy = 0;
speedv = 1;
}
private function init():void{
}
function moved():void{
if (moveCtrl){
x = x0;
y = y0;
};
}
function move():void{
if (moveCtrl){
vy = (vy + gravity);
if (vy > 14){
vy = 14;
};
if (vx > 14){
vx = 14;
};
_vx = (vx * speedv);
_vy = (vy * speedv);
x0 = (x0 + _vx);
y0 = (y0 + _vy);
if ((((y < -15)) && ((Level.levelNum < 4)))){
parented.num_ball = 1;
trace("Level.levelNum: ", Level.levelNum);
vx0 = vx;
vy0 = vy;
vx = 0;
vy = 0;
x0 = 0;
y0 = 200;
x = 0;
y = 200;
Level.levelNum++;
Pinball.Root.goTo(("level" + Level.levelNum), false, true, 2);
};
if ((((y > 477)) && ((Level.levelNum > 1)))){
if (parented.num_ball < 2){
if (Pinball.num_sound == 1){
trace("播放声音");
};
vx0 = vx;
vy0 = vy;
vx = 0;
vy = 0;
x0 = 0;
y0 = 200;
x = 0;
y = 200;
Level.levelNum--;
Pinball.Root.goTo(("level" + Level.levelNum), false, true, 1);
} else {
parented.resetItem();
};
};
if ((((y > 477)) && ((Level.levelNum == 1)))){
if (parented.num_ball < 2){
TimeScore.lifeDown();
vx0 = 0;
vy0 = 0;
vx = 0;
vy = 0;
x0 = 0;
y0 = 200;
x = 0;
y = 200;
if (TimeScore.life > 0){
Level.levelNum = 1;
Pinball.Root.goTo(("level" + Level.levelNum), true, true, 0);
} else {
Pinball.Root.goTo("lose", true, true, 0);
};
} else {
parented.resetItem();
};
};
};
}
}
}//package pinball
Section 74
//bigBOSS (pinball.bigBOSS)
package pinball {
import flash.display.*;
public class bigBOSS extends MovieClip {
public var y1;
public var _ball0;
private var num_life:uint;
private var frame;
private var addscore:addScores;
public var type:String;
private var score:int;
public var vx1;
public var x1;
public var hitDot:MovieClip;
public var parented;
private var hit:Boolean;
public var vy0;
public var vy1;
public var x0;
public var y0;
public var vx0;
public var hitDotNum:Number;
public function bigBOSS(){
addFrameScript(0, frame1, 7, frame8, 8, frame9, 18, frame19, 19, frame20, 30, frame31, 52, frame53, 92, frame93);
addscore = new addScores();
addscore.parented = this;
type = "BOSS";
frame = 0;
}
function frame93(){
showBall();
}
function frame1(){
stop();
}
public function reset():void{
if (Pinball.moden == 1){
num_life = 15;
} else {
if (Pinball.moden == 2){
num_life = 25;
} else {
if (Pinball.moden == 3){
num_life = 35;
};
};
};
hit = false;
frame = 0;
gotoAndStop(1);
}
function frame19(){
stop();
}
public function remove(){
removeChild(addscore);
}
public function respond(_arg1, _arg2:uint=1, _arg3:Number=0):void{
_ball0 = _arg1;
if (currentFrame < 9){
score = getScore.getScores(type);
addChild(addscore);
addscore.gotoAndPlay(2);
if (score > 0){
addscore.txt.text = String(score);
} else {
addscore.txt.text = "";
};
hit = true;
gotoAndStop("hited");
frame = 0;
num_life--;
};
if ((((currentFrame >= 9)) && ((currentFrame < 20)))){
if ((_arg1 is Ball)){
hit = true;
parented.setBall(_arg1, "dis");
gotoAndPlay("eat");
};
};
}
function frame8(){
stop();
}
function frame31(){
stop();
}
function frame20(){
parented.playSound("s_dog0_");
}
function frame9(){
parented.playSound("s_dog1_");
}
public function move():void{
frame++;
if (!hit){
if ((((frame < 280)) && (!((currentFrame == 1))))){
gotoAndStop(1);
} else {
if ((((frame > 280)) && ((currentFrame < 9)))){
gotoAndPlay(9);
} else {
if (frame > 400){
frame = 0;
gotoAndStop(1);
};
};
};
} else {
if ((((((frame > 150)) && ((num_life > 0)))) && ((currentFrame < 32)))){
hit = false;
frame = 0;
gotoAndStop(1);
};
if (num_life <= 0){
score = getScore.getScores("BOSSKILL");
addChild(addscore);
addscore.gotoAndPlay(2);
if (score > 0){
addscore.txt.text = String(score);
} else {
addscore.txt.text = "";
};
parented.resetLevel("miniBoss");
};
};
}
function frame53(){
parented.playSound("s_smail_");
}
public function showBall(_arg1:uint=1):void{
parented.remove("cart");
parented.setBall(_ball0, "show", x0, y0, vx0, vy0);
}
}
}//package pinball
Section 75
//chooseDiff (pinball.chooseDiff)
package pinball {
import flash.events.*;
import flash.display.*;
public class chooseDiff extends MovieClip {
public var button_mainscreen_moregames:SimpleButton;
public var bt_normal:SimpleButton;
public var logo_mainscreen:MovieClip;
public var parented;
public var bt_easy:SimpleButton;
public var bt_hard:SimpleButton;
private function _onMouseDown(_arg1:MouseEvent):void{
if (_arg1.target.name == "bt_easy"){
Pinball.moden = 1;
};
if (_arg1.target.name == "bt_normal"){
Pinball.moden = 2;
};
if (_arg1.target.name == "bt_hard"){
Pinball.moden = 3;
};
TimeScore.reSet();
Pinball.Root.goTo("level1", true);
}
public function init():void{
}
public function init2():void{
bt_easy.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
bt_normal.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
bt_hard.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
button_mainscreen_moregames.addEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick9);
}
public function removeEvent():void{
bt_easy.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
bt_normal.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
bt_hard.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
button_mainscreen_moregames.removeEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick9);
}
}
}//package pinball
Section 76
//Crab (pinball.Crab)
package pinball {
public class Crab extends hitObj_3 {
private var areaX:Number;
private var frame:uint;
private var angle;
public function Crab(){
addFrameScript(0, frame1, 4, frame5, 19, frame20, 20, frame21, 32, frame33, 38, frame39);
angle = 0;
frame = 0;
}
override public function respond_end():void{
}
public function reset():void{
hitNum = Pinball.moden;
hit = true;
angle = 1.5;
y = 240;
x = ((Math.cos(angle) * 90) + 329);
radius = 22;
frame = 0;
gotoAndPlay("show2");
}
function frame5(){
parented.playSound("s_hit_");
}
function frame20(){
if (hitNum > 0){
gotoAndStop(1);
hit = false;
};
}
override public function respond(_arg1):void{
hit = true;
gotoAndPlay("show");
hitNum--;
}
function frame21(){
parented.playSound("s_gold_");
}
function frame39(){
hit = false;
}
function frame33(){
stop();
}
function frame1(){
stop();
}
public function move():void{
if (!hit){
frame++;
areaX = ((Math.cos(angle) * 90) + 329);
angle = (angle + 0.04);
x = areaX;
};
}
}
}//package pinball
Section 77
//EvilPirate (pinball.EvilPirate)
package pinball {
public class EvilPirate extends hitObj_3 {
private var areaX:Number;
private var frame:uint;
private var angle;
public function EvilPirate(){
type = "Moving";
angle = 0;
frame = 0;
}
public function reset():void{
hit = true;
angle = 1.5;
y = 220;
x = ((Math.cos(angle) * 80) + 320);
frame = 0;
gotoAndPlay("show2");
}
override public function respond(_arg1):void{
hit = true;
gotoAndPlay("show");
hitNum--;
}
public function move():void{
if (!hit){
frame++;
if (frame < 150){
areaX = ((Math.cos(angle) * 80) + 320);
angle = (angle + 0.04);
if ((((areaX > x)) && (!((currentFrame == 3))))){
gotoAndStop(3);
} else {
if ((((areaX < x)) && (!((currentFrame == 2))))){
gotoAndStop(2);
};
};
x = areaX;
} else {
gotoAndStop(1);
if (frame > 200){
frame = 1;
};
};
};
}
}
}//package pinball
Section 78
//Farmer (pinball.Farmer)
package pinball {
import flash.display.*;
public class Farmer extends hitObj_3 {
public var farmer:MovieClip;
private var areaX:Number;
private var frame:uint;
private var angle;
public function Farmer(){
angle = 0;
frame = 0;
}
override public function respond_end():void{
}
public function reset(_arg1:Level):void{
parented = _arg1;
radius = 24;
hitNum = Pinball.moden;
gotoAndPlay("show2");
}
override public function respond(_arg1):void{
score = getScore.getScores(type);
addChild(addscore);
addscore.gotoAndPlay(2);
if (score > 0){
addscore.txt.text = String(score);
} else {
addscore.txt.text = "";
};
gotoAndPlay("show");
hitNum--;
}
public function move():void{
}
}
}//package pinball
Section 79
//Fires (pinball.Fires)
package pinball {
import flash.display.*;
public class Fires extends MovieClip {
public var radius:Number;
public function Fires(){
radius = 42;
}
}
}//package pinball
Section 80
//Flapper (pinball.Flapper)
package pinball {
import flash.display.*;
public class Flapper extends Sprite {
public var speedv:Number;
public var _up;
private var speed:Number;
public var rotationDown;
public var line0_1:Dot;
public var line0_0:Dot;
public var rotation1;
public var level:Level;
public var _down:Boolean;
public var r:Number;
public var down;
public var up;
public var rotationUp;
public function Flapper(_arg1:Number){
this.r = _arg1;
}
public function init(){
up = false;
_up = false;
down = false;
_down = true;
speed = 17.5;
speedv = 0;
if (r == 0){
rotationDown = 40;
rotationUp = -30;
rotation1 = 40;
} else {
rotationDown = 140;
rotationUp = 210;
rotation1 = 140;
};
rotation = rotation1;
}
public function moves():void{
if (up){
if (r == 0){
if (rotation1 > rotationUp){
rotation1 = (rotation1 - speed);
if (speedv < 1){
speedv = (speedv + 0.2);
};
_up = false;
} else {
rotation1 = rotationUp;
up = false;
_up = true;
_down = false;
speedv = 0;
};
} else {
if (rotation1 < rotationUp){
rotation1 = (rotation1 + speed);
speedv = (speedv + 0.2);
_up = false;
} else {
rotation1 = rotationUp;
up = false;
_up = true;
_down = false;
speedv = 0;
};
};
};
if (((((((down) && (!(_down)))) && (_up))) && (!(up)))){
if (r == 0){
if (rotation1 < rotationDown){
rotation1 = (rotation1 + speed);
if (speedv < 1){
};
} else {
rotation1 = rotationDown;
_up = false;
up = false;
_down = true;
down = false;
speedv = 0;
};
} else {
if (rotation1 > rotationDown){
rotation1 = (rotation1 - speed);
} else {
rotation1 = rotationDown;
_up = false;
up = false;
_down = true;
down = false;
speedv = 0;
};
};
};
rotation = rotation1;
level.updataFlapper();
}
}
}//package pinball
Section 81
//getScore (pinball.getScore)
package pinball {
import flash.display.*;
public class getScore extends Sprite {
private static var score_array_BOSS = [[], [], [], [], [0, 200, 400, 800]];
private static var score_array_Moving = [[], [0, 20, 40, 80], [0, 40, 80, 160], [0, 80, 160, 320], [0, 160, 320, 640]];
private static var score_array_Multipletimes = [[], [0, 2, 5, 10], [0, 5, 10, 20], [0, 10, 20, 40], [0, 20, 40, 80]];
private static var score_array_NonMoving = [[], [0, 10, 20, 40], [0, 20, 40, 80], [0, 40, 80, 160], [0, 80, 160, 320]];
private static var score_array:Array = [0, 1, 2, 4, 8];
private static var score_array_Once = [[], [0, 5, 10, 20], [0, 10, 20, 40], [0, 20, 40, 80], [0, 40, 80, 160]];
private static var score_array_MiniBoss = [[], [0, 20, 40, 80], [0, 40, 80, 160], [0, 80, 160, 320], [0, 160, 320, 640]];
private static var score_array_warp = [[], [0, 30, 60, 120], [0, 60, 120, 240], [0, 120, 240, 480], [0, 240, 480, 960]];
private static var score_array_BOSSKILL = [[], [], [], [], [0, 1000, 2000, 4000]];
public static function getScores(_arg1:String):int{
var _local2:int;
_local2 = 0;
if ((((((((((((((((_arg1 == "Multipletimes")) || ((_arg1 == "Once")))) || ((_arg1 == "NonMoving")))) || ((_arg1 == "Moving")))) || ((_arg1 == "warp")))) || ((_arg1 == "MiniBoss")))) || ((_arg1 == "BOSS")))) || ((_arg1 == "BOSSKILL")))){
_local2 = (getScore[("score_array_" + _arg1)][Level.levelNum][Pinball.moden] * 100);
TimeScore.score = (TimeScore.score + _local2);
};
return (_local2);
}
}
}//package pinball
Section 82
//HighScore (pinball.HighScore)
package pinball {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public class HighScore extends MovieClip {
private var i:uint;
public var _bt_back:SimpleButton;
public var high11:MovieClip;
public var _button_highscore_3000games:SimpleButton;
public var bt_back:MovieClip;
public var parented;
public var high0:MovieClip;
public var high1:MovieClip;
public var high2:MovieClip;
public var high3:MovieClip;
public var high4:MovieClip;
public var high5:MovieClip;
public var high6:MovieClip;
public var high7:MovieClip;
public var high8:MovieClip;
public var high9:MovieClip;
public var button_highscore_3000games:MovieClip;
static var obj:Object;
static var h_score:uint = 11;
private static var so:SharedObject;
public function HighScore(){
var _local1:Array;
var _local2:String;
super();
obj = this;
so = SharedObject.getLocal("4LevelPinball");
if (so.data.highScore == null){
_local1 = ["", "Player", "玩家", "Speler", "Joueur", "Spieler", "Gracz", "Spelare", "Giocatore", "Jugador", "Jogador", "Jogador", "Игрок", "Pemain", "Oyuncu", "Pemain", "Player", "プレイヤー"];
_local2 = _local1[language.language_nr];
so.data.highScore = [];
i = 0;
while (i < 10) {
so.data.highScore[i] = [_local2, ((1000000 - (i * 100000)) - (i * 10000))];
i++;
};
so.flush();
};
showScore();
}
private function _onMouseDown(_arg1:MouseEvent):void{
if (_arg1.target.name == "_bt_back"){
Pinball.Root.goTo("intro");
};
}
public function init(){
_button_highscore_3000games.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_button_highscore_3000games.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_button_highscore_3000games.addEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick7);
_bt_back.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_back.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_back.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
}
public function removeEvent():void{
}
private function showScore(){
i = 0;
while (i < 10) {
this[("high" + i)].gotoAndStop(1);
this[("high" + i)].names.text = so.data.highScore[i][0];
this[("high" + i)].scores.text = so.data.highScore[i][1];
this[("high" + h_score)].names.textColor = 0xCCCCCC;
this[("high" + h_score)].scores.textColor = 0xCCCCCC;
i++;
};
this[("high" + h_score)].gotoAndStop(2);
this[("high" + h_score)].names.textColor = 687256;
this[("high" + h_score)].scores.textColor = 687256;
}
private function _mouseover(_arg1:MouseEvent){
if (_arg1.target.name == "_button_highscore_3000games"){
button_highscore_3000games.gotoAndStop(2);
};
if (_arg1.target.name == "_bt_back"){
bt_back.gotoAndStop(2);
};
}
private function _mouseout(_arg1:MouseEvent){
if (_arg1.target.name == "_button_highscore_3000games"){
button_highscore_3000games.gotoAndStop(1);
};
if (_arg1.target.name == "_bt_back"){
bt_back.gotoAndStop(1);
};
}
private static function order(_arg1, _arg2){
var _local3:Number;
var _local4:Number;
_local3 = _arg1[1];
_local4 = _arg2[1];
if (_local3 > _local4){
return (-1);
};
if (_local3 < _local4){
return (1);
};
return (0);
}
public static function subScore(_arg1, _arg2):void{
var _local3:int;
so.data.highScore.push([_arg1, _arg2]);
so.data.highScore.sort(order);
so.data.highScore.length = 10;
_local3 = 0;
while (_local3 < 10) {
if ((((so.data.highScore[_local3][1] == _arg2)) && ((so.data.highScore[_local3][0] == _arg1)))){
h_score = _local3;
break;
};
if (_local3 == 9){
h_score = 11;
};
_local3++;
};
so.flush();
obj.showScore();
}
}
}//package pinball
Section 83
//hitObj_1 (pinball.hitObj_1)
package pinball {
import flash.display.*;
public class hitObj_1 extends MovieClip {
public var y1;
public var obj:MovieClip;
public var _ball0;
public var ball_x:Number;
public var hitDot2:MovieClip;
public var ball_:MovieClip;
private var addscore:addScores;
public var type:String;
private var score:int;
public var vx1;
public var x1;
public var hitDot:MovieClip;
public var parented:Object;
private var hit:Boolean;// = false
public var vy0;
public var vy1;
public var x0;
public var y0;
public var vx0;
public var hitDotNum;
public function hitObj_1(){
hit = false;
super();
addscore = new addScores();
addscore.parented = this;
x0 = 0;
y0 = 0;
x1 = 0;
y1 = 0;
vx0 = 0;
vy0 = 0;
vx1 = 0;
vy1 = 0;
}
public function remove(){
removeChild(addscore);
}
public function respond(_arg1, _arg2:uint=1, _arg3:Number=0):void{
if ((((currentFrame == 1)) && ((_arg1 is Ball)))){
_ball0 = _arg1;
score = getScore.getScores(type);
addChild(addscore);
addscore.gotoAndPlay(2);
if (score > 0){
addscore.txt.text = String(score);
} else {
addscore.txt.text = "";
};
if (_arg3 < 466){
ball_x = _arg3;
} else {
ball_x = 466;
};
hit = true;
if (_arg2 == 1){
gotoAndPlay(2);
} else {
gotoAndPlay("show2");
};
parented.setBall(_ball0, "dis");
};
}
public function move():void{
if (hit){
if (ball_x < 486){
ball_x = (ball_x + 4);
ball_.x = ball_x;
ball_.y = 292;
} else {
if (ball_.y < 352){
ball_.x = 487;
ball_.y = (ball_.y + 4);
} else {
ball_.x = 1500;
hit = false;
gotoAndStop(1);
showBall();
};
};
};
}
public function showBall(_arg1:uint=1):void{
if (_arg1 == 1){
parented.setBall(_ball0, "show", x0, y0, vx0, vy0);
} else {
parented.setBall(_ball0, "show", x1, y1, vx1, vy1);
};
}
}
}//package pinball
Section 84
//hitObj_2 (pinball.hitObj_2)
package pinball {
import flash.display.*;
public class hitObj_2 extends MovieClip {
public var y1;
public var obj:MovieClip;
public var n:int;
protected var addscore:addScores;
public var type:String;
protected var score:int;
public var vx1;
public var x1;
public var hitDot:MovieClip;
public var parented:Object;
public var vy0;
public var vy1;
public var x0;
public var y0;
public var vx0;
public var hitDotNum:Number;
public function hitObj_2(){
addscore = new addScores();
addscore.parented = this;
}
public function remove(){
removeChild(addscore);
}
public function respond(_arg1, _arg2:uint=1, _arg3:Number=0):void{
if (currentFrame == 1){
score = getScore.getScores(type);
addChild(addscore);
addscore.gotoAndPlay(2);
if (score > 0){
addscore.txt.text = String(score);
} else {
addscore.txt.text = "";
};
gotoAndPlay(2);
};
}
public function showBall(_arg1:uint=1):void{
}
}
}//package pinball
Section 85
//hitObj_3 (pinball.hitObj_3)
package pinball {
import flash.display.*;
public class hitObj_3 extends MovieClip {
public var y1;
public var hitNum:int;
protected var score:int;
protected var addscore:addScores;
public var radius:Number;
public var type:String;
public var vx1;
public var hitDot:MovieClip;
public var parented:Object;
public var hit:Boolean;
public var obj_42:MovieClip;
public var vy1;
public var x0;
public var x1;
public var vy0;
public var y0;
public var vx0;
public var hitDotNum;
public function hitObj_3(){
addscore = new addScores();
addscore.parented = this;
}
public function respond_end():void{
}
public function remove(){
removeChild(addscore);
}
public function respond(_arg1):void{
score = getScore.getScores(type);
addChild(addscore);
addscore.gotoAndPlay(2);
if (score > 0){
addscore.txt.text = String(score);
} else {
addscore.txt.text = "";
};
gotoAndPlay(2);
hitNum--;
}
public function showBall():void{
}
}
}//package pinball
Section 86
//HowToPlay (pinball.HowToPlay)
package pinball {
import flash.events.*;
import flash.display.*;
public class HowToPlay extends MovieClip {
public var bt_start:MovieClip;
public var _bt_back:SimpleButton;
public var _bt_start:SimpleButton;
public var gamestart:Boolean;
public var bt_back:MovieClip;
public function HowToPlay(){
addFrameScript(0, frame1, 27, frame28, 28, frame29, 47, frame48, 48, frame49, 68, frame69);
}
private function _onMouseDown(_arg1:MouseEvent):void{
if (_arg1.target.name == "_bt_back"){
Pinball.Root.goTo("intro", true);
};
if (_arg1.target.name == "_bt_start"){
Level.gameStart = false;
Pinball.moden = 2;
TimeScore.reSet();
Pinball.Root.goTo("level1", true);
};
}
public function init():void{
}
public function init2():void{
_bt_back.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_back.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_back.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
}
public function init3():void{
_bt_start.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_start.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_start.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
}
function frame1(){
stop();
}
public function removeEvent():void{
if (gamestart){
_bt_start.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_start.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_start.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
} else {
_bt_back.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_back.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_back.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
};
}
function frame29(){
init2();
}
function frame28(){
if (gamestart){
gotoAndPlay("start");
};
}
private function _mouseover(_arg1:MouseEvent){
if (_arg1.target.name == "_bt_back"){
bt_back.gotoAndStop(2);
};
if (_arg1.target.name == "_bt_start"){
bt_start.gotoAndStop(2);
};
}
function frame48(){
stop();
}
function frame49(){
init3();
}
private function _mouseout(_arg1:MouseEvent){
if (_arg1.target.name == "_bt_back"){
bt_back.gotoAndStop(1);
};
if (_arg1.target.name == "_bt_start"){
bt_start.gotoAndStop(1);
};
}
function frame69(){
stop();
}
}
}//package pinball
Section 87
//Intro (pinball.Intro)
package pinball {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.net.*;
public class Intro extends MovieClip {
public var introBgm1:introBgm;
public var bt_quality:SimpleButton;
public var introBgm0;
public var bt1:MovieClip;
public var bt3:MovieClip;
public var bt2:MovieClip;
public var loa:MovieClip;
public var button_mainscreen_moregames:SimpleButton;
public var _bt3:SimpleButton;
public var more:MovieClip;
public var _bt2:SimpleButton;
public var logo_mainscreen:MovieClip;
public var _bt1:SimpleButton;
public var bt_quality_:MovieClip;
public var bt_sound_:MovieClip;
public var parented;
public var time:Timer;
public var gameportal:SimpleButton;
public var bt_sound:SimpleButton;
public var currentF:int;
public function Intro(){
time = new Timer(2000, 0);
currentF = 1;
introBgm0 = new introBgm();
introBgm1 = new introBgm();
loa.addChild(introBgm0);
loa.addChild(introBgm1);
introBgm0.y = 0;
introBgm1.y = 460;
}
public function _onClik(_arg1:MouseEvent):void{
var _local2:URLRequest;
if (_arg1.target.name == "_bt1"){
Pinball.Root.goTo("howtoplay", true);
};
if (_arg1.target.name == "_bt2"){
if (language.language_nr != 2){
Pinball.Root.goTo("highScore");
} else {
_local2 = new URLRequest(("http://user.game.com.cn/game/?action=highscore&id=" + Random.gameID));
navigateToURL(_local2, "_blank");
};
};
if (_arg1.target.name == "_bt3"){
Pinball.Root.goTo("howtoplay");
};
if (_arg1.target.name == "_bt4"){
};
if (_arg1.target.name == "bt_sound"){
Pinball.num_sound++;
if (Pinball.num_sound > 2){
Pinball.num_sound = 1;
};
if (Pinball.num_sound == 1){
parented.setVolume(1);
} else {
parented.setVolume(0);
};
reset("num_sound");
};
if (_arg1.target.name == "bt_quality"){
Pinball.num_quality++;
if (Pinball.num_quality > 3){
Pinball.num_quality = 1;
};
reset("num_quality");
};
}
public function init():void{
more.gotoAndStop(1);
reset("num_sound");
reset("num_quality");
time.addEventListener(TimerEvent.TIMER, nextpic);
time.start();
bt_sound.addEventListener(MouseEvent.MOUSE_DOWN, _onClik);
bt_quality.addEventListener(MouseEvent.MOUSE_DOWN, _onClik);
_bt1.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt1.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt1.addEventListener(MouseEvent.MOUSE_DOWN, _onClik);
_bt2.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt2.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt2.addEventListener(MouseEvent.MOUSE_DOWN, _onClik);
_bt3.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt3.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt3.addEventListener(MouseEvent.MOUSE_DOWN, _onClik);
button_mainscreen_moregames.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
button_mainscreen_moregames.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
button_mainscreen_moregames.addEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick4);
gameportal.addEventListener(MouseEvent.CLICK, parented.onCLick2);
}
public function reset(_arg1:String){
if (_arg1 == "num_sound"){
bt_sound_.gotoAndStop(Pinball.num_sound);
};
if (_arg1 == "num_quality"){
bt_quality_.low.visible = false;
bt_quality_.normal.visible = false;
bt_quality_.best.visible = false;
if (Pinball.num_quality == 3){
stage.quality = "LOW";
bt_quality_.low.visible = true;
};
if (Pinball.num_quality == 2){
stage.quality = "MEDIUM";
bt_quality_.normal.visible = true;
};
if (Pinball.num_quality == 1){
stage.quality = "HIGH";
bt_quality_.best.visible = true;
};
};
}
public function removeEvent():void{
time.stop();
time.removeEventListener(TimerEvent.TIMER, nextpic);
removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
bt_sound.removeEventListener(MouseEvent.MOUSE_DOWN, _onClik);
bt_quality.removeEventListener(MouseEvent.MOUSE_DOWN, _onClik);
_bt1.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt1.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt1.removeEventListener(MouseEvent.MOUSE_DOWN, _onClik);
_bt2.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt2.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt2.removeEventListener(MouseEvent.MOUSE_DOWN, _onClik);
_bt3.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt3.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt3.removeEventListener(MouseEvent.MOUSE_DOWN, _onClik);
button_mainscreen_moregames.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
button_mainscreen_moregames.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
button_mainscreen_moregames.removeEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick4);
gameportal.removeEventListener(MouseEvent.CLICK, parented.onCLick2);
}
public function _onEnterFrame(_arg1:Event):void{
introBgm0.y = (introBgm0.y + ((-460 - introBgm0.y) * 0.2));
introBgm1.y = (introBgm1.y + (-(introBgm1.y) * 0.2));
if (introBgm1.y < 1){
time.start();
introBgm0.y = 0;
introBgm0.gotoAndStop(currentF);
introBgm1.y = 460;
removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
};
}
public function nextpic(_arg1:TimerEvent):void{
currentF++;
if (currentF > 4){
currentF = 1;
};
time.stop();
introBgm1.gotoAndStop(currentF);
addEventListener(Event.ENTER_FRAME, _onEnterFrame);
}
private function _mouseover(_arg1:MouseEvent){
if (_arg1.target.name == "_bt1"){
bt1.gotoAndStop(2);
};
if (_arg1.target.name == "_bt2"){
bt2.gotoAndStop(2);
};
if (_arg1.target.name == "_bt3"){
bt3.gotoAndStop(2);
};
if (_arg1.target.name == "button_mainscreen_moregames"){
more.gotoAndStop(2);
};
}
private function _mouseout(_arg1:MouseEvent){
if (_arg1.target.name == "_bt1"){
bt1.gotoAndStop(1);
};
if (_arg1.target.name == "_bt2"){
bt2.gotoAndStop(1);
};
if (_arg1.target.name == "_bt3"){
bt3.gotoAndStop(1);
};
if (_arg1.target.name == "button_mainscreen_moregames"){
more.gotoAndStop(1);
};
}
}
}//package pinball
Section 88
//introBgm (pinball.introBgm)
package pinball {
import flash.display.*;
public class introBgm extends MovieClip {
public function introBgm(){
stop();
}
}
}//package pinball
Section 89
//Item (pinball.Item)
package pinball {
import flash.display.*;
public class Item extends MovieClip {
public var hitDot:MovieClip;
public var parented;
public var _itmes:MovieClip;
public var _n:int;
public function respond(_arg1, _arg2:uint=1, _arg3:Number=0):void{
if (currentFrame == 1){
parented.exeItem(_n);
gotoAndPlay(2);
};
}
}
}//package pinball
Section 90
//JumpLevel (pinball.JumpLevel)
package pinball {
import flash.display.*;
public class JumpLevel extends MovieClip {
public var jumpto:int;
public var vx0;
public var hitDot:MovieClip;
public var parented:Level;
public var vy0:Number;
public function JumpLevel(){
vx0 = 0;
vy0 = 0;
}
public function respond(_arg1, _arg2:uint=1, _arg3:Number=0):void{
if ((_arg1 is Ball)){
parented.setBall(_arg1, "dis");
Ball.vx0 = vx0;
Ball.vy0 = vy0;
if ((((Level.levelNum == 3)) && ((parented.num_ball == 1)))){
parented.num_ball--;
Level.levelNum = jumpto;
Pinball.Root.goTo(("level" + Level.levelNum), false, true, 3);
};
if (Level.levelNum != 3){
Level.levelNum = jumpto;
Pinball.Root.goTo(("level" + Level.levelNum), false, true, 3);
};
};
}
}
}//package pinball
Section 91
//Level (pinball.Level)
package pinball {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
public class Level extends Sprite {
public var s_qiqiu_;
protected var dot0;
protected var dot1:String;
protected var spring:Spring;
public var ball1:Balls;
public var Ball_Speed:Boolean;
public var ball0;
public var s_shua_;
public var s0;
public var s1;
public var s3;
public var s4;
public var s6;
public var s8;
public var s5;
public var s7;
public var s9;
public var s2;
public var s_smail_;
public var _miniBOSSend:Boolean;
public var itemlines_low:Boolean;
public var num_itemlines;
private var soundList;
protected var flapper_num;
protected var move_array;
public var Ball_Spring;
public var s_hit2_;
public var Ball_Fire;
public var s_girl_;
public var s_cow_;
protected var bounce:Number;// = -0.65
public var x10:Number;
public var s_bao_;
protected var list;
public var x0;
public var x2;
public var x3;
public var s_haitun_;
protected var hitObj_array;
public var x7;
protected var lineArray;
public var x1;
public var parented;
public var s_san_;
protected var time:Timer;
public var item_spring:ItemSpring;
public var y0;
public var y2;
public var y3;
public var s_yumi_;
public var y6;
public var y7;
public var y1;
public var x6;
public var s_suihua_;
public var s_pig_;
public var Ball_Brake;
public var s_kulou_;
public var item:Items;
protected var lineAllowed:Array;
protected var flapper1_0:Line;
protected var hitObj2_array;
public var num_ball:int;
public var s_gold_;
public var station:Array;
protected var flapper0_0;
public var s_jianjiao_;
public var num_speedv2:int;
protected var frame:int;
public var s_hit_;
public var s_water_;
protected var resetPoings:Sprite;
public var s_guiwu_;
public var s_chair_;
public var s_chicken_;
protected var lineAllowed2;
public var s_dog0_;
public var s_boli0_;
protected var flapper0;
protected var flapper1:Flapper;
public var allowed:Boolean;
protected var lineSort;
public var s_boli1_;
public var s_boli2_;
public var s_dog1_:Sound;
protected var lineSortArray;
protected var setDepth_num:int;
public var s_guanzi_;
public var itemlines:ItemLines;
public var s_tree_;
public var s10;
public var s_dayizi_;
private var soundList2:Array;
public var s11:Sprite;
public var s_zhuangqiu_;
public var item_fire:Fire;
protected var timescore:TimeScores;
protected var dotDrow;
public var s_goat_;
public var num_speedv;
public var s_huoche_;
public static var gameStart:Boolean;
public static var levelNum:uint;
public function Level(){
var _local1:int;
bounce = -0.65;
super();
soundList = [s_smail, s_yumi, s_guanzi, s_bao, s_gold, s_shua, s_hit, s_hit2, s_dayizi, s_tree, s_san, s_girl, s_water, s_chair, s_haitun, s_pig, s_goat, s_cow, s_chicken, s_suihua, s_qiqiu, s_huoche, s_jianjiao, s_guiwu, s_kulou, s_zhuangqiu, s_boli0, s_boli1, s_boli2, s_dog0, s_dog1];
soundList2 = ["s_smail", "s_yumi", "s_guanzi", "s_bao", "s_gold", "s_shua", "s_hit", "s_hit2", "s_dayizi", "s_tree", "s_san", "s_girl", "s_water", "s_chair", "s_haitun", "s_pig", "s_goat", "s_cow", "s_chicken", "s_suihua", "s_qiqiu", "s_huoche", "s_jianjiao", "s_guiwu", "s_kulou", "s_zhuangqiu", "s_boli0", "s_boli1", "s_boli2", "s_dog0", "s_dog1"];
_local1 = 0;
while (_local1 < soundList.length) {
this[(soundList2[_local1] + "_")] = new (soundList[_local1]);
_local1++;
};
_local1 = 0;
while (_local1 < 12) {
this[("s" + _local1)] = new Sprite();
addChild(this[("s" + _local1)]);
this[("s" + _local1)].visible = false;
_local1++;
};
item_fire = new Fire();
addChild(item_fire);
item_fire.x = 1000;
item_spring = new ItemSpring();
addChild(item_spring);
item_spring.x = 1000;
itemlines = new ItemLines();
addChild(itemlines);
itemlines.y = 298;
itemlines.x = 1000;
itemlines_low = false;
item = new Items();
addChild(item);
gameStart = true;
bounce = -0.55;
flapper_num = 1;
flapper0 = new Flapper(0);
flapper1 = new Flapper(1);
addChild(flapper0);
addChild(flapper1);
timescore = new TimeScores();
addChild(timescore);
timescore.parented = this;
ball0 = new Balls();
addChild(ball0);
ball1 = new Balls();
addChild(ball1);
ball0.parented = this;
ball1.parented = this;
dotDrow = new Sprite();
resetPoings = new resetPoing();
spring = new Spring();
setDepth_num = 0;
}
public function miniBOSSend(){
}
public function exeItem(_arg1:int){
if ((((num_ball == 1)) && ((_arg1 == 1)))){
ball1.x = 388;
ball1.y = 340;
ball1.x0 = 388;
ball1.y0 = 340;
ball1.moveCtrl = true;
num_ball = 2;
};
if (_arg1 == 2){
Ball_Fire = true;
num_speedv2 = 9;
num_speedv = 0;
Ball_Fire = true;
};
if (_arg1 == 3){
Ball_Brake = true;
num_itemlines = 3;
itemlines.x = 0;
};
if (_arg1 == 4){
timescore.add();
};
if (_arg1 == 5){
Ball_Spring = true;
item_spring.x = 1000;
item_spring.x0 = x10;
item_spring.x1 = x10;
item_spring.y0 = 400;
item_spring.y1 = 400;
item_spring.vx0 = -1;
item_spring.vy0 = -10;
item_spring.vx1 = 1;
item_spring.vy1 = -10;
item_spring.x = x10;
item_spring.y = 460;
setChildIndex(item_spring, (numChildren - 1));
};
frame = (((60 * 10) * 30) * -1);
}
public function playSound(_arg1:String){
if (Pinball.num_sound == 1){
this[_arg1].play(0, 1);
};
}
public function remove(_arg1:String):void{
var _local2:int;
_local2 = (numChildren - 1);
while (_local2 > -1) {
if (getChildAt(_local2).name == _arg1){
removeChildAt(_local2);
};
_local2--;
};
}
public function ball2line(_arg1, _arg2):Object{
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:int;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:int;
_local3 = {};
_local3.bounceFlapper = false;
_local3.bounced = false;
_local4 = (_arg1.x0 - _arg2.x0);
_local5 = (_arg1.y0 - _arg2.y0);
_local6 = ((_arg2.cos * _local4) + (_arg2.sin * _local5));
if ((((((_local6 > 0)) && ((_local6 < _arg2.len)))) && (_arg2.allowed))){
_local7 = ((_arg2.cos * _local5) - (_arg2.sin * _local4));
_local8 = (_arg1.radius - Math.abs(_local7));
if ((((_local8 >= 0)) && ((_arg2.allowed == true)))){
_local9 = ((_arg2.cos * _arg1.vx) + (_arg2.sin * _arg1.vy));
_local10 = ((_arg2.cos * _arg1.vy) - (_arg2.sin * _arg1.vx));
_local11 = 0;
if (_local7 < _local10){
_local11 = -(_arg1.radius);
};
if (_local7 > _local10){
_local11 = _arg1.radius;
};
if (_arg2.flapper == 0){
_local11 = -(_arg1.radius);
};
if (_arg2.flapper == 1){
_local11 = _arg1.radius;
};
if (_arg2.flapper < 0){
stage.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
trace(" ");
trace("tmp_y1", _local7);
trace("tmp_vy1", _local10);
trace("tmp_y2", _local11);
trace("_line", _arg2);
trace("_line.flapper", _arg2.flapper);
trace(" ");
};
_local12 = 0;
_local13 = 0;
_local14 = 0;
_local15 = _local10;
while (_local12 < 2) {
_local10 = _local15;
_local10 = (_local10 * bounce);
if ((((_arg2.flapper == 1)) && (!((_arg2.p.speedv == 0))))){
_local9 = 0;
if (Ball_Brake){
_local10 = 30;
} else {
_local10 = 24;
};
_local11 = 25;
};
if ((((_arg2.flapper == 0)) && (!((_arg2.p.speedv == 0))))){
_local9 = 0;
if (Ball_Brake){
_local10 = -30;
} else {
_local10 = -24;
};
_local11 = -25;
};
_local4 = ((_arg2.cos * _local6) - (_arg2.sin * _local11));
_local5 = ((_arg2.cos * _local11) + (_arg2.sin * _local6));
_arg1.vx = ((_arg2.cos * _local9) - (_arg2.sin * _local10));
_arg1.vy = ((_arg2.cos * _local10) + (_arg2.sin * _local9));
_local13 = (_arg2.x0 + _local4);
_local14 = (_arg2.y0 + _local5);
if (allowed){
_local16 = 0;
while (_local16 < lineSort) {
if (this[("s" + _local16)].hitTestPoint(_local13, _local14, true)){
trace("碰到了: ", _arg2, ("s" + _local16));
_local11 = (_local11 * -1);
_local16 = lineSort;
};
if (_local16 == (lineSort - 1)){
_local12 = 2;
};
_local16++;
};
};
_local12++;
};
_arg1.x0 = _local13;
_arg1.y0 = _local14;
_local3.bounced = true;
if (_arg2.flapper < 2){
_local3.bounceFlapper = true;
};
};
};
return (_local3);
}
public function addEvent():void{
stage.addEventListener(Event.ENTER_FRAME, _onEnterFrame);
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
stage.addEventListener(KeyboardEvent.KEY_UP, _onKeyUp);
if (Level.levelNum == 2){
if (ball0.x > 469){
this["door0"].gotoAndPlay("show");
};
};
}
public function _onEnterFrame(_arg1:Event):void{
var _local2:int;
move();
_local2 = 0;
while (_local2 < num_ball) {
this[("ball" + _local2)].move();
_local2++;
};
checkBound();
_local2 = 0;
while (_local2 < num_ball) {
this[("ball" + _local2)].moved();
_local2++;
};
if (Ball_Fire){
item_fire.x = ball0.x;
item_fire.y = ball0.y;
};
setDepth();
flapper0.moves();
flapper1.moves();
updataFlapper();
}
public function removeEvent(){
stage.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
stage.removeEventListener(KeyboardEvent.KEY_UP, _onKeyUp);
}
public function ball2ball(_arg1, _arg2){
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:*;
var _local12:*;
if (_arg2.currentFrame < 4){
_local3 = {};
_local4 = (_arg1.x - _arg2.x);
_local5 = (_arg1.y - _arg2.y);
_local6 = Math.sqrt(((_local4 * _local4) + (_local5 * _local5)));
if (_local6 < (_arg1.radius + _arg2.radius)){
_arg2.respond(_arg1);
if ((_arg1 is Ball)){
_local7 = (_local4 / _local6);
_local8 = (_local5 / _local6);
_local9 = (12 + _arg2.radius);
_local10 = ((_local7 * _local5) - (_local8 * _local4));
_local11 = ((_local7 * _arg1.vx) + (_local8 * _arg1.vy));
_local12 = ((_local7 * _arg1.vy) - (_local8 * _arg1.vx));
_local11 = (_local11 * bounce);
_local12 = (_local12 * Math.abs(bounce));
_local4 = ((_local7 * _local9) - (_local8 * _local10));
_local5 = ((_local7 * _local10) + (_local8 * _local9));
_arg1.vx = ((_local7 * _local11) - (_local8 * _local12));
_arg1.vy = ((_local7 * _local12) + (_local8 * _local11));
_arg1.x0 = (_arg2.x + _local4);
_arg1.y0 = (_arg2.y + _local5);
};
};
return (_local3);
};
}
public function setFlapper(){
flapper0.up = false;
flapper1.up = false;
flapper0.x = this["dotSprite"].getChildByName("flapper0_station").x;
flapper0.y = this["dotSprite"].getChildByName("flapper0_station").y;
flapper1.x = this["dotSprite"].getChildByName("flapper1_station").x;
flapper1.y = this["dotSprite"].getChildByName("flapper1_station").y;
updataFlapper();
}
public function drow():void{
var _local1:int;
dotDrow.graphics.clear();
dotDrow.graphics.lineStyle(1);
dotDrow.graphics.moveTo(flapper0_0.x0, flapper0_0.y0);
_local1 = 0;
while (_local1 < flapper_num) {
dotDrow.graphics.lineTo(this[("flapper0_" + _local1)].x1, this[("flapper0_" + _local1)].y1);
_local1++;
};
dotDrow.graphics.moveTo(flapper1_0.x0, flapper1_0.y0);
_local1 = 0;
while (_local1 < flapper_num) {
dotDrow.graphics.lineTo(this[("flapper1_" + _local1)].x1, this[("flapper1_" + _local1)].y1);
_local1++;
};
}
public function resetItem(){
if (num_ball == 2){
num_ball = 1;
if (ball0.y > 477){
ball0.x = ball1.x;
ball0.y = ball1.y;
ball0.x0 = ball1.x0;
ball0.y0 = ball1.y0;
ball0.vx = ball1.vx;
ball0.vy = ball1.vy;
ball1.x = 1000;
};
};
ball0.gotoAndStop(1);
}
public function init():void{
}
public function updataFlapper():void{
var _local1:*;
var _local2:*;
var _local3:int;
var _local4:int;
_local1 = 0;
while (_local1 < 16) {
_local3 = 0;
_local4 = 0;
while (_local3 < 2) {
_local4 = 0;
while (_local4 < flapper_num) {
this[((("flapper" + _local3) + "_") + _local4)].updata();
_local2 = ball2line(ball0, this[((("flapper" + _local3) + "_") + _local4)]);
_local2 = ball2line(ball1, this[((("flapper" + _local3) + "_") + _local4)]);
if (_local2.bounceFlapper){
_local4 = flapper_num;
_local3 = 2;
};
_local4++;
};
_local3++;
};
_local1++;
};
}
public function timer(_arg1:TimerEvent){
}
public function checkBound():void{
var _local1:int;
var _local2:int;
_local1 = 0;
_local2 = 0;
while (_local2 < lineArray.length) {
_local1 = 0;
while (_local1 < num_ball) {
if (this[("ball" + _local1)].moveCtrl){
ball2line(this[("ball" + _local1)], lineArray[_local2]);
};
_local1++;
};
_local2++;
};
_local2 = 0;
while (_local2 < hitObj2_array.length) {
_local1 = 0;
while (_local1 < num_ball) {
if (this[("ball" + _local1)].moveCtrl){
ball2ball(this[("ball" + _local1)], hitObj2_array[_local2]);
if (((Ball_Fire) && ((_local1 == 0)))){
ball2ball(item_fire, hitObj2_array[_local2]);
};
};
_local1++;
};
_local2++;
};
_local2 = 0;
while (_local2 < hitObj_array.length) {
_local1 = 0;
while (_local1 < num_ball) {
if (this[("ball" + _local1)].moveCtrl){
if (this[("ball" + _local1)].hitTestObject(hitObj_array[_local2].getChildByName("hitDot"))){
hitObj_array[_local2].respond(this[("ball" + _local1)], 1, this[("ball" + _local1)].x);
};
if (hitObj_array[_local2].hitDotNum == 2){
if (this[("ball" + _local1)].hitTestObject(hitObj_array[_local2].getChildByName("hitDot2"))){
hitObj_array[_local2].respond(this[("ball" + _local1)], 2, this[("ball" + _local1)].x);
};
};
if (((Ball_Fire) && ((_local1 == 0)))){
if ((hitObj_array[_local2] is hitObj_1)){
} else {
if (item_fire.hitTestObject(hitObj_array[_local2].getChildByName("hitDot"))){
hitObj_array[_local2].respond(item_fire, 1, this[("ball" + _local1)].x);
};
};
};
};
_local1++;
};
_local2++;
};
if ((((levelNum == 1)) && (ball0.hitTestObject(resetPoings)))){
resetBall();
};
}
public function _onKeyDown(_arg1:KeyboardEvent):void{
var _local2:uint;
_local2 = _arg1.keyCode;
if (_local2 == 80){
timescore._pause();
};
if ((((((((_local2 == 32)) || ((_local2 == 229)))) || ((_local2 == 38)))) || ((_local2 == 40)))){
if (((!(gameStart)) && ((spring.getChildByName("obj").y < 15)))){
spring.getChildByName("obj").y = (spring.getChildByName("obj").y + 0.5);
ball0.y = ((spring.y - ball0.radius) - (spring.getChildByName("obj").height - spring.getChildByName("obj").y));
ball0.y0 = ball0.y;
};
};
if ((((_local2 == 37)) || ((_local2 == 90)))){
flapper0.up = true;
};
if ((((_local2 == 39)) || ((_local2 == 77)))){
flapper1.up = true;
};
}
public function buildLine():void{
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:int;
var _local5:int;
var _local6:Line;
var _local7:int;
var _local8:*;
var _local9:Number;
var _local10:Array;
this["dotSprite"].graphics.clear();
addChild(dotDrow);
flapper0.x = 200;
flapper0.y = 200;
flapper1.x = 380;
flapper1.y = 200;
flapper0.level = this;
flapper1.level = this;
flapper1.scaleY = -1;
lineArray = [];
lineAllowed = [];
lineAllowed2 = [];
allowed = false;
_local4 = 0;
_local5 = 0;
while (_local4 < 2) {
_local1 = this[("flapper" + _local4)];
_local5 = 0;
while (_local5 < flapper_num) {
this[((("flapper" + _local4) + "_") + _local5)] = new Line();
dot0 = ("line0_" + _local5);
dot1 = ("line0_" + (_local5 + 1));
this[((("flapper" + _local4) + "_") + _local5)].p = _local1;
this[((("flapper" + _local4) + "_") + _local5)].p0 = _local1.getChildByName(dot0);
this[((("flapper" + _local4) + "_") + _local5)].p1 = _local1.getChildByName(dot1);
this[((("flapper" + _local4) + "_") + _local5)].p0.visible = false;
this[((("flapper" + _local4) + "_") + _local5)].p1.visible = false;
_local2 = (this[((("flapper" + _local4) + "_") + _local5)].p1.x - this[((("flapper" + _local4) + "_") + _local5)].p0.x);
_local3 = (this[((("flapper" + _local4) + "_") + _local5)].p1.y - this[((("flapper" + _local4) + "_") + _local5)].p0.y);
this[((("flapper" + _local4) + "_") + _local5)].len = Math.sqrt(((_local2 * _local2) + (_local3 * _local3)));
this[((("flapper" + _local4) + "_") + _local5)].dot0 = dot0;
this[((("flapper" + _local4) + "_") + _local5)].dot1 = dot1;
this[((("flapper" + _local4) + "_") + _local5)].allowed = true;
this[((("flapper" + _local4) + "_") + _local5)].flapper = _local4;
this[((("flapper" + _local4) + "_") + _local5)].updata();
lineArray.push(this[((("flapper" + _local4) + "_") + _local5)]);
_local5++;
};
_local4++;
};
_local4 = 0;
while (_local4 < lineSort) {
_local5 = 0;
this[("s" + _local4)].graphics.clear();
this[("s" + _local4)].graphics.lineStyle(1);
this[("s" + _local4)].graphics.beginFill(0x666666);
while (_local5 < (lineSortArray[_local4] - 1)) {
dot0 = ((("line" + _local4) + "_") + _local5);
dot1 = "";
if (_local5 == (lineSortArray[_local4] - 2)){
dot1 = ((("line" + _local4) + "_") + 0);
} else {
dot1 = ((("line" + _local4) + "_") + (_local5 + 1));
};
_local6 = new Line();
_local6.flapper = 2;
_local6.dot0 = dot0;
_local6.dot1 = dot1;
_local6.x0 = this["dotSprite"].getChildByName(dot0).x;
_local6.y0 = this["dotSprite"].getChildByName(dot0).y;
_local6.x1 = this["dotSprite"].getChildByName(dot1).x;
_local6.y1 = this["dotSprite"].getChildByName(dot1).y;
_local6.lineDecay = 0.09;
_local6.allowed = true;
_local6.vx = (_local6.x1 - _local6.x0);
_local6.vy = (_local6.y1 - _local6.y0);
_local6.len = Math.sqrt(((_local6.vx * _local6.vx) + (_local6.vy * _local6.vy)));
_local6.cos = (_local6.vx / _local6.len);
_local6.sin = (_local6.vy / _local6.len);
if ((((Level.levelNum == 1)) && ((_local4 == (lineSort - 1))))){
_local6.allowed = false;
lineAllowed.push(_local6);
};
if ((((Level.levelNum == 3)) && ((_local4 == 10)))){
lineAllowed.push(_local6);
};
if ((((Level.levelNum == 3)) && ((_local4 == 11)))){
lineAllowed2.push(_local6);
};
if ((((Level.levelNum == 4)) && ((_local4 == 8)))){
lineAllowed.push(_local6);
};
if ((((Level.levelNum == 4)) && ((_local4 == 9)))){
lineAllowed2.push(_local6);
};
lineArray.push(_local6);
this["dotSprite"].graphics.lineStyle(1);
if (_local5 == 0){
this[("s" + _local4)].graphics.moveTo(_local6.x0, _local6.y0);
this[("s" + _local4)].graphics.lineTo(_local6.x1, _local6.y1);
} else {
this[("s" + _local4)].graphics.lineTo(_local6.x1, _local6.y1);
};
this["dotSprite"].graphics.moveTo(_local6.x0, _local6.y0);
this["dotSprite"].graphics.lineTo(_local6.x1, _local6.y1);
_local5++;
};
if (_local4 == 0){
_local7 = 100;
_local10 = [];
while (_local7 < 104) {
_local8 = this["dotSprite"].getChildByName(("line0_" + _local7)).x;
_local9 = this["dotSprite"].getChildByName(("line0_" + _local7)).y;
_local10.push([_local8, _local9]);
_local7++;
};
this[("s" + _local4)].graphics.moveTo(_local10[0][0], _local10[0][1]);
_local7 = 1;
while (_local7 < 4) {
this[("s" + _local4)].graphics.lineTo(_local10[_local7][0], _local10[_local7][1]);
_local7++;
};
this[("s" + _local4)].graphics.lineTo(_local10[0][0], _local10[0][1]);
};
this[("s" + _local4)].graphics.endFill();
_local4++;
};
}
protected function move():void{
var _local1:int;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:int;
if (move_array.length > 0){
_local1 = 0;
while (_local1 < move_array.length) {
move_array[_local1].move();
_local1++;
};
};
if (Level.levelNum == 1){
if ((((((ball0.x > 470)) && ((ball0.y > 340)))) && (allowed))){
_local1 = 0;
while (_local1 < lineAllowed.length) {
lineAllowed[_local1].allowed = false;
_local1++;
};
allowed = false;
};
if ((((ball0.x < 433)) && (!(allowed)))){
_local1 = 0;
while (_local1 < lineAllowed.length) {
lineAllowed[_local1].allowed = true;
_local1++;
};
allowed = true;
};
};
if (Ball_Brake){
if (((!(itemlines_low)) && ((ball0.y > 290)))){
itemlines_low = true;
num_itemlines--;
ball0.speedv = 0.3;
if (levelNum == 1){
this["dolphins0"].vy0 = -13;
this["dolphins1"].vy0 = -13;
};
trace("速度减慢");
} else {
if (((itemlines_low) && ((ball0.y < 290)))){
itemlines_low = false;
if (num_itemlines <= 0){
itemlines.x = 1000;
Ball_Brake = false;
if (levelNum == 1){
this["dolphins0"].vy0 = -8;
this["dolphins1"].vy0 = -8;
};
};
ball0.speedv = 1;
trace("速度正常");
};
};
};
if (frame == 0){
_local2 = [1, 2, 3, 4, 5];
item.gotoAndPlay("show2");
_local3 = Math.floor((Math.random() * _local2.length));
_local4 = _local2[_local3];
_local2.splice(_local3, 1);
if (_local4 == 4){
if ((((TimeScore.life < 5)) && ((Math.floor((Math.random() * 10)) > 4)))){
} else {
_local3 = Math.floor((Math.random() * _local2.length));
_local4 = _local2[_local3];
};
};
item._n = _local4;
_local5 = Math.floor((Math.random() * station.length));
item.x = station[_local5][0];
item.y = station[_local5][1];
};
if (frame == (30 * 15)){
item.x = 1000;
};
if (frame == (30 * 45)){
frame = -1;
};
if (Ball_Speed){
num_speedv++;
if (num_speedv > 30){
num_speedv2--;
num_speedv = 0;
ball0.txt.text = String(num_speedv2);
if (num_speedv2 < 0){
ball0.txt.text = "";
ball0.speedv = 1;
Ball_Speed = false;
};
};
};
if (Ball_Fire){
num_speedv++;
if (num_speedv > 30){
num_speedv2--;
num_speedv = 0;
ball0.txt.text = String(num_speedv2);
if (num_speedv2 < 0){
ball0.txt.text = "";
Ball_Fire = false;
item_fire.x = 1000;
item_fire.y = 0;
};
};
};
frame++;
timescore.move();
}
private function setDepth():void{
var _local1:int;
var _local2:*;
if (allowed){
setDepth_num++;
if ((setDepth_num % 8) == 0){
_local1 = 0;
while (_local1 < num_ball) {
_local2 = (list.length - 1);
while (_local2 > -1) {
if (this[("ball" + _local1)].y > list[_local2].y){
setChildIndex(this[("ball" + _local1)], (_local2 + 1));
break;
};
_local2--;
};
_local1++;
};
setDepth_num = 0;
};
};
}
public function setBall(_arg1:Ball, _arg2:String, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0, _arg6:Number=0):void{
if (_arg2 == "dis"){
_arg1.x = 1000;
_arg1.y = 0;
_arg1.x0 = 1000;
_arg1.y0 = 0;
_arg1.vx = 0;
_arg1.vx = 0;
_arg1.moveCtrl = false;
} else {
if (_arg2 == "show"){
_arg1.x = _arg3;
_arg1.y = _arg4;
_arg1.x0 = _arg3;
_arg1.y0 = _arg4;
_arg1.vx = _arg5;
_arg1.vy = _arg6;
_arg1.moveCtrl = true;
};
};
}
public function resetBall():void{
gameStart = false;
ball0.moveCtrl = false;
ball0.x = x0;
ball0.y = y0;
ball0.x0 = ball0.x;
ball0.y0 = ball0.y;
ball0.vx = 0;
ball0.vy = 0;
}
public function _onKeyUp(_arg1:KeyboardEvent):void{
var _local2:int;
var _local3:*;
_local2 = _arg1.keyCode;
if ((((_local2 == 37)) || ((_local2 == 90)))){
flapper0.down = true;
};
if ((((_local2 == 39)) || ((_local2 == 77)))){
flapper1.down = true;
};
if ((((((((_local2 == 32)) || ((_local2 == 229)))) || ((_local2 == 38)))) || ((_local2 == 40)))){
if (!gameStart){
gameStart = true;
ball0.moveCtrl = true;
_local3 = spring.getChildByName("obj");
ball0.vy = ((-30 * _local3.y) / 15);
trace(ball0.vy);
if (ball0.vy > -2){
ball0.vy = -2;
};
_local3.y = 0;
};
};
}
}
}//package pinball
Section 92
//Level1 (pinball.Level1)
package pinball {
import flash.display.*;
public class Level1 extends Level {
private var miniboss:miniBOSS;
public var bg:MovieClip;
public var num_BeachBall;
public var dolphins0:level1obj2;
public var dolphins1:level1obj2;
public var surfboard:level1obj4;
public var Parasol1:level1obj22;
public var Parasol0:level1obj22;
public var clams:level1obj19;
private var crab:Crab;
public var num_miniboss;
public var seaStar0:level1obj8;
public var seaStar2:level1obj8;
public var seaStar1:level1obj8;
public var BeachChair2:level1obj20;
public var BeachChair0:level1obj20;
public var BeachChair1:level1obj20;
public var dotSprite:MovieClip;
public var num_woman;
public var num_BeachChair;
private var ready;
public var num_crab;
public var BeachBall2:level1obj10;
public var BeachBall3:level1obj10;
public var BeachBall0:level1obj9;
public var BeachBall1:level1obj10;
public var BeachBall9:level1obj10;
public var BeachBall5:level1obj10;
public var BeachBall7:level1obj10;
public var BeachBall8:level1obj10;
public var warp:level1obj0;
public var BeachBall4:level1obj10;
public var BeachBall6:level1obj10;
private var life:MovieClip;
public var num_SeaStar;
public var woman:level1obj23;
public var num_seaStar:int;
public var tree:level1obj5;
public var Watchtower:level1obj1;
public function Level1(){
station = [[180, 35], [32, 164], [245, 157], [150, 354], [234, 270], [335, 338], [410, 296], [416, 166], [377, 100], [316, 37], [324, 214]];
ready = new Ready();
life = new Life();
crab = new Crab();
crab.name = "crab";
miniboss = new miniBOSS();
miniboss.name = "miniboss";
}
private function buildhitObj():void{
var _local1:int;
hitObj_array = [item, dolphins1, dolphins0, BeachBall0, BeachBall1, BeachBall2, BeachBall3, BeachBall4, Watchtower, warp, BeachBall5, clams, BeachBall6, BeachBall7, surfboard, BeachBall8, BeachBall9, tree, seaStar0, seaStar1, seaStar2];
hitObj_array.push(item_spring);
item_spring.parented = this;
item_spring.hitDotNum = 1;
item_spring.gotoAndStop(1);
hitObj2_array = [BeachChair0, BeachChair1, BeachChair2, Parasol0, Parasol1, woman];
list = [bg, flapper0, flapper1, BeachBall0, BeachBall1, BeachBall2, BeachBall3, BeachBall4, woman, Watchtower, warp, BeachBall5, clams, BeachBall6, Parasol0, Parasol1, BeachBall7, surfboard, BeachBall8, BeachChair2, BeachChair1, BeachChair0, BeachBall9, tree, seaStar0, seaStar1, seaStar2];
_local1 = 0;
while (_local1 < lineSort) {
list.unshift(this[("s" + _local1)]);
_local1++;
};
_local1 = 0;
while (_local1 < list.length) {
setChildIndex(list[_local1], _local1);
_local1++;
};
}
public function showReady():void{
if (TimeScore.life == 3){
addChild(ready);
ready.gotoAndPlay(2);
} else {
addChild(life);
life.gotoAndPlay(2);
};
}
override public function init():void{
var _local1:int;
_local1 = 0;
while (_local1 < 2) {
this[("flapper" + _local1)].init();
_local1++;
};
stage.focus = stage;
ball0.speedv = 1;
Ball_Speed = false;
Ball_Brake = false;
itemlines.x = 1000;
Ball_Fire = false;
item_fire.x = 1000;
item_fire.y = 1000;
Ball_Spring = false;
item_spring.x = 1000;
ball0.txt.text = "";
ball1.x = 1000;
ball1.y = 31;
item.x = 1000;
frame = -150;
item.parented = this;
num_ball = 1;
levelNum = 1;
num_crab = 1;
num_miniboss = 2;
crab.x = 2000;
miniboss.x = 2000;
remove("crab");
remove("miniboss");
resetLevel("num_BeachChair");
resetLevel("Parasol");
resetLevel("num_woman");
resetLevel("num_BeachBall");
resetLevel("num_SeaStar");
resetLevel("num_Dolphins");
resetLevel("only");
buildhitObj();
move_array = [];
x0 = 494;
y0 = 373;
x1 = 358;
y1 = 5;
x6 = 153;
y6 = 360;
x7 = 395;
y7 = 360;
x10 = 272;
lineSort = 8;
lineSortArray = [49, 8, 8, 5, 5, 5, 9, 5];
buildLine();
dotSprite.visible = false;
addEvent();
trace("level1初始化");
setFlapper();
addChild(spring);
spring.x = 494;
spring.y = 415;
addChild(resetPoings);
resetPoings.x = 494;
resetPoings.y = 420;
resetPoings.visible = false;
setChildIndex(timescore, (numChildren - 1));
setChildIndex(item, (numChildren - 2));
_local1 = 0;
while (_local1 < list.length) {
if (list[_local1].name == "bg"){
setChildIndex(ball0, (_local1 + 1));
break;
};
_local1++;
};
}
public function resetLevel(_arg1:String):void{
var _local2:int;
if (_arg1 == "num_BeachChair"){
_local2 = 0;
while (_local2 < 3) {
this[("BeachChair" + _local2)].parented = this;
this[("BeachChair" + _local2)].hitNum = 1;
this[("BeachChair" + _local2)].radius = 25;
this[("BeachChair" + _local2)].gotoAndStop(1);
this[("BeachChair" + _local2)].type = "Once";
_local2++;
};
num_BeachChair = 3;
};
if (_arg1 == "Parasol"){
_local2 = 0;
while (_local2 < 2) {
this[("Parasol" + _local2)].radius = 5;
this[("Parasol" + _local2)].parented = this;
this[("Parasol" + _local2)].gotoAndStop(1);
this[("Parasol" + _local2)].type = "Multipletimes";
_local2++;
};
};
if (_arg1 == "num_woman"){
if (num_miniboss > 0){
woman.parented = this;
woman.radius = 38;
woman.gotoAndStop(1);
woman.type = "Multipletimes";
};
num_miniboss--;
};
if (_arg1 == "num_miniboss"){
miniboss.parented = this;
miniboss.type = "MiniBoss";
addChild(miniboss);
setChildIndex(miniboss, 20);
miniboss.reset();
miniboss.x = 320;
miniboss.y = 87;
move_array.push(miniboss);
hitObj2_array.push(miniboss);
miniboss.num_life = 1;
};
if (_arg1 == "num_BeachBall"){
_local2 = 0;
while (_local2 < 10) {
this[("BeachBall" + _local2)].parented = this;
this[("BeachBall" + _local2)].gotoAndStop(1);
this[("BeachBall" + _local2)].type = "Once";
_local2++;
};
num_BeachBall = 10;
};
if (_arg1 == "num_crab"){
if (num_crab == 1){
num_crab = 0;
crab.parented = this;
crab.type = "Moving";
addChild(crab);
setChildIndex(crab, (list.length - 4));
crab.reset();
move_array.push(crab);
hitObj2_array.push(crab);
};
};
if (_arg1 == "num_SeaStar"){
_local2 = 0;
while (_local2 < 3) {
this[("seaStar" + _local2)].parented = this;
this[("seaStar" + _local2)].gotoAndStop(1);
this[("seaStar" + _local2)].type = "Multipletimes";
_local2++;
};
num_SeaStar = 3;
};
if (_arg1 == "num_Dolphins"){
_local2 = 0;
while (_local2 < 2) {
this[("dolphins" + _local2)].parented = this;
this[("dolphins" + _local2)].gotoAndStop(1);
this[("dolphins" + _local2)].type = "none";
_local2++;
};
dolphins0.x0 = 94;
dolphins0.y0 = 357;
dolphins0.vx0 = 3;
dolphins0.vy0 = -8;
dolphins1.x0 = 445;
dolphins1.y0 = 357;
dolphins1.vx0 = -3;
dolphins1.vy0 = -8;
num_SeaStar = 3;
};
if (_arg1 == "only"){
warp.parented = this;
warp.gotoAndStop(1);
warp.type = "warp";
warp.x0 = 397;
warp.y0 = 297;
surfboard.parented = this;
surfboard.gotoAndStop(1);
surfboard.type = "Once";
Watchtower.parented = this;
Watchtower.gotoAndStop(1);
Watchtower.type = "NonMoving";
tree.parented = this;
tree.gotoAndStop(1);
tree.type = "Multipletimes";
clams.parented = this;
clams.gotoAndStop(1);
clams.type = "Multipletimes";
clams.hitDotNum = 2;
clams.x0 = 338;
clams.y0 = 45;
clams.x1 = 404;
clams.y1 = 148;
clams.vx0 = -12;
clams.vy0 = -3;
clams.vx1 = -5;
};
}
}
}//package pinball
Section 93
//Level2 (pinball.Level2)
package pinball {
import flash.display.*;
public class Level2 extends Level {
public var num_Goat;
private var miniboss:miniBOSS;
public var bg:MovieClip;
private var peacock:Peacock;
public var num_miniboss:int;
public var num_Peacock:int;
public var water:Waters;
public var num_Cow;
public var num_Pig;
public var obj11:level2obj6;
public var obj12:level2obj6;
public var obj15:level2obj8;
public var obj16:level2obj8;
public var obj10:level2obj5;
public var obj14:level2obj7;
public var obj17:level2obj8;
public var dotSprite:MovieClip;
public var obj13:level2obj7;
public var num_MilkCan;
public var num_Chicken;
public var num_CornPlant;
public var obj1:level2obj1;
public var obj2:level2obj2;
public var obj3:level2obj3;
public var obj7:level2obj4;
public var obj9:level2obj4;
public var obj4:level2obj3;
public var obj5:level2obj3;
public var num_farmer;
private var tractor:Tractors;
public var obj81:MovieClip;
public var obj8:level2obj4;
public var door3:door34;
public var door4:door34;
public var door0:level1door0;
public var door1:level2door1;
public var obj6:level2obj3;
public var num_tractor;
public var warp:level2obj0;
public var _water1:MovieClip;
public var jumplevels:jumplevel;
public var _water0:MovieClip;
public var farmer:Farmers;
public function Level2(){
station = [[155, 41], [44, 100], [199, 105], [99, 360], [155, 327], [170, 200], [300, 90], [429, 86], [287, 202], [320, 330], [402, 299]];
tractor = new Tractors();
tractor.name = "tractor";
peacock = new Peacock();
peacock.name = "peacock";
miniboss = new miniBOSS();
miniboss.name = "miniboss";
}
private function buildhitObj():void{
var _local1:int;
hitObj_array = [item, door3, door4, jumplevels, warp, obj1, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj15, obj16, obj17];
_local1 = 0;
while (_local1 < hitObj_array.length) {
hitObj_array[_local1].hitDotNum = 1;
hitObj_array[_local1].parented = this;
hitObj_array[_local1].vx0 = 0;
hitObj_array[_local1].vy0 = 0;
hitObj_array[_local1].vx1 = 0;
hitObj_array[_local1].vy1 = 0;
_local1++;
};
hitObj_array.push(item_spring);
item_spring.parented = this;
item_spring.x = 1000;
item_spring.hitDotNum = 1;
item_spring.gotoAndStop(1);
jumplevels.vy0 = -13;
jumplevels.visible = false;
jumplevels.jumpto = 3;
warp.type = "warp";
warp.x0 = 100;
warp.y0 = 299;
warp.gotoAndStop(1);
obj1.type = "Multipletimes";
obj1.x0 = 317;
obj1.y0 = 165;
obj1.vx0 = -8;
obj1.gotoAndStop(1);
obj2.x0 = 110;
obj2.y0 = 190;
obj2.x1 = 318;
obj2.y1 = 283;
obj2.hitDotNum = 2;
obj2.type = "Multipletimes";
obj2.gotoAndStop(1);
door3.gotoAndStop(1);
door3.x0 = 81;
door3.y0 = 301;
door3.vx0 = 3;
door4.gotoAndStop(1);
door4.x0 = 416;
door4.y0 = 302;
door4.vx0 = -3;
door3.radius = 20;
door4.radius = 20;
hitObj2_array = [obj11, obj12, obj13, obj14, tractor, farmer, obj10, door0, door1, peacock];
list = [bg, flapper0, flapper1, water, obj2, door1, obj3, obj4, obj5, obj6, farmer, warp, obj1, door0, obj11, obj12, obj10, obj81, obj9, obj8, obj13, obj14, obj7, obj15, obj16, obj17];
_local1 = 0;
while (_local1 < lineSort) {
list.unshift(this[("s" + _local1)]);
_local1++;
};
_local1 = 0;
while (_local1 < list.length) {
setChildIndex(list[_local1], _local1);
_local1++;
};
}
override public function init():void{
var _local1:int;
_miniBOSSend = false;
_local1 = 0;
while (_local1 < 2) {
this[("flapper" + _local1)].init();
_local1++;
};
stage.focus = stage;
ball0.speedv = 1;
Ball_Speed = false;
Ball_Brake = false;
itemlines.x = 1000;
Ball_Fire = false;
item_fire.x = 1000;
item_fire.y = 1000;
Ball_Spring = false;
item_spring.x = 1000;
ball0.txt.text = "";
ball1.x = 1000;
ball1.y = 31;
item.x = 1000;
frame = -150;
item.parented = this;
num_ball = 1;
levelNum = 2;
water.parented = this;
remove("tractor");
remove("peacock");
remove("miniboss");
tractor.x = 1000;
peacock.x = 1000;
miniboss.x = 1000;
resetLevel("num_CornPlant");
resetLevel("num_MilkCan");
resetLevel("num_Cow");
resetLevel("num_Pig");
resetLevel("num_Chicken");
resetLevel("num_farmer");
resetLevel("num_Goat");
resetLevel("door");
num_tractor = 1;
num_Peacock = 1;
num_miniboss = 1;
buildhitObj();
move_array = [water];
x3 = 493;
y3 = 43;
x0 = 240;
y0 = 64;
x1 = 230;
y1 = 64;
x2 = 0xFF;
y2 = 445;
x6 = 100;
y6 = 370;
x7 = 381;
y7 = 370;
x10 = 250;
lineSort = 10;
lineSortArray = [32, 7, 6, 6, 7, 6, 5, 7, 11, 5];
buildLine();
dotSprite.visible = false;
allowed = true;
addEvent();
setFlapper();
setChildIndex(timescore, (numChildren - 1));
setChildIndex(item, (numChildren - 2));
}
override public function miniBOSSend(){
_miniBOSSend = true;
door0.gotoAndPlay(3);
door1.gotoAndPlay(3);
}
public function resetLevel(_arg1:String):void{
var _local2:int;
if (_arg1 == "num_CornPlant"){
_local2 = 3;
while (_local2 < 7) {
this[("obj" + _local2)].gotoAndStop(1);
this[("obj" + _local2)].type = "Once";
_local2++;
};
num_CornPlant = 4;
};
if (_arg1 == "num_MilkCan"){
_local2 = 7;
while (_local2 < 10) {
this[("obj" + _local2)].gotoAndStop(1);
this[("obj" + _local2)].type = "Once";
_local2++;
};
num_MilkCan = 3;
};
if (_arg1 == "num_Cow"){
_local2 = 11;
while (_local2 < 13) {
this[("obj" + _local2)].type = "Multipletimes";
this[("obj" + _local2)].parented = this;
this[("obj" + _local2)].hitNum = 1;
this[("obj" + _local2)].radius = 19;
this[("obj" + _local2)].gotoAndStop(1);
_local2++;
};
num_Cow = 2;
};
if (_arg1 == "num_Pig"){
_local2 = 13;
while (_local2 < 15) {
this[("obj" + _local2)].parented = this;
this[("obj" + _local2)].hitNum = Pinball.moden;
this[("obj" + _local2)].radius = 19;
this[("obj" + _local2)].gotoAndStop(1);
this[("obj" + _local2)].type = "NonMoving";
_local2++;
};
obj14.scaleX = -1;
num_Pig = 2;
};
if (_arg1 == "num_Chicken"){
_local2 = 15;
while (_local2 < 18) {
this[("obj" + _local2)].gotoAndStop(1);
this[("obj" + _local2)].type = "Multipletimes";
_local2++;
};
obj17.scaleX = -1;
num_Chicken = 3;
};
if (_arg1 == "tractor"){
remove("tractor");
addChild(tractor);
tractor.parented = this;
setChildIndex(tractor, 25);
tractor.hitNum = 1;
tractor.radius = 30;
tractor.reset();
move_array.push(tractor);
num_tractor--;
};
if (_arg1 == "num_farmer"){
farmer.type = "Moving";
farmer.reset(this);
};
if (_arg1 == "num_Goat"){
obj10.type = "Multipletimes";
obj10.radius = 24;
obj10.parented = this;
};
if (_arg1 == "door"){
door0.radius = 18;
door0.hitNum = 120;
door0.parented = this;
door0.gotoAndPlay("show");
door0.type = "Multipletimes";
door1.radius = 30;
door1.hitNum = 2000000;
door1.parented = this;
door1.gotoAndPlay("show");
door1.type = "Multipletimes";
};
if (_arg1 == "num_Peacock"){
remove("peacock");
addChild(peacock);
peacock.parented = this;
peacock.hitNum = Pinball.moden;
peacock.radius = 24;
peacock.type = "Moving";
peacock.reset();
move_array.push(peacock);
num_Peacock--;
};
if (_arg1 == "num_miniboss"){
if (num_miniboss > 0){
miniboss.parented = this;
miniboss.type = "MiniBoss";
addChild(miniboss);
miniboss.reset();
miniboss.x = 245;
miniboss.y = 220;
move_array.push(miniboss);
hitObj2_array.push(miniboss);
num_miniboss--;
};
};
}
}
}//package pinball
Section 94
//Level3 (pinball.Level3)
package pinball {
import flash.display.*;
public class Level3 extends Level {
public var obj2:level3obj2;
public var obj3:level3obj3;
public var obj7:level3obj6;
public var obj9:level3obj9;
public var obj4:level3obj4;
public var obj6:level3obj6;
public var obj8:level3obj6;
public var cue:MovieClip;
public var obj0:level3obj0;
public var obj5:level3obj5;
public var obj1:level3obj1;
public var bg:MovieClip;
public var obj_40:level3obj14;
public var obj_41:level3obj14;
public var obj_42:level3obj42;
public var num_miniboss:int;
private var miniboss:miniBOSS;
public var num_Balloons:int;
private var evilpirate:EvilPirates;
public var jumplevels:jumplevel;
public var num_flower;
public var num_evilpirate;
public var obj12:level3obj12;
public var obj10:level3obj10;
public var obj11:level3obj10;
public var obj14:door5;
public var dotSprite:MovieClip;
public var obj13:level3obj13;
public function Level3(){
station = [[155, 41], [44, 100], [235, 122], [105, 340], [180, 264], [311, 119], [485, 47], [400, 161], [443, 232], [366, 270]];
evilpirate = new EvilPirates();
evilpirate.name = "evilpirate";
miniboss = new miniBOSS();
miniboss.name = "miniboss";
}
override public function miniBOSSend(){
}
private function buildhitObj():void{
var _local1:int;
var _local2:int;
hitObj_array = [];
_local1 = 15;
_local2 = 0;
while (_local2 < _local1) {
this[("obj" + _local2)].parented = this;
this[("obj" + _local2)].hitDotNum = 1;
this[("obj" + _local2)].gotoAndStop(1);
hitObj_array.push(this[("obj" + _local2)]);
_local2++;
};
hitObj_array.push(item_spring);
item_spring.parented = this;
item_spring.x = 1000;
item_spring.hitDotNum = 1;
item_spring.gotoAndStop(1);
jumplevels.visible = false;
jumplevels.parented = this;
jumplevels.jumpto = 2;
hitObj_array.push(jumplevels);
obj0.x0 = 108;
obj0.y0 = 241;
obj0.x1 = 108;
obj0.y1 = 241;
obj0.gotoAndStop(1);
obj0.type = "warp";
obj1.x0 = 52;
obj1.y0 = 117;
obj1.x1 = 285;
obj1.y1 = -11;
obj1.vx1 = 3;
obj1.vy1 = -9;
obj1.gotoAndStop(1);
obj1.type = "Multipletimes";
obj2.hitDotNum = 2;
obj2.x0 = 338;
obj2.y0 = 103;
obj2.vx0 = -3;
obj2.vy0 = 2;
obj2.type = "Multipletimes";
obj3.type = "Multipletimes";
obj3.x0 = 376;
obj3.y0 = 164;
obj3.vx0 = -5;
obj3.vy0 = 2;
obj3.gotoAndStop(1);
obj4.x0 = 268;
obj4.y0 = 106;
obj4.type = "Once";
obj4.gotoAndStop(1);
obj9.type = "Once";
obj13.type = "Once";
obj5.type = "Once";
hitObj_array.push(item);
hitObj2_array = [obj_40, obj_41, obj_42];
_local2 = 40;
while (_local2 < 43) {
this[("obj_" + _local2)].parented = this;
this[("obj_" + _local2)].hitNum = Pinball.moden;
this[("obj_" + _local2)].type = "NonMoving";
this[("obj_" + _local2)].radius = 12;
this[("obj_" + _local2)].hit = false;
this[("obj_" + _local2)].gotoAndStop(1);
_local2++;
};
obj_41.scaleX = -1;
list = [bg, flapper0, flapper1, obj6, obj1, obj0, obj12, obj7, obj8, obj2, obj3, obj9, obj4, obj10, obj11, obj5];
_local2 = 0;
while (_local2 < lineSort) {
list.unshift(this[("s" + _local2)]);
_local2++;
};
_local2 = 0;
while (_local2 < list.length) {
setChildIndex(list[_local2], _local2);
_local2++;
};
}
public function doorend(){
var _local1:int;
_local1 = 0;
while (_local1 < lineAllowed2.length) {
lineAllowed2[_local1].allowed = false;
_local1++;
};
s11.x = 1000;
}
override public function init():void{
var _local1:int;
_local1 = 0;
while (_local1 < 2) {
this[("flapper" + _local1)].init();
_local1++;
};
stage.focus = stage;
ball0.speedv = 1;
Ball_Speed = false;
Ball_Brake = false;
itemlines.x = 1000;
Ball_Fire = false;
item_fire.x = 1000;
item_fire.y = 1000;
Ball_Spring = false;
item_spring.x = 1000;
ball0.txt.text = "";
ball1.x = 1000;
ball1.y = 31;
item.x = 1000;
frame = -150;
item.parented = this;
num_ball = 1;
levelNum = 3;
evilpirate.x = 1000;
miniboss.x = 1000;
remove("evilpirate");
remove("miniboss");
resetLevel("num_flower");
resetLevel("num_Balloons");
buildhitObj();
num_evilpirate = 3;
num_miniboss = 1;
cue.visible = false;
cue.stop();
move_array = [];
x0 = 106;
y0 = 350;
x3 = 491;
y3 = 417;
x2 = 269;
y2 = 408;
x1 = 203;
y1 = 61;
x6 = 106;
y6 = 350;
x7 = 437;
y7 = 350;
x10 = 285;
s10.x = 0;
lineSort = 12;
lineSortArray = [34, 8, 17, 8, 5, 5, 5, 10, 5, 8, 4, 4];
buildLine();
dotSprite.visible = false;
allowed = true;
addEvent();
setFlapper();
timescore.timer();
setChildIndex(timescore, (numChildren - 1));
setChildIndex(item, (numChildren - 2));
}
public function resetLevel(_arg1:String):void{
var _local2:int;
if (_arg1 == "num_evilpirate"){
num_evilpirate--;
if (num_evilpirate == 0){
evilpirate.hitNum = Pinball.moden;
evilpirate.parented = this;
evilpirate.radius = 21;
move_array.push(evilpirate);
hitObj2_array.push(evilpirate);
addChild(evilpirate);
evilpirate.reset();
};
};
if (_arg1 == "num_flower"){
_local2 = 10;
while (_local2 < 12) {
this[("obj" + _local2)].type = "Once";
this[("obj" + _local2)].parented = this;
this[("obj" + _local2)].gotoAndStop(1);
_local2++;
};
obj11.scaleX = -1;
num_flower = 2;
};
if (_arg1 == "num_Balloons"){
_local2 = 6;
while (_local2 < 9) {
this[("obj" + _local2)].type = "Once";
this[("obj" + _local2)].parented = this;
this[("obj" + _local2)].gotoAndStop(1);
_local2++;
};
num_Balloons = 3;
};
if (_arg1 == "num_miniboss"){
if (num_miniboss > 0){
cue.visible = true;
cue.play();
miniboss.parented = this;
miniboss.type = "MiniBoss";
addChild(miniboss);
setChildIndex(miniboss, 20);
miniboss.reset();
miniboss.x = 314;
miniboss.y = 210;
move_array.push(miniboss);
hitObj2_array.push(miniboss);
num_miniboss--;
};
};
}
public function trainend(){
var _local1:int;
_local1 = 0;
while (_local1 < lineAllowed.length) {
lineAllowed[_local1].allowed = false;
_local1++;
};
s10.x = 1000;
}
}
}//package pinball
Section 95
//Level4 (pinball.Level4)
package pinball {
import flash.display.*;
public class Level4 extends Level {
public var num_shop;
public var obj2:level4obj2;
public var obj3:level4obj2;
public var obj7:level4obj2;
public var obj9:level4obj3;
public var obj4:level4obj2;
public var obj6:level4obj2;
public var obj8:level4obj3;
public var obj0:level4obj0;
public var obj5:level4obj2;
public var num_cash;
public var obj1:level4obj1;
public var bg:MovieClip;
public var num_cart:int;
public var warp:level4warp;
public var obj_40:level4obj6;
public var obj_41:level4obj6;
public var num_money;
public var cart:level4obj4;
public var obj12:level4obj5;
public var obj10:level4obj5;
public var obj11:level4obj5;
public var obj14:level250;
public var dotSprite:MovieClip;
public var obj13:bigBOSS;
public var obj15:level250;
public function Level4(){
station = [[190, 58], [58, 157], [192, 180], [320, 60], [446, 164], [310, 180], [170, 300], [340, 300], [115, 360], [400, 360]];
cart = new level4obj4();
cart.name = "cart";
}
private function buildhitObj():void{
var _local1:int;
var _local2:int;
hitObj_array = [];
_local1 = 16;
_local2 = 0;
while (_local2 < _local1) {
this[("obj" + _local2)].parented = this;
this[("obj" + _local2)].hitDotNum = 1;
hitObj_array.push(this[("obj" + _local2)]);
_local2++;
};
hitObj_array.push(item_spring);
item_spring.parented = this;
item_spring.x = 1000;
item_spring.hitDotNum = 1;
item_spring.gotoAndStop(1);
obj14.gotoAndStop(1);
obj14.n = 0;
obj15.gotoAndStop(1);
obj15.n = 1;
obj0.x0 = 110;
obj0.y0 = 180;
obj0.gotoAndStop(1);
obj0.type = "Multipletimes";
obj1.x0 = 396;
obj1.y0 = 187;
obj1.gotoAndStop(1);
obj1.type = "Multipletimes";
obj13.x0 = 260;
obj13.y0 = 180;
obj13.vx0 = 0;
obj13.vy0 = 10;
hitObj_array.push(item);
hitObj2_array = [obj_40, obj_41];
list = [bg, flapper0, flapper1, warp, obj2, obj3, obj4, obj5, obj6, obj7, obj8, obj9, obj0, obj1, obj13, obj10, obj11, obj12];
_local2 = 0;
while (_local2 < lineSort) {
list.unshift(this[("s" + _local2)]);
_local2++;
};
_local2 = 0;
while (_local2 < list.length) {
setChildIndex(list[_local2], _local2);
_local2++;
};
}
override public function init():void{
var _local1:int;
_local1 = 0;
while (_local1 < 2) {
this[("flapper" + _local1)].init();
_local1++;
};
stage.focus = stage;
ball0.speedv = 1;
Ball_Speed = false;
Ball_Brake = false;
itemlines.x = 1000;
Ball_Fire = false;
item_fire.x = 1000;
item_fire.y = 1000;
Ball_Spring = false;
item_spring.x = 1000;
ball0.txt.text = "";
ball1.x = 1000;
ball1.y = 31;
item.x = 1000;
frame = -150;
item.parented = this;
num_ball = 1;
levelNum = 4;
num_cart = 0;
remove("cart");
cart.x = 1000;
resetLevel("num_shop");
resetLevel("num_money");
resetLevel("num_cash");
num_cart = 1;
buildhitObj();
obj13.parented = this;
obj13.reset();
warp.obj.stop();
move_array = [obj13];
x0 = 114;
y0 = 259;
x2 = 259;
y2 = 390;
x1 = 203;
y1 = 61;
x6 = 117;
y6 = 365;
x7 = 400;
y7 = 365;
x10 = 260;
lineSort = 10;
lineSortArray = [23, 7, 6, 6, 7, 7, 6, 7, 5, 5];
buildLine();
dotSprite.visible = false;
allowed = true;
addEvent();
setFlapper();
timescore.timer();
setChildIndex(timescore, (numChildren - 1));
setChildIndex(item, (numChildren - 2));
}
public function end1(){
var _local1:int;
_local1 = 0;
while (_local1 < lineAllowed2.length) {
lineAllowed2[_local1].allowed = false;
_local1++;
};
s9.x = 1000;
}
public function end0(){
var _local1:int;
_local1 = 0;
while (_local1 < lineAllowed.length) {
lineAllowed[_local1].allowed = false;
_local1++;
};
s8.x = 1000;
}
public function resetLevel(_arg1:String):void{
var _local2:int;
if (_arg1 == "num_shop"){
_local2 = 2;
while (_local2 < 10) {
this[("obj" + _local2)].type = "Multipletimes";
this[("obj" + _local2)].parented = this;
this[("obj" + _local2)].gotoAndStop(1);
_local2++;
};
num_shop = 8;
};
if (_arg1 == "num_money"){
_local2 = 10;
while (_local2 < 13) {
this[("obj" + _local2)].parented = this;
this[("obj" + _local2)].gotoAndStop(1);
_local2++;
};
num_money = 3;
};
if (_arg1 == "num_cash"){
remove("cart");
if (num_cart == 0){
_local2 = 40;
while (_local2 < 42) {
this[("obj_" + _local2)].type = "Multipletimes";
this[("obj_" + _local2)].parented = this;
this[("obj_" + _local2)].gotoAndStop(1);
this[("obj_" + _local2)].hitNum = Pinball.moden;
this[("obj_" + _local2)].radius = 20;
this[("obj_" + _local2)].hit = false;
this[("obj_" + _local2)].gotoAndStop(1);
_local2++;
};
num_cash = 2;
} else {
trace("把小车attach出来");
addChild(cart);
cart.hitNum = Pinball.moden;
cart.parented = this;
cart.radius = 22;
move_array.push(cart);
hitObj2_array.push(cart);
cart.reset();
num_cart = 0;
};
};
if (_arg1 == "miniBoss"){
move_array = [];
trace("传送带播放");
hitObj_array.push(warp);
move_array.push(warp);
warp.type = "warp";
warp.parented = this;
warp.x0 = 467;
warp.y0 = 354;
warp.obj.play();
};
}
}
}//package pinball
Section 96
//Level5 (pinball.Level5)
package pinball {
import flash.display.*;
public class Level5 extends Level {
public var dotSprite:MovieClip;
private function buildhitObj():void{
list = [];
hitObj_array = [];
hitObj2_array = [];
}
override public function init():void{
stage.focus = stage;
num_ball = 1;
levelNum = 4;
buildhitObj();
move_array = [];
x0 = 239;
y0 = 125;
x2 = 259;
y2 = 390;
x1 = 203;
y1 = 61;
x6 = 117;
y6 = 365;
x7 = 400;
y7 = 365;
x10 = 260;
lineSort = 8;
lineSortArray = [23, 7, 6, 6, 7, 7, 6, 7];
buildLine();
addEvent();
setFlapper();
ball0.moveCtrl = true;
ball0.speedv = 0.3;
allowed = true;
}
public function Level4(){
}
public function resetLevel(_arg1:String):void{
}
override protected function move():void{
}
}
}//package pinball
Section 97
//Line (pinball.Line)
package pinball {
import flash.display.*;
import flash.geom.*;
public class Line extends Sprite {
public var sin;
public var dot1:String;
public var len;
public var lineDecay:Number;
public var dot0;
public var p;
public var cos;
public var flapper:int;// = 2
public var allowed:Boolean;
public var x1;
public var p1;
public var vx;
public var vy;
public var p0;
public var x0;
public var y0;
public var y1;
public function Line(){
flapper = 2;
super();
}
public function updata(){
var _local1:Point;
_local1 = new Point(p0.x, p0.y);
_local1 = p.localToGlobal(_local1);
x0 = _local1.x;
y0 = _local1.y;
_local1 = new Point(p1.x, p1.y);
_local1 = p.localToGlobal(_local1);
x1 = _local1.x;
y1 = _local1.y;
lineDecay = 0.09;
vx = (x1 - x0);
vy = (y1 - y0);
allowed = true;
cos = (vx / len);
sin = (vy / len);
}
}
}//package pinball
Section 98
//losed (pinball.losed)
package pinball {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.external.*;
public class losed extends MovieClip {
public var _bt_sub:SimpleButton;
public var more:MovieClip;
public var button_gameover_moregames:SimpleButton;
public var logo_mainscreen:MovieClip;
public var score:TextField;
public var parented;
public var bt_sub:MovieClip;
public var _bt_playagain:SimpleButton;
public var userName:TextField;
public var bt_playagain:MovieClip;
private function _onMouseDown(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
if (_arg1.target.name == "_bt_sub"){
if (userName.text != ""){
if (language.language_nr != 2){
HighScore.subScore(userName.text, score.text);
Pinball.Root.goTo("highScore");
} else {
_local2 = new Date().getTime();
_local3 = Random.SortT();
_local4 = Random.hex_average((((String(Random.gameID) + score.text) + _local3) + _local2));
Random.DrawLine(_local4, _local3, 10, 10, 15, 15);
_local5 = Random.strqq;
Random.senturl(score.text, _local3, _local5, _local2);
HighScore.subScore(userName.text, score.text);
_local6 = new Timer(1000, 1);
_local6.addEventListener(TimerEvent.TIMER, resetPage);
_local6.start();
};
};
};
if (_arg1.target.name == "_bt_playagain"){
if (language.language_nr != 2){
Level.gameStart = false;
Pinball.moden = 2;
TimeScore.reSet();
Pinball.Root.goTo("level1", true);
} else {
ExternalInterface.call("function(){window.location.reload(true);}");
};
};
}
public function init(){
score.text = "";
userName.text = "";
}
public function init2(){
var _local1:Array;
more.gotoAndStop(1);
score.text = String(TimeScore.score);
_local1 = ["", "Player", "玩家", "Speler", "Joueur", "Spieler", "Gracz", "Spelare", "Giocatore", "Jugador", "Jogador", "Jogador", "Игрок", "Pemain", "Oyuncu", "Pemain", "Player", "プレイヤー"];
userName.text = _local1[language.language_nr];
_bt_sub.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_sub.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_sub.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
_bt_playagain.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_playagain.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_playagain.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
button_gameover_moregames.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
button_gameover_moregames.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
button_gameover_moregames.addEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick6);
}
public function removeEvent():void{
bt_sub.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
bt_sub.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
bt_sub.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
bt_playagain.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
bt_playagain.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
bt_playagain.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
button_gameover_moregames.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
button_gameover_moregames.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
button_gameover_moregames.removeEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick6);
}
private function _mouseover(_arg1:MouseEvent){
if (_arg1.target.name == "_bt_sub"){
bt_sub.gotoAndStop(2);
};
if (_arg1.target.name == "_bt_playagain"){
bt_playagain.gotoAndStop(2);
};
if (_arg1.target.name == "button_gameover_moregames"){
more.gotoAndStop(2);
};
}
private function resetPage(_arg1:TimerEvent){
trace("!!!!resetPage!!!");
ExternalInterface.call("function(){window.location.reload(true);}");
}
private function _mouseout(_arg1:MouseEvent){
if (_arg1.target.name == "_bt_sub"){
bt_sub.gotoAndStop(1);
};
if (_arg1.target.name == "_bt_playagain"){
bt_playagain.gotoAndStop(1);
};
if (_arg1.target.name == "button_gameover_moregames"){
more.gotoAndStop(1);
};
}
}
}//package pinball
Section 99
//miniBOSS (pinball.miniBOSS)
package pinball {
public class miniBOSS extends hitObj_3 {
public var num_life:int;
private var frame:uint;
public function miniBOSS(){
type = "MiniBoss";
frame = 0;
}
public function respondend():void{
parented.miniBOSSend();
}
public function reset():void{
radius = 40;
if (Pinball.moden == 1){
num_life = 2;
} else {
if (Pinball.moden == 2){
num_life = 3;
} else {
if (Pinball.moden == 3){
num_life = 4;
};
};
};
hit = false;
frame = 0;
gotoAndStop(1);
}
override public function respond(_arg1):void{
if (currentFrame < 9){
score = getScore.getScores(type);
addChild(addscore);
addscore.gotoAndPlay(2);
if (score > 0){
addscore.txt.text = String(score);
} else {
addscore.txt.text = "";
};
hit = true;
gotoAndStop("hited");
frame = 0;
num_life--;
};
}
public function move():void{
frame++;
if (hit){
if ((((frame > 150)) && ((num_life > 0)))){
hit = false;
frame = 0;
gotoAndStop(1);
};
if ((((frame > 150)) && ((num_life == 0)))){
hit = false;
gotoAndPlay("dis");
};
};
}
}
}//package pinball
Section 100
//Peacock (pinball.Peacock)
package pinball {
public class Peacock extends hitObj_3 {
private var areaX:Number;
private var frame:uint;
private var angle;
public function Peacock(){
addFrameScript(0, frame1, 4, frame5, 16, frame17, 115, frame116, 122, frame123);
angle = 0;
frame = 0;
}
override public function respond_end():void{
}
public function reset():void{
hit = true;
angle = 3;
y = 310;
x = ((Math.cos(angle) * 80) + 242);
frame = 0;
gotoAndPlay("show2");
}
function frame17(){
if (hitNum > 0){
gotoAndStop(1);
hit = false;
};
}
function frame5(){
parented.playSound("s_hit_");
}
function frame116(){
parented.resetLevel("num_Chicken");
stop();
}
override public function respond(_arg1):void{
hit = true;
gotoAndPlay("show");
hitNum--;
}
function frame123(){
hit = false;
}
function frame1(){
stop();
}
public function move():void{
if (!hit){
frame++;
areaX = ((Math.cos(angle) * 80) + 242);
angle = (angle + 0.02);
if ((((areaX > x)) && (!((currentFrame == 3))))){
gotoAndStop(3);
} else {
if ((((areaX < x)) && (!((currentFrame == 2))))){
gotoAndStop(2);
};
};
x = areaX;
};
}
}
}//package pinball
Section 101
//Pinball (pinball.Pinball)
package pinball {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
public class Pinball extends MovieClip {
private var highScore:HighScores;
private var _music_mainscreen:Sound;
private var music:String;// = ""
private var i:int;
public var txt:TextField;
private var intro:Intro;
private var howtoplay:HowToPlay;
private var choosediff:chooseDiff;
public var localConnection;
private var _music_ballLost;
private var time:Timer;
private var _music_gameOver;
public var logo_preloader:SimpleButton;
private var channel:SoundChannel;
private var lose:loseds;
private var _music_beach;
private var level1:Level1s;
private var level2:Level2s;
private var level3:Level3s;
private var level4:Level4s;
private var level5:Level5s;
public var _request:URLRequest;
public var logocn:MovieClip;
private var _music_themepark;
private var _music_farm;
private var win:Wins;
private var _music_shoppingmall;
public static var Root:MovieClip;
public static var num_quality:int = 1;
public static var num_sound:int = 1;
public static var moden:int = 1;
public function Pinball(){
music = "";
super();
addFrameScript(0, frame1, 10, frame11, 20, frame21, 26, frame27, 38, frame39);
stop();
stage.addEventListener(Event.ENTER_FRAME, _onEnterFrame);
}
private function _play(_arg1:TimerEvent){
channel = _music_beach.play(0, 999999999);
if (num_sound == 2){
setVolume(0);
};
time.stop();
}
private function stopAllSound(){
channel.stop();
}
public function setVolume(_arg1:Number){
var _local2:SoundTransform;
_local2 = channel.soundTransform;
_local2.volume = _arg1;
channel.soundTransform = _local2;
}
public function onCLick2(_arg1:Event){
var _local2:String;
if (language.language_nr != 2){
_local2 = "http://www.gameportal.net";
} else {
_local2 = "http://www.game.com.cn/downloads/";
};
_request = new URLRequest(_local2);
navigateToURL(_request, "_blank");
}
public function onCLick3(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=logo_preloader"));
};
navigateToURL(_request, "_blank");
}
public function onCLick5(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=logo_level"));
};
navigateToURL(_request, "_blank");
}
public function onCLick9(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_choosedifficulties_moregame"));
};
navigateToURL(_request, "_blank");
}
public function onCLick4(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_mainscreen_moregames"));
};
navigateToURL(_request, "_blank");
}
public function onCLick7(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_highscore_3000games"));
};
navigateToURL(_request, "_blank");
}
public function onCLick8(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_welldone_moregame"));
};
navigateToURL(_request, "_blank");
}
function frame1(){
localConnection = new LocalConnection();
language.Language = 2;
logo_preloader.addEventListener(MouseEvent.CLICK, onCLick3);
}
public function onCLick6(_arg1:Event){
if (language.language_nr == 2){
_request = new URLRequest(language.url1);
} else {
_request = new URLRequest((language.url1 + "&utm_term=button_gameover_moregames"));
};
navigateToURL(_request, "_blank");
}
function frame21(){
stop();
logocn.addEventListener(MouseEvent.CLICK, _clickcn);
}
function frame11(){
prevFrame();
}
function frame27(){
init();
}
private function _onEnterFrame(_arg1:Event){
txt.text = String((("Loading:" + Math.floor(((loaderInfo.bytesLoaded / loaderInfo.bytesTotal) * 100))) + "%"));
if (loaderInfo.bytesLoaded == loaderInfo.bytesTotal){
stage.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
if (language.branding_nr != 2){
gotoAndPlay("game");
} else {
gotoAndStop("logo");
};
};
}
function frame39(){
prevFrame();
}
public function _clickcn(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.game.com.cn/moregames/");
navigateToURL(_local2, "_blank");
}
public function init(){
_music_shoppingmall = new music_shoppingmall();
_music_themepark = new music_themepark();
_music_farm = new music_farm();
_music_beach = new music_beach();
_music_ballLost = new music_ballLost();
_music_gameOver = new music_gameOver();
_music_mainscreen = new music_mainscreen();
music = "_music_mainscreen";
channel = _music_mainscreen.play(0, 999999999);
intro = new Intro();
choosediff = new chooseDiff();
highScore = new HighScores();
howtoplay = new HowToPlay();
level1 = new Level1s();
level2 = new Level2s();
level3 = new Level3s();
level4 = new Level4s();
level5 = new Level5s();
lose = new loseds();
win = new Wins();
addChild(intro);
level1.parented = this;
level2.parented = this;
level3.parented = this;
level4.parented = this;
level5.parented = this;
choosediff.parented = this;
win.parented = this;
highScore.parented = this;
lose.parented = this;
intro.parented = this;
Root = this;
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
}
private function _onKeyDown(_arg1:KeyboardEvent):void{
}
public function goTo(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0):void{
var _local5:Object;
switch (_arg1){
case "intro":
case "highScore":
case "howtoplay":
if (music != "_music_mainscreen"){
music = "_music_mainscreen";
stopAllSound();
channel = _music_mainscreen.play(0, 999999999);
trace("改变1");
};
break;
case "level1":
if (music != "_music_beach"){
music = "_music_beach";
stopAllSound();
channel = _music_beach.play(0, 999999999);
trace("改变2");
} else {
stopAllSound();
trace("播放lost");
channel = _music_ballLost.play(0, 1);
trace("_music_ballLost.length", _music_ballLost.length);
time = new Timer(_music_ballLost.length, 1);
time.addEventListener(TimerEvent.TIMER, _play);
time.start();
};
break;
case "level2":
if (music != "_music_farm"){
music = "_music_farm";
stopAllSound();
channel = _music_farm.play(0, 999999999);
trace("改变3");
};
break;
case "level3":
if (music != "_music_themepark"){
music = "_music_themepark";
stopAllSound();
channel = _music_themepark.play(0, 999999999);
trace("改变4");
};
break;
case "level4":
if (music != "_music_shoppingmall"){
music = "_music_shoppingmall";
stopAllSound();
channel = _music_shoppingmall.play(0, 999999999);
trace("改变5");
};
break;
case "lose":
if (music != "_music_gameOver"){
music = "_music_gameOver";
stopAllSound();
channel = _music_gameOver.play(0, 1);
trace("改变6");
};
break;
default:
trace("改变0");
break;
};
if (num_sound == 1){
setVolume(1);
};
if (num_sound == 2){
setVolume(0);
};
_local5 = getChildAt(0);
if ((((((((((_local5 is Intro)) || ((_local5 is Level)))) || ((_local5 is chooseDiff)))) || ((_local5 is loseds)))) || ((_local5 is HighScore)))){
_local5.removeEvent();
};
i = (numChildren - 1);
while (i > -1) {
removeChildAt(i);
i--;
};
addChild(this[_arg1]);
if ((((((((((this[_arg1] is Intro)) || ((this[_arg1] is Level)))) || ((this[_arg1] is chooseDiff)))) || ((this[_arg1] is loseds)))) || ((this[_arg1] is HighScore)))){
this[_arg1].init();
};
if ((this[_arg1] is HowToPlay)){
this[_arg1].gamestart = _arg2;
};
if ((this[_arg1] is Level)){
_local5 = this[_arg1].ball0;
_local5.x = this[_arg1][("x" + _arg4)];
_local5.y = this[_arg1][("y" + _arg4)];
_local5.x0 = this[_arg1][("x" + _arg4)];
_local5.y0 = this[_arg1][("y" + _arg4)];
if (_arg3){
_local5.vx = Ball.vx0;
_local5.vy = Ball.vy0;
} else {
_local5.vx = 0;
_local5.vy = 0;
};
if (_arg2){
this[_arg1].showReady();
};
if ((((Level.levelNum == 2)) && ((_arg4 == 2)))){
this[_arg1].door0.gotoAndStop(1);
this[_arg1].door1.gotoAndStop(1);
};
_local5.moveCtrl = true;
trace("where", _arg1);
if ((((_arg4 == 0)) && ((_arg1 == "level1")))){
this[_arg1].resetBall();
};
} else {
this[_arg1].gotoAndPlay(2);
};
}
}
}//package pinball
Section 102
//ShoppingCart (pinball.ShoppingCart)
package pinball {
public class ShoppingCart extends hitObj_3 {
private var areaX:Number;
private var frame:uint;
private var angle;
public function ShoppingCart(){
type = "Moving";
angle = 0;
frame = 0;
}
override public function respond_end():void{
parented.resetLevel("num_cash");
}
public function reset():void{
hit = true;
angle = 1.5;
y = 225;
x = ((Math.cos(angle) * 165) + 260);
frame = 0;
gotoAndPlay("show2");
}
override public function respond(_arg1):void{
hit = true;
gotoAndPlay("show");
hitNum--;
}
public function move():void{
if (!hit){
frame++;
areaX = ((Math.cos(angle) * 165) + 260);
angle = (angle + 0.04);
if ((((areaX > x)) && (!((currentFrame == 3))))){
gotoAndStop(3);
} else {
if ((((areaX < x)) && (!((currentFrame == 2))))){
gotoAndStop(2);
};
};
x = areaX;
};
}
}
}//package pinball
Section 103
//TimeScore (pinball.TimeScore)
package pinball {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class TimeScore extends MovieClip {
public var pause_:MovieClip;
public var bt_continue:MovieClip;
public var _bt_continue:SimpleButton;
public var txt_time:TextField;
public var sounds:SimpleButton;
public var userlife:TextField;
public var _bt_backtomain:SimpleButton;
public var bt_backtomain:MovieClip;
public var userscore:TextField;
public var add1:MovieClip;
public var sounds_:MovieClip;
public var parented;
public var hitarea_url1:SimpleButton;
public var pause:SimpleButton;
public var logo_level:MovieClip;
public static var time0;
public static var time1;
private static var _scoreshow;
public static var score;
private static var _score;
public static var life:int;
public function TimeScore(){
pause.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
sounds.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
}
public function _pause(){
if (currentFrame == 1){
trace("点击1");
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
parented.setChildIndex(this, (parented.numChildren - 1));
parented.removeEvent();
gotoAndStop(2);
pause.width = 520;
pause.height = 460;
pause.x = 0;
pause.y = 0;
} else {
if (currentFrame == 2){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
trace("点击2");
parented.addEvent();
gotoAndStop(1);
pause.width = 18;
pause.height = 18;
pause.x = 15;
pause.y = 426;
};
};
}
public function init(){
hitarea_url1.addEventListener(MouseEvent.MOUSE_DOWN, parented.parented.onCLick5);
}
public function init2(){
_bt_continue.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_continue.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_continue.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
_bt_backtomain.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
_bt_backtomain.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
_bt_backtomain.addEventListener(MouseEvent.MOUSE_DOWN, _onClick);
}
private function _onKeyDown(_arg1:KeyboardEvent){
if (_arg1.keyCode == 80){
_pause();
};
}
public function timer():void{
if (time1 == undefined){
TimeScore.reSet();
};
userlife.text = ("x" + life);
time1--;
if ((((time0 == 0)) && ((time1 < 1)))){
time1 = 0;
gotoAndPlay(3);
parented.removeEvent();
} else {
if (time1 < 0){
time1 = 59;
time0--;
};
if (time1 < 10){
txt_time.text = (((("0" + time0) + ":0") + time1) + " ");
} else {
txt_time.text = (((("0" + time0) + ":") + time1) + " ");
};
};
}
public function add(){
score = (score + 100000);
add1.play();
}
public function _onClick(_arg1:MouseEvent){
if ((((_arg1.target.name == "pause")) || ((_arg1.target.name == "_bt_continue")))){
_pause();
};
if (_arg1.target.name == "sounds"){
Pinball.num_sound++;
if (Pinball.num_sound > 2){
Pinball.num_sound = 1;
};
if (Pinball.num_sound == 1){
parented.parented.setVolume(1);
} else {
parented.parented.setVolume(0);
};
sounds_.gotoAndStop(Pinball.num_sound);
};
if (_arg1.target.name == "_bt_backtomain"){
_pause();
Pinball.Root.goTo("intro");
};
}
private function _mouseover(_arg1:MouseEvent){
if (_arg1.target.name == "_bt_continue"){
bt_continue.gotoAndStop(2);
};
if (_arg1.target.name == "_bt_backtomain"){
bt_backtomain.gotoAndStop(2);
};
}
public function move(){
var _local1:int;
userlife.text = ("x" + life);
sounds_.gotoAndStop(Pinball.num_sound);
pause_.gotoAndStop(1);
_score = (_score + Math.ceil(((score - _score) * 0.2)));
_scoreshow = String(_score);
if (score < 100000000){
_local1 = 0;
while (_local1 < (8 - _scoreshow.length)) {
_scoreshow = ("0" + _scoreshow);
};
};
userscore.text = _scoreshow;
}
public function end(){
Pinball.Root.goTo("win", true, true, 0);
}
private function _mouseout(_arg1:MouseEvent){
if (_arg1.target.name == "_bt_continue"){
bt_continue.gotoAndStop(1);
};
if (_arg1.target.name == "_bt_backtomain"){
bt_backtomain.gotoAndStop(1);
};
}
public static function reSet(){
score = 0;
_score = 0;
time0 = 9;
time1 = 59;
life = 3;
}
public static function lifeDown():void{
life--;
}
}
}//package pinball
Section 104
//Tractor (pinball.Tractor)
package pinball {
public class Tractor extends hitObj_3 {
private var areaX:Number;
private var frame:uint;
private var angle;
public function Tractor(){
type = "Multipletimes";
angle = 0;
frame = 0;
}
override public function respond_end():void{
}
public function reset():void{
hit = true;
angle = 3;
y = 245;
x = (Math.cos(angle) * 350);
frame = 0;
gotoAndPlay("show2");
}
override public function respond(_arg1):void{
hit = true;
gotoAndPlay("show");
hitNum--;
}
public function move():void{
if (!hit){
frame++;
areaX = (Math.cos(angle) * 350);
angle = (angle + 0.015);
if ((((areaX > x)) && (!((currentFrame == 3))))){
gotoAndStop(3);
} else {
if ((((areaX < x)) && (!((currentFrame == 2))))){
gotoAndStop(2);
};
};
x = areaX;
};
}
}
}//package pinball
Section 105
//Water (pinball.Water)
package pinball {
import flash.display.*;
public class Water extends Sprite {
var i:int;
var parented;
public function move():void{
i = 0;
while (i < parented.num_ball) {
if (this.hitTestPoint(parented[("ball" + i)].x, parented[("ball" + i)].y, true)){
parented[("_water" + i)].x = parented[("ball" + i)].x;
parented[("_water" + i)].y = parented[("ball" + i)].y;
if (parented[("ball" + i)].vy <= 0){
if (parented[("ball" + i)].vx <= 0){
parented[("ball" + i)].vx = (parented[("ball" + i)].vx + 0.3);
parented[("_water" + i)].gotoAndStop(2);
} else {
parented[("ball" + i)].vx = (parented[("ball" + i)].vx - 0.3);
parented[("_water" + i)].gotoAndStop(4);
};
} else {
if (parented[("ball" + i)].vx <= 0){
parented[("ball" + i)].vx = (parented[("ball" + i)].vx + 0.3);
parented[("_water" + i)].gotoAndStop(3);
} else {
parented[("ball" + i)].vx = (parented[("ball" + i)].vx - 0.3);
parented[("_water" + i)].gotoAndStop(5);
};
};
} else {
parented[("_water" + i)].gotoAndStop(1);
};
i++;
};
}
}
}//package pinball
Section 106
//Win (pinball.Win)
package pinball {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class Win extends MovieClip {
public var more:MovieClip;
public var button_gameover_moregames:SimpleButton;
public var logo_mainscreen:MovieClip;
public var score:TextField;
public var parented;
public var bt_sub:SimpleButton;
public var userName:TextField;
public var bt_playagain:SimpleButton;
private function _onMouseDown(_arg1:MouseEvent):void{
if (_arg1.target.name == "bt_sub"){
HighScore.subScore(userName.text, score.text);
Pinball.Root.goTo("highScore");
};
if (_arg1.target.name == "bt_playagain"){
Level.gameStart = false;
Pinball.moden = 2;
TimeScore.reSet();
Pinball.Root.goTo("level1", true);
};
}
public function init(){
score.text = "";
userName.text = "";
}
public function init2(){
more.gotoAndStop(1);
score.text = String(TimeScore.score);
userName.text = "Player";
bt_playagain.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
button_gameover_moregames.addEventListener(MouseEvent.MOUSE_OVER, _mouseover);
button_gameover_moregames.addEventListener(MouseEvent.MOUSE_OUT, _mouseout);
button_gameover_moregames.addEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick8);
bt_sub.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
}
public function removeEvent():void{
bt_playagain.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
button_gameover_moregames.removeEventListener(MouseEvent.MOUSE_OVER, _mouseover);
button_gameover_moregames.removeEventListener(MouseEvent.MOUSE_OUT, _mouseout);
button_gameover_moregames.removeEventListener(MouseEvent.MOUSE_DOWN, parented.onCLick8);
bt_sub.removeEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
}
private function _mouseover(_arg1:MouseEvent){
more.gotoAndStop(2);
}
private function _mouseout(_arg1:MouseEvent){
more.gotoAndStop(1);
}
}
}//package pinball
Section 107
//addScores (addScores)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class addScores extends addScore {
public function addScores(){
addFrameScript(0, frame1, 1, frame2, 5, frame6, 10, frame11, 15, frame16);
}
function frame6(){
parented.setChildIndex(this, (parented.numChildren - 1));
}
function frame16(){
parented.remove();
stop();
}
function frame1(){
stop();
}
function frame2(){
scaleX = parented.scaleX;
}
function frame11(){
parented.setChildIndex(this, (parented.numChildren - 1));
}
}
}//package
Section 108
//Balls (Balls)
package {
import pinball.*;
public dynamic class Balls extends Ball {
public function Balls(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 109
//chooseDiff (chooseDiff)
package {
import pinball.*;
public dynamic class chooseDiff extends chooseDiff {
public function chooseDiff(){
addFrameScript(0, frame1, 29, frame30, 63, frame64);
}
function frame64(){
stop();
}
function frame1(){
stop();
}
function frame30(){
init2();
}
}
}//package
Section 110
//door34 (door34)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class door34 extends hitObj_1 {
public function door34(){
addFrameScript(0, frame1, 6, frame7, 17, frame18, 28, frame29);
}
function frame18(){
showBall();
}
function frame7(){
parented.playSound("s_tree_");
}
function frame1(){
stop();
}
function frame29(){
stop();
}
}
}//package
Section 111
//door5 (door5)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class door5 extends hitObj_2 {
public function door5(){
addFrameScript(0, frame1, 18, frame19);
}
function frame1(){
stop();
}
function frame19(){
parented.doorend();
stop();
}
}
}//package
Section 112
//Dot (Dot)
package {
import flash.display.*;
public dynamic class Dot extends MovieClip {
}
}//package
Section 113
//EvilPirates (EvilPirates)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class EvilPirates extends EvilPirate {
public function EvilPirates(){
addFrameScript(0, frame1, 19, frame20, 59, frame60, 84, frame85);
}
function frame85(){
hit = false;
}
function frame1(){
stop();
}
function frame20(){
if (hitNum > 0){
gotoAndStop(1);
hit = false;
};
}
function frame60(){
parented.resetLevel("num_miniboss");
stop();
}
}
}//package
Section 114
//Farmers (Farmers)
package {
import pinball.*;
public dynamic class Farmers extends Farmer {
public function Farmers(){
addFrameScript(0, frame1, 19, frame20, 30, frame31, 55, frame56);
}
function frame1(){
stop();
}
function frame20(){
if (hitNum > 0){
gotoAndStop(1);
hit = false;
};
}
function frame31(){
respond_end();
stop();
}
function frame56(){
hit = false;
}
}
}//package
Section 115
//Fire (Fire)
package {
import pinball.*;
public dynamic class Fire extends Fires {
}
}//package
Section 116
//HighScores (HighScores)
package {
import pinball.*;
public dynamic class HighScores extends HighScore {
public function HighScores(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
init();
}
}
}//package
Section 117
//Intro (Intro)
package {
import pinball.*;
public dynamic class Intro extends Intro {
public function Intro(){
addFrameScript(28, frame29, 65, frame66);
}
function frame66(){
stop();
}
function frame29(){
init();
}
}
}//package
Section 118
//introBgm (introBgm)
package {
import pinball.*;
public dynamic class introBgm extends introBgm {
}
}//package
Section 119
//ItemLines (ItemLines)
package {
import flash.display.*;
public dynamic class ItemLines extends MovieClip {
}
}//package
Section 120
//Items (Items)
package {
import pinball.*;
public dynamic class Items extends Item {
public function Items(){
addFrameScript(0, frame1, 1, frame2, 14, frame15, 23, frame24, 28, frame29, 33, frame34, 35, frame36);
}
function frame15(){
stop();
}
function frame1(){
stop();
_itmes.gotoAndStop(_n);
}
function frame24(){
_itmes.gotoAndStop(_n);
}
function frame29(){
_itmes.gotoAndStop(_n);
}
function frame2(){
_itmes.gotoAndStop(_n);
}
function frame36(){
gotoAndStop(1);
}
function frame34(){
_itmes.gotoAndStop(_n);
}
}
}//package
Section 121
//ItemSpring (ItemSpring)
package {
import pinball.*;
public dynamic class ItemSpring extends hitObj_1 {
public function ItemSpring(){
addFrameScript(0, frame1, 22, frame23, 33, frame34);
}
function frame1(){
stop();
}
function frame23(){
showBall((Math.floor((Math.random() * 2)) + 1));
}
function frame34(){
stop();
}
}
}//package
Section 122
//jumplevel (jumplevel)
package {
import pinball.*;
public dynamic class jumplevel extends JumpLevel {
}
}//package
Section 123
//language (language)
package {
import flash.net.*;
public class language {
public static var localConnection = new LocalConnection();
public static var _languageNum:uint = 0;
public static var _languageBox:Array = new Array();
public static var SpillGroupUrl:Array = new Array();
public static function get url2():String{
var _local1:int;
_local1 = 0;
while (_local1 < SpillGroupUrl.length) {
if (localConnection.domain == SpillGroupUrl[_local1]){
return (_languageBox[_languageNum].url2);
};
_local1++;
};
return (_languageBox[_languageNum].url2);
}
public static function get language_nr():int{
return (_languageBox[_languageNum].language_nr);
}
public static function set Language(_arg1:Object):void{
var returnDomain:Function;
var hostingdomain:String;
var language1:*;
var language2:*;
var language3:*;
var language4:*;
var language5:*;
var language6:*;
var language7:*;
var language8:*;
var language9:*;
var language10:*;
var language11:*;
var language12:*;
var language13:*;
var language14:*;
var language15:*;
var language16:*;
var language17:*;
var language18:*;
var language19:*;
var myList:String;
var myArray:Array;
var domainextention:int;
var domainname:int;
var languageVersion = _arg1;
returnDomain = function (_arg1:String):String{
var _local2:String;
var _local3:uint;
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
return (_local2);
};
if (localConnection.domain != "localhost"){
myList = localConnection.domain.split(".");
myArray = myList.split(",");
trace(myArray.length);
domainextention = (myArray.length - 1);
domainname = (myArray.length - 2);
hostingdomain = ((myArray[domainname] + ".") + myArray[domainextention]);
} else {
hostingdomain = "localhost";
};
language1 = new languageItem();
language1.url1 = ("http://www.gamesgames.com/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language1.url2 = "http://www.gamesgames.com/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language1.language_nr = 1;
language1.branding_nr = 17;
_languageBox.push(language1);
language2 = new languageItem();
language2.url1 = "http://www.game.com.cn/moregames/";
language2.url2 = "http://www.game.com.cn/downloads/";
language2.language_nr = 2;
language2.branding_nr = 2;
_languageBox.push(language2);
language3 = new languageItem();
language3.url1 = ("http://www.spelletjes.nl/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language3.url2 = "http://www.spelletjes.nl/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language3.language_nr = 3;
language3.branding_nr = 18;
_languageBox.push(language3);
language4 = new languageItem();
language4.url1 = ("http://www.jeux.fr/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language4.url2 = "http://www.jeux.fr/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language4.language_nr = 4;
language4.branding_nr = 19;
_languageBox.push(language4);
language5 = new languageItem();
language5.url1 = ("http://www.jetztspielen.de/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language5.url2 = "http://www.jetztspielen.de/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language5.language_nr = 5;
language5.branding_nr = 20;
_languageBox.push(language5);
language6 = new languageItem();
language6.url1 = ("http://www.gry.pl/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language6.url2 = "http://www.gry.pl/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language6.language_nr = 6;
language6.branding_nr = 21;
_languageBox.push(language6);
language7 = new languageItem();
language7.url1 = ("http://www.spela.se/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language7.url2 = "http://www.spela.se/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language7.language_nr = 7;
language7.branding_nr = 22;
_languageBox.push(language7);
language8 = new languageItem();
language8.url1 = ("http://www.gioco.it/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language8.url2 = "http://www.gioco.it/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language8.language_nr = 8;
language8.branding_nr = 23;
_languageBox.push(language8);
language9 = new languageItem();
language9.url1 = ("http://www.juegos.com/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language9.url2 = "http://www.juegos.com/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language9.language_nr = 9;
language9.branding_nr = 24;
_languageBox.push(language9);
language10 = new languageItem();
language10.url1 = ("http://www.ojogos.com.br/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language10.url2 = "http://www.ojogos.com.br/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language10.language_nr = 11;
language10.branding_nr = 25;
_languageBox.push(language10);
language11 = new languageItem();
language11.url1 = ("http://www.games.co.id/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language11.url2 = "http://www.games.co.id/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language11.language_nr = 13;
language11.branding_nr = 13;
_languageBox.push(language11);
language12 = new languageItem();
language12.url1 = ("http://www.ourgames.ru/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language12.url2 = "http://www.ourgames.ru/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language12.language_nr = 12;
language12.branding_nr = 26;
_languageBox.push(language12);
language13 = new languageItem();
language13.url1 = ("http://www.games.co.uk/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language13.url2 = "http://www.games.co.uk/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language13.language_nr = 16;
language13.branding_nr = 27;
_languageBox.push(language13);
language14 = new languageItem();
language14.url1 = ("http://www.game.co.in/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language14.url2 = "http://www.game.co.in/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language14.language_nr = 16;
language14.branding_nr = 12;
_languageBox.push(language14);
language15 = new languageItem();
language15.url1 = ("http://www.oyunlar123.com/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language15.url2 = "http://www.oyunlar123.com/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language15.language_nr = 14;
language15.branding_nr = 28;
_languageBox.push(language15);
language16 = new languageItem();
language16.url1 = ("http://www.game.com.my/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language16.url2 = "http://www.game.com.my/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language16.language_nr = 15;
language16.branding_nr = 16;
_languageBox.push(language16);
language17 = new languageItem();
language17.url1 = ("http://www.ojogos.pt/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language17.url2 = "http://www.ojogos.pt/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language17.language_nr = 10;
language17.branding_nr = 42;
_languageBox.push(language17);
language18 = new languageItem();
language18.url1 = ("http://www.laro.com.ph/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language18.url2 = "http://www.laro.com.ph/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language18.language_nr = 16;
language18.branding_nr = 43;
_languageBox.push(language18);
language19 = new languageItem();
language19.url1 = ("http://www.egames.jp/moregames/?utm_source=brandedgames_external&utm_medium=4_level_pinball&utm_campaign=" + hostingdomain);
language19.url2 = "http://www.egames.jp/moregames/?utm_source=brandedgames_internal&utm_medium=4_level_pinball";
language19.language_nr = 17;
language19.branding_nr = 44;
_languageBox.push(language19);
SpillGroupUrl.push("localhost");
SpillGroupUrl.push("www8.agame.com");
if ((((((languageVersion is Number)) || ((languageVersion is uint)))) || ((languageVersion is int)))){
_languageNum = (Number(languageVersion) - 1);
};
}
public static function get url1():String{
var _local1:int;
_local1 = 0;
while (_local1 < SpillGroupUrl.length) {
if (localConnection.domain == SpillGroupUrl[_local1]){
return (_languageBox[_languageNum].url1);
};
_local1++;
};
return (_languageBox[_languageNum].url1);
}
public static function get branding_nr():int{
return (_languageBox[_languageNum].branding_nr);
}
public static function get Language(){
return (_languageNum);
}
}
}//package
class languageItem {
public var url1:String;
public var url2:String;
public var branding_nr:int;
public var language_nr:int;
private function languageItem(){
}
}
Section 124
//level1door0 (level1door0)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1door0 extends hitObj_3 {
public function level1door0(){
addFrameScript(0, frame1, 1, frame2, 14, frame15, 34, frame35);
}
function frame15(){
stop();
}
function frame1(){
stop();
}
function frame2(){
hitNum--;
if ((((hitNum > 0)) && ((parented.num_miniboss > 0)))){
gotoAndStop(1);
};
parented.playSound("s_tree_");
}
function frame35(){
if (parented._miniBOSSend){
stop();
};
}
}
}//package
Section 125
//level1obj0 (level1obj0)
package {
import pinball.*;
public dynamic class level1obj0 extends hitObj_1 {
public function level1obj0(){
addFrameScript(0, frame1, 41, frame42);
}
function frame1(){
stop();
}
function frame42(){
showBall();
}
}
}//package
Section 126
//level1obj1 (level1obj1)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj1 extends hitObj_2 {
public function level1obj1(){
addFrameScript(0, frame1, 1, frame2, 11, frame12);
}
function frame12(){
stop();
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_hit2_");
}
}
}//package
Section 127
//level1obj10 (level1obj10)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj10 extends hitObj_2 {
public function level1obj10(){
addFrameScript(0, frame1, 1, frame2, 12, frame13, 13, frame14, 139, frame140);
}
function frame14(){
parented.resetLevel("num_crab");
stop();
}
function frame1(){
stop();
}
function frame13(){
parented.num_BeachBall--;
if (parented.num_BeachBall > 0){
stop();
};
}
function frame2(){
parented.playSound("s_gold_");
}
function frame140(){
parented.resetLevel("num_BeachBall");
}
}
}//package
Section 128
//level1obj19 (level1obj19)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj19 extends hitObj_1 {
public function level1obj19(){
addFrameScript(0, frame1, 24, frame25, 54, frame55, 55, frame56, 61, frame62, 62, frame63, 67, frame68);
}
function frame1(){
stop();
}
function frame25(){
gotoAndPlay("end");
}
function frame55(){
gotoAndPlay("end2");
}
function frame56(){
parented.playSound("s_shua_");
}
function frame62(){
showBall(2);
gotoAndStop(1);
}
function frame68(){
showBall(1);
gotoAndStop(1);
}
function frame63(){
parented.playSound("s_shua_");
}
}
}//package
Section 129
//level1obj2 (level1obj2)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj2 extends hitObj_1 {
public function level1obj2(){
addFrameScript(0, frame1, 1, frame2, 78, frame79, 97, frame98);
}
function frame79(){
showBall();
}
function frame98(){
stop();
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_haitun_");
}
}
}//package
Section 130
//level1obj20 (level1obj20)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj20 extends hitObj_3 {
public function level1obj20(){
addFrameScript(0, frame1, 1, frame2, 13, frame14, 50, frame51, 181, frame182);
}
function frame14(){
parented.playSound("s_chair_");
}
function frame1(){
stop();
}
function frame182(){
parented.resetLevel("num_BeachChair");
}
function frame2(){
parented.playSound("s_dayizi_");
}
function frame51(){
parented.num_BeachChair--;
if (parented.num_BeachChair > 0){
stop();
};
stop();
}
}
}//package
Section 131
//level1obj22 (level1obj22)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj22 extends hitObj_2 {
public function level1obj22(){
addFrameScript(0, frame1, 1, frame2, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 51, frame52);
}
function frame10(){
obj.rotation = (obj.rotation + 10);
}
function frame14(){
obj.rotation = (obj.rotation + 10);
}
function frame16(){
obj.rotation = (obj.rotation + 10);
}
function frame15(){
obj.rotation = (obj.rotation + 10);
}
function frame18(){
obj.rotation = (obj.rotation + 10);
}
function frame12(){
obj.rotation = (obj.rotation + 10);
}
function frame17(){
obj.rotation = (obj.rotation + 10);
}
function frame2(){
parented.playSound("s_san_");
}
function frame13(){
obj.rotation = (obj.rotation + 10);
}
function frame5(){
obj.rotation = (obj.rotation + 10);
}
function frame6(){
obj.rotation = (obj.rotation + 10);
}
function frame7(){
obj.rotation = (obj.rotation + 10);
}
function frame1(){
stop();
}
function frame21(){
obj.rotation = (obj.rotation + 10);
}
function frame22(){
obj.rotation = (obj.rotation + 10);
}
function frame24(){
obj.rotation = (obj.rotation + 10);
}
function frame25(){
obj.rotation = (obj.rotation + 10);
}
function frame26(){
obj.rotation = (obj.rotation + 10);
}
function frame23(){
obj.rotation = (obj.rotation + 10);
}
function frame4(){
obj.rotation = (obj.rotation + 10);
}
function frame19(){
obj.rotation = (obj.rotation + 10);
}
function frame29(){
obj.rotation = (obj.rotation + 10);
}
function frame8(){
obj.rotation = (obj.rotation + 10);
}
function frame11(){
obj.rotation = (obj.rotation + 10);
}
function frame27(){
obj.rotation = (obj.rotation + 10);
}
function frame31(){
obj.rotation = (obj.rotation + 10);
}
function frame32(){
obj.rotation = (obj.rotation + 10);
}
function frame35(){
obj.rotation = (obj.rotation + 10);
}
function frame36(){
obj.rotation = (obj.rotation + 10);
}
function frame33(){
obj.rotation = (obj.rotation + 10);
}
function frame37(){
obj.rotation = (obj.rotation + 10);
}
function frame34(){
obj.rotation = (obj.rotation + 10);
}
function frame38(){
obj.rotation = (obj.rotation + 10);
}
function frame20(){
obj.rotation = (obj.rotation + 10);
}
function frame9(){
obj.rotation = (obj.rotation + 10);
}
function frame40(){
obj.rotation = (obj.rotation + 10);
}
function frame39(){
obj.rotation = (obj.rotation + 10);
}
function frame30(){
obj.rotation = (obj.rotation + 10);
}
function frame41(){
obj.rotation = (obj.rotation + 10);
}
function frame42(){
obj.rotation = (obj.rotation + 10);
}
function frame28(){
obj.rotation = (obj.rotation + 10);
}
function frame52(){
stop();
}
}
}//package
Section 132
//level1obj23 (level1obj23)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj23 extends hitObj_3 {
public function level1obj23(){
addFrameScript(0, frame1, 1, frame2, 70, frame71, 133, frame134);
}
function frame71(){
parented.resetLevel("num_miniboss");
stop();
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_girl_");
}
function frame134(){
parented.resetLevel("num_woman");
stop();
}
}
}//package
Section 133
//level1obj4 (level1obj4)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj4 extends hitObj_2 {
public function level1obj4(){
addFrameScript(0, frame1, 1, frame2, 18, frame19, 19, frame20);
}
function frame1(){
stop();
}
function frame19(){
parented.playSound("s_water_");
}
function frame20(){
stop();
}
function frame2(){
parented.playSound("s_hit_");
}
}
}//package
Section 134
//level1obj5 (level1obj5)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj5 extends hitObj_2 {
public function level1obj5(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_tree_");
}
}
}//package
Section 135
//level1obj8 (level1obj8)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj8 extends hitObj_2 {
public function level1obj8(){
addFrameScript(0, frame1, 2, frame3, 12, frame13, 139, frame140);
}
function frame3(){
parented.playSound("s_bao_");
}
function frame1(){
stop();
}
function frame13(){
parented.num_SeaStar--;
if (parented.num_SeaStar > 0){
stop();
};
}
function frame140(){
parented.resetLevel("num_SeaStar");
}
}
}//package
Section 136
//level1obj9 (level1obj9)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level1obj9 extends hitObj_2 {
public function level1obj9(){
addFrameScript(0, frame1, 1, frame2, 12, frame13, 13, frame14, 139, frame140);
}
function frame14(){
parented.resetLevel("num_crab");
stop();
}
function frame1(){
stop();
}
function frame13(){
parented.num_BeachBall--;
if (parented.num_BeachBall > 0){
stop();
};
}
function frame2(){
parented.playSound("s_gold_");
}
function frame140(){
parented.resetLevel("num_BeachBall");
}
}
}//package
Section 137
//Level1s (Level1s)
package {
import pinball.*;
public dynamic class Level1s extends Level1 {
}
}//package
Section 138
//level250 (level250)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level250 extends hitObj_2 {
public function level250(){
addFrameScript(0, frame1, 1, frame2, 24, frame25, 53, frame54);
}
function frame1(){
stop();
}
function frame25(){
if (n == 0){
parented.end0();
};
if (n == 1){
parented.end1();
};
}
function frame2(){
parented.playSound("s_qiqiu_");
}
function frame54(){
stop();
}
}
}//package
Section 139
//level2door1 (level2door1)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level2door1 extends hitObj_3 {
public function level2door1(){
addFrameScript(0, frame1, 1, frame2, 14, frame15);
}
function frame15(){
stop();
}
function frame1(){
stop();
}
function frame2(){
hitNum--;
if (hitNum > 0){
gotoAndStop(1);
};
parented.playSound("s_tree_");
}
}
}//package
Section 140
//level2obj0 (level2obj0)
package {
import pinball.*;
public dynamic class level2obj0 extends hitObj_1 {
public function level2obj0(){
addFrameScript(0, frame1, 78, frame79);
}
function frame79(){
showBall();
}
function frame1(){
stop();
}
}
}//package
Section 141
//level2obj1 (level2obj1)
package {
import pinball.*;
public dynamic class level2obj1 extends hitObj_1 {
public function level2obj1(){
addFrameScript(0, frame1, 87, frame88);
}
function frame88(){
showBall();
}
function frame1(){
stop();
}
}
}//package
Section 142
//level2obj2 (level2obj2)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level2obj2 extends hitObj_1 {
public function level2obj2(){
addFrameScript(0, frame1, 37, frame38, 74, frame75, 75, frame76, 81, frame82, 82, frame83, 88, frame89);
}
function frame75(){
gotoAndPlay("end");
}
function frame76(){
parented.playSound("s_shua_");
}
function frame82(){
showBall(1);
gotoAndStop(1);
}
function frame89(){
showBall(2);
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame83(){
parented.playSound("s_shua_");
}
function frame38(){
gotoAndPlay("end2");
}
}
}//package
Section 143
//level2obj3 (level2obj3)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level2obj3 extends hitObj_2 {
public function level2obj3(){
addFrameScript(0, frame1, 1, frame2, 26, frame27);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_yumi_");
}
function frame27(){
stop();
}
}
}//package
Section 144
//level2obj4 (level2obj4)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level2obj4 extends hitObj_2 {
public function level2obj4(){
addFrameScript(0, frame1, 1, frame2, 39, frame40);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_guanzi_");
}
function frame40(){
stop();
}
}
}//package
Section 145
//level2obj5 (level2obj5)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level2obj5 extends hitObj_3 {
public function level2obj5(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_goat_");
}
}
}//package
Section 146
//level2obj6 (level2obj6)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level2obj6 extends hitObj_3 {
public function level2obj6(){
addFrameScript(0, frame1, 1, frame2, 50, frame51, 201, frame202);
}
function frame202(){
stop();
parented.num_Cow--;
if (parented.num_Cow == 0){
parented.resetLevel("num_Cow");
};
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_cow_");
}
function frame51(){
if (hitNum > 0){
gotoAndStop(1);
};
}
}
}//package
Section 147
//level2obj7 (level2obj7)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level2obj7 extends hitObj_3 {
public function level2obj7(){
addFrameScript(0, frame1, 1, frame2, 47, frame48);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_pig_");
}
function frame48(){
parented.num_Pig--;
if (parented.num_Pig == 0){
parented.resetLevel("tractor");
};
stop();
}
}
}//package
Section 148
//level2obj8 (level2obj8)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level2obj8 extends hitObj_2 {
public function level2obj8(){
addFrameScript(0, frame1, 1, frame2, 33, frame34, 116, frame117);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_chicken_");
}
function frame117(){
if (parented.num_Chicken == 0){
if (parented.num_Peacock <= 0){
parented.resetLevel("num_Chicken");
} else {
stop();
};
} else {
stop();
};
}
function frame34(){
parented.num_Chicken--;
if ((((parented.num_Chicken == 0)) && ((parented.num_Peacock > 0)))){
parented.resetLevel("num_Peacock");
stop();
};
if (parented.num_Chicken > 0){
stop();
};
}
}
}//package
Section 149
//Level2s (Level2s)
package {
import pinball.*;
public dynamic class Level2s extends Level2 {
}
}//package
Section 150
//level3obj0 (level3obj0)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj0 extends hitObj_1 {
public function level3obj0(){
addFrameScript(0, frame1, 46, frame47, 107, frame108);
}
function frame1(){
stop();
}
function frame47(){
parented.playSound("s_jianjiao_");
}
function frame108(){
showBall();
}
}
}//package
Section 151
//level3obj1 (level3obj1)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj1 extends hitObj_1 {
public function level3obj1(){
addFrameScript(0, frame1, 80, frame81, 102, frame103, 216, frame217);
}
function frame81(){
if (parented.num_miniboss == 0){
gotoAndPlay("show2");
} else {
showBall();
};
}
function frame1(){
stop();
}
function frame217(){
showBall(2);
}
function frame103(){
gotoAndStop(1);
}
}
}//package
Section 152
//level3obj10 (level3obj10)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj10 extends hitObj_2 {
public function level3obj10(){
addFrameScript(0, frame1, 1, frame2, 22, frame23, 119, frame120);
}
function frame1(){
stop();
}
function frame23(){
parented.num_flower--;
if (parented.num_flower > 0){
stop();
};
stop();
}
function frame2(){
parented.playSound("s_yumi_");
}
function frame120(){
parented.resetLevel("num_flower");
stop();
}
}
}//package
Section 153
//level3obj12 (level3obj12)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj12 extends hitObj_2 {
public function level3obj12(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_zhuangqiu_");
}
}
}//package
Section 154
//level3obj13 (level3obj13)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj13 extends hitObj_2 {
public function level3obj13(){
addFrameScript(0, frame1, 1, frame2, 8, frame9, 95, frame96);
}
function frame1(){
stop();
}
function frame96(){
stop();
}
function frame2(){
parented.playSound("s_huoche_");
}
function frame9(){
parented.trainend();
}
}
}//package
Section 155
//level3obj14 (level3obj14)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj14 extends hitObj_3 {
public function level3obj14(){
addFrameScript(0, frame1, 1, frame2, 13, frame14, 24, frame25);
}
function frame14(){
if (hitNum > 0){
gotoAndStop(1);
};
}
function frame1(){
stop();
}
function frame25(){
parented.resetLevel("num_evilpirate");
stop();
}
function frame2(){
parented.playSound("s_hit2_");
}
}
}//package
Section 156
//level3obj2 (level3obj2)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj2 extends hitObj_1 {
public function level3obj2(){
addFrameScript(0, frame1, 7, frame8, 14, frame15, 57, frame58);
}
function frame15(){
parented.playSound("s_kulou_");
}
function frame1(){
stop();
}
function frame8(){
gotoAndPlay("end");
}
function frame58(){
showBall();
}
}
}//package
Section 157
//level3obj3 (level3obj3)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj3 extends hitObj_1 {
public function level3obj3(){
addFrameScript(0, frame1, 1, frame2, 106, frame107);
}
function frame1(){
stop();
}
function frame107(){
showBall();
}
function frame2(){
parented.playSound("s_guiwu_");
}
}
}//package
Section 158
//level3obj4 (level3obj4)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj4 extends hitObj_1 {
public var r;
public function level3obj4(){
addFrameScript(0, frame1, 1, frame2, 43, frame44, 46, frame47);
}
function frame1(){
stop();
}
function frame44(){
showBall();
}
function frame47(){
stop();
}
function frame2(){
r = Math.floor((Math.random() * 3));
parented.playSound((("s_boli" + r) + "_"));
}
}
}//package
Section 159
//level3obj42 (level3obj42)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj42 extends hitObj_3 {
public function level3obj42(){
addFrameScript(0, frame1, 1, frame2, 13, frame14, 24, frame25);
}
function frame14(){
if (hitNum > 0){
gotoAndStop(1);
};
}
function frame1(){
stop();
}
function frame25(){
parented.resetLevel("num_evilpirate");
stop();
}
function frame2(){
parented.playSound("s_hit_");
}
}
}//package
Section 160
//level3obj5 (level3obj5)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj5 extends hitObj_2 {
public function level3obj5(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_hit_");
}
}
}//package
Section 161
//level3obj6 (level3obj6)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level3obj6 extends hitObj_2 {
public function level3obj6(){
addFrameScript(0, frame1, 1, frame2, 18, frame19, 121, frame122);
}
function frame1(){
stop();
}
function frame19(){
parented.num_Balloons--;
if (parented.num_Balloons > 0){
stop();
};
stop();
}
function frame2(){
parented.playSound("s_qiqiu_");
}
function frame122(){
parented.resetLevel("num_Balloons");
stop();
}
}
}//package
Section 162
//level3obj9 (level3obj9)
package {
import pinball.*;
public dynamic class level3obj9 extends hitObj_2 {
public function level3obj9(){
addFrameScript(0, frame1, 62, frame63);
}
function frame1(){
stop();
}
function frame63(){
stop();
}
}
}//package
Section 163
//Level3s (Level3s)
package {
import pinball.*;
public dynamic class Level3s extends Level3 {
}
}//package
Section 164
//level4obj0 (level4obj0)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level4obj0 extends hitObj_1 {
public var r;
public function level4obj0(){
addFrameScript(0, frame1, 1, frame2, 76, frame77);
}
function frame77(){
showBall();
}
function frame1(){
stop();
}
function frame2(){
r = Math.floor((Math.random() * 3));
parented.playSound((("s_boli" + r) + "_"));
}
}
}//package
Section 165
//level4obj1 (level4obj1)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level4obj1 extends hitObj_1 {
public var r;
public function level4obj1(){
addFrameScript(0, frame1, 1, frame2, 43, frame44);
}
function frame1(){
stop();
}
function frame44(){
showBall();
}
function frame2(){
r = Math.floor((Math.random() * 3));
parented.playSound((("s_boli" + r) + "_"));
}
}
}//package
Section 166
//level4obj2 (level4obj2)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level4obj2 extends hitObj_2 {
public function level4obj2(){
addFrameScript(0, frame1, 1, frame2, 45, frame46);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_gold_");
}
function frame46(){
parented.num_shop--;
if (parented.num_shop == 0){
parented.resetLevel("num_shop");
};
stop();
}
}
}//package
Section 167
//level4obj3 (level4obj3)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level4obj3 extends hitObj_2 {
public function level4obj3(){
addFrameScript(0, frame1, 1, frame2, 53, frame54);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_qiqiu_");
}
function frame54(){
parented.num_shop--;
if (parented.num_shop == 0){
parented.resetLevel("num_shop");
};
stop();
}
}
}//package
Section 168
//level4obj4 (level4obj4)
package {
import pinball.*;
public dynamic class level4obj4 extends ShoppingCart {
public function level4obj4(){
addFrameScript(0, frame1, 13, frame14, 44, frame45, 51, frame52);
}
function frame45(){
respond_end();
stop();
}
function frame14(){
if (hitNum > 0){
gotoAndStop(1);
hit = false;
};
}
function frame1(){
stop();
}
function frame52(){
hit = false;
}
}
}//package
Section 169
//level4obj5 (level4obj5)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level4obj5 extends hitObj_2 {
public function level4obj5(){
addFrameScript(0, frame1, 1, frame2, 96, frame97);
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_gold_");
parented.playSound("s_yumi_");
}
function frame97(){
parented.num_money--;
if (parented.num_money == 0){
parented.resetLevel("num_money");
};
stop();
}
}
}//package
Section 170
//level4obj6 (level4obj6)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class level4obj6 extends hitObj_3 {
public function level4obj6(){
addFrameScript(0, frame1, 1, frame2, 11, frame12, 118, frame119);
}
function frame12(){
if (hitNum > 0){
gotoAndStop(1);
};
}
function frame1(){
stop();
}
function frame2(){
parented.playSound("s_dayizi_");
}
function frame119(){
parented.num_cash--;
if (parented.num_cash == 0){
parented.resetLevel("num_cash");
};
stop();
}
}
}//package
Section 171
//Level4s (Level4s)
package {
import pinball.*;
public dynamic class Level4s extends Level4 {
}
}//package
Section 172
//level4warp (level4warp)
package {
import pinball.*;
public dynamic class level4warp extends hitObj_1 {
public function level4warp(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
stop();
}
function frame9(){
stop();
}
}
}//package
Section 173
//Level5s (Level5s)
package {
import pinball.*;
public dynamic class Level5s extends Level5 {
}
}//package
Section 174
//Life (Life)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Life extends MovieClip {
public var txt:MovieClip;
public function Life(){
addFrameScript(0, frame1, 1, frame2, 81, frame82);
}
function frame82(){
stop();
}
function frame1(){
stop();
}
function frame2(){
if (TimeScore.life > 1){
txt.txt.txt.play();
} else {
txt.gotoAndStop(2);
};
}
}
}//package
Section 175
//loseds (loseds)
package {
import pinball.*;
public dynamic class loseds extends losed {
public function loseds(){
addFrameScript(0, frame1, 29, frame30, 65, frame66);
}
function frame1(){
stop();
}
function frame30(){
init2();
}
function frame66(){
stop();
}
}
}//package
Section 176
//miniBOSS (miniBOSS)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class miniBOSS extends miniBOSS {
public function miniBOSS(){
addFrameScript(0, frame1, 7, frame8, 8, frame9, 19, frame20, 33, frame34);
}
function frame1(){
stop();
}
function frame8(){
stop();
}
function frame20(){
stop();
}
function frame34(){
respondend();
stop();
}
function frame9(){
parented.playSound("s_dog0_");
parented.playSound("s_hit_");
}
}
}//package
Section 177
//music_ballLost (music_ballLost)
package {
import flash.media.*;
public dynamic class music_ballLost extends Sound {
}
}//package
Section 178
//music_beach (music_beach)
package {
import flash.media.*;
public dynamic class music_beach extends Sound {
}
}//package
Section 179
//music_farm (music_farm)
package {
import flash.media.*;
public dynamic class music_farm extends Sound {
}
}//package
Section 180
//music_gameOver (music_gameOver)
package {
import flash.media.*;
public dynamic class music_gameOver extends Sound {
}
}//package
Section 181
//music_mainscreen (music_mainscreen)
package {
import flash.media.*;
public dynamic class music_mainscreen extends Sound {
}
}//package
Section 182
//music_shoppingmall (music_shoppingmall)
package {
import flash.media.*;
public dynamic class music_shoppingmall extends Sound {
}
}//package
Section 183
//music_themepark (music_themepark)
package {
import flash.media.*;
public dynamic class music_themepark extends Sound {
}
}//package
Section 184
//Random (Random)
package {
import flash.display.*;
import flash.net.*;
public class Random {
var randomStr;
private static var hexcase = 0;
public static var gameID = 82;
public static var strqq:String;
private static var chrsz = 8;
private static var b64pad = "";
public function Random(){
randomStr = Randoms(10);
super();
}
public static function average_ii(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function SortT(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
_local2 = "";
trace((_local1 + "###"));
_local3 = 0;
while (_local3 < 10) {
_local2 = (_local2 + _local1.substr(Math.floor((Math.random() * _local1.length)), 1));
_local3++;
};
trace(_local2);
return (_local2);
}
public static function b64_hmac_average(_arg1, _arg2){
return (binl2b64(core_hmac_average(_arg1, _arg2)));
}
public static function md5(_arg1:String){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
var _local14:*;
var _local15:*;
var _local16:*;
var _local17:*;
var _local18:*;
var _local19:*;
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
_local5 = 1732584193;
_local6 = -271733879;
_local7 = -1732584194;
_local8 = 271733878;
_local9 = str2binl(_local4);
if (_local9.length > 16){
_local9 = core_average(_local9, (_local4.length * chrsz));
};
_local10 = new Array(16);
_local11 = new Array(16);
_local12 = 0;
while (_local12 < 16) {
_local10[_local12] = (_local9[_local12] ^ 909522486);
_local11[_local12] = (_local9[_local12] ^ 1549556828);
_local12++;
};
_local14 = core_average(_local10.concat(str2binl(_local13)), (0x0200 + (_local13.length * chrsz)));
return (core_average(_local11.concat(_local14), (0x0200 + 128)));
return (new Array(_local5, _local6, _local7, _local8));
}
public static function average_gg(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function average_hh(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function binl2b64(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
_local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_local3 = "";
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local5 = (((((_arg1[(_local4 >> 2)] >> (8 * (_local4 % 4))) & 0xFF) << 16) | (((_arg1[((_local4 + 1) >> 2)] >> (8 * ((_local4 + 1) % 4))) & 0xFF) << 8)) | ((_arg1[((_local4 + 2) >> 2)] >> (8 * ((_local4 + 2) % 4))) & 0xFF));
_local6 = 0;
while (_local6 < 4) {
if (((_local4 * 8) + (_local6 * 6)) > (_arg1.length * 32)){
_local3 = (_local3 + b64pad);
} else {
_local3 = (_local3 + _local2.charAt(((_local5 >> (6 * (3 - _local6))) & 63)));
};
_local6++;
};
_local4 = (_local4 + 3);
};
return (_local3);
}
public static function senturl(_arg1, _arg2, _arg3, _arg4):void{
var _local5:String;
var _local6:URLRequest;
_local5 = ((((((((("http://user.game.com.cn/game/?action=highscore&id=" + gameID) + "&s=") + _arg1) + "&a=") + _arg2) + "&t=") + _arg4) + "&r=") + _arg3);
_local6 = new URLRequest(_local5);
navigateToURL(_local6, "_blank");
}
public static function geturl():void{
var _local1:String;
var _local2:URLRequest;
_local1 = ("http://user.game.com.cn/game/?action=highscore&id=" + gameID);
_local2 = new URLRequest(_local1);
navigateToURL(_local2, "_blank");
}
public static function bit_rol(_arg1, _arg2){
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
public static function core_hmac_average(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local3 = str2binl(_arg1);
if (_local3.length > 16){
_local3 = core_average(_local3, (_arg1.length * chrsz));
};
_local4 = new Array(16);
_local5 = new Array(16);
_local6 = 0;
while (_local6 < 16) {
_local4[_local6] = (_local3[_local6] ^ 909522486);
_local5[_local6] = (_local3[_local6] ^ 1549556828);
_local6++;
};
_local7 = core_average(_local4.concat(str2binl(_arg2)), (0x0200 + (_arg2.length * chrsz)));
return (core_average(_local5.concat(_local7), (0x0200 + 128)));
}
public static function average_ff(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function str2binl(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = new Array();
_local3 = ((1 << chrsz) - 1);
_local4 = 0;
while (_local4 < (_arg1.length * chrsz)) {
_local2[(_local4 >> 5)] = (_local2[(_local4 >> 5)] | ((_arg1.charCodeAt((_local4 / chrsz)) & _local3) << (_local4 % 32)));
_local4 = (_local4 + chrsz);
};
return (_local2);
}
public static function binl2hex(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = (hexcase) ? "0123456789ABCDEF" : "0123456789abcdef";
_local3 = "";
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local3 = (_local3 + (_local2.charAt(((_arg1[(_local4 >> 2)] >> (((_local4 % 4) * 8) + 4)) & 15)) + _local2.charAt(((_arg1[(_local4 >> 2)] >> ((_local4 % 4) * 8)) & 15))));
_local4++;
};
return (_local3);
}
public static function calcaverage(_arg1){
return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function hex_hmac_average(_arg1, _arg2){
return (binl2hex(core_hmac_average(_arg1, _arg2)));
}
public static function safe_add(_arg1, _arg2){
var _local3:*;
var _local4:*;
_local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF));
_local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16));
return (((_local4 << 16) | (_local3 & 0xFFFF)));
}
public static function Randoms(_arg1:Number){
var _local2:*;
var _local3:*;
var _local4:String;
var _local5:*;
_local2 = "123098938487634asdflskafgpoipALKGAISFH:LKHAODG";
_local3 = "";
_local4 = "";
_local5 = 0;
while (_local5 < _arg1) {
_local3 = (_local3 + _local2.substr(Math.floor((Math.random() * _local2.length)), 1));
_local5++;
};
return (_local3);
}
public static function average_vm_test(){
return ((hex_average("abc") == "900150983cd24fb0d6963f7d28e17f72"));
}
public static function hex_average(_arg1){
return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function average_cmn(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){
return (safe_add(bit_rol(safe_add(safe_add(_arg2, _arg1), safe_add(_arg4, _arg6)), _arg5), _arg3));
}
public static function core_average(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
_arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
_local3 = 1732584193;
_local4 = -271733879;
_local5 = -1732584194;
_local6 = 271733878;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = _local3;
_local9 = _local4;
_local10 = _local5;
_local11 = _local6;
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551);
_local3 = safe_add(_local3, _local8);
_local4 = safe_add(_local4, _local9);
_local5 = safe_add(_local5, _local10);
_local6 = safe_add(_local6, _local11);
_local7 = (_local7 + 16);
};
return (new Array(_local3, _local4, _local5, _local6));
}
public static function b64_average(_arg1){
return (binl2b64(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function DrawLine(_arg1, _arg2, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number){
var point1:Vector;
var point:Vector;
var current:*;
var nextdot:*;
var minX:Number;
var minY:Number;
var maxX:Number;
var maxY:Number;
var verts:Array;
var center:Vector;
var normal:Vector;
var dmc:MovieClip;
var isVisible:Boolean;
var isActivated:Boolean;
var AbstractTile:Function;
var initializeContainer:Function;
var createBoundingRect:Function;
var testIntervals:Function;
var k:*;
var i:*;
var point2:Vector;
var point3:Vector;
var point4:Vector;
var point5:Vector;
var b:*;
var j:*;
var l:*;
var c:*;
var position = _arg1;
var line = _arg2;
var x1 = _arg3;
var x2 = _arg4;
var y1 = _arg5;
var y2 = _arg6;
AbstractTile = function (_arg1:Number, _arg2:Number){
center = new Vector(_arg1, _arg2);
verts = new Array();
normal = new Vector(0, 0);
isVisible = true;
isActivated = true;
initializeContainer();
};
initializeContainer = function (){
var _local1:String;
_local1 = "_oooo";
dmc = new MovieClip();
dmc.name = _local1;
};
createBoundingRect = function (_arg1:Number, _arg2:Number){
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local3 = (center.y - (_arg2 / 2));
_local4 = (center.y + (_arg2 / 2));
_local5 = (center.x - (_arg1 / 2));
_local6 = (center.x + (_arg1 / 2));
verts.push(new Vector(_local6, _local4));
verts.push(new Vector(_local6, _local3));
verts.push(new Vector(_local5, _local3));
verts.push(new Vector(_local5, _local4));
};
testIntervals = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
var _local5:Number;
var _local6:Number;
if (_arg2 < _arg3){
return (0);
};
if (_arg4 < _arg1){
return (0);
};
_local5 = (_arg4 - _arg1);
_local6 = (_arg3 - _arg2);
if (Math.abs(_local5) < Math.abs(_local6)){
return (_local5);
};
return (_local6);
};
point1 = new Vector(x1, y1);
point = new Vector(x2, y2);
current = point1.dot(point);
nextdot = point1.cross(point);
current = (current + nextdot);
k = [];
strqq = "";
i = 0;
while (i < 8) {
b = 0;
j = 0;
while (j < 10) {
c = line.substr(j, 1).charCodeAt();
c = String(c).substr((String(c).length - 2), 1);
b = (b + Number(c));
j = (j + 1);
};
trace(b);
if (b > 10){
b = (b % 10);
};
k[i] = Math.round((((i + b) * (i + b)) - ((b * b) / 2)));
while (k[i] >= 32) {
k[i] = Math.round((k[i] / 2));
};
l = 0;
l = 0;
while (l < (k.length - 1)) {
if (k[i] == k[l]){
k[i] = (k[i] + 1);
};
l = (l + 1);
};
trace(k[i]);
strqq = (strqq + position.substr(k[i], 1));
i = (i + 1);
};
point2 = new Vector(x1, y1);
current = point2.dot(point);
nextdot = point2.cross(point);
current = (current + nextdot);
point3 = new Vector(x1, y1);
current = point3.dot(point);
nextdot = point3.cross(point);
current = (current + nextdot);
point4 = new Vector(x1, y1);
current = point4.dot(point);
nextdot = point4.cross(point);
current = (current + nextdot);
point5 = new Vector(x1, y1);
current = point5.dot(point);
nextdot = point5.cross(point);
current = (current + nextdot);
current = Math.round(Math.sqrt((current * 2)));
if (current > 20){
current = Math.round(Math.sqrt(current));
};
return (current);
}
}
}//package
Section 185
//Ready (Ready)
package {
import flash.display.*;
public dynamic class Ready extends MovieClip {
public function Ready(){
addFrameScript(0, frame1, 62, frame63);
}
function frame1(){
stop();
}
function frame63(){
stop();
}
}
}//package
Section 186
//resetPoing (resetPoing)
package {
import flash.display.*;
public dynamic class resetPoing extends Sprite {
}
}//package
Section 187
//s_bao (s_bao)
package {
import flash.media.*;
public dynamic class s_bao extends Sound {
}
}//package
Section 188
//s_boli0 (s_boli0)
package {
import flash.media.*;
public dynamic class s_boli0 extends Sound {
}
}//package
Section 189
//s_boli1 (s_boli1)
package {
import flash.media.*;
public dynamic class s_boli1 extends Sound {
}
}//package
Section 190
//s_boli2 (s_boli2)
package {
import flash.media.*;
public dynamic class s_boli2 extends Sound {
}
}//package
Section 191
//s_button1 (s_button1)
package {
import flash.media.*;
public dynamic class s_button1 extends Sound {
}
}//package
Section 192
//s_chair (s_chair)
package {
import flash.media.*;
public dynamic class s_chair extends Sound {
}
}//package
Section 193
//s_chicken (s_chicken)
package {
import flash.media.*;
public dynamic class s_chicken extends Sound {
}
}//package
Section 194
//s_cow (s_cow)
package {
import flash.media.*;
public dynamic class s_cow extends Sound {
}
}//package
Section 195
//s_dayizi (s_dayizi)
package {
import flash.media.*;
public dynamic class s_dayizi extends Sound {
}
}//package
Section 196
//s_dog0 (s_dog0)
package {
import flash.media.*;
public dynamic class s_dog0 extends Sound {
}
}//package
Section 197
//s_dog1 (s_dog1)
package {
import flash.media.*;
public dynamic class s_dog1 extends Sound {
}
}//package
Section 198
//s_girl (s_girl)
package {
import flash.media.*;
public dynamic class s_girl extends Sound {
}
}//package
Section 199
//s_goat (s_goat)
package {
import flash.media.*;
public dynamic class s_goat extends Sound {
}
}//package
Section 200
//s_gold (s_gold)
package {
import flash.media.*;
public dynamic class s_gold extends Sound {
}
}//package
Section 201
//s_guanzi (s_guanzi)
package {
import flash.media.*;
public dynamic class s_guanzi extends Sound {
}
}//package
Section 202
//s_guiwu (s_guiwu)
package {
import flash.media.*;
public dynamic class s_guiwu extends Sound {
}
}//package
Section 203
//s_haitun (s_haitun)
package {
import flash.media.*;
public dynamic class s_haitun extends Sound {
}
}//package
Section 204
//s_hit (s_hit)
package {
import flash.media.*;
public dynamic class s_hit extends Sound {
}
}//package
Section 205
//s_hit2 (s_hit2)
package {
import flash.media.*;
public dynamic class s_hit2 extends Sound {
}
}//package
Section 206
//s_huoche (s_huoche)
package {
import flash.media.*;
public dynamic class s_huoche extends Sound {
}
}//package
Section 207
//s_jianjiao (s_jianjiao)
package {
import flash.media.*;
public dynamic class s_jianjiao extends Sound {
}
}//package
Section 208
//s_kulou (s_kulou)
package {
import flash.media.*;
public dynamic class s_kulou extends Sound {
}
}//package
Section 209
//s_pig (s_pig)
package {
import flash.media.*;
public dynamic class s_pig extends Sound {
}
}//package
Section 210
//s_qiqiu (s_qiqiu)
package {
import flash.media.*;
public dynamic class s_qiqiu extends Sound {
}
}//package
Section 211
//s_san (s_san)
package {
import flash.media.*;
public dynamic class s_san extends Sound {
}
}//package
Section 212
//s_shua (s_shua)
package {
import flash.media.*;
public dynamic class s_shua extends Sound {
}
}//package
Section 213
//s_smail (s_smail)
package {
import flash.media.*;
public dynamic class s_smail extends Sound {
}
}//package
Section 214
//s_suihua (s_suihua)
package {
import flash.media.*;
public dynamic class s_suihua extends Sound {
}
}//package
Section 215
//s_tree (s_tree)
package {
import flash.media.*;
public dynamic class s_tree extends Sound {
}
}//package
Section 216
//s_water (s_water)
package {
import flash.media.*;
public dynamic class s_water extends Sound {
}
}//package
Section 217
//s_yumi (s_yumi)
package {
import flash.media.*;
public dynamic class s_yumi extends Sound {
}
}//package
Section 218
//s_zhuangqiu (s_zhuangqiu)
package {
import flash.media.*;
public dynamic class s_zhuangqiu extends Sound {
}
}//package
Section 219
//Spring (Spring)
package {
import flash.display.*;
public dynamic class Spring extends MovieClip {
public var obj:MovieClip;
}
}//package
Section 220
//TimeScores (TimeScores)
package {
import pinball.*;
public dynamic class TimeScores extends TimeScore {
public function TimeScores(){
addFrameScript(0, frame1, 1, frame2, 54, frame55);
}
function frame1(){
stop();
init();
}
function frame2(){
init2();
}
function frame55(){
end();
}
}
}//package
Section 221
//Tractors (Tractors)
package {
import flash.events.*;
import pinball.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Tractors extends Tractor {
public function Tractors(){
addFrameScript(0, frame1, 4, frame5, 13, frame14, 58, frame59, 65, frame66);
}
function frame59(){
parented.resetLevel("num_miniboss");
stop();
}
function frame14(){
if (hitNum > 0){
gotoAndStop(1);
hit = false;
};
}
function frame1(){
stop();
}
function frame5(){
parented.playSound("s_hit_");
}
function frame66(){
hit = false;
}
}
}//package
Section 222
//Waters (Waters)
package {
import pinball.*;
public dynamic class Waters extends Water {
}
}//package
Section 223
//Vector (Vector)
package {
public class Vector {
public var x:Number;
public var y:Number;
public function Vector(_arg1:Number, _arg2:Number){
x = _arg1;
y = _arg2;
}
public function cross(_arg1:Vector):Number{
return (((x * _arg1.y) - (y * _arg1.x)));
}
public function magnitude():Number{
return (Math.sqrt(((x * x) + (y * y))));
}
public function plusNew(_arg1:Vector):Vector{
return (new Vector((x + _arg1.x), (y + _arg1.y)));
}
public function mult(_arg1:Number):Vector{
x = (x * _arg1);
y = (y * _arg1);
return (this);
}
public function dot(_arg1:Vector):Number{
return (((x * _arg1.x) + (y * _arg1.y)));
}
public function normalize():Vector{
var _local1:Number;
_local1 = Math.sqrt(((x * x) + (y * y)));
x = (x / _local1);
y = (y / _local1);
return (this);
}
public function project(_arg1:Vector):Vector{
var _local2:Number;
var _local3:Number;
var _local4:Vector;
_local2 = this.dot(_arg1);
_local3 = ((_arg1.x * _arg1.x) + (_arg1.y * _arg1.y));
_local4 = new Vector(0, 0);
_local4.x = ((_local2 / _local3) * _arg1.x);
_local4.y = ((_local2 / _local3) * _arg1.y);
return (_local4);
}
public function copy(_arg1:Vector):void{
x = _arg1.x;
y = _arg1.y;
}
public function multNew(_arg1:Number):Vector{
return (new Vector((x * _arg1), (y * _arg1)));
}
public function minus(_arg1:Vector):Vector{
x = (x - _arg1.x);
y = (y - _arg1.y);
return (this);
}
public function plus(_arg1:Vector):Vector{
x = (x + _arg1.x);
y = (y + _arg1.y);
return (this);
}
public function distance(_arg1:Vector):Number{
var _local2:Number;
var _local3:Number;
_local2 = (x - _arg1.x);
_local3 = (y - _arg1.y);
return (Math.sqrt(((_local2 * _local2) + (_local3 * _local3))));
}
public function setTo(_arg1:Number, _arg2:Number):void{
x = _arg1;
y = _arg2;
}
public function minusNew(_arg1:Vector):Vector{
return (new Vector((x - _arg1.x), (y - _arg1.y)));
}
}
}//package
Section 224
//Wins (Wins)
package {
import pinball.*;
public dynamic class Wins extends Win {
public function Wins(){
addFrameScript(0, frame1, 1, frame2, 29, frame30, 94, frame95);
}
function frame95(){
stop();
}
function frame1(){
stop();
}
function frame30(){
init2();
}
function frame2(){
init();
}
}
}//package