Section 1
//None (fl.transitions.easing.None)
package fl.transitions.easing {
public class None {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package fl.transitions.easing
Section 2
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Tween extends EventDispatcher {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var begin:Number;// = NAN
private var _finish:Number;// = NAN
public var change:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
this.func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//package fl.transitions
Section 3
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var position:Number;// = NAN
public var time: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){
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 4
//anim_21 (mysticWorlds_fla.anim_21)
package mysticWorlds_fla {
import flash.display.*;
public dynamic class anim_21 extends MovieClip {
public var logointro2:MovieClip;
public function anim_21(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package mysticWorlds_fla
Section 5
//backGround_sepparate_69 (mysticWorlds_fla.backGround_sepparate_69)
package mysticWorlds_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import flash.net.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class backGround_sepparate_69 extends MovieClip {
public var egp:MovieClip;
public var nlp:MovieClip;
public var gu:gameUtils;
public function backGround_sepparate_69(){
addFrameScript(0, frame1, 1, frame2, 14, frame15, 44, frame45);
}
public function doOut(_arg1:Event){
removeEventListener(MouseEvent.ROLL_OUT, doOut);
gu.removeEffect(DisplayObject(_arg1.target));
}
function frame2(){
MovieClip(parent).hideMouse(null);
}
function frame45(){
gotoAndStop(1);
nlp.visible = false;
egp.visible = false;
MovieClip(parent).showMouse(null);
}
function frame1(){
stop();
}
public function gotoURL(_arg1:Event){
navigateToURL(new URLRequest("http://www.difgames.com"), "_blank");
}
function frame15(){
stop();
MovieClip(parent).hideMouse(null);
gu = new gameUtils();
addChild(gu);
egp.playMG.addEventListener(MouseEvent.CLICK, gotoURL);
egp.playMG.addEventListener(MouseEvent.ROLL_OVER, doOver);
egp.playMG.addEventListener(MouseEvent.ROLL_OUT, doOut);
egp.playMG.useHandCursor = true;
egp.playMG.buttonMode = true;
egp.nextLVL.addEventListener(MouseEvent.CLICK, gotoNextLevel);
egp.nextLVL.addEventListener(MouseEvent.ROLL_OVER, doOver);
egp.nextLVL.addEventListener(MouseEvent.ROLL_OUT, doOut);
egp.nextLVL.useHandCursor = true;
egp.nextLVL.buttonMode = true;
nlp.playMG.addEventListener(MouseEvent.CLICK, gotoURL);
nlp.playMG.addEventListener(MouseEvent.ROLL_OVER, doOver);
nlp.playMG.addEventListener(MouseEvent.ROLL_OUT, doOut);
nlp.playMG.useHandCursor = true;
nlp.playMG.buttonMode = true;
nlp.nextLVL.addEventListener(MouseEvent.CLICK, gotoNextLevel);
nlp.nextLVL.addEventListener(MouseEvent.ROLL_OVER, doOver);
nlp.nextLVL.addEventListener(MouseEvent.ROLL_OUT, doOut);
nlp.nextLVL.useHandCursor = true;
nlp.nextLVL.buttonMode = true;
}
public function gotoNextLevel(_arg1:Event){
trace("Do next level");
removeEventListener(MouseEvent.CLICK, gotoNextLevel);
dispatchEvent(new Event("CHANGE_SCREEN"));
gotoAndPlay(29);
}
public function doOver(_arg1:Event){
removeEventListener(MouseEvent.ROLL_OVER, doOver);
gu.addShadow(DisplayObject(_arg1.target), 0);
}
}
}//package mysticWorlds_fla
Section 6
//baraJos_18 (mysticWorlds_fla.baraJos_18)
package mysticWorlds_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import flash.net.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class baraJos_18 extends MovieClip {
public var started:Boolean;
public var differenceLeft:MovieClip;
public var secondsLeft:Number;
public var timeCount:uint;
public var playMG:MovieClip;
public var gu:gameUtils;
public function baraJos_18(){
addFrameScript(0, frame1);
}
public function doOut(_arg1:Event){
gu.removeEffect(DisplayObject(_arg1.target));
}
public function gotoURL(_arg1:Event){
navigateToURL(new URLRequest("http://www.difgames.com"), "_blank");
}
public function startTime(){
started = true;
timeCount = setInterval(doTime, 1000);
}
public function stopTime(){
secondsLeft = 99;
started = false;
clearInterval(timeCount);
}
public function doTime(){
if (started == true){
if (secondsLeft <= 0){
dispatchEvent(new Event("TIME_OUT"));
stopTime();
} else {
secondsLeft--;
differenceLeft.timeLeft.text = secondsLeft;
};
};
}
function frame1(){
gu = new gameUtils();
addChild(gu);
playMG.addEventListener(MouseEvent.CLICK, gotoURL);
playMG.addEventListener(MouseEvent.ROLL_OVER, doOver);
playMG.addEventListener(MouseEvent.ROLL_OUT, doOut);
playMG.useHandCursor = true;
playMG.buttonMode = true;
started = new Boolean(false);
secondsLeft = new Number(99);
timeCount = new uint();
}
public function doOver(_arg1:Event){
gu.addShadow(DisplayObject(_arg1.target), 0);
}
}
}//package mysticWorlds_fla
Section 7
//button1_77 (mysticWorlds_fla.button1_77)
package mysticWorlds_fla {
import flash.display.*;
public dynamic class button1_77 extends MovieClip {
public function button1_77(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package mysticWorlds_fla
Section 8
//button2_76 (mysticWorlds_fla.button2_76)
package mysticWorlds_fla {
import flash.display.*;
public dynamic class button2_76 extends MovieClip {
public function button2_76(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package mysticWorlds_fla
Section 9
//Depetitlescreen_75 (mysticWorlds_fla.Depetitlescreen_75)
package mysticWorlds_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Depetitlescreen_75 extends MovieClip {
public var button2:MovieClip;
public var creditsScreen:MovieClip;
public var button1:MovieClip;
public var creditsButton:MovieClip;
public function Depetitlescreen_75(){
addFrameScript(0, frame1);
}
function frame1(){
creditsScreen.visible = false;
creditsScreen.buttonMode = true;
creditsScreen.useHandCursor = true;
creditsButton.addEventListener(MouseEvent.CLICK, doCredits);
creditsButton.useHandCursor = true;
creditsButton.buttonMode = true;
creditsScreen.addEventListener(MouseEvent.CLICK, hideCredits);
}
public function doCredits(_arg1:Event){
removeEventListener(MouseEvent.CLICK, doCredits);
if (creditsScreen.visible == false){
creditsScreen.visible = true;
} else {
creditsScreen.visible = false;
};
}
public function hideCredits(_arg1:Event){
removeEventListener(MouseEvent.CLICK, hideCredits);
creditsScreen.visible = false;
}
}
}//package mysticWorlds_fla
Section 10
//difgames_1 (mysticWorlds_fla.difgames_1)
package mysticWorlds_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class difgames_1 extends MovieClip {
public var preImage:MovieClip;
public var hitZone:MovieClip;
public function difgames_1(){
addFrameScript(0, frame1);
}
function frame1(){
hitZone.addEventListener(MouseEvent.CLICK, doClick);
hitZone.useHandCursor = true;
hitZone.buttonMode = true;
}
public function doClick(_arg1:Event){
navigateToURL(new URLRequest("http://www.difgames.com"), "_blank");
}
}
}//package mysticWorlds_fla
Section 11
//loadingNow_4 (mysticWorlds_fla.loadingNow_4)
package mysticWorlds_fla {
import flash.display.*;
public dynamic class loadingNow_4 extends MovieClip {
public function loadingNow_4(){
addFrameScript(0, frame1, 39, frame40);
}
function frame40(){
gotoAndPlay(1);
}
function frame1(){
play();
}
}
}//package mysticWorlds_fla
Section 12
//logoGirlGames4u_20 (mysticWorlds_fla.logoGirlGames4u_20)
package mysticWorlds_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class logoGirlGames4u_20 extends MovieClip {
public var logointro:MovieClip;
public function logoGirlGames4u_20(){
addFrameScript(0, frame1);
}
public function doOut(_arg1:Event){
logointro.gotoAndStop(1);
}
function frame1(){
logointro.addEventListener(MouseEvent.CLICK, doSite);
logointro.addEventListener(MouseEvent.ROLL_OVER, doOver);
logointro.addEventListener(MouseEvent.ROLL_OUT, doOut);
logointro.useHandCursor = true;
logointro.buttonMode = true;
}
public function doSite(_arg1:Event){
navigateToURL(new URLRequest("http://www.girlgames4u.com/"), "_blank");
}
public function doOver(_arg1:Event){
logointro.gotoAndStop(2);
}
}
}//package mysticWorlds_fla
Section 13
//MainTimeline (mysticWorlds_fla.MainTimeline)
package mysticWorlds_fla {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import flash.net.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var pre:Number;
public var mainGame:MovieClip;
public var anim:Boolean;
public var preloader:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
MochiBot.track(this, "d1ea8be8");
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, preLoading);
preloader.preImage.preAnim.addEventListener("FINISHED", animFinished);
}
function frame2(){
stop();
}
public function animFinished(_arg1:Event){
anim = true;
if (pre == 100){
gotoAndPlay("Game");
};
}
public function preLoading(_arg1:ProgressEvent):void{
var _local2:Number = _arg1.bytesLoaded;
var _local3:Number = _arg1.bytesTotal;
pre = Math.floor(((_local2 / _local3) * 100));
if (pre == 100){
if (anim == true){
gotoAndPlay("Game");
};
};
}
}
}//package mysticWorlds_fla
Section 14
//MysticWorlds_9 (mysticWorlds_fla.MysticWorlds_9)
package mysticWorlds_fla {
import flash.events.*;
import flash.display.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import flash.net.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MysticWorlds_9 extends MovieClip {
public var keepTweensAlive:Dictionary;
public var l1:MovieClip;
public var l2:MovieClip;
public var l5:MovieClip;
public var l7:MovieClip;
public var titleTransition:MovieClip;
public var l3:MovieClip;
public var l4:MovieClip;
public var l6:MovieClip;
public var showMyMouse:Boolean;
public var currentLevel:Number;
public var titleScreen:MovieClip;
public var lastLevel:Number;
public var difLeft:Number;
public var gu:gameUtils;
public var found:Array;
public var theScore:Number;
public var otherMouse:sideTarget;
public function MysticWorlds_9(){
addFrameScript(0, frame1);
}
public function doOut(_arg1:Event){
removeEventListener(MouseEvent.ROLL_OUT, doOut);
gu.removeEffect(DisplayObject(_arg1.target));
}
public function gotoSite(_arg1:Event){
removeEventListener(MouseEvent.CLICK, gotoSite);
navigateToURL(new URLRequest("http://www.difgames.com"), "_blank");
}
public function showNextLevel(_arg1:Event){
var doTimeOut:Function;
var event = _arg1;
doTimeOut = function (_arg1:Event){
removeEventListener("TIME_OUT", doTimeOut);
currentLevel = 7;
showNextLevel(null);
};
lastLevel = currentLevel;
removeEventListener("DO_NEXT_LEVEL", showNextLevel);
if (currentLevel < 7){
difLeft = 5;
currentLevel++;
titleTransition.nlp.visible = true;
titleTransition.egp.visible = false;
titleTransition.gotoAndPlay(2);
} else {
currentLevel = 1;
theScore = 0;
difLeft = 5;
titleTransition.nlp.visible = false;
titleTransition.egp.visible = true;
titleTransition.gotoAndPlay(2);
};
var i:* = 1;
while (i <= 5) {
found[i] = false;
i = (i + 1);
};
this[("l" + currentLevel)].footerBar.differenceLeft.score.text = ("" + theScore);
this[("l" + currentLevel)].footerBar.addEventListener("TIME_OUT", doTimeOut);
}
public function endTween(_arg1:TweenEvent){
removeEventListener(TweenEvent.MOTION_FINISH, endTween);
keepTweensAlive[_arg1.currentTarget] = null;
delete keepTweensAlive[_arg1.currentTarget];
}
public function activateDoubleMouse(){
var refreshMouse:Function;
refreshMouse = function (_arg1:Event){
if (stage.mouseX > 400){
otherMouse.x = (stage.mouseX - 400);
} else {
otherMouse.x = (stage.mouseX + 400);
};
if ((((stage.mouseY > 1)) && ((stage.mouseY < 600)))){
otherMouse.y = stage.mouseY;
otherMouse.alpha = 1;
} else {
otherMouse.alpha = 0;
};
};
addChild(otherMouse);
this.addEventListener(MouseEvent.MOUSE_MOVE, refreshMouse);
otherMouse.x = (stage.mouseX - 400);
otherMouse.y = stage.mouseY;
}
public function hideMouse(_arg1:Event){
showMyMouse = false;
otherMouse.visible = false;
}
public function minusPoints(_arg1:Event){
removeEventListener(MouseEvent.CLICK, minusPoints);
theScore = (theScore - 5);
this[("l" + currentLevel)].footerBar.differenceLeft.score.text = ("" + theScore);
var _local2:pointsDown = new pointsDown();
_local2.x = stage.mouseX;
_local2.y = stage.mouseY;
addChild(_local2);
_local2.play();
}
public function doDif(_arg1:Event){
var _local2:Tween;
var _local3:pointsUp;
var _local4:bonusUp;
if (found[_arg1.target.myNumber] == false){
found[_arg1.target.myNumber] = true;
_local2 = new Tween(this[("l" + currentLevel)][("d" + _arg1.target.myNumber)], "alpha", None.easeOut, 1, 0, 0.3, true);
_local2.addEventListener(TweenEvent.MOTION_FINISH, endTween);
keepTweensAlive[_local2] = _local2;
difLeft--;
theScore = (theScore + 100);
this[("l" + currentLevel)].footerBar.differenceLeft.difinfo.text = ("" + difLeft);
this[("l" + currentLevel)].footerBar.differenceLeft.score.text = ("" + theScore);
_local3 = new pointsUp();
_local3.x = stage.mouseX;
_local3.y = stage.mouseY;
addChild(_local3);
_local3.play();
if (difLeft == 0){
this[("l" + currentLevel)].footerBar.stopTime();
_local4 = new bonusUp();
_local4.bonusValue.text = ("time bonus: " + this[("l" + currentLevel)].footerBar.differenceLeft.timeLeft.text);
_local4.x = ((800 - _local4.width) / 2);
_local4.y = (600 / 2);
addChild(_local4);
theScore = (theScore + parseInt(this[("l" + currentLevel)].footerBar.differenceLeft.timeLeft.text));
this[("l" + currentLevel)].footerBar.differenceLeft.score.text = theScore;
_local4.addEventListener("DO_NEXT_LEVEL", showNextLevel);
};
};
}
public function showMouse(_arg1:Event){
showMyMouse = true;
otherMouse.visible = true;
}
function frame1(){
otherMouse = new sideTarget();
showMyMouse = new Boolean(true);
stop();
keepTweensAlive = new Dictionary(false);
currentLevel = new Number();
difLeft = new Number();
gu = new gameUtils();
theScore = new Number(0);
found = new Array();
lastLevel = new Number();
addChild(gu);
titleTransition.gotoAndStop(25);
titleTransition.nlp.visible = false;
titleTransition.egp.visible = false;
titleScreen.button1.addEventListener(MouseEvent.CLICK, beginPlay);
titleScreen.button2.addEventListener(MouseEvent.CLICK, gotoSite);
titleScreen.button1.useHandCursor = true;
titleScreen.button1.buttonMode = true;
titleScreen.button2.useHandCursor = true;
titleScreen.button2.buttonMode = true;
titleScreen.button1.addEventListener(MouseEvent.ROLL_OVER, doOver);
titleScreen.button2.addEventListener(MouseEvent.ROLL_OVER, doOver);
titleScreen.button1.addEventListener(MouseEvent.ROLL_OUT, doOut);
titleScreen.button2.addEventListener(MouseEvent.ROLL_OUT, doOut);
titleTransition.addEventListener("CHANGE_SCREEN", showMe);
}
public function showMe(_arg1:Event){
removeEventListener("CHANGE_SCREEN", showMe);
MovieClip(root).mainGame[("l" + currentLevel)].visible = true;
var _local2:* = 1;
while (_local2 <= 5) {
MovieClip(root).mainGame[("l" + currentLevel)][("d" + _local2)].alpha = 1;
_local2++;
};
MovieClip(root).mainGame[("l" + lastLevel)].visible = false;
MovieClip(root).mainGame[("l" + currentLevel)].footerBar.startTime();
}
public function beginPlay(_arg1:Event){
var _local3:*;
var _local4:*;
removeEventListener(MouseEvent.CLICK, beginPlay);
titleScreen.visible = false;
titleTransition.play();
currentLevel = 1;
difLeft = 5;
var _local2:* = 1;
while (_local2 <= 7) {
this[("l" + _local2)].visible = false;
this[("l" + _local2)].footerBar.addEventListener(MouseEvent.ROLL_OVER, hideMouse);
this[("l" + _local2)].footerBar.addEventListener(MouseEvent.ROLL_OUT, showMouse);
this[("l" + _local2)][("back" + _local2)].addEventListener(MouseEvent.CLICK, minusPoints);
_local3 = 1;
while (_local3 <= 5) {
found[_local3] = false;
this[("l" + _local2)][("d" + _local3)].myNumber = _local3;
this[("l" + _local2)][("dh" + _local3)].myNumber = _local3;
this[("l" + _local2)][("dh" + _local3)].alpha = 0;
this[("l" + _local2)][("d" + _local3)].alpha = 1;
this[("l" + _local2)][("d" + _local3)].addEventListener(MouseEvent.CLICK, doDif);
this[("l" + _local2)][("dh" + _local3)].addEventListener(MouseEvent.CLICK, doDif);
_local4 = new Shape();
_local4.graphics.beginFill(0, 0);
_local4.graphics.drawRect(0, 0, this[("l" + _local2)][("dh" + _local3)].width, this[("l" + _local2)][("dh" + _local3)].height);
_local4.alpha = 0;
this[("l" + _local2)][("dh" + _local3)].addChild(_local4);
this[("l" + _local2)][("d" + _local3)].addChild(_local4);
_local3++;
};
_local2++;
};
l1.visible = true;
activateDoubleMouse();
l1.footerBar.startTime();
}
public function doOver(_arg1:Event){
removeEventListener(MouseEvent.ROLL_OVER, doOver);
gu.addShadow(DisplayObject(_arg1.target), 0xFFFFFF);
}
}
}//package mysticWorlds_fla
Section 15
//titleAnimation_3 (mysticWorlds_fla.titleAnimation_3)
package mysticWorlds_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public dynamic class titleAnimation_3 extends MovieClip {
public var Text_18:TextField;
public function titleAnimation_3(){
addFrameScript(214, frame215);
}
function frame215(){
stop();
dispatchEvent(new Event("FINISHED"));
}
}
}//package mysticWorlds_fla
Section 16
//bonusUp (bonusUp)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public dynamic class bonusUp extends MovieClip {
public var bonusValue:TextField;
public function bonusUp(){
addFrameScript(77, frame78);
}
function frame78(){
stop();
dispatchEvent(new Event("DO_NEXT_LEVEL"));
}
}
}//package
Section 17
//gameOverWindow (gameOverWindow)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import flash.filters.*;
public dynamic class gameOverWindow extends MovieClip {
public var restartButton:MovieClip;
public var playMore:MovieClip;
public var totalScore:TextField;
public function gameOverWindow(){
addFrameScript(0, frame1);
}
public function restartGame(_arg1:Event){
dispatchEvent(new Event("GAMEOVER"));
}
public function removeShadow(_arg1:DisplayObject){
_arg1.filters = null;
}
function frame1(){
playMore.addEventListener(MouseEvent.CLICK, playMoreGames);
playMore.addEventListener(MouseEvent.ROLL_OVER, butOver);
playMore.addEventListener(MouseEvent.ROLL_OUT, butOut);
restartButton.addEventListener(MouseEvent.CLICK, restartGame);
restartButton.addEventListener(MouseEvent.ROLL_OVER, butOver);
restartButton.addEventListener(MouseEvent.ROLL_OUT, butOut);
playMore.buttonMode = true;
playMore.useHandCursor = true;
restartButton.buttonMode = true;
restartButton.useHandCursor = true;
}
public function butOut(_arg1:Event){
removeShadow(DisplayObject(_arg1.target));
}
public function addGlow(_arg1:DisplayObject){
var _local2:GlowFilter = new GlowFilter();
_local2.color = 0xFFFFFF;
_local2.alpha = 1;
_local2.blurX = 2;
_local2.blurY = 2;
_local2.strength = 4;
_local2.quality = 3;
_local2.inner = false;
_local2.knockout = false;
_arg1.filters = new Array(_local2);
}
public function butOver(_arg1:Event){
addGlow(DisplayObject(_arg1.target));
}
public function playMoreGames(_arg1:Event){
navigateToURL(new URLRequest("http://www.difgames.com"), "_blank");
}
}
}//package
Section 18
//gameUtils (gameUtils)
package {
import flash.display.*;
import flash.filters.*;
public class gameUtils extends MovieClip {
public function gameUtils(){
trace("connected");
}
public function addShadow(_arg1:DisplayObject, _arg2:uint){
var _local3:DropShadowFilter = new DropShadowFilter();
_local3.distance = 0;
_local3.angle = 0;
_local3.color = _arg2;
_local3.alpha = 1;
_local3.blurX = 3;
_local3.blurY = 3;
_local3.strength = 3;
_local3.quality = 15;
_local3.inner = false;
_local3.knockout = false;
_local3.hideObject = false;
_arg1.filters = new Array(_local3);
}
public function removeEffect(_arg1:DisplayObject){
_arg1.filters = null;
}
public function addGlow(_arg1:DisplayObject, _arg2:uint){
var _local3:GlowFilter = new GlowFilter();
_local3.color = _arg2;
_local3.alpha = 1;
_local3.blurX = 2;
_local3.blurY = 2;
_local3.strength = 0.1;
_local3.quality = 3;
_local3.inner = false;
_local3.knockout = false;
_arg1.filters = new Array(_local3);
}
public function createMCZone(_arg1:MovieClip){
var _local2:Shape = new Shape();
_local2.graphics.beginFill(0, 0);
_local2.graphics.drawRect(0, 0, _arg1.width, _arg1.height);
_local2.alpha = 0;
_arg1.addChild(_local2);
}
}
}//package
Section 19
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.system.*;
import flash.net.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
if (Security.sandboxType == "localWithFile"){
return (null);
};
var _local3:MochiBot = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
var _local4 = "http://core.mochibot.com/my/core.swf";
var _local5:URLVariables = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
var _local6:String = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
var _local7:URLRequest = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
var _local8:Loader = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 20
//nextLevelWindow (nextLevelWindow)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.media.*;
import flash.text.*;
import flash.system.*;
import flash.net.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class nextLevelWindow extends MovieClip {
public var playMore:MovieClip;
public var growLevel:MovieClip;
public function nextLevelWindow(){
addFrameScript(0, frame1);
}
public function addShadow(_arg1:DisplayObject){
var _local2:DropShadowFilter = new DropShadowFilter();
_local2.distance = 0;
_local2.angle = 45;
_local2.color = 0;
_local2.alpha = 1;
_local2.blurX = 5;
_local2.blurY = 5;
_local2.strength = 1;
_local2.quality = 15;
_local2.inner = false;
_local2.knockout = false;
_local2.hideObject = false;
_arg1.filters = new Array(_local2);
}
public function doOut(_arg1:Event){
removeShadow(DisplayObject(_arg1.target));
}
public function removeShadow(_arg1:DisplayObject){
_arg1.filters = null;
}
function frame1(){
MovieClip(root).mainscreen.otherMouse.alpha = 1;
growLevel.addEventListener(MouseEvent.CLICK, gotoNextLevel);
growLevel.addEventListener(MouseEvent.ROLL_OVER, doOver);
growLevel.addEventListener(MouseEvent.ROLL_OUT, doOut);
growLevel.useHandCursor = true;
growLevel.buttonMode = true;
playMore.addEventListener(MouseEvent.CLICK, playMoreGames);
playMore.addEventListener(MouseEvent.ROLL_OVER, doOver);
playMore.addEventListener(MouseEvent.ROLL_OUT, doOut);
playMore.useHandCursor = true;
playMore.buttonMode = true;
}
public function gotoNextLevel(_arg1:Event){
dispatchEvent(new Event("COMPLETED"));
}
public function addGlow(_arg1:DisplayObject){
var _local2:GlowFilter = new GlowFilter();
_local2.color = 0xFFFFFF;
_local2.alpha = 1;
_local2.blurX = 2;
_local2.blurY = 2;
_local2.strength = 4;
_local2.quality = 3;
_local2.inner = false;
_local2.knockout = false;
_arg1.filters = new Array(_local2);
}
public function playMoreGames(_arg1:Event){
navigateToURL(new URLRequest("http://difgames.com"), "_blank");
}
public function doOver(_arg1:Event){
addGlow(DisplayObject(_arg1.target));
}
}
}//package
Section 21
//pointsDown (pointsDown)
package {
import flash.display.*;
public dynamic class pointsDown extends MovieClip {
public function pointsDown(){
addFrameScript(40, frame41);
}
function frame41(){
stop();
}
}
}//package
Section 22
//pointsUp (pointsUp)
package {
import flash.display.*;
public dynamic class pointsUp extends MovieClip {
public function pointsUp(){
addFrameScript(40, frame41);
}
function frame41(){
stop();
}
}
}//package
Section 23
//puncte (puncte)
package {
import flash.display.*;
public dynamic class puncte extends MovieClip {
public function puncte(){
addFrameScript(30, frame31);
}
function frame31(){
stop();
}
}
}//package
Section 24
//sideTarget (sideTarget)
package {
import flash.display.*;
public dynamic class sideTarget extends MovieClip {
}
}//package
Section 25
//soundLoop (soundLoop)
package {
import flash.media.*;
public dynamic class soundLoop extends Sound {
}
}//package
Section 26
//timeBonus (timeBonus)
package {
import flash.events.*;
import flash.display.*;
public dynamic class timeBonus extends MovieClip {
public var tb:MovieClip;
public function timeBonus(){
addFrameScript(50, frame51);
}
function frame51(){
stop();
dispatchEvent(new Event("ALL_DONE"));
}
}
}//package
Section 27
//timeUp (timeUp)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import flash.filters.*;
public dynamic class timeUp extends MovieClip {
public var restartButton:MovieClip;
public var playMore:MovieClip;
public var totalScore:TextField;
public function timeUp(){
addFrameScript(0, frame1);
}
public function restartGame(_arg1:Event){
dispatchEvent(new Event("GAMEOVER"));
}
public function removeShadow(_arg1:DisplayObject){
_arg1.filters = null;
}
function frame1(){
playMore.addEventListener(MouseEvent.CLICK, playMoreGames);
playMore.addEventListener(MouseEvent.ROLL_OVER, butOver);
playMore.addEventListener(MouseEvent.ROLL_OUT, butOut);
restartButton.addEventListener(MouseEvent.CLICK, restartGame);
restartButton.addEventListener(MouseEvent.ROLL_OVER, butOver);
restartButton.addEventListener(MouseEvent.ROLL_OUT, butOut);
playMore.buttonMode = true;
playMore.useHandCursor = true;
restartButton.buttonMode = true;
restartButton.useHandCursor = true;
}
public function butOut(_arg1:Event){
removeShadow(DisplayObject(_arg1.target));
}
public function addGlow(_arg1:DisplayObject){
var _local2:GlowFilter = new GlowFilter();
_local2.color = 0xFFFFFF;
_local2.alpha = 1;
_local2.blurX = 2;
_local2.blurY = 2;
_local2.strength = 4;
_local2.quality = 3;
_local2.inner = false;
_local2.knockout = false;
_arg1.filters = new Array(_local2);
}
public function butOver(_arg1:Event){
addGlow(DisplayObject(_arg1.target));
}
public function playMoreGames(_arg1:Event){
navigateToURL(new URLRequest("http://www.difgames.com"), "_blank");
}
}
}//package