Section 1
//BT_bestPlayers (components.buttons.BT_bestPlayers)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_bestPlayers extends my_Button {
public function BT_bestPlayers(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToBest);
}
}
}//package components.buttons
Section 2
//BT_credits (components.buttons.BT_credits)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_credits extends my_Button {
public function BT_credits(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToSongCredits);
}
}
}//package components.buttons
Section 3
//BT_easy (components.buttons.BT_easy)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_easy extends my_Button {
public function BT_easy(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToSongChoice);
}
}
}//package components.buttons
Section 4
//BT_gitarBack (components.buttons.BT_gitarBack)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_gitarBack extends my_Button {
public function BT_gitarBack(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToGitarBack);
}
}
}//package components.buttons
Section 5
//BT_hard (components.buttons.BT_hard)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_hard extends my_Button {
public function BT_hard(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToSongChoice);
}
}
}//package components.buttons
Section 6
//BT_instructins (components.buttons.BT_instructins)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_instructins extends my_Button {
public function BT_instructins(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToInstructions);
}
}
}//package components.buttons
Section 7
//BT_load (components.buttons.BT_load)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_load extends my_Button {
public function BT_load(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameManager.getInsance().gamePlayer.loadData);
}
}
}//package components.buttons
Section 8
//BT_menu (components.buttons.BT_menu)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_menu extends my_Button {
public function BT_menu(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToMenu);
}
}
}//package components.buttons
Section 9
//BT_nextTrack (components.buttons.BT_nextTrack)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_nextTrack extends my_Button {
public function BT_nextTrack(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goTONextTrack);
}
}
}//package components.buttons
Section 10
//BT_normal (components.buttons.BT_normal)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_normal extends my_Button {
public function BT_normal(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToSongChoice);
}
}
}//package components.buttons
Section 11
//BT_ok (components.buttons.BT_ok)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_ok extends my_Button {
public function BT_ok(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToLoop);
}
}
}//package components.buttons
Section 12
//BT_replay (components.buttons.BT_replay)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_replay extends my_Button {
public function BT_replay(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToReplay);
}
}
}//package components.buttons
Section 13
//BT_trackBack (components.buttons.BT_trackBack)
package components.buttons {
import components.*;
import flash.events.*;
public class BT_trackBack extends my_Button {
public function BT_trackBack(){
addListeners();
}
private function addListeners():void{
this.addEventListener(MouseEvent.CLICK, GameMenu.getInsance().goToTrackBack);
}
}
}//package components.buttons
Section 14
//BT_classic (components.classicRocker.BT_classic)
package components.classicRocker {
import flash.events.*;
import flash.display.*;
public class BT_classic extends MovieClip {
var cloud_Classic:Cloud;
public var cloudClassic:Playstyle_Classic;
public function BT_classic(){
cloud_Classic = Cloud(getChildByName("cloudClassic"));
addLiseners();
}
private function addLiseners():void{
this.addEventListener(MouseEvent.ROLL_OVER, new_rollOverResponse);
this.addEventListener(MouseEvent.ROLL_OUT, new_rollOutResponse);
this.addEventListener(MouseEvent.CLICK, setStyle);
GameManager.getInsance().addEventListener(GameManager.STYLE_CHANGE, change);
}
function new_rollOverResponse(_arg1:MouseEvent):void{
cloud_Classic.isOver = true;
cloud_Classic.play();
if (GameManager.getInsance().isClassic == true){
this.gotoAndStop(1);
};
this.buttonMode = true;
}
function new_rollOutResponse(_arg1:MouseEvent):void{
cloud_Classic.isOver = false;
cloud_Classic.play();
if (GameManager.getInsance().isClassic == true){
this.gotoAndStop(1);
};
this.buttonMode = false;
}
private function setStyle(_arg1:MouseEvent):void{
GameManager.getInsance().isClassic = true;
GameManager.getInsance().style();
}
private function change(_arg1:Event):void{
if (GameManager.getInsance().isClassic == true){
this.gotoAndStop(1);
cloud_Classic.isOver = true;
} else {
this.gotoAndStop(2);
cloud_Classic.isOver = false;
};
}
}
}//package components.classicRocker
Section 15
//BT_rocker (components.classicRocker.BT_rocker)
package components.classicRocker {
import flash.events.*;
import flash.display.*;
public class BT_rocker extends MovieClip {
var cloud_Rocker:Cloud;
public var cloudRocker:Playstyle_Rocker;
public static var STYLE_ROCKER:String = "style_rocker";
public function BT_rocker(){
cloud_Rocker = Cloud(getChildByName("cloudRocker"));
addLiseners();
}
private function addLiseners():void{
this.addEventListener(MouseEvent.ROLL_OVER, new_rollOverResponse);
this.addEventListener(MouseEvent.ROLL_OUT, new_rollOutResponse);
this.addEventListener(MouseEvent.CLICK, setStyle);
GameManager.getInsance().addEventListener(GameManager.STYLE_CHANGE, change);
}
function new_rollOverResponse(_arg1:MouseEvent):void{
cloud_Rocker.isOver = true;
cloud_Rocker.play();
if (GameManager.getInsance().isClassic == false){
this.gotoAndStop(1);
};
this.buttonMode = true;
}
function new_rollOutResponse(_arg1:MouseEvent):void{
cloud_Rocker.isOver = false;
cloud_Rocker.play();
if (GameManager.getInsance().isClassic == false){
this.gotoAndStop(1);
};
this.buttonMode = false;
}
private function setStyle(_arg1:MouseEvent):void{
GameManager.getInsance().isClassic = false;
GameManager.getInsance().style();
}
private function change(_arg1:Event):void{
if (GameManager.getInsance().isClassic == false){
this.gotoAndStop(1);
cloud_Rocker.isOver = true;
} else {
this.gotoAndStop(2);
cloud_Rocker.isOver = false;
};
}
}
}//package components.classicRocker
Section 16
//Cloud (components.classicRocker.Cloud)
package components.classicRocker {
import flash.display.*;
public class Cloud extends MovieClip {
public var isOver:Boolean;
public function Cloud(){
this.isOver = false;
}
}
}//package components.classicRocker
Section 17
//Element (components.elemenciak.Element)
package components.elemenciak {
import flash.display.*;
public class Element extends MovieClip {
public var xpos:Number;// = 0
public var longLenght:Number;
public var ypos:Number;// = 0
public var mFlasher:Flasher;
public var zpos:Number;// = 0
public var m_mask:Element;
public var isLong:Boolean;// = false
public var keyDownZpos:int;// = 0
public function Element(){
xpos = 0;
ypos = 0;
zpos = 0;
isLong = false;
keyDownZpos = 0;
super();
this.stop();
m_mask = null;
}
}
}//package components.elemenciak
Section 18
//Flasher (components.elemenciak.Flasher)
package components.elemenciak {
import flash.display.*;
public class Flasher extends MovieClip {
public var isPressed:Boolean;// = false
public function Flasher(){
isPressed = false;
super();
}
}
}//package components.elemenciak
Section 19
//Guziczek_A (components.elemenciak.Guziczek_A)
package components.elemenciak {
public class Guziczek_A extends Element {
public function Guziczek_A(){
this.xpos = 106.9;
this.ypos = 331.4;
}
}
}//package components.elemenciak
Section 20
//Guziczek_A_line (components.elemenciak.Guziczek_A_line)
package components.elemenciak {
public class Guziczek_A_line extends Element {
public var mflash:flashA;
public function Guziczek_A_line(){
this.x = 55.5;
this.y = 400;
this.mFlasher = Flasher(this.getChildByName("mflash"));
isLong = true;
}
}
}//package components.elemenciak
Section 21
//Guziczek_D (components.elemenciak.Guziczek_D)
package components.elemenciak {
public class Guziczek_D extends Element {
public function Guziczek_D(){
this.xpos = 280.7;
this.ypos = 331.6;
}
}
}//package components.elemenciak
Section 22
//Guziczek_D_line (components.elemenciak.Guziczek_D_line)
package components.elemenciak {
public class Guziczek_D_line extends Element {
public var mflash:flashD;
public function Guziczek_D_line(){
this.x = 253.4;
this.y = 400;
mFlasher = Flasher(this.getChildByName("mflash"));
isLong = true;
}
}
}//package components.elemenciak
Section 23
//Guziczek_J (components.elemenciak.Guziczek_J)
package components.elemenciak {
public class Guziczek_J extends Element {
public function Guziczek_J(){
this.xpos = 364.6;
this.ypos = 331.5;
}
}
}//package components.elemenciak
Section 24
//Guziczek_J_line (components.elemenciak.Guziczek_J_line)
package components.elemenciak {
public class Guziczek_J_line extends Element {
public var mflash:flashD;
public function Guziczek_J_line(){
this.x = 350.4;
this.y = 400;
mFlasher = Flasher(this.getChildByName("mflash"));
isLong = true;
}
}
}//package components.elemenciak
Section 25
//Guziczek_K (components.elemenciak.Guziczek_K)
package components.elemenciak {
public class Guziczek_K extends Element {
public function Guziczek_K(){
this.xpos = 447.8;
this.ypos = 331.6;
}
}
}//package components.elemenciak
Section 26
//Guziczek_K_line (components.elemenciak.Guziczek_K_line)
package components.elemenciak {
public class Guziczek_K_line extends Element {
public var mflash:flashS;
public function Guziczek_K_line(){
this.x = 369.4;
this.y = 400;
mFlasher = Flasher(this.getChildByName("mflash"));
isLong = true;
}
}
}//package components.elemenciak
Section 27
//Guziczek_L (components.elemenciak.Guziczek_L)
package components.elemenciak {
public class Guziczek_L extends Element {
public function Guziczek_L(){
this.xpos = 530.9;
this.ypos = 331.4;
}
}
}//package components.elemenciak
Section 28
//Guziczek_L_line (components.elemenciak.Guziczek_L_line)
package components.elemenciak {
public class Guziczek_L_line extends Element {
public var mflash:flashA;
public function Guziczek_L_line(){
this.x = 387;
this.y = 400;
mFlasher = Flasher(this.getChildByName("mflash"));
isLong = true;
}
}
}//package components.elemenciak
Section 29
//Guziczek_S (components.elemenciak.Guziczek_S)
package components.elemenciak {
public class Guziczek_S extends Element {
public function Guziczek_S(){
this.xpos = 194.9;
this.ypos = 331.5;
}
}
}//package components.elemenciak
Section 30
//Guziczek_S_line (components.elemenciak.Guziczek_S_line)
package components.elemenciak {
public class Guziczek_S_line extends Element {
public var mflash:flashS;
public function Guziczek_S_line(){
this.x = 154.4;
this.y = 400;
mFlasher = Flasher(this.getChildByName("mflash"));
isLong = true;
}
}
}//package components.elemenciak
Section 31
//Mmask (components.elemenciak.Mmask)
package components.elemenciak {
public class Mmask extends Element {
public function Mmask(){
this.xpos = 350;
this.ypos = 356;
}
}
}//package components.elemenciak
Section 32
//Frdd (components.Frdd)
package components {
import flash.events.*;
import flash.display.*;
public class Frdd extends MovieClip {
var pauseTime:Number;// = 1000
var position:Number;
public function Frdd(){
pauseTime = 1000;
super();
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, listener);
}
private function listener(_arg1:MouseEvent):void{
position = GameManager.getInsance().game.m_Level.channel.position;
GameManager.getInsance().game.m_Level.channel.stop();
position = (position - pauseTime);
GameManager.getInsance().game.m_Level.channel = GameManager.getInsance().game.m_Level.gameMusic[(GameManager.getInsance().gamePlayer.track - 1)].play(position);
GameManager.getInsance().game.m_Level.channel.addEventListener(Event.SOUND_COMPLETE, GameManager.getInsance().game.m_Level.soundCompleteHandler);
GameManager.getInsance().game.m_Level.m_Song.lastTime = (GameManager.getInsance().game.m_Level.m_Song.lastTime - pauseTime);
GameManager.getInsance().game.m_Level.timeBoard.startTime = (GameManager.getInsance().game.m_Level.timeBoard.startTime - pauseTime);
}
}
}//package components
Section 33
//Game (components.Game)
package components {
public class Game {
public var m_Level:Level;
public var m_Player:Player;
public function Game(){
m_Level = new Level();
}
public function modifyPlayerNumber(_arg1:Number):void{
}
}
}//package components
Section 34
//GameMenu (components.GameMenu)
package components {
import flash.events.*;
public class GameMenu {
public var nextTarget:String;
public var m_Game:Game;
private var isClassicOrRocker:Boolean;
public static var instance:GameMenu;
public function GameMenu(){
GameMenu.instance = this;
nextTarget = "Loop";
}
public function justPlay(_arg1:MouseEvent):void{
GameManager.getInsance().play();
}
public function goToSongCredits(_arg1:MouseEvent):void{
GameManager.getInsance().gotoAndPlay("Credits");
}
public function goToGitarBack(_arg1:MouseEvent):void{
nextTarget = "GuitarBackLoop";
GameManager.getInsance().gotoAndPlay("GuitarBackTrack");
}
public function goToReplay(_arg1:MouseEvent):void{
GameManager.getInsance().rockerPlaying = false;
GameManager.getInsance().game.m_Level.timeBoard.reset();
if (GameManager.getInsance().saveMe){
GameManager.getInsance().gamePlayer.addHighScore();
};
GameManager.getInsance().game.m_Level.stopLevel();
GameManager.getInsance().game.m_Level.startLevel();
}
public function goTONextTrack(_arg1:MouseEvent):void{
GameManager.getInsance().game.m_Level.finishChannel.stop();
GameManager.getInsance().playMusicLoop();
if (GameManager.getInsance().saveMe){
GameManager.getInsance().gamePlayer.addHighScore();
};
GameManager.getInsance().game.m_Level.gameOver.outMove();
GameManager.getInsance().game.m_Level.stopLevel();
nextTarget = "GuitarBackLoop";
GameManager.getInsance().nextSong = true;
GameManager.getInsance().play();
GameManager.getInsance().gameMode = false;
}
public function goToBest(_arg1:MouseEvent):void{
GameManager.getInsance().gotoAndPlay("Highscores");
}
public function goToInstructions(_arg1:MouseEvent):void{
GameManager.getInsance().gotoAndPlay("Instructions");
}
public function goToMenu(_arg1:MouseEvent):void{
GameManager.getInsance().loopChannel.stop();
GameManager.getInsance().game.m_Level.finishChannel.stop();
GameManager.getInsance().playMusicLoop();
if (GameManager.getInsance().saveMe){
GameManager.getInsance().gamePlayer.addHighScore();
};
GameManager.getInsance().game.m_Level.gameOver.outMove();
GameManager.getInsance().game.m_Level.stopLevel();
nextTarget = "Loop";
GameManager.getInsance().play();
GameManager.getInsance().gameMode = false;
}
public function goToGame(_arg1:MouseEvent):void{
GameManager.getInsance().nextSong = false;
GameManager.getInsance().stopMusicLoop();
GameManager.getInsance().gameMode = true;
GameManager.getInsance().play();
GameManager.getInsance().game.m_Level.m_Song.clearStage();
}
public function chosenClassic(_arg1:MouseEvent):void{
isClassicOrRocker = true;
GameManager.getInsance().play();
}
public function goToSongChoice(_arg1:MouseEvent):void{
if (_arg1.target.name == "bt_easy"){
GameManager.getInsance().gamePlayer.dificulty = 0;
};
if (_arg1.target.name == "bt_normal"){
GameManager.getInsance().gamePlayer.dificulty = 1;
};
if (_arg1.target.name == "bt_hard"){
GameManager.getInsance().gamePlayer.dificulty = 2;
};
GameManager.getInsance().gotoAndPlay("SongChoice");
}
public function chosenRocker(_arg1:MouseEvent):void{
isClassicOrRocker = false;
GameManager.getInsance().play();
}
public function goToTrackBack(_arg1:MouseEvent):void{
nextTarget = "Loop";
GameManager.getInsance().gotoAndPlay("TrackBackMenu");
}
public function goToLoop(_arg1:MouseEvent):void{
nextTarget = "Loop";
GameManager.getInsance().play();
}
public static function getInsance():GameMenu{
if (GameMenu.instance == null){
new (GameMenu);
};
return (GameMenu.instance);
}
}
}//package components
Section 35
//GameOver (components.GameOver)
package components {
import flash.events.*;
import fl.transitions.*;
import flash.text.*;
import flash.display.*;
public class GameOver extends MovieClip {
public var xpos:Number;// = 0
public var perfect:TextField;
public var exelent:TextField;
var scr:TextField;
var cmb:TextField;
public var ypos:Number;// = 0
public var combo:TextField;
public var score:TextField;
public var zpos:Number;// = 2000000
var prc:TextField;
public var wrong:TextField;
var f3:TextFormat;
var ex:TextField;
var f2:TextFormat;
public var good:TextField;
var butonSave:MovieClip;
var nm:TextField;
var prf:TextField;
public var procent:TextField;
var wr:TextField;
var gd:TextField;
var f1:TextFormat;
public function GameOver(){
xpos = 0;
ypos = 0;
zpos = 2000000;
super();
this.x = 351.2;
this.y = 800;
f1 = new TextFormat();
f1.font = GameManager.getInsance()._Deutsch.font;
f1.size = 21;
f2 = new TextFormat();
f2.font = GameManager.getInsance()._Deutsch.font;
f2.size = 23;
f3 = new TextFormat();
f3.font = GameManager.getInsance()._Deutsch.font;
f3.size = 18;
this.visible = false;
this.prc = TextField(this.getChildByName("procent"));
this.scr = TextField(this.getChildByName("score"));
this.gd = TextField(this.getChildByName("good"));
this.ex = TextField(this.getChildByName("exelent"));
this.prf = TextField(this.getChildByName("perfect"));
this.wr = TextField(this.getChildByName("wrong"));
this.cmb = TextField(this.getChildByName("combo"));
this.prc.embedFonts = true;
this.prc.defaultTextFormat = f1;
this.gd.embedFonts = true;
this.gd.defaultTextFormat = GameManager.getInsance()._Deutsch;
this.scr.embedFonts = true;
this.scr.defaultTextFormat = f2;
this.ex.embedFonts = true;
this.ex.defaultTextFormat = GameManager.getInsance()._Deutsch;
this.prf.embedFonts = true;
this.prf.defaultTextFormat = GameManager.getInsance()._Deutsch;
this.wr.embedFonts = true;
this.wr.defaultTextFormat = GameManager.getInsance()._Deutsch;
this.cmb.embedFonts = true;
this.cmb.defaultTextFormat = GameManager.getInsance()._Deutsch;
}
public function outMove():void{
if (GameManager.getInsance().game.m_Level.finishTimer.running == true){
GameManager.getInsance().game.m_Level.finishTimer.stop();
} else {
this.removeEventListener(Event.ENTER_FRAME, moveIN);
this.addEventListener(Event.ENTER_FRAME, moveOUT);
};
}
public function GameOverSet(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int){
prc.text = (("(" + _arg1.toString()) + "%)");
scr.text = _arg2.toString();
gd.text = _arg3.toString();
ex.text = _arg4.toString();
prf.text = _arg5.toString();
wr.text = _arg6.toString();
cmb.text = _arg7.toString();
}
public function inMove():void{
this.y = 800;
GameManager.getInsance().saveMe = false;
GameManager.getInsance().addChild(this);
this.visible = true;
this.addEventListener(Event.ENTER_FRAME, moveIN);
}
private function moveOUT(_arg1:Event):void{
var _local2:Number;
_local2 = 50;
this.y = (this.y + _local2);
if (this.y >= 800){
this.visible = false;
this.removeEventListener(Event.ENTER_FRAME, moveOUT);
};
}
private function visibleFalse(_arg1:TweenEvent):void{
this.visible = false;
}
private function moveIN(_arg1:Event):void{
var _local2:Number;
_local2 = ((this.y - 400) / 4);
this.y = (this.y - _local2);
if (this.y <= 402.7){
this.y = 402.7;
this.removeEventListener(Event.ENTER_FRAME, moveIN);
};
}
private function changeText(_arg1:Event):void{
GameManager.getInsance().gamePlayer.prepareHighScore(nm.text, int(scr.text));
GameManager.getInsance().saveMe = true;
}
}
}//package components
Section 36
//Gitar (components.Gitar)
package components {
import flash.events.*;
import flash.display.*;
public class Gitar extends MovieClip {
public var gw3:Gwiazdki;
public var gw4:Gwiazdki;
public var gw5:Gwiazdki;
public var gw1:Gwiazdki;
public var gw2:Gwiazdki;
var gNumber:int;
public static var mDispatcher:M_Dispatcher = new M_Dispatcher();
public function Gitar(){
this.stop();
gNumber = (int(this.name.charAt(1)) - 1);
if (GameManager.getInsance().gamePlayer.enabledGuitars[gNumber] == true){
this.alpha = 1;
} else {
this.alpha = 0.3;
};
mDispatcher.addEventListener(mDispatcher.DISABLE_ALL, disableMe);
if (GameManager.getInsance().gamePlayer.enabledGuitars[gNumber] == true){
mDispatcher.addEventListener(mDispatcher.ENABLE_ALL, enableMe);
this.addEventListener(MouseEvent.CLICK, onClick);
this.addEventListener(MouseEvent.ROLL_OVER, rollOverResponse);
this.addEventListener(MouseEvent.ROLL_OUT, rollOutResponse);
this.buttonMode = true;
};
}
function rollOverResponse(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
private function enableMe(_arg1:Event):void{
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, onClick);
this.addEventListener(MouseEvent.ROLL_OVER, rollOverResponse);
this.addEventListener(MouseEvent.ROLL_OUT, rollOutResponse);
}
private function disableMe(_arg1:Event):void{
this.removeEventListener(MouseEvent.CLICK, onClick);
this.removeEventListener(MouseEvent.ROLL_OVER, rollOverResponse);
this.removeEventListener(MouseEvent.ROLL_OUT, rollOutResponse);
this.buttonMode = false;
}
function onClick(_arg1:MouseEvent):void{
mDispatcher.dispatchEvent(new Event(mDispatcher.DISABLE_ALL));
GameManager.getInsance().gamePlayer.gitar = gNumber;
GameMenu.getInsance().goToGame(_arg1);
}
function rollOutResponse(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
}
}//package components
Section 37
//GitarGwiazdki (components.GitarGwiazdki)
package components {
import flash.display.*;
public class GitarGwiazdki extends MovieClip {
private var stars:int;
var gNumber:int;
public function GitarGwiazdki(){
gNumber = (int(this.name.charAt(2)) - 1);
stars = GameManager.getInsance().gamePlayer.stars[gNumber];
this.gotoAndStop((6 - stars));
}
}
}//package components
Section 38
//GitarUnactive (components.GitarUnactive)
package components {
import flash.display.*;
public class GitarUnactive extends MovieClip {
public var gw3:Gwiazdki;
public var gw4:Gwiazdki;
public var gw5:Gwiazdki;
public var gw1:Gwiazdki;
public var gw2:Gwiazdki;
var gNumber:int;
public function GitarUnactive(){
gNumber = (int(this.name.charAt(1)) - 1);
if (GameManager.getInsance().gamePlayer.enabledGuitars[gNumber] == true){
this.alpha = 1;
} else {
this.alpha = 0.3;
};
}
}
}//package components
Section 39
//HighScore_line (components.HighScore_line)
package components {
import flash.text.*;
import flash.display.*;
public class HighScore_line extends MovieClip {
public var playerName:TextField;
var pName:TextField;
public var playerPoints:TextField;
var l:TextField;
public var lp:TextField;
var pPoints:TextField;
public function HighScore_line(){
var _local1:String;
var _local2:Array;
super();
l = TextField(this.getChildByName("lp"));
pName = TextField(this.getChildByName("playerName"));
pPoints = TextField(this.getChildByName("playerPoints"));
this.l.embedFonts = true;
this.l.defaultTextFormat = GameManager.getInsance()._Deutsch;
this.pName.embedFonts = true;
this.pName.defaultTextFormat = GameManager.getInsance()._Deutsch;
this.pPoints.embedFonts = true;
this.pPoints.defaultTextFormat = GameManager.getInsance()._Deutsch;
_local1 = this.name.charAt((this.name.length - 2));
_local1 = (_local1 + this.name.charAt((this.name.length - 1)));
_local2 = GameManager.getInsance().gamePlayer.HighScore;
l.text = (int(_local1) + ".");
pName.text = _local2[(int(_local1) - 1)][0];
pPoints.text = _local2[(int(_local1) - 1)][1];
}
}
}//package components
Section 40
//HitResult (components.HitResult)
package components {
public class HitResult {
var points:int;
var hitLine:Boolean;// = false
var hitSkull:Boolean;// = false
var line:int;
public function HitResult(){
hitSkull = false;
hitLine = false;
super();
}
}
}//package components
Section 41
//Level (components.Level)
package components {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
public class Level extends Sprite {
var hitQuality:Array;
var perfect:int;// = 30
var clock:MovieClip;
public var channel:SoundChannel;
var RockerLeft:Rocker;
var mc_napisy:MovieClip;
var exelent:int;// = 20
var startTimer:Timer;
var transformUP:SoundTransform;
var multiply:int;
public var timeBoard:TimeBoard;
var transformDOWN:SoundTransform;
var perfectCounter:int;
var mKeysDown:Array;
var napisy:Array;
var RockerRight:Rocker;
var mc_counter:MovieClip;
var levelScore:int;
var scoreBoard:ScoreBoard;
public var gameMusic:Array;
var mKeysUp:Array;
var goodCounter:int;
var gamePlayer:Player;
public var finishTimer:Timer;
var longLine:int;// = 1
var wrongCounter:int;
var comboBad:int;
var texter:MC_Text;
var combo:int;
var comboCounter:int;
var exelentCounter:int;
var pola:Array;
var good:int;// = 10
public var m_Song:Song;
var gameSounds:Array;
public var gameOver:GameOver;
public var finishChannel:SoundChannel;
public function Level(){
perfect = 30;
exelent = 20;
good = 10;
longLine = 1;
gameMusic = new Array();
gameSounds = new Array();
finishChannel = new SoundChannel();
super();
gameMusic = new Array();
gameMusic = [null, null, null, null, null, null];
pola = new Array();
gameOver = new GameOver();
GameManager.getInsance().addChild(gameOver);
mKeysUp = new Array();
mKeysUp = [true, true, true, true, true, true];
hitQuality = new Array();
texter = new MC_Text();
m_Song = new Song();
finishTimer = new Timer(2000, 1);
finishTimer.addEventListener(TimerEvent.TIMER, showGameOver);
}
public function givePentaly(_arg1:HitResult):void{
if (startTimer.running == false){
channel.soundTransform = transformDOWN;
};
combo = 0;
multiply = 1;
comboBad++;
levelScore = (levelScore - 5);
scoreBoard.setScore(levelScore);
texter.multiplier.visible = false;
texter.visible = false;
wrongCounter++;
napisy[_arg1.line].hit_text.gotoAndStop(1);
napisy[_arg1.line].visible = true;
napisy[_arg1.line].gotoAndPlay(1);
if ((comboBad % 3) == 0){
if (_arg1.line < 3){
RockerLeft.badsy.gotoAndStop((Math.floor((Math.random() * 6)) + 2));
} else {
RockerRight.badsy.gotoAndStop((Math.floor((Math.random() * 6)) + 2));
};
};
}
private function showGameOver(_arg1:TimerEvent):void{
gameOver.visible = true;
gameOver.inMove();
}
private function mKeyUp(_arg1:KeyboardEvent):void{
var _local2:Boolean;
_local2 = GameManager.getInsance().isClassic;
if ((((((((_arg1.keyCode == 65)) || ((_arg1.keyCode == 97)))) && (_local2))) || ((((_arg1.keyCode == 49)) && (!(_local2)))))){
mKeysUp[0] = true;
checkLongLine(0);
};
if ((((((((_arg1.keyCode == 83)) || ((_arg1.keyCode == 115)))) && (_local2))) || ((((_arg1.keyCode == 50)) && (!(_local2)))))){
mKeysUp[1] = true;
checkLongLine(1);
};
if ((((((((_arg1.keyCode == 68)) || ((_arg1.keyCode == 100)))) && (_local2))) || ((((_arg1.keyCode == 51)) && (!(_local2)))))){
mKeysUp[2] = true;
checkLongLine(2);
};
if ((((((((_arg1.keyCode == 74)) || ((_arg1.keyCode == 106)))) && (_local2))) || ((((((_arg1.keyCode == 77)) || ((_arg1.keyCode == 106)))) && (!(_local2)))))){
mKeysUp[3] = true;
checkLongLine(3);
};
if ((((((((_arg1.keyCode == 75)) || ((_arg1.keyCode == 107)))) && (_local2))) || ((((((_arg1.keyCode == 75)) || ((_arg1.keyCode == 107)))) && (!(_local2)))))){
mKeysUp[4] = true;
checkLongLine(4);
};
if ((((((((_arg1.keyCode == 76)) || ((_arg1.keyCode == 108)))) && (_local2))) || ((((((_arg1.keyCode == 79)) || ((_arg1.keyCode == 111)))) && (!(_local2)))))){
mKeysUp[5] = true;
checkLongLine(5);
};
}
public function startLevel():void{
var _local1:Number;
gameMusic = new Array();
gameSounds = new Array();
gameMusic.push(new dream());
gameMusic.push(new panasonic());
gameMusic.push(new MARQ());
gameMusic.push(new MARQ2());
gameMusic.push(new sleeper());
gameMusic.push(new little());
gameSounds.push(new bad());
gameSounds.push(new normal());
gameSounds.push(new perfectto());
mc_napisy = new Napisy();
mc_napisy.x = 110.8;
mc_napisy.y = 330.6;
napisy = new Array();
_local1 = 0;
while (_local1 < 6) {
napisy.push(mc_napisy.getChildByName(("napis" + _local1)));
_local1++;
};
mc_counter = MovieClip(GameManager.getInsance().getChildByName("odliczanie"));
mc_counter.gotoAndPlay(2);
scoreBoard = ScoreBoard(GameManager.getInsance().getChildByName("counter"));
scoreBoard.setScore(0);
multiply = 1;
levelScore = 0;
combo = 0;
comboBad = 0;
m_Song.clearStage();
gamePlayer = GameManager.getInsance().gamePlayer;
pola[0] = GameManager.getInsance().getChildByName("pA");
pola[1] = GameManager.getInsance().getChildByName("pS");
pola[2] = GameManager.getInsance().getChildByName("pD");
pola[3] = GameManager.getInsance().getChildByName("pJ");
pola[4] = GameManager.getInsance().getChildByName("pK");
pola[5] = GameManager.getInsance().getChildByName("pL");
perfectCounter = 0;
exelentCounter = 0;
goodCounter = 0;
wrongCounter = 0;
comboCounter = 0;
GameManager.getInsance().addEventListener(Event.ENTER_FRAME, update);
GameManager.getInsance().parent.addEventListener(KeyboardEvent.KEY_DOWN, mKeyDown);
GameManager.getInsance().parent.addEventListener(KeyboardEvent.KEY_UP, mKeyUp);
m_Song.x = 0;
m_Song.y = 0;
texter.x = 350;
texter.y = 130;
GameManager.getInsance().addChild(m_Song);
GameManager.getInsance().addChild(texter);
GameManager.getInsance().addChild(mc_napisy);
GameManager.getInsance().addChild(mc_counter);
gameOver.outMove();
m_Song.startTime = getTimer();
startTimer = new Timer(m_Song.lineTime, 1);
startTimer.addEventListener(TimerEvent.TIMER, startSound);
startTimer.start();
RockerLeft.stopPlaying();
RockerRight.stopPlaying();
}
private function mKeyDown(_arg1:KeyboardEvent):void{
var _local2:Boolean;
_local2 = GameManager.getInsance().isClassic;
if ((((((mKeysUp[0] == true)) && ((((((_arg1.keyCode == 65)) || ((_arg1.keyCode == 97)))) && (_local2))))) || ((((_arg1.keyCode == 49)) && (!(_local2)))))){
mKeysUp[0] = false;
pola[0].gotoAndPlay(2);
checkLine(0);
};
if ((((((mKeysUp[1] == true)) && ((((((_arg1.keyCode == 83)) || ((_arg1.keyCode == 115)))) && (_local2))))) || ((((_arg1.keyCode == 50)) && (!(_local2)))))){
mKeysUp[1] = false;
pola[1].gotoAndPlay(2);
checkLine(1);
};
if ((((((mKeysUp[2] == true)) && ((((((_arg1.keyCode == 68)) || ((_arg1.keyCode == 100)))) && (_local2))))) || ((((_arg1.keyCode == 51)) && (!(_local2)))))){
mKeysUp[2] = false;
pola[2].gotoAndPlay(2);
checkLine(2);
};
if ((((((mKeysUp[3] == true)) && ((((((_arg1.keyCode == 74)) || ((_arg1.keyCode == 106)))) && (_local2))))) || ((((((_arg1.keyCode == 77)) || ((_arg1.keyCode == 109)))) && (!(_local2)))))){
mKeysUp[3] = false;
pola[3].gotoAndPlay(2);
checkLine(3);
};
if ((((((mKeysUp[4] == true)) && ((((((_arg1.keyCode == 75)) || ((_arg1.keyCode == 107)))) && (_local2))))) || ((((((_arg1.keyCode == 75)) || ((_arg1.keyCode == 107)))) && (!(_local2)))))){
mKeysUp[4] = false;
pola[4].gotoAndPlay(2);
checkLine(4);
};
if ((((((mKeysUp[5] == true)) && ((((((_arg1.keyCode == 76)) || ((_arg1.keyCode == 108)))) && (_local2))))) || ((((((_arg1.keyCode == 79)) || ((_arg1.keyCode == 111)))) && (!(_local2)))))){
mKeysUp[5] = false;
pola[5].gotoAndPlay(2);
checkLine(5);
};
}
public function stopLevel():void{
mc_counter.gotoAndStop(1);
if (startTimer.running == true){
startTimer.stop();
} else {
channel.stop();
this.timeBoard.removeEventListener(Event.ENTER_FRAME, timeBoard.update);
};
m_Song.clearStage();
texter.visible = false;
GameManager.getInsance().saveMe = false;
RockerLeft.stopPlaying();
RockerRight.stopPlaying();
}
public function soundCompleteHandler(_arg1:Event):void{
var _local2:int;
texter.visible = false;
timeBoard.removeEventListener(Event.ENTER_FRAME, timeBoard.update);
GameManager.getInsance().removeEventListener(Event.ENTER_FRAME, update);
GameManager.getInsance().parent.removeEventListener(KeyboardEvent.KEY_DOWN, mKeyDown);
GameManager.getInsance().parent.removeEventListener(KeyboardEvent.KEY_UP, mKeyUp);
_local2 = Math.round(((100 * m_Song.myProcent) / (m_Song.maxPoints + wrongCounter)));
gameOver.GameOverSet(_local2, levelScore, goodCounter, exelentCounter, perfectCounter, wrongCounter, comboCounter);
if (_local2 >= 85){
GameManager.getInsance().gamePlayer.addStar();
};
if (_local2 >= 75){
GameManager.getInsance().gamePlayer.unlockSong();
RockerLeft.gotoAndStop("ending_perfect");
RockerRight.gotoAndStop("ending_perfect");
finishChannel = gameSounds[2].play();
};
if ((((_local2 >= 40)) && ((_local2 < 75)))){
RockerLeft.gotoAndStop("ending_normal");
RockerRight.gotoAndStop("ending_normal");
finishChannel = gameSounds[1].play();
};
if (_local2 < 40){
RockerLeft.gotoAndStop("ending_bad");
RockerRight.gotoAndStop("ending_bad");
finishChannel = gameSounds[0].play();
};
finishTimer.start();
}
private function checkLine(_arg1:int):void{
var _local2:HitResult;
_local2 = m_Song.getActiveOnLine(_arg1);
if (_local2.hitSkull){
giveAward(_local2);
} else {
if (!_local2.hitLine){
givePentaly(_local2);
};
};
}
public function update(_arg1:Event):void{
if (GameManager.getInsance().gameMode == true){
m_Song.moveSounds();
m_Song.addElements();
};
}
private function startSound(_arg1:TimerEvent):void{
RockerLeft.startPlaying();
RockerRight.startPlaying();
timeBoard = TimeBoard(GameManager.getInsance().getChildByName("timeCounter"));
timeBoard.addEventListener(Event.ENTER_FRAME, timeBoard.update);
timeBoard.startTime = getTimer();
GameManager.getInsance().rockerPlaying = true;
m_Song.startTime = (getTimer() - m_Song.lineTime);
if ((GameManager.getInsance().gamePlayer.track - 1) < gameMusic.length){
channel = gameMusic[(GameManager.getInsance().gamePlayer.track - 1)].play(1);
};
transformUP = channel.soundTransform;
transformUP.volume = 1;
transformDOWN = channel.soundTransform;
transformDOWN.volume = 0.2;
channel.soundTransform = transformUP;
channel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
}
private function checkLongLine(_arg1:int):void{
var _local2:HitResult;
_local2 = m_Song.getActiveLongOnLine(_arg1);
if (_local2.hitLine){
giveAward(_local2);
};
}
private function giveAward(_arg1:HitResult):void{
if (startTimer.running == false){
channel.soundTransform = transformUP;
};
if (_arg1.hitSkull){
combo++;
};
if (combo > comboCounter){
comboCounter = combo;
};
comboBad = 0;
if (_arg1.hitSkull){
switch (_arg1.points){
case 1:
levelScore = (levelScore + (good * multiply));
goodCounter++;
napisy[_arg1.line].hit_text.gotoAndStop(2);
break;
case 2:
levelScore = (levelScore + (exelent * multiply));
exelentCounter++;
napisy[_arg1.line].hit_text.gotoAndStop(3);
break;
case 3:
levelScore = (levelScore + (perfect * multiply));
perfectCounter++;
napisy[_arg1.line].hit_text.gotoAndStop(4);
if (_arg1.line < 3){
RockerLeft.gotoAndStop(("special0" + String((Math.floor((Math.random() * 3)) + 1))));
} else {
RockerRight.gotoAndStop(("special0" + String((Math.floor((Math.random() * 3)) + 1))));
};
break;
};
napisy[_arg1.line].visible = true;
napisy[_arg1.line].gotoAndPlay(1);
} else {
levelScore = (levelScore + (_arg1.points * multiply));
};
scoreBoard.setScore(levelScore);
if (combo >= 5){
texter.visible = true;
texter.comboPoints.text = combo.toString();
};
if (((((combo % 10) == 0)) && (_arg1.hitSkull))){
multiply++;
texter.multiplier.visible = true;
texter.multiPoints.text = multiply.toString();
};
}
function addLines():void{
}
}
}//package components
Section 42
//M_Dispatcher (components.M_Dispatcher)
package components {
import flash.events.*;
public class M_Dispatcher extends EventDispatcher {
public var DISABLE_ALL:String;// = "disable_all"
public var ENABLE_ALL:String;// = "enable_all"
public function M_Dispatcher(){
DISABLE_ALL = "disable_all";
ENABLE_ALL = "enable_all";
super();
}
}
}//package components
Section 43
//MC_Text (components.MC_Text)
package components {
import flash.text.*;
import flash.display.*;
public class MC_Text extends MovieClip {
public var comboPoints:TextField;
public var multi:MovieClip;
public var multiPoints:TextField;
var f1:TextFormat;
var f2:TextFormat;
public var combo_points:TextField;
public var multiplier:MovieClip;
public function MC_Text(){
f1 = new TextFormat();
f1.font = GameManager.getInsance()._Deutsch.font;
f1.size = 33;
f2 = new TextFormat();
f2.font = GameManager.getInsance()._Deutsch.font;
f2.size = 18;
this.visible = false;
comboPoints = TextField(this.getChildByName("combo_points"));
multiplier = MovieClip(this.getChildByName("multi"));
multiPoints = TextField(multiplier.getChildByName("multi_points"));
multiplier.visible = false;
this.comboPoints.embedFonts = true;
this.comboPoints.defaultTextFormat = f1;
this.multiPoints.embedFonts = true;
this.multiPoints.defaultTextFormat = f2;
}
}
}//package components
Section 44
//MC_track (components.MC_track)
package components {
import flash.events.*;
import flash.display.*;
public class MC_track extends MovieClip {
public function MC_track(){
this.stop();
if ((((this.name.charAt((this.name.length - 1)) == "6")) && ((GameManager.getInsance().gamePlayer.extraSong == false)))){
this.alpha = 0.3;
} else {
if (GameManager.getInsance().gamePlayer.enabledSongs[(this.name.charAt((this.name.length - 1)) - 1)]){
this.alpha = 1;
addListeners();
} else {
this.alpha = 0.3;
};
};
}
function rollOverResponse(_arg1:MouseEvent):void{
this.gotoAndStop(2);
this.buttonMode = true;
}
function addListeners():void{
this.addEventListener(MouseEvent.ROLL_OVER, rollOverResponse);
this.addEventListener(MouseEvent.ROLL_OUT, rollOutResponse);
this.addEventListener(MouseEvent.CLICK, clickResponse);
}
function clickResponse(_arg1:MouseEvent):void{
var _local2:int;
_local2 = int(this.name.charAt((this.name.length - 1)));
GameManager.getInsance().gamePlayer.track = _local2;
GameManager.getInsance().game.m_Level.m_Song.initSong((_local2 - 1), GameManager.getInsance().gamePlayer.dificulty);
GameMenu.getInsance().justPlay(null);
}
function rollOutResponse(_arg1:MouseEvent):void{
this.gotoAndStop(1);
this.buttonMode = false;
}
}
}//package components
Section 45
//my_Button (components.my_Button)
package components {
import flash.events.*;
import flash.display.*;
public class my_Button extends MovieClip {
public function my_Button(){
this.stop();
this.buttonMode = true;
initialize();
}
function rollOverResponse(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
function initialize():void{
this.addEventListener(MouseEvent.ROLL_OVER, rollOverResponse);
this.addEventListener(MouseEvent.ROLL_OUT, rollOutResponse);
}
function rollOutResponse(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
}
}//package components
Section 46
//Napis (components.Napis)
package components {
import flash.display.*;
public class Napis extends MovieClip {
public var hit_text:MovieClip;
public var hitText:MovieClip;
public function Napis(){
this.visible = false;
hit_text = MovieClip(this.getChildByName("hitText"));
}
}
}//package components
Section 47
//PausePlay (components.PausePlay)
package components {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class PausePlay extends MovieClip {
var pauseTime:Number;
var position:Number;
public function PausePlay(){
this.buttonMode = true;
this.stop();
this.addEventListener(MouseEvent.CLICK, listener);
GameManager.getInsance().pause = this;
}
private function listener(_arg1:MouseEvent):void{
if (this.currentFrame == 1){
if (GameManager.getInsance().game.m_Level.startTimer.running == false){
position = GameManager.getInsance().game.m_Level.channel.position;
GameManager.getInsance().game.m_Level.channel.stop();
pauseTime = getTimer();
GameManager.getInsance().game.m_Level.timeBoard.removeEventListener(Event.ENTER_FRAME, GameManager.getInsance().game.m_Level.timeBoard.update);
this.gotoAndStop(2);
GameManager.getInsance().removeEventListener(Event.ENTER_FRAME, GameManager.getInsance().game.m_Level.update);
};
} else {
GameManager.getInsance().game.m_Level.channel = GameManager.getInsance().game.m_Level.gameMusic[(GameManager.getInsance().gamePlayer.track - 1)].play(position);
GameManager.getInsance().game.m_Level.channel.addEventListener(Event.SOUND_COMPLETE, GameManager.getInsance().game.m_Level.soundCompleteHandler);
GameManager.getInsance().game.m_Level.m_Song.startTime = (GameManager.getInsance().game.m_Level.m_Song.startTime + (getTimer() - pauseTime));
GameManager.getInsance().game.m_Level.m_Song.lastTime = (GameManager.getInsance().game.m_Level.m_Song.lastTime + (getTimer() - pauseTime));
GameManager.getInsance().game.m_Level.timeBoard.startTime = (GameManager.getInsance().game.m_Level.timeBoard.startTime + (getTimer() - pauseTime));
GameManager.getInsance().game.m_Level.timeBoard.addEventListener(Event.ENTER_FRAME, GameManager.getInsance().game.m_Level.timeBoard.update);
GameManager.getInsance().addEventListener(Event.ENTER_FRAME, GameManager.getInsance().game.m_Level.update);
this.gotoAndStop(1);
};
}
}
}//package components
Section 48
//Player (components.Player)
package components {
import flash.events.*;
import flash.net.*;
public class Player {
public var gitar:int;// = 2
public var extraSong:Boolean;// = false
var gitarToUnlock:int;// = 2
public var track:int;
var playerName:String;
public var score:int;
var songToUnlock:int;// = 2
var songScore:int;
public var save:SharedObject;
public var stars:Array;
public var enabledGuitars:Array;
public var HighScore:Array;
public var dificulty:int;// = 0
public var enabledSongs:Array;
public function Player(){
var _local1:Array;
var _local2:Number;
dificulty = 0;
gitar = 2;
extraSong = false;
HighScore = new Array();
gitarToUnlock = 2;
songToUnlock = 2;
super();
enabledGuitars = new Array();
enabledSongs = new Array();
stars = new Array();
save = SharedObject.getLocal("GuitarMasterUserSave");
enabledGuitars = [true, true, false, false, false];
enabledSongs = [true, true, false, false, false, false];
stars = [0, 0, 0, 0, 0];
gitarToUnlock = 2;
songToUnlock = 2;
extraSong = false;
_local1 = new Array();
_local2 = 0;
while (_local2 < 10) {
_local1 = ["Player Name", 0];
HighScore.push(_local1);
_local2++;
};
}
private function saveData():void{
save.data.enabledSongs = enabledSongs;
save.data.songToUnlock = songToUnlock;
save.data.enabledGuitars = enabledGuitars;
save.data.gitarToUnlock = gitarToUnlock;
save.data.stars = stars;
save.data.extraSong = extraSong;
save.flush();
}
public function addStar():void{
var _local1:int;
var _local2:int;
if (stars[gitar] < 5){
stars[gitar] = (stars[gitar] + 1);
};
if (gitarToUnlock < 5){
enabledGuitars[gitarToUnlock] = true;
gitarToUnlock++;
};
_local1 = 0;
_local2 = 0;
while (_local2 < 5) {
_local1 = (_local1 + stars[_local2]);
_local2++;
};
if (_local1 == 25){
extraSong = true;
};
saveData();
}
public function prepareHighScore(_arg1:String, _arg2:int):void{
playerName = _arg1;
songScore = _arg2;
}
public function addHighScore():void{
var _local1:Number;
_local1 = 0;
while (_local1 < 10) {
if (HighScore[_local1][1] < songScore){
HighScore.splice(_local1, 0, [playerName, songScore]);
HighScore.pop();
break;
};
_local1++;
};
}
public function unlockSong():void{
if (songToUnlock < 6){
enabledSongs[songToUnlock] = true;
songToUnlock++;
};
saveData();
}
public function loadData(_arg1:MouseEvent):void{
if (save.data.enabledGuitars){
enabledGuitars = save.data.enabledGuitars;
enabledSongs = save.data.enabledSongs;
stars = save.data.stars;
gitarToUnlock = save.data.gitarToUnlock;
songToUnlock = save.data.songToUnlock;
extraSong = save.data.extraSong;
};
GameManager.getInsance().play();
}
}
}//package components
Section 49
//Preloader (components.Preloader)
package components {
import flash.events.*;
import flash.text.*;
import flash.display.*;
public class Preloader extends MovieClip {
var preLoadingTarget:Object;
var preText:TextField;
var isFinished:Boolean;
public var procent:TextField;
public static var LOADED:String = "loaded";
public function Preloader(){
var _local1:TextFormat;
super();
this.stop();
preLoadingTarget = GameManager.getInsance();
isFinished = false;
preText = TextField(this.getChildByName("procent"));
_local1 = new TextFormat();
_local1.font = GameManager.getInsance()._Deutsch.font;
_local1.size = 22;
preText.embedFonts = true;
preText.defaultTextFormat = _local1;
startPreloading();
}
function loadingUpdate(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local2 = preLoadingTarget.loaderInfo.bytesTotal;
_local3 = preLoadingTarget.loaderInfo.bytesLoaded;
_local4 = Math.round(((_local3 * 100) / _local2));
this.gotoAndStop(_local4);
preText.text = (_local4.toString() + "%");
if (_local2 <= _local3){
this.removeEventListener(Event.ENTER_FRAME, loadingUpdate);
GameManager.getInsance().gotoAndPlay("ToTitle");
};
}
public function hasFinished():Boolean{
return (true);
}
private function startPreloading():void{
this.addEventListener(Event.ENTER_FRAME, loadingUpdate);
}
public function setPreLoadingTarget(_arg1:Object):void{
preLoadingTarget = _arg1;
}
}
}//package components
Section 50
//ReloadRestart (components.ReloadRestart)
package components {
import flash.events.*;
import flash.display.*;
public class ReloadRestart extends MovieClip {
public function ReloadRestart(){
this.buttonMode = true;
this.stop();
this.addEventListener(MouseEvent.CLICK, listener);
}
private function listener(_arg1:MouseEvent):void{
if (this.currentLabel == "reload"){
GameManager.getInsance().game.m_Level.m_Song.reloadSong();
this.play();
};
if (this.currentLabel == "restart"){
GameManager.getInsance().game.m_Level.m_Song.initSong((GameManager.getInsance().gamePlayer.track - 1), GameManager.getInsance().gamePlayer.dificulty);
GameManager.getInsance().game.m_Level.stopLevel();
GameManager.getInsance().game.m_Level.startLevel();
GameManager.getInsance().game.m_Level.gameOver.visible = false;
this.play();
GameManager.getInsance().pause.gotoAndStop(1);
};
}
}
}//package components
Section 51
//Rev (components.Rev)
package components {
import flash.events.*;
import flash.display.*;
public class Rev extends MovieClip {
var pauseTime:Number;// = 1000
var position:Number;
public function Rev(){
pauseTime = 1000;
super();
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, listener);
}
private function listener(_arg1:MouseEvent):void{
position = GameManager.getInsance().game.m_Level.channel.position;
GameManager.getInsance().game.m_Level.channel.stop();
position = (position + pauseTime);
GameManager.getInsance().game.m_Level.channel = GameManager.getInsance().game.m_Level.gameMusic[(GameManager.getInsance().gamePlayer.track - 1)].play(position);
GameManager.getInsance().game.m_Level.channel.addEventListener(Event.SOUND_COMPLETE, GameManager.getInsance().game.m_Level.soundCompleteHandler);
GameManager.getInsance().game.m_Level.m_Song.lastTime = (GameManager.getInsance().game.m_Level.m_Song.lastTime + pauseTime);
GameManager.getInsance().game.m_Level.timeBoard.startTime = (GameManager.getInsance().game.m_Level.timeBoard.startTime + pauseTime);
}
}
}//package components
Section 52
//Rocker (components.Rocker)
package components {
import flash.display.*;
public class Rocker extends MovieClip {
public var bads:MovieClip;
var badsy:MovieClip;
var mc_guitar:RockerGuitar;
public var body:MovieClip;
var bodyUP:MovieClip;
public function Rocker(){
this.stop();
if (this.name == "rockerL"){
GameManager.getInsance().game.m_Level.RockerLeft = this;
};
if (this.name == "rockerR"){
GameManager.getInsance().game.m_Level.RockerRight = this;
};
badsy = MovieClip(this.getChildByName("bads"));
stopPlaying();
}
public function startPlaying():void{
this.gotoAndStop("normal");
}
public function stopPlaying():void{
this.gotoAndStop("stoped");
}
}
}//package components
Section 53
//RockerGuitar (components.RockerGuitar)
package components {
import flash.display.*;
public class RockerGuitar extends MovieClip {
public var myGuitar:MovieClip;
public var git:Rocker1_Gitara_1;
public function RockerGuitar(){
this.gotoAndStop((GameManager.getInsance().gamePlayer.gitar + 1));
}
}
}//package components
Section 54
//RockerGuitar_element (components.RockerGuitar_element)
package components {
import flash.display.*;
public class RockerGuitar_element extends MovieClip {
public function RockerGuitar_element(){
this.parent.myGuitar = this;
}
}
}//package components
Section 55
//ScoreBoard (components.ScoreBoard)
package components {
import flash.text.*;
import flash.display.*;
public class ScoreBoard extends MovieClip {
var format:TextFormat;
var s1:TextField;
var s2:TextField;
public var score2:TextField;
public var score1:TextField;
public function ScoreBoard(){
s1 = TextField(this.getChildByName("score1"));
s2 = TextField(this.getChildByName("score2"));
format = new TextFormat();
format.font = GameManager.getInsance()._Deutsch.font;
format.size = 22;
this.s1.embedFonts = true;
this.s2.embedFonts = true;
this.s1.defaultTextFormat = format;
this.s2.defaultTextFormat = format;
}
public function setScore(_arg1:int):void{
s1.text = _arg1.toString();
s2.text = String(_arg1);
}
public function AddScore(_arg1:int):void{
var _local2:int;
_local2 = (int(s1.text) + _arg1);
s1.text = _local2.toString();
s2.text = _local2.toString();
}
}
}//package components
Section 56
//Song (components.Song)
package components {
import flash.events.*;
import components.elemenciak.*;
import flash.net.*;
import flash.display.*;
import flash.utils.*;
public class Song extends Sprite {
var iteratorJlong:uint;// = 0
var songXMLnormal:XML;
var lineJlong:Array;
private var speed:Number;
public var startTime:uint;
private var zStartPoint:Number;// = 2000000
var lastTime:uint;
var iteratorAlong:uint;// = 0
public var myProcent:Number;
var loaderE:URLLoader;
var loaderN:URLLoader;
var loaderH:URLLoader;
var songXMLhard:XML;
private var longStepRange:Number;// = 70000
private var fl:Number;// = 300000
var lineAlong:Array;
var lineA:Array;
var lineD:Array;
private var fov:Number;
var lineJ:Array;
var lineK:Array;
private var vpX:Number;// = 348.6
private var vpY:Number;// = 56
public var lineTime:Number;// = 5000
var lineS:Array;
var lineL:Array;
var timerCounter:uint;
var active:Array;
public var m_GameSounds:Array;
var iteratorDlong:uint;// = 0
var iteratorLlong:uint;// = 0
var lineDlong:Array;
var songList:XMLList;
var lineLlong:Array;
public var maxPoints:Number;
private var hitRange:Number;// = 15000
var elementsOnStage:Array;
var iteratorD:uint;// = 0
var iteratorKlong:uint;// = 0
var iteratorJ:uint;// = 0
var iteratorK:uint;// = 0
var iteratorL:uint;// = 0
var iteratorSlong:uint;// = 0
var iteratorA:uint;// = 0
var elemetTotalFrames:uint;
var iteratorS:uint;// = 0
var songXMLeasy:XML;
var lineKlong:Array;
var lineSlong:Array;
var frameTime:uint;
var currentTime:uint;
var frameRate:uint;
var activeSounds:Array;
public function Song(){
var _local1:Number;
var _local2:URLRequest;
loaderE = new URLLoader();
loaderN = new URLLoader();
loaderH = new URLLoader();
lineA = new Array();
lineS = new Array();
lineD = new Array();
lineJ = new Array();
lineK = new Array();
lineL = new Array();
lineAlong = new Array();
lineSlong = new Array();
lineDlong = new Array();
lineJlong = new Array();
lineKlong = new Array();
lineLlong = new Array();
iteratorA = 0;
iteratorS = 0;
iteratorD = 0;
iteratorJ = 0;
iteratorK = 0;
iteratorL = 0;
iteratorAlong = 0;
iteratorSlong = 0;
iteratorDlong = 0;
iteratorJlong = 0;
iteratorKlong = 0;
iteratorLlong = 0;
fl = 300000;
vpX = 348.6;
vpY = 56;
zStartPoint = 2000000;
lineTime = 5000;
hitRange = 15000;
longStepRange = 70000;
super();
active = new Array();
activeSounds = new Array();
lastTime = getTimer();
frameRate = 40;
frameTime = Math.round((1000 / frameRate));
myProcent = 0;
lineAlong.push(new Array());
lineAlong.push(new Array());
lineSlong.push(new Array());
lineSlong.push(new Array());
lineDlong.push(new Array());
lineDlong.push(new Array());
lineJlong.push(new Array());
lineJlong.push(new Array());
lineKlong.push(new Array());
lineKlong.push(new Array());
lineLlong.push(new Array());
lineLlong.push(new Array());
speed = (zStartPoint / lineTime);
fov = Math.atan2((200 - vpY), zStartPoint);
elementsOnStage = new Array();
_local1 = 0;
while (_local1 < 6) {
elementsOnStage.push(new Array());
_local1++;
};
_local2 = new URLRequest("GameTracksEasy.xml");
loaderE.load(_local2);
loaderE.addEventListener(Event.COMPLETE, onCompleteEasy);
_local2 = new URLRequest("GameTracksNormal.xml");
loaderN.load(_local2);
loaderN.addEventListener(Event.COMPLETE, onCompleteNormal);
_local2 = new URLRequest("GameTracksHard.xml");
loaderH.load(_local2);
loaderH.addEventListener(Event.COMPLETE, onCompleteHard);
}
public function initSong(_arg1:Number, _arg2:Number):void{
var _local3:String;
var _local4:Number;
lineA = new Array();
lineS = new Array();
lineD = new Array();
lineJ = new Array();
lineK = new Array();
lineL = new Array();
lineAlong = new Array();
lineAlong = new Array();
lineSlong = new Array();
lineDlong = new Array();
lineJlong = new Array();
lineKlong = new Array();
lineLlong = new Array();
lineAlong.push(new Array());
lineAlong.push(new Array());
lineSlong.push(new Array());
lineSlong.push(new Array());
lineDlong.push(new Array());
lineDlong.push(new Array());
lineJlong.push(new Array());
lineJlong.push(new Array());
lineKlong.push(new Array());
lineKlong.push(new Array());
lineLlong.push(new Array());
lineLlong.push(new Array());
maxPoints = 0;
if (_arg2 == 0){
songList = songXMLeasy.children()[_arg1].children();
};
if (_arg2 == 1){
songList = songXMLnormal.children()[_arg1].children();
};
if (_arg2 == 2){
songList = songXMLhard.children()[_arg1].children();
};
_local4 = 0;
while (_local4 < songList.length()) {
_local3 = String(songList[_local4].attribute("struna"));
if (_local3.indexOf("A") != -1){
maxPoints++;
lineA.push(int(songList[_local4].attribute("start")));
if (int(songList[_local4].attribute("end")) != 0){
lineAlong[0].push(int(songList[_local4].attribute("start")));
lineAlong[1].push(int(songList[_local4].attribute("end")));
};
};
if (_local3.indexOf("S") != -1){
maxPoints++;
lineS.push(int(songList[_local4].attribute("start")));
if (int(songList[_local4].attribute("end")) != 0){
lineSlong[0].push(int(songList[_local4].attribute("start")));
lineSlong[1].push(int(songList[_local4].attribute("end")));
};
};
if (_local3.indexOf("D") != -1){
maxPoints++;
lineD.push(int(songList[_local4].attribute("start")));
if (int(songList[_local4].attribute("end")) != 0){
lineDlong[0].push(int(songList[_local4].attribute("start")));
lineDlong[1].push(int(songList[_local4].attribute("end")));
};
};
if (_local3.indexOf("J") != -1){
maxPoints++;
lineJ.push(int(songList[_local4].attribute("start")));
if (int(songList[_local4].attribute("end")) != 0){
lineJlong[0].push(int(songList[_local4].attribute("start")));
lineJlong[1].push(int(songList[_local4].attribute("end")));
};
};
if (_local3.indexOf("K") != -1){
maxPoints++;
lineK.push(int(songList[_local4].attribute("start")));
if (int(songList[_local4].attribute("end")) != 0){
lineKlong[0].push(int(songList[_local4].attribute("start")));
lineKlong[1].push(int(songList[_local4].attribute("end")));
};
};
if (_local3.indexOf("L") != -1){
maxPoints++;
lineL.push(int(songList[_local4].attribute("start")));
if (int(songList[_local4].attribute("end")) != 0){
lineLlong[0].push(int(songList[_local4].attribute("start")));
lineLlong[1].push(int(songList[_local4].attribute("end")));
};
};
_local4++;
};
}
public function reloadSong():void{
var _local1:URLRequest;
_local1 = new URLRequest("GameTracksEasy.xml");
loaderE.load(_local1);
loaderE.addEventListener(Event.COMPLETE, onCompleteEasy);
_local1 = new URLRequest("GameTracksNormal.xml");
loaderN.load(_local1);
loaderN.addEventListener(Event.COMPLETE, onCompleteNormal);
_local1 = new URLRequest("GameTracksHard.xml");
loaderH.load(_local1);
loaderH.addEventListener(Event.COMPLETE, onCompleteHard);
}
function onCompleteEasy(_arg1:Event):void{
var _local2:URLLoader;
_local2 = (_arg1.target as URLLoader);
if (_local2 != null){
songXMLeasy = new XML(_local2.data);
//unresolved jump
};
}
private function givePerspective(_arg1:Element):void{
var _local2:Number;
_local2 = (fl / (fl + _arg1.zpos));
_arg1.scaleX = (_arg1.scaleY = _local2);
_arg1.x = (vpX + (_arg1.xpos * _local2));
_arg1.y = (vpY + (_arg1.ypos * _local2));
}
public function moveSounds():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:HitResult;
currentTime = getTimer();
_local1 = (((currentTime - lastTime) * speed) / Math.cos(fov));
lastTime = getTimer();
_local2 = 0;
while (_local2 < elementsOnStage.length) {
_local3 = 0;
while (_local3 < elementsOnStage[_local2].length) {
elementsOnStage[_local2][_local3].zpos = (elementsOnStage[_local2][_local3].zpos - _local1);
if (elementsOnStage[_local2][_local3].zpos < (-5 * longStepRange)){
if (elementsOnStage[_local2][_local3].isLong == true){
this.removeChild(elementsOnStage[_local2][_local3].m_mask);
};
this.removeChild(this.getChildByName(elementsOnStage[_local2][_local3].name));
elementsOnStage[_local2].splice(_local3, 1);
_local3--;
} else {
if (elementsOnStage[_local2][_local3].isLong != true){
givePerspective(elementsOnStage[_local2][_local3]);
if (((!((elementsOnStage[_local2][_local3].currentFrame == 2))) && ((elementsOnStage[_local2][_local3].zpos < (-3 * hitRange))))){
_local4 = new HitResult();
_local4.line = _local2;
GameManager.getInsance().game.m_Level.givePentaly(_local4);
this.removeChild(elementsOnStage[_local2][_local3]);
elementsOnStage[_local2].splice(_local3, 1);
_local3--;
};
} else {
elementsOnStage[_local2][_local3].m_mask.zpos = elementsOnStage[_local2][_local3].zpos;
transformMask(elementsOnStage[_local2][_local3].m_mask);
};
};
_local3++;
};
_local2++;
};
}
private function transformMask(_arg1:Element):void{
var _local2:Number;
var _local3:Number;
_local2 = transformPerspectiveY(_arg1.ypos, _arg1.zpos);
_local3 = transformPerspectiveY(_arg1.ypos, (_arg1.zpos + _arg1.longLenght));
_arg1.y = _local2;
_arg1.height = (_local2 - _local3);
}
public function clearStage():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
myProcent = 0;
_local1 = 0;
while (_local1 < elementsOnStage.length) {
_local3 = 0;
while (_local3 < elementsOnStage[_local1].length) {
this.removeChild(elementsOnStage[_local1][_local3]);
_local3++;
};
_local1++;
};
elementsOnStage = new Array();
_local2 = 0;
while (_local2 < 6) {
elementsOnStage.push(new Array());
_local2++;
};
startTime = (2 * getTimer());
iteratorA = 0;
iteratorS = 0;
iteratorD = 0;
iteratorJ = 0;
iteratorK = 0;
iteratorL = 0;
iteratorAlong = 0;
iteratorSlong = 0;
iteratorDlong = 0;
iteratorJlong = 0;
iteratorKlong = 0;
iteratorLlong = 0;
}
public function addElements():void{
var _local1:Element;
var _local2:Element;
currentTime = getTimer();
if ((lineA[iteratorA] + startTime) <= currentTime){
_local1 = new Guziczek_A();
elementsOnStage[0].push(_local1);
this.addChildAt(_local1, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local1.xpos = (_local1.xpos - vpX);
_local1.ypos = (_local1.ypos - vpY);
givePerspective(_local1);
iteratorA++;
};
if ((((lineAlong[0].length > iteratorAlong)) && (((lineAlong[0][iteratorAlong] + startTime) <= currentTime)))){
_local1 = new Guziczek_A_line();
_local2 = new Mmask();
elementsOnStage[0].push(_local1);
this.addChildAt(_local1, 0);
this.addChildAt(_local2, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local2.zpos = (zStartPoint / Math.cos(fov));
_local2.xpos = (_local2.xpos - vpX);
_local2.ypos = (_local2.ypos - vpY);
_local2.longLenght = (lineAlong[1][iteratorAlong] * longStepRange);
transformMask(_local2);
_local1.m_mask = _local2;
_local1.mask = _local2;
iteratorAlong++;
};
currentTime = getTimer();
if ((((lineS.length > iteratorS)) && (((lineS[iteratorS] + startTime) <= currentTime)))){
_local1 = new Guziczek_S();
elementsOnStage[1].push(_local1);
this.addChildAt(_local1, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local1.xpos = (_local1.xpos - vpX);
_local1.ypos = (_local1.ypos - vpY);
givePerspective(_local1);
iteratorS++;
};
if ((((lineSlong[0].length > iteratorSlong)) && (((lineSlong[0][iteratorSlong] + startTime) <= currentTime)))){
_local1 = new Guziczek_S_line();
_local2 = new Mmask();
elementsOnStage[1].push(_local1);
this.addChildAt(_local1, 0);
this.addChildAt(_local2, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local2.zpos = (zStartPoint / Math.cos(fov));
_local2.xpos = (_local2.xpos - vpX);
_local2.ypos = (_local2.ypos - vpY);
_local2.longLenght = (lineSlong[1][iteratorSlong] * longStepRange);
transformMask(_local2);
_local1.m_mask = _local2;
_local1.mask = _local2;
iteratorSlong++;
};
currentTime = getTimer();
if ((lineD[iteratorD] + startTime) <= currentTime){
_local1 = new Guziczek_D();
elementsOnStage[2].push(_local1);
this.addChildAt(_local1, 0);
_local1.zpos = zStartPoint;
_local1.xpos = (_local1.xpos - vpX);
_local1.ypos = (_local1.ypos - vpY);
givePerspective(_local1);
iteratorD++;
};
if ((((lineDlong[0].length > iteratorDlong)) && (((lineDlong[0][iteratorDlong] + startTime) <= currentTime)))){
_local1 = new Guziczek_D_line();
_local2 = new Mmask();
elementsOnStage[2].push(_local1);
this.addChildAt(_local1, 0);
this.addChildAt(_local2, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local2.zpos = (zStartPoint / Math.cos(fov));
_local2.xpos = (_local2.xpos - vpX);
_local2.ypos = (_local2.ypos - vpY);
_local2.longLenght = (lineDlong[1][iteratorDlong] * longStepRange);
transformMask(_local2);
_local1.m_mask = _local2;
_local1.mask = _local2;
iteratorDlong++;
};
currentTime = getTimer();
if ((lineJ[iteratorJ] + startTime) <= currentTime){
_local1 = new Guziczek_J();
elementsOnStage[3].push(_local1);
this.addChildAt(_local1, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local1.xpos = (_local1.xpos - vpX);
_local1.ypos = (_local1.ypos - vpY);
givePerspective(_local1);
iteratorJ++;
};
if ((((lineJlong[0].length > iteratorJlong)) && (((lineJlong[0][iteratorJlong] + startTime) <= currentTime)))){
_local1 = new Guziczek_J_line();
_local2 = new Mmask();
elementsOnStage[3].push(_local1);
this.addChildAt(_local1, 0);
this.addChildAt(_local2, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local2.zpos = (zStartPoint / Math.cos(fov));
_local2.xpos = (_local2.xpos - vpX);
_local2.ypos = (_local2.ypos - vpY);
_local2.longLenght = (lineJlong[1][iteratorJlong] * longStepRange);
transformMask(_local2);
_local1.m_mask = _local2;
_local1.mask = _local2;
iteratorJlong++;
};
currentTime = getTimer();
if ((lineK[iteratorK] + startTime) <= currentTime){
_local1 = new Guziczek_K();
elementsOnStage[4].push(_local1);
this.addChildAt(_local1, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local1.xpos = (_local1.xpos - vpX);
_local1.ypos = (_local1.ypos - vpY);
givePerspective(_local1);
iteratorK++;
};
if ((((lineKlong[0].length > iteratorKlong)) && (((lineKlong[0][iteratorKlong] + startTime) <= currentTime)))){
_local1 = new Guziczek_K_line();
_local2 = new Mmask();
elementsOnStage[4].push(_local1);
this.addChildAt(_local1, 0);
this.addChildAt(_local2, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local2.zpos = (zStartPoint / Math.cos(fov));
_local2.xpos = (_local2.xpos - vpX);
_local2.ypos = (_local2.ypos - vpY);
_local2.longLenght = (lineKlong[1][iteratorKlong] * longStepRange);
transformMask(_local2);
_local1.m_mask = _local2;
_local1.mask = _local2;
iteratorKlong++;
};
currentTime = getTimer();
if ((lineL[iteratorL] + startTime) <= currentTime){
_local1 = new Guziczek_L();
elementsOnStage[5].push(_local1);
this.addChildAt(_local1, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local1.xpos = (_local1.xpos - vpX);
_local1.ypos = (_local1.ypos - vpY);
givePerspective(_local1);
iteratorL++;
};
if ((((lineLlong[0].length > iteratorLlong)) && (((lineLlong[0][iteratorLlong] + startTime) <= currentTime)))){
_local1 = new Guziczek_L_line();
_local2 = new Mmask();
elementsOnStage[5].push(_local1);
this.addChildAt(_local1, 0);
this.addChildAt(_local2, 0);
_local1.zpos = (zStartPoint / Math.cos(fov));
_local2.zpos = (zStartPoint / Math.cos(fov));
_local2.xpos = (_local2.xpos - vpX);
_local2.ypos = (_local2.ypos - vpY);
_local2.longLenght = (lineLlong[1][iteratorLlong] * longStepRange);
transformMask(_local2);
_local1.m_mask = _local2;
_local1.mask = _local2;
iteratorLlong++;
};
}
private function initRandomly(_arg1:int, _arg2:int):void{
var _local3:Number;
_local3 = 0;
while (_local3 < _arg1) {
switch (Math.floor((Math.random() * 6))){
case 0:
lineA.push(Math.floor((Math.random() * _arg2)));
break;
case 1:
lineS.push(Math.floor((Math.random() * _arg2)));
break;
case 2:
lineD.push(Math.floor((Math.random() * _arg2)));
break;
case 3:
lineJ.push(Math.floor((Math.random() * _arg2)));
break;
case 4:
lineK.push(Math.floor((Math.random() * _arg2)));
break;
case 5:
lineL.push(Math.floor((Math.random() * _arg2)));
break;
};
_local3++;
};
}
private function transformPerspectiveY(_arg1:Number, _arg2:Number):Number{
var _local3:Number;
var _local4:Number;
_local3 = (fl / (fl + _arg2));
_local4 = (vpY + (_arg1 * _local3));
return (_local4);
}
function onCompleteNormal(_arg1:Event):void{
var _local2:URLLoader;
_local2 = (_arg1.target as URLLoader);
if (_local2 != null){
songXMLnormal = new XML(_local2.data);
//unresolved jump
};
}
public function getActiveLongOnLine(_arg1:int):HitResult{
var _local2:HitResult;
var _local3:int;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local2 = new HitResult();
_local3 = 0;
currentTime = getTimer();
_local4 = (((currentTime - lastTime) * speed) / Math.cos(fov));
_local5 = 0;
while (_local5 < elementsOnStage[_arg1].length) {
if ((((elementsOnStage[_arg1][_local5].isLong == false)) || ((elementsOnStage[_arg1][_local5].keyDownZpos == 0)))){
} else {
_local6 = (elementsOnStage[_arg1][_local5].zpos - _local4);
elementsOnStage[_arg1][_local5].mFlasher.isPressed = false;
elementsOnStage[_arg1][_local5].mFlasher.play();
_local3 = (Math.floor((((elementsOnStage[_arg1][_local5].keyDownZpos - _local6) * 2) / longStepRange)) + 1);
_local2.hitLine = true;
_local2.points = _local3;
return (_local2);
};
_local5++;
};
return (_local2);
}
function onCompleteHard(_arg1:Event):void{
var _local2:URLLoader;
_local2 = (_arg1.target as URLLoader);
if (_local2 != null){
songXMLhard = new XML(_local2.data);
//unresolved jump
};
}
public function getActiveOnLine(_arg1:int):HitResult{
var _local2:HitResult;
var _local3:int;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local2 = new HitResult();
_local2.line = _arg1;
_local3 = 0;
currentTime = getTimer();
_local4 = (((currentTime - lastTime) * speed) / Math.cos(fov));
_local5 = 0;
while (_local5 < elementsOnStage[_arg1].length) {
_local6 = (elementsOnStage[_arg1][_local5].zpos - _local4);
_local3 = 0;
if (elementsOnStage[_arg1][_local5].isLong == false){
if ((((_local6 < (3 * hitRange))) && ((_local6 > (-3 * hitRange))))){
_local3++;
};
if ((((_local6 < (2 * hitRange))) && ((_local6 > (-2 * hitRange))))){
_local3++;
};
if ((((_local6 < hitRange)) && ((_local6 > (-1 * hitRange))))){
_local3++;
};
if (_local3 != 0){
_local2.hitSkull = true;
_local2.points = _local3;
myProcent++;
elementsOnStage[_arg1][_local5].gotoAndStop(2);
};
} else {
if ((((_local6 < (3 * hitRange))) && ((_local6 > (-1 * elementsOnStage[_arg1][_local5].m_mask.longLenght))))){
_local2.hitLine = true;
elementsOnStage[_arg1][_local5].mFlasher.isPressed = true;
elementsOnStage[_arg1][_local5].mFlasher.gotoAndPlay(1);
elementsOnStage[_arg1][_local5].keyDownZpos = _local6;
};
};
_local5++;
};
return (_local2);
}
}
}//package components
Section 57
//TimeBoard (components.TimeBoard)
package components {
import flash.events.*;
import flash.text.*;
import flash.display.*;
import flash.utils.*;
public class TimeBoard extends MovieClip {
var format:TextFormat;
var s1:TextField;
var s2:TextField;
public var startTime:int;
public var songTime:int;
public var score2:TextField;
public var score1:TextField;
public function TimeBoard(){
startTime = getTimer();
s1 = TextField(this.getChildByName("score1"));
s2 = TextField(this.getChildByName("score2"));
this.s1.embedFonts = true;
this.s2.embedFonts = true;
format = new TextFormat();
format.font = GameManager.getInsance()._Deutsch.font;
format.size = 22;
this.s1.defaultTextFormat = format;
this.s2.defaultTextFormat = format;
}
public function reset(){
s1.text = "00:00";
s2.text = "00:00";
}
public function update(_arg1:Event):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:String;
var _local6:String;
_local4 = getTimer();
_local2 = Math.floor(((_local4 - startTime) / 60000));
_local3 = Math.floor((((_local4 - startTime) % 60000) / 1000));
if (_local2 < 10){
_local6 = ("0" + _local2);
} else {
_local6 = _local2.toString();
};
if (_local3 < 10){
_local5 = ("0" + _local3);
} else {
_local5 = _local3.toString();
};
s1.text = ((_local6 + ":") + _local5);
s2.text = ((_local6 + ":") + _local5);
}
}
}//package components
Section 58
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
time = NaN;
position = NaN;
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 59
//AGteaser_mc_1 (GuitarMaster4_fla.AGteaser_mc_1)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class AGteaser_mc_1 extends MovieClip {
public var url:String;
public var AG_TIME:Number;
public var AGpresented_mc:MovieClip;
public var AG_COUNT:Number;
public var request:URLRequest;
public var AGskip_btn:SimpleButton;
public var AGclick_btn:SimpleButton;
public var AGlogo_mc:MovieClip;
public var hold:Timer;
public function AGteaser_mc_1(){
addFrameScript(0, frame1);
}
function frame1(){
GameManager.getInsance().stop();
url = "http://www.addictinggames.com";
request = new URLRequest(url);
AG_COUNT = 0;
AG_TIME = 4000;
hold = new Timer(AG_TIME, 1);
hold.addEventListener(TimerEvent.TIMER, skiper);
AGskip_btn.addEventListener(MouseEvent.CLICK, Release);
AGclick_btn.addEventListener(MouseEvent.CLICK, ReleaseBig);
hold.start();
}
public function skiper(_arg1:TimerEvent){
GameManager.getInsance().play();
}
public function ReleaseBig(_arg1:MouseEvent){
navigateToURL(request);
}
public function Release(_arg1:MouseEvent){
hold.stop();
skiper(null);
}
}
}//package GuitarMaster4_fla
Section 60
//beerleci1_159 (GuitarMaster4_fla.beerleci1_159)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class beerleci1_159 extends MovieClip {
public function beerleci1_159(){
addFrameScript(29, frame30);
}
function frame30(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 61
//beerleci2_161 (GuitarMaster4_fla.beerleci2_161)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class beerleci2_161 extends MovieClip {
public function beerleci2_161(){
addFrameScript(29, frame30);
}
function frame30(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 62
//container_wave_18 (GuitarMaster4_fla.container_wave_18)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class container_wave_18 extends MovieClip {
public function container_wave_18(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 63
//Gitary__116 (GuitarMaster4_fla.Gitary__116)
package GuitarMaster4_fla {
import flash.display.*;
public dynamic class Gitary__116 extends MovieClip {
public var g3:gitara3_;
public var g4:gitara4_;
public var g1:gitara1_;
public var g5:gitara5_;
public var g2:gitara2_;
}
}//package GuitarMaster4_fla
Section 64
//Gitary_130 (GuitarMaster4_fla.Gitary_130)
package GuitarMaster4_fla {
import flash.display.*;
public dynamic class Gitary_130 extends MovieClip {
public var g3:gitara3;
public var g4:gitara4;
public var g1:gitara1;
public var g5:gitara5;
public var g2:gitara2;
}
}//package GuitarMaster4_fla
Section 65
//Gra_Riff_In_138 (GuitarMaster4_fla.Gra_Riff_In_138)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Gra_Riff_In_138 extends MovieClip {
public function Gra_Riff_In_138(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package GuitarMaster4_fla
Section 66
//Gra_Riff_Out_240 (GuitarMaster4_fla.Gra_Riff_Out_240)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Gra_Riff_Out_240 extends MovieClip {
public function Gra_Riff_Out_240(){
addFrameScript(17, frame18);
}
function frame18(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 67
//Highscores_In_103 (GuitarMaster4_fla.Highscores_In_103)
package GuitarMaster4_fla {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Highscores_In_103 extends MovieClip {
public var l01:HighScore_line;
public var l04:HighScore_line;
public var l05:HighScore_line;
public var l02:HighScore_line;
public var l03:HighScore_line;
public var l08:HighScore_line;
public var l09:HighScore_line;
public var l06:HighScore_line;
public var l07:HighScore_line;
public var l10:HighScore_line;
public function Highscores_In_103(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package GuitarMaster4_fla
Section 68
//Highscores_Out_105 (GuitarMaster4_fla.Highscores_Out_105)
package GuitarMaster4_fla {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Highscores_Out_105 extends MovieClip {
public var l01:HighScore_line;
public var l04:HighScore_line;
public var l05:HighScore_line;
public var l02:HighScore_line;
public var l03:HighScore_line;
public var l08:HighScore_line;
public var l09:HighScore_line;
public var l06:HighScore_line;
public var l07:HighScore_line;
public var l10:HighScore_line;
public function Highscores_Out_105(){
addFrameScript(32, frame33);
}
function frame33(){
stop();
}
}
}//package GuitarMaster4_fla
Section 69
//Instructions_In_85 (GuitarMaster4_fla.Instructions_In_85)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Instructions_In_85 extends MovieClip {
public function Instructions_In_85(){
addFrameScript(31, frame32);
}
function frame32(){
stop();
}
}
}//package GuitarMaster4_fla
Section 70
//Instructions_Outt_98 (GuitarMaster4_fla.Instructions_Outt_98)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Instructions_Outt_98 extends MovieClip {
public function Instructions_Outt_98(){
addFrameScript(31, frame32);
}
function frame32(){
stop();
}
}
}//package GuitarMaster4_fla
Section 71
//kubekleci1_155 (GuitarMaster4_fla.kubekleci1_155)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class kubekleci1_155 extends MovieClip {
public function kubekleci1_155(){
addFrameScript(27, frame28);
}
function frame28(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 72
//kubekleci2_158 (GuitarMaster4_fla.kubekleci2_158)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class kubekleci2_158 extends MovieClip {
public function kubekleci2_158(){
addFrameScript(27, frame28);
}
function frame28(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 73
//LoadScreen_71 (GuitarMaster4_fla.LoadScreen_71)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class LoadScreen_71 extends MovieClip {
public function LoadScreen_71(){
addFrameScript(15, frame16);
}
function frame16(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 74
//Napis_Multiplier_268 (GuitarMaster4_fla.Napis_Multiplier_268)
package GuitarMaster4_fla {
import flash.text.*;
import flash.display.*;
public dynamic class Napis_Multiplier_268 extends MovieClip {
public var multi_points:TextField;
}
}//package GuitarMaster4_fla
Section 75
//Napis_OznaczenieTrafienia_249 (GuitarMaster4_fla.Napis_OznaczenieTrafienia_249)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Napis_OznaczenieTrafienia_249 extends MovieClip {
public function Napis_OznaczenieTrafienia_249(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package GuitarMaster4_fla
Section 76
//Napis_Pick_Guitar_124 (GuitarMaster4_fla.Napis_Pick_Guitar_124)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Napis_Pick_Guitar_124 extends MovieClip {
public var bt_rocker:Button_Rocker;
public var bt_classic:Button_Classic;
public function Napis_Pick_Guitar_124(){
addFrameScript(0, frame1, 7, frame8);
}
function frame1(){
bt_classic.enabled = false;
bt_rocker.enabled = false;
if (GameManager.getInsance().isClassic != false){
bt_rocker.gotoAndStop(2);
bt_classic.gotoAndStop(1);
} else {
bt_classic.gotoAndStop(2);
bt_rocker.gotoAndStop(1);
};
}
function frame8(){
bt_classic.enabled = true;
bt_rocker.enabled = true;
if (GameManager.getInsance().isClassic != false){
bt_rocker.gotoAndStop(2);
bt_classic.gotoAndStop(1);
} else {
bt_classic.gotoAndStop(2);
bt_rocker.gotoAndStop(1);
};
stop();
}
}
}//package GuitarMaster4_fla
Section 77
//Napis_Pick_Guitar_Out_137 (GuitarMaster4_fla.Napis_Pick_Guitar_Out_137)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Napis_Pick_Guitar_Out_137 extends MovieClip {
public var bt_rocker:Button_Rocker;
public var bt_classic:Button_Classic;
public function Napis_Pick_Guitar_Out_137(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package GuitarMaster4_fla
Section 78
//Pole_A_209 (GuitarMaster4_fla.Pole_A_209)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_A_209 extends MovieClip {
public function Pole_A_209(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 79
//Pole_A_Litera_210 (GuitarMaster4_fla.Pole_A_Litera_210)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_A_Litera_210 extends MovieClip {
public function Pole_A_Litera_210(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (GameManager.getInsance().isClassic == false){
gotoAndStop(2);
};
}
}
}//package GuitarMaster4_fla
Section 80
//Pole_D_215 (GuitarMaster4_fla.Pole_D_215)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_D_215 extends MovieClip {
public function Pole_D_215(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 81
//Pole_D_Litera_216 (GuitarMaster4_fla.Pole_D_Litera_216)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_D_Litera_216 extends MovieClip {
public function Pole_D_Litera_216(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (GameManager.getInsance().isClassic == false){
gotoAndStop(2);
};
}
}
}//package GuitarMaster4_fla
Section 82
//Pole_J_218 (GuitarMaster4_fla.Pole_J_218)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_J_218 extends MovieClip {
public function Pole_J_218(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 83
//Pole_J_Litera_219 (GuitarMaster4_fla.Pole_J_Litera_219)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_J_Litera_219 extends MovieClip {
public function Pole_J_Litera_219(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (GameManager.getInsance().isClassic == false){
gotoAndStop(2);
};
}
}
}//package GuitarMaster4_fla
Section 84
//Pole_K_221 (GuitarMaster4_fla.Pole_K_221)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_K_221 extends MovieClip {
public function Pole_K_221(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 85
//Pole_K_Litera_222 (GuitarMaster4_fla.Pole_K_Litera_222)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_K_Litera_222 extends MovieClip {
public function Pole_K_Litera_222(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (GameManager.getInsance().isClassic == false){
gotoAndStop(2);
};
}
}
}//package GuitarMaster4_fla
Section 86
//Pole_L_224 (GuitarMaster4_fla.Pole_L_224)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_L_224 extends MovieClip {
public function Pole_L_224(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 87
//Pole_L_Litera_225 (GuitarMaster4_fla.Pole_L_Litera_225)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_L_Litera_225 extends MovieClip {
public function Pole_L_Litera_225(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (GameManager.getInsance().isClassic == false){
gotoAndStop(2);
};
}
}
}//package GuitarMaster4_fla
Section 88
//Pole_S_212 (GuitarMaster4_fla.Pole_S_212)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_S_212 extends MovieClip {
public function Pole_S_212(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 89
//Pole_S_Litera_213 (GuitarMaster4_fla.Pole_S_Litera_213)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Pole_S_Litera_213 extends MovieClip {
public function Pole_S_Litera_213(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (GameManager.getInsance().isClassic == false){
gotoAndStop(2);
};
}
}
}//package GuitarMaster4_fla
Section 90
//pomidorleci1_151 (GuitarMaster4_fla.pomidorleci1_151)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class pomidorleci1_151 extends MovieClip {
public function pomidorleci1_151(){
addFrameScript(25, frame26);
}
function frame26(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 91
//pomidorleci2_154 (GuitarMaster4_fla.pomidorleci2_154)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class pomidorleci2_154 extends MovieClip {
public function pomidorleci2_154(){
addFrameScript(26, frame27);
}
function frame27(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 92
//Rocker1_Gora_36 (GuitarMaster4_fla.Rocker1_Gora_36)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gora_36 extends MovieClip {
public function Rocker1_Gora_36(){
addFrameScript(0, frame1, 119, frame120);
}
function frame1(){
if (GameManager.getInsance().rockerPlaying == false){
this.stop();
};
}
function frame120(){
GameManager.getInsance().rockerLeftCanJump = true;
}
}
}//package GuitarMaster4_fla
Section 93
//Rocker1_Gora_Animacja1_162 (GuitarMaster4_fla.Rocker1_Gora_Animacja1_162)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gora_Animacja1_162 extends MovieClip {
public var gitara:Rocker1_Gitara_;
public function Rocker1_Gora_Animacja1_162(){
addFrameScript(32, frame33);
}
function frame33(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 94
//Rocker1_Gora_Animacja2_164 (GuitarMaster4_fla.Rocker1_Gora_Animacja2_164)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gora_Animacja2_164 extends MovieClip {
public var gitara:Rocker1_Gitara_;
public function Rocker1_Gora_Animacja2_164(){
addFrameScript(31, frame32);
}
function frame32(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 95
//Rocker1_Gora_Animacja3_165 (GuitarMaster4_fla.Rocker1_Gora_Animacja3_165)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gora_Animacja3_165 extends MovieClip {
public function Rocker1_Gora_Animacja3_165(){
addFrameScript(33, frame34);
}
function frame34(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 96
//Rocker1_Gora_Animacja6_166 (GuitarMaster4_fla.Rocker1_Gora_Animacja6_166)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gora_Animacja6_166 extends MovieClip {
public function Rocker1_Gora_Animacja6_166(){
addFrameScript(86, frame87, 92, frame93);
}
function frame87(){
this.gotoAndPlay(6);
}
function frame93(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 97
//Rocker1_Gora_Ingame_144 (GuitarMaster4_fla.Rocker1_Gora_Ingame_144)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gora_Ingame_144 extends MovieClip {
public var guitars:Rocker1_Gitara;
public function Rocker1_Gora_Ingame_144(){
addFrameScript(119, frame120);
}
function frame120(){
GameManager.getInsance().rockerLeftCanJump = true;
}
}
}//package GuitarMaster4_fla
Section 98
//Rocker1_Gora_Stoji_179 (GuitarMaster4_fla.Rocker1_Gora_Stoji_179)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gora_Stoji_179 extends MovieClip {
public var guitars:Rocker1_Gitara_stoped;
public function Rocker1_Gora_Stoji_179(){
addFrameScript(0, frame1);
}
function frame1(){
if (GameManager.getInsance().rockerPlaying == false){
this.stop();
};
}
}
}//package GuitarMaster4_fla
Section 99
//Rocker2_Gora_54 (GuitarMaster4_fla.Rocker2_Gora_54)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gora_54 extends MovieClip {
public function Rocker2_Gora_54(){
addFrameScript(119, frame120);
}
function frame120(){
GameManager.getInsance().rockerRightCanJump = true;
}
}
}//package GuitarMaster4_fla
Section 100
//Rocker2_Gora_Animacja1_201 (GuitarMaster4_fla.Rocker2_Gora_Animacja1_201)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gora_Animacja1_201 extends MovieClip {
public function Rocker2_Gora_Animacja1_201(){
addFrameScript(32, frame33);
}
function frame33(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 101
//Rocker2_Gora_Animacja2_202 (GuitarMaster4_fla.Rocker2_Gora_Animacja2_202)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gora_Animacja2_202 extends MovieClip {
public function Rocker2_Gora_Animacja2_202(){
addFrameScript(31, frame32);
}
function frame32(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 102
//Rocker2_Gora_Animacja3_203 (GuitarMaster4_fla.Rocker2_Gora_Animacja3_203)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gora_Animacja3_203 extends MovieClip {
public function Rocker2_Gora_Animacja3_203(){
addFrameScript(33, frame34);
}
function frame34(){
this.parent.gotoAndStop(1);
}
}
}//package GuitarMaster4_fla
Section 103
//Rocker2_Gora_Animacja6_204 (GuitarMaster4_fla.Rocker2_Gora_Animacja6_204)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gora_Animacja6_204 extends MovieClip {
public function Rocker2_Gora_Animacja6_204(){
addFrameScript(92, frame93, 98, frame99);
}
function frame93(){
this.gotoAndPlay(6);
}
function frame99(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 104
//Rocker2_Gora_Ingame_194 (GuitarMaster4_fla.Rocker2_Gora_Ingame_194)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gora_Ingame_194 extends MovieClip {
public var guitars:Rocker2_Gitara;
public function Rocker2_Gora_Ingame_194(){
addFrameScript(119, frame120);
}
function frame120(){
GameManager.getInsance().rockerRightCanJump = true;
}
}
}//package GuitarMaster4_fla
Section 105
//Rocker2_Gora_Stoji_208 (GuitarMaster4_fla.Rocker2_Gora_Stoji_208)
package GuitarMaster4_fla {
import flash.display.*;
public dynamic class Rocker2_Gora_Stoji_208 extends MovieClip {
public var guitars:Rocker2_Gitara_stoped;
}
}//package GuitarMaster4_fla
Section 106
//Rzutki_Lewy_150 (GuitarMaster4_fla.Rzutki_Lewy_150)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rzutki_Lewy_150 extends MovieClip {
public function Rzutki_Lewy_150(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 107
//Rzutki_Prawy_200 (GuitarMaster4_fla.Rzutki_Prawy_200)
package GuitarMaster4_fla {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rzutki_Prawy_200 extends MovieClip {
public function Rzutki_Prawy_200(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package GuitarMaster4_fla
Section 108
//TrackPicker_106 (GuitarMaster4_fla.TrackPicker_106)
package GuitarMaster4_fla {
import flash.display.*;
public dynamic class TrackPicker_106 extends MovieClip {
public var t2:track2;
public var t3:track3;
public var t1:track1;
public var t5:track5;
public var t4:track4;
public var t6:track6;
}
}//package GuitarMaster4_fla
Section 109
//BtnUrlAddict (pl.fabrykagier.angelico.gameInterface.BtnUrlAddict)
package pl.fabrykagier.angelico.gameInterface {
import flash.display.*;
public dynamic class BtnUrlAddict extends MovieClip {
}
}//package pl.fabrykagier.angelico.gameInterface
Section 110
//bad (bad)
package {
import flash.media.*;
public dynamic class bad extends Sound {
}
}//package
Section 111
//Button_Back (Button_Back)
package {
import components.*;
public dynamic class Button_Back extends my_Button {
}
}//package
Section 112
//Button_BackTrackAktywny (Button_BackTrackAktywny)
package {
import components.buttons.*;
public dynamic class Button_BackTrackAktywny extends BT_trackBack {
}
}//package
Section 113
//Button_BestPlayers (Button_BestPlayers)
package {
import components.*;
public dynamic class Button_BestPlayers extends my_Button {
}
}//package
Section 114
//Button_BestPlayersAktywny (Button_BestPlayersAktywny)
package {
import components.buttons.*;
public dynamic class Button_BestPlayersAktywny extends BT_bestPlayers {
}
}//package
Section 115
//Button_Classic (Button_Classic)
package {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import components.classicRocker.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Button_Classic extends BT_classic {
public function Button_Classic(){
addFrameScript(0, frame1);
}
function frame1(){
if (GameManager.getInsance().isClassic == true){
stop();
} else {
this.gotoAndStop(2);
};
}
}
}//package
Section 116
//Button_Credits (Button_Credits)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Button_Credits extends my_Button {
public function Button_Credits(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package
Section 117
//Button_CreditsAktywny (Button_CreditsAktywny)
package {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import components.buttons.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Button_CreditsAktywny extends BT_credits {
public function Button_CreditsAktywny(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package
Section 118
//Button_Easy (Button_Easy)
package {
import components.*;
public dynamic class Button_Easy extends my_Button {
}
}//package
Section 119
//Button_EasyAktywny (Button_EasyAktywny)
package {
import components.buttons.*;
public dynamic class Button_EasyAktywny extends BT_easy {
}
}//package
Section 120
//Button_GitarBackAktywny (Button_GitarBackAktywny)
package {
import components.buttons.*;
public dynamic class Button_GitarBackAktywny extends BT_gitarBack {
}
}//package
Section 121
//Button_Hard (Button_Hard)
package {
import components.*;
public dynamic class Button_Hard extends my_Button {
}
}//package
Section 122
//Button_HardAktywny (Button_HardAktywny)
package {
import components.buttons.*;
public dynamic class Button_HardAktywny extends BT_hard {
}
}//package
Section 123
//Button_Instructions (Button_Instructions)
package {
import components.*;
public dynamic class Button_Instructions extends my_Button {
}
}//package
Section 124
//Button_InstructionsAktywny (Button_InstructionsAktywny)
package {
import components.buttons.*;
public dynamic class Button_InstructionsAktywny extends BT_instructins {
}
}//package
Section 125
//Button_Load (Button_Load)
package {
import components.buttons.*;
public dynamic class Button_Load extends BT_load {
}
}//package
Section 126
//Button_LoadCancel (Button_LoadCancel)
package {
import components.buttons.*;
public dynamic class Button_LoadCancel extends BT_ok {
}
}//package
Section 127
//Button_Menu (Button_Menu)
package {
import components.*;
public dynamic class Button_Menu extends my_Button {
}
}//package
Section 128
//Button_MenuAktywny (Button_MenuAktywny)
package {
import components.buttons.*;
public dynamic class Button_MenuAktywny extends BT_menu {
}
}//package
Section 129
//Button_NextTrack (Button_NextTrack)
package {
import components.buttons.*;
public dynamic class Button_NextTrack extends BT_nextTrack {
}
}//package
Section 130
//Button_Normal (Button_Normal)
package {
import components.*;
public dynamic class Button_Normal extends my_Button {
}
}//package
Section 131
//Button_NormalAktywny (Button_NormalAktywny)
package {
import components.buttons.*;
public dynamic class Button_NormalAktywny extends BT_normal {
}
}//package
Section 132
//Button_Okay (Button_Okay)
package {
import components.*;
public dynamic class Button_Okay extends my_Button {
}
}//package
Section 133
//Button_OkayAktywny (Button_OkayAktywny)
package {
import components.buttons.*;
public dynamic class Button_OkayAktywny extends BT_ok {
}
}//package
Section 134
//Button_Replay (Button_Replay)
package {
import components.*;
public dynamic class Button_Replay extends my_Button {
}
}//package
Section 135
//Button_ReplayAktywny (Button_ReplayAktywny)
package {
import components.buttons.*;
public dynamic class Button_ReplayAktywny extends BT_replay {
}
}//package
Section 136
//Button_Rocker (Button_Rocker)
package {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import components.classicRocker.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Button_Rocker extends BT_rocker {
public function Button_Rocker(){
addFrameScript(0, frame1);
}
function frame1(){
if (GameManager.getInsance().isClassic == false){
stop();
} else {
this.gotoAndStop(2);
};
}
}
}//package
Section 137
//Counter_Points (Counter_Points)
package {
import components.*;
public dynamic class Counter_Points extends ScoreBoard {
}
}//package
Section 138
//Counter_Track (Counter_Track)
package {
import components.*;
public dynamic class Counter_Track extends TimeBoard {
}
}//package
Section 139
//Credit_Link5 (Credit_Link5)
package {
import components.*;
public dynamic class Credit_Link5 extends my_Button {
}
}//package
Section 140
//Credits_Link1 (Credits_Link1)
package {
import components.*;
public dynamic class Credits_Link1 extends my_Button {
}
}//package
Section 141
//Credits_Link2 (Credits_Link2)
package {
import components.*;
public dynamic class Credits_Link2 extends my_Button {
}
}//package
Section 142
//Credits_Link3 (Credits_Link3)
package {
import components.*;
public dynamic class Credits_Link3 extends my_Button {
}
}//package
Section 143
//Credits_Link4 (Credits_Link4)
package {
import components.*;
public dynamic class Credits_Link4 extends my_Button {
}
}//package
Section 144
//dream (dream)
package {
import flash.media.*;
public dynamic class dream extends Sound {
}
}//package
Section 145
//flashA (flashA)
package {
import flash.events.*;
import components.elemenciak.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class flashA extends Flasher {
public function flashA(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
this.stop();
}
function frame5(){
if (this.isPressed){
this.stop();
};
}
}
}//package
Section 146
//flashD (flashD)
package {
import flash.events.*;
import components.elemenciak.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class flashD extends Flasher {
public function flashD(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
this.stop();
}
function frame5(){
if (this.isPressed){
this.stop();
};
}
}
}//package
Section 147
//flashS (flashS)
package {
import flash.events.*;
import components.elemenciak.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class flashS extends Flasher {
public function flashS(){
addFrameScript(0, frame1, 4, frame5);
}
function frame1(){
this.stop();
}
function frame5(){
if (this.isPressed){
this.stop();
};
}
}
}//package
Section 148
//GameManager (GameManager)
package {
import components.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.ui.*;
public class GameManager extends MovieClip {
public var classicRocker:MovieClip;
public var isClassic:Boolean;
var transformFade:SoundTransform;
public var rockerLeftJumpTarget:String;// = "normal"
public var rockerRightCanJump:Boolean;// = false
public var font:Gothic;
public var timeCounter:Counter_Track;
public var gameMenu:GameMenu;
public var bt_replay:Button_Replay;
public var nextSong:Boolean;// = false
public var mLoop:GmusicLoop;
public var gameMode:Boolean;
public var bt_hard:Button_HardAktywny;
public var bt_back:Button_Back;
public var bt_instr:Button_Instructions;
public var bt_okay:Button_Okay;
public var gity:MovieClip;
public var rockerPlaying:Boolean;// = true
public var m_Preloader:Preloader;
public var bt_menu:Button_Menu;
public var crapp:MovieClip;
public var rockerRightJumpTarget:String;// = "normal"
public var gamePlayer:Player;
public var bt_normal:Button_NormalAktywny;
public var odliczanie:Odliczanie;
public var trackPicker:MovieClip;
public var rockerL:Rocker1_Gra;
public var rockerR:Rocker2_Gra;
public var bt_easy:Button_EasyAktywny;
public var pA:MovieClip;
public var pD:MovieClip;
public var loopChannel:SoundChannel;
public var _Deutsch:TextFormat;
public var pJ:MovieClip;
public var pK:MovieClip;
public var pL:MovieClip;
public var pS:MovieClip;
public var rockerLeftCanJump:Boolean;// = false
public var game:Game;
public var saveMe:Boolean;// = false
public var counter:Counter_Points;
public var pause:PausePlay;
public static var instance:GameManager;
public static var STYLE_CHANGE:String = "style_change";
public function GameManager(){
var _local1:ContextMenu;
font = new Gothic();
saveMe = false;
rockerPlaying = true;
rockerLeftCanJump = false;
rockerLeftJumpTarget = "normal";
rockerRightCanJump = false;
rockerRightJumpTarget = "normal";
nextSong = false;
loopChannel = new SoundChannel();
super();
addFrameScript(120, frame121, 129, frame130, 254, frame255, 299, frame300, 337, frame338, 373, frame374, 411, frame412, 456, frame457, 495, frame496, 527, frame528, 567, frame568, 621, frame622, 637, frame638, 654, frame655, 669, frame670, 705, frame706, 734, frame735);
this._Deutsch = new TextFormat();
this._Deutsch.font = font.fontName;
this._Deutsch.size = 14;
_local1 = new ContextMenu();
_local1.hideBuiltInItems();
gameMenu = new GameMenu();
GameManager.instance = this;
gamePlayer = new Player();
game = new Game();
isClassic = true;
gameMode = false;
}
function frame735(){
this.gotoAndPlay(GameMenu.getInsance().nextTarget);
}
function frame622(){
}
public function stopMusicLoop(){
transformFade = loopChannel.soundTransform;
this.addEventListener(Event.ENTER_FRAME, fadeOut);
}
function frame638(){
this.stop();
GameManager.getInsance().game.m_Level.startLevel();
}
function frame528(){
this.stop();
}
function fadeIn(_arg1:Event){
transformFade.volume = (transformFade.volume + 0.1);
loopChannel.soundTransform = transformFade;
if (transformFade.volume >= 0.9){
this.removeEventListener(Event.ENTER_FRAME, fadeIn);
};
}
function frame655(){
if (nextSong){
this.gotoAndPlay("GameNextSong");
};
}
function frame412(){
this.gotoAndPlay(GameMenu.getInsance().nextTarget);
}
function frame300(){
this.stop();
}
function frame670(){
this.gotoAndPlay(GameMenu.getInsance().nextTarget);
}
function frame568(){
this.stop();
}
function fadeOut(_arg1:Event){
transformFade.volume = (transformFade.volume - 0.05);
loopChannel.soundTransform = transformFade;
if (transformFade.volume < 0.06){
this.removeEventListener(Event.ENTER_FRAME, fadeOut);
loopChannel.stop();
};
}
function frame457(){
this.stop();
}
function frame338(){
this.gotoAndPlay(GameMenu.getInsance().nextTarget);
}
public function playMusicLoop(){
mLoop = new GmusicLoop();
loopChannel = mLoop.play(1, int.MAX_VALUE);
transformFade = loopChannel.soundTransform;
transformFade.volume = 0;
this.addEventListener(Event.ENTER_FRAME, fadeIn);
loopChannel.soundTransform = transformFade;
}
function frame121(){
GameManager.getInsance().playMusicLoop();
}
public function style():void{
dispatchEvent(new Event(STYLE_CHANGE));
}
function frame130(){
if (this.gamePlayer.save.data.enabledGuitars){
this.stop();
};
}
function frame374(){
this.stop();
}
function frame255(){
this.stop();
}
function frame496(){
this.gotoAndPlay(GameMenu.getInsance().nextTarget);
}
function frame706(){
this.gotoAndPlay(GameMenu.getInsance().nextTarget);
}
public static function getInsance():GameManager{
if (GameManager.instance == null){
new (GameManager);
};
return (GameManager.instance);
}
}
}//package
Section 149
//gitara1 (gitara1)
package {
import components.*;
public dynamic class gitara1 extends Gitar {
}
}//package
Section 150
//gitara1_ (gitara1_)
package {
import components.*;
public dynamic class gitara1_ extends GitarUnactive {
}
}//package
Section 151
//gitara2 (gitara2)
package {
import components.*;
public dynamic class gitara2 extends Gitar {
}
}//package
Section 152
//gitara2_ (gitara2_)
package {
import components.*;
public dynamic class gitara2_ extends GitarUnactive {
}
}//package
Section 153
//gitara3 (gitara3)
package {
import components.*;
public dynamic class gitara3 extends Gitar {
}
}//package
Section 154
//gitara3_ (gitara3_)
package {
import components.*;
public dynamic class gitara3_ extends GitarUnactive {
}
}//package
Section 155
//gitara4 (gitara4)
package {
import components.*;
public dynamic class gitara4 extends Gitar {
}
}//package
Section 156
//gitara4_ (gitara4_)
package {
import components.*;
public dynamic class gitara4_ extends GitarUnactive {
}
}//package
Section 157
//gitara5 (gitara5)
package {
import components.*;
public dynamic class gitara5 extends Gitar {
}
}//package
Section 158
//gitara5_ (gitara5_)
package {
import components.*;
public dynamic class gitara5_ extends GitarUnactive {
}
}//package
Section 159
//GmusicLoop (GmusicLoop)
package {
import flash.media.*;
public dynamic class GmusicLoop extends Sound {
}
}//package
Section 160
//Gothic (Gothic)
package {
import flash.text.*;
public dynamic class Gothic extends Font {
}
}//package
Section 161
//Guziczek_Czerwony (Guziczek_Czerwony)
package {
import components.elemenciak.*;
public dynamic class Guziczek_Czerwony extends Element {
}
}//package
Section 162
//Guziczek_Niebieski (Guziczek_Niebieski)
package {
import components.elemenciak.*;
public dynamic class Guziczek_Niebieski extends Element {
}
}//package
Section 163
//Guziczek_Zolty (Guziczek_Zolty)
package {
import components.elemenciak.*;
public dynamic class Guziczek_Zolty extends Element {
}
}//package
Section 164
//Gwiazdki (Gwiazdki)
package {
import components.*;
public dynamic class Gwiazdki extends GitarGwiazdki {
}
}//package
Section 165
//little (little)
package {
import flash.media.*;
public dynamic class little extends Sound {
}
}//package
Section 166
//Loader (Loader)
package {
import components.*;
public dynamic class Loader extends Preloader {
}
}//package
Section 167
//MARQ (MARQ)
package {
import flash.media.*;
public dynamic class MARQ extends Sound {
}
}//package
Section 168
//MARQ2 (MARQ2)
package {
import flash.media.*;
public dynamic class MARQ2 extends Sound {
}
}//package
Section 169
//Napiss (Napiss)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Napiss extends Napis {
public function Napiss(){
addFrameScript(18, frame19);
}
function frame19(){
this.visible = false;
this.stop();
}
}
}//package
Section 170
//Napisy (Napisy)
package {
import flash.display.*;
public dynamic class Napisy extends MovieClip {
public var napis0:Napiss;
public var napis2:Napiss;
public var napis4:Napiss;
public var napis5:Napiss;
public var napis1:Napiss;
public var napis3:Napiss;
}
}//package
Section 171
//normal (normal)
package {
import flash.media.*;
public dynamic class normal extends Sound {
}
}//package
Section 172
//Odliczanie (Odliczanie)
package {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Odliczanie extends MovieClip {
public function Odliczanie(){
addFrameScript(0, frame1, 150, frame151);
}
function frame151(){
stop();
}
function frame1(){
this.stop();
}
}
}//package
Section 173
//panasonic (panasonic)
package {
import flash.media.*;
public dynamic class panasonic extends Sound {
}
}//package
Section 174
//pausePlay (pausePlay)
package {
import components.*;
public dynamic class pausePlay extends PausePlay {
}
}//package
Section 175
//perfectto (perfectto)
package {
import flash.media.*;
public dynamic class perfectto extends Sound {
}
}//package
Section 176
//Playstyle_Classic (Playstyle_Classic)
package {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import components.classicRocker.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Playstyle_Classic extends Cloud {
public function Playstyle_Classic(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
if (this.isOver != false){
this.stop();
};
}
function frame1(){
if (this.isOver != true){
this.stop();
};
}
}
}//package
Section 177
//Playstyle_Rocker (Playstyle_Rocker)
package {
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import components.classicRocker.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Playstyle_Rocker extends Cloud {
public function Playstyle_Rocker(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
if (this.isOver != false){
this.stop();
};
}
function frame1(){
if (this.isOver != true){
this.stop();
};
}
}
}//package
Section 178
//reloadRestart (reloadRestart)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class reloadRestart extends ReloadRestart {
public function reloadRestart(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
stop();
}
}
}//package
Section 179
//rew (rew)
package {
import components.*;
public dynamic class rew extends Rev {
}
}//package
Section 180
//rffd (rffd)
package {
import components.*;
public dynamic class rffd extends Frdd {
}
}//package
Section 181
//Rocker1_Gitara (Rocker1_Gitara)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gitara extends RockerGuitar {
public function Rocker1_Gitara(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 182
//Rocker1_Gitara_ (Rocker1_Gitara_)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gitara_ extends RockerGuitar {
public function Rocker1_Gitara_(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 183
//Rocker1_Gitara_1 (Rocker1_Gitara_1)
package {
import components.*;
public dynamic class Rocker1_Gitara_1 extends RockerGuitar_element {
}
}//package
Section 184
//Rocker1_Gitara_2 (Rocker1_Gitara_2)
package {
import components.*;
public dynamic class Rocker1_Gitara_2 extends RockerGuitar_element {
}
}//package
Section 185
//Rocker1_Gitara_3 (Rocker1_Gitara_3)
package {
import components.*;
public dynamic class Rocker1_Gitara_3 extends RockerGuitar_element {
}
}//package
Section 186
//Rocker1_Gitara_4 (Rocker1_Gitara_4)
package {
import components.*;
public dynamic class Rocker1_Gitara_4 extends RockerGuitar_element {
}
}//package
Section 187
//Rocker1_Gitara_5 (Rocker1_Gitara_5)
package {
import components.*;
public dynamic class Rocker1_Gitara_5 extends RockerGuitar_element {
}
}//package
Section 188
//Rocker1_Gitara_stoped (Rocker1_Gitara_stoped)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gitara_stoped extends RockerGuitar {
public function Rocker1_Gitara_stoped(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 189
//Rocker1_Gra (Rocker1_Gra)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker1_Gra extends Rocker {
public function Rocker1_Gra(){
addFrameScript(0, frame1);
}
function frame1(){
this.badsy = this.getChildByName("bads");
}
}
}//package
Section 190
//Rocker2_Gitara (Rocker2_Gitara)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gitara extends RockerGuitar {
public function Rocker2_Gitara(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 191
//Rocker2_Gitara_1 (Rocker2_Gitara_1)
package {
import components.*;
public dynamic class Rocker2_Gitara_1 extends RockerGuitar_element {
}
}//package
Section 192
//Rocker2_Gitara_2 (Rocker2_Gitara_2)
package {
import components.*;
public dynamic class Rocker2_Gitara_2 extends RockerGuitar_element {
}
}//package
Section 193
//Rocker2_Gitara_3 (Rocker2_Gitara_3)
package {
import components.*;
public dynamic class Rocker2_Gitara_3 extends RockerGuitar_element {
}
}//package
Section 194
//Rocker2_Gitara_4 (Rocker2_Gitara_4)
package {
import components.*;
public dynamic class Rocker2_Gitara_4 extends RockerGuitar_element {
}
}//package
Section 195
//Rocker2_Gitara_5 (Rocker2_Gitara_5)
package {
import components.*;
public dynamic class Rocker2_Gitara_5 extends RockerGuitar_element {
}
}//package
Section 196
//Rocker2_Gitara_stoped (Rocker2_Gitara_stoped)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gitara_stoped extends RockerGuitar {
public function Rocker2_Gitara_stoped(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 197
//Rocker2_Gra (Rocker2_Gra)
package {
import components.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.system.*;
public dynamic class Rocker2_Gra extends Rocker {
public function Rocker2_Gra(){
addFrameScript(0, frame1);
}
function frame1(){
this.badsy = this.getChildByName("bads");
}
}
}//package
Section 198
//sleeper (sleeper)
package {
import flash.media.*;
public dynamic class sleeper extends Sound {
}
}//package
Section 199
//Smash (Smash)
package {
import flash.media.*;
public dynamic class Smash extends Sound {
}
}//package
Section 200
//track1 (track1)
package {
import components.*;
public dynamic class track1 extends MC_track {
}
}//package
Section 201
//track2 (track2)
package {
import components.*;
public dynamic class track2 extends MC_track {
}
}//package
Section 202
//track3 (track3)
package {
import components.*;
public dynamic class track3 extends MC_track {
}
}//package
Section 203
//track4 (track4)
package {
import components.*;
public dynamic class track4 extends MC_track {
}
}//package
Section 204
//track5 (track5)
package {
import components.*;
public dynamic class track5 extends MC_track {
}
}//package
Section 205
//track6 (track6)
package {
import components.*;
public dynamic class track6 extends MC_track {
}
}//package