Section 1
//PropTween (com.greensock.core.PropTween)
package com.greensock.core {
public class PropTween {
public var start:Number;
public var name:String;
public var prevNode:PropTween;
public var change:Number;
public var target:Object;
public var priority:int;
public var property:String;
public var nextNode:PropTween;
public var isPlugin:Boolean;
public function PropTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean, _arg7:PropTween=null, _arg8:int=0){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
if (_arg7){
_arg7.prevNode = this;
this.nextNode = _arg7;
};
this.priority = _arg8;
}
}
}//package com.greensock.core
Section 2
//SimpleTimeline (com.greensock.core.SimpleTimeline)
package com.greensock.core {
public class SimpleTimeline extends TweenCore {
public var autoRemoveChildren:Boolean;
protected var _lastChild:TweenCore;
protected var _firstChild:TweenCore;
public function SimpleTimeline(_arg1:Object=null){
super(0, _arg1);
}
override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
var _local4:TweenCore;
var _local5:Number;
var _local6:TweenCore;
_local4 = _firstChild;
this.cachedTotalTime = _arg1;
this.cachedTime = _arg1;
while (_local4) {
_local6 = _local4.nextNode;
if (((_local4.active) || ((((((_arg1 >= _local4.cachedStartTime)) && (!(_local4.cachedPaused)))) && (!(_local4.gc)))))){
if (!_local4.cachedReversed){
_local4.renderTime(((_arg1 - _local4.cachedStartTime) * _local4.cachedTimeScale), _arg2, false);
} else {
_local5 = (_local4.cacheIsDirty) ? _local4.totalDuration : _local4.cachedTotalDuration;
_local4.renderTime((_local5 - ((_arg1 - _local4.cachedStartTime) * _local4.cachedTimeScale)), _arg2, false);
};
};
_local4 = _local6;
};
}
public function addChild(_arg1:TweenCore):void{
if (((!(_arg1.cachedOrphan)) && (_arg1.timeline))){
_arg1.timeline.remove(_arg1, true);
};
_arg1.timeline = this;
if (_arg1.gc){
_arg1.setEnabled(true, true);
};
if (_firstChild){
_firstChild.prevNode = _arg1;
};
_arg1.nextNode = _firstChild;
_firstChild = _arg1;
_arg1.prevNode = null;
_arg1.cachedOrphan = false;
}
public function get rawTime():Number{
return (this.cachedTotalTime);
}
public function remove(_arg1:TweenCore, _arg2:Boolean=false):void{
if (_arg1.cachedOrphan){
return;
};
if (!_arg2){
_arg1.setEnabled(false, true);
};
if (_arg1.nextNode){
_arg1.nextNode.prevNode = _arg1.prevNode;
} else {
if (_lastChild == _arg1){
_lastChild = _arg1.prevNode;
};
};
if (_arg1.prevNode){
_arg1.prevNode.nextNode = _arg1.nextNode;
} else {
if (_firstChild == _arg1){
_firstChild = _arg1.nextNode;
};
};
_arg1.cachedOrphan = true;
}
}
}//package com.greensock.core
Section 3
//TweenCore (com.greensock.core.TweenCore)
package com.greensock.core {
import com.greensock.*;
public class TweenCore {
public var initted:Boolean;
protected var _hasUpdate:Boolean;
public var active:Boolean;
protected var _delay:Number;
public var cachedReversed:Boolean;
public var nextNode:TweenCore;
public var cachedTime:Number;
protected var _rawPrevTime:Number;// = -1
public var vars:Object;
public var cachedTotalTime:Number;
public var data;
public var timeline:SimpleTimeline;
public var cachedOrphan:Boolean;
public var cachedStartTime:Number;
public var prevNode:TweenCore;
public var cachedDuration:Number;
public var gc:Boolean;
protected var _pauseTime:Number;
public var cacheIsDirty:Boolean;
public var cachedPaused:Boolean;
public var cachedTimeScale:Number;
public var cachedTotalDuration:Number;
public static const version:Number = 1.382;
protected static var _classInitted:Boolean;
public function TweenCore(_arg1:Number=0, _arg2:Object=null){
var _local3:SimpleTimeline;
_rawPrevTime = -1;
super();
this.vars = ((_arg2)!=null) ? _arg2 : {};
this.cachedDuration = (this.cachedTotalDuration = _arg1);
_delay = (this.vars.delay) ? Number(this.vars.delay) : 0;
this.cachedTimeScale = (this.vars.timeScale) ? Number(this.vars.timeScale) : 1;
this.active = Boolean((((((_arg1 == 0)) && ((_delay == 0)))) && (!((this.vars.immediateRender == false)))));
this.cachedTotalTime = (this.cachedTime = 0);
this.data = this.vars.data;
if (!_classInitted){
if (isNaN(TweenLite.rootFrame)){
TweenLite.initClass();
_classInitted = true;
} else {
return;
};
};
_local3 = ((this.vars.timeline is SimpleTimeline)) ? this.vars.timeline : (this.vars.useFrames) ? TweenLite.rootFramesTimeline : TweenLite.rootTimeline;
this.cachedStartTime = (_local3.cachedTotalTime + _delay);
_local3.addChild(this);
if (this.vars.reversed){
this.cachedReversed = true;
};
if (this.vars.paused){
this.paused = true;
};
}
public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
}
public function get delay():Number{
return (_delay);
}
public function get duration():Number{
return (this.cachedDuration);
}
public function set reversed(_arg1:Boolean):void{
if (_arg1 != this.cachedReversed){
this.cachedReversed = _arg1;
setTotalTime(this.cachedTotalTime, true);
};
}
public function set startTime(_arg1:Number):void{
var _local2:Boolean;
_local2 = Boolean(((!((this.timeline == null))) && (((!((_arg1 == this.cachedStartTime))) || (this.gc)))));
this.cachedStartTime = _arg1;
if (_local2){
this.timeline.addChild(this);
};
}
public function set delay(_arg1:Number):void{
this.startTime = (this.startTime + (_arg1 - _delay));
_delay = _arg1;
}
public function resume():void{
this.paused = false;
}
public function get paused():Boolean{
return (this.cachedPaused);
}
public function play():void{
this.reversed = false;
this.paused = false;
}
public function set duration(_arg1:Number):void{
this.cachedDuration = (this.cachedTotalDuration = _arg1);
setDirtyCache(false);
}
public function invalidate():void{
}
public function restart(_arg1:Boolean=false, _arg2:Boolean=true):void{
this.reversed = false;
this.paused = false;
this.setTotalTime((_arg1) ? -(_delay) : 0, _arg2);
}
public function complete(_arg1:Boolean=false, _arg2:Boolean=false):void{
if (!_arg1){
renderTime(this.totalDuration, _arg2, false);
return;
};
if (this.timeline.autoRemoveChildren){
this.setEnabled(false, false);
} else {
this.active = false;
};
if (!_arg2){
if (((((this.vars.onComplete) && ((this.cachedTotalTime == this.cachedTotalDuration)))) && (!(this.cachedReversed)))){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
} else {
if (((((this.cachedReversed) && ((this.cachedTotalTime == 0)))) && (this.vars.onReverseComplete))){
this.vars.onReverseComplete.apply(null, this.vars.onReverseCompleteParams);
};
};
};
}
public function get reversed():Boolean{
return (this.cachedReversed);
}
public function get totalTime():Number{
return (this.cachedTotalTime);
}
public function get startTime():Number{
return (this.cachedStartTime);
}
public function set currentTime(_arg1:Number):void{
setTotalTime(_arg1, false);
}
protected function setDirtyCache(_arg1:Boolean=true):void{
var _local2:TweenCore;
_local2 = (_arg1) ? this : this.timeline;
while (_local2) {
_local2.cacheIsDirty = true;
_local2 = _local2.timeline;
};
}
public function reverse(_arg1:Boolean=true):void{
this.reversed = true;
if (_arg1){
this.paused = false;
} else {
if (this.gc){
this.setEnabled(true, false);
};
};
}
public function set paused(_arg1:Boolean):void{
if (((!((_arg1 == this.cachedPaused))) && (this.timeline))){
if (_arg1){
_pauseTime = this.timeline.rawTime;
} else {
this.cachedStartTime = (this.cachedStartTime + (this.timeline.rawTime - _pauseTime));
_pauseTime = NaN;
setDirtyCache(false);
};
this.cachedPaused = _arg1;
this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration))));
};
if (((!(_arg1)) && (this.gc))){
this.setTotalTime(this.cachedTotalTime, false);
this.setEnabled(true, false);
};
}
public function kill():void{
setEnabled(false, false);
}
public function set totalTime(_arg1:Number):void{
setTotalTime(_arg1, false);
}
public function get currentTime():Number{
return (this.cachedTime);
}
protected function setTotalTime(_arg1:Number, _arg2:Boolean=false):void{
var _local3:Number;
var _local4:Number;
if (this.timeline){
_local3 = (((_pauseTime) || ((_pauseTime == 0)))) ? _pauseTime : this.timeline.cachedTotalTime;
if (this.cachedReversed){
_local4 = (this.cacheIsDirty) ? this.totalDuration : this.cachedTotalDuration;
this.cachedStartTime = (_local3 - ((_local4 - _arg1) / this.cachedTimeScale));
} else {
this.cachedStartTime = (_local3 - (_arg1 / this.cachedTimeScale));
};
if (!this.timeline.cacheIsDirty){
setDirtyCache(false);
};
if (this.cachedTotalTime != _arg1){
renderTime(_arg1, _arg2, false);
};
};
}
public function pause():void{
this.paused = true;
}
public function set totalDuration(_arg1:Number):void{
this.duration = _arg1;
}
public function get totalDuration():Number{
return (this.cachedTotalDuration);
}
public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{
this.gc = !(_arg1);
if (_arg1){
this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration))));
if (((!(_arg2)) && (this.cachedOrphan))){
this.timeline.addChild(this);
};
} else {
this.active = false;
if (((!(_arg2)) && (!(this.cachedOrphan)))){
this.timeline.remove(this, true);
};
};
return (false);
}
}
}//package com.greensock.core
Section 4
//Cubic (com.greensock.easing.Cubic)
package com.greensock.easing {
public class Cubic {
public static const power:uint = 2;
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 * 0.5));
if (_arg1 < 1){
return ((((((_arg3 * 0.5) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 * 0.5) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package com.greensock.easing
Section 5
//Quad (com.greensock.easing.Quad)
package com.greensock.easing {
public class Quad {
public static const power:uint = 1;
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 * 0.5));
if (_arg1 < 1){
return (((((_arg3 * 0.5) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) * 0.5) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
}
}//package com.greensock.easing
Section 6
//OverwriteManager (com.greensock.OverwriteManager)
package com.greensock {
import com.greensock.core.*;
public class OverwriteManager {
public static const ALL_ONSTART:int = 4;
public static const CONCURRENT:int = 3;
public static const ALL_IMMEDIATE:int = 1;
public static const PREEXISTING:int = 5;
public static const AUTO:int = 2;
public static const version:Number = 6.02;
public static const NONE:int = 0;
public static var enabled:Boolean;
public static var mode:int;
public static function getGlobalPaused(_arg1:TweenCore):Boolean{
while (_arg1) {
if (_arg1.cachedPaused){
return (true);
};
_arg1 = _arg1.timeline;
};
return (false);
}
public static function init(_arg1:int=2):int{
if (TweenLite.version < 11.1){
throw (new Error("Warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com."));
};
TweenLite.overwriteManager = OverwriteManager;
mode = _arg1;
enabled = true;
return (mode);
}
public static function manageOverwrites(_arg1:TweenLite, _arg2:Object, _arg3:Array, _arg4:uint):Boolean{
var _local5:int;
var _local6:Boolean;
var _local7:TweenLite;
var _local8:Number;
var _local9:Array;
var _local10:Array;
var _local11:uint;
var _local12:uint;
var _local13:uint;
var _local14:Number;
var _local15:Number;
var _local16:TweenCore;
var _local17:Number;
var _local18:SimpleTimeline;
if (_arg4 >= 4){
_local13 = _arg3.length;
_local5 = 0;
while (_local5 < _local13) {
_local7 = _arg3[_local5];
if (_local7 != _arg1){
if (_local7.setEnabled(false, false)){
_local6 = true;
};
} else {
if (_arg4 == 5){
break;
};
};
_local5++;
};
return (_local6);
};
_local8 = (_arg1.cachedStartTime + 1E-10);
_local9 = [];
_local10 = [];
_local11 = 0;
_local12 = 0;
_local5 = _arg3.length;
while (--_local5 > -1) {
_local7 = _arg3[_local5];
if ((((_local7 == _arg1)) || (_local7.gc))){
} else {
if (_local7.timeline != _arg1.timeline){
if (!getGlobalPaused(_local7)){
var _temp1 = _local11;
_local11 = (_local11 + 1);
var _local19 = _temp1;
_local10[_local19] = _local7;
};
} else {
if ((((((_local7.cachedStartTime <= _local8)) && ((((_local7.cachedStartTime + _local7.totalDuration) + 1E-10) > _local8)))) && (!(getGlobalPaused(_local7))))){
var _temp2 = _local12;
_local12 = (_local12 + 1);
_local19 = _temp2;
_local9[_local19] = _local7;
};
};
};
};
if (_local11 != 0){
_local14 = _arg1.cachedTimeScale;
_local15 = _local8;
_local18 = _arg1.timeline;
while (_local18) {
_local14 = (_local14 * _local18.cachedTimeScale);
_local15 = (_local15 + _local18.cachedStartTime);
_local18 = _local18.timeline;
};
_local8 = (_local14 * _local15);
_local5 = _local11;
while (--_local5 > -1) {
_local16 = _local10[_local5];
_local14 = _local16.cachedTimeScale;
_local15 = _local16.cachedStartTime;
_local18 = _local16.timeline;
while (_local18) {
_local14 = (_local14 * _local18.cachedTimeScale);
_local15 = (_local15 + _local18.cachedStartTime);
_local18 = _local18.timeline;
};
_local17 = (_local14 * _local15);
if ((((_local17 <= _local8)) && ((((((_local17 + (_local16.totalDuration * _local14)) + 1E-10) > _local8)) || ((_local16.cachedDuration == 0)))))){
var _temp3 = _local12;
_local12 = (_local12 + 1);
_local19 = _temp3;
_local9[_local19] = _local16;
};
};
};
if (_local12 == 0){
return (_local6);
};
_local5 = _local12;
if (_arg4 == 2){
while (--_local5 > -1) {
_local7 = _local9[_local5];
if (_local7.killVars(_arg2)){
_local6 = true;
};
if ((((_local7.cachedPT1 == null)) && (_local7.initted))){
_local7.setEnabled(false, false);
};
};
} else {
while (--_local5 > -1) {
if (TweenLite(_local9[_local5]).setEnabled(false, false)){
_local6 = true;
};
};
};
return (_local6);
}
}
}//package com.greensock
Section 7
//TweenLite (com.greensock.TweenLite)
package com.greensock {
import flash.display.*;
import flash.events.*;
import com.greensock.core.*;
import flash.utils.*;
import com.greensock.plugins.*;
public class TweenLite extends TweenCore {
public var target:Object;
public var ratio:Number;// = 0
protected var _overwrite:uint;
protected var _notifyPluginsOfEnabled:Boolean;
protected var _hasPlugins:Boolean;
public var cachedPT1:PropTween;
protected var _overwrittenProps:Object;
public var propTweenLookup:Object;
protected var _ease:Function;
public static const version:Number = 11.36;
public static var rootTimeline:SimpleTimeline;
public static var fastEaseLookup:Dictionary = new Dictionary(false);
public static var onPluginEvent:Function;
public static var rootFramesTimeline:SimpleTimeline;
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var masterList:Dictionary = new Dictionary(false);
public static var overwriteManager:Object;
public static var rootFrame:Number;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _shape:Shape = new Shape();
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, onInit:1, onInitParams:1, onReverseComplete:1, onReverseCompleteParams:1, onRepeat:1, onRepeatParams:1, proxiedEase:1, easeParams:1, yoyo:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, onReverseCompleteListener:1, onRepeatListener:1, orientToBezier:1, timeScale:1, immediateRender:1, repeat:1, repeatDelay:1, timeline:1, data:1, paused:1};
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local4:Array;
var _local5:TweenLite;
ratio = 0;
super(_arg2, _arg3);
this.target = _arg1;
if ((((this.target is TweenCore)) && (this.vars.timeScale))){
this.cachedTimeScale = 1;
};
propTweenLookup = {};
_ease = defaultEase;
_overwrite = (((!((Number(_arg3.overwrite) > -1))) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
_local4 = masterList[_arg1];
if (!_local4){
masterList[_arg1] = [this];
} else {
if (_overwrite == 1){
for each (_local5 in _local4) {
if (!_local5.gc){
_local5.setEnabled(false, false);
};
};
masterList[_arg1] = [this];
} else {
_local4[_local4.length] = this;
};
};
if (((this.active) || (this.vars.immediateRender))){
renderTime(0, false, true);
};
}
override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
var _local4:Boolean;
var _local5:Number;
var _local6:PropTween;
_local5 = this.cachedTime;
if (_arg1 >= this.cachedDuration){
this.cachedTotalTime = (this.cachedTime = this.cachedDuration);
this.ratio = 1;
_local4 = true;
if (this.cachedDuration == 0){
if ((((((_arg1 == 0)) || ((_rawPrevTime < 0)))) && (!((_rawPrevTime == _arg1))))){
_arg3 = true;
};
_rawPrevTime = _arg1;
};
} else {
if (_arg1 <= 0){
this.cachedTotalTime = (this.cachedTime = (this.ratio = 0));
if (_arg1 < 0){
this.active = false;
if (this.cachedDuration == 0){
if (_rawPrevTime > 0){
_arg3 = true;
_local4 = true;
};
_rawPrevTime = _arg1;
};
};
if (((this.cachedReversed) && (!((_local5 == 0))))){
_local4 = true;
};
} else {
this.cachedTotalTime = (this.cachedTime = _arg1);
this.ratio = _ease(_arg1, 0, 1, this.cachedDuration);
};
};
if ((((this.cachedTime == _local5)) && (!(_arg3)))){
return;
};
if (!this.initted){
init();
if (((!(_local4)) && (this.cachedTime))){
this.ratio = _ease(this.cachedTime, 0, 1, this.cachedDuration);
};
};
if (((!(this.active)) && (!(this.cachedPaused)))){
this.active = true;
};
if ((((((((_local5 == 0)) && (this.vars.onStart))) && (!((this.cachedTime == 0))))) && (!(_arg2)))){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
_local6 = this.cachedPT1;
while (_local6) {
_local6.target[_local6.property] = (_local6.start + (this.ratio * _local6.change));
_local6 = _local6.nextNode;
};
if (((_hasUpdate) && (!(_arg2)))){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local4){
if (((_hasPlugins) && (this.cachedPT1))){
onPluginEvent("onComplete", this);
};
complete(true, _arg2);
};
}
protected function init():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:Boolean;
var _local5:Array;
var _local6:PropTween;
if (this.vars.onInit){
this.vars.onInit.apply(null, this.vars.onInitParams);
};
if (typeof(this.vars.ease) == "function"){
_ease = this.vars.ease;
};
if (this.vars.easeParams){
this.vars.proxiedEase = _ease;
_ease = easeProxy;
};
this.cachedPT1 = null;
this.propTweenLookup = {};
for (_local1 in this.vars) {
if ((((_local1 in _reservedProps)) && (!((((_local1 == "timeScale")) && ((this.target is TweenCore))))))){
} else {
if ((((_local1 in plugins)) && (new ((plugins[_local1] as Class)).onInitTween(this.target, this.vars[_local1], this)))){
this.cachedPT1 = new PropTween(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true, this.cachedPT1);
if (this.cachedPT1.name == "_MULTIPLE_"){
_local2 = _local3.overwriteProps.length;
while (--_local2 > -1) {
this.propTweenLookup[_local3.overwriteProps[_local2]] = this.cachedPT1;
};
} else {
this.propTweenLookup[this.cachedPT1.name] = this.cachedPT1;
};
if (_local3.priority){
this.cachedPT1.priority = _local3.priority;
_local4 = true;
};
if (((_local3.onDisable) || (_local3.onEnable))){
_notifyPluginsOfEnabled = true;
};
_hasPlugins = true;
} else {
this.cachedPT1 = new PropTween(this.target, _local1, Number(this.target[_local1]), ((typeof(this.vars[_local1]))=="number") ? (Number(this.vars[_local1]) - this.target[_local1]) : Number(this.vars[_local1]), _local1, false, this.cachedPT1);
this.propTweenLookup[_local1] = this.cachedPT1;
};
};
};
if (_local4){
onPluginEvent("onInit", this);
};
if (this.vars.runBackwards){
_local6 = this.cachedPT1;
while (_local6) {
_local6.start = (_local6.start + _local6.change);
_local6.change = -(_local6.change);
_local6 = _local6.nextNode;
};
};
_hasUpdate = Boolean(!((this.vars.onUpdate == null)));
if (_overwrittenProps){
killVars(_overwrittenProps);
if (this.cachedPT1 == null){
this.setEnabled(false, false);
};
};
if ((((((((_overwrite > 1)) && (this.cachedPT1))) && (masterList[this.target]))) && ((_local5.length > 1)))){
if (overwriteManager.manageOverwrites(this, this.propTweenLookup, _local5, _overwrite)){
init();
};
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
override public function invalidate():void{
if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){
onPluginEvent("onDisable", this);
};
this.cachedPT1 = null;
_overwrittenProps = null;
_hasUpdate = (this.initted = (this.active = (_notifyPluginsOfEnabled = false)));
this.propTweenLookup = {};
}
public function killVars(_arg1:Object, _arg2:Boolean=true):Boolean{
var _local3:String;
var _local4:PropTween;
var _local5:Boolean;
if (_overwrittenProps == null){
_overwrittenProps = {};
};
for (_local3 in _arg1) {
if ((_local3 in propTweenLookup)){
_local4 = propTweenLookup[_local3];
if (((_local4.isPlugin) && ((_local4.name == "_MULTIPLE_")))){
_local4.target.killProps(_arg1);
if (_local4.target.overwriteProps.length == 0){
_local4.name = "";
};
};
if (_local4.name != "_MULTIPLE_"){
if (_local4.nextNode){
_local4.nextNode.prevNode = _local4.prevNode;
};
if (_local4.prevNode){
_local4.prevNode.nextNode = _local4.nextNode;
} else {
if (this.cachedPT1 == _local4){
this.cachedPT1 = _local4.nextNode;
};
};
if (((_local4.isPlugin) && (_local4.target.onDisable))){
_local4.target.onDisable();
if (_local4.target.activeDisable){
_local5 = true;
};
};
delete propTweenLookup[_local3];
};
};
if (((_arg2) && (!((_arg1 == _overwrittenProps))))){
_overwrittenProps[_local3] = 1;
};
};
return (_local5);
}
override public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{
var _local3:Array;
if (_arg1){
_local3 = TweenLite.masterList[this.target];
if (!_local3){
TweenLite.masterList[this.target] = [this];
} else {
_local3[_local3.length] = this;
};
};
super.setEnabled(_arg1, _arg2);
if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){
return (onPluginEvent((_arg1) ? "onEnable" : "onDisable", this));
};
return (false);
}
public static function initClass():void{
rootFrame = 0;
rootTimeline = new SimpleTimeline(null);
rootFramesTimeline = new SimpleTimeline(null);
rootTimeline.cachedStartTime = (getTimer() * 0.001);
rootFramesTimeline.cachedStartTime = rootFrame;
rootTimeline.autoRemoveChildren = true;
rootFramesTimeline.autoRemoveChildren = true;
_shape.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
}
public static function killTweensOf(_arg1:Object, _arg2:Boolean=false, _arg3:Object=null):void{
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
if ((_arg1 in masterList)){
_local4 = masterList[_arg1];
_local5 = _local4.length;
while (--_local5 > -1) {
_local6 = _local4[_local5];
if (!_local6.gc){
if (_arg2){
_local6.complete(false, false);
};
if (_arg3 != null){
_local6.killVars(_arg3);
};
if ((((_arg3 == null)) || ((((_local6.cachedPT1 == null)) && (_local6.initted))))){
_local6.setEnabled(false, false);
};
};
};
if (_arg3 == null){
delete masterList[_arg1];
};
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
if (!("immediateRender" in _arg3)){
_arg3.immediateRender = true;
};
return (new TweenLite(_arg1, _arg2, _arg3));
}
protected static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (1 - (_arg1 / _arg4));
return ((1 - (_arg1 * _arg1)));
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, immediateRender:false, useFrames:_arg4, overwrite:0}));
}
protected static function updateAll(_arg1:Event=null):void{
var _local2:Dictionary;
var _local3:Object;
var _local4:Array;
var _local5:int;
rootTimeline.renderTime((((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale), false, false);
rootFrame++;
rootFramesTimeline.renderTime(((rootFrame - rootFramesTimeline.cachedStartTime) * rootFramesTimeline.cachedTimeScale), false, false);
if (!(rootFrame % 60)){
_local2 = masterList;
for (_local3 in _local2) {
_local4 = _local2[_local3];
_local5 = _local4.length;
while (--_local5 > -1) {
if (TweenLite(_local4[_local5]).gc){
_local4.splice(_local5, 1);
};
};
if (_local4.length == 0){
delete _local2[_local3];
};
};
};
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package com.greensock
Section 8
//AwardsService (com.spilgames.api.AwardsService)
package com.spilgames.api {
public class AwardsService {
public static function submitAward(_arg1:String, _arg2:Function=null):int{
return (SpilGamesServices.getInstance().send("Awards", "submitAward", _arg2, {tag:_arg1, userName:User.getUserName(), userHash:User.getUserHash()}));
}
}
}//package com.spilgames.api
Section 9
//SpilGamesServices (com.spilgames.api.SpilGamesServices)
package com.spilgames.api {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class SpilGamesServices extends MovieClip {
private const DEFAULT_CONNECTION_LOCATION:String = "http://www8.agame.com/games/flash/services/ServicesConnection.swf";
private var _alwaysInFront:Boolean;// = false
private var _loader:Loader;
private var _request:URLRequest;
private var _connecting:Boolean;// = false
private var _servicesConnection;// = null
private var _connected:Boolean;// = false
private var currentDelay:Number;// = 0
private var previousFrameTime:Number;
private var _numConnectionLoadTries:uint;// = 0
public static const INVALID_ID:int = -1;
public static const CONFIGURATION_FAILED:String = "configurationFailure";
private static const MAX_CONNECTION_LOAD_RETRIES:uint = 99;
public static const INVALID_DOMAIN:String = "invalidDomain";
private static var _instance:SpilGamesServices = null;
public function SpilGamesServices(_arg1:Private=null){
_servicesConnection = null;
_connecting = false;
_connected = false;
_numConnectionLoadTries = 0;
_alwaysInFront = false;
currentDelay = 0;
super();
if (!_arg1){
throw (new Error("Cannot instantiate this class, use SpilGamesServices.getInstance"));
};
}
public function get alwaysInFront():Boolean{
return (_alwaysInFront);
}
public function get version():String{
return ("1.1");
}
private function handleRemovedFromStage(_arg1:Event):void{
trace("WARNING: please do not remove SpilGamesServices from the stage");
}
private function handleIOError(_arg1:IOErrorEvent):void{
_numConnectionLoadTries++;
if (_numConnectionLoadTries > MAX_CONNECTION_LOAD_RETRIES){
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connecting = false;
trace("ERROR: SpilGamesServices failed to load the connection object");
if (hasEventListener(_arg1.type)){
dispatchEvent(_arg1);
};
} else {
trace(("WARN: SpilGamesServices failed to load the connection object, retry #" + _numConnectionLoadTries));
previousFrameTime = getTimer();
addEventListener(Event.ENTER_FRAME, updateConnectionRetry);
};
}
public function allowDomain(_arg1:String):void{
Security.allowDomain("*");
Security.allowInsecureDomain("*");
}
private function updateConnectionRetry(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
_local2 = getTimer();
_local3 = ((_local2 - previousFrameTime) / 1000);
currentDelay = (currentDelay + _local3);
if (currentDelay >= 2){
trace(("WARN: SpilGamesServices trying to reconnect after: " + currentDelay));
_loader.load(_request);
removeEventListener(Event.ENTER_FRAME, updateConnectionRetry);
currentDelay = 0;
};
previousFrameTime = _local2;
}
public function getItemID():int{
if (_servicesConnection != null){
return (_servicesConnection.getItemID());
};
return (INVALID_ID);
}
public function bringToFront(_arg1:Event=null):void{
var e = _arg1;
if (parent){
try {
parent.setChildIndex(this, (parent.numChildren - 1));
} catch(e:Error) {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
private function handleLoadComplete(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_servicesConnection = LoaderInfo(_arg1.target).content;
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
addChild(_servicesConnection);
}
public function send(_arg1:String, _arg2:String, _arg3:Function, _arg4:Object=null):int{
if (isReady()){
return (_servicesConnection.send(_arg1, _arg2, _arg3, _arg4));
};
return (INVALID_ID);
}
public function getSiteID():int{
if (_servicesConnection != null){
return (_servicesConnection.getSiteID());
};
return (INVALID_ID);
}
public function isReady():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isReady())));
}
public function isDomainAllowed():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isDomainValid())));
}
public function getChannelID():int{
if (_servicesConnection != null){
return (_servicesConnection.getChannelID());
};
return (INVALID_ID);
}
private function handleServicesReady(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connected = true;
_connecting = false;
dispatchEvent(new Event("servicesReady"));
}
private function handleServiceError(_arg1:Event):void{
var _local2:String;
if (hasEventListener("serviceError")){
_local2 = "";
if ((_arg1 is ErrorEvent)){
_local2 = ErrorEvent(_arg1).text;
} else {
_local2 = _arg1.toString();
};
dispatchEvent(new ErrorEvent("serviceError", false, false, _local2));
};
}
public function disconnect():void{
if (_servicesConnection){
_servicesConnection.removeEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.removeEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.removeEventListener("serviceError", handleServiceError);
if (_connected){
_servicesConnection.disconnect();
};
removeChild(_servicesConnection);
};
_servicesConnection = null;
if (_loader){
try {
_loader.close();
} catch(e:Error) {
} finally {
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
};
_loader = null;
};
removeEventListener(Event.ENTER_FRAME, bringToFront);
removeEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (parent){
parent.removeChild(this);
};
_connected = (_connecting = false);
}
public function get connecting():Boolean{
return (_connecting);
}
private function handleServicesFailed(_arg1:ErrorEvent):void{
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
_connecting = false;
if (hasEventListener("servicesFailed")){
dispatchEvent(new ErrorEvent("servicesFailed", false, false, _arg1.text));
};
}
public function get connection(){
return (_servicesConnection);
}
public function isServiceAvailable(_arg1:String):Boolean{
return (((isReady()) && (_servicesConnection.isServiceAvailable(_arg1))));
}
public function set alwaysInFront(_arg1:Boolean):void{
if (_alwaysInFront != _arg1){
_alwaysInFront = _arg1;
if (_alwaysInFront){
addEventListener(Event.ENTER_FRAME, bringToFront);
} else {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
public function connect(_arg1:DisplayObjectContainer, ... _args):void{
var _local3:String;
var _local4:URLVariables;
var _local5:Date;
if (((!(_connecting)) && (!(_connected)))){
if (!_arg1.stage){
throw (new Error("The given clip must be present in the display list (added to stage)"));
};
_connecting = true;
_arg1.stage.addChild(this);
addEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (((root.loaderInfo.parameters["servicesLoc"]) && ((root.loaderInfo.parameters["servicesLoc"].length > 0)))){
_local3 = root.loaderInfo.parameters["servicesLoc"];
_request = new URLRequest(_local3);
} else {
_local3 = DEFAULT_CONNECTION_LOCATION;
_local4 = new URLVariables();
_local5 = new Date();
_local4.nocache = ((((_local5.fullYear * 12) + (_local5.month + 1)) * 31) + _local5.day);
_request = new URLRequest(_local3);
_request.data = _local4;
};
allowDomain(_local3);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_loader.load(_request);
};
}
public static function getInstance():SpilGamesServices{
if (!_instance){
_instance = new SpilGamesServices(new Private());
};
return (_instance);
}
}
}//package com.spilgames.api
class Private {
private function Private(){
}
}
Section 10
//User (com.spilgames.api.User)
package com.spilgames.api {
import flash.display.*;
public class User {
public static function getUserName():String{
var _local1:*;
_local1 = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserName());
};
return ("");
}
public static function isGuest():Boolean{
var _local1:*;
var _local2:DisplayObject;
var _local3:Object;
_local1 = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.isGuest());
};
_local2 = SpilGamesServices.getInstance().root;
if (_local2.loaderInfo != null){
_local3 = _local2.loaderInfo.parameters;
return (((((((!(_local3.username)) || ((_local3.username == "")))) || (!(_local3.hash)))) || ((_local3.hash == ""))));
};
return (false);
}
public static function getUserHash():String{
var _local1:*;
_local1 = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserHash());
};
return ("");
}
}
}//package com.spilgames.api
Section 11
//AdLoader (CPMStar.AdLoader)
package CPMStar {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.system.*;
public class AdLoader extends Sprite {
private var contentspotid:String;
private var cpmstarLoader:Loader;
public function AdLoader(_arg1:String){
this.contentspotid = _arg1;
addEventListener(Event.ADDED, addedHandler);
}
private function addedHandler(_arg1:Event):void{
var _local2:String;
var _local3:DisplayObjectContainer;
removeEventListener(Event.ADDED, addedHandler);
Security.allowDomain("server.cpmstar.com");
_local2 = "http://server.cpmstar.com/adviewas3.swf";
_local3 = parent;
cpmstarLoader = new Loader();
cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler);
cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler);
cpmstarLoader.load(new URLRequest(((_local2 + "?contentspotid=") + contentspotid)));
addChild(cpmstarLoader);
}
private function dispatchHandler(_arg1:Event):void{
dispatchEvent(_arg1);
}
}
}//package CPMStar
Section 12
//MochiCoins (mochi.as3.MochiCoins)
package mochi.as3 {
public class MochiCoins {
public static const STORE_HIDE:String = "StoreHide";
public static const NO_USER:String = "NoUser";
public static const IO_ERROR:String = "IOError";
public static const ITEM_NEW:String = "ItemNew";
public static const ITEM_OWNED:String = "ItemOwned";
public static const STORE_ITEMS:String = "StoreItems";
public static const ERROR:String = "Error";
public static const STORE_SHOW:String = "StoreShow";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public static var _inventory:MochiInventory;
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function getStoreItems():void{
MochiServices.send("coins_getStoreItems");
}
public static function get inventory():MochiInventory{
return (_inventory);
}
public static function showStore(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showStore", {options:_arg1}, null, null);
}
public static function requestFunding(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestFunding", _arg1);
}
public static function showItem(_arg1:Object=null):void{
if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){
trace("ERROR: showItem call must pass an Object with an item key");
return;
};
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showItem", {options:_arg1}, null, null);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function showVideo(_arg1:Object=null):void{
if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){
trace("ERROR: showVideo call must pass an Object with an item key");
return;
};
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showVideo", {options:_arg1}, null, null);
}
addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{
_inventory = new MochiInventory();
});
addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{
_inventory = null;
});
}
}//package mochi.as3
Section 13
//MochiDigits (mochi.as3.MochiDigits)
package mochi.as3 {
public final class MochiDigits {
private var Sibling:MochiDigits;
private var Fragment:Number;
private var Encoder:Number;
public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{
Encoder = 0;
setValue(_arg1, _arg2);
}
public function set value(_arg1:Number):void{
setValue(_arg1);
}
public function reencode():void{
var _local1:uint;
_local1 = int((2147483647 * Math.random()));
Fragment = (Fragment ^ (_local1 ^ Encoder));
Encoder = _local1;
}
public function toString():String{
var _local1:String;
_local1 = String.fromCharCode((Fragment ^ Encoder));
if (Sibling != null){
_local1 = (_local1 + Sibling.toString());
};
return (_local1);
}
public function get value():Number{
return (Number(this.toString()));
}
public function setValue(_arg1:Number=0, _arg2:uint=0):void{
var _local3:String;
_local3 = _arg1.toString();
var _temp1 = _arg2;
_arg2 = (_arg2 + 1);
Fragment = (_local3.charCodeAt(_temp1) ^ Encoder);
if (_arg2 < _local3.length){
Sibling = new MochiDigits(_arg1, _arg2);
} else {
Sibling = null;
};
reencode();
}
public function addValue(_arg1:Number):void{
value = (value + _arg1);
}
}
}//package mochi.as3
Section 14
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher)
package mochi.as3 {
public class MochiEventDispatcher {
private var eventTable:Object;
public function MochiEventDispatcher():void{
eventTable = {};
}
public function triggerEvent(_arg1:String, _arg2:Object):void{
var _local3:Object;
if (eventTable[_arg1] == undefined){
return;
};
for (_local3 in eventTable[_arg1]) {
var _local6 = eventTable[_arg1];
_local6[_local3](_arg2);
};
}
public function removeEventListener(_arg1:String, _arg2:Function):void{
var _local3:Object;
if (eventTable[_arg1] == undefined){
eventTable[_arg1] = [];
return;
};
for (_local3 in eventTable[_arg1]) {
if (eventTable[_arg1][_local3] != _arg2){
} else {
eventTable[_arg1].splice(Number(_local3), 1);
};
};
}
public function addEventListener(_arg1:String, _arg2:Function):void{
removeEventListener(_arg1, _arg2);
eventTable[_arg1].push(_arg2);
}
}
}//package mochi.as3
Section 15
//MochiEvents (mochi.as3.MochiEvents)
package mochi.as3 {
import flash.display.*;
public class MochiEvents {
public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL";
public static const FORMAT_LONG:String = "LongForm";
public static const ALIGN_BOTTOM:String = "ALIGN_B";
public static const ACHIEVEMENT_RECEIVED:String = "AchievementReceived";
public static const FORMAT_SHORT:String = "ShortForm";
public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR";
public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR";
public static const ALIGN_TOP:String = "ALIGN_T";
public static const ALIGN_LEFT:String = "ALIGN_L";
public static const ALIGN_RIGHT:String = "ALIGN_R";
public static const ALIGN_TOP_LEFT:String = "ALIGN_TL";
public static const ALIGN_CENTER:String = "ALIGN_C";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
private static var gameStart:Number;
private static var levelStart:Number;
public static function endPlay():void{
MochiServices.send("events_clearRoundID", null, null, null);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function trackEvent(_arg1:String, _arg2=null):void{
MochiServices.send("events_trackEvent", {tag:_arg1, value:_arg2}, null, null);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
public static function startSession(_arg1:String):void{
MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null);
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function setNotifications(_arg1:MovieClip, _arg2:Object):void{
var _local3:Object;
var _local4:Object;
_local3 = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
_local3.clip = _arg1;
MochiServices.send("events_setNotifications", _local3, null, null);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function startPlay(_arg1:String="gameplay"):void{
MochiServices.send("events_setRoundID", {tag:String(_arg1)}, null, null);
}
}
}//package mochi.as3
Section 16
//MochiInventory (mochi.as3.MochiInventory)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
public dynamic class MochiInventory extends Proxy {
private var _timer:Timer;
private var _names:Array;
private var _consumableProperties:Object;
private var _syncID:Number;
private var _storeSync:Object;
private var _outstandingID:Number;
private var _syncPending:Boolean;
public static const READY:String = "InvReady";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IoError";
private static const KEY_SALT:String = " syncMaint";
public static const WRITTEN:String = "InvWritten";
public static const NOT_READY:String = "InvNotReady";
public static const VALUE_ERROR:String = "InvValueError";
private static const CONSUMER_KEY:String = "MochiConsumables";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public function MochiInventory():void{
MochiCoins.addEventListener(MochiCoins.ITEM_OWNED, itemOwned);
MochiCoins.addEventListener(MochiCoins.ITEM_NEW, newItems);
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, loggedIn);
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, loggedOut);
_storeSync = new Object();
_syncPending = false;
_outstandingID = 0;
_syncID = 0;
_timer = new Timer(1000);
_timer.addEventListener(TimerEvent.TIMER, sync);
_timer.start();
if (MochiSocial.loggedIn){
loggedIn();
} else {
loggedOut();
};
}
private function newItems(_arg1:Object):void{
if (!this[(_arg1.id + KEY_SALT)]){
this[(_arg1.id + KEY_SALT)] = 0;
};
if (!this[_arg1.id]){
this[_arg1.id] = 0;
};
this[(_arg1.id + KEY_SALT)] = (this[(_arg1.id + KEY_SALT)] + _arg1.count);
this[_arg1.id] = (this[_arg1.id] + _arg1.count);
if (((_arg1.privateProperties) && (_arg1.privateProperties.consumable))){
if (!this[_arg1.privateProperties.tag]){
this[_arg1.privateProperties.tag] = 0;
};
this[_arg1.privateProperties.tag] = (this[_arg1.privateProperties.tag] + (_arg1.privateProperties.inc * _arg1.count));
};
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return (-1);
};
if (_consumableProperties[_arg1]){
return (MochiDigits(_consumableProperties[_arg1]).value);
};
return (undefined);
}
public function release():void{
MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, newItems);
MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn);
MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, loggedOut);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return (false);
};
if (_consumableProperties[_arg1] == undefined){
return (false);
};
return (true);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{
return (((_arg1)>=_names.length) ? 0 : (_arg1 + 1));
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{
var _local3:MochiDigits;
if (_consumableProperties == null){
triggerEvent(ERROR, {type:NOT_READY});
return;
};
if (!(_arg2 is Number)){
triggerEvent(ERROR, {type:VALUE_ERROR, error:"Invalid type", arg:_arg2});
return;
};
if (_consumableProperties[_arg1]){
_local3 = MochiDigits(_consumableProperties[_arg1]);
if (_local3.value == _arg2){
return;
};
_local3.value = _arg2;
} else {
_names.push(_arg1);
_consumableProperties[_arg1] = new MochiDigits(_arg2);
};
_syncID++;
}
private function sync(_arg1:Event=null):void{
var _local2:Object;
var _local3:String;
if (((_syncPending) || ((_syncID == _outstandingID)))){
return;
};
_outstandingID = _syncID;
_local2 = {};
for (_local3 in _consumableProperties) {
_local2[_local3] = MochiDigits(_consumableProperties[_local3]).value;
};
MochiUserData.put(CONSUMER_KEY, _local2, putConsumableBag);
_syncPending = true;
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{
return (_names[(_arg1 - 1)]);
}
private function loggedIn(_arg1:Object=null):void{
MochiUserData.get(CONSUMER_KEY, getConsumableBag);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(_arg1):Boolean{
if (!_consumableProperties[_arg1]){
return (false);
};
_names.splice(_names.indexOf(_arg1), 1);
delete _consumableProperties[_arg1];
return (true);
}
private function itemOwned(_arg1:Object):void{
_storeSync[_arg1.id] = {properties:_arg1.properties, count:_arg1.count};
}
private function putConsumableBag(_arg1:MochiUserData):void{
_syncPending = false;
if (_arg1.error){
triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error});
_outstandingID = -1;
};
triggerEvent(WRITTEN, {});
}
private function getConsumableBag(_arg1:MochiUserData):void{
var _local2:String;
var _local3:Number;
if (_arg1.error){
triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error});
return;
};
_consumableProperties = {};
_names = new Array();
if (_arg1.data){
for (_local2 in _arg1.data) {
_names.push(_local2);
_consumableProperties[_local2] = new MochiDigits(_arg1.data[_local2]);
};
};
for (_local2 in _storeSync) {
_local3 = _storeSync[_local2].count;
if (_consumableProperties[(_local2 + KEY_SALT)]){
_local3 = (_local3 - _consumableProperties[(_local2 + KEY_SALT)].value);
};
if (_local3 == 0){
} else {
newItems({id:_local2, count:_local3, properties:_storeSync[_local2].properties});
};
};
triggerEvent(READY, {});
}
private function loggedOut(_arg1:Object=null):void{
_consumableProperties = null;
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
}
}//package mochi.as3
Section 17
//MochiScores (mochi.as3.MochiScores)
package mochi.as3 {
import flash.display.*;
import flash.text.*;
public class MochiScores {
private static var boardID:String;
public static var onErrorHandler:Object;
public static var onCloseHandler:Object;
public static function showLeaderboard(_arg1:Object=null):void{
var n:Number;
var options = _arg1;
if (options != null){
delete options.clip;
MochiServices.setContainer();
MochiServices.bringToTop();
if (options.name != null){
if ((options.name is TextField)){
if (options.name.text.length > 0){
options.name = options.name.text;
};
};
};
if (options.score != null){
if ((options.score is TextField)){
if (options.score.text.length > 0){
options.score = options.score.text;
};
} else {
if ((options.score is MochiDigits)){
options.score = options.score.value;
};
};
n = Number(options.score);
if (isNaN(n)){
trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'"));
} else {
if ((((n == Number.NEGATIVE_INFINITY)) || ((n == Number.POSITIVE_INFINITY)))){
trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite"));
} else {
if (Math.floor(n) != n){
trace((("WARNING: Submitted score '" + options.score) + "' will be truncated"));
};
options.score = n;
};
};
};
if (options.onDisplay != null){
options.onDisplay();
} else {
if (MochiServices.clip != null){
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.stop();
} else {
trace("Warning: Container is not a MovieClip, cannot call default onDisplay.");
};
};
};
} else {
options = {};
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.stop();
} else {
trace("Warning: Container is not a MovieClip, cannot call default onDisplay.");
};
};
if (options.onClose != null){
onCloseHandler = options.onClose;
} else {
onCloseHandler = function ():void{
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.play();
} else {
trace("Warning: Container is not a MovieClip, cannot call default onClose.");
};
};
};
if (options.onError != null){
onErrorHandler = options.onError;
} else {
onErrorHandler = null;
};
if (options.boardID == null){
if (MochiScores.boardID != null){
options.boardID = MochiScores.boardID;
};
};
MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose);
}
public static function closeLeaderboard():void{
MochiServices.send("scores_closeLeaderboard");
}
public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{
MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2);
}
public static function requestList(_arg1:Object, _arg2:Object=null):void{
MochiServices.send("scores_requestList", null, _arg1, _arg2);
}
public static function scoresArrayToObjects(_arg1:Object):Object{
var _local2:Object;
var _local3:Number;
var _local4:Number;
var _local5:Object;
var _local6:Object;
var _local7:String;
var _local8:String;
_local2 = {};
for (_local7 in _arg1) {
if (typeof(_arg1[_local7]) == "object"){
if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){
_local2[_local7] = [];
_local5 = _arg1[_local7];
_local4 = 0;
while (_local4 < _local5.rows.length) {
_local6 = {};
_local3 = 0;
while (_local3 < _local5.cols.length) {
_local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3];
_local3++;
};
_local2[_local7].push(_local6);
_local4++;
};
} else {
_local2[_local7] = {};
for (_local8 in _arg1[_local7]) {
_local2[_local7][_local8] = _arg1[_local7][_local8];
};
};
} else {
_local2[_local7] = _arg1[_local7];
};
};
return (_local2);
}
public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{
_arg1 = Number(_arg1);
if (isNaN(_arg1)){
trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is 'Not a Number'"));
} else {
if ((((_arg1 == Number.NEGATIVE_INFINITY)) || ((_arg1 == Number.POSITIVE_INFINITY)))){
trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is an infinite"));
} else {
if (Math.floor(_arg1) != _arg1){
trace((("WARNING: Submitted score '" + String(_arg1)) + "' will be truncated"));
};
_arg1 = Number(_arg1);
};
};
MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4);
}
public static function onClose(_arg1:Object=null):void{
if (((((_arg1) && ((_arg1.error == true)))) && (onErrorHandler))){
if (_arg1.errorCode == null){
_arg1.errorCode = "IOError";
};
onErrorHandler(_arg1.errorCode);
MochiServices.doClose();
return;
};
onCloseHandler();
MochiServices.doClose();
}
public static function setBoardID(_arg1:String):void{
MochiServices.warnID(_arg1, true);
MochiScores.boardID = _arg1;
MochiServices.send("scores_setBoardID", {boardID:_arg1});
}
}
}//package mochi.as3
Section 18
//MochiServices (mochi.as3.MochiServices)
package mochi.as3 {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.geom.*;
import flash.system.*;
public class MochiServices {
public static const CONNECTED:String = "onConnected";
private static var _container:Object;
private static var _connected:Boolean = false;
private static var _queue:Array;
private static var _swfVersion:String;
private static var _preserved:Object;
public static var netupAttempted:Boolean = false;
private static var _sendChannel:LocalConnection;
private static var _nextCallbackID:Number;
private static var _clip:MovieClip;
private static var _loader:Loader;
private static var _id:String;
private static var _services:String = "services.swf";
private static var _servURL:String = "http://www.mochiads.com/static/lib/services/";
public static var widget:Boolean = false;
private static var _timer:Timer;
private static var _sendChannelName:String;
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
private static var _callbacks:Object;
private static var _connecting:Boolean = false;
private static var _mochiLocalConnection:MovieClip;
private static var _listenChannelName:String = "__ms_";
public static var onError:Object;
public static var netup:Boolean = true;
private static var _mochiLC:String = "MochiLC.swf";
public static function isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function get connected():Boolean{
return (_connected);
}
private static function onReceive(_arg1:Object):void{
var cb:String;
var cblst:Object;
var method:*;
var methodName:String;
var obj:Object;
var pkg = _arg1;
cb = pkg.callbackID;
cblst = _callbacks[cb];
if (!cblst){
return;
};
method = cblst.callbackMethod;
methodName = "";
obj = cblst.callbackObject;
if (((obj) && ((typeof(method) == "string")))){
methodName = method;
if (obj[method] != null){
method = obj[method];
} else {
trace((("Error: Method " + method) + " does not exist."));
};
};
if (method != undefined){
try {
method.apply(obj, pkg.args);
} catch(error:Error) {
trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString()));
};
} else {
if (obj != null){
try {
obj(pkg.args);
} catch(error:Error) {
trace(("Error invoking method on object: " + error.toString()));
};
};
};
delete _callbacks[cb];
}
public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{
if (_connected){
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_nextCallbackID});
} else {
if ((((_clip == null)) || (!(_connecting)))){
trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1));
handleError(_arg2, _arg3, _arg4);
flush(true);
return;
};
_queue.push({methodName:_arg1, args:_arg2, callbackID:_nextCallbackID});
};
if (_clip != null){
if (_callbacks != null){
_callbacks[_nextCallbackID] = {callbackObject:_arg3, callbackMethod:_arg4};
_nextCallbackID++;
};
};
}
private static function init(_arg1:String, _arg2:Object):void{
_id = _arg1;
if (_arg2 != null){
_container = _arg2;
loadCommunicator(_arg1, _container);
};
}
private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{
var _local3:Array;
var _local4:int;
var _local5:Array;
var _local6:Array;
var _local7:MovieClip;
var _local8:LocalConnection;
var _local9:String;
var _local10:ByteArray;
var _local11:ByteArray;
var _local12:uint;
var _local13:uint;
var _local14:Loader;
_local3 = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23];
_local5 = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3];
_local6 = [0, 64, 0, 0, 0];
_local7 = new MovieClip();
_local8 = new LocalConnection();
_local9 = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time));
_local8 = new LocalConnection();
_local7.lc = _local8;
_local7.click = _arg2;
_local8.client = _local7;
_local8.connect(_local9);
_local10 = new ByteArray();
_local11 = new ByteArray();
_local11.endian = Endian.LITTLE_ENDIAN;
_local11.writeShort(1);
_local11.writeUTFBytes(((_arg1 + " ") + _local9));
_local11.writeByte(0);
_local12 = ((_local3.length + _local11.length) + 4);
_local13 = (_local12 + 35);
_local10.endian = Endian.LITTLE_ENDIAN;
_local10.writeUTFBytes("FWS");
_local10.writeByte(8);
_local10.writeUnsignedInt(_local13);
for each (_local4 in _local5) {
_local10.writeByte(_local4);
};
_local10.writeUnsignedInt(_local12);
_local10.writeByte(136);
_local10.writeShort(_local11.length);
_local10.writeBytes(_local11);
for each (_local4 in _local3) {
_local10.writeByte(_local4);
};
for each (_local4 in _local6) {
_local10.writeByte(_local4);
};
_local14 = new Loader();
_local14.loadBytes(_local10);
_local7.addChild(_local14);
return (_local7);
}
private static function detach(_arg1:Event):void{
var _local2:LoaderInfo;
_local2 = LoaderInfo(_arg1.target);
_local2.removeEventListener(Event.COMPLETE, detach);
_local2.removeEventListener(IOErrorEvent.IO_ERROR, detach);
_local2.removeEventListener(Event.COMPLETE, loadLCBridgeComplete);
_local2.removeEventListener(IOErrorEvent.IO_ERROR, loadError);
}
public static function stayOnTop():void{
_container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true);
if (_clip != null){
_clip.visible = true;
};
}
private static function loadLCBridgeComplete(_arg1:Event):void{
var _local2:Loader;
_local2 = LoaderInfo(_arg1.target).loader;
_mochiLocalConnection = MovieClip(_local2.content);
listen();
}
public static function disconnect():void{
if (((_connected) || (_connecting))){
if (_clip != null){
if (_clip.parent != null){
if ((_clip.parent is Sprite)){
Sprite(_clip.parent).removeChild(_clip);
_clip = null;
};
};
};
_connecting = (_connected = false);
flush(true);
try {
_mochiLocalConnection.close();
} catch(error:Error) {
};
};
if (_timer != null){
try {
_timer.stop();
_timer.removeEventListener(TimerEvent.TIMER, connectWait);
_timer = null;
} catch(error:Error) {
};
};
}
public static function allowDomains(_arg1:String):String{
var _local2:String;
if (Security.sandboxType != "application"){
Security.allowDomain("*");
Security.allowInsecureDomain("*");
};
if (_arg1.indexOf("http://") != -1){
_local2 = _arg1.split("/")[2].split(":")[0];
if (Security.sandboxType != "application"){
Security.allowDomain(_local2);
Security.allowInsecureDomain(_local2);
};
};
return (_local2);
}
public static function getVersion():String{
return ("3.9.2 as3");
}
public static function doClose():void{
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
}
public static function warnID(_arg1:String, _arg2:Boolean):void{
var _local3:Number;
_arg1 = _arg1.toLowerCase();
if (_arg1.length != 16){
trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length"));
return;
} else {
if (_arg1 == "1e113c7239048b3f"){
if (_arg2){
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
};
return;
} else {
if (_arg1 == "84993a1de4031cd8"){
if (_arg2){
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
};
return;
};
};
};
_local3 = 0;
while (_local3 < _arg1.length) {
switch (_arg1.charAt(_local3)){
case "0":
case "1":
case "2":
case "3":
case "4":
case "5":
case "6":
case "7":
case "8":
case "9":
case "a":
case "b":
case "c":
case "d":
case "e":
case "f":
break;
default:
trace(("WARNING: Board ID contains illegal characters: " + _arg1));
return;
};
_local3++;
};
}
private static function flush(_arg1:Boolean):void{
var _local2:Object;
var _local3:Object;
if (((_clip) && (_queue))){
while (_queue.length > 0) {
_local2 = _queue.shift();
_local3 = null;
if (_local2 != null){
if (_local2.callbackID != null){
_local3 = _callbacks[_local2.callbackID];
};
delete _callbacks[_local2.callbackID];
if (((_arg1) && (!((_local3 == null))))){
handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod);
};
};
};
};
}
public static function get id():String{
return (_id);
}
private static function onEvent(_arg1:Object):void{
var _local2:String;
var _local3:String;
_local2 = _arg1.target;
_local3 = _arg1.event;
switch (_local2){
case "services":
MochiServices.triggerEvent(_arg1.event, _arg1.args);
break;
case "events":
MochiEvents.triggerEvent(_arg1.event, _arg1.args);
break;
case "coins":
MochiCoins.triggerEvent(_arg1.event, _arg1.args);
break;
case "social":
MochiSocial.triggerEvent(_arg1.event, _arg1.args);
break;
};
}
private static function urlOptions(_arg1:Object):Object{
var _local2:Object;
var _local3:String;
var _local4:Array;
var _local5:Number;
var _local6:Array;
_local2 = {};
if (_arg1.stage){
_local3 = _arg1.stage.loaderInfo.parameters.mochiad_options;
} else {
_local3 = _arg1.loaderInfo.parameters.mochiad_options;
};
if (_local3){
_local4 = _local3.split("&");
_local5 = 0;
while (_local5 < _local4.length) {
_local6 = _local4[_local5].split("=");
_local2[unescape(_local6[0])] = unescape(_local6[1]);
_local5++;
};
};
return (_local2);
}
public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{
var vars:Object;
var avm1Click:DisplayObject;
var s:String;
var i:Number;
var x:String;
var req:URLRequest;
var loader:Loader;
var setURL:Function;
var err:Function;
var complete:Function;
var url = _arg1;
var burl = _arg2;
var btn = _arg3;
var onClick = _arg4;
vars = new Object();
vars["mav"] = getVersion();
vars["swfv"] = "9";
vars["swfurl"] = btn.loaderInfo.loaderURL;
vars["fv"] = Capabilities.version;
vars["os"] = Capabilities.os;
vars["lang"] = Capabilities.language;
vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY);
s = "?";
i = 0;
for (x in vars) {
if (i != 0){
s = (s + "&");
};
i = (i + 1);
s = (((s + x) + "=") + escape(vars[x]));
};
req = new URLRequest("http://link.mochiads.com/linkping.swf");
loader = new Loader();
setURL = function (_arg1:String):void{
var _local2:Rectangle;
if (avm1Click){
btn.removeChild(avm1Click);
};
avm1Click = clickMovie(_arg1, onClick);
_local2 = btn.getBounds(btn);
btn.addChild(avm1Click);
avm1Click.x = _local2.x;
avm1Click.y = _local2.y;
avm1Click.scaleX = (0.01 * _local2.width);
avm1Click.scaleY = (0.01 * _local2.height);
};
err = function (_arg1:Object):void{
netup = false;
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
setURL(burl);
};
complete = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
if (netup){
setURL((url + s));
} else {
setURL(burl);
};
if (!((netupAttempted) || (_connected))){
netupAttempted = true;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
loader.load(req);
};
}
public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{
if (_clip.parent){
_clip.parent.removeChild(_clip);
};
if (_arg1 != null){
if ((_arg1 is DisplayObjectContainer)){
_container = _arg1;
};
};
if (_arg2){
if ((_container is DisplayObjectContainer)){
DisplayObjectContainer(_container).addChild(_clip);
};
};
}
private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{
var args = _arg1;
var callbackObject = _arg2;
var callbackMethod = _arg3;
if (args != null){
if (args.onError != null){
args.onError.apply(null, ["NotConnected"]);
};
if (((!((args.options == null))) && (!((args.options.onError == null))))){
args.options.onError.apply(null, ["NotConnected"]);
};
};
if (callbackMethod != null){
args = {};
args.error = true;
args.errorCode = "NotConnected";
if (((!((callbackObject == null))) && ((callbackMethod is String)))){
try {
var _local5 = callbackObject;
_local5[callbackMethod](args);
} catch(error:Error) {
};
} else {
if (callbackMethod != null){
try {
callbackMethod.apply(args);
} catch(error:Error) {
};
};
};
};
}
private static function loadError(_arg1:Object):void{
_clip._mochiad_ctr_failed = true;
trace("MochiServices could not load.");
MochiServices.disconnect();
MochiServices.onError("IOError");
}
public static function get childClip():Object{
return (_clip);
}
private static function initComChannels():void{
if (!_connected){
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, version:getVersion(), parentURL:_container.loaderInfo.loaderURL});
_clip.onReceive = onReceive;
_clip.onEvent = onEvent;
_clip.onError = function ():void{
MochiServices.onError("IOError");
};
while (_queue.length > 0) {
_mochiLocalConnection.send(_sendChannelName, "onReceive", _queue.shift());
};
};
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
private static function listen():void{
_mochiLocalConnection.connect(_listenChannelName);
_clip.handshake = function (_arg1:Object):void{
MochiServices.comChannelName = _arg1.newChannel;
};
trace("Waiting for MochiAds services to connect...");
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
private static function loadLCBridge(_arg1:Object):void{
var _local2:Loader;
var _local3:String;
var _local4:URLRequest;
_local2 = new Loader();
_local3 = (_servURL + _mochiLC);
_local4 = new URLRequest(_local3);
_local2.contentLoaderInfo.addEventListener(Event.COMPLETE, detach);
_local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach);
_local2.contentLoaderInfo.addEventListener(Event.COMPLETE, loadLCBridgeComplete);
_local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
_local2.load(_local4);
_arg1.addChild(_local2);
}
public static function set comChannelName(_arg1:String):void{
if (_arg1 != null){
if (_arg1.length > 3){
_sendChannelName = (_arg1 + "_fromgame");
initComChannels();
};
};
}
private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{
var _local3:String;
var _local4:URLRequest;
var _local5:URLVariables;
if (_clip != null){
return (_clip);
};
if (!MochiServices.isNetworkAvailable()){
return (null);
};
if (urlOptions(_arg2).servURL){
_servURL = urlOptions(_arg2).servURL;
};
_local3 = (_servURL + _services);
if (urlOptions(_arg2).servicesURL){
_local3 = urlOptions(_arg2).servicesURL;
};
_listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999))));
MochiServices.allowDomains(_local3);
_clip = new MovieClip();
loadLCBridge(_clip);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, detach);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
_local4 = new URLRequest(_local3);
_local5 = new URLVariables();
_local5.listenLC = _listenChannelName;
_local5.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options;
_local5.api_version = getVersion();
if (widget){
_local5.widget = true;
};
_local4.data = _local5;
_loader.load(_local4);
_clip.addChild(_loader);
_sendChannel = new LocalConnection();
_queue = [];
_nextCallbackID = 0;
_callbacks = {};
_timer = new Timer(10000, 1);
_timer.addEventListener(TimerEvent.TIMER, connectWait);
_timer.start();
return (_clip);
}
public static function get clip():Object{
return (_container);
}
public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{
var id = _arg1;
var clip = _arg2;
var onError = _arg3;
warnID(id, false);
if ((clip is DisplayObject)){
if (clip.stage == null){
trace("MochiServices connect requires the containing clip be attached to the stage");
};
if (((!(_connected)) && ((_clip == null)))){
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
};
} else {
trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage.");
};
if (onError != null){
MochiServices.onError = onError;
} else {
if (MochiServices.onError == null){
MochiServices.onError = function (_arg1:String):void{
trace(_arg1);
};
};
};
}
public static function bringToTop(_arg1:Event=null):void{
var e = _arg1;
if (((!((MochiServices.clip == null))) && (!((MochiServices.childClip == null))))){
try {
if (MochiServices.clip.numChildren > 1){
MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1));
};
} catch(errorObject:Error) {
trace("Warning: Depth sort error.");
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
};
}
public static function connectWait(_arg1:TimerEvent):void{
if (!_connected){
_clip._mochiad_ctr_failed = true;
trace("MochiServices could not load. (timeout)");
MochiServices.disconnect();
MochiServices.onError("IOError");
} else {
_timer.stop();
_timer.removeEventListener(TimerEvent.TIMER, connectWait);
_timer = null;
};
}
}
}//package mochi.as3
Section 19
//MochiSocial (mochi.as3.MochiSocial)
package mochi.as3 {
public class MochiSocial {
public static const LOGGED_IN:String = "LoggedIn";
public static const ACTION_CANCELED:String = "onCancel";
public static const PROPERTIES_SIZE:String = "PropertiesSize";
public static const IO_ERROR:String = "IOError";
public static const NO_USER:String = "NoUser";
public static const FRIEND_LIST:String = "FriendsList";
public static const PROFILE_DATA:String = "ProfileData";
public static const GAMEPLAY_DATA:String = "GameplayData";
public static const ACTION_COMPLETE:String = "onComplete";
public static const LOGIN_SHOW:String = "LoginShow";
public static const PROFILE_HIDE:String = "ProfileHide";
public static const USER_INFO:String = "UserInfo";
public static const PROPERTIES_SAVED:String = "PropertySaved";
public static const WIDGET_LOADED:String = "WidgetLoaded";
public static const ERROR:String = "Error";
public static const LOGGED_OUT:String = "LoggedOut";
public static const PROFILE_SHOW:String = "ProfileShow";
public static const LOGIN_HIDE:String = "LoginHide";
public static const LOGIN_SHOWN:String = "LoginShown";
public static var _user_info:Object = null;
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public static function requestFan(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestFan", _arg1);
}
public static function postToStream(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_postToStream", _arg1);
}
public static function getFriendsList(_arg1:Object=null):void{
MochiServices.send("social_getFriendsList", _arg1);
}
public static function requestLogin(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_requestLogin", _arg1);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function saveUserProperties(_arg1:Object):void{
MochiServices.send("social_saveUserProperties", _arg1);
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
public static function inviteFriends(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_inviteFriends", _arg1);
}
public static function get loggedIn():Boolean{
return (!((_user_info == null)));
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function showLoginWidget(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("social_showLoginWidget", {options:_arg1});
}
public static function getAPIURL():String{
if (!_user_info){
return (null);
};
return (_user_info.api_url);
}
public static function hideLoginWidget():void{
MochiServices.send("social_hideLoginWidget");
}
public static function getAPIToken():String{
if (!_user_info){
return (null);
};
return (_user_info.api_token);
}
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{
_user_info = _arg1;
});
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{
_user_info = null;
});
}
}//package mochi.as3
Section 20
//MochiUserData (mochi.as3.MochiUserData)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
import flash.net.*;
public class MochiUserData extends EventDispatcher {
public var callback:Function;// = null
public var error:Event;// = null
public var key:String;// = null
public var operation:String;// = null
public var data;// = null
public var _loader:URLLoader;
public function MochiUserData(_arg1:String="", _arg2:Function=null){
key = null;
data = null;
error = null;
operation = null;
callback = null;
super();
this.key = _arg1;
this.callback = _arg2;
}
public function securityErrorHandler(_arg1:SecurityErrorEvent):void{
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString())));
}
public function putEvent(_arg1):void{
request("put", serialize(_arg1));
}
public function request(_arg1:String, _arg2:ByteArray):void{
var api_url:String;
var api_token:String;
var args:URLVariables;
var req:URLRequest;
var _operation = _arg1;
var _data = _arg2;
operation = _operation;
api_url = MochiSocial.getAPIURL();
api_token = MochiSocial.getAPIToken();
if ((((api_url == null)) || ((api_token == null)))){
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in"));
return;
};
_loader = new URLLoader();
args = new URLVariables();
args.op = _operation;
args.key = key;
req = new URLRequest((((MochiSocial.getAPIURL() + "/") + "MochiUserData?") + args.toString()));
req.method = URLRequestMethod.POST;
req.contentType = "application/x-mochi-userdata";
req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", MochiServices.getVersion()), new URLRequestHeader("x-mochi-api-token", api_token)];
req.data = _data;
_loader.dataFormat = URLLoaderDataFormat.BINARY;
_loader.addEventListener(Event.COMPLETE, completeHandler);
_loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
_loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
try {
_loader.load(req);
} catch(e:SecurityError) {
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + e.toString())));
};
}
public function completeHandler(_arg1:Event):void{
var event = _arg1;
try {
if (_loader.data.length){
data = deserialize(_loader.data);
} else {
data = null;
};
} catch(e:Error) {
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + e.toString())));
return;
};
if (callback != null){
performCallback();
} else {
dispatchEvent(event);
};
close();
}
public function performCallback():void{
try {
callback(this);
} catch(e:Error) {
trace(("[MochiUserData] exception during callback: " + e));
};
}
public function serialize(_arg1):ByteArray{
var _local2:ByteArray;
_local2 = new ByteArray();
_local2.objectEncoding = ObjectEncoding.AMF3;
_local2.writeObject(_arg1);
_local2.compress();
return (_local2);
}
public function errorHandler(_arg1:IOErrorEvent):void{
data = null;
error = _arg1;
if (callback != null){
performCallback();
} else {
dispatchEvent(_arg1);
};
close();
}
public function getEvent():void{
request("get", serialize(null));
}
override public function toString():String{
return ((((((((("[MochiUserData operation=" + operation) + " key=\"") + key) + "\" data=") + data) + " error=\"") + error) + "\"]"));
}
public function close():void{
if (_loader){
_loader.removeEventListener(Event.COMPLETE, completeHandler);
_loader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
_loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
_loader.close();
_loader = null;
};
error = null;
callback = null;
}
public function deserialize(_arg1:ByteArray){
_arg1.objectEncoding = ObjectEncoding.AMF3;
_arg1.uncompress();
return (_arg1.readObject());
}
public static function get(_arg1:String, _arg2:Function):void{
var _local3:MochiUserData;
_local3 = new MochiUserData(_arg1, _arg2);
_local3.getEvent();
}
public static function put(_arg1:String, _arg2, _arg3:Function):void{
var _local4:MochiUserData;
_local4 = new MochiUserData(_arg1, _arg3);
_local4.putEvent(_arg2);
}
}
}//package mochi.as3
Section 21
//Brand (spill.localisation.Brand)
package spill.localisation {
import flash.xml.*;
public class Brand {
public var domain:String;
public var useGoogleAnalitics:Boolean;// = true
public var emailPage:String;
public var name:String;
public var site_id:uint;
public var isExternal:Boolean;// = false
public var id:Number;
public var hostingDomain:String;// = ""
public var preferedLanguage:String;// = ""
public var moreLink:String;// = ""
public var hasSendToFriendLink:Boolean;// = true
public var portalGroup:uint;
public var emailLink:String;// = "game"
private static const topLevelDoubles:String = ((((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,com.ar,") + "com.id,com.in");
public function Brand(){
moreLink = "";
emailLink = "game";
useGoogleAnalitics = true;
hasSendToFriendLink = true;
preferedLanguage = "";
isExternal = false;
hostingDomain = "";
super();
}
public function exportXML():XML{
var _local1:XML;
var _local2:XML;
var _local3:XML;
_local1 = <portal/>
;
_local1.@id = site_id;
_local1.@language = preferedLanguage;
_local1.@channel = portalGroup;
_local2 = <domain/>
;
_local2.appendChild(new XMLNode(3, domain));
_local1.appendChild(_local2);
if (moreLink){
_local3 = <more_games_path/>
;
_local3.appendChild(new XMLNode(3, moreLink));
_local1.appendChild(_local3);
};
_local2 = <game_path/>
;
_local2.appendChild(new XMLNode(3, emailLink));
_local1.appendChild(_local2);
if (!useGoogleAnalitics){
_local1.attributes.noGoogleAnalitics = true;
};
if (!hasSendToFriendLink){
_local1.attributes.noSendToFriendLink = true;
};
return (_local1);
}
private function get utm_source():String{
return (("utm_source=brandedgames_" + (isExternal) ? "external" : "internal"));
}
public function getMoreGamesLink(_arg1:String, _arg2:Boolean, _arg3:String="", _arg4:String=""):String{
var _local5:String;
_local5 = ("http://" + domain);
_local5 = (_local5 + ("/" + moreLink));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg3 = stripSubDomain(_arg3);
if (_arg3 == "localhost"){
_arg3 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg3));
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
public function get backgroundColor():uint{
return (PortalGroup.backgroundColors[portalGroup]);
}
public function getPromotionLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String="", _arg5:String=""):String{
var _local6:String;
_local6 = ("http://" + domain);
_local6 = (_local6 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local6 = (_local6 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local6 = (_local6 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
trace(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local6 = (_local6 + ("&utm_source=" + _arg4));
if (((!((_arg5 == ""))) && (!((_arg5 == null))))){
_local6 = (_local6 + ("&utm_content=" + _arg5));
};
};
return (_local6);
}
private function get utm_term():String{
return ("utm_term=");
}
public function importXML(_arg1:XMLNode):void{
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
var _local5:String;
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
_local5 = ("http://" + domain);
_local5 = (_local5 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg4));
_local5 = (_local5 + "&utm_content=send_to_friend");
};
return (_local5);
}
public static function stripSubDomain(_arg1:String):String{
var _local2:Array;
if (!_arg1){
return ("");
};
_local2 = _arg1.split(".");
if (_local2.length <= 2){
return (_arg1);
};
_local2 = _local2.reverse();
if (topLevelDoubles.indexOf((((_local2[1] + ".") + _local2[0]) + ",")) > 0){
return (((((_local2[2] + ".") + _local2[1]) + ".") + _local2[0]));
};
return (((_local2[1] + ".") + _local2[0]));
}
}
}//package spill.localisation
Section 22
//BrandingLogo (spill.localisation.BrandingLogo)
package spill.localisation {
import flash.display.*;
import flash.events.*;
public class BrandingLogo extends MovieClip {
public function BrandingLogo(){
addFrameScript(0, frame1);
super();
stop();
mouseEnabled = false;
mouseChildren = false;
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
if (stage){
added();
};
brandingChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true);
brandingChanged();
}
private function brandingChanged(_arg1:Event=null):void{
if (SpilGame.currentBranding){
gotoAndStop(SpilGame.currentBranding.domain);
};
}
function frame1(){
stop();
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("brandingChanged", brandingChanged);
}
}
}//package spill.localisation
Section 23
//Brandings (spill.localisation.Brandings)
package spill.localisation {
public class Brandings {
private static var brands_by_id:Object = new Object();
private static var brands_by_domain:Object = new Object();
public static function getBrandByID(_arg1:Number):Brand{
return (brands_by_id[_arg1]);
}
public static function getBrandsArray():Array{
var _local1:Array;
var _local2:Brand;
_local1 = new Array();
for each (_local2 in brands_by_domain) {
_local1.push(_local2);
};
return (_local1);
}
private static function addBrand(_arg1:Brand):Brand{
if (brands_by_domain[_arg1.domain]){
trace(("ERROR: Attempting to add duplicate brand by domain: " + _arg1.domain));
} else {
brands_by_domain[_arg1.domain] = _arg1;
};
if (brands_by_id[_arg1.site_id]){
trace(("ERROR: Attempting to add duplicate brand by id: " + _arg1.site_id));
} else {
brands_by_id[_arg1.site_id] = _arg1;
};
return (_arg1);
}
public static function initialize():void{
var _local1:Brand;
_local1 = new Brand();
_local1.site_id = 79;
_local1.domain = "www.agame.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 88;
_local1.domain = "www.gamesgames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 90;
_local1.domain = "www.girlsgogames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 45;
_local1.domain = "www.a10.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.YOUNG_ADULTS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 92;
_local1.domain = "www.games.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 107;
_local1.domain = "www.agame.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 102;
_local1.domain = "www.girlsgogames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 2;
_local1.domain = "www.game.com.cn";
_local1.moreLink = "moregames/";
_local1.preferedLanguage = "cn";
_local1.portalGroup = PortalGroup.NONE;
_local1.useGoogleAnalitics = false;
_local1.hasSendToFriendLink = false;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 25;
_local1.domain = "www.spel.nl";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1;
_local1.domain = "www.spelletjes.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 93;
_local1.domain = "www.girlsgogames.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 12;
_local1.domain = "www.jeu.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 95;
_local1.domain = "www.girlsgogames.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 11;
_local1.domain = "www.jeux.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 26;
_local1.domain = "www.spielen.com";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 94;
_local1.domain = "www.girlsgogames.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 5;
_local1.domain = "www.jetztspielen.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 109;
_local1.domain = "www.minigry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 16;
_local1.domain = "www.gry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 98;
_local1.domain = "www.girlsgogames.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 108;
_local1.domain = "www.spel.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 100;
_local1.domain = "www.girlsgogames.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 44;
_local1.domain = "www.spela.se";
_local1.emailLink = "spel_";
_local1.preferedLanguage = "se";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 106;
_local1.domain = "www.giocaregratis.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 15;
_local1.domain = "www.gioco.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 99;
_local1.domain = "www.girlsgogames.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 97;
_local1.domain = "www.zapjuegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 86;
_local1.domain = "www.juegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 96;
_local1.domain = "www.juegosdechicas.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 122;
_local1.domain = "www.girlsgogames.es";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 125;
_local1.domain = "www.juegos.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 126;
_local1.domain = "www.juegosdechicas.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 127;
_local1.domain = "www.juegos.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 128;
_local1.domain = "www.juegosdechicas.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 91;
_local1.domain = "www.clickjogos.com";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 101;
_local1.domain = "www.girlsgogames.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 50;
_local1.domain = "www.ojogos.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 55;
_local1.domain = "www.games.co.id";
_local1.emailLink = "permainanme";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 105;
_local1.domain = "www.flashgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 104;
_local1.domain = "www.girlsgogames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 103;
_local1.domain = "www.ourgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 24;
_local1.domain = "www.game.co.in";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "in";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 87;
_local1.domain = "www.ojogos.pt";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 120;
_local1.domain = "www.egames.jp";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "jp";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 121;
_local1.domain = "www.dailygame.com";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 123;
_local1.domain = "www.zapapa.com";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.ZAPAPA;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 124;
_local1.domain = "www.zapapa.nl";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.HYVES;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 0;
_local1.domain = "gamedev.dev.spilgames.com";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
}
public static function exportXML():XML{
var _local1:XML;
var _local2:Brand;
_local1 = <portals/>
;
for each (_local2 in brands_by_domain) {
_local1.appendChild(_local2.exportXML());
};
return (_local1);
}
public static function getBrandByDomain(_arg1:String):Brand{
return (brands_by_domain[_arg1]);
}
public static function hasDomain(_arg1:String):Boolean{
return (!((brands_by_domain[_arg1] == null)));
}
}
}//package spill.localisation
Section 24
//Language (spill.localisation.Language)
package spill.localisation {
import flash.xml.*;
public class Language {
public var references:Array;
public var name:String;
public var embedInputFonts:Boolean;// = true
public var forceFont:String;// = null
public var id:uint;
public var portal_groups:Array;
public var textLanguage:String;
public var bwcId:int;
public var embedFonts:Boolean;// = true
public var displayName:String;// = ""
public var dname:String;
public function Language(_arg1:String, _arg2:String=null){
embedFonts = true;
embedInputFonts = true;
forceFont = null;
references = [];
displayName = "";
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function exportXML():XMLNode{
var _local1:XMLNode;
var _local2:XMLNode;
var _local3:Array;
var _local4:Array;
var _local5:int;
_local1 = new XMLNode(1, "language");
_local1.attributes.name = name;
if (textLanguage != null){
_local1.attributes.textLanguage = textLanguage;
};
if (references.length){
_local1.attributes.references = references.toString();
};
_local1.attributes.id = bwcId;
_local2 = new XMLNode(1, "display_name");
_local2.firstChild = new XMLNode(3, displayName);
_local1.appendChild(_local2);
_local3 = [];
_local4 = PortalGroup.channelNames;
_local5 = 0;
while (_local5 < _local4.length) {
_local3.push(Brandings.getBrandByDomain(portal_groups[_local5]).site_id);
_local5++;
};
_local1.attributes.channels = _local3.join(",");
return (_local1);
}
public function get p_teen():String{
return (portal_groups[PortalGroup.YOUNG_ADULTS]);
}
public function set p_hyves(_arg1:String):void{
portal_groups[PortalGroup.HYVES] = _arg1;
}
public function set p_teen(_arg1:String):void{
portal_groups[PortalGroup.YOUNG_ADULTS] = _arg1;
}
public function get p_tween():String{
return (portal_groups[PortalGroup.TEENS]);
}
public function get p_family():String{
return (portal_groups[PortalGroup.FAMILY]);
}
public function get p_girl():String{
trace("Language", portal_groups[PortalGroup.GIRL]);
return (portal_groups[PortalGroup.GIRL]);
}
public function get p_hyves():String{
return (portal_groups[PortalGroup.HYVES]);
}
public function set p_girl(_arg1:String):void{
portal_groups[PortalGroup.GIRL] = _arg1;
}
public function set p_zapapa(_arg1:String):void{
portal_groups[PortalGroup.ZAPAPA] = _arg1;
}
public function get displayAcronim():String{
return ((dname) ? dname : name);
}
public function set p_family(_arg1:String):void{
portal_groups[PortalGroup.FAMILY] = _arg1;
}
public function set p_tween(_arg1:String):void{
portal_groups[PortalGroup.TEENS] = _arg1;
}
public function get p_zapapa():String{
return (portal_groups[PortalGroup.ZAPAPA]);
}
}
}//package spill.localisation
Section 25
//Languages (spill.localisation.Languages)
package spill.localisation {
import flash.xml.*;
public class Languages {
private static var _init:Boolean = false;
public static var languages:Object = new Object();
public static function exportXML():XMLNode{
var _local1:Array;
var _local2:XMLNode;
var _local3:Language;
_local1 = getLanguagesArray();
_local2 = new XMLNode(1, "languages");
for each (_local3 in _local1) {
_local2.appendChild(_local3.exportXML());
};
return (_local2);
}
private static function addReference(_arg1:Language, _arg2:String):void{
languages[_arg2] = _arg1;
_arg1.references.push(_arg2);
}
public static function getLanguage(_arg1:String):Language{
return (languages[_arg1]);
}
public static function initialize():void{
var _local1:Language;
if (_init){
return;
};
_init = true;
_local1 = new Language("nl");
_local1.displayName = "Nederlands";
_local1.p_family = "www.spelletjes.nl";
_local1.p_tween = "www.spel.nl";
_local1.p_girl = "www.girlsgogames.nl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.bwcId = 3;
addLanguage(_local1);
_local1 = new Language("es");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.girlsgogames.es";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 9;
addLanguage(_local1);
_local1 = new Language("pl");
_local1.displayName = "Polski";
_local1.p_family = "www.gry.pl";
_local1.p_tween = "www.gry.pl";
_local1.p_girl = "www.girlsgogames.pl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 6;
addLanguage(_local1);
_local1 = new Language("fr");
_local1.displayName = "Français";
_local1.p_family = "www.jeux.fr";
_local1.p_tween = "www.jeu.fr";
_local1.p_girl = "www.girlsgogames.fr";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 4;
addLanguage(_local1);
_local1 = new Language("en_us", "us");
_local1.displayName = "English";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 1;
addLanguage(_local1);
addReference(_local1, "en");
_local1 = new Language("id");
_local1.displayName = "Bahasa Ind.";
_local1.p_family = "www.games.co.id";
_local1.p_tween = "www.games.co.id";
_local1.p_girl = "www.games.co.id";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 11;
addLanguage(_local1);
_local1 = new Language("ru");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 12;
addLanguage(_local1);
_local1 = new Language("se");
_local1.displayName = "Svenska";
_local1.p_family = "www.spela.se";
_local1.p_tween = "www.spel.se";
_local1.p_girl = "www.girlsgogames.se";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 7;
addLanguage(_local1);
addReference(_local1, "sv");
_local1 = new Language("it");
_local1.displayName = "Italiano";
_local1.p_family = "www.gioco.it";
_local1.p_tween = "www.gioco.it";
_local1.p_girl = "www.girlsgogames.it";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 8;
addLanguage(_local1);
_local1 = new Language("en_uk", "uk");
_local1.displayName = "English";
_local1.p_family = "www.games.co.uk";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.co.uk";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 13;
addLanguage(_local1);
_local1 = new Language("cn");
_local1.displayName = "中文";
_local1.p_family = "www.game.com.cn";
_local1.p_tween = "www.game.com.cn";
_local1.p_girl = "www.game.com.cn";
_local1.p_teen = "www.game.com.cn";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 2;
_local1.embedInputFonts = false;
addLanguage(_local1);
addReference(_local1, "zh-CN");
addReference(_local1, "zh-TW");
_local1 = new Language("pt");
_local1.displayName = "Português";
_local1.p_family = "www.ojogos.pt";
_local1.p_tween = "www.ojogos.pt";
_local1.p_girl = "www.ojogos.pt";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 17;
addLanguage(_local1);
_local1 = new Language("in");
_local1.displayName = "English";
_local1.p_family = "www.game.co.in";
_local1.p_tween = "www.game.co.in";
_local1.p_girl = "www.game.co.in";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.textLanguage = "en_uk";
_local1.bwcId = 14;
addLanguage(_local1);
_local1 = new Language("de");
_local1.displayName = "Deutsch";
_local1.p_family = "www.jetztspielen.de";
_local1.p_tween = "www.spielen.com";
_local1.p_girl = "www.girlsgogames.de";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 5;
addLanguage(_local1);
_local1 = new Language("br");
_local1.displayName = "Português (BR)";
_local1.p_family = "www.ojogos.com.br";
_local1.p_tween = "www.clickjogos.com";
_local1.p_girl = "www.girlsgogames.com.br";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 10;
addLanguage(_local1);
_local1 = new Language("jp");
_local1.displayName = "日本語";
_local1.p_family = "www.egames.jp";
_local1.p_tween = "www.egames.jp";
_local1.p_girl = "www.egames.jp";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.embedInputFonts = false;
_local1.bwcId = 19;
addLanguage(_local1);
addReference(_local1, "ja");
_local1 = new Language("ar");
_local1.displayName = "English";
_local1.p_family = "www.dailygame.com";
_local1.p_tween = "www.dailygame.com";
_local1.p_girl = "www.dailygame.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 20;
addLanguage(_local1);
addReference(_local1, "ar");
_local1 = new Language("es_mx", "mx");
_local1.displayName = "Español (mx)";
_local1.p_family = "www.juegos.mx";
_local1.p_tween = "www.juegos.mx";
_local1.p_girl = "www.juegosdechicas.mx";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
addLanguage(_local1);
addReference(_local1, "mx");
_local1 = new Language("es_ar", "arg");
_local1.displayName = "Español (ar)";
_local1.p_family = "www.juegos.com.ar";
_local1.p_tween = "www.juegos.com.ar";
_local1.p_girl = "www.juegosdechicas.com.ar";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
addLanguage(_local1);
addReference(_local1, "arg");
}
public static function getCurrentLanguage():void{
trace(("language = " + SpilGame.currentLanguage.name));
}
public static function getLanguagesArray():Array{
var _local1:Array;
var _local2:Object;
var _local3:Language;
_local1 = new Array();
_local2 = new Object();
for each (_local3 in languages) {
if (!_local2[_local3.name]){
_local1.push(_local3);
_local2[_local3.name] = true;
};
};
return (_local1);
}
private static function addLanguage(_arg1:Language):void{
languages[_arg1.name] = _arg1;
}
public static function getLanguageByOldID(_arg1:int):Language{
var _local2:Language;
for each (_local2 in languages) {
if (_local2.bwcId == _arg1){
return (_local2);
};
};
return (null);
}
}
}//package spill.localisation
Section 26
//LanguageSelectBox (spill.localisation.LanguageSelectBox)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
public class LanguageSelectBox extends MovieClip {
private var flag:MovieClip;
private var mc:MovieClip;
private var popup:MovieClip;
private var languageName_text:TextField;
public function LanguageSelectBox(){
trace("new langselecbox");
super();
if (numChildren > 0){
removeChildAt(0);
};
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true);
Languages.initialize();
popup = new LanguageSelectPopup_mc();
x = Math.round(x);
y = Math.round(y);
popup.y = (-(Math.floor(popup.height)) + 1);
popup.visible = false;
addChild(popup);
mc = new LanguageSelectBox_mc();
addChild(mc);
flag = mc.flag;
languageName_text = mc.languageName_text;
if (stage){
added();
};
init();
languageChanged();
}
private function added(_arg1:Event=null):void{
trace("addedselebnox");
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
public function set popupLocation(_arg1:String):void{
trace(("popupLocation = " + _arg1));
if (_arg1 == "bottom"){
popup.y = Math.floor(mc.height);
} else {
popup.y = (-(Math.floor(mc.height)) + 1);
};
}
public function init():void{
var _local1:Array;
var _local2:int;
var _local3:MovieClip;
var _local4:Language;
trace("initselectbox");
_local1 = new Array(popup.l_br, popup.l_de, popup.l_en_us, popup.l_fr, popup.l_in, popup.l_jp, popup.l_pt, popup.l_ru, popup.l_ar, popup.l_cn, popup.l_en_uk, popup.l_es, popup.l_id, popup.l_it, popup.l_nl, popup.l_pl, popup.l_se, popup.l_es_mx, popup.l_es_ar);
_local2 = 0;
while (_local2 < _local1.length) {
_local3 = MovieClip(_local1[_local2]);
if (_local3){
_local3.addEventListener(MouseEvent.CLICK, itemClicked, true, 0, true);
_local3.flag.gotoAndStop(_local3.name.substr(2));
_local3.flag.mouseEnabled = false;
_local3.text.mouseEnabled = false;
_local4 = Languages.getLanguage(_local3.name.substr(2));
if (_local4){
_local3.text.text = _local4.displayAcronim;
} else {
trace((("Error, '" + _local3.name.substr(2)) + "' language not found"));
};
} else {
trace((((("Error, btn number '" + _local2) + "' is not a MovieClip or there is no button '") + _local1[_local2]) + "'"));
};
_local2++;
};
}
private function mouseOver(_arg1:MouseEvent):void{
popup.visible = true;
}
private function languageChanged(_arg1:Event=null):void{
if (SpilGame.currentLanguage){
if ((((SpilGame.portalGroup == PortalGroup.HYVES)) && ((SpilGame.currentLanguage.name == "nl")))){
this.visible = false;
return;
};
this.visible = true;
flag.gotoAndStop(SpilGame.currentLanguage.name);
languageName_text.text = SpilGame.currentLanguage.displayName;
languageName_text.embedFonts = SpilGame.currentLanguage.embedInputFonts;
};
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
}
}//package spill.localisation
Section 27
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var flag:MovieClip;
public var languageName_text:TextField;
}
}//package spill.localisation
Section 28
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_se:MovieClip;
public var l_ar:MovieClip;
public var l_br:MovieClip;
public var l_in:MovieClip;
public var l_cn:MovieClip;
public var l_de:MovieClip;
public var l_es_mx:MovieClip;
public var l_es:MovieClip;
public var l_en_uk:MovieClip;
public var l_fr:MovieClip;
public var l_en_us:MovieClip;
public var l_pl:MovieClip;
public var l_pt:MovieClip;
public var l_nl:MovieClip;
public var l_id:MovieClip;
public var l_es_ar:MovieClip;
public var l_it:MovieClip;
public var l_jp:MovieClip;
public var l_ru:MovieClip;
}
}//package spill.localisation
Section 29
//LocalizedTextField (spill.localisation.LocalizedTextField)
package spill.localisation {
import flash.events.*;
public class LocalizedTextField extends TextFieldFit {
private var regex:RegExp;
private var originalText:String;
public function LocalizedTextField(){
regex = /{([^{}]*)}/g;
super();
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
added();
}
private function languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
override public function set text(_arg1:String):void{
originalText = _arg1;
if ((_arg1 is String)){
super.text = _arg1.replace(regex, replaceFn);
} else {
super.text = "";
};
trace(super.text);
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function replaceFn():String{
var _local2:String;
_local2 = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
}
}//package spill.localisation
Section 30
//PortalGroup (spill.localisation.PortalGroup)
package spill.localisation {
import flash.xml.*;
public class PortalGroup {
public static const YOUNG_ADULTS:uint = 3;
public static const FAMILY:uint = 0;
public static const channelNames:Array = ["family", "tween", "girl", "teen", "zapapa", "hyves"];
public static const ZAPAPA:uint = 4;
public static const HYVES:uint = 5;
public static const TEENS:uint = 1;
public static const GIRL:uint = 2;
public static const backgroundColors:Array = [0xFFFFFF, 0xFFFFFF, 16742331, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF];
public static const NONE:uint = 6;
public static function getName(_arg1:int):String{
return (channelNames[_arg1]);
}
public static function exportXML():XMLNode{
var _local1:XMLNode;
var _local2:int;
var _local3:XMLNode;
_local1 = new XMLNode(1, "channels");
_local2 = 0;
while (_local2 < 5) {
_local3 = new XMLNode(1, "channel");
_local3.attributes.name = channelNames[_local2];
_local3.attributes.id = _local2;
_local1.appendChild(_local3);
_local2++;
};
return (_local1);
}
}
}//package spill.localisation
Section 31
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 32
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
public class SpilGame {
private static const cookieName:String = "spilgames_language_v100";
private static const cookiePath:String = "/";
private static const cookieLanguageVar:String = "savedLang";
public static const LANGUAGE_CHANGED:String = "languageChanged";
public static const BRANDING_CHANGED:String = "brandingChanged";
private static var strings:Object = new Object();
public static var currentBranding:Brand;
private static var contexMenuItem:ContextMenuItem;
spil_internal static var gameName:String;
spil_internal static var debugHostDomain:String = "";
private static var localDomains:Object = new Object();
spil_internal static var emailPage:String;
private static var channelLock:Boolean = false;
spil_internal static var debugEmbedDomain:String = "";
private static var eventDispatcher:EventDispatcher;
private static var _init:Boolean = false;
public static var currentLanguage:Language;
spil_internal static var portalGroup:uint;
private static var stage:Sprite;
public static function getSpilCompanyLink():String{
var _local1:String;
_local1 = "http://www.gameportal.net/";
_local1 = (_local1 + ("?utm_medium=brandedgames_" + (isExternal) ? "external" : "internal"));
_local1 = (_local1 + ("&utm_campaign=" + gameName));
_local1 = (_local1 + ("&utm_source=" + Brand.stripSubDomain((embedDomain) ? embedDomain : hostingDomain)));
_local1 = (_local1 + "&utm_content=Branding_Link");
return (_local1);
}
public static function getPromotionLink(_arg1:String="feature_promotion"):String{
var _local2:String;
_local2 = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getPromotionLink(gameName, emailPage, isExternal, _local2, _arg1));
}
public static function traceAllBrands():void{
trace(outputAllBrands());
}
public static function getString(_arg1:String):String{
var _local2:Object;
_local2 = strings[_arg1];
if (_local2){
if (currentLanguage.textLanguage){
return (_local2[currentLanguage.textLanguage]);
};
if (_local2[currentLanguage.name]){
return (_local2[currentLanguage.name]);
};
return (_local2["en_us"]);
//unresolved jump
};
return ("");
}
public static function initialize(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false):void{
stage = _arg4;
if (_init){
trace("ERROR: LocalisationManager already initialised");
return;
};
_init = true;
localDomains["localhost"] = true;
localDomains["www8.agame.com"] = true;
localDomains["gamedev.dev.spilgames.com"] = true;
localDomains["stg.spel.nl"] = true;
localDomains["stg.girlsgogames.nl"] = true;
localDomains["stg.pl.spel.nl"] = true;
localDomains["stg.pl.girlsgogames.nl"] = true;
trace(localDomains["stg.girlsgogames.nl"]);
Brandings.initialize();
Languages.initialize();
initContexMenu(_arg4);
channelLock = _arg5;
gameName = _arg1.replace(" ", "_");
portalGroup = _arg2;
emailPage = _arg3;
chooseLanguage();
chooseBranding();
if (portalGroup == PortalGroup.HYVES){
changeLanguage("nl");
};
}
public static function get isExternal():Boolean{
return (((((!(Brandings.hasDomain(embedDomain))) && (!(localDomains[embedDomain])))) && (!(isStagingDomain))));
}
private static function initContexMenu(_arg1:Sprite):void{
contexMenuItem = new ContextMenuItem("");
_arg1.contextMenu = new ContextMenu();
_arg1.contextMenu.customItems.push(contexMenuItem);
contexMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contexMenuClicked);
}
private static function replaceFn():String{
var _local2:String;
_local2 = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
spil_internal static function get hostingDomain():String{
var _local1:LocalConnection;
if (debugHostDomain != ""){
return (debugHostDomain);
};
_local1 = new LocalConnection();
return (_local1.domain);
}
spil_internal static function chooseLanguage():void{
if (cookieLanguage != null){
currentLanguage = cookieLanguage;
} else {
if (isExternal){
currentLanguage = systemLanguage;
} else {
currentLanguage = portalLanguage;
if (!currentLanguage){
currentLanguage = systemLanguage;
};
};
};
if (!currentLanguage){
trace("Unable to determine language, using 'English US'");
currentLanguage = Languages.getLanguage("en_us");
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
private static function contexMenuClicked(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu")));
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
trace(_arg1.text);
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
trace(_arg1.text);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
public static function importXMLv2(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.attribute("identifier")] = new Object());
for each (_local4 in _local2.children()) {
if (_local4.children().length() > 0){
_local3[_local4.name()] = _local4.children()[0].toString();
} else {
_local3[_local4.name()] = "";
};
};
};
}
spil_internal static function changeLanguage(_arg1:String):void{
var _local2:Language;
_local2 = Languages.getLanguage(_arg1);
if (!_local2){
trace("ERROR: Supplied language string does not have a matching language");
} else {
cookieLanguage = _local2;
currentLanguage = _local2;
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
chooseBranding();
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
public static function getSendToFriendLink():String{
return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain));
}
spil_internal static function chooseBranding():void{
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]);
if (!(currentBranding is Brand)){
currentBranding = Brandings.getBrandByDomain("www.agame.com");
};
contexMenuItem.caption = ("More Games: " + currentBranding.domain);
dispatchEvent(new Event(BRANDING_CHANGED));
}
spil_internal static function get systemLanguage():Language{
return (Languages.getLanguage(Capabilities.language));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject;
_local2 = SharedObject.getLocal(cookieName, cookiePath);
if (_arg1 == null){
_local2.data[cookieLanguageVar] = null;
} else {
_local2.data[cookieLanguageVar] = _arg1.name;
};
_local2.flush();
}
public static function importXML(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.identifier] = new Object());
for each (_local4 in _local2.children()) {
_local3[_local4.name()] = _local4.children()[0].toString();
};
};
}
spil_internal static function dispatchEvent(_arg1:Event):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.dispatchEvent(_arg1);
}
private static function getDomain(_arg1:String):String{
var _local2:String;
var _local3:uint;
if (_arg1.indexOf("file") == 0){
return ("offline_play");
};
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
if (_local2 == "localhost"){
_local2 = "offline_play";
};
return (_local2);
}
public static function exportXML():XML{
var _local1:XML;
_local1 = <spil_games/>
;
_local1.appendChild(Brandings.exportXML());
_local1.appendChild(Languages.exportXML());
_local1.appendChild(PortalGroup.exportXML());
return (_local1);
}
public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public static function outputAllBrands():String{
var _local1:Array;
var _local2:String;
var _local3:Brand;
_local1 = Brandings.getBrandsArray();
_local2 = "";
for each (_local3 in _local1) {
_local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n"));
};
return (_local2);
}
public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public static function getMoreGamesLink(_arg1:String=""):String{
var _local2:String;
_local2 = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
public static function get isStagingDomain():Boolean{
var _local1:String;
_local1 = ("http://" + embedDomain);
return ((_local1.indexOf("http://stg.") >= 0));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject;
var _local2:String;
_local1 = SharedObject.getLocal(cookieName, cookiePath);
_local2 = String(_local1.data[cookieLanguageVar]);
return (Languages.getLanguage(_local2));
}
private static function get portalLanguage():Language{
var _local1:Brand;
var _local2:String;
var _local3:Language;
if (isExternal){
return (null);
};
if (!embedDomain){
return (null);
};
_local1 = Brandings.getBrandByDomain(embedDomain);
if (!_local1){
return (null);
};
_local2 = _local1.preferedLanguage;
if (!_local2){
return (null);
};
_local3 = Languages.getLanguage(_local2);
if (!_local3){
return (null);
};
return (_local3);
}
spil_internal static function get embedDomain():String{
var loc:String;
if (debugEmbedDomain != ""){
return (debugEmbedDomain);
};
if (ExternalInterface.available){
try {
loc = ExternalInterface.call("window.location.href.toString");
if (((!((loc == ""))) && (!((loc == null))))){
trace(("embed domain = " + getDomain(loc)));
return (getDomain(loc));
};
} catch(e:SecurityError) {
trace(("Security Error connecting to external interface, error = " + e));
} catch(e:Error) {
trace(("Error connecting to external interface, error = " + e));
};
};
return (null);
}
}
}//package spill.localisation
Section 33
//SpilGamesLink (spill.localisation.SpilGamesLink)
package spill.localisation {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class SpilGamesLink extends SimpleButton {
public function SpilGamesLink(){
addEventListener(MouseEvent.CLICK, buttonClicked);
}
private function buttonClicked(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank");
}
}
}//package spill.localisation
Section 34
//TextFieldFit (spill.localisation.TextFieldFit)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.filters.*;
public class TextFieldFit extends MovieClip {
protected var _text:String;// = "default"
protected var _textSize:Number;// = 12
protected var _embedFonts:Boolean;// = true
protected var _glowColor:uint;// = 0
private var h:Number;
protected var _antiAliasType:String;// = "advanced"
private var w:Number;
protected var _useGlowFilter:Boolean;// = false
protected var _hAlign:String;// = "left"
protected var _textColor:uint;// = 0
protected var _glowStrength:Number;// = 5
protected var _glowBlur:Number;// = 3
private var field:TextField;
protected var _gridFitType:String;// = "pixel"
protected var _glowQuality:Number;// = 1
private var debugBounding:Sprite;
protected var _disableWordwrap:Boolean;// = false
protected var _multiline:Boolean;// = false
protected var _font:String;// = ""
protected var _underline:Boolean;// = false
protected var _vAlign:String;// = "top"
protected var _italic:Boolean;// = false
protected var _bold:Boolean;// = false
private var sizeChanged:Boolean;// = true
private var embeddedFonts:Array;
protected var _selectable:Boolean;// = false
private var format:TextFormat;
private var valid:Boolean;// = true
private static const gutter:Number = 2;
spil_internal static var embedFonts:Boolean = true;
spil_internal static var forceAAType:String = null;
spil_internal static var forceFont:String = null;
public static var alwaysCheckWidth:Boolean = false;
public function TextFieldFit(){
var _local1:Boolean;
var _local2:Number;
var _local3:Number;
sizeChanged = true;
valid = true;
_text = "default";
_textColor = 0;
_textSize = 12;
_multiline = false;
_disableWordwrap = false;
_hAlign = "left";
_vAlign = "top";
_bold = false;
_underline = false;
_italic = false;
_selectable = false;
_font = "";
_embedFonts = true;
_antiAliasType = "advanced";
_gridFitType = "pixel";
_useGlowFilter = false;
_glowBlur = 3;
_glowColor = 0;
_glowStrength = 5;
_glowQuality = 1;
super();
_local1 = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
_local2 = width;
_local3 = height;
if (numChildren > 0){
removeChildAt(0);
};
if (!field){
field = new TextField();
addChild(field);
};
field.border = false;
field.background = false;
field.type = TextFieldType.DYNAMIC;
mouseEnabled = false;
mouseChildren = false;
format = new TextFormat();
embeddedFonts = Font.enumerateFonts(false);
setSize(_local2, _local3);
validate();
if (stage){
addEventListener(Event.RENDER, init);
stage.invalidate();
};
init();
}
private function resizeText(_arg1:Boolean=false):void{
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
if (format.size <= 3){
trace("WARNING: Text resised to 3px, either an error occured or the text just wont fit");
return;
};
field.setTextFormat(format);
resizeText(true);
} else {
if (_arg1 == false){
while (doesTextFit()) {
if (format.size <= textSize){
format.size = Object((Number(format.size) + 1));
field.setTextFormat(format);
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
field.setTextFormat(format);
break;
};
} else {
break;
};
};
};
};
}
public function get italic():Boolean{
return (_italic);
}
public function get textColor():uint{
return (_textColor);
}
public function get vAlign():String{
return (_vAlign);
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function get selectable():Boolean{
return (_selectable);
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
public function get bold():Boolean{
return (_bold);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
invalidate();
}
public function set font(_arg1:String):void{
_font = _arg1;
invalidate();
}
public function set selectable(_arg1:Boolean):void{
_selectable = _arg1;
invalidate();
}
public function get multiline():Boolean{
return (_multiline);
}
public function set disableWordwrap(_arg1:Boolean):void{
_disableWordwrap = _arg1;
invalidate();
}
public function get glowQuality():Number{
return (_glowQuality);
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function get gridFitType():String{
return (_gridFitType);
}
public function get underline():Boolean{
return (_underline);
}
public function get textSize():Number{
return (_textSize);
}
public function set antiAliasType(_arg1:String):void{
_antiAliasType = _arg1;
invalidate();
}
protected function updateProperties():void{
var _local1:Boolean;
var _local2:Font;
field.text = _text;
field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline;
field.wordWrap = ((field.multiline) && (!(_disableWordwrap)));
field.selectable = _selectable;
field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType;
field.gridFitType = _gridFitType;
embeddedFonts = Font.enumerateFonts(false);
if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){
_local1 = false;
for each (_local2 in embeddedFonts) {
if (_font == _local2.fontName){
_local1 = true;
break;
};
};
field.embedFonts = _local1;
if (!_local1){
trace(((("WARNING: Embedded font '" + _font) + "' not found, disabling embedding of fonts, text = ") + _text));
} else {
trace((("Found Embedded font '" + _font) + "' using font"));
};
} else {
field.embedFonts = false;
};
if (TextFieldFit.forceFont){
format.font = TextFieldFit.forceFont;
} else {
format.font = _font;
};
if (sizeChanged){
format.size = _textSize;
};
format.color = _textColor;
format.align = _hAlign;
format.bold = _bold;
format.italic = _italic;
format.underline = _underline;
format.leftMargin = 0;
format.rightMargin = 0;
field.setTextFormat(format);
if (_useGlowFilter){
filters = [new GlowFilter(_glowColor, 1, _glowBlur, _glowBlur, _glowStrength, _glowQuality)];
} else {
filters = [];
};
}
private function doesTextFit():Boolean{
if (((((field.textHeight + (gutter * 2)) > h)) || (((((field.textWidth + (gutter * 2)) > w)) && (((!(field.multiline)) || (alwaysCheckWidth))))))){
return (false);
};
return (true);
}
public function get glowStrength():Number{
return (_glowStrength);
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
private function validate(_arg1:Event=null):void{
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function get text():String{
return (_text);
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function get disableWordwrap():Boolean{
return (_disableWordwrap);
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
private function layoutText():void{
resizeText();
field.height = (field.textHeight + (gutter * 2));
if (vAlign == "top"){
field.y = 0;
} else {
if (vAlign == "middle"){
field.y = ((h - field.height) / 2);
} else {
if (vAlign == "bottom"){
field.y = (h - field.height);
};
};
};
}
public function get hAlign():String{
return (_hAlign);
}
public function setSize(_arg1:Number, _arg2:Number):void{
w = _arg1;
h = _arg2;
scaleX = (scaleY = 1);
field.width = w;
field.height = h;
invalidate();
}
public function set gridFitType(_arg1:String):void{
_gridFitType = _arg1;
invalidate();
}
public function set underline(_arg1:Boolean):void{
_underline = _arg1;
invalidate();
}
public function get glowBlur():Number{
return (_glowBlur);
}
public function set textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function get textField():TextField{
return (field);
}
public function get glowColor():uint{
return (_glowColor);
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
}
}//package spill.localisation
Section 35
//1_son_boing_325 (StarSplash_OML_fla.1_son_boing_325)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_boing_325 extends MovieClip {
public function 1_son_boing_325(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 36
//1_son_boost_324 (StarSplash_OML_fla.1_son_boost_324)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_boost_324 extends MovieClip {
public function 1_son_boost_324(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 37
//1_son_etoile_323 (StarSplash_OML_fla.1_son_etoile_323)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_etoile_323 extends MovieClip {
public function 1_son_etoile_323(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 38
//1_son_gameOver_334 (StarSplash_OML_fla.1_son_gameOver_334)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_gameOver_334 extends MovieClip {
public function 1_son_gameOver_334(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 39
//1_son_needPractice_333 (StarSplash_OML_fla.1_son_needPractice_333)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_needPractice_333 extends MovieClip {
public function 1_son_needPractice_333(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 40
//1_son_passed_330 (StarSplash_OML_fla.1_son_passed_330)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_passed_330 extends MovieClip {
public function 1_son_passed_330(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 41
//1_son_perfect_331 (StarSplash_OML_fla.1_son_perfect_331)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_perfect_331 extends MovieClip {
public function 1_son_perfect_331(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 42
//1_son_sonar_326 (StarSplash_OML_fla.1_son_sonar_326)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_sonar_326 extends MovieClip {
public function 1_son_sonar_326(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 43
//1_son_splash_328 (StarSplash_OML_fla.1_son_splash_328)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_splash_328 extends MovieClip {
public function 1_son_splash_328(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame4(){
gotoAndStop(1);
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 44
//1_son_splashOut_329 (StarSplash_OML_fla.1_son_splashOut_329)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_splashOut_329 extends MovieClip {
public function 1_son_splashOut_329(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 45
//1_son_triple_327 (StarSplash_OML_fla.1_son_triple_327)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_triple_327 extends MovieClip {
public function 1_son_triple_327(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 46
//1_son_wellDone_332 (StarSplash_OML_fla.1_son_wellDone_332)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_wellDone_332 extends MovieClip {
public function 1_son_wellDone_332(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 47
//1_son_zonePassed_335 (StarSplash_OML_fla.1_son_zonePassed_335)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class 1_son_zonePassed_335 extends MovieClip {
public function 1_son_zonePassed_335(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 48
//1_tableau_x1_156 (StarSplash_OML_fla.1_tableau_x1_156)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau_x1_156 extends MovieClip {
public var spawn:uint;
public function 1_tableau_x1_156(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneX", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("zigzag1", 700, 3);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 7){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 49
//1_tableau_x2_157 (StarSplash_OML_fla.1_tableau_x2_157)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau_x2_157 extends MovieClip {
public var spawn:uint;
public function 1_tableau_x2_157(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("zigzag1", 700, 4);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("zigzag1", 700, 4);
MovieClip(parent).spawnForme("espace", 200, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 200, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("ligneX", 700, 330);
MovieClip(parent).spawnForme("espace", 200, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("zigzag1", 700, 3);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 9){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 50
//1_tableau_x3_158 (StarSplash_OML_fla.1_tableau_x3_158)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau_x3_158 extends MovieClip {
public var spawn:uint;
public function 1_tableau_x3_158(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("ligneX", 700, 330);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("zigzag2", 700, 5);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("diM2", 700, 230);
MovieClip(parent).spawnForme("ligneX", (MovieClip(parent).newHx + 100), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 7){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 51
//1_tableau_x3b_159 (StarSplash_OML_fla.1_tableau_x3b_159)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau_x3b_159 extends MovieClip {
public var spawn:uint;
public function 1_tableau_x3b_159(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneX", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("zigzag1", 700, 5);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 25), (MovieClip(parent).newHy + 65));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 9){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 52
//1_tableau_x4b_160 (StarSplash_OML_fla.1_tableau_x4b_160)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau_x4b_160 extends MovieClip {
public var spawn:uint;
public function 1_tableau_x4b_160(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("zigzag1", 700, 6);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("diM2", 700, 230);
MovieClip(parent).spawnForme("ligneX", (MovieClip(parent).newHx + 50), MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 25), (MovieClip(parent).newHy + 65));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 300, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 10){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 53
//1_tableau1_136 (StarSplash_OML_fla.1_tableau1_136)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau1_136 extends MovieClip {
public var spawn:uint;
public function 1_tableau1_136(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneXM1", 700, 280);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("ligneXM1", 700, 280);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 7){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 54
//1_tableau10_145 (StarSplash_OML_fla.1_tableau10_145)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau10_145 extends MovieClip {
public var spawn:uint;
public function 1_tableau10_145(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("eTrans", 700, 130);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("eTrans", 700, 80);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 65));
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("eTrans", 700, -20);
MovieClip(parent).spawnForme("eTrans", 800, 330);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnForme("eTrans", 700, -20);
MovieClip(parent).spawnForme("eTrans", 800, 330);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 11){
MovieClip(parent).spawnForme("eTrans", 1200, 130);
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 12){
MovieClip(parent).spawnForme("eTrans", 700, -20);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 13){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 14){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 55
//1_tableau11_146 (StarSplash_OML_fla.1_tableau11_146)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau11_146 extends MovieClip {
public var spawn:uint;
public function 1_tableau11_146(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("diM3", 700, 230);
MovieClip(parent).spawnForme("ligneXM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("diM3", 700, 230);
MovieClip(parent).spawnForme("ligneXM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnage("meduse", (MovieClip(parent).newHx + 50), 220);
MovieClip(parent).spawnForme("medM", (MovieClip(parent).newHx + 50), 180);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("ligneX", 700, 180);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnage("meduse", 700, 220);
MovieClip(parent).spawnForme("medMM10", 700, 180);
MovieClip(parent).spawnForme("sautM5", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("eTrans", 700, 80);
MovieClip(parent).spawnForme("eTrans", 800, 80);
MovieClip(parent).spawnForme("eTrans", 900, 80);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("eTrans", 1150, -90);
MovieClip(parent).spawnForme("eTrans", 1250, -90);
MovieClip(parent).spawnForme("eTrans", 1350, -90);
MovieClip(parent).spawnForme("sautM5", 700, 80);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, 80);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 65));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 11){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 56
//1_tableau12_147 (StarSplash_OML_fla.1_tableau12_147)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau12_147 extends MovieClip {
public var spawn:uint;
public function 1_tableau12_147(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneXM1", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", (MovieClip(parent).newHx + 50), MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("eTrans", 1250, 180);
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("eTrans", 1050, 40);
MovieClip(parent).spawnForme("eTrans", 1150, 40);
MovieClip(parent).spawnForme("eTrans", 1250, 40);
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, 230);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 5, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("ligneXM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("ligneXM1", 700, 380);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 10){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 57
//1_tableau13_148 (StarSplash_OML_fla.1_tableau13_148)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau13_148 extends MovieClip {
public var spawn:uint;
public function 1_tableau13_148(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneX", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
};
if (spawn == 2){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 350, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("ligneX", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 350, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 5, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 5, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnForme("eTrans", 700, -220);
MovieClip(parent).spawnForme("eTrans", 800, -220);
MovieClip(parent).spawnForme("eTrans", 900, -220);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 11){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 12){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 58
//1_tableau14_149 (StarSplash_OML_fla.1_tableau14_149)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau14_149 extends MovieClip {
public var spawn:uint;
public function 1_tableau14_149(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("diM3", 700, 230);
MovieClip(parent).spawnForme("ligneX", (MovieClip(parent).newHx + 50), MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 150, 330);
};
if (spawn == 2){
MovieClip(parent).spawnForme("eTrans", 700, -170);
MovieClip(parent).spawnForme("eTrans", 800, -170);
MovieClip(parent).spawnForme("eTrans", 900, -170);
MovieClip(parent).spawnForme("zigzag2", 700, 4);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("eTrans", 1300, 130);
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 350, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneXM1", (MovieClip(parent).newHx - 50), MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medMM10", 750, 180);
MovieClip(parent).spawnForme("sautM5", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("eTrans", 700, -470);
MovieClip(parent).spawnForme("eTrans", 800, -470);
MovieClip(parent).spawnForme("eTrans", 900, -470);
MovieClip(parent).spawnForme("eTrans", 700, 130);
MovieClip(parent).spawnForme("eTrans", 800, 130);
MovieClip(parent).spawnForme("eTrans", 900, 130);
MovieClip(parent).spawnForme("zigzag2", 700, 4);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("feuille", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("feuille", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnForme("eTrans", 700, -70);
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medMM10", 750, 180);
MovieClip(parent).spawnForme("diM3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("roundDive", (MovieClip(parent).newHx + 50), MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 11){
MovieClip(parent).spawnForme("eTrans", 700, 130);
MovieClip(parent).spawnForme("eTrans", 800, 130);
MovieClip(parent).spawnForme("eTrans", 900, 130);
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 12){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 13){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 59
//1_tableau15_150 (StarSplash_OML_fla.1_tableau15_150)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau15_150 extends MovieClip {
public var spawn:uint;
public function 1_tableau15_150(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("eTrans", 800, 330);
MovieClip(parent).spawnForme("eTrans", 900, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
};
if (spawn == 2){
MovieClip(parent).spawnForme("eTrans", 1100, 80);
MovieClip(parent).spawnForme("eTrans", 1200, 80);
MovieClip(parent).spawnForme("eTrans", 1300, 80);
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 300, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("eTrans", 800, 330);
MovieClip(parent).spawnForme("eTrans", 900, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("eTrans", 700, -20);
MovieClip(parent).spawnForme("eTrans", 800, -20);
MovieClip(parent).spawnForme("eTrans", 900, -20);
MovieClip(parent).spawnForme("espace", 1, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("eTrans", 800, 330);
MovieClip(parent).spawnForme("eTrans", 900, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("eTrans", (MovieClip(parent).newHx + 100), -270);
MovieClip(parent).spawnForme("eTrans", (MovieClip(parent).newHx + 100), -270);
MovieClip(parent).spawnForme("eTrans", (MovieClip(parent).newHx + 100), -270);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 9){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 60
//1_tableau16_151 (StarSplash_OML_fla.1_tableau16_151)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau16_151 extends MovieClip {
public var spawn:uint;
public function 1_tableau16_151(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("zigzag1", 700, 4);
MovieClip(parent).spawnForme("espace", 150, 330);
};
if (spawn == 2){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("zigzag2", 700, 4);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("eTrans", 750, -20);
MovieClip(parent).spawnForme("eTrans", 850, -20);
MovieClip(parent).spawnForme("eTrans", 950, -20);
MovieClip(parent).spawnForme("ligneX", 700, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("ligneX", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, 230);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 11){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 12){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 61
//1_tableau17_152 (StarSplash_OML_fla.1_tableau17_152)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau17_152 extends MovieClip {
public var spawn:uint;
public function 1_tableau17_152(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
var _local1:int;
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("diM3", 700, 230);
MovieClip(parent).spawnForme("ligneX", (MovieClip(parent).newHx + 50), MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 150, 330);
};
if (spawn == 2){
MovieClip(parent).spawnForme("eTrans", 700, -170);
MovieClip(parent).spawnForme("eTrans", 800, -170);
MovieClip(parent).spawnForme("eTrans", 900, -170);
MovieClip(parent).spawnForme("zigzag2", 700, 4);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("eTrans", 1750, -470);
MovieClip(parent).spawnForme("eTrans", 1850, -470);
MovieClip(parent).spawnForme("eTrans", 1950, -470);
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("feuille", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medMM10", 750, 180);
_local1 = MovieClip(parent).newHy;
MovieClip(parent).spawnForme("sautM5", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, _local1);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("eTrans", 700, 130);
MovieClip(parent).spawnForme("eTrans", 800, 130);
MovieClip(parent).spawnForme("eTrans", 900, 130);
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("feuille", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 9){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 62
//1_tableau18_153 (StarSplash_OML_fla.1_tableau18_153)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau18_153 extends MovieClip {
public var spawn:uint;
public function 1_tableau18_153(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
};
if (spawn == 2){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("eTrans", 700, 80);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("eTrans", 700, -220);
MovieClip(parent).spawnForme("ligneX", 700, 130);
MovieClip(parent).spawnForme("espace", 5, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("ligneXM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("eTrans", 700, -220);
MovieClip(parent).spawnForme("eTrans", 800, -220);
MovieClip(parent).spawnForme("eTrans", 900, -220);
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnForme("diM3", 700, 230);
MovieClip(parent).spawnForme("ligneXM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 11){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 12){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 63
//1_tableau19_154 (StarSplash_OML_fla.1_tableau19_154)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau19_154 extends MovieClip {
public var spawn:uint;
public function 1_tableau19_154(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("eTrans", 800, 330);
MovieClip(parent).spawnForme("eTrans", 900, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
};
if (spawn == 2){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, 230);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("eTrans", 800, 30);
MovieClip(parent).spawnForme("eTrans", 900, 30);
MovieClip(parent).spawnForme("eTrans", 1000, 30);
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 10){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 64
//1_tableau2_137 (StarSplash_OML_fla.1_tableau2_137)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau2_137 extends MovieClip {
public var spawn:uint;
public function 1_tableau2_137(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneX", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("ligneXM1", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("ligneXM1", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 9){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 65
//1_tableau20_155 (StarSplash_OML_fla.1_tableau20_155)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau20_155 extends MovieClip {
public var spawn:uint;
public function 1_tableau20_155(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
var _local1:int;
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneX", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
};
if (spawn == 2){
MovieClip(parent).spawnForme("eTrans", 1500, -20);
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 350, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("ligneXM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
_local1 = MovieClip(parent).newHy;
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, _local1);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("feuille", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 75, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 125, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("saut", 700, 130);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("eTrans", 700, -20);
MovieClip(parent).spawnForme("eTrans", 800, -20);
MovieClip(parent).spawnForme("eTrans", 900, -20);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 10){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 66
//1_tableau3_143 (StarSplash_OML_fla.1_tableau3_143)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau3_143 extends MovieClip {
public var spawn:uint;
public function 1_tableau3_143(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("eTrans", 700, 80);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("eTrans", 700, 130);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnForme("eTrans", 700, 80);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnForme("eTrans", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 11){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 12){
MovieClip(parent).spawnForme("eTrans", 700, 130);
MovieClip(parent).spawnForme("eTrans", 800, 130);
MovieClip(parent).spawnForme("eTrans", 900, 130);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 13){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 14){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 67
//1_tableau4_138 (StarSplash_OML_fla.1_tableau4_138)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau4_138 extends MovieClip {
public var spawn:uint;
public function 1_tableau4_138(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneXM1", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 25), (MovieClip(parent).newHy + 65));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 25), (MovieClip(parent).newHy + 65));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 8){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 68
//1_tableau5_139 (StarSplash_OML_fla.1_tableau5_139)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau5_139 extends MovieClip {
public var spawn:uint;
public function 1_tableau5_139(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneXM1", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("ligneX", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 8){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 69
//1_tableau6_141 (StarSplash_OML_fla.1_tableau6_141)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau6_141 extends MovieClip {
public var spawn:uint;
public function 1_tableau6_141(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneX", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("ligneX", 700, 280);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 250, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("ligneX", 700, 330);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 5, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 10){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 70
//1_tableau7_142 (StarSplash_OML_fla.1_tableau7_142)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau7_142 extends MovieClip {
public var spawn:uint;
public function 1_tableau7_142(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("ligneX", 700, 280);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("zigzag2", 700, 5);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("zigzag1", 700, 6);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 25), (MovieClip(parent).newHy + 65));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("ligneXM1", 700, 380);
MovieClip(parent).spawnForme("espace", 300, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 11){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 12){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 71
//1_tableau8_140 (StarSplash_OML_fla.1_tableau8_140)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau8_140 extends MovieClip {
public var spawn:uint;
public function 1_tableau8_140(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("espace", 300, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("zigzag1", 700, 4);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 5, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("ligneXM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 350, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnForme("ligneXM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnForme("sautM45", 700, 230);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 9){
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 10){
MovieClip(parent).spawnForme("medM", 750, 180);
MovieClip(parent).spawnage("meduse", 750, 220);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 11){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 12){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 72
//1_tableau9_144 (StarSplash_OML_fla.1_tableau9_144)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class 1_tableau9_144 extends MovieClip {
public var spawn:uint;
public function 1_tableau9_144(){
addFrameScript(0, frame1, 1, frame2, 29, frame30);
}
public function nextSpawn():void{
spawn = (spawn + 1);
if (spawn == 1){
MovieClip(parent).spawnForme("zigzag1", 700, 3);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 2){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 3){
MovieClip(parent).spawnForme("saut", 700, 230);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 4){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM1", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", MovieClip(parent).newHx, (MovieClip(parent).newHy + 65));
MovieClip(parent).spawnForme("espace", 100, 330);
} else {
if (spawn == 5){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 150, 330);
} else {
if (spawn == 6){
MovieClip(parent).spawnForme("sautM5", 700, 230);
MovieClip(parent).spawnForme("saut3", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("sautM145", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneX", MovieClip(parent).newHx, MovieClip(parent).newHy);
MovieClip(parent).spawnForme("ligneY", (MovieClip(parent).newHx + 50), (MovieClip(parent).newHy + 50));
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 7){
MovieClip(parent).spawnForme("ligneX", 700, 380);
MovieClip(parent).spawnForme("espace", 50, 330);
} else {
if (spawn == 8){
MovieClip(parent).spawnage("bouée", 750, 260);
MovieClip(parent).spawnForme("espace", 675, 330);
} else {
if (spawn == 9){
MovieClip(parent).finTableau();
trace(this.currentFrame);
stop();
};
};
};
};
};
};
};
};
};
}
function frame1(){
stop();
}
function frame2(){
if (this.currentFrame == 2){
spawn = 0;
};
}
function frame30(){
nextSpawn();
}
}
}//package StarSplash_OML_fla
Section 73
//bg_clip_105 (StarSplash_OML_fla.bg_clip_105)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class bg_clip_105 extends MovieClip {
public var bg3:MovieClip;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg_clip_105(){
addFrameScript(0, frame1, 2, frame3, 4, frame5);
}
function frame3(){
stop();
MovieClip(parent).distanceBg1 = 0;
MovieClip(parent).distanceBg2 = 0;
MovieClip(parent).distanceBg3 = 0;
}
function frame1(){
stop();
MovieClip(parent).distanceBg1 = 0;
MovieClip(parent).distanceBg2 = 0;
MovieClip(parent).distanceBg3 = 0;
}
function frame5(){
stop();
MovieClip(parent).distanceBg1 = 0;
MovieClip(parent).distanceBg2 = 0;
MovieClip(parent).distanceBg3 = 0;
}
}
}//package StarSplash_OML_fla
Section 74
//bg_nuages_lv1_22 (StarSplash_OML_fla.bg_nuages_lv1_22)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg_nuages_lv1_22 extends MovieClip {
public var i:uint;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg_nuages_lv1_22(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
i = 0;
gotoAndPlay(1);
}
function frame1(){
stop();
i = Math.ceil((Math.random() * 2));
gotoAndStop(i);
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 75
//bg_nuages_lv2_112 (StarSplash_OML_fla.bg_nuages_lv2_112)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg_nuages_lv2_112 extends MovieClip {
public var i:uint;
public var bg3:MovieClip;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg_nuages_lv2_112(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
i = Math.ceil((Math.random() * 3));
gotoAndStop(i);
}
function frame4(){
i = 0;
gotoAndPlay(1);
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 76
//bg_nuages_lv2a_c_113 (StarSplash_OML_fla.bg_nuages_lv2a_c_113)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg_nuages_lv2a_c_113 extends MovieClip {
public var bg1b:MovieClip;
public var bg1a:MovieClip;
}
}//package StarSplash_OML_fla
Section 77
//bg_nuages_lv2c_c_117 (StarSplash_OML_fla.bg_nuages_lv2c_c_117)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg_nuages_lv2c_c_117 extends MovieClip {
public var bg3a:MovieClip;
public var bg3b:MovieClip;
}
}//package StarSplash_OML_fla
Section 78
//bg2_lv1_106 (StarSplash_OML_fla.bg2_lv1_106)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg2_lv1_106 extends MovieClip {
public var i:uint;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg2_lv1_106(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
i = 0;
gotoAndPlay(1);
}
function frame1(){
stop();
i = Math.ceil((Math.random() * 2));
gotoAndStop(i);
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 79
//bg2_lv2_118 (StarSplash_OML_fla.bg2_lv2_118)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg2_lv2_118 extends MovieClip {
public var i:uint;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg2_lv2_118(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
i = 0;
gotoAndPlay(1);
}
function frame1(){
stop();
i = Math.ceil((Math.random() * 2));
gotoAndStop(i);
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 80
//bg2_lv3_127 (StarSplash_OML_fla.bg2_lv3_127)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg2_lv3_127 extends MovieClip {
public var i:uint;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg2_lv3_127(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
i = 0;
gotoAndPlay(1);
}
function frame1(){
stop();
i = Math.ceil((Math.random() * 2));
gotoAndStop(i);
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 81
//bg3_lv1_109 (StarSplash_OML_fla.bg3_lv1_109)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg3_lv1_109 extends MovieClip {
public var i:uint;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg3_lv1_109(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 54, frame55);
}
function frame3(){
i = 0;
play();
}
function frame1(){
stop();
i = Math.ceil((Math.random() * 2));
gotoAndStop(i);
}
function frame2(){
stop();
}
function frame55(){
gotoAndPlay(1);
}
}
}//package StarSplash_OML_fla
Section 82
//bg3_lv2_123 (StarSplash_OML_fla.bg3_lv2_123)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg3_lv2_123 extends MovieClip {
public var i:uint;
public var bg3:MovieClip;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg3_lv2_123(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 55, frame56);
}
function frame3(){
stop();
}
function frame1(){
stop();
i = Math.ceil((Math.random() * 3));
gotoAndStop(i);
}
function frame4(){
i = 0;
play();
}
function frame2(){
stop();
}
function frame56(){
gotoAndPlay(1);
}
}
}//package StarSplash_OML_fla
Section 83
//bg3_lv3_130 (StarSplash_OML_fla.bg3_lv3_130)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bg3_lv3_130 extends MovieClip {
public var i:uint;
public var bg3:MovieClip;
public var bg4:MovieClip;
public var bg2:MovieClip;
public var bg1:MovieClip;
public function bg3_lv3_130(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 55, frame56);
}
function frame3(){
stop();
}
function frame1(){
stop();
i = Math.ceil((Math.random() * 4));
gotoAndStop(i);
}
function frame4(){
stop();
}
function frame5(){
i = 0;
play();
}
function frame2(){
stop();
}
function frame56(){
gotoAndPlay(1);
}
}
}//package StarSplash_OML_fla
Section 84
//bouee_corde_315 (StarSplash_OML_fla.bouee_corde_315)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bouee_corde_315 extends MovieClip {
public var coquillages:MovieClip;
}
}//package StarSplash_OML_fla
Section 85
//bouee_drapeau_318 (StarSplash_OML_fla.bouee_drapeau_318)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bouee_drapeau_318 extends MovieClip {
public var g:MovieClip;
}
}//package StarSplash_OML_fla
Section 86
//bouee_drapeau_level_319 (StarSplash_OML_fla.bouee_drapeau_level_319)
package StarSplash_OML_fla {
import flash.display.*;
import flash.text.*;
public dynamic class bouee_drapeau_level_319 extends MovieClip {
public var lv:TextField;
}
}//package StarSplash_OML_fla
Section 87
//bouee_g_314 (StarSplash_OML_fla.bouee_g_314)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bouee_g_314 extends MovieClip {
public var corde:MovieClip;
public var tete:MovieClip;
}
}//package StarSplash_OML_fla
Section 88
//bouee_tete_317 (StarSplash_OML_fla.bouee_tete_317)
package StarSplash_OML_fla {
import flash.display.*;
import flash.text.*;
public dynamic class bouee_tete_317 extends MovieClip {
public var drapeau:MovieClip;
public var passe:TextField;
}
}//package StarSplash_OML_fla
Section 89
//btn_music_61 (StarSplash_OML_fla.btn_music_61)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class btn_music_61 extends MovieClip {
public var texte:MovieClip;
public var hit:MovieClip;
public function btn_music_61(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
this.texte.visible = false;
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
this.texte.visible = false;
}
function frame2(){
this.texte.visible = true;
}
}
}//package StarSplash_OML_fla
Section 90
//btn_music_texte_62 (StarSplash_OML_fla.btn_music_texte_62)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class btn_music_texte_62 extends MovieClip {
public var __id1_:LocalizedTextField;
public function btn_music_texte_62(){
__setProp___id1__btn_music_texte_Layer1_1();
}
function __setProp___id1__btn_music_texte_Layer1_1(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{MuteMusic}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 8;
__id1_.bold = false;
__id1_.disableWordwrap = false;
__id1_.embedFonts = true;
__id1_.font = "Arial";
__id1_.hAlign = "center";
__id1_.multiline = false;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "advanced";
__id1_.glowBlur = 3;
__id1_.glowColor = 0;
__id1_.useGlowFilter = false;
__id1_.glowQuality = 1;
__id1_.glowStrength = 5;
__id1_.gridFitType = "pixel";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 91
//btn_sons_66 (StarSplash_OML_fla.btn_sons_66)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class btn_sons_66 extends MovieClip {
public var texte:MovieClip;
public var hit:MovieClip;
public function btn_sons_66(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
this.texte.visible = false;
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
this.texte.visible = false;
}
function frame2(){
this.texte.visible = true;
}
}
}//package StarSplash_OML_fla
Section 92
//btn_sons_texte_67 (StarSplash_OML_fla.btn_sons_texte_67)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class btn_sons_texte_67 extends MovieClip {
public var t1:LocalizedTextField;
public function btn_sons_texte_67(){
__setProp_t1_btn_sons_texte_Layer1_1();
}
function __setProp_t1_btn_sons_texte_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{MuteSounds}";
t1.textColor = 0xFFFFFF;
t1.textSize = 8;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Arial";
t1.hAlign = "center";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 93
//bulle_296 (StarSplash_OML_fla.bulle_296)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bulle_296 extends MovieClip {
public function bulle_296(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package StarSplash_OML_fla
Section 94
//bulle_c_295 (StarSplash_OML_fla.bulle_c_295)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class bulle_c_295 extends MovieClip {
public var b2:MovieClip;
public var b4:MovieClip;
public var b5:MovieClip;
public var b6:MovieClip;
public var b7:MovieClip;
public var b1:MovieClip;
public var b3:MovieClip;
public function bulle_c_295(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package StarSplash_OML_fla
Section 95
//ciel_104 (StarSplash_OML_fla.ciel_104)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class ciel_104 extends MovieClip {
public function ciel_104(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 96
//ciel_fin_89 (StarSplash_OML_fla.ciel_fin_89)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class ciel_fin_89 extends MovieClip {
public function ciel_fin_89(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 97
//congratulations_clip_97 (StarSplash_OML_fla.congratulations_clip_97)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class congratulations_clip_97 extends MovieClip {
public function congratulations_clip_97(){
addFrameScript(0, frame1, 159, frame160);
}
function frame160(){
stop();
MovieClip(parent.parent).fondu.nextPlace = "result";
MovieClip(parent.parent).fondu.nextScene1 = "Menu";
MovieClip(parent.parent).fondu.gotoAndPlay("fadeOut");
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 98
//congratulations_texte_98 (StarSplash_OML_fla.congratulations_texte_98)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class congratulations_texte_98 extends MovieClip {
public function congratulations_texte_98(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function frame10(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
if ((((MovieClip(parent.parent.parent).quelleLangue() == "pt")) || ((MovieClip(parent.parent.parent).quelleLangue() == "br")))){
this.gotoAndStop("pt");
} else {
if ((((MovieClip(parent.parent.parent).quelleLangue() == "es_mx")) || ((MovieClip(parent.parent.parent).quelleLangue() == "es_ar")))){
this.gotoAndStop("es2");
} else {
if ((((((((((((MovieClip(parent.parent.parent).quelleLangue() == "en_us")) || ((MovieClip(parent.parent.parent).quelleLangue() == "en_uk")))) || ((MovieClip(parent.parent.parent).quelleLangue() == "ar")))) || ((MovieClip(parent.parent.parent).quelleLangue() == "in")))) || ((MovieClip(parent.parent.parent).quelleLangue() == "jp")))) || ((MovieClip(parent.parent.parent).quelleLangue() == "cn")))){
this.gotoAndStop("en");
} else {
this.gotoAndStop(MovieClip(parent.parent.parent).quelleLangue());
};
};
};
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package StarSplash_OML_fla
Section 99
//congratulations_texte_completed_99 (StarSplash_OML_fla.congratulations_texte_completed_99)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class congratulations_texte_completed_99 extends MovieClip {
public function congratulations_texte_completed_99(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function frame10(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
if ((((MovieClip(parent.parent.parent).quelleLangue() == "pt")) || ((MovieClip(parent.parent.parent).quelleLangue() == "br")))){
this.gotoAndStop("pt");
} else {
if ((((MovieClip(parent.parent.parent).quelleLangue() == "es_mx")) || ((MovieClip(parent.parent.parent).quelleLangue() == "es_ar")))){
this.gotoAndStop("es2");
} else {
if ((((((((((((MovieClip(parent.parent.parent).quelleLangue() == "en_us")) || ((MovieClip(parent.parent.parent).quelleLangue() == "en_uk")))) || ((MovieClip(parent.parent.parent).quelleLangue() == "ar")))) || ((MovieClip(parent.parent.parent).quelleLangue() == "in")))) || ((MovieClip(parent.parent.parent).quelleLangue() == "jp")))) || ((MovieClip(parent.parent.parent).quelleLangue() == "cn")))){
this.gotoAndStop("en");
} else {
this.gotoAndStop(MovieClip(parent.parent.parent).quelleLangue());
};
};
};
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package StarSplash_OML_fla
Section 100
//copyright_43 (StarSplash_OML_fla.copyright_43)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class copyright_43 extends MovieClip {
public var hit:MovieClip;
public function copyright_43(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 101
//dauphin_28 (StarSplash_OML_fla.dauphin_28)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class dauphin_28 extends MovieClip {
public var etat:String;
public var saute:MovieClip;
public var nage:MovieClip;
public function dauphin_28(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
etat = "nage";
}
function frame2(){
stop();
etat = "saute";
}
}
}//package StarSplash_OML_fla
Section 102
//dauphin_nage_29 (StarSplash_OML_fla.dauphin_nage_29)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class dauphin_nage_29 extends MovieClip {
public var hit:MovieClip;
}
}//package StarSplash_OML_fla
Section 103
//dauphin_saute_31 (StarSplash_OML_fla.dauphin_saute_31)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class dauphin_saute_31 extends MovieClip {
public var noEntFrame:Boolean;
public var frBoost:uint;
public var hit:MovieClip;
public var hit2:MovieClip;
public function dauphin_saute_31(){
addFrameScript(0, frame1, 19, frame20, 24, frame25, 43, frame44, 49, frame50, 54, frame55, 57, frame58, 58, frame59, 64, frame65, 123, frame124, 129, frame130, 133, frame134, 153, frame154, 166, frame167);
}
function frame65(){
stop();
}
function frame154(){
stop();
}
function frame167(){
stop();
}
function frame1(){
noEntFrame = false;
frBoost = 4;
MovieClip(parent.parent).createSplash("tiSplash");
MovieClip(parent.parent).mouvementSaut();
}
function frame25(){
MovieClip(parent.parent).mouvementSaut();
}
public function entFrame(_arg1:Event):void{
var _local2:uint;
var _local3:Boolean;
_local3 = false;
if (MovieClip(parent.parent).plongeFini == true){
_local2 = 20;
} else {
_local2 = 40;
};
if (noEntFrame == false){
if (((!((MovieClip(parent).y == MovieClip(parent.parent).eau))) && (((MovieClip(parent).y + _local2) < MovieClip(parent.parent).eau)))){
MovieClip(parent).y = (MovieClip(parent).y + _local2);
} else {
MovieClip(parent.parent).Splash();
removeEventListener(Event.ENTER_FRAME, entFrame);
};
};
}
function frame20(){
stop();
}
function frame124(){
stop();
}
function frame44(){
stop();
}
function frame130(){
MovieClip(parent.parent).Tombe(true);
}
function frame134(){
stop();
}
function frame55(){
MovieClip(parent.parent).Tombe(false);
}
function frame50(){
frBoost = 2;
MovieClip(parent.parent).Boost();
}
function frame58(){
frBoost = 3;
}
function frame59(){
frBoost = 4;
}
}
}//package StarSplash_OML_fla
Section 104
//eau_alpha_135 (StarSplash_OML_fla.eau_alpha_135)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class eau_alpha_135 extends MovieClip {
public function eau_alpha_135(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 105
//eau_bg_25 (StarSplash_OML_fla.eau_bg_25)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class eau_bg_25 extends MovieClip {
public var masque1:MovieClip;
public var frameName:String;
public function eau_bg_25(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
frameName = "nuit";
stop();
}
function frame1(){
frameName = "tropical";
stop();
}
function frame2(){
frameName = "port";
stop();
}
}
}//package StarSplash_OML_fla
Section 106
//etoile_clip_93 (StarSplash_OML_fla.etoile_clip_93)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class etoile_clip_93 extends MovieClip {
public function etoile_clip_93(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package StarSplash_OML_fla
Section 107
//feux_c_216 (StarSplash_OML_fla.feux_c_216)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class feux_c_216 extends MovieClip {
public var f1:MovieClip;
public function feux_c_216(){
addFrameScript(1, frame2, 8, frame9, 20, frame21, 38, frame39, 46, frame47, 55, frame56, 64, frame65, 100, frame101);
}
function frame65(){
}
function frame9(){
}
function frame21(){
}
function frame2(){
}
function frame47(){
}
function frame39(){
}
function frame101(){
stop();
}
function frame56(){
}
}
}//package StarSplash_OML_fla
Section 108
//feux_g_217 (StarSplash_OML_fla.feux_g_217)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class feux_g_217 extends MovieClip {
public function feux_g_217(){
addFrameScript(34, frame35);
}
function frame35(){
stop();
}
}
}//package StarSplash_OML_fla
Section 109
//flag_icon_341 (StarSplash_OML_fla.flag_icon_341)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class flag_icon_341 extends MovieClip {
public function flag_icon_341(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 110
//fleche_DOWN_249 (StarSplash_OML_fla.fleche_DOWN_249)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class fleche_DOWN_249 extends MovieClip {
public function fleche_DOWN_249(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 111
//fleche_DOWN2_254 (StarSplash_OML_fla.fleche_DOWN2_254)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class fleche_DOWN2_254 extends MovieClip {
public function fleche_DOWN2_254(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 112
//fleche_LEFT_RIGHT_250 (StarSplash_OML_fla.fleche_LEFT_RIGHT_250)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class fleche_LEFT_RIGHT_250 extends MovieClip {
public function fleche_LEFT_RIGHT_250(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 113
//fleche_LEFT_RIGHT2_255 (StarSplash_OML_fla.fleche_LEFT_RIGHT2_255)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class fleche_LEFT_RIGHT2_255 extends MovieClip {
public function fleche_LEFT_RIGHT2_255(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 114
//fleche_SPACE_275 (StarSplash_OML_fla.fleche_SPACE_275)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class fleche_SPACE_275 extends MovieClip {
public function fleche_SPACE_275(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 115
//fleche_SPACE2_278 (StarSplash_OML_fla.fleche_SPACE2_278)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class fleche_SPACE2_278 extends MovieClip {
public function fleche_SPACE2_278(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 116
//fleche_UP_247 (StarSplash_OML_fla.fleche_UP_247)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class fleche_UP_247 extends MovieClip {
public function fleche_UP_247(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 117
//fleche_UP2_253 (StarSplash_OML_fla.fleche_UP2_253)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class fleche_UP2_253 extends MovieClip {
public function fleche_UP2_253(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 118
//fondu_fadeIn_68 (StarSplash_OML_fla.fondu_fadeIn_68)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class fondu_fadeIn_68 extends MovieClip {
public var nextPlace:String;
public var nextScene1:String;
public function fondu_fadeIn_68(){
addFrameScript(0, frame1, 1, frame2, 9, frame10, 13, frame14, 14, frame15, 23, frame24);
}
function frame10(){
MovieClip(root).frameName = null;
}
function frame14(){
stop();
MovieClip(root).gotoAndPlay(nextPlace, nextScene1);
}
function frame15(){
if (MovieClip(root).frameName == "menu"){
MovieClip(root).musicF("in", 9, "Menu");
} else {
if (MovieClip(root).frameName == "jeu"){
MovieClip(root).musicF("in", 9, "lvl1");
};
};
}
function frame1(){
stop();
nextPlace = null;
nextScene1 = null;
}
function frame24(){
gotoAndStop(1);
}
function frame2(){
if (nextPlace == "jeu"){
MovieClip(root).musicF("out", 12, "end");
};
}
}
}//package StarSplash_OML_fla
Section 119
//fondu_fadeOut_231 (StarSplash_OML_fla.fondu_fadeOut_231)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class fondu_fadeOut_231 extends MovieClip {
public function fondu_fadeOut_231(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
MovieClip(root).musicF("out", 8, "end");
}
function frame9(){
stop();
}
}
}//package StarSplash_OML_fla
Section 120
//hitBox_30 (StarSplash_OML_fla.hitBox_30)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class hitBox_30 extends MovieClip {
public function hitBox_30(){
addFrameScript(0, frame1);
}
function frame1(){
this.visible = false;
}
}
}//package StarSplash_OML_fla
Section 121
//l_br_339 (StarSplash_OML_fla.l_br_339)
package StarSplash_OML_fla {
import flash.display.*;
import flash.text.*;
public dynamic class l_br_339 extends MovieClip {
public var text:TextField;
public var flag:MovieClip;
}
}//package StarSplash_OML_fla
Section 122
//ligne_eau_41 (StarSplash_OML_fla.ligne_eau_41)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class ligne_eau_41 extends MovieClip {
public function ligne_eau_41(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 123
//ligne_eau_c_40 (StarSplash_OML_fla.ligne_eau_c_40)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class ligne_eau_c_40 extends MovieClip {
public var c1:MovieClip;
}
}//package StarSplash_OML_fla
Section 124
//lv1_103 (StarSplash_OML_fla.lv1_103)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import com.greensock.*;
import flash.utils.*;
import com.greensock.easing.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class lv1_103 extends MovieClip {
public var tableau6:MovieClip;
public var myTween5:TweenLite;
public var passeItems3:uint;
public var limDroite:uint;
public var myTween2:TweenLite;
public var myTween4:TweenLite;
public var itemsCollectAll:uint;
public var dauphinBoost:Boolean;
public var myTween3:TweenLite;
public var passeItems5:uint;
public var passeItems7:uint;
public var myTween8:TweenLite;
public var right:Boolean;
public var passeItems1:uint;
public var passeItems2:uint;
public var tableau10:MovieClip;
public var tableau11:MovieClip;
public var tableau12:MovieClip;
public var tableau13:MovieClip;
public var tableau14:MovieClip;
public var tableau15:MovieClip;
public var tableau16:MovieClip;
public var tableau17:MovieClip;
public var tableau18:MovieClip;
public var passeItems6:uint;
public var jump:Boolean;
public var tableau19:MovieClip;
public var passeItems4:uint;
public var myTween:TweenLite;
public var bg:MovieClip;
public var tableau21:MovieClip;
public var tableau20:MovieClip;
public var distanceBg3:Number;
public var distanceBg2:Number;
public var passeItems8:uint;
public var passeItems9:uint;
public var distanceBg1:Number;
public var peutSonar:Boolean;
public var i:Number;
public var initItemSpd:Number;
public var longTableau:uint;
public var sonarName;
public var plongeFini:Boolean;
public var nombreSauts:uint;
public var splash:Array;
public var tableau10x:MovieClip;
public var cntIt:uint;
public var pourcent:uint;
public var posY:Number;
public var up:Boolean;
public var tableau3x:MovieClip;
public var down:Boolean;
public var peutPlonger:Boolean;
public var dauphin:MovieClip;
public var splashFini:Boolean;
public var passeItems10:uint;
public var passeItems11:uint;
public var passeItems12:uint;
public var myTween2b:TweenLite;
public var newHx:int;
public var compteEtoiles:uint;
public var lignes:MovieClip;
public var passeItems18:uint;
public var passeItems19:uint;
public var passeItems14:uint;
public var controles:Boolean;
public var passeItems13:uint;
public var passeItems17:uint;
public var newHy:int;
public var passeItems20:uint;
public var eau_bg:MovieClip;
public var pratique:Boolean;
public var passeItems16:uint;
public var passeItems15:uint;
public var limVerticale:uint;
public var tableau6x:MovieClip;
public var space:Boolean;
public var chiffreStart:int;
public var passeItems21:uint;
public var totalItems:uint;
public var totalItemsAll:uint;
public var keyArray:Array;
public var tiSplash:Array;
public var dauphinPos:Point;
public var dauphinTombe:Boolean;
public var tableau9x:MovieClip;
public var eau:uint;
public var masque2:MovieClip;
public var itemsCollect:uint;
public var SPD:uint;
public var hit;
public var chiffre:String;
public var ciel:MovieClip;
public var maxSauts:uint;
public var boost:Boolean;
public var vitesseBg2:Number;
public var vitesseBg3:Number;
public var vitesseBg1:Number;
public var passeItems:uint;
public var zone:String;
public var fini:Boolean;
public var itemSpd:Number;
public var ligne_eau:MovieClip;
public var tableau1:MovieClip;
public var tableau2:MovieClip;
public var tableau3:MovieClip;
public var tableau4:MovieClip;
public var tableau5:MovieClip;
public var tableau7:MovieClip;
public var tableau8:MovieClip;
public var tableau9:MovieClip;
public var myTween7:TweenLite;
public var eau_over:MovieClip;
public var myTween6:TweenLite;
public function lv1_103(){
addFrameScript(0, frame1);
}
public function deleteSplash(_arg1:String):void{
if (_arg1 == "grosSplash"){
this.splash[0].removeEventListener(Event.ENTER_FRAME, this.splash[0].entFrame);
this.removeChild(this.splash[0]);
this.splash[0] = null;
splash.splice(0, 1);
} else {
if (_arg1 == "tiSplash"){
this.tiSplash[0].removeEventListener(Event.ENTER_FRAME, this.tiSplash[0].entFrame);
this.removeChild(this.tiSplash[0]);
this.tiSplash[0] = null;
tiSplash.splice(0, 1);
};
};
}
public function scrolling(){
if (dauphinBoost == false){
if (dauphinTombe == false){
posY = (limVerticale - this.dauphinPos.y);
Math.floor((posY = (posY / 7.5)));
} else {
if (dauphinTombe == true){
if (this.dauphinPos.y < 40){
posY = (posY + 2);
} else {
if (this.dauphinPos.y > 200){
posY = (posY - 8);
} else {
posY = (posY - 3);
if (posY < -30){
posY = -30;
};
};
};
};
};
this.y = (this.y + posY);
};
if (this.y > 800){
this.y = 800;
} else {
if (this.y < 0){
this.y = 0;
};
};
}
public function updateMed():void{
if ((this.dauphin.x - (SPD + 2)) > 20){
this.dauphin.x = (this.dauphin.x - (SPD + 2));
} else {
this.dauphin.x = 20;
};
}
function frame1(){
stop();
OverwriteManager.init(2);
vitesseBg1 = 2.3;
distanceBg1 = 0;
vitesseBg2 = 3;
distanceBg2 = 0;
vitesseBg3 = 3.5;
distanceBg3 = 0;
SPD = 6;
jump = false;
keyArray = new Array();
eau = 267;
limDroite = 600;
fini = true;
up = false;
right = false;
down = false;
space = false;
boost = true;
peutSonar = true;
sonarName = null;
peutPlonger = true;
plongeFini = true;
nombreSauts = 0;
maxSauts = 3;
splashFini = true;
splash = new Array();
tiSplash = new Array();
cntIt = 0;
initItemSpd = 8;
itemSpd = initItemSpd;
limVerticale = 200;
dauphinPos = new Point(this.dauphin.x, this.dauphin.y);
dauphinTombe = false;
dauphinBoost = false;
newHx = 0;
newHy = 0;
totalItemsAll = 1977;
itemsCollectAll = 0;
totalItems = 0;
itemsCollect = 0;
passeItems = 0;
passeItems1 = 15;
passeItems2 = 25;
passeItems3 = 30;
passeItems4 = 30;
passeItems5 = 40;
passeItems6 = 45;
passeItems7 = 50;
passeItems8 = 55;
passeItems9 = 60;
passeItems10 = 70;
passeItems11 = 70;
passeItems12 = 75;
passeItems13 = 75;
passeItems14 = 75;
passeItems15 = 80;
passeItems16 = 85;
passeItems17 = 90;
passeItems18 = 90;
passeItems19 = 100;
passeItems20 = 110;
passeItems21 = 160;
pourcent = 0;
chiffreStart = 0;
chiffre = null;
longTableau = 0;
MyGlobal.score = 0;
MyGlobal.vague = 0;
MovieClip(parent).menuJeu.score.text = "0.00";
MovieClip(parent).menuJeu.itemsC.text = 0;
zone = "tropical";
i = 0;
while (i < 222) {
keyArray.push([i, false]);
i++;
};
stage.addEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
stage.addEventListener(KeyboardEvent.KEY_UP, checkKeysUp);
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function rndHundredth(_arg1){
var _local2:Number;
_local2 = _arg1;
_local2 = (_local2 * 100);
_local2 = Math.round(_local2);
_local2 = (_local2 / 100);
return (_local2);
}
public function createSplash(_arg1:String):void{
var _local2:Splash1;
var _local3:TiSplash1;
if (_arg1 == "grosSplash"){
_local2 = new Splash1();
addChild(_local2);
splash.push(_local2);
_local2.x = (this.dauphin.x + 30);
_local2.y = 222;
if (MovieClip(parent).frameName != null){
MovieClip(root).sonsF("splash", true);
};
} else {
if (_arg1 == "tiSplash"){
_local3 = new TiSplash1();
addChild(_local3);
tiSplash.push(_local3);
_local3.x = this.dauphin.x;
_local3.y = 222;
MovieClip(root).sonsF("splashOut", false);
};
};
}
public function updateBoost():void{
if (this.dauphin.x >= limDroite){
this.dauphin.x = limDroite;
myTween2.kill();
};
}
public function Bloop():void{
myTween5 = new TweenLite(this.dauphin, 5, {y:"-20", ease:Quad.easeOut, useFrames:true, onComplete:splashComplete});
this.dauphin.gotoAndStop("nage");
}
public function deleteSpawn(_arg1:String, _arg2:uint):void{
var _local3:*;
var _local4:Number;
var _local5:String;
var _local6:uint;
var _local7:String;
if (_arg2 > 0){
MovieClip(root).sonsF("etoile", false);
};
itemsCollect = (itemsCollect + _arg2);
MovieClip(parent).menuJeu.itemsC.text = itemsCollect;
if (pratique == false){
itemsCollectAll = (itemsCollectAll + _arg2);
if (_arg2 != 0){
_local4 = ((itemsCollectAll / totalItemsAll) * 100);
MyGlobal.score = rndHundredth(_local4);
_local5 = String(MyGlobal.score);
_local6 = _local5.indexOf(".");
_local7 = _local5.substring((_local6 + 1), _local5.length);
if (_local7.length == 0){
_local5 = (_local5 + ".00");
} else {
if (_local7.length == 1){
_local5 = (_local5 + "0");
};
};
MovieClip(parent).menuJeu.score.text = _local5;
};
};
_local3 = this.getChildByName(_arg1);
_local3.removeEventListener(Event.ENTER_FRAME, _local3.entFrame);
this.removeChild(_local3);
_local3 = null;
}
public function Splash():void{
var _local1:*;
var _local2:uint;
if (plongeFini == true){
_local2 = 5;
_local1 = "25";
this.dauphin.y = eau;
} else {
_local2 = 10;
_local1 = 390;
};
createSplash("grosSplash");
fini = true;
nombreSauts = 0;
if (plongeFini == false){
this.dauphin.saute.gotoAndPlay("splash2");
} else {
if (this.dauphin.saute.frBoost < 4){
this.dauphin.saute.gotoAndPlay((this.dauphin.saute.frBoost + "b"));
} else {
if (plongeFini == true){
this.dauphin.saute.gotoAndPlay("splash");
};
};
};
myTween4 = new TweenLite(this.dauphin, _local2, {y:_local1, ease:Quad.easeOut, useFrames:true, onComplete:Bloop});
splashFini = false;
plongeFini = true;
peutPlonger = true;
dauphinTombe = false;
}
public function completeFunction():void{
myTween.reverse();
if (this.dauphin.y < 0){
dauphinTombe = true;
};
}
public function meduseSaut():void{
nombreSauts = 0;
peutPlonger = true;
boost = true;
dauphinTombe = false;
dauphinBoost = false;
if (plongeFini == false){
plongeFini = true;
};
myTween7 = new TweenLite(this.dauphin, 30, {y:-260, useFrames:true, onComplete:meduseSautComplete, overwrite:true});
}
public function finTableau():void{
trace(((("Tableau " + MyGlobal.vague) + ": total d'étoile = ") + compteEtoiles));
pourcent = Math.ceil(((itemsCollect * 100) / totalItems));
if (itemsCollect == totalItems){
MovieClip(parent).menuJeu.presTableau.verdict = "perfect";
} else {
if (itemsCollect >= passeItems){
MovieClip(parent).menuJeu.presTableau.verdict = "passed";
} else {
MovieClip(parent).menuJeu.presTableau.verdict = "failed";
};
};
MovieClip(parent).menuJeu.presTableau.nextPlace = "result";
MovieClip(parent).menuJeu.presTableau.gotoAndPlay("noir_in");
}
public function checkKeysUp(_arg1:KeyboardEvent):void{
keyArray[_arg1.keyCode][1] = false;
}
public function initVit():void{
myTween2b.kill();
this.itemSpd = this.initItemSpd;
}
public function Tombe(_arg1:Boolean):void{
var _local2:uint;
if (_arg1 == false){
_local2 = 10;
} else {
if (_arg1 == true){
_local2 = 5;
};
};
myTween3 = new TweenLite(this.dauphin, _local2, {y:"160", ease:Quad.easeIn, useFrames:true, onUpdate:updateTombe, onComplete:reverseFunction});
if (this.dauphin.y < 0){
dauphinTombe = true;
};
dauphinBoost = false;
posY = 0;
}
public function splashComplete():void{
splashFini = true;
}
public function mouvementSaut():void{
nombreSauts = (nombreSauts + 1);
fini = false;
dauphinTombe = false;
dauphinBoost = false;
plongeFini = true;
myTween = new TweenLite(this.dauphin, 10, {y:"-160", useFrames:true, onComplete:completeFunction, onReverseComplete:reverseFunction});
}
public function reverseFunction():void{
this.dauphin.saute.noEntFrame = false;
this.dauphin.saute.addEventListener(Event.ENTER_FRAME, this.dauphin.saute.entFrame);
}
public function isKeyDown(_arg1){
return (keyArray[_arg1][1]);
}
public function entFrame(_arg1:Event):void{
if (MovieClip(root).frameName != "jeu"){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
stage.removeEventListener(KeyboardEvent.KEY_UP, checkKeysUp);
this.removeEventListener(Event.ENTER_FRAME, entFrame);
if (this.dauphin.saute != null){
this.dauphin.saute.addEventListener(Event.ENTER_FRAME, this.dauphin.saute.entFrame);
};
};
hit = this.dauphin[this.dauphin.etat].hit;
dauphinPos = new Point(this.dauphin.x, this.dauphin.y);
dauphinPos = localToGlobal(dauphinPos);
if (this.dauphinPos.y < limVerticale){
scrolling();
} else {
if ((((this.dauphinPos.y > limVerticale)) && (!((this.y == 0))))){
scrolling();
};
};
if (controles == true){
if ((((isKeyDown(39) == true)) || ((isKeyDown(68) == true)))){
if ((this.dauphin.x + SPD) < limDroite){
this.dauphin.x = (this.dauphin.x + SPD);
} else {
this.dauphin.x = limDroite;
};
} else {
if ((((isKeyDown(37) == true)) || ((isKeyDown(65) == true)))){
if ((this.dauphin.x - SPD) > 20){
this.dauphin.x = (this.dauphin.x - SPD);
} else {
this.dauphin.x = 20;
};
};
};
};
if (this.dauphin.etat == "nage"){
up = true;
if ((((((isKeyDown(40) == true)) || ((isKeyDown(83) == true)))) && ((controles == true)))){
if (splashFini == false){
myTween5.kill();
splashFini = true;
};
if ((this.dauphin.y + SPD) < 385){
this.dauphin.y = (this.dauphin.y + SPD);
this.dauphin.nage.rotation = 10;
} else {
this.dauphin.y = 385;
};
} else {
if ((((((isKeyDown(38)) || (isKeyDown(87))) == true)) && ((controles == true)))){
if (splashFini == false){
myTween5.kill();
splashFini = true;
};
if ((this.dauphin.y - SPD) > eau){
this.dauphin.y = (this.dauphin.y - SPD);
this.dauphin.nage.rotation = -10;
} else {
this.dauphin.y = eau;
jump = true;
};
} else {
if (this.dauphin.nage.rotation > 0){
this.dauphin.nage.rotation = (this.dauphin.nage.rotation - 2);
} else {
if (this.dauphin.nage.rotation < 0){
this.dauphin.nage.rotation = (this.dauphin.nage.rotation + 2);
} else {
this.dauphin.nage.rotation = 0;
};
};
};
};
if ((((((jump == true)) && ((((isKeyDown(38) == true)) || ((isKeyDown(87) == true)))))) && ((controles == true)))){
this.dauphin.gotoAndStop("saute");
jump = false;
boost = true;
};
if ((((((((isKeyDown(39) == false)) && ((isKeyDown(68) == false)))) || ((controles == false)))) && (((this.dauphin.x - 2) > 20)))){
this.dauphin.x = (this.dauphin.x - 2);
};
};
if ((((isKeyDown(38) == false)) && ((isKeyDown(87) == false)))){
up = false;
};
if ((((isKeyDown(39) == false)) && ((isKeyDown(68) == false)))){
right = false;
};
if ((((isKeyDown(40) == false)) && ((isKeyDown(83) == false)))){
down = false;
};
if ((((isKeyDown(32) == false)) && (isKeyDown(13)))){
space = false;
};
if (plongeFini == false){
if ((this.dauphin.x - (itemSpd * (1 / 3))) > 20){
this.dauphin.x = (this.dauphin.x - (itemSpd * (1 / 3)));
} else {
this.dauphin.x = 20;
};
};
if (((!((this.zone == "nuit"))) && ((this.bg.bg1.i > 0)))){
this.bg.bg1.x = (this.bg.bg1.x - vitesseBg1);
distanceBg1 = (distanceBg1 + vitesseBg1);
if (distanceBg1 >= (680 + this.bg.bg1[("bg" + this.bg.bg1.i)].width)){
this.bg.bg1.x = (this.bg.bg1.x + distanceBg1);
distanceBg1 = 0;
this.bg.bg1.gotoAndPlay("fin");
};
};
if (this.bg.bg2.i > 0){
this.bg.bg2.x = (this.bg.bg2.x - vitesseBg2);
distanceBg2 = (distanceBg2 + vitesseBg2);
if (distanceBg2 >= (680 + this.bg.bg2[("bg" + this.bg.bg2.i)].width)){
this.bg.bg2.x = (this.bg.bg2.x + distanceBg2);
distanceBg2 = 0;
this.bg.bg2.gotoAndPlay("fin");
};
};
if (this.bg.bg3.i > 0){
this.bg.bg3.x = (this.bg.bg3.x - vitesseBg3);
distanceBg3 = (distanceBg3 + vitesseBg3);
if (distanceBg3 >= (680 + this.bg.bg3[("bg" + this.bg.bg3.i)].width)){
this.bg.bg3.x = (this.bg.bg3.x + distanceBg3);
distanceBg3 = 0;
this.bg.bg3.gotoAndPlay("fin");
};
};
}
public function chVague():void{
compteEtoiles = 0;
MyGlobal.vague = (MyGlobal.vague + 1);
passeItems = this[("passeItems" + MyGlobal.vague)];
itemsCollect = 0;
pourcent = 0;
MovieClip(parent).menuJeu.itemsC.text = 0;
MovieClip(parent).menuJeu.progression.gotoAndStop(1);
if (MyGlobal.vague == 1){
totalItems = 25;
longTableau = 290;
};
if (MyGlobal.vague == 2){
totalItems = 45;
longTableau = 448;
};
if (MyGlobal.vague == 3){
totalItems = 50;
longTableau = 480;
};
if (MyGlobal.vague == 4){
totalItems = 50;
longTableau = 400;
};
if (MyGlobal.vague == 5){
totalItems = 65;
longTableau = 544;
};
if (MyGlobal.vague == 6){
totalItems = 67;
longTableau = 509;
};
if (MyGlobal.vague == 7){
totalItems = 75;
longTableau = 650;
};
if (MyGlobal.vague == 8){
totalItems = 75;
longTableau = 561;
};
if (MyGlobal.vague == 9){
totalItems = 80;
longTableau = 705;
};
if (MyGlobal.vague == 10){
totalItems = 100;
longTableau = 754;
};
if (MyGlobal.vague == 11){
totalItems = 95;
longTableau = 703;
};
if (MyGlobal.vague == 12){
totalItems = 102;
longTableau = 587;
};
if (MyGlobal.vague == 13){
totalItems = 105;
longTableau = 661;
};
if (MyGlobal.vague == 14){
totalItems = 105;
longTableau = 540;
};
if (MyGlobal.vague == 15){
totalItems = 100;
longTableau = 646;
};
if (MyGlobal.vague == 16){
totalItems = 109;
longTableau = 609;
};
if (MyGlobal.vague == 17){
totalItems = 119;
longTableau = 735;
};
if (MyGlobal.vague == 18){
totalItems = 110;
longTableau = 736;
};
if (MyGlobal.vague == 19){
totalItems = 140;
longTableau = 691;
};
if (MyGlobal.vague == 20){
totalItems = 150;
longTableau = 724;
};
if (MyGlobal.vague == 21){
totalItems = 210;
longTableau = 1068;
};
this[("tableau" + MyGlobal.vague)].gotoAndPlay(2);
}
public function preMeduseSaut():void{
this.dauphin.saute.noEntFrame = true;
this.dauphin.saute.removeEventListener(Event.ENTER_FRAME, this.dauphin.saute.entFrame);
if (myTween3 != null){
myTween3.kill();
};
dauphinTombe = false;
dauphinBoost = false;
if (plongeFini == false){
plongeFini = true;
};
myTween8 = new TweenLite(this.dauphin, 10, {y:240, useFrames:true, onComplete:meduseSaut, overwrite:true, ease:Quad.easeOut, onUpdate:updateMed});
this.dauphin.saute.gotoAndPlay("meduseSaut");
}
public function spawnForme(_arg1:String, _arg2:int, _arg3:int):void{
if (_arg1 == "saut"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 160), _arg3);
newHx = (_arg2 + 160);
newHy = _arg3;
} else {
if (_arg1 == "sautM1"){
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 160), _arg3);
newHx = (_arg2 + 160);
newHy = _arg3;
} else {
if (_arg1 == "sautM5"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
newHx = (_arg2 + 135);
newHy = (_arg3 - 65);
} else {
if (_arg1 == "sautM45"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
newHx = (_arg2 + 135);
newHy = (_arg3 - 110);
} else {
if (_arg1 == "sautM145"){
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
newHx = (_arg2 + 135);
newHy = (_arg3 - 110);
} else {
if (_arg1 == "saut3"){
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
newHx = (_arg2 + 135);
newHy = (_arg3 - 65);
} else {
if (_arg1 == "diM3"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 30), (_arg3 - 50));
spawnage("etoileB", (_arg2 + 60), (_arg3 - 100));
spawnage("etoileB", (_arg2 + 90), (_arg3 - 150));
spawnage("etoileB", (_arg2 + 120), (_arg3 - 200));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 250));
spawnage("etoileB", (_arg2 + 180), (_arg3 - 300));
spawnage("etoileB", (_arg2 + 210), (_arg3 - 350));
spawnage("etoileB", (_arg2 + 240), (_arg3 - 400));
spawnage("etoileB", (_arg2 + 270), (_arg3 - 450));
newHx = (_arg2 + 270);
newHy = (_arg3 - 450);
} else {
if (_arg1 == "diM2"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 30), (_arg3 - 50));
spawnage("etoileB", (_arg2 + 60), (_arg3 - 100));
spawnage("etoileB", (_arg2 + 90), (_arg3 - 150));
spawnage("etoileB", (_arg2 + 120), (_arg3 - 200));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 250));
newHx = (_arg2 + 150);
newHy = (_arg3 - 250);
} else {
if (_arg1 == "medM"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 5), (_arg3 - 90));
spawnage("etoileB", (_arg2 + 15), (_arg3 - 170));
spawnage("etoileB", (_arg2 + 30), (_arg3 - 240));
spawnage("etoileB", (_arg2 + 50), (_arg3 - 300));
spawnage("etoileB", (_arg2 + 75), (_arg3 - 350));
spawnage("etoileB", (_arg2 + 110), (_arg3 - 390));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 420));
spawnage("etoileB", (_arg2 + 200), (_arg3 - 440));
spawnage("etoileB", (_arg2 + 270), (_arg3 - 450));
newHx = (_arg2 + 270);
newHy = (_arg3 - 450);
} else {
if (_arg1 == "medMM10"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 5), (_arg3 - 90));
spawnage("etoileB", (_arg2 + 15), (_arg3 - 170));
spawnage("etoileB", (_arg2 + 30), (_arg3 - 240));
spawnage("etoileB", (_arg2 + 50), (_arg3 - 300));
spawnage("etoileB", (_arg2 + 75), (_arg3 - 350));
spawnage("etoileB", (_arg2 + 110), (_arg3 - 390));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 420));
spawnage("etoileB", (_arg2 + 200), (_arg3 - 440));
newHx = (_arg2 + 270);
newHy = (_arg3 - 450);
} else {
if (_arg1 == "ligneX"){
spawnage("etoileB", (_arg2 + 0), _arg3);
spawnage("etoileB", (_arg2 + 50), _arg3);
spawnage("etoileB", (_arg2 + 100), _arg3);
spawnage("etoileB", (_arg2 + 150), _arg3);
spawnage("etoileB", (_arg2 + 200), _arg3);
spawnage("etoileB", (_arg2 + 250), _arg3);
newHx = (_arg2 + 250);
newHy = _arg3;
} else {
if (_arg1 == "ligneXM1"){
spawnage("etoileB", (_arg2 + 50), _arg3);
spawnage("etoileB", (_arg2 + 100), _arg3);
spawnage("etoileB", (_arg2 + 150), _arg3);
spawnage("etoileB", (_arg2 + 200), _arg3);
spawnage("etoileB", (_arg2 + 250), _arg3);
newHx = (_arg2 + 250);
newHy = _arg3;
} else {
if (_arg1 == "ligneY"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", _arg2, (_arg3 + 50));
spawnage("etoileB", _arg2, (_arg3 + 100));
spawnage("etoileB", _arg2, (_arg3 + 150));
spawnage("etoileB", _arg2, (_arg3 + 200));
newHx = _arg2;
newHy = (_arg3 + 200);
} else {
if (_arg1 == "zigzag1"){
spawnage("etoileB", _arg2, 280);
spawnage("etoileB", (_arg2 + 100), 380);
spawnage("etoileB", (_arg2 + 200), 280);
newHx = (_arg2 + 200);
newHy = 280;
if (_arg3 >= 4){
spawnage("etoileB", (_arg2 + 300), 380);
newHx = (_arg2 + 300);
newHy = 380;
};
if (_arg3 >= 5){
spawnage("etoileB", (_arg2 + 400), 280);
newHx = (_arg2 + 400);
newHy = 280;
};
if (_arg3 >= 6){
spawnage("etoileB", (_arg2 + 500), 380);
newHx = (_arg2 + 500);
newHy = 380;
};
} else {
if (_arg1 == "zigzag2"){
spawnage("etoileB", _arg2, 380);
spawnage("etoileB", (_arg2 + 100), 280);
spawnage("etoileB", (_arg2 + 200), 380);
newHx = (_arg2 + 200);
newHy = 380;
if (_arg3 >= 4){
spawnage("etoileB", (_arg2 + 300), 280);
newHx = (_arg2 + 300);
newHy = 280;
};
if (_arg3 >= 5){
spawnage("etoileB", (_arg2 + 400), 380);
newHx = (_arg2 + 400);
newHy = 380;
};
if (_arg3 >= 6){
spawnage("etoileB", (_arg2 + 500), 280);
newHx = (_arg2 + 500);
newHy = 280;
};
} else {
if (_arg1 == "feuille"){
spawnage("etoileB", (_arg2 + 0), _arg3);
spawnage("etoileB", (_arg2 + 50), (_arg3 - 5));
spawnage("etoileB", (_arg2 + 100), (_arg3 - 15));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 30));
spawnage("etoileB", (_arg2 + 200), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 250), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 300), (_arg3 - 160));
newHx = (_arg2 + 300);
newHy = (_arg3 - 160);
} else {
if (_arg1 == "roundDive"){
spawnage("etoileB", (_arg2 + 0), _arg3);
spawnage("etoileB", (_arg2 + 40), (_arg3 + 15));
spawnage("etoileB", (_arg2 + 90), (_arg3 + 30));
spawnage("etoileB", (_arg2 + 130), (_arg3 + 65));
spawnage("etoileB", (_arg2 + 160), (_arg3 + 110));
spawnage("etoileB", (_arg2 + 175), (_arg3 + 160));
newHx = (_arg2 + 300);
newHy = (_arg3 + 160);
} else {
if (_arg1 == "eTrans"){
spawnage("etoileT", (_arg2 + 0), _arg3);
newHx = _arg2;
newHy = _arg3;
} else {
if (_arg1 == "espace"){
spawnage("espace", (newHx + _arg2), 230);
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function Boost():void{
this.dauphin.saute.noEntFrame = true;
dauphinTombe = false;
if (this.dauphin.y < 0){
dauphinBoost = true;
};
plongeFini = true;
myTween2 = new TweenLite(this.dauphin, 12, {x:"225", ease:Cubic.easeOut, useFrames:true, onUpdate:updateBoost, overwrite:true});
}
public function meduseSautComplete():void{
Tombe(false);
}
public function chZone():void{
if (eau_bg.frameName != zone){
MovieClip(parent).menuJeu.progression.fond.gotoAndStop(zone);
ciel.gotoAndStop(zone);
eau_bg.gotoAndStop(zone);
eau_over.gotoAndStop(zone);
ligne_eau.c1.gotoAndStop(zone);
eau_bg.masque1.gotoAndPlay(1);
masque2.gotoAndPlay(1);
ligne_eau.gotoAndPlay(1);
bg.gotoAndStop(zone);
if (zone == "nuit"){
dauphin.transform.colorTransform = new ColorTransform(0.7, 0.55, 0.7, 1, 0, 0, 0, 0);
};
};
}
public function updateTombe():void{
if (plongeFini == true){
if (!((!((this.dauphin.y == eau))) && (((this.dauphin.y + 20) < eau)))){
Splash();
myTween3.kill();
};
};
}
public function spawnage(_arg1:String, _arg2:int, _arg3:int):void{
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:int;
_local8 = 0;
if (_arg1 == "etoileB"){
compteEtoiles = (compteEtoiles + 1);
cntIt = (cntIt + 1);
_local4 = new EtoileJaune();
_local4.name = ("et_" + cntIt);
} else {
if (_arg1 == "etoileT"){
compteEtoiles = (compteEtoiles + 4);
_local8 = 1;
cntIt = (cntIt + 4);
_local4 = new EtoileTrans();
_local4.name = ("et_" + (cntIt - 3));
_local5 = new EtoileTrans2();
_local5.name = ("et_" + (cntIt - 2));
_local5.pos = 1;
_local5.x = (_arg2 + 33);
_local5.y = _arg3;
_local6 = new EtoileTrans2();
_local6.name = ("et_" + (cntIt - 1));
_local6.pos = 27;
_local6.x = (_arg2 + 33);
_local6.y = _arg3;
_local7 = new EtoileTrans2();
_local7.name = ("et_" + cntIt);
_local7.pos = 54;
_local7.x = (_arg2 + 33);
_local7.y = _arg3;
} else {
if (_arg1 == "espace"){
cntIt = (cntIt + 1);
_local4 = new Espace();
_local4.name = ("esp_" + cntIt);
} else {
if (_arg1 == "meduse"){
cntIt = (cntIt + 1);
_local4 = new Meduse();
_local4.name = ("med_" + cntIt);
} else {
if (_arg1 == "sonar"){
_local4 = new Sonar();
_local4.name = "sonar1";
} else {
if (_arg1 == "bouée"){
_local4 = new Bouée();
_local4.name = "bouée1";
newHx = 700;
newHy = 230;
};
};
};
};
};
};
_local4.x = _arg2;
_local4.y = _arg3;
addChildAt(_local4, (this.getChildIndex(dauphin) + _local8));
if (_local5 != null){
addChildAt(_local5, (this.getChildIndex(dauphin) + _local8));
};
if (_local6 != null){
addChildAt(_local6, (this.getChildIndex(dauphin) + _local8));
};
if (_local7 != null){
addChildAt(_local7, (this.getChildIndex(dauphin) + _local8));
};
}
public function checkKeysDown(_arg1:KeyboardEvent):void{
keyArray[_arg1.keyCode][1] = true;
if (controles == true){
if (((isKeyDown(38)) || (isKeyDown(87)))){
if ((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((up == false)))) && ((nombreSauts < maxSauts)))){
this.dauphin.saute.gotoAndPlay("saute2");
up = true;
MovieClip(root).sonsF("triple", false);
};
};
if (((isKeyDown(39)) || (isKeyDown(68)))){
if ((((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((right == false)))) && ((boost == true)))) && (((this.dauphin.y + 30) < eau)))){
this.dauphin.saute.gotoAndPlay("boost");
boost = false;
MovieClip(root).sonsF("boost", false);
};
right = true;
};
if (((isKeyDown(40)) || (isKeyDown(83)))){
if ((((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((down == false)))) && ((peutPlonger == true)))) && (((this.dauphin.y + 40) < eau)))){
this.dauphin.saute.gotoAndPlay("plonge");
peutPlonger = false;
plongeFini = false;
MovieClip(root).sonsF("boost", false);
};
down = true;
};
if (((isKeyDown(32)) || (isKeyDown(13)))){
if (peutSonar == true){
spawnage("sonar", (this.dauphin.x + 50), this.dauphin.y);
peutSonar = false;
MovieClip(root).sonsF("sonar", false);
};
};
};
}
}
}//package StarSplash_OML_fla
Section 125
//MainTimeline (StarSplash_OML_fla.MainTimeline)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import mochi.as3.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class MainTimeline extends MovieClip {
public var musique:String;
public var sceneMenu:MovieClip;
public var fondu:MovieClip;
public var urlStart:Number;
public var percent:Number;
public var xmlData:XML;
public var fadeFois;
public var i:int;
public var fadeFrames:uint;
public var preloader:MovieClip;
public var volumeValue:Number;
public var musicMC:musicMC_clip;
public var fadeFini:Boolean;
public var leMenu:ContextMenu;
public var snails:MovieClip;
public var mFade:String;
public var Star:Boolean;
public var sonMC:sonMC_clip;
public var LastDot:Number;
public var menuJeu:MovieClip;
public var domain:String;
public var maxVol:Number;
public var Hyves:Boolean;
public var qualitee:MovieClip;
public var mus_c:MovieClip;
public var urlEnd:Number;
public var pfixEnd:Number;
public var son_c:MovieClip;
public var Notice:MovieClip;
public var sons:String;
public var co_uk:Number;
public var snailsLogo:Boolean;
public var menuItem1:ContextMenuItem;
public var local:Boolean;
public var fade_i:Number;
public var url:String;
public var lv:MovieClip;
public var point:String;
public var frameName:String;
public var fontList:Array;
public var Menu_c:MovieClip;
public var localMode:String;
public var devTexte:String;
public var com_cn:Number;
public var defaultItems:ContextMenuBuiltInItems;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 8, frame9, 10, frame11, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 19, frame20, 21, frame22, 29, frame30, 39, frame40, 50, frame51, 51, frame52);
}
public function preload(_arg1:Event):void{
var _local2:uint;
_local2 = 1;
while (_local2 < 9) {
this.preloader.BAR.bx[("b" + _local2)].gotoAndPlay((this.preloader.BAR.bx[("b" + _local2)].currentFrame + 1));
if (this.preloader.BAR.bx[("b" + _local2)].currentFrame == this.preloader.BAR.bx[("b" + _local2)].totalFrames){
this.preloader.BAR.bx[("b" + _local2)].gotoAndPlay(1);
};
_local2++;
};
percent = Math.floor(((this.loaderInfo.bytesLoaded * 100) / this.loaderInfo.bytesTotal));
if (percent > (this.preloader.BAR.currentFrame + 2)){
this.preloader.BAR.play();
} else {
this.preloader.BAR.gotoAndStop(percent);
};
if ((((percent >= 100)) && ((Star == false)))){
this.preloader.BAR.removeEventListener(Event.ENTER_FRAME, preload);
this.play();
} else {
if ((((percent >= 100)) && ((Star == true)))){
this.preloader.BAR.removeEventListener(Event.ENTER_FRAME, preload);
this.preloader.gotoAndPlay("fini");
};
};
}
public function handle_btnMoreGames(_arg1:String):void{
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink(_arg1)), "_blank");
}
function frame14(){
if (local == true){
this.Notice.visible = false;
} else {
urlStart = (url.indexOf("://") + 3);
urlEnd = url.indexOf("/", urlStart);
domain = url.substring(urlStart, urlEnd);
LastDot = (domain.lastIndexOf(".") - 1);
pfixEnd = (domain.lastIndexOf(".", LastDot) + 1);
domain = domain.substring(pfixEnd, domain.length);
if ((((domain == "snailsanimation.com")) || ((domain == "onemorelevel.com")))){
this.Notice.visible = false;
this.play();
} else {
stop();
this.Notice.visible = true;
};
};
}
function frame16(){
stop();
}
function frame15(){
musique = "on";
sons = "on";
maxVol = 0.6;
volumeValue = 0;
fadeFois = 0;
fadeFini = false;
sonMC = new sonMC_clip();
this.addChild(sonMC);
musicMC = new musicMC_clip();
this.addChild(musicMC);
stage.addEventListener(KeyboardEvent.KEY_DOWN, checkQuality);
}
function frame2(){
stop();
this.preloader.BAR.addEventListener(Event.ENTER_FRAME, preload);
}
function frame1(){
xmlData = <LocalisedText><textItem identifier="PlayBtnMenu"><en_us>Play</en_us><en_uk>Play</en_uk><nl>Spelen</nl><fr>Jouer</fr><de>Spielen</de><es>Jugar</es><br>Jogar</br><pt>Jogar</pt><it>Gioca</it><se>Spela</se><pl>Graj</pl><ru>Играть</ru><id>Mainkan</id><ar>Play</ar><jp>Play</jp><cn>Play</cn><es_mx>Jugar</es_mx><es_ar>Jugar</es_ar></textItem><textItem identifier="MoreGamesBtnMenu"><en_us>More Games</en_us><en_uk>More Games</en_uk><nl>Meer spelletjes</nl><fr>Plus de jeux</fr><de>Mehr Spiele</de><es>Más juegos</es><br>Mais jogos</br><pt>Mais jogos</pt><it>Più giochi</it><se>Fler spel</se><pl>Wiecej gier</pl><ru>Другие игры</ru><id>Game Lainnya</id><ar>More Games</ar><jp>More Games</jp><cn>More Games</cn><es_mx>Más juegos</es_mx><es_ar>Más juegos</es_ar></textItem><textItem identifier="CreditsBtnMenu"><en_us>Credits</en_us><en_uk>Credits</en_uk><nl>De makers</nl><fr>Crédits</fr><de>Credits</de><es>Créditos</es><br>Créditos</br><pt>Créditos</pt><it>Riconoscimenti</it><se>Tacklista</se><pl>Autorzy</pl><ru>Авторы</ru><id>Kredit</id><ar>Credits</ar><jp>Credits</jp><cn>Credits</cn><es_mx>Créditos</es_mx><es_ar>Créditos</es_ar></textItem><textItem identifier="DevCredits"><en_us>Developer:</en_us><en_uk>Developer:</en_uk><nl>Ontwikkelaar:</nl><fr>Développeur :</fr><de>Entwickler:</de><es>Desarrollador:</es><br>Desenvolvedor:</br><pt>Programador:</pt><it>Sviluppatore </it><se>Utvecklare:</se><pl>Developer:</pl><ru>Разработчик:</ru><id>Pengembang:</id><ar>Developer:</ar><jp>Developer:</jp><cn>Developer:</cn><es_mx>Desarrollador:</es_mx><es_ar>Desarrollador:</es_ar></textItem><textItem identifier="SponsorCredits"><en_us>Sponsor:</en_us><en_uk>Sponsor:</en_uk><nl>Sponsor:</nl><fr>Sponsor :</fr><de>Sponsor:</de><es>Patrocinador:</es><br>Patrocinador:</br><pt>Patrocinador:</pt><it>Sponsor:</it><se>Sponsor:</se><pl>Sponsor:</pl><ru>Спонсор:</ru><id>Sponsor:</id><ar>Sponsor:</ar><jp>Sponsor:</jp><cn>Sponsor:</cn><es_mx>Patrocinador:</es_mx><es_ar>Auspiciante:</es_ar></textItem><textItem identifier="MusicCredits"><en_us>Music:</en_us><en_uk>Music:</en_uk><nl>Muziek:</nl><fr>Musique :</fr><de>Musik:</de><es>Música:</es><br>Música:</br><pt>Música:</pt><it>Musica:</it><se>Musik:</se><pl>Muzyka:</pl><ru>Музыка:</ru><id>Musik:</id><ar>Music:</ar><jp>Music:</jp><cn>Music:</cn><es_mx>Música:</es_mx><es_ar>Música:</es_ar></textItem><textItem identifier="SoundsCredits"><en_us>Sound FX:</en_us><en_uk>Sound FX:</en_uk><nl>Geluid:</nl><fr>Effets sonores :</fr><de>Soundeffekte:</de><es>Efectos sonido:</es><br>Efeitos sonoros:</br><pt>Efeitos sonoros:</pt><it>Effetti audio:</it><se>Ljudeffekter:</se><pl>Dzwieki FX:</pl><ru>Звук:</ru><id>Efek Suara:</id><ar>Sound FX:</ar><jp>Sound FX:</jp><cn>Sound FX:</cn><es_mx>Efectos de sonido:</es_mx><es_ar>Efectos de sonido:</es_ar></textItem><textItem identifier="BackBtnCredits"><en_us>Back</en_us><en_uk>Back</en_uk><nl>Terug</nl><fr>Retour</fr><de>Zurück</de><es>Atrás</es><br>Voltar</br><pt>Voltar</pt><it>Indietro</it><se>Tillbaka</se><pl>Powrót</pl><ru>Назад</ru><id>Kembali</id><ar>Back</ar><jp>Back</jp><cn>Back</cn><es_mx>Atrás</es_mx><es_ar>Atrás</es_ar></textItem><textItem identifier="LvPres"><en_us>Level [x]</en_us><en_uk>Level [x]</en_uk><nl>Level [x]</nl><fr>Niveau [x]</fr><de>Level [x]</de><es>Nivel [x]</es><br>Fase [x]</br><pt>Nível [x]</pt><it>Livello [x]</it><se>Nivå [x]</se><pl>Poziom [x]</pl><ru>Уровень [x]</ru><id>Level [x]</id><ar>Level [x]</ar><jp>Level [x]</jp><cn>Level [x]</cn><es_mx>Nivel [x]</es_mx><es_ar>Nivel [x]</es_ar></textItem><textItem identifier="StarsPres"><en_us>Collect [x] stars</en_us><en_uk>Collect [x] stars</en_uk><nl>Verzamel [x] sterren</nl><fr>Collecte [x] étoiles</fr><de>Sammle [x] Sterne</de><es>Recoge [x] estrellas</es><br>Pegue [x] estrelas</br><pt>Apanha [x] estrelas</pt><it>Prendi [x] stelle</it><se>Samla [x] stjärnor</se><pl>Zbierz [x] gwiazdek</pl><ru>Собери [x] звезд</ru><id>Kumpulkan [x] bintang</id><ar>Collect [x] stars</ar><jp>Collect [x] stars</jp><cn>Collect [x] stars</cn><es_mx>Recoge [x] estrellas</es_mx><es_ar>Juntá [x] estrellas</es_ar></textItem><textItem identifier="MovesPres"><en_us>Acrobatics</en_us><en_uk>Acrobatics</en_uk><nl>Acrobatiek</nl><fr>Acrobaties</fr><de>Akrobatik</de><es>Movimientos</es><br>Truques</br><pt>Truques</pt><it>Acrobazie</it><se>Akrobatik</se><pl>Akrobacje</pl><ru>Акробатика</ru><id>Akrobatik</id><ar>Acrobatics</ar><jp>Acrobatics</jp><cn>Acrobatics</cn><es_mx>Acrobacias</es_mx><es_ar>Acrobacias</es_ar></textItem><textItem identifier="WaterPres"><en_us>In the water:</en_us><en_uk>In the water:</en_uk><nl>Waterstunts:</nl><fr>Dans l'eau :</fr><de>Wasserkunststücke:</de><es>Acrobacias acuáticas:</es><br>Acrobacias aquáticas:</br><pt>Acrobacias na água:</pt><it>Acrobazie in acqua:</it><se>Vattentrick:</se><pl>Triki w wodzie:</pl><ru>Трюки в воде:</ru><id>Pertunjukan air:</id><ar>In the water:</ar><jp>In the water:</jp><cn>In the water:</cn><es_mx>Proezas acuáticas:</es_mx><es_ar>Acrobacias acuáticas:</es_ar></textItem><textItem identifier="Air1Pres"><en_us>In the air, after a jump:</en_us><en_uk>In the air, after a jump:</en_uk><nl>Luchtstunts:</nl><fr>Dans les airs, après un saut:</fr><de>Luftkunststücke:</de><es>Acrobacias aéreas:</es><br>Acrobacias aéreas:</br><pt>Acrobacias no ar:</pt><it>Acrobazie in aria:</it><se>Lufttrick:</se><pl>Triki w powietrzu:</pl><ru>Трюки в воздухе:</ru><id>Pertunjukan udara:</id><ar>In the air, after a jump:</ar><jp>In the air, after a jump:</jp><cn>In the air, after a jump:</cn><es_mx>Proezas aéreas:</es_mx><es_ar>Acrobacias aéreas:</es_ar></textItem><textItem identifier="Air2Pres"><en_us>In the air, after a jump (more):</en_us><en_uk>In the air, after a jump (more):</en_uk><nl>Luchtstunts:</nl><fr>Dans les airs, après un saut: (suite):</fr><de>Luftkunststücke:</de><es>Acrobacias aéreas:</es><br>Acrobacias aéreas:</br><pt>Acrobacias no ar:</pt><it>Acrobazie in aria:</it><se>Lufttrick:</se><pl>Triki w powietrzu:</pl><ru>Трюки в воздухе:</ru><id>Pertunjukan udara:</id><ar>In the air, after a jump (more):</ar><jp>In the air, after a jump (more):</jp><cn>In the air, after a jump (more):</cn><es_mx>Proezas aéreas:</es_mx><es_ar>Acrobacias aéreas:</es_ar></textItem><textItem identifier="AnyPres"><en_us>In any situation:</en_us><en_uk>In any situation:</en_uk><nl>Stunts:</nl><fr>En tout temps :</fr><de>Kunststücke:</de><es>Acrobacias:</es><br>Acrobacias:</br><pt>Acrobacias:</pt><it>Acrobazie:</it><se>Trick:</se><pl>Triki:</pl><ru>Трюки:</ru><id>Pertunjukan:</id><ar>In any situation:</ar><jp>In any situation:</jp><cn>In any situation:</cn><es_mx>Proezas:</es_mx><es_ar>Movimientos:</es_ar></textItem><textItem identifier="Move1Pres"><en_us>Swim</en_us><en_uk>Swim</en_uk><nl>Zwemmen</nl><fr>Nager</fr><de>Schwimmen</de><es>Nadar</es><br>Nadar</br><pt>Nadar</pt><it>Nuota</it><se>Simma</se><pl>Pływanie</pl><ru>Плыть</ru><id>Berenang</id><ar>Swim</ar><jp>Swim</jp><cn>Swim</cn><es_mx>Nadar</es_mx><es_ar>Nadar</es_ar></textItem><textItem identifier="Move2Pres"><en_us>Double Jump</en_us><en_uk>Double Jump</en_uk><nl>Dubbele sprong</nl><fr>Double saut</fr><de>Doppelsprung</de><es>Salto doble</es><br>Pulo Duplo</br><pt>Duplo Salto</pt><it>Doppio salto</it><se>Dubbelhopp</se><pl>Podwójny skok</pl><ru>Двойной прыжок</ru><id>Lompat Ganda</id><ar>Double Jump</ar><jp>Double Jump</jp><cn>Double Jump</cn><es_mx>Doble salto</es_mx><es_ar>Salto doble</es_ar></textItem><textItem identifier="Move3Pres"><en_us>Dash</en_us><en_uk>Dash</en_uk><nl>Sprint</nl><fr>Impulsion</fr><de>Blitzsprung</de><es>Sprint</es><br>Impulso</br><pt>Sprint</pt><it>Sprint</it><se>Rusa</se><pl>Zryw w przód</pl><ru>Рывок</ru><id>Menerjang</id><ar>Dash</ar><jp>Dash</jp><cn>Dash</cn><es_mx>Arremeter</es_mx><es_ar>Embestida</es_ar></textItem><textItem identifier="Move4Pres"><en_us>Dive</en_us><en_uk>Dive</en_uk><nl>Duik</nl><fr>Plongeon</fr><de>Tauchen</de><es>Buceo</es><br>Mergulho</br><pt>Mergulho</pt><it>Tuffo</it><se>Dyka</se><pl>Nurkowanie</pl><ru>Нырок</ru><id>Menyelam</id><ar>Dive</ar><jp>Dive</jp><cn>Dive</cn><es_mx>Sumergirse</es_mx><es_ar>Bucear</es_ar></textItem><textItem identifier="Move5Pres"><en_us>Triple Jump</en_us><en_uk>Triple Jump</en_uk><nl>Driedubbele sprong</nl><fr>Triple saut</fr><de>Dreifachsprung</de><es>Salto triple</es><br>Pulo Triplo</br><pt>Triplo Salto</pt><it>Triplo salto</it><se>Trippelhopp</se><pl>Potrójny skok</pl><ru>Тройной прыжок</ru><id>Lompat Lipat Tiga</id><ar>Triple Jump</ar><jp>Triple Jump</jp><cn>Triple Jump</cn><es_mx>Triple salto</es_mx><es_ar>Salto triple</es_ar></textItem><textItem identifier="Move6Pres"><en_us>Dead Leaf</en_us><en_uk>Dead Leaf</en_uk><nl>Zweefvlucht</nl><fr>Feuille morte</fr><de>Gleiten</de><es>Planeo</es><br>Planeio</br><pt>Planar</pt><it>Planata</it><se>Glidhopp</se><pl>Slizg</pl><ru>Парение</ru><id>Melayang</id><ar>Dead Leaf</ar><jp>Dead leaf</jp><cn>Dead Leaf</cn><es_mx>Planear</es_mx><es_ar>Planear</es_ar></textItem><textItem identifier="Move7Pres"><en_us>Rounded Dive</en_us><en_uk>Rounded Dive</en_uk><nl>Aflopende duik</nl><fr>Plongeon arrondi</fr><de>Rundsprung</de><es>Buceo en círculo</es><br>Cambalhota</br><pt>Mortal</pt><it>Tuffo arrotondato</it><se>Dyka i båge</se><pl>Nurkowanie po okregu</pl><ru>Плавный нырок</ru><id>Putaran Menyelam</id><ar>Rounded Dive</ar><jp>Rounded Dive</jp><cn>Rounded Dive</cn><es_mx>Inmersión curva</es_mx><es_ar>Inmersión curva</es_ar></textItem><textItem identifier="Move8Pres"><en_us>Sonar</en_us><en_uk>Sonar</en_uk><nl>Sonar</nl><fr>Sonar</fr><de>Sonar</de><es>Sónar</es><br>Sonar</br><pt>Sonar</pt><it>Onda sonora</it><se>Ekolod</se><pl>Sonar</pl><ru>Сонар</ru><id>Sonar</id><ar>Sonar</ar><jp>Sonar</jp><cn>Sonar</cn><es_mx>Sónar</es_mx><es_ar>Sonar</es_ar></textItem><textItem identifier="Move1Desc"><en_us>Use the arrow keys to swim. If you swim to the surface, you'll automatically jump.</en_us><en_uk>Use the arrow keys to swim. If you swim to the surface, you will automatically jump.</en_uk><nl>Gebruik de pijltjestoetsen om te zwemmen. Als je naar boven zwemt, spring je vanzelf.</nl><fr>Utilise les flèches directionnelles pour nager. Si tu montes à la surface, tu sauteras automatiquement.</fr><de>Benutze die Pfeiltasten zum Schwimmen. Wenn du an die Oberfläche schwimmst, springst du automatisch.</de><es>Utiliza las teclas de flecha para nadar. Si nadas hacia la superficie, saltarás automáticamente.</es><br>Use as teclas de direção para nadar. Quando você toca na superfície, saltará automaticamente.</br><pt>Usa as setas para nadar. Se chegares à superfície, saltarás automaticamente.</pt><it>Usa i tasti freccia per nuotare. Se nuoti in superficie salterai automaticamente.</it><se>Simma med hjälp av piltangenterna. Om du simmar till ytan hoppar du automatiskt.</se><pl>Użyj klawiszy strzałek, aby pływać. Jeśli płyniesz w kierunku powierzchni, automatycznie wykonasz skok.</pl><ru>Плыви, используя стрелки. Подплыв к поверхности, ты автоматически прыгнешь.</ru><id>Gunakan tombol-tombol bertanda panah untuk berenang. Jika kamu berenang ke permukaan, kamu akan secara otomatis melompat.</id><ar>Use the arrow keys to swim. If you swim to the surface, you'll automatically jump.</ar><jp>Use the arrow keys to swim. If you swim to the surface, you'll automatically jump.</jp><cn>Use the arrow keys to swim. If you swim to the surface, you'll automatically jump.</cn><es_mx>Usa las teclas direccionales para nadar. Si nadas en la superficie, saltarás automáticamente.</es_mx><es_ar>Usá las teclas de flecha para nadar. Si nadas hasta la superficie, vas a saltar automáticamente.</es_ar></textItem><textItem identifier="Move2Desc"><en_us>Press Up while in the air for a double jump.</en_us><en_uk>Press Up when airborne for a double jump.</en_uk><nl>Druk in de lucht op het pijltje omhoog voor een dubbele sprong.</nl><fr>Appuie sur la flèche du haut une fois en l'air pour faire un double saut.</fr><de>Drücke die Pfeiltaste nach oben für einen Doppelsprung.</de><es>Pulsa Arriba estando en el aire para dar un salto doble.</es><br>Pressione para cima para realizar um pulo duplo.</br><pt>Prime Cima no ar para executares um duplo salto.</pt><it>Premi Su mentre sei in aria per fare un doppio salto.</it><se>Tryck pil upp i luften för dubbelhopp.</se><pl>Naciśnij strzałkę w górę, kiedy będziesz w powietrzu, aby wykonać podwójny skok.</pl><ru>Находясь в воздухе, нажми стрелку вверх для двойного прыжка.</ru><id>Tekan Atas ketika di udara untuk melompat ganda.</id><ar>Press Up while in the air for a double jump.</ar><jp>Press Up while in the air for a double jump.</jp><cn>Press Up while in the air for a double jump.</cn><es_mx>Pulsa la tecla hacia arriba cuando estés en el aire para un salto doble.</es_mx><es_ar>Presioná Arriba en el aire para hacer un salto doble.</es_ar></textItem><textItem identifier="Move3Desc"><en_us>Press Right for a quick dash forward. </en_us><en_uk>Press Right for a quick dash forward. </en_uk><nl>Druk op het pijltje naar rechts voor een sprint.</nl><fr>Appuie sur la flèche de droite pour t'élancer rapidement en avant.</fr><de>Drücke die rechte Pfeiltaste für einen schnellen Blitzsprung nach vorn.</de><es>Pulsa Derecha para hacer un sprint rápido hacia adelante.</es><br>Pressione para direita para um impulso rápido. </br><pt>Prime Direita para um sprint rápido para a frente. </pt><it>Premi Destra per fare uno sprint veloce in avanti.</it><se>Tryck pil höger för att rusa framåt.</se><pl>Naciśnij strzałkę w prawo, aby wykonać szybki zryw w przód.</pl><ru>Нажми стрелку вправо для быстрого рывка вперед.</ru><id>Tekan Kanan untuk maju menerjang dengan cepat.</id><ar>Press Right for a quick dash forward. </ar><jp>Press Right for a quick dash forward. </jp><cn>Press Right for a quick dash forward. </cn><es_mx>Pulsa la tecla hacia la derecha para arremeter rápidamente.</es_mx><es_ar>Presioná Derecha para hacer un embestida rápida hacia delante.</es_ar></textItem><textItem identifier="Move4Desc"><en_us>Press Down for a vertical plunge into the water.</en_us><en_uk>Press Down for a vertical plunge into the water.</en_uk><nl>Druk op het pijltje omlaag voor een verticale duik in het water.</nl><fr>Appuie sur la flèche du bas pour faire un plongeon à la verticale.</fr><de>Drücke die Pfeiltaste nach unten, um senkrecht ins Wasser einzutauchen.</de><es>Pulsa Abajo para zambullirte en vertical en el agua.</es><br>Pressione para baixo para um mergulho vertical.</br><pt>Prime Baixo para um mergulho na vertical.</pt><it>Premi Giù per fare un tuffo verticale in acqua.</it><se>Tryck pil ned för ett lodrätt dyk ner i vattnet.</se><pl>Naciśnij strzałkę w dół, aby wykonać pionowy skok do wody.</pl><ru>Нажми стрелку вниз для вертикального нырка в воду.</ru><id>Tekan Bawah untuk sebuah terjun vertikal ke dalam air.</id><ar>Press Down for a vertical plunge into the water.</ar><jp>Press Down for a vertical plunge into the water.</jp><cn>Press Down for a vertical plunge into the water.</cn><es_mx>Pulsa la tecla hacia abajo para lograr sumergirte verticalmente.</es_mx><es_ar>Presioná abajo para una sumergida vertical en el agua.</es_ar></textItem><textItem identifier="Move5Desc"><en_us>Press Up twice while in the air for a triple jump.</en_us><en_uk>Press Up twice when airborne for a triple jump.</en_uk><nl>Druk in de lucht 2x op het pijltje omhoog voor een driedubbele sprong.</nl><fr>Une fois en l'air, appuie deux fois sur la flèche du haut pour un triple saut.</fr><de>Drücke zweimal die Pfeiltaste nach oben für einen Dreifachsprung.</de><es>Pulsa Arriba dos veces estando en el aire para dar un salto triple.</es><br>Pressione para cima duas vezes para realizar um pulo triplo.</br><pt>Prime Cima duas vezes no ar para executares um triplo salto.</pt><it>Premi due volte il tasto Su mentre sei in aria per fare un triplo salto.</it><se>Tryck pil upp två gånger i luften för ett trippelhopp.</se><pl>Naciśnij strzałkę w górę dwukrotnie, kiedy będziesz w powietrzu, aby wykonać potrójny skok.</pl><ru>Находясь в воздухе, нажми стрелку вверх дважды для тройного прыжка.</ru><id>Tekan Atas dua kali ketika di udara untuk sebuah lompat lipat tiga.</id><ar>Press Up twice while in the air for a triple jump.</ar><jp>Press Up twice while in the air for a triple jump.</jp><cn>Press Up twice while in the air for a triple jump.</cn><es_mx>Pulsa dos veces la tecla hacia arriba cuando estés en el aire para un triple salto.</es_mx><es_ar>Presioná Arriba dos veces en el aire para hacer un triple salto.</es_ar></textItem><textItem identifier="Move6Desc"><en_us>Press Right and then Up to glide.</en_us><en_uk>Press Right and then Up to glide.</en_uk><nl>Druk op het pijltje naar rechts en dan op omhoog voor een zweefvlucht.</nl><fr>Appuie sur la flèche de droite puis sur celle du haut pour réaliser ce saut.</fr><de>Drücke erst die rechte Pfeiltaste, dann die Pfeiltaste nach oben zum Gleiten.</de><es>Pulsa Derecha y Arriba para hacer un planeo.</es><br>Pressione para direita e depois para cima para realizar um planeio.</br><pt>Prime Direita e depois Cima para planares.</pt><it>Premi i tasti freccia Destra e poi Su per planare.</it><se>Tryck pil höger och sedan upp för att glidhoppa.</se><pl>Naciśnij strzałkę w prawo, a następnie strzałkę w górę, aby wykonać ślizg.</pl><ru>Нажми стрелку вправо, а затем вверх, чтобы выполнить парение.</ru><id>Tekan Kanan dan kemudian Atas untuk melayang.</id><ar>Press Right and then Up to glide.</ar><jp>Press Right and then Up to glide.</jp><cn>Press Right and then Up to glide.</cn><es_mx>Pulsa la tecla hacia la derecha y después hacia arriba para planear.</es_mx><es_ar>Presioná derecha y luego Arriba para planear.</es_ar></textItem><textItem identifier="Move7Desc"><en_us>Press Right and then Down for a rounded dive.</en_us><en_uk>Press Right and then Down for a rounded dive.</en_uk><nl>Druk op het pijltje naar rechts en dan op omlaag voor een aflopende duik.</nl><fr>Appuie sur la flèche de droite puis sur celle du bas pour faire une plongée arrondie.</fr><de>Drücke erst die rechte Pfeiltaste, dann die Pfeiltaste nach unten für einen Rundsprung.</de><es>Pulsa Derecha y Abajo para hacer un buceo en círculo.</es><br>Pressione para direita e depois para baixo para realizar uma cambalhota.</br><pt>Prime Direita e depois Baixo para executares um mortal.</pt><it>Premi i tasti freccia Destra e poi Giù per fare un tuffo arrotondato.</it><se>Tryck pil höger och sedan ned för att dyka i en båge. </se><pl>Naciśnij strzałkę w prawo, a następnie strzałkę w dół, aby wykonać nurkowanie po okręgu.</pl><ru>Нажми стрелку вправо, а затем вниз, чтобы выполнить плавный нырок.</ru><id>Tekan Kanan dan kemudian Bawah untuk sebuah putaran menyelam.</id><ar>Press Right and then Down for a rounded dive.</ar><jp>Press Right and then Down for a rounded dive.</jp><cn>Press Right and then Down for a rounded dive.</cn><es_mx>Pulsa la tecla hacia la derecha y después hacia abajo para dar una curva sumergirte.</es_mx><es_ar>Presioná derecha y luego abajo para una inmersión curva.</es_ar></textItem><textItem identifier="Move8Desc"><en_us>Press Space to shoot a sonar wave. Use it to catch special stars!</en_us><en_uk>Press Space to shoot a sonar wave. Use it to catch special stars!</en_uk><nl>Druk op de spatiebalk voor een sonargolf. Gebruik deze stunt om sterren te verzamelen!</nl><fr>Appuie sur Espace pour lancer une onde sonar. Utilise la pour collecter des étoiles spéciales!</fr><de>Drücke die Leertaste, um Schallwellen zu erzeugen. Benutze dieses Kunststück zum Sammeln von Sternen!</de><es>Pulsa Espacio para usar el sónar. Así podrás recoger estrellas.</es><br>Pressione Espaço para enviar uma onda de sonar. Use este truque para pegar as estrelas!</br><pt>Prime Espaço para enviares uma onda de sonar. Usa esta acrobacia para apanhares estrelas!</pt><it>Premi Spazio per un'onda sonora. Usa quest'acrobazia per prendere stelle!</it><se>Tryck mellanslag för en ekolodsvåg. Använd den för att samla stjärnor!</se><pl>Naciśnij spację, aby użyć fali sonaru. Wykorzystaj ten trik, aby zbierać gwiazdki!</pl><ru>Нажимай пробел, чтобы использовать ультразвук. Это поможет собирать звезды!</ru><id>Tekan Spasi untuk gelombang sonar. Gunakan untuk menangkap bintang khusus!</id><ar>Press Space to shoot a sonar wave. Use it to catch special stars!</ar><jp>Press Space to shoot a sonar wave. Use it to catch special stars!</jp><cn>Press Space to shoot a sonar wave. Use it to catch special stars!</cn><es_mx>Pulsa la barra espaciadora para enviar una onda sonora. ¡Usa esta proeza para recoger estrellas!</es_mx><es_ar>Presioná Espacio para una onda de sonar. ¡Usala para juntar estrellas!</es_ar></textItem><textItem identifier="PracticeBtn"><en_us>Practice</en_us><en_uk>Practice</en_uk><nl>Oefenen</nl><fr>Entraînement</fr><de>Üben</de><es>Practicar</es><br>Treinamento</br><pt>Treinar</pt><it>Fai pratica</it><se>Öva</se><pl>Trening</pl><ru>Тренировка</ru><id>Latihan</id><ar>Practice</ar><jp>Practice</jp><cn>Practice</cn><es_mx>Practicar</es_mx><es_ar>Practicar</es_ar></textItem><textItem identifier="ReadyBtn"><en_us>Ready!</en_us><en_uk>Ready!</en_uk><nl>Klaar!</nl><fr>Prêt !</fr><de>Fertig!</de><es>¡Listo!</es><br>Preparado!</br><pt>A postos!</pt><it>Pronti!</it><se>Redo!</se><pl>Gotów!</pl><ru>Начнем!</ru><id>Siap!</id><ar>Ready!</ar><jp>Ready!</jp><cn>Ready!</cn><es_mx>¡Listo!</es_mx><es_ar>¡Listo!</es_ar></textItem><textItem identifier="LvResult1"><en_us>Level [x] – result</en_us><en_uk>Level [x] – result</en_uk><nl>Level [x]</nl><fr>Niveau [x] - résultat</fr><de>Level [x]</de><es>Nivel [x]</es><br>Fase [x]</br><pt>Nível [x]</pt><it>Livello [x]</it><se>Nivå [x]</se><pl>Poziom [x]</pl><ru>Уровень [x]</ru><id>Level [x]</id><ar>Level [x] – result</ar><jp>Level [x] – result</jp><cn>Level [x] – result</cn><es_mx>Nivel [x]</es_mx><es_ar>Nivel [x]</es_ar></textItem><textItem identifier="LvResult2"><en_us>Level [x] - practice</en_us><en_uk>Level [x] - practice</en_uk><nl>Oefenlevel [x]</nl><fr>Entraînement du niveau [x]</fr><de>Level [x] üben</de><es>Nivel de práctica [x]</es><br>Você treinou a fase [X]</br><pt>Treinaste no nível [X]</pt><it>Livello di pratica [x]</it><se>Övningsnivå [x]</se><pl>Trening poziomu [x]</pl><ru>Уровень [x] – тренировка</ru><id>Latihan Level [x]</id><ar>Level [x] - practice</ar><jp>Level [x] - practice</jp><cn>Level [x] - practice</cn><es_mx>Nivel de práctica [x]</es_mx><es_ar>Nivel de práctica [x]</es_ar></textItem><textItem identifier="StarsResult"><en_us>Stars</en_us><en_uk>Stars</en_uk><nl>Sterren</nl><fr>Étoiles </fr><de>Sterne</de><es>Estrellas</es><br>Estrelas</br><pt>Estrelas</pt><it>Stelle</it><se>Stjärnor</se><pl>Gwiazdki</pl><ru>Звезд</ru><id>Bintang</id><ar>Stars</ar><jp>Stars</jp><cn>Stars</cn><es_mx>Estrellas</es_mx><es_ar>Estrellas</es_ar></textItem><textItem identifier="NeededResult"><en_us>Target</en_us><en_uk>Target</en_uk><nl>Doel</nl><fr>Cible</fr><de>Ziel</de><es>Objetivo</es><br>Meta</br><pt>Objectivo</pt><it>Obiettivo</it><se>Mål</se><pl>Cel</pl><ru>Цель</ru><id>Sasaran</id><ar>Target</ar><jp>Target</jp><cn>Target</cn><es_mx>Objetivo</es_mx><es_ar>Objetivo</es_ar></textItem><textItem identifier="CollectedResult"><en_us>Collected</en_us><en_uk>Collected</en_uk><nl>Verzameld</nl><fr>Collecté</fr><de>Gesammelt</de><es>Recogidas</es><br>Coletadas</br><pt>Apanhadas</pt><it>Prese</it><se>Samlade</se><pl>Zebrano</pl><ru>Собрано</ru><id>Terkumpul</id><ar>Collected</ar><jp>Collected</jp><cn>Collected</cn><es_mx>Recogidas</es_mx><es_ar>Recogidas</es_ar></textItem><textItem identifier="Passed"><en_us>SUCCESS!</en_us><en_uk>SUCCESS!</en_uk><nl>FANTASTISCH!</nl><fr>SUCCÈS!</fr><de>ERFOLG!</de><es>¡SUPERADO!</es><br>SUCESSO!</br><pt>SUCESSO!</pt><it>SUCCESSO!</it><se>JÄTTEBRA!</se><pl>SUKCES!</pl><ru>ХОРОШО!</ru><id>SUKSES!</id><ar>SUCCESS!</ar><jp>SUCCESS!</jp><cn>SUCCESS!</cn><es_mx>¡BRAVO!</es_mx><es_ar>¡ÉXITO!</es_ar></textItem><textItem identifier="Perfect"><en_us>PERFECT!</en_us><en_uk>PERFECT!</en_uk><nl>PERFECT!</nl><fr>PARFAIT!</fr><de>PERFEKT!</de><es>¡PERFECTO!</es><br>PERFEITO!</br><pt>PERFEITO!</pt><it>PERFETTO!</it><se>PERFEKT!</se><pl>DOSKONALE!</pl><ru>СУПЕР!</ru><id>SEMPURNA!</id><ar>PERFECT!</ar><jp>PERFECT!</jp><cn>PERFECT!</cn><es_mx>¡PERFECTO!</es_mx><es_ar>¡PERFECTO!</es_ar></textItem><textItem identifier="WellDone"><en_us>Well done!</en_us><en_uk>Well done!</en_uk><nl>Goed gedaan!</nl><fr>Bien joué!</fr><de>Gut gemacht!</de><es>¡Muy bien!</es><br>Muito bem!</br><pt>Muito bem!</pt><it>Ben fatto!</it><se>Bra gjort!</se><pl>Swietnie!</pl><ru>Неплохо!</ru><id>Bagus!</id><ar>Well done!</ar><jp>Well done!</jp><cn>Well done!</cn><es_mx>¡Bien hecho!</es_mx><es_ar>¡Bien hecho!</es_ar></textItem><textItem identifier="NeedPractice"><en_us>Practice some more…</en_us><en_uk>Practice a little more…</en_uk><nl>Nog even oefenen...</nl><fr>Entraîne-toi encore…</fr><de>Übe noch etwas mehr…</de><es>Practica algo más…</es><br>Treine um pouco mais...</br><pt>Treina mais um pouco…</pt><it>Fai un po' più di pratica...</it><se>Öva lite mer ...</se><pl>Jeszcze troche pocwicz...</pl><ru>Потренируйся еще...</ru><id>Latihan lagi…</id><ar>Practice some more…</ar><jp>Practice some more…</jp><cn>Practice some more…</cn><es_mx>Necesitas más práctica...</es_mx><es_ar>Practicá un poco más…</es_ar></textItem><textItem identifier="GameOver"><en_us>Game Over</en_us><en_uk>Game Over</en_uk><nl>Game over</nl><fr>Partie terminée</fr><de>Game over</de><es>Fin del juego</es><br>Acabou</br><pt>Acabou</pt><it>Gioco finito</it><se>Game over</se><pl>Koniec gry</pl><ru>Конец игры</ru><id>Game Tamat</id><ar>Game Over</ar><jp>Game Over</jp><cn>Game Over</cn><es_mx>Fin del juego</es_mx><es_ar>Fin del juego</es_ar></textItem><textItem identifier="EndGameBtn"><en_us>Quit</en_us><en_uk>Quit</en_uk><nl>Stoppen</nl><fr>Quitter</fr><de>Verlassen</de><es>Salir</es><br>Sair</br><pt>Sair</pt><it>Esci</it><se>Avsluta</se><pl>Zakoncz</pl><ru>Выход</ru><id>Berhenti</id><ar>Quit</ar><jp>Quit</jp><cn>Quit</cn><es_mx>Salir</es_mx><es_ar>Salir</es_ar></textItem><textItem identifier="EndGameDesc"><en_us>Submit your score/Go to the menu</en_us><en_uk>Submit your score/Go to the menu</en_uk><nl>Verzend je score en ga terug naar het menu.</nl><fr>Envoyer le score/Retourner au Menu.</fr><de>Trage deine Punkte ein und kehre zum Menü zurück.</de><es>Envía tu puntuación y vuelve al menú.</es><br>Envie sua pontuação e retorne para o menu.</br><pt>Envia a tua pontuação e volta para o menu.</pt><it>Invia il tuo punteggio e torna al menu.</it><se>Skicka din poäng och återvänd till menyn.</se><pl>Zapisz swój wynik i wróć do menu.</pl><ru>Сохранить счет и вернуться в меню.</ru><id>Kirim skormu dan kembali ke Menu.</id><ar>Submit your score/Go to the menu</ar><jp>Submit your score/Go to the menu</jp><cn>Submit your score/Go to the menu</cn><es_mx>Enviar tu puntaje y regresar al menú.</es_mx><es_ar>Envía tu puntaje y volvé al menú.</es_ar></textItem><textItem identifier="ContinueBtn"><en_us>Try Again</en_us><en_uk>Try Again</en_uk><nl>Opnieuw proberen</nl><fr>Réessayer</fr><de>Nochmal versuchen</de><es>Volver a intentarlo</es><br>Tente de novo</br><pt>Tenta outra vez</pt><it>Riprova</it><se>Försök igen</se><pl>Spróbuj ponownie</pl><ru>Еще раз</ru><id>Coba Lagi</id><ar>Try Again</ar><jp>Try Again</jp><cn>Try Again</cn><es_mx>Vuelve a intentarlo</es_mx><es_ar>Volvé a intentarlo</es_ar></textItem><textItem identifier="ContinueDesc"><en_us>This will reset your score.</en_us><en_uk>This will reset your score.</en_uk><nl>Hiermee wordt je score opnieuw ingesteld.</nl><fr>Cela remettra ton score à zéro.</fr><de>Hierdurch werden deine Punkte zurückgesetzt.</de><es>Tu puntuación se restablecerá.</es><br>Isso vai zerar sua pontuação.</br><pt>Isto vai reiniciar a tua pontuação.</pt><it>Questo azzererà il tuo punteggio.</it><se>Detta nollställer din poäng.</se><pl>To spowoduje zresetowanie twojego wyniku.</pl><ru>Твой результат будет стерт.</ru><id>Ini akan mereset skormu.</id><ar>This will reset your score.</ar><jp>This will reset your score.</jp><cn>This will reset your score.</cn><es_mx>Esto restablecerá tu puntaje.</es_mx><es_ar>Restablecerá tu puntaje.</es_ar></textItem><textItem identifier="EasyPassed"><en_us>Novice levels complete!</en_us><en_uk>Novice levels complete!</en_uk><nl>Beginnerslevels uitgespeeld!</nl><fr>Niveaux débutants réussis !</fr><de>Anfänger-Level beendet!</de><es>¡Niveles de principiante finalizados!</es><br>Fases de Iniciante concluídas!</br><pt>Níveis de principiante terminados!</pt><it>Livelli apprendista completi!</it><se>Nybörjarnivåer klarade!</se><pl>Ukonczono poziomy dla poczatkujacych!</pl><ru>Уровни для новичков пройдены!</ru><id>Level pemula selesai!</id><ar>Novice levels complete!</ar><jp>Novice levels complete!</jp><cn>Novice levels complete!</cn><es_mx>¡Niveles de novato completados!</es_mx><es_ar>¡Niveles de novato completados!</es_ar></textItem><textItem identifier="MediumPassed"><en_us>Intermediate levels complete!</en_us><en_uk>Intermediate levels complete!</en_uk><nl>Levels voor gevorderden voltooid!</nl><fr>Niveaux intermédiaires réussis !</fr><de>Fortgeschrittenen-Level beendet!</de><es>¡Niveles intermedios finalizados!</es><br>Fases de Intermédio concluídas!</br><pt>Níveis intermédios terminados!</pt><it>Livelli intermedi completi!</it><se>Medelsvåra nivåer klarade!</se><pl>Ukonczono poziomy dla sredniozaawansowanych!</pl><ru>Средние уровни пройдены!</ru><id>Level menengah selesai!</id><ar>Intermediate levels complete!</ar><jp>Intermediate levels complete!</jp><cn>Intermediate levels complete!</cn><es_mx>¡Niveles intermedios completados!</es_mx><es_ar>¡Niveles intermedios completados!</es_ar></textItem><textItem identifier="AdvancedPassed"><en_us>Advanced levels complete!</en_us><en_uk>Advanced levels complete!</en_uk><nl>Expertlevels voltooid!</nl><fr>Niveaux avancés réussis !</fr><de>Profi-Level beendet!</de><es>¡Niveles avanzados finalizados!</es><br>Fases de Avançado concluídas!</br><pt>Níveis avançados terminados!</pt><it>Livelli avanzati completi!</it><se>Avancerade nivåer klarade!</se><pl>Ukonczono poziomy dla zaawansowanych!</pl><ru>Сложные уровни пройдены!</ru><id>Level lanjut selesai!</id><ar>Advanced levels complete!</ar><jp>Advanced levels complete!</jp><cn>Advanced levels complete!</cn><es_mx>¡Niveles avanzados completados!</es_mx><es_ar>¡Niveles avanzados completados!</es_ar></textItem><textItem identifier="Congrats"><en_us>Congratulations!</en_us><en_uk>Congratulations!</en_uk><nl>Gefeliciteerd!</nl><fr>Félicitations !</fr><de>Glückwunsch!</de><es>¡Enhorabuena!</es><br>Parabéns!</br><pt>Parabéns!</pt><it>Complimenti!</it><se>Gratulerar!</se><pl>Gratulacje!</pl><ru>Поздравляем!</ru><id>Selamat!</id><ar>Congratulations!</ar><jp>Congratulations!</jp><cn>Congratulations!</cn><es_mx>¡Felicitaciones!</es_mx><es_ar>¡Felicitaciones!</es_ar></textItem><textItem identifier="GameCompleted"><en_us>Game complete!</en_us><en_uk>Game complete!</en_uk><nl>Spel uitgespeeld!</nl><fr>Jeu réussi !</fr><de>Spiel beendet!</de><es>¡Juego finalizado!</es><br>Você chegou ao final do jogo!</br><pt>Terminaste o jogo!</pt><it>Gioco completo!</it><se>Spelet klarat!</se><pl>Gra ukonczona!</pl><ru>Игра пройдена!</ru><id>Game selasai!</id><ar>Game complete!</ar><jp>Game complete!</jp><cn>Game complete!</cn><es_mx>¡Juego completado!</es_mx><es_ar>Nivel completado</es_ar></textItem><textItem identifier="FinalScore"><en_us>Final score</en_us><en_uk>Final score</en_uk><nl>Score</nl><fr>Score final</fr><de>Punkte</de><es>Puntuación</es><br>Pontuação</br><pt>Pontuação</pt><it>Punteggio</it><se>Poäng</se><pl>Wynik</pl><ru>Счет</ru><id>Skor</id><ar>Final score</ar><jp>Final score</jp><cn>Final score</cn><es_mx>Puntaje</es_mx><es_ar>Puntaje</es_ar></textItem><textItem identifier="FinalSubmit"><en_us>Submit</en_us><en_uk>Submit</en_uk><nl>Verzenden</nl><fr>Envoyer</fr><de>Eintragen</de><es>Enviar</es><br>Enviar</br><pt>Enviar</pt><it>Invia</it><se>Skicka</se><pl>Zapisz</pl><ru>Сохранить</ru><id>Kirim</id><ar>Submit</ar><jp>Submit</jp><cn>Submit</cn><es_mx>Enviar</es_mx><es_ar>Enviar</es_ar></textItem><textItem identifier="FinalPlayMore"><en_us>Play more skill games.</en_us><en_uk>Play more skill games.</en_uk><nl>Speel meer behendigheidsspelletjes.</nl><fr>Joue à plus de jeux d'adresse.</fr><de>Spiele mehr Geschicklichkeitsspiele.</de><es>Jugar a más juegos de habilidad.</es><br>Jogue mais jogos de perícia.</br><pt>Joga mais jogos de habilidade.</pt><it>Prova altri giochi di abilità.</it><se>Spela fler skicklighetsspel.</se><pl>Zagraj w więcej gier zręcznościowych.</pl><ru>Другие игры на ловкость</ru><id>Mainkan game keahlian lainnya.</id><ar>Play more skill games.</ar><jp>Play more skill games.</jp><cn>Play more skill games.</cn><es_mx>Juega más juegos de habilidad.</es_mx><es_ar>Jugar más juegos de habilidad.</es_ar></textItem><textItem identifier="FinalMenu"><en_us>Menu</en_us><en_uk>Menu</en_uk><nl>Menu</nl><fr>Menu</fr><de>Menü</de><es>Menú</es><br>Menu</br><pt>Menu</pt><it>Menu</it><se>Meny</se><pl>Menu</pl><ru>Меню</ru><id>Menu</id><ar>Menu</ar><jp>Menu</jp><cn>Menu</cn><es_mx>Menú</es_mx><es_ar>Menú</es_ar></textItem><textItem identifier="FinalPlayAgain"><en_us>Play Again</en_us><en_uk>Play Again</en_uk><nl>Opnieuw spelen</nl><fr>Rejouer</fr><de>Nochmal spielen</de><es>Volver a jugar</es><br>Jogar de novo</br><pt>Jogar outra vez</pt><it>Rigioca</it><se>Spela igen</se><pl>Zagraj ponownie</pl><ru>Еще раз</ru><id>Mainkan Lagi</id><ar>Play Again</ar><jp>Play Again</jp><cn>Play Again</cn><es_mx>Jugar de nuevo</es_mx><es_ar>Jugar de nuevo</es_ar></textItem><textItem identifier="MuteMusic"><en_us>Music</en_us><en_uk>Music</en_uk><nl>Muziek</nl><fr>Musique</fr><de>Musik</de><es>Música</es><br>Música</br><pt>Música</pt><it>Musica</it><se>Musik</se><pl>Muzyka</pl><ru>Музыка</ru><id>Musik</id><ar>Music</ar><jp>Music</jp><cn>Music</cn><es_mx>Música</es_mx><es_ar>Música</es_ar></textItem><textItem identifier="MuteSounds"><en_us>Sound FX</en_us><en_uk>Sound FX</en_uk><nl>Geluid</nl><fr>Effets sonores</fr><de>Soundeffekte</de><es>Efectos sonido</es><br>Efeitos sonoros</br><pt>Efeitos sonoros</pt><it>Effetti audio</it><se>Ljudeffekter</se><pl>Dźwięki FX</pl><ru>Звук</ru><id>Efek Suara</id><ar>Sound FX</ar><jp>Sound FX</jp><cn>Sound FX</cn><es_mx>Efectos de sonido</es_mx><es_ar>Efectos de sonido</es_ar></textItem><textItem identifier="Score"><en_us>SCORE</en_us><en_uk>SCORE</en_uk><nl>SCORE</nl><fr>SCORE</fr><de>PUNKTE</de><es>PUNTUACIÓN</es><br>PONTUAÇÃO</br><pt>PONTUAÇÃO</pt><it>PUNTEGGIO</it><se>POÄNG</se><pl>WYNIK</pl><ru>СЧЕТ
</ru><id>SKOR</id><ar>SCORE</ar><jp>SCORE</jp><cn>SCORE</cn><es_mx>PUNTAJE</es_mx><es_ar>PUNTAJE</es_ar></textItem><textItem identifier="Stars"><en_us>STARS</en_us><en_uk>STARS</en_uk><nl>STERREN</nl><fr>ÉTOILES</fr><de>STERNE</de><es>ESTRELLAS</es><br>ESTRELAS</br><pt>ESTRELAS</pt><it>STELLE</it><se>STJÄRNOR</se><pl>GWIAZDKI</pl><ru>ЗВЕЗД</ru><id>BINTANG</id><ar>STARS</ar><jp>STARS</jp><cn>STARS</cn><es_mx>ESTRELLAS</es_mx><es_ar>ESTRELLAS</es_ar></textItem></LocalisedText>
;
SpilGame.importXMLv2(xmlData);
trace("Language Data Succesfully included");
fontList = Font.enumerateFonts();
i = 0;
while (i < fontList.length) {
trace(fontList[i].fontName);
i++;
};
Languages.initialize();
Languages.getLanguage("ru").forceFont = "Arial Black";
Languages.getLanguage("ru").embedFonts = true;
SpilGame.initialize("Star_Splash", PortalGroup.GIRL, "Star-Splash.html", this, true);
Hyves = false;
SpilGame.currentLanguage = Languages.getLanguage("en_us");
quelleLangue();
localMode = Capabilities.playerType;
if (localMode == "StandAlone"){
stage.showDefaultContextMenu = false;
fscommand("allowscale", "true");
fscommand("trapallkeys", "true");
};
MyGlobal.langue = Capabilities.language;
chLangue();
leMenu = new ContextMenu();
leMenu.hideBuiltInItems();
defaultItems = leMenu.builtInItems;
defaultItems.quality = true;
menuItem1 = new ContextMenuItem(devTexte);
menuItem1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, devSite);
leMenu.customItems.push(menuItem1);
this.contextMenu = leMenu;
url = this.loaderInfo.url;
urlStart = (url.indexOf("://") + 3);
urlEnd = url.indexOf("/", urlStart);
domain = url.substring(urlStart, urlEnd);
co_uk = domain.lastIndexOf(".co.uk");
com_cn = domain.lastIndexOf(".com.cn");
if (co_uk != -1){
point = ".co.uk";
} else {
if (com_cn != -1){
point = ".com.cn";
} else {
point = ".";
};
};
LastDot = (domain.lastIndexOf(point) - 1);
pfixEnd = (domain.lastIndexOf(".", LastDot) + 1);
domain = domain.substring(pfixEnd, domain.length);
trace(("DOMAIN = " + domain));
snailsLogo = true;
if ((((((((((((domain == "agame.com")) || ((domain == "xiaoyouxi.cn")))) || ((domain == "game.com.cn")))) || ((domain == "game.asia")))) || ((domain == "spilgames.com")))) || ((domain == "kongregate.com")))){
Star = false;
} else {
Star = true;
};
Star = false;
if ((((((((((domain == "agame.com")) || ((domain == "xiaoyouxi.cn")))) || ((domain == "game.com.cn")))) || ((domain == "game.asia")))) || ((domain == "spilgames.com")))){
snailsLogo = false;
} else {
snailsLogo = true;
};
}
function frame3(){
play();
}
function frame13(){
MochiBot.track(this, "5e453ea8");
if ((((((((((domain == "agame.com")) || ((domain == "xiaoyouxi.cn")))) || ((domain == "game.com.cn")))) || ((domain == "game.asia")))) || ((domain == "spilgames.com")))){
} else {
MochiServices.connect("4b24aa62b8efe4e5", this);
};
local = false;
frameName = "splash";
}
function frame9(){
if (Star == true){
this.preloader.removeChild(this.preloader.adBox);
};
if (Hyves == true){
this.preloader.hyves2.removeEventListener(MouseEvent.CLICK, this.preloader.clickMoreGames);
};
}
function frame22(){
stop();
if (frameName != "menu"){
frameName = "menu";
this.fondu.gotoAndPlay("fadeIn");
};
this.snails.addEventListener(MouseEvent.CLICK, clickSNL);
if (MovieClip(root).snailsLogo == true){
this.snails.mouseEnabled = true;
} else {
this.snails.mouseEnabled = false;
};
}
function frame20(){
stage.quality = "MEDIUM";
}
function frame11(){
stop();
gotoAndPlay("splash", "Splash");
}
public function quelleLangue():String{
trace(("Langue = " + SpilGame.currentLanguage.name));
return (SpilGame.currentLanguage.name);
}
function frame30(){
stop();
}
function frame40(){
stop();
if (frameName != "menu"){
frameName = "menu";
this.fondu.gotoAndPlay("fadeIn");
};
this.snails.addEventListener(MouseEvent.CLICK, clickSNL);
if (MovieClip(root).snailsLogo == true){
this.snails.mouseEnabled = true;
} else {
this.snails.mouseEnabled = false;
};
}
public function musicF(_arg1:String, _arg2:uint, _arg3:String){
var musFade:Function;
var fade = _arg1;
var frames = _arg2;
var toune = _arg3;
musFade = function (_arg1:Event):void{
if (mFade == "in"){
if ((volumeValue + fade_i) < maxVol){
volumeValue = (volumeValue + fade_i);
};
if ((volumeValue + fade_i) >= maxVol){
volumeValue = maxVol;
fadeFini = true;
};
} else {
if (mFade == "out"){
if ((volumeValue - fade_i) > 0){
volumeValue = (volumeValue - fade_i);
};
if ((volumeValue - fade_i) <= 0){
musicMC.Menu1_ch.stop();
musicMC.lvl1_ch.stop();
musicMC.lvl2_ch.stop();
musicMC.lvl3_ch.stop();
volumeValue = 0;
fadeFini = true;
};
};
};
if (musique == "on"){
musicMC.Menu1_tr.volume = volumeValue;
musicMC.Menu1_ch.soundTransform = musicMC.Menu1_tr;
musicMC.lvl1_tr.volume = volumeValue;
musicMC.lvl1_ch.soundTransform = musicMC.lvl1_tr;
musicMC.lvl2_tr.volume = volumeValue;
musicMC.lvl2_ch.soundTransform = musicMC.lvl2_tr;
musicMC.lvl3_tr.volume = volumeValue;
musicMC.lvl3_ch.soundTransform = musicMC.lvl3_tr;
};
fadeFois = (fadeFois + 1);
if (fadeFini == true){
removeEventListener(Event.ENTER_FRAME, musFade);
};
};
fadeFois = 0;
fade_i = (this.maxVol / frames);
fadeFini = false;
fadeFrames = frames;
mFade = fade;
if ((((mFade == "no")) || ((mFade == "in")))){
musicMC.gotoAndStop(toune);
};
if (mFade != "no"){
addEventListener(Event.ENTER_FRAME, musFade);
};
}
public function clickSNL(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.snailsanimation.com"), "_blank");
}
function frame52(){
stop();
frameName = "jeu";
this.fondu.gotoAndPlay("fadeIn");
menuJeu.presTableau.nextPlace = "pres";
menuJeu.presTableau.gotoAndPlay("noir_in");
Menu_c = null;
}
function frame51(){
stop();
if (frameName != "menu"){
frameName = "menu";
};
}
public function checkQuality(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 81){
if (stage.quality == "MEDIUM"){
stage.quality = StageQuality.LOW;
this.qualitee.q_text.gotoAndPlay("low");
} else {
if (stage.quality == "LOW"){
stage.quality = StageQuality.BEST;
this.qualitee.q_text.gotoAndPlay("best");
} else {
if (stage.quality == "BEST"){
stage.quality = StageQuality.HIGH;
this.qualitee.q_text.gotoAndPlay("high");
} else {
if (stage.quality == "HIGH"){
stage.quality = StageQuality.MEDIUM;
this.qualitee.q_text.gotoAndPlay("medium");
};
};
};
};
};
}
public function devSite(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest("http://www.snailsanimation.com"), "_blank");
}
public function sonsF(_arg1:String, _arg2:Boolean):void{
var _local3:uint;
var _local4:uint;
if (this.sons == "on"){
if (_arg2 == false){
this.sonMC[(_arg1 + "")].gotoAndPlay(2);
} else {
if (_arg2 == true){
_local3 = this.sonMC[(_arg1 + "")].totalFrames;
_local4 = (Math.ceil((Math.random() * (_local3 - 1))) + 1);
this.sonMC[(_arg1 + "")].gotoAndStop(_local4);
};
};
};
}
public function chLangue():void{
if (MyGlobal.langue == "fr"){
devTexte = "Jeu fait par Snails Animation - Visitez notre site!";
} else {
if (MyGlobal.langue == "en"){
devTexte = "Game made by Snails Animation - Visit our website!";
} else {
if (MyGlobal.langue == "es"){
devTexte = "Juego hecho por Snails Animation - ¡Visita nuestro sitio web!";
} else {
MyGlobal.langue = "en";
devTexte = "Game made by Snails Animation - Visit our website!";
};
};
};
}
public function quelTexte(_arg1:String):String{
trace(("Texte = " + SpilGame.getString(_arg1)));
return (SpilGame.getString(_arg1));
}
}
}//package StarSplash_OML_fla
Section 126
//meduse_clip_308 (StarSplash_OML_fla.meduse_clip_308)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class meduse_clip_308 extends MovieClip {
public var touche:Boolean;
public function meduse_clip_308(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
touche = false;
}
function frame2(){
stop();
touche = true;
}
}
}//package StarSplash_OML_fla
Section 127
//meduse_spring_311 (StarSplash_OML_fla.meduse_spring_311)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class meduse_spring_311 extends MovieClip {
public function meduse_spring_311(){
addFrameScript(0, frame1, 1, frame2, 14, frame15, 26, frame27);
}
function frame15(){
MovieClip(parent).touche = false;
}
function frame1(){
MovieClip(parent).touche = true;
}
function frame2(){
MovieClip(root).sonsF("boing", false);
}
function frame27(){
stop();
}
}
}//package StarSplash_OML_fla
Section 128
//menu_barre_166 (StarSplash_OML_fla.menu_barre_166)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_barre_166 extends MovieClip {
public var fond:MovieClip;
public function menu_barre_166(){
addFrameScript(0, frame1, 299, frame300);
}
function frame1(){
stop();
}
function frame300(){
stop();
}
}
}//package StarSplash_OML_fla
Section 129
//menu_barre_calculateur_172 (StarSplash_OML_fla.menu_barre_calculateur_172)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_barre_calculateur_172 extends MovieClip {
public var total:uint;
public var percent:Number;
public var nombre:uint;
public function menu_barre_calculateur_172(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
if (MovieClip(root).lv[("tableau" + MyGlobal.vague)] != null){
nombre = MovieClip(root).lv[("tableau" + MyGlobal.vague)].currentFrame;
total = MovieClip(root).lv.longTableau;
percent = Math.floor(((nombre / total) * 300));
MovieClip(parent).gotoAndStop(percent);
};
play();
}
function frame2(){
gotoAndPlay(1);
}
}
}//package StarSplash_OML_fla
Section 130
//menu_barre_fonds_167 (StarSplash_OML_fla.menu_barre_fonds_167)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_barre_fonds_167 extends MovieClip {
public function menu_barre_fonds_167(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 131
//menu_btnBack_77 (StarSplash_OML_fla.menu_btnBack_77)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnBack_77 extends MovieClip {
public var hit:MovieClip;
public function menu_btnBack_77(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 132
//menu_btnBackText_78 (StarSplash_OML_fla.menu_btnBackText_78)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnBackText_78 extends MovieClip {
public var __id7_:LocalizedTextField;
public function menu_btnBackText_78(){
__setProp___id7__menu_btnBackText_Layer1_1();
}
function __setProp___id7__menu_btnBackText_Layer1_1(){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.text = "{BackBtnCredits}";
__id7_.textColor = 0xFFFFFF;
__id7_.textSize = 25;
__id7_.bold = false;
__id7_.disableWordwrap = false;
__id7_.embedFonts = true;
__id7_.font = "Porky's";
__id7_.hAlign = "center";
__id7_.multiline = false;
__id7_.vAlign = "middle";
__id7_.antiAliasType = "advanced";
__id7_.glowBlur = 3;
__id7_.glowColor = 0;
__id7_.useGlowFilter = false;
__id7_.glowQuality = 1;
__id7_.glowStrength = 5;
__id7_.gridFitType = "pixel";
__id7_.italic = false;
__id7_.selectable = false;
__id7_.underline = false;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 133
//menu_btnContinue_226 (StarSplash_OML_fla.menu_btnContinue_226)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnContinue_226 extends MovieClip {
public var hit:MovieClip;
public function menu_btnContinue_226(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 134
//menu_btnContinueText_227 (StarSplash_OML_fla.menu_btnContinueText_227)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnContinueText_227 extends MovieClip {
public var __id18_:LocalizedTextField;
public function menu_btnContinueText_227(){
__setProp___id18__menu_btnContinueText_Layer1_1();
}
function __setProp___id18__menu_btnContinueText_Layer1_1(){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.text = "{ContinueBtn}";
__id18_.textColor = 0xFFFFFF;
__id18_.textSize = 22;
__id18_.bold = false;
__id18_.disableWordwrap = false;
__id18_.embedFonts = true;
__id18_.font = "Porky's";
__id18_.hAlign = "center";
__id18_.multiline = false;
__id18_.vAlign = "middle";
__id18_.antiAliasType = "advanced";
__id18_.glowBlur = 3;
__id18_.glowColor = 0;
__id18_.useGlowFilter = false;
__id18_.glowQuality = 1;
__id18_.glowStrength = 5;
__id18_.gridFitType = "pixel";
__id18_.italic = false;
__id18_.selectable = false;
__id18_.underline = false;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 135
//menu_btnCredits_56 (StarSplash_OML_fla.menu_btnCredits_56)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnCredits_56 extends MovieClip {
public var hit:MovieClip;
public function menu_btnCredits_56(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 136
//menu_btnCreditsText_58 (StarSplash_OML_fla.menu_btnCreditsText_58)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnCreditsText_58 extends MovieClip {
public var __id0_:LocalizedTextField;
public function menu_btnCreditsText_58(){
__setProp___id0__menu_btnCreditsText_Layer1_1();
}
function __setProp___id0__menu_btnCreditsText_Layer1_1(){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.text = "{CreditsBtnMenu}";
__id0_.textColor = 0xFFFFFF;
__id0_.textSize = 22;
__id0_.bold = false;
__id0_.disableWordwrap = false;
__id0_.embedFonts = true;
__id0_.font = "Porky's";
__id0_.hAlign = "center";
__id0_.multiline = false;
__id0_.vAlign = "middle";
__id0_.antiAliasType = "advanced";
__id0_.glowBlur = 3;
__id0_.glowColor = 0;
__id0_.useGlowFilter = false;
__id0_.glowQuality = 1;
__id0_.glowStrength = 5;
__id0_.gridFitType = "pixel";
__id0_.italic = false;
__id0_.selectable = false;
__id0_.underline = false;
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 137
//menu_btnEndGame_228 (StarSplash_OML_fla.menu_btnEndGame_228)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnEndGame_228 extends MovieClip {
public var hit:MovieClip;
public function menu_btnEndGame_228(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 138
//menu_btnEndGameText_229 (StarSplash_OML_fla.menu_btnEndGameText_229)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnEndGameText_229 extends MovieClip {
public var __id19_:LocalizedTextField;
public function menu_btnEndGameText_229(){
__setProp___id19__menu_btnEndGameText_Layer1_1();
}
function __setProp___id19__menu_btnEndGameText_Layer1_1(){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.text = "{EndGameBtn}";
__id19_.textColor = 0xFFFFFF;
__id19_.textSize = 22;
__id19_.bold = false;
__id19_.disableWordwrap = false;
__id19_.embedFonts = true;
__id19_.font = "Porky's";
__id19_.hAlign = "center";
__id19_.multiline = false;
__id19_.vAlign = "middle";
__id19_.antiAliasType = "advanced";
__id19_.glowBlur = 3;
__id19_.glowColor = 0;
__id19_.useGlowFilter = false;
__id19_.glowQuality = 1;
__id19_.glowStrength = 5;
__id19_.gridFitType = "pixel";
__id19_.italic = false;
__id19_.selectable = false;
__id19_.underline = false;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 139
//menu_btnMenu_82 (StarSplash_OML_fla.menu_btnMenu_82)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnMenu_82 extends MovieClip {
public var hit:MovieClip;
public function menu_btnMenu_82(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 140
//menu_btnMenuText_83 (StarSplash_OML_fla.menu_btnMenuText_83)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnMenuText_83 extends MovieClip {
public var __id9_:LocalizedTextField;
public function menu_btnMenuText_83(){
__setProp___id9__menu_btnMenuText_Layer1_1();
}
function __setProp___id9__menu_btnMenuText_Layer1_1(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.text = "{FinalMenu}";
__id9_.textColor = 0xFFFFFF;
__id9_.textSize = 22;
__id9_.bold = false;
__id9_.disableWordwrap = false;
__id9_.embedFonts = true;
__id9_.font = "Porky's";
__id9_.hAlign = "center";
__id9_.multiline = false;
__id9_.vAlign = "middle";
__id9_.antiAliasType = "advanced";
__id9_.glowBlur = 3;
__id9_.glowColor = 0;
__id9_.useGlowFilter = false;
__id9_.glowQuality = 1;
__id9_.glowStrength = 5;
__id9_.gridFitType = "pixel";
__id9_.italic = false;
__id9_.selectable = false;
__id9_.underline = false;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 141
//menu_btnPlay_48 (StarSplash_OML_fla.menu_btnPlay_48)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnPlay_48 extends MovieClip {
public var hit:MovieClip;
public function menu_btnPlay_48(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 142
//menu_btnPlayText_49 (StarSplash_OML_fla.menu_btnPlayText_49)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnPlayText_49 extends MovieClip {
public var texte:LocalizedTextField;
public function menu_btnPlayText_49(){
__setProp_texte_menu_btnPlayText_Layer1_1();
}
function __setProp_texte_menu_btnPlayText_Layer1_1(){
try {
texte["componentInspectorSetting"] = true;
} catch(e:Error) {
};
texte.text = "{PlayBtnMenu}";
texte.textColor = 0xFFFFFF;
texte.textSize = 25;
texte.bold = false;
texte.disableWordwrap = false;
texte.embedFonts = true;
texte.font = "Porky's";
texte.hAlign = "center";
texte.multiline = false;
texte.vAlign = "middle";
texte.antiAliasType = "advanced";
texte.glowBlur = 3;
texte.glowColor = 0;
texte.useGlowFilter = false;
texte.glowQuality = 1;
texte.glowStrength = 5;
texte.gridFitType = "pixel";
texte.italic = false;
texte.selectable = false;
texte.underline = false;
try {
texte["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 143
//menu_btnPractice_282 (StarSplash_OML_fla.menu_btnPractice_282)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnPractice_282 extends MovieClip {
public var hit:MovieClip;
public function menu_btnPractice_282(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 144
//menu_btnPracticeText_283 (StarSplash_OML_fla.menu_btnPracticeText_283)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnPracticeText_283 extends MovieClip {
public var __id36_:LocalizedTextField;
public function menu_btnPracticeText_283(){
__setProp___id36__menu_btnPracticeText_Layer1_1();
}
function __setProp___id36__menu_btnPracticeText_Layer1_1(){
try {
__id36_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id36_.text = "{PracticeBtn}";
__id36_.textColor = 0xFFFFFF;
__id36_.textSize = 22;
__id36_.bold = false;
__id36_.disableWordwrap = false;
__id36_.embedFonts = true;
__id36_.font = "Porky's";
__id36_.hAlign = "center";
__id36_.multiline = false;
__id36_.vAlign = "middle";
__id36_.antiAliasType = "advanced";
__id36_.glowBlur = 3;
__id36_.glowColor = 0;
__id36_.useGlowFilter = false;
__id36_.glowQuality = 1;
__id36_.glowStrength = 5;
__id36_.gridFitType = "pixel";
__id36_.italic = false;
__id36_.selectable = false;
__id36_.underline = false;
try {
__id36_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 145
//menu_btnReady_280 (StarSplash_OML_fla.menu_btnReady_280)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnReady_280 extends MovieClip {
public var hit:MovieClip;
public function menu_btnReady_280(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 146
//menu_btnReadyText_281 (StarSplash_OML_fla.menu_btnReadyText_281)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnReadyText_281 extends MovieClip {
public var __id35_:LocalizedTextField;
public function menu_btnReadyText_281(){
__setProp___id35__menu_btnReadyText_Layer1_1();
}
function __setProp___id35__menu_btnReadyText_Layer1_1(){
try {
__id35_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id35_.text = "{ReadyBtn}";
__id35_.textColor = 0xFFFFFF;
__id35_.textSize = 22;
__id35_.bold = false;
__id35_.disableWordwrap = false;
__id35_.embedFonts = true;
__id35_.font = "Porky's";
__id35_.hAlign = "center";
__id35_.multiline = false;
__id35_.vAlign = "middle";
__id35_.antiAliasType = "advanced";
__id35_.glowBlur = 3;
__id35_.glowColor = 0;
__id35_.useGlowFilter = false;
__id35_.glowQuality = 1;
__id35_.glowStrength = 5;
__id35_.gridFitType = "pixel";
__id35_.italic = false;
__id35_.selectable = false;
__id35_.underline = false;
try {
__id35_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 147
//menu_btnStart_10 (StarSplash_OML_fla.menu_btnStart_10)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnStart_10 extends MovieClip {
public var hit:MovieClip;
public function menu_btnStart_10(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 148
//menu_btnSubmit_86 (StarSplash_OML_fla.menu_btnSubmit_86)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnSubmit_86 extends MovieClip {
public var hit:MovieClip;
public function menu_btnSubmit_86(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 149
//menu_btnSubmitText_87 (StarSplash_OML_fla.menu_btnSubmitText_87)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnSubmitText_87 extends MovieClip {
public var __id11_:LocalizedTextField;
public function menu_btnSubmitText_87(){
__setProp___id11__menu_btnSubmitText_Layer1_1();
}
function __setProp___id11__menu_btnSubmitText_Layer1_1(){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.text = "{FinalSubmit}";
__id11_.textColor = 0xFFFFFF;
__id11_.textSize = 25;
__id11_.bold = false;
__id11_.disableWordwrap = false;
__id11_.embedFonts = true;
__id11_.font = "Porky's";
__id11_.hAlign = "center";
__id11_.multiline = false;
__id11_.vAlign = "middle";
__id11_.antiAliasType = "advanced";
__id11_.glowBlur = 3;
__id11_.glowColor = 0;
__id11_.useGlowFilter = false;
__id11_.glowQuality = 1;
__id11_.glowStrength = 5;
__id11_.gridFitType = "pixel";
__id11_.italic = false;
__id11_.selectable = false;
__id11_.underline = false;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 150
//menu_btnTryAgain_84 (StarSplash_OML_fla.menu_btnTryAgain_84)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_btnTryAgain_84 extends MovieClip {
public var hit:MovieClip;
public function menu_btnTryAgain_84(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 151
//menu_btnTryAgainText_85 (StarSplash_OML_fla.menu_btnTryAgainText_85)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_btnTryAgainText_85 extends MovieClip {
public var __id10_:LocalizedTextField;
public function menu_btnTryAgainText_85(){
__setProp___id10__menu_btnTryAgainText_Layer1_1();
}
function __setProp___id10__menu_btnTryAgainText_Layer1_1(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.text = "{FinalPlayAgain}";
__id10_.textColor = 0xFFFFFF;
__id10_.textSize = 22;
__id10_.bold = false;
__id10_.disableWordwrap = false;
__id10_.embedFonts = true;
__id10_.font = "Porky's";
__id10_.hAlign = "center";
__id10_.multiline = false;
__id10_.vAlign = "middle";
__id10_.antiAliasType = "advanced";
__id10_.glowBlur = 3;
__id10_.glowColor = 0;
__id10_.useGlowFilter = false;
__id10_.glowQuality = 1;
__id10_.glowStrength = 5;
__id10_.gridFitType = "pixel";
__id10_.italic = false;
__id10_.selectable = false;
__id10_.underline = false;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 152
//menu_credits_70 (StarSplash_OML_fla.menu_credits_70)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_credits_70 extends MovieClip {
public var btnBack:MovieClip;
public var snails:MovieClip;
public function menu_credits_70(){
addFrameScript(0, frame1);
}
function frame1(){
this.snails.addEventListener(MouseEvent.CLICK, clickSNL);
if (MovieClip(root).snailsLogo == true){
this.snails.mouseEnabled = true;
} else {
this.snails.mouseEnabled = false;
};
}
public function clickSNL(_arg1:Event=null):void{
navigateToURL(new URLRequest("http://www.snailsanimation.com"), "_blank");
}
}
}//package StarSplash_OML_fla
Section 153
//menu_credits_c_69 (StarSplash_OML_fla.menu_credits_c_69)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_credits_c_69 extends MovieClip {
public var m:MovieClip;
public function menu_credits_c_69(){
addFrameScript(7, frame8, 15, frame16);
}
function frame16(){
stop();
MovieClip(parent).gotoAndPlay("menu");
}
function frame8(){
stop();
this.m.btnBack.addEventListener(MouseEvent.CLICK, clickBack);
}
public function clickBack(_arg1:Event=null):void{
this.m.btnBack.removeEventListener(MouseEvent.CLICK, clickBack);
this.play();
}
}
}//package StarSplash_OML_fla
Section 154
//menu_credits_snails_76 (StarSplash_OML_fla.menu_credits_snails_76)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_credits_snails_76 extends MovieClip {
public var hit:MovieClip;
public function menu_credits_snails_76(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.buttonMode = true;
this.mouseChildren = false;
this.hitArea = hit;
this.hit.visible = false;
}
}
}//package StarSplash_OML_fla
Section 155
//menu_creditsDevText_71 (StarSplash_OML_fla.menu_creditsDevText_71)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_creditsDevText_71 extends MovieClip {
public var __id2_:LocalizedTextField;
public function menu_creditsDevText_71(){
__setProp___id2__menu_creditsDevText_Layer1_1();
}
function __setProp___id2__menu_creditsDevText_Layer1_1(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.text = "{DevCredits}";
__id2_.textColor = 0xFFFFFF;
__id2_.textSize = 22;
__id2_.bold = false;
__id2_.disableWordwrap = false;
__id2_.embedFonts = true;
__id2_.font = "Futura BdCn BT";
__id2_.hAlign = "left";
__id2_.multiline = false;
__id2_.vAlign = "middle";
__id2_.antiAliasType = "advanced";
__id2_.glowBlur = 3;
__id2_.glowColor = 0;
__id2_.useGlowFilter = false;
__id2_.glowQuality = 1;
__id2_.glowStrength = 5;
__id2_.gridFitType = "pixel";
__id2_.italic = false;
__id2_.selectable = false;
__id2_.underline = false;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 156
//menu_creditsMusicText_73 (StarSplash_OML_fla.menu_creditsMusicText_73)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_creditsMusicText_73 extends MovieClip {
public var __id4_:LocalizedTextField;
public function menu_creditsMusicText_73(){
__setProp___id4__menu_creditsMusicText_Layer1_1();
}
function __setProp___id4__menu_creditsMusicText_Layer1_1(){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.text = "{MusicCredits}";
__id4_.textColor = 0xFFFFFF;
__id4_.textSize = 22;
__id4_.bold = false;
__id4_.disableWordwrap = false;
__id4_.embedFonts = true;
__id4_.font = "Futura BdCn BT";
__id4_.hAlign = "left";
__id4_.multiline = false;
__id4_.vAlign = "middle";
__id4_.antiAliasType = "advanced";
__id4_.glowBlur = 3;
__id4_.glowColor = 0;
__id4_.useGlowFilter = false;
__id4_.glowQuality = 1;
__id4_.glowStrength = 5;
__id4_.gridFitType = "pixel";
__id4_.italic = false;
__id4_.selectable = false;
__id4_.underline = false;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 157
//menu_creditsSoundsText_74 (StarSplash_OML_fla.menu_creditsSoundsText_74)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_creditsSoundsText_74 extends MovieClip {
public var __id5_:LocalizedTextField;
public function menu_creditsSoundsText_74(){
__setProp___id5__menu_creditsSoundsText_Layer1_1();
}
function __setProp___id5__menu_creditsSoundsText_Layer1_1(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.text = "{SoundsCredits}";
__id5_.textColor = 0xFFFFFF;
__id5_.textSize = 22;
__id5_.bold = false;
__id5_.disableWordwrap = false;
__id5_.embedFonts = true;
__id5_.font = "Futura BdCn BT";
__id5_.hAlign = "left";
__id5_.multiline = false;
__id5_.vAlign = "middle";
__id5_.antiAliasType = "advanced";
__id5_.glowBlur = 3;
__id5_.glowColor = 0;
__id5_.useGlowFilter = false;
__id5_.glowQuality = 1;
__id5_.glowStrength = 5;
__id5_.gridFitType = "pixel";
__id5_.italic = false;
__id5_.selectable = false;
__id5_.underline = false;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 158
//menu_creditsSponsorText_72 (StarSplash_OML_fla.menu_creditsSponsorText_72)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_creditsSponsorText_72 extends MovieClip {
public var __id3_:LocalizedTextField;
public function menu_creditsSponsorText_72(){
__setProp___id3__menu_creditsSponsorText_Layer1_1();
}
function __setProp___id3__menu_creditsSponsorText_Layer1_1(){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.text = "Playing at:";
__id3_.textColor = 0xFFFFFF;
__id3_.textSize = 22;
__id3_.bold = false;
__id3_.disableWordwrap = false;
__id3_.embedFonts = true;
__id3_.font = "Futura BdCn BT";
__id3_.hAlign = "left";
__id3_.multiline = false;
__id3_.vAlign = "middle";
__id3_.antiAliasType = "advanced";
__id3_.glowBlur = 3;
__id3_.glowColor = 0;
__id3_.useGlowFilter = false;
__id3_.glowQuality = 1;
__id3_.glowStrength = 5;
__id3_.gridFitType = "pixel";
__id3_.italic = false;
__id3_.selectable = false;
__id3_.underline = false;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 159
//menu_creditsText_75 (StarSplash_OML_fla.menu_creditsText_75)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_creditsText_75 extends MovieClip {
public var __id6_:LocalizedTextField;
public function menu_creditsText_75(){
__setProp___id6__menu_creditsText_Layer1_1();
}
function __setProp___id6__menu_creditsText_Layer1_1(){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.text = "{CreditsBtnMenu}";
__id6_.textColor = 0xFFFFFF;
__id6_.textSize = 30;
__id6_.bold = false;
__id6_.disableWordwrap = false;
__id6_.embedFonts = true;
__id6_.font = "Porky's";
__id6_.hAlign = "center";
__id6_.multiline = false;
__id6_.vAlign = "middle";
__id6_.antiAliasType = "advanced";
__id6_.glowBlur = 3;
__id6_.glowColor = 0;
__id6_.useGlowFilter = false;
__id6_.glowQuality = 1;
__id6_.glowStrength = 5;
__id6_.gridFitType = "pixel";
__id6_.italic = false;
__id6_.selectable = false;
__id6_.underline = false;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 160
//menu_level_238 (StarSplash_OML_fla.menu_level_238)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_level_238 extends MovieClip {
public var collect:MovieClip;
public var i:uint;
public var vague:MovieClip;
public function menu_level_238(){
addFrameScript(0, frame1);
}
function frame1(){
i = (MyGlobal.vague + 1);
vague.texte.text = MovieClip(parent.parent.parent.parent).quelTexte("LvPres");
vague.texte.text = vague.texte.text.split("[x]").join(i);
collect.texte.text = MovieClip(parent.parent.parent.parent).quelTexte("StarsPres");
collect.texte.text = collect.texte.text.split("[x]").join(MovieClip(root).lv[("passeItems" + i)]);
}
}
}//package StarSplash_OML_fla
Section 161
//menu_level_starsText_240 (StarSplash_OML_fla.menu_level_starsText_240)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_level_starsText_240 extends MovieClip {
public var texte:LocalizedTextField;
public function menu_level_starsText_240(){
__setProp_texte_menu_level_starsText_Layer1_1();
}
function __setProp_texte_menu_level_starsText_Layer1_1(){
try {
texte["componentInspectorSetting"] = true;
} catch(e:Error) {
};
texte.text = "Collect 150 stars";
texte.textColor = 0xFFFF00;
texte.textSize = 22;
texte.bold = false;
texte.disableWordwrap = false;
texte.embedFonts = true;
texte.font = "Futura BdCn BT";
texte.hAlign = "center";
texte.multiline = false;
texte.vAlign = "middle";
texte.antiAliasType = "advanced";
texte.glowBlur = 3;
texte.glowColor = 0;
texte.useGlowFilter = false;
texte.glowQuality = 1;
texte.glowStrength = 5;
texte.gridFitType = "pixel";
texte.italic = false;
texte.selectable = false;
texte.underline = false;
try {
texte["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 162
//menu_levelText_239 (StarSplash_OML_fla.menu_levelText_239)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_levelText_239 extends MovieClip {
public var texte:LocalizedTextField;
public function menu_levelText_239(){
__setProp_texte_menu_levelText_Layer1_1();
}
function __setProp_texte_menu_levelText_Layer1_1(){
try {
texte["componentInspectorSetting"] = true;
} catch(e:Error) {
};
texte.text = "Level [x]";
texte.textColor = 0xFFFFFF;
texte.textSize = 25;
texte.bold = false;
texte.disableWordwrap = false;
texte.embedFonts = true;
texte.font = "Porky's";
texte.hAlign = "center";
texte.multiline = false;
texte.vAlign = "middle";
texte.antiAliasType = "advanced";
texte.glowBlur = 3;
texte.glowColor = 0;
texte.useGlowFilter = false;
texte.glowQuality = 1;
texte.glowStrength = 5;
texte.gridFitType = "pixel";
texte.italic = false;
texte.selectable = false;
texte.underline = false;
try {
texte["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 163
//menu_menu_45 (StarSplash_OML_fla.menu_menu_45)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_menu_45 extends MovieClip {
public var btnCredits:MovieClip;
public var btnPlay:MovieClip;
public var nextPlace:String;
public function menu_menu_45(){
addFrameScript(0, frame1, 25, frame26, 32, frame33, 45, frame46, 46, frame47, 52, frame53);
}
public function clickPlay(_arg1:Event=null):void{
this.btnPlay.removeEventListener(MouseEvent.CLICK, clickPlay);
this.btnCredits.removeEventListener(MouseEvent.CLICK, clickCredits);
MovieClip(parent).snails.removeEventListener(MouseEvent.CLICK, MovieClip(parent).clickSNL);
this.btnPlay.mouseEnabled = false;
this.btnCredits.mouseEnabled = false;
MovieClip(parent).fondu.nextPlace = "jeu";
MovieClip(parent).fondu.nextScene1 = "Jeu";
MovieClip(parent).fondu.gotoAndPlay("fadeOut");
}
function frame1(){
nextPlace = null;
}
function frame26(){
this.btnPlay.mouseEnabled = false;
}
function frame33(){
this.btnCredits.mouseEnabled = false;
}
function frame47(){
this.btnPlay.removeEventListener(MouseEvent.CLICK, clickPlay);
this.btnCredits.removeEventListener(MouseEvent.CLICK, clickCredits);
this.btnPlay.mouseEnabled = false;
this.btnCredits.mouseEnabled = false;
}
function frame46(){
stop();
this.btnPlay.mouseEnabled = true;
this.btnCredits.mouseEnabled = true;
this.btnPlay.addEventListener(MouseEvent.CLICK, clickPlay);
this.btnCredits.addEventListener(MouseEvent.CLICK, clickCredits);
}
function frame53(){
stop();
MovieClip(parent).gotoAndPlay(nextPlace);
}
public function clickCredits(_arg1:Event=null):void{
this.btnPlay.removeEventListener(MouseEvent.CLICK, clickPlay);
this.btnCredits.removeEventListener(MouseEvent.CLICK, clickCredits);
nextPlace = "credits";
this.play();
}
}
}//package StarSplash_OML_fla
Section 164
//menu_moves_bg_241 (StarSplash_OML_fla.menu_moves_bg_241)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_bg_241 extends MovieClip {
public var b2:MovieClip;
public var b4:MovieClip;
public var b5:MovieClip;
public var b6:MovieClip;
public var b7:MovieClip;
public var b1:MovieClip;
public var b3:MovieClip;
public var b8:MovieClip;
public var t2:MovieClip;
public var t8:MovieClip;
public var t5:MovieClip;
public var i:uint;
public var j:uint;
public function menu_moves_bg_241(){
addFrameScript(0, frame1);
}
public function out(_arg1:Event=null):void{
_arg1.currentTarget.gotoAndStop(_arg1.currentTarget.couleur);
}
function frame1(){
stop();
j = (MyGlobal.vague + 1);
this.b1.vague = 1;
this.b2.vague = 2;
this.b3.vague = 3;
this.b4.vague = 4;
this.b8.vague = 6;
this.b5.vague = 8;
this.b6.vague = 18;
this.b7.vague = 21;
i = 1;
while (i < 9) {
this[("b" + i)].mouseChildren = false;
this[("b" + i)].addEventListener(MouseEvent.MOUSE_OVER, over);
this[("b" + i)].addEventListener(MouseEvent.MOUSE_OUT, out);
this[("b" + i)].couleur = 1;
if (this[("t" + i)] != null){
this[("t" + i)].visible = true;
};
if (this[("b" + i)].vague == j){
if (this[("t" + i)] != null){
this[("t" + i)].visible = true;
};
this[("b" + i)].couleur = 2;
this[("b" + i)].gotoAndStop(2);
} else {
if (this[("b" + i)].vague > j){
if (this[("t" + i)] != null){
this[("t" + i)].visible = false;
};
this[("b" + i)].visible = false;
};
};
i++;
};
}
public function over(_arg1:Event=null):void{
_arg1.currentTarget.gotoAndStop(3);
}
}
}//package StarSplash_OML_fla
Section 165
//menu_moves_bg_InWaterText_245 (StarSplash_OML_fla.menu_moves_bg_InWaterText_245)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_bg_InWaterText_245 extends MovieClip {
public var __id27_:LocalizedTextField;
public function menu_moves_bg_InWaterText_245(){
__setProp___id27__menu_moves_bg_InWaterText_Layer1_1();
}
function __setProp___id27__menu_moves_bg_InWaterText_Layer1_1(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{WaterPres}";
__id27_.textColor = 0xFFFFFF;
__id27_.textSize = 13;
__id27_.bold = false;
__id27_.disableWordwrap = false;
__id27_.embedFonts = true;
__id27_.font = "Futura BdCn BT";
__id27_.hAlign = "left";
__id27_.multiline = false;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "advanced";
__id27_.glowBlur = 3;
__id27_.glowColor = 0;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 1;
__id27_.glowStrength = 5;
__id27_.gridFitType = "pixel";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 166
//menu_moves_bg_titreText_279 (StarSplash_OML_fla.menu_moves_bg_titreText_279)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_bg_titreText_279 extends MovieClip {
public var __id34_:LocalizedTextField;
public function menu_moves_bg_titreText_279(){
__setProp___id34__menu_moves_bg_titreText_Layer1_1();
}
function __setProp___id34__menu_moves_bg_titreText_Layer1_1(){
try {
__id34_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id34_.text = "{MovesPres}";
__id34_.textColor = 0xFFFFFF;
__id34_.textSize = 25;
__id34_.bold = false;
__id34_.disableWordwrap = false;
__id34_.embedFonts = true;
__id34_.font = "Porky's";
__id34_.hAlign = "center";
__id34_.multiline = false;
__id34_.vAlign = "middle";
__id34_.antiAliasType = "advanced";
__id34_.glowBlur = 3;
__id34_.glowColor = 0;
__id34_.useGlowFilter = false;
__id34_.glowQuality = 1;
__id34_.glowStrength = 5;
__id34_.gridFitType = "pixel";
__id34_.italic = false;
__id34_.selectable = false;
__id34_.underline = false;
try {
__id34_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 167
//menu_moves_boost_259 (StarSplash_OML_fla.menu_moves_boost_259)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_boost_259 extends MovieClip {
public var texte:MovieClip;
public var b_up:MovieClip;
public var couleur:uint;
public function menu_moves_boost_259(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
texte.t1.textColor = 0xFFFFFF;
}
function frame2(){
stop();
texte.t1.textColor = 0xFFFF00;
}
}
}//package StarSplash_OML_fla
Section 168
//menu_moves_boostText_261 (StarSplash_OML_fla.menu_moves_boostText_261)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_boostText_261 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_boostText_261(){
__setProp_t1_menu_moves_boostText_Layer1_1();
}
function __setProp_t1_menu_moves_boostText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move3Pres}";
t1.textColor = 0xFFFFFF;
t1.textSize = 18;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Futura BdCn BT";
t1.hAlign = "left";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 169
//menu_moves_deadLeaf_268 (StarSplash_OML_fla.menu_moves_deadLeaf_268)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_deadLeaf_268 extends MovieClip {
public var texte:MovieClip;
public var b_up:MovieClip;
public var couleur:uint;
public function menu_moves_deadLeaf_268(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
texte.t1.textColor = 0xFFFFFF;
}
function frame2(){
stop();
texte.t1.textColor = 0xFFFF00;
}
}
}//package StarSplash_OML_fla
Section 170
//menu_moves_deadLeafText_270 (StarSplash_OML_fla.menu_moves_deadLeafText_270)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_deadLeafText_270 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_deadLeafText_270(){
__setProp_t1_menu_moves_deadLeafText_Layer1_1();
}
function __setProp_t1_menu_moves_deadLeafText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move6Pres}";
t1.textColor = 0xFFFFFF;
t1.textSize = 18;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Futura BdCn BT";
t1.hAlign = "left";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 171
//menu_moves_deadLeafText2_269 (StarSplash_OML_fla.menu_moves_deadLeafText2_269)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_deadLeafText2_269 extends MovieClip {
public var __id33_:LocalizedTextField;
public function menu_moves_deadLeafText2_269(){
__setProp___id33__menu_moves_deadLeafText2_Layer1_1();
}
function __setProp___id33__menu_moves_deadLeafText2_Layer1_1(){
try {
__id33_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id33_.text = "{Move6Desc}";
__id33_.textColor = 26367;
__id33_.textSize = 8;
__id33_.bold = true;
__id33_.disableWordwrap = false;
__id33_.embedFonts = true;
__id33_.font = "Arial";
__id33_.hAlign = "left";
__id33_.multiline = true;
__id33_.vAlign = "middle";
__id33_.antiAliasType = "advanced";
__id33_.glowBlur = 3;
__id33_.glowColor = 0;
__id33_.useGlowFilter = false;
__id33_.glowQuality = 1;
__id33_.glowStrength = 5;
__id33_.gridFitType = "pixel";
__id33_.italic = false;
__id33_.selectable = false;
__id33_.underline = false;
try {
__id33_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 172
//menu_moves_dive_262 (StarSplash_OML_fla.menu_moves_dive_262)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_dive_262 extends MovieClip {
public var texte:MovieClip;
public var b_up:MovieClip;
public var couleur:uint;
public function menu_moves_dive_262(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
texte.t1.textColor = 0xFFFFFF;
}
function frame2(){
stop();
texte.t1.textColor = 0xFFFF00;
}
}
}//package StarSplash_OML_fla
Section 173
//menu_moves_diveText_264 (StarSplash_OML_fla.menu_moves_diveText_264)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_diveText_264 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_diveText_264(){
__setProp_t1_menu_moves_diveText_Layer1_1();
}
function __setProp_t1_menu_moves_diveText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move4Pres}";
t1.textColor = 0xFFFFFF;
t1.textSize = 18;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Futura BdCn BT";
t1.hAlign = "left";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 174
//menu_moves_diveText2_263 (StarSplash_OML_fla.menu_moves_diveText2_263)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_diveText2_263 extends MovieClip {
public var __id31_:LocalizedTextField;
public function menu_moves_diveText2_263(){
__setProp___id31__menu_moves_diveText2_Layer1_1();
}
function __setProp___id31__menu_moves_diveText2_Layer1_1(){
try {
__id31_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id31_.text = "{Move4Desc}";
__id31_.textColor = 26367;
__id31_.textSize = 8;
__id31_.bold = true;
__id31_.disableWordwrap = false;
__id31_.embedFonts = true;
__id31_.font = "Arial";
__id31_.hAlign = "left";
__id31_.multiline = true;
__id31_.vAlign = "middle";
__id31_.antiAliasType = "advanced";
__id31_.glowBlur = 3;
__id31_.glowColor = 0;
__id31_.useGlowFilter = false;
__id31_.glowQuality = 1;
__id31_.glowStrength = 5;
__id31_.gridFitType = "pixel";
__id31_.italic = false;
__id31_.selectable = false;
__id31_.underline = false;
try {
__id31_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 175
//menu_moves_doubleBoostText2_260 (StarSplash_OML_fla.menu_moves_doubleBoostText2_260)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_doubleBoostText2_260 extends MovieClip {
public var __id30_:LocalizedTextField;
public function menu_moves_doubleBoostText2_260(){
__setProp___id30__menu_moves_doubleBoostText2_Layer1_1();
}
function __setProp___id30__menu_moves_doubleBoostText2_Layer1_1(){
try {
__id30_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id30_.text = "{Move3Desc}";
__id30_.textColor = 26367;
__id30_.textSize = 8;
__id30_.bold = true;
__id30_.disableWordwrap = false;
__id30_.embedFonts = true;
__id30_.font = "Arial";
__id30_.hAlign = "left";
__id30_.multiline = true;
__id30_.vAlign = "middle";
__id30_.antiAliasType = "advanced";
__id30_.glowBlur = 3;
__id30_.glowColor = 0;
__id30_.useGlowFilter = false;
__id30_.glowQuality = 1;
__id30_.glowStrength = 5;
__id30_.gridFitType = "pixel";
__id30_.italic = false;
__id30_.selectable = false;
__id30_.underline = false;
try {
__id30_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 176
//menu_moves_doubleJump_256 (StarSplash_OML_fla.menu_moves_doubleJump_256)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_doubleJump_256 extends MovieClip {
public var texte:MovieClip;
public var b_up:MovieClip;
public var couleur:uint;
public function menu_moves_doubleJump_256(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
texte.t1.textColor = 0xFFFFFF;
}
function frame2(){
stop();
texte.t1.textColor = 0xFFFF00;
}
}
}//package StarSplash_OML_fla
Section 177
//menu_moves_doubleJumpText_258 (StarSplash_OML_fla.menu_moves_doubleJumpText_258)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_doubleJumpText_258 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_doubleJumpText_258(){
__setProp_t1_menu_moves_doubleJumpText_Layer1_1();
}
function __setProp_t1_menu_moves_doubleJumpText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move2Pres}";
t1.textColor = 0xFFFFFF;
t1.textSize = 18;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Futura BdCn BT";
t1.hAlign = "left";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 178
//menu_moves_doubleJumpText2_257 (StarSplash_OML_fla.menu_moves_doubleJumpText2_257)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_doubleJumpText2_257 extends MovieClip {
public var __id29_:LocalizedTextField;
public function menu_moves_doubleJumpText2_257(){
__setProp___id29__menu_moves_doubleJumpText2_Layer1_1();
}
function __setProp___id29__menu_moves_doubleJumpText2_Layer1_1(){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.text = "{Move2Desc}";
__id29_.textColor = 26367;
__id29_.textSize = 8;
__id29_.bold = true;
__id29_.disableWordwrap = false;
__id29_.embedFonts = true;
__id29_.font = "Arial";
__id29_.hAlign = "left";
__id29_.multiline = true;
__id29_.vAlign = "middle";
__id29_.antiAliasType = "advanced";
__id29_.glowBlur = 3;
__id29_.glowColor = 0;
__id29_.useGlowFilter = false;
__id29_.glowQuality = 1;
__id29_.glowStrength = 5;
__id29_.gridFitType = "pixel";
__id29_.italic = false;
__id29_.selectable = false;
__id29_.underline = false;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 179
//menu_moves_roundDive_271 (StarSplash_OML_fla.menu_moves_roundDive_271)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_roundDive_271 extends MovieClip {
public var texte:MovieClip;
public var b_up:MovieClip;
public var couleur:uint;
public function menu_moves_roundDive_271(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
texte.t1.textColor = 0xFFFFFF;
}
function frame2(){
stop();
texte.t1.textColor = 0xFFFF00;
}
}
}//package StarSplash_OML_fla
Section 180
//menu_moves_RoundDiveText_273 (StarSplash_OML_fla.menu_moves_RoundDiveText_273)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_RoundDiveText_273 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_RoundDiveText_273(){
__setProp_t1_menu_moves_RoundDiveText_Layer1_1();
}
function __setProp_t1_menu_moves_RoundDiveText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move7Pres}";
t1.textColor = 0xFFFFFF;
t1.textSize = 18;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Futura BdCn BT";
t1.hAlign = "left";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 181
//menu_moves_roundDiveText2_272 (StarSplash_OML_fla.menu_moves_roundDiveText2_272)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_roundDiveText2_272 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_roundDiveText2_272(){
addFrameScript(0, frame1);
__setProp_t1_menu_moves_roundDiveText2_Layer1_1();
}
function frame1(){
if (MovieClip(parent.parent.parent.parent.parent.parent).quelleLangue() == "de"){
this.t1.textSize = 6;
};
}
function __setProp_t1_menu_moves_roundDiveText2_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move7Desc}";
t1.textColor = 26367;
t1.textSize = 8;
t1.bold = true;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Arial";
t1.hAlign = "left";
t1.multiline = true;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 182
//menu_moves_sonar_274 (StarSplash_OML_fla.menu_moves_sonar_274)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_sonar_274 extends MovieClip {
public var texte:MovieClip;
public var b_up:MovieClip;
public var couleur:uint;
public function menu_moves_sonar_274(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
texte.t1.textColor = 0xFFFFFF;
}
function frame2(){
stop();
texte.t1.textColor = 0xFFFF00;
}
}
}//package StarSplash_OML_fla
Section 183
//menu_moves_sonarText_277 (StarSplash_OML_fla.menu_moves_sonarText_277)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_sonarText_277 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_sonarText_277(){
__setProp_t1_menu_moves_sonarText_Layer1_1();
}
function __setProp_t1_menu_moves_sonarText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move8Pres}";
t1.textColor = 0xFFFFFF;
t1.textSize = 18;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Futura BdCn BT";
t1.hAlign = "left";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 184
//menu_moves_sonarText2_276 (StarSplash_OML_fla.menu_moves_sonarText2_276)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_sonarText2_276 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_sonarText2_276(){
addFrameScript(0, frame1);
__setProp_t1_menu_moves_sonarText2_Layer1_1();
}
function __setProp_t1_menu_moves_sonarText2_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move8Desc}";
t1.textColor = 26367;
t1.textSize = 8;
t1.bold = true;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Arial";
t1.hAlign = "left";
t1.multiline = true;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
if (MovieClip(parent.parent.parent.parent.parent.parent).quelleLangue() == "nl"){
this.t1.textSize = 6;
} else {
if (MovieClip(parent.parent.parent.parent.parent.parent).quelleLangue() == "id"){
this.t1.textSize = 6;
};
};
}
}
}//package StarSplash_OML_fla
Section 185
//menu_moves_swim_246 (StarSplash_OML_fla.menu_moves_swim_246)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_swim_246 extends MovieClip {
public var texte:MovieClip;
public var b_down:MovieClip;
public var b_up:MovieClip;
public var b_left:MovieClip;
public var couleur:uint;
public var b_right:MovieClip;
public function menu_moves_swim_246(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
texte.t1.textColor = 0xFFFFFF;
}
function frame2(){
stop();
texte.t1.textColor = 0xFFFF00;
}
}
}//package StarSplash_OML_fla
Section 186
//menu_moves_swimText_252 (StarSplash_OML_fla.menu_moves_swimText_252)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_swimText_252 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_swimText_252(){
__setProp_t1_menu_moves_swimText_Layer1_1();
}
function __setProp_t1_menu_moves_swimText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move1Pres}";
t1.textColor = 0xFFFFFF;
t1.textSize = 20;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Futura BdCn BT";
t1.hAlign = "left";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 187
//menu_moves_swimText2_251 (StarSplash_OML_fla.menu_moves_swimText2_251)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_swimText2_251 extends MovieClip {
public var __id28_:LocalizedTextField;
public function menu_moves_swimText2_251(){
__setProp___id28__menu_moves_swimText2_Layer1_1();
}
function __setProp___id28__menu_moves_swimText2_Layer1_1(){
try {
__id28_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id28_.text = "{Move1Desc}";
__id28_.textColor = 26367;
__id28_.textSize = 8;
__id28_.bold = true;
__id28_.disableWordwrap = false;
__id28_.embedFonts = true;
__id28_.font = "Arial";
__id28_.hAlign = "left";
__id28_.multiline = true;
__id28_.vAlign = "middle";
__id28_.antiAliasType = "advanced";
__id28_.glowBlur = 3;
__id28_.glowColor = 0;
__id28_.useGlowFilter = false;
__id28_.glowQuality = 1;
__id28_.glowStrength = 5;
__id28_.gridFitType = "pixel";
__id28_.italic = false;
__id28_.selectable = false;
__id28_.underline = false;
try {
__id28_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 188
//menu_moves_tripleJump_265 (StarSplash_OML_fla.menu_moves_tripleJump_265)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_moves_tripleJump_265 extends MovieClip {
public var texte:MovieClip;
public var b_up:MovieClip;
public var couleur:uint;
public function menu_moves_tripleJump_265(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
texte.t1.textColor = 0xFFFFFF;
}
function frame2(){
stop();
texte.t1.textColor = 0xFFFF00;
}
}
}//package StarSplash_OML_fla
Section 189
//menu_moves_tripleJumpText_267 (StarSplash_OML_fla.menu_moves_tripleJumpText_267)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_tripleJumpText_267 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_moves_tripleJumpText_267(){
__setProp_t1_menu_moves_tripleJumpText_Layer1_1();
}
function __setProp_t1_menu_moves_tripleJumpText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Move5Pres}";
t1.textColor = 0xFFFFFF;
t1.textSize = 18;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Futura BdCn BT";
t1.hAlign = "left";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 190
//menu_moves_tripleJumpText2_266 (StarSplash_OML_fla.menu_moves_tripleJumpText2_266)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_moves_tripleJumpText2_266 extends MovieClip {
public var __id32_:LocalizedTextField;
public function menu_moves_tripleJumpText2_266(){
__setProp___id32__menu_moves_tripleJumpText2_Layer1_1();
}
function __setProp___id32__menu_moves_tripleJumpText2_Layer1_1(){
try {
__id32_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id32_.text = "{Move5Desc}";
__id32_.textColor = 26367;
__id32_.textSize = 8;
__id32_.bold = true;
__id32_.disableWordwrap = false;
__id32_.embedFonts = true;
__id32_.font = "Arial";
__id32_.hAlign = "left";
__id32_.multiline = true;
__id32_.vAlign = "middle";
__id32_.antiAliasType = "advanced";
__id32_.glowBlur = 3;
__id32_.glowColor = 0;
__id32_.useGlowFilter = false;
__id32_.glowQuality = 1;
__id32_.glowStrength = 5;
__id32_.gridFitType = "pixel";
__id32_.italic = false;
__id32_.selectable = false;
__id32_.underline = false;
try {
__id32_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 191
//menu_pres__200 (StarSplash_OML_fla.menu_pres__200)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres__200 extends MovieClip {
public function menu_pres__200(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 192
//menu_pres_C_c_196 (StarSplash_OML_fla.menu_pres_C_c_196)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_C_c_196 extends MovieClip {
public function menu_pres_C_c_196(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 193
//menu_pres_E_c_198 (StarSplash_OML_fla.menu_pres_E_c_198)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_E_c_198 extends MovieClip {
public function menu_pres_E_c_198(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 194
//menu_pres_F_c_212 (StarSplash_OML_fla.menu_pres_F_c_212)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_F_c_212 extends MovieClip {
public function menu_pres_F_c_212(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 195
//menu_pres_gameover_223 (StarSplash_OML_fla.menu_pres_gameover_223)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_gameover_223 extends MovieClip {
public var btnContinue:MovieClip;
public var btnEndGame:MovieClip;
public var nextPlace:String;
public function menu_pres_gameover_223(){
addFrameScript(1, frame2, 54, frame55, 58, frame59, 69, frame70, 74, frame75);
}
function frame70(){
MovieClip(root).frameName = null;
}
function frame75(){
stop();
MovieClip(parent.parent.parent.parent).btnMoreGames.removeEventListener(MouseEvent.CLICK, MovieClip(parent.parent.parent.parent).clickMoreGames);
MovieClip(root).gotoAndPlay("result", "Menu");
}
public function clickContinue(_arg1:Event=null):void{
stage.removeEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
this.btnEndGame.removeEventListener(MouseEvent.CLICK, clickEndGame);
this.btnContinue.removeEventListener(MouseEvent.CLICK, clickContinue);
nextPlace = "continue";
MyGlobal.score = 0;
MovieClip(root).menuJeu.score.text = "0.00";
MovieClip(root).lv.itemsCollectAll = 0;
this.play();
}
function frame2(){
MovieClip(root).sonsF("gameOver", false);
}
public function clickEndGame(_arg1:Event=null):void{
stage.removeEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
this.btnContinue.removeEventListener(MouseEvent.CLICK, clickContinue);
this.btnEndGame.removeEventListener(MouseEvent.CLICK, clickEndGame);
nextPlace = "menu";
this.play();
}
function frame55(){
stop();
this.btnEndGame.focusRect = false;
this.btnContinue.focusRect = false;
stage.addEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
this.btnContinue.addEventListener(MouseEvent.CLICK, clickContinue);
this.btnEndGame.addEventListener(MouseEvent.CLICK, clickEndGame);
}
function frame59(){
if (nextPlace == "continue"){
stop();
MovieClip(root).lv.pratique = true;
MovieClip(parent.parent).play();
} else {
play();
};
}
public function checkKeysDown(_arg1:KeyboardEvent):void{
if (((MovieClip(root).lv.isKeyDown(37)) || (MovieClip(root).lv.isKeyDown(65)))){
stage.focus = this.btnEndGame;
};
if (((MovieClip(root).lv.isKeyDown(39)) || (MovieClip(root).lv.isKeyDown(68)))){
stage.focus = this.btnContinue;
};
if (((MovieClip(root).lv.isKeyDown(32)) || (MovieClip(root).lv.isKeyDown(13)))){
if (stage.focus == this.btnEndGame){
clickEndGame();
} else {
if (stage.focus == this.btnContinue){
clickContinue();
};
};
};
}
}
}//package StarSplash_OML_fla
Section 196
//menu_pres_gameover_text_TEXT_225 (StarSplash_OML_fla.menu_pres_gameover_text_TEXT_225)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_pres_gameover_text_TEXT_225 extends MovieClip {
public var __id17_:LocalizedTextField;
public function menu_pres_gameover_text_TEXT_225(){
__setProp___id17__menu_pres_gameover_text_TEXT_Layer1_1();
}
function __setProp___id17__menu_pres_gameover_text_TEXT_Layer1_1(){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.text = "{GameOver}";
__id17_.textColor = 0xFF0000;
__id17_.textSize = 65;
__id17_.bold = false;
__id17_.disableWordwrap = false;
__id17_.embedFonts = true;
__id17_.font = "Berlin Sans FB Demi";
__id17_.hAlign = "center";
__id17_.multiline = false;
__id17_.vAlign = "middle";
__id17_.antiAliasType = "advanced";
__id17_.glowBlur = 3;
__id17_.glowColor = 0;
__id17_.useGlowFilter = false;
__id17_.glowQuality = 1;
__id17_.glowStrength = 5;
__id17_.gridFitType = "pixel";
__id17_.italic = false;
__id17_.selectable = false;
__id17_.underline = false;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 197
//menu_pres_gameover_titext_230 (StarSplash_OML_fla.menu_pres_gameover_titext_230)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_pres_gameover_titext_230 extends MovieClip {
public var __id20_:LocalizedTextField;
public var __id21_:LocalizedTextField;
public function menu_pres_gameover_titext_230(){
__setProp___id20__menu_pres_gameover_titext_Layer2_1();
__setProp___id21__menu_pres_gameover_titext_Layer2_1();
}
function __setProp___id20__menu_pres_gameover_titext_Layer2_1(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.text = "{ContinueDesc}";
__id20_.textColor = 0xFFFFFF;
__id20_.textSize = 10;
__id20_.bold = true;
__id20_.disableWordwrap = false;
__id20_.embedFonts = true;
__id20_.font = "Arial";
__id20_.hAlign = "center";
__id20_.multiline = false;
__id20_.vAlign = "middle";
__id20_.antiAliasType = "advanced";
__id20_.glowBlur = 3;
__id20_.glowColor = 0;
__id20_.useGlowFilter = false;
__id20_.glowQuality = 1;
__id20_.glowStrength = 5;
__id20_.gridFitType = "pixel";
__id20_.italic = false;
__id20_.selectable = false;
__id20_.underline = false;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id21__menu_pres_gameover_titext_Layer2_1(){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.text = "{EndGameDesc}";
__id21_.textColor = 0xFFFFFF;
__id21_.textSize = 10;
__id21_.bold = true;
__id21_.disableWordwrap = false;
__id21_.embedFonts = true;
__id21_.font = "Arial";
__id21_.hAlign = "center";
__id21_.multiline = false;
__id21_.vAlign = "middle";
__id21_.antiAliasType = "advanced";
__id21_.glowBlur = 3;
__id21_.glowColor = 0;
__id21_.useGlowFilter = false;
__id21_.glowQuality = 1;
__id21_.glowStrength = 5;
__id21_.gridFitType = "pixel";
__id21_.italic = false;
__id21_.selectable = false;
__id21_.underline = false;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 198
//menu_pres_P_c_208 (StarSplash_OML_fla.menu_pres_P_c_208)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_P_c_208 extends MovieClip {
public function menu_pres_P_c_208(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 199
//menu_pres_passed_189 (StarSplash_OML_fla.menu_pres_passed_189)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_passed_189 extends MovieClip {
public function menu_pres_passed_189(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
if (MovieClip(root).lv.pratique == false){
if (MovieClip(parent.parent).verdict == "perfect"){
gotoAndPlay("perfect");
} else {
if (MovieClip(parent.parent).verdict == "failed"){
gotoAndPlay("failed");
} else {
gotoAndPlay("passed");
};
};
} else {
gotoAndPlay("practice");
};
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 200
//menu_pres_passed_191 (StarSplash_OML_fla.menu_pres_passed_191)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_passed_191 extends MovieClip {
public function menu_pres_passed_191(){
addFrameScript(2, frame3, 91, frame92);
}
function frame3(){
MovieClip(root).sonsF("passed", false);
}
function frame92(){
stop();
MovieClip(parent.parent.parent).play();
}
}
}//package StarSplash_OML_fla
Section 201
//menu_pres_passed_c_190 (StarSplash_OML_fla.menu_pres_passed_c_190)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_passed_c_190 extends MovieClip {
public function menu_pres_passed_c_190(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if ((((((((((((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "en_us")) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "en_uk")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "ar")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "in")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "jp")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "cn")))){
this.gotoAndStop("en");
} else {
this.gotoAndStop("autres");
};
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 202
//menu_pres_passed_sousTitreText_205 (StarSplash_OML_fla.menu_pres_passed_sousTitreText_205)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_pres_passed_sousTitreText_205 extends MovieClip {
public var t1:LocalizedTextField;
public function menu_pres_passed_sousTitreText_205(){
__setProp_t1_menu_pres_passed_sousTitreText_Layer1_1();
}
function __setProp_t1_menu_pres_passed_sousTitreText_Layer1_1(){
try {
t1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
t1.text = "{Passed}";
t1.textColor = 0xFFFFFF;
t1.textSize = 65;
t1.bold = false;
t1.disableWordwrap = false;
t1.embedFonts = true;
t1.font = "Berlin Sans FB Demi";
t1.hAlign = "center";
t1.multiline = false;
t1.vAlign = "middle";
t1.antiAliasType = "advanced";
t1.glowBlur = 3;
t1.glowColor = 0;
t1.useGlowFilter = false;
t1.glowQuality = 1;
t1.glowStrength = 5;
t1.gridFitType = "pixel";
t1.italic = false;
t1.selectable = false;
t1.underline = false;
try {
t1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 203
//menu_pres_passed2_202 (StarSplash_OML_fla.menu_pres_passed2_202)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_passed2_202 extends MovieClip {
public var texte:MovieClip;
public function menu_pres_passed2_202(){
addFrameScript(0, frame1, 2, frame3, 91, frame92);
}
function frame3(){
MovieClip(root).sonsF("passed", false);
texte.visible = true;
}
function frame1(){
texte.visible = false;
}
function frame92(){
stop();
MovieClip(parent.parent.parent).play();
}
}
}//package StarSplash_OML_fla
Section 204
//menu_pres_perfect_207 (StarSplash_OML_fla.menu_pres_perfect_207)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_perfect_207 extends MovieClip {
public var feux:MovieClip;
public function menu_pres_perfect_207(){
addFrameScript(2, frame3, 89, frame90);
}
function frame3(){
MovieClip(root).sonsF("perfect", false);
}
function frame90(){
stop();
MovieClip(parent.parent.parent).play();
}
}
}//package StarSplash_OML_fla
Section 205
//menu_pres_perfect_c_206 (StarSplash_OML_fla.menu_pres_perfect_c_206)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_perfect_c_206 extends MovieClip {
public function menu_pres_perfect_c_206(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if ((((((((((((((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "en_us")) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "en_uk")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "nl")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "ar")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "in")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "jp")))) || ((MovieClip(parent.parent.parent.parent.parent).quelleLangue() == "cn")))){
this.gotoAndStop("en");
} else {
this.gotoAndStop("autres");
};
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 206
//menu_pres_perfect_sousTitreText_222 (StarSplash_OML_fla.menu_pres_perfect_sousTitreText_222)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_perfect_sousTitreText_222 extends MovieClip {
public var langue:String;
public function menu_pres_perfect_sousTitreText_222(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
langue = MovieClip(parent.parent.parent.parent.parent.parent.parent.parent).quelleLangue();
if ((((langue == "pt")) || ((langue == "br")))){
this.gotoAndStop("pt");
} else {
if ((((langue == "de")) || ((langue == "se")))){
this.gotoAndStop("de");
} else {
if ((((((langue == "es")) || ((langue == "es_mx")))) || ((langue == "es_ar")))){
this.gotoAndStop("es");
} else {
this.gotoAndStop(langue);
};
};
};
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 207
//menu_pres_perfect2_220 (StarSplash_OML_fla.menu_pres_perfect2_220)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_pres_perfect2_220 extends MovieClip {
public var texte:MovieClip;
public var feux:MovieClip;
public function menu_pres_perfect2_220(){
addFrameScript(0, frame1, 2, frame3, 89, frame90);
}
function frame3(){
MovieClip(root).sonsF("perfect", false);
texte.visible = true;
}
function frame1(){
texte.visible = false;
}
function frame90(){
stop();
MovieClip(parent.parent.parent).play();
}
}
}//package StarSplash_OML_fla
Section 208
//menu_pres_R_c_210 (StarSplash_OML_fla.menu_pres_R_c_210)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_R_c_210 extends MovieClip {
public function menu_pres_R_c_210(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 209
//menu_pres_S_c_192 (StarSplash_OML_fla.menu_pres_S_c_192)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_S_c_192 extends MovieClip {
public function menu_pres_S_c_192(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 210
//menu_pres_T_c_214 (StarSplash_OML_fla.menu_pres_T_c_214)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_T_c_214 extends MovieClip {
public function menu_pres_T_c_214(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 211
//menu_pres_U_c_194 (StarSplash_OML_fla.menu_pres_U_c_194)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_U_c_194 extends MovieClip {
public function menu_pres_U_c_194(){
addFrameScript(8, frame9, 29, frame30);
}
function frame9(){
play();
}
function frame30(){
gotoAndPlay(9);
}
}
}//package StarSplash_OML_fla
Section 212
//menu_pres_welldone_232 (StarSplash_OML_fla.menu_pres_welldone_232)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class menu_pres_welldone_232 extends MovieClip {
public function menu_pres_welldone_232(){
addFrameScript(59, frame60);
}
function frame60(){
stop();
MovieClip(parent.parent).play();
}
}
}//package StarSplash_OML_fla
Section 213
//menu_pres_welldone_g2_text_235 (StarSplash_OML_fla.menu_pres_welldone_g2_text_235)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_pres_welldone_g2_text_235 extends MovieClip {
public var __id22_:LocalizedTextField;
public function menu_pres_welldone_g2_text_235(){
__setProp___id22__menu_pres_welldone_g2_text_Layer1_1();
}
function __setProp___id22__menu_pres_welldone_g2_text_Layer1_1(){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.text = "{WellDone}";
__id22_.textColor = 0xFFFFFF;
__id22_.textSize = 49;
__id22_.bold = false;
__id22_.disableWordwrap = false;
__id22_.embedFonts = true;
__id22_.font = "Berlin Sans FB Demi";
__id22_.hAlign = "center";
__id22_.multiline = false;
__id22_.vAlign = "middle";
__id22_.antiAliasType = "advanced";
__id22_.glowBlur = 3;
__id22_.glowColor = 0;
__id22_.useGlowFilter = false;
__id22_.glowQuality = 1;
__id22_.glowStrength = 5;
__id22_.gridFitType = "pixel";
__id22_.italic = false;
__id22_.selectable = false;
__id22_.underline = false;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 214
//menu_pres_welldone_g2_text2_236 (StarSplash_OML_fla.menu_pres_welldone_g2_text2_236)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_pres_welldone_g2_text2_236 extends MovieClip {
public var __id23_:LocalizedTextField;
public function menu_pres_welldone_g2_text2_236(){
__setProp___id23__menu_pres_welldone_g2_text2_Layer1_1();
}
function __setProp___id23__menu_pres_welldone_g2_text2_Layer1_1(){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.text = "{NeedPractice}";
__id23_.textColor = 0xFFFFFF;
__id23_.textSize = 43;
__id23_.bold = false;
__id23_.disableWordwrap = false;
__id23_.embedFonts = true;
__id23_.font = "Berlin Sans FB Demi";
__id23_.hAlign = "center";
__id23_.multiline = false;
__id23_.vAlign = "middle";
__id23_.antiAliasType = "advanced";
__id23_.glowBlur = 3;
__id23_.glowColor = 0;
__id23_.useGlowFilter = false;
__id23_.glowQuality = 1;
__id23_.glowStrength = 5;
__id23_.gridFitType = "pixel";
__id23_.italic = false;
__id23_.selectable = false;
__id23_.underline = false;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 215
//menu_press_welldone_g2_234 (StarSplash_OML_fla.menu_press_welldone_g2_234)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_press_welldone_g2_234 extends MovieClip {
public function menu_press_welldone_g2_234(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
if (MovieClip(root).menuJeu.presTableau.verdict == "failed"){
MovieClip(root).sonsF("needPractice", false);
gotoAndStop(2);
} else {
MovieClip(root).sonsF("passed", false);
};
stop();
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 216
//menu_result_181 (StarSplash_OML_fla.menu_result_181)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_result_181 extends MovieClip {
public var titre:MovieClip;
public var i:uint;
public function menu_result_181(){
addFrameScript(0, frame1);
}
function frame1(){
i = MyGlobal.vague;
if (MovieClip(root).lv.pratique == false){
titre.texte.text = MovieClip(parent.parent.parent.parent).quelTexte("LvResult1");
} else {
titre.texte.text = MovieClip(parent.parent.parent.parent).quelTexte("LvResult2");
};
titre.texte.text = titre.texte.text.split("[x]").join(i);
}
}
}//package StarSplash_OML_fla
Section 217
//menu_result_c_79 (StarSplash_OML_fla.menu_result_c_79)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import mochi.as3.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_result_c_79 extends MovieClip {
public var m:MovieClip;
public function menu_result_c_79(){
addFrameScript(0, frame1, 1, frame2, 7, frame8);
}
public function clickPlayAgain(_arg1:Event=null):void{
if (this.m.btnSubmit != null){
this.m.btnSubmit.removeEventListener(MouseEvent.CLICK, clickSubmit);
this.m.btnSubmit.mouseEnabled = false;
};
this.m.btnMenu.removeEventListener(MouseEvent.CLICK, clickMenu);
this.m.btnPlayAgain.removeEventListener(MouseEvent.CLICK, clickPlayAgain);
MovieClip(parent).snails.removeEventListener(MouseEvent.CLICK, MovieClip(parent).clickSNL);
this.m.btnMenu.mouseEnabled = false;
this.m.btnPlayAgain.mouseEnabled = false;
MovieClip(parent).fondu.nextPlace = "jeu";
MovieClip(parent).fondu.nextScene1 = "Jeu";
MovieClip(parent).fondu.gotoAndPlay("fadeOut");
}
public function clickMenu(_arg1:Event=null):void{
if (this.m.btnSubmit != null){
this.m.btnSubmit.removeEventListener(MouseEvent.CLICK, clickSubmit);
};
this.m.btnMenu.removeEventListener(MouseEvent.CLICK, clickMenu);
this.m.btnPlayAgain.removeEventListener(MouseEvent.CLICK, clickPlayAgain);
this.play();
}
function frame1(){
stop();
if (this.m.btnSubmit != null){
this.m.btnSubmit.addEventListener(MouseEvent.CLICK, clickSubmit);
};
this.m.btnMenu.addEventListener(MouseEvent.CLICK, clickMenu);
this.m.btnPlayAgain.addEventListener(MouseEvent.CLICK, clickPlayAgain);
}
function frame8(){
stop();
MovieClip(parent).gotoAndPlay("menu");
}
function frame2(){
if (this.m.btnSubmit != null){
this.m.btnSubmit.removeEventListener(MouseEvent.CLICK, clickSubmit);
};
this.m.btnMenu.removeEventListener(MouseEvent.CLICK, clickMenu);
this.m.btnPlayAgain.removeEventListener(MouseEvent.CLICK, clickPlayAgain);
MovieClip(parent).snails.removeEventListener(MouseEvent.CLICK, MovieClip(parent).clickSNL);
if (this.m.btnSubmit != null){
this.m.btnSubmit.mouseEnabled = false;
};
this.m.btnMenu.mouseEnabled = false;
this.m.btnPlayAgain.mouseEnabled = false;
play();
}
public function clickSubmit(_arg1:Event=null):void{
var o:Object;
var boardID:String;
var e = _arg1;
this.m.visible = false;
o = {n:[7, 15, 8, 1, 6, 12, 15, 4, 14, 10, 9, 10, 2, 2, 6, 12], f:function (_arg1:Number, _arg2:String):String{
if (_arg2.length == 16){
return (_arg2);
};
return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16))));
}};
boardID = o.f(0, "");
MochiScores.showLeaderboard({boardID:boardID, score:(MyGlobal.score * 100), onClose:function (){
stop();
MovieClip(root).Menu_c.m.visible = true;
}});
}
}
}//package StarSplash_OML_fla
Section 218
//menu_result2_80 (StarSplash_OML_fla.menu_result2_80)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_result2_80 extends MovieClip {
public var btnPlayAgain:MovieClip;
public var score:TextField;
public var btnSubmit:MovieClip;
public var btnMenu:MovieClip;
public function menu_result2_80(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
if (MovieClip(parent.parent).snailsLogo == true){
this.gotoAndStop(2);
};
this.score.text = (MyGlobal.score + "%");
stop();
}
function frame2(){
this.score.text = (MyGlobal.score + "%");
stop();
}
}
}//package StarSplash_OML_fla
Section 219
//menu_result2Text_81 (StarSplash_OML_fla.menu_result2Text_81)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_result2Text_81 extends MovieClip {
public var __id8_:LocalizedTextField;
public function menu_result2Text_81(){
__setProp___id8__menu_result2Text_Layer1_1();
}
function __setProp___id8__menu_result2Text_Layer1_1(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.text = "{FinalScore}";
__id8_.textColor = 0xFFFFFF;
__id8_.textSize = 30;
__id8_.bold = false;
__id8_.disableWordwrap = false;
__id8_.embedFonts = true;
__id8_.font = "Porky's";
__id8_.hAlign = "center";
__id8_.multiline = false;
__id8_.vAlign = "middle";
__id8_.antiAliasType = "advanced";
__id8_.glowBlur = 3;
__id8_.glowColor = 0;
__id8_.useGlowFilter = false;
__id8_.glowQuality = 1;
__id8_.glowStrength = 5;
__id8_.gridFitType = "pixel";
__id8_.italic = false;
__id8_.selectable = false;
__id8_.underline = false;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 220
//menu_resultTitreText_182 (StarSplash_OML_fla.menu_resultTitreText_182)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_resultTitreText_182 extends MovieClip {
public var texte:LocalizedTextField;
public function menu_resultTitreText_182(){
__setProp_texte_menu_resultTitreText_Layer1_1();
}
function __setProp_texte_menu_resultTitreText_Layer1_1(){
try {
texte["componentInspectorSetting"] = true;
} catch(e:Error) {
};
texte.text = "Level [x] - result";
texte.textColor = 0xFFFFFF;
texte.textSize = 32;
texte.bold = false;
texte.disableWordwrap = false;
texte.embedFonts = true;
texte.font = "Porky's";
texte.hAlign = "center";
texte.multiline = false;
texte.vAlign = "middle";
texte.antiAliasType = "advanced";
texte.glowBlur = 3;
texte.glowColor = 0;
texte.useGlowFilter = false;
texte.glowQuality = 1;
texte.glowStrength = 5;
texte.gridFitType = "pixel";
texte.italic = false;
texte.selectable = false;
texte.underline = false;
try {
texte["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 221
//menu_scene_dauphin_20 (StarSplash_OML_fla.menu_scene_dauphin_20)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import com.greensock.*;
import flash.utils.*;
import com.greensock.easing.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_scene_dauphin_20 extends MovieClip {
public var passeItems1:uint;
public var dauphinBoost:Boolean;
public var passeItems3:uint;
public var limDroite:uint;
public var passeItems2:uint;
public var itemsCollectAll:uint;
public var right:Boolean;
public var myTween:TweenLite;
public var jump:Boolean;
public var plongeFini:Boolean;
public var nombreSauts:uint;
public var longTableau:uint;
public var splash:Array;
public var i:Number;
public var initItemSpd:Number;
public var peutSonar;
public var cntIt:uint;
public var pourcent:uint;
public var posY:Number;
public var up:Boolean;
public var peutPlonger:Boolean;
public var down:Boolean;
public var dauphin:MovieClip;
public var splashFini:Boolean;
public var newHx:int;
public var newHy:int;
public var myTween2b:TweenLite;
public var eau_bg:MovieClip;
public var limVerticale:uint;
public var totalItems:uint;
public var chiffreStart:int;
public var totalItemsAll:uint;
public var keyArray:Array;
public var tiSplash:Array;
public var dauphinPos:Point;
public var dauphinTombe:Boolean;
public var masque2:MovieClip;
public var eau:uint;
public var itemsCollect:uint;
public var SPD:uint;
public var hit;
public var chiffre:String;
public var maxSauts:uint;
public var boost:Boolean;
public var itemSpd:Number;
public var passeItems:uint;
public var fini:Boolean;
public var myTween2:TweenLite;
public var myTween3:TweenLite;
public var myTween4:TweenLite;
public var myTween6:TweenLite;
public var myTween7:TweenLite;
public var myTween8:TweenLite;
public var myTween5:TweenLite;
public function menu_scene_dauphin_20(){
addFrameScript(0, frame1);
}
public function deleteSplash(_arg1:String):void{
if (_arg1 == "grosSplash"){
this.splash[0].removeEventListener(Event.ENTER_FRAME, this.splash[0].entFrame);
this.removeChild(this.splash[0]);
this.splash[0] = null;
splash.splice(0, 1);
} else {
if (_arg1 == "tiSplash"){
this.tiSplash[0].removeEventListener(Event.ENTER_FRAME, this.tiSplash[0].entFrame);
this.removeChild(this.tiSplash[0]);
this.tiSplash[0] = null;
tiSplash.splice(0, 1);
};
};
}
public function scrolling(){
if (dauphinBoost == false){
if (dauphinTombe == false){
posY = (limVerticale - this.dauphinPos.y);
Math.floor((posY = (posY / 7.5)));
} else {
if (dauphinTombe == true){
if (this.dauphinPos.y < 40){
posY = (posY + 2);
} else {
if (this.dauphinPos.y > 200){
posY = (posY - 8);
} else {
posY = (posY - 3);
if (posY < -30){
posY = -30;
};
};
};
};
};
this.y = (this.y + posY);
};
if (this.y > 800){
this.y = 800;
} else {
if (this.y < 0){
this.y = 0;
};
};
}
public function completeFunction():void{
myTween.reverse();
if (this.dauphin.y < 0){
dauphinTombe = true;
};
}
public function updateMed():void{
if ((this.dauphin.x - (SPD + 2)) > 20){
this.dauphin.x = (this.dauphin.x - (SPD + 2));
} else {
this.dauphin.x = 20;
};
}
public function meduseSaut():void{
dauphinTombe = false;
dauphinBoost = false;
if (plongeFini == false){
plongeFini = true;
};
myTween7 = new TweenLite(this.dauphin, 30, {y:-260, useFrames:true, onComplete:meduseSautComplete, overwrite:true});
}
public function rndHundredth(_arg1){
var _local2:Number;
_local2 = _arg1;
_local2 = (_local2 * 100);
_local2 = Math.round(_local2);
_local2 = (_local2 / 100);
return (_local2);
}
function frame1(){
stop();
OverwriteManager.init(2);
SPD = 6;
jump = false;
keyArray = new Array();
eau = 267;
limDroite = 600;
fini = true;
up = false;
right = false;
down = false;
boost = true;
peutSonar = true;
peutPlonger = true;
plongeFini = true;
nombreSauts = 0;
maxSauts = 3;
splashFini = true;
splash = new Array();
tiSplash = new Array();
cntIt = 0;
initItemSpd = 8;
itemSpd = initItemSpd;
limVerticale = 200;
dauphinPos = new Point(this.dauphin.x, this.dauphin.y);
dauphinTombe = false;
dauphinBoost = false;
newHx = 0;
newHy = 0;
totalItemsAll = 400;
itemsCollectAll = 0;
totalItems = 0;
itemsCollect = 0;
passeItems = 0;
passeItems1 = 20;
passeItems2 = 30;
passeItems3 = 35;
pourcent = 0;
chiffreStart = 0;
chiffre = null;
longTableau = 0;
i = 0;
while (i < 222) {
keyArray.push([i, false]);
i++;
};
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function updateBoost():void{
if (this.dauphin.x >= limDroite){
this.dauphin.x = limDroite;
myTween2.kill();
};
}
public function createSplash(_arg1:String):void{
var _local2:Splash1;
var _local3:TiSplash1;
if (_arg1 == "grosSplash"){
_local2 = new Splash1();
addChild(_local2);
splash.push(_local2);
_local2.x = (this.dauphin.x + 30);
_local2.y = 222;
if (((!((MovieClip(root).frameName == null))) && (!((MovieClip(parent).Menu_c == null))))){
MovieClip(root).sonsF("splash", true);
};
} else {
if (_arg1 == "tiSplash"){
_local3 = new TiSplash1();
addChild(_local3);
tiSplash.push(_local3);
_local3.x = this.dauphin.x;
_local3.y = 222;
if (((!((MovieClip(root).frameName == null))) && (!((MovieClip(parent).Menu_c == null))))){
MovieClip(root).sonsF("splashOut", false);
};
};
};
}
public function Splash():void{
var _local1:*;
var _local2:uint;
if (plongeFini == true){
_local2 = 5;
_local1 = "25";
this.dauphin.y = eau;
} else {
_local2 = 10;
_local1 = 390;
};
createSplash("grosSplash");
fini = true;
nombreSauts = 0;
if (plongeFini == false){
this.dauphin.saute.gotoAndPlay("splash2");
} else {
if (this.dauphin.saute.frBoost < 4){
this.dauphin.saute.gotoAndPlay((this.dauphin.saute.frBoost + "b"));
} else {
if (plongeFini == true){
this.dauphin.saute.gotoAndPlay("splash");
};
};
};
myTween4 = new TweenLite(this.dauphin, _local2, {y:_local1, ease:Quad.easeOut, useFrames:true, onComplete:Bloop});
splashFini = false;
plongeFini = true;
peutPlonger = true;
dauphinTombe = false;
}
public function deleteSpawn(_arg1:String, _arg2:uint):void{
var _local3:*;
var _local4:Number;
var _local5:String;
var _local6:uint;
var _local7:String;
itemsCollect = (itemsCollect + _arg2);
itemsCollectAll = (itemsCollectAll + _arg2);
if (_arg2 != 0){
_local4 = ((itemsCollectAll / totalItemsAll) * 100);
MyGlobal.score = rndHundredth(_local4);
_local5 = String(MyGlobal.score);
_local6 = _local5.indexOf(".");
_local7 = _local5.substring((_local6 + 1), _local5.length);
if (_local7.length == 0){
_local5 = (_local5 + ".00");
} else {
if (_local7.length == 1){
_local5 = (_local5 + "0");
};
};
};
_local3 = this.getChildByName(_arg1);
_local3.removeEventListener(Event.ENTER_FRAME, _local3.entFrame);
this.removeChild(_local3);
_local3 = null;
}
public function checkKeysUp(_arg1:uint):void{
keyArray[_arg1][1] = false;
}
public function reverseFunction():void{
this.dauphin.saute.noEntFrame = false;
this.dauphin.saute.addEventListener(Event.ENTER_FRAME, this.dauphin.saute.entFrame);
}
public function mouvementSaut():void{
nombreSauts = (nombreSauts + 1);
fini = false;
dauphinTombe = false;
dauphinBoost = false;
plongeFini = true;
myTween = new TweenLite(this.dauphin, 10, {y:"-160", useFrames:true, onComplete:completeFunction, onReverseComplete:reverseFunction});
}
public function initVit():void{
myTween2b.kill();
this.itemSpd = this.initItemSpd;
}
public function Tombe(_arg1:Boolean):void{
var _local2:uint;
if (_arg1 == false){
_local2 = 10;
} else {
if (_arg1 == true){
_local2 = 5;
};
};
myTween3 = new TweenLite(this.dauphin, _local2, {y:"160", ease:Quad.easeIn, useFrames:true, onUpdate:updateTombe, onComplete:reverseFunction});
if (this.dauphin.y < 0){
dauphinTombe = true;
};
dauphinBoost = false;
posY = 0;
}
public function splashComplete():void{
splashFini = true;
}
public function isKeyDown(_arg1){
return (keyArray[_arg1][1]);
}
public function entFrame(_arg1:Event):void{
if (MovieClip(root).frameName != "menu"){
if (this.dauphin.saute != null){
this.dauphin.saute.addEventListener(Event.ENTER_FRAME, this.dauphin.saute.entFrame);
};
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
hit = this.dauphin[this.dauphin.etat].hit;
if (isKeyDown(39) == true){
if ((this.dauphin.x + SPD) < limDroite){
this.dauphin.x = (this.dauphin.x + SPD);
} else {
this.dauphin.x = limDroite;
};
} else {
if (isKeyDown(37) == true){
if ((this.dauphin.x - SPD) > 20){
this.dauphin.x = (this.dauphin.x - SPD);
} else {
this.dauphin.x = 20;
};
};
};
if (this.dauphin.etat == "nage"){
up = true;
if (isKeyDown(40) == true){
if (splashFini == false){
myTween5.kill();
splashFini = true;
};
if ((this.dauphin.y + SPD) < 385){
this.dauphin.y = (this.dauphin.y + SPD);
this.dauphin.nage.rotation = 10;
} else {
this.dauphin.y = 385;
};
} else {
if (isKeyDown(38) == true){
if (splashFini == false){
myTween5.kill();
splashFini = true;
};
if ((this.dauphin.y - SPD) > eau){
this.dauphin.y = (this.dauphin.y - SPD);
this.dauphin.nage.rotation = -10;
} else {
this.dauphin.y = eau;
jump = true;
};
} else {
if (this.dauphin.nage.rotation > 0){
this.dauphin.nage.rotation = (this.dauphin.nage.rotation - 2);
} else {
if (this.dauphin.nage.rotation < 0){
this.dauphin.nage.rotation = (this.dauphin.nage.rotation + 2);
} else {
this.dauphin.nage.rotation = 0;
};
};
};
};
if ((((jump == true)) && ((isKeyDown(38) == true)))){
this.dauphin.gotoAndStop("saute");
jump = false;
boost = true;
};
if ((((isKeyDown(39) == false)) && (((this.dauphin.x - 2) > 20)))){
this.dauphin.x = (this.dauphin.x - 2);
};
};
if (isKeyDown(38) == false){
up = false;
};
if (isKeyDown(39) == false){
right = false;
};
if (isKeyDown(40) == false){
down = false;
};
if (plongeFini == false){
if ((this.dauphin.x - (itemSpd * (1 / 3))) > 20){
this.dauphin.x = (this.dauphin.x - (itemSpd * (1 / 3)));
} else {
this.dauphin.x = 20;
};
};
}
public function preMeduseSaut():void{
dauphinTombe = false;
dauphinBoost = false;
if (plongeFini == false){
plongeFini = true;
};
myTween8 = new TweenLite(this.dauphin, 10, {y:240, useFrames:true, onComplete:meduseSaut, overwrite:true, ease:Quad.easeOut, onUpdate:updateMed});
this.dauphin.saute.gotoAndPlay("meduseSaut");
}
public function spawnForme(_arg1:String, _arg2:int, _arg3:int):void{
if (_arg1 == "saut"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 160), _arg3);
newHx = (_arg2 + 160);
newHy = _arg3;
} else {
if (_arg1 == "sautM1"){
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 160), _arg3);
newHx = (_arg2 + 160);
newHy = _arg3;
} else {
if (_arg1 == "sautM5"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
newHx = (_arg2 + 135);
newHy = (_arg3 - 65);
} else {
if (_arg1 == "saut3"){
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
newHx = (_arg2 + 135);
newHy = (_arg3 - 65);
} else {
if (_arg1 == "diM3"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 30), (_arg3 - 50));
spawnage("etoileB", (_arg2 + 60), (_arg3 - 100));
spawnage("etoileB", (_arg2 + 90), (_arg3 - 150));
spawnage("etoileB", (_arg2 + 120), (_arg3 - 200));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 250));
spawnage("etoileB", (_arg2 + 180), (_arg3 - 300));
spawnage("etoileB", (_arg2 + 210), (_arg3 - 350));
spawnage("etoileB", (_arg2 + 240), (_arg3 - 400));
spawnage("etoileB", (_arg2 + 270), (_arg3 - 450));
newHx = (_arg2 + 270);
newHy = (_arg3 - 450);
} else {
if (_arg1 == "diM2"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 30), (_arg3 - 50));
spawnage("etoileB", (_arg2 + 60), (_arg3 - 100));
spawnage("etoileB", (_arg2 + 90), (_arg3 - 150));
spawnage("etoileB", (_arg2 + 120), (_arg3 - 200));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 250));
newHx = (_arg2 + 150);
newHy = (_arg3 - 250);
} else {
if (_arg1 == "medM"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 5), (_arg3 - 90));
spawnage("etoileB", (_arg2 + 15), (_arg3 - 170));
spawnage("etoileB", (_arg2 + 30), (_arg3 - 240));
spawnage("etoileB", (_arg2 + 50), (_arg3 - 300));
spawnage("etoileB", (_arg2 + 75), (_arg3 - 350));
spawnage("etoileB", (_arg2 + 110), (_arg3 - 390));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 420));
spawnage("etoileB", (_arg2 + 200), (_arg3 - 440));
spawnage("etoileB", (_arg2 + 270), (_arg3 - 450));
newHx = (_arg2 + 270);
newHy = (_arg3 - 450);
} else {
if (_arg1 == "ligneX"){
spawnage("etoileB", (_arg2 + 0), _arg3);
spawnage("etoileB", (_arg2 + 50), _arg3);
spawnage("etoileB", (_arg2 + 100), _arg3);
spawnage("etoileB", (_arg2 + 150), _arg3);
spawnage("etoileB", (_arg2 + 200), _arg3);
spawnage("etoileB", (_arg2 + 250), _arg3);
newHx = (_arg2 + 250);
newHy = _arg3;
} else {
if (_arg1 == "ligneY"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", _arg2, (_arg3 - 50));
spawnage("etoileB", _arg2, (_arg3 - 100));
spawnage("etoileB", _arg2, (_arg3 - 150));
spawnage("etoileB", _arg2, (_arg3 - 200));
newHx = _arg2;
newHy = (_arg3 - 200);
} else {
if (_arg1 == "zigzag1"){
spawnage("etoileB", _arg2, 280);
spawnage("etoileB", (_arg2 + 100), 380);
spawnage("etoileB", (_arg2 + 200), 280);
newHx = (_arg2 + 200);
newHy = 280;
if (_arg3 >= 4){
spawnage("etoileB", (_arg2 + 300), 380);
newHx = (_arg2 + 300);
newHy = 380;
};
if (_arg3 >= 5){
spawnage("etoileB", (_arg2 + 400), 280);
newHx = (_arg2 + 400);
newHy = 280;
};
if (_arg3 >= 6){
spawnage("etoileB", (_arg2 + 500), 380);
newHx = (_arg2 + 500);
newHy = 380;
};
} else {
if (_arg1 == "zigzag2"){
spawnage("etoileB", _arg2, 380);
spawnage("etoileB", (_arg2 + 100), 280);
spawnage("etoileB", (_arg2 + 200), 380);
newHx = (_arg2 + 200);
newHy = 380;
if (_arg3 >= 4){
spawnage("etoileB", (_arg2 + 300), 280);
newHx = (_arg2 + 300);
newHy = 280;
};
if (_arg3 >= 5){
spawnage("etoileB", (_arg2 + 400), 380);
newHx = (_arg2 + 400);
newHy = 380;
};
if (_arg3 >= 6){
spawnage("etoileB", (_arg2 + 500), 280);
newHx = (_arg2 + 500);
newHy = 280;
};
} else {
if (_arg1 == "espace"){
spawnage("espace", (newHx + _arg2), 230);
};
};
};
};
};
};
};
};
};
};
};
};
}
public function Boost():void{
this.dauphin.saute.noEntFrame = true;
dauphinTombe = false;
if (this.dauphin.y < 0){
dauphinBoost = true;
};
plongeFini = true;
myTween2 = new TweenLite(this.dauphin, 12, {x:"225", ease:Cubic.easeOut, useFrames:true, onUpdate:updateBoost, overwrite:true});
}
public function meduseSautComplete():void{
Tombe(false);
}
public function spawnage(_arg1:String, _arg2:int, _arg3:int):void{
var _local4:*;
if (_arg1 == "etoileB"){
cntIt = (cntIt + 1);
_local4 = new EtoileJaune();
_local4.name = ("et_" + cntIt);
} else {
if (_arg1 == "espace"){
cntIt = (cntIt + 1);
_local4 = new Espace();
_local4.name = ("esp_" + cntIt);
} else {
if (_arg1 == "meduse"){
cntIt = (cntIt + 1);
_local4 = new Meduse();
_local4.name = ("med_" + cntIt);
} else {
if (_arg1 == "sonar"){
_local4 = new Sonar();
_local4.name = "sonar1";
} else {
if (_arg1 == "bouée"){
_local4 = new Bouée();
_local4.name = "bouée1";
newHx = 700;
newHy = 230;
};
};
};
};
};
_local4.x = _arg2;
_local4.y = _arg3;
addChildAt(_local4, this.getChildIndex(dauphin));
}
public function updateTombe():void{
if (plongeFini == true){
if (!((!((this.dauphin.y == eau))) && (((this.dauphin.y + 20) < eau)))){
Splash();
myTween3.kill();
};
};
}
public function checkKeysDown(_arg1:uint):void{
keyArray[_arg1][1] = true;
if (isKeyDown(38)){
if ((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((up == false)))) && ((nombreSauts < maxSauts)))){
this.dauphin.saute.gotoAndPlay("saute2");
up = true;
MovieClip(root).sonsF("triple", false);
};
};
if (isKeyDown(39)){
if ((((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((right == false)))) && ((boost == true)))) && (((this.dauphin.y + 30) < eau)))){
this.dauphin.saute.gotoAndPlay("boost");
boost = false;
MovieClip(root).sonsF("boost", false);
};
right = true;
};
if (isKeyDown(40)){
if ((((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((down == false)))) && ((peutPlonger == true)))) && (((this.dauphin.y + 40) < eau)))){
this.dauphin.saute.gotoAndPlay("plonge");
peutPlonger = false;
plongeFini = false;
MovieClip(root).sonsF("boost", false);
};
down = true;
};
if (isKeyDown(32)){
if (peutSonar == true){
spawnage("sonar", (this.dauphin.x + 50), this.dauphin.y);
peutSonar = false;
MovieClip(root).sonsF("sonar", false);
};
};
}
public function Bloop():void{
myTween5 = new TweenLite(this.dauphin, 5, {y:"-20", ease:Quad.easeOut, useFrames:true, onComplete:splashComplete});
this.dauphin.gotoAndStop("nage");
}
}
}//package StarSplash_OML_fla
Section 222
//menu_scene_dauphin_fin_88 (StarSplash_OML_fla.menu_scene_dauphin_fin_88)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import com.greensock.*;
import flash.utils.*;
import com.greensock.easing.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_scene_dauphin_fin_88 extends MovieClip {
public var passeItems1:uint;
public var dauphinBoost:Boolean;
public var passeItems3:uint;
public var limDroite:uint;
public var passeItems2:uint;
public var itemsCollectAll:uint;
public var right:Boolean;
public var myTween:TweenLite;
public var scrollFini:Boolean;
public var jump:Boolean;
public var plongeFini:Boolean;
public var nombreSauts:uint;
public var longTableau:uint;
public var splash:Array;
public var i:Number;
public var initItemSpd:Number;
public var peutSonar;
public var cntIt:uint;
public var pourcent:uint;
public var posY:Number;
public var up:Boolean;
public var peutPlonger:Boolean;
public var down:Boolean;
public var dauphin:MovieClip;
public var splashFini:Boolean;
public var newHx:int;
public var newHy:int;
public var myTween2b:TweenLite;
public var eau_bg:MovieClip;
public var limVerticale:uint;
public var totalItems:uint;
public var chiffreStart:int;
public var totalItemsAll:uint;
public var keyArray:Array;
public var tiSplash:Array;
public var dauphinPos:Point;
public var dauphinTombe:Boolean;
public var masque2:MovieClip;
public var eau:uint;
public var itemsCollect:uint;
public var SPD:uint;
public var congrats:MovieClip;
public var chiffre:String;
public var hit;
public var maxSauts:uint;
public var boost:Boolean;
public var itemSpd:Number;
public var passeItems:uint;
public var fini:Boolean;
public var ligne_eau:MovieClip;
public var myTween2:TweenLite;
public var myTween3:TweenLite;
public var myTween4:TweenLite;
public var myTween6:TweenLite;
public var myTween7:TweenLite;
public var myTween8:TweenLite;
public var myTween5:TweenLite;
public function menu_scene_dauphin_fin_88(){
addFrameScript(0, frame1);
}
public function deleteSplash(_arg1:String):void{
if (_arg1 == "grosSplash"){
this.splash[0].removeEventListener(Event.ENTER_FRAME, this.splash[0].entFrame);
this.removeChild(this.splash[0]);
this.splash[0] = null;
splash.splice(0, 1);
} else {
if (_arg1 == "tiSplash"){
this.tiSplash[0].removeEventListener(Event.ENTER_FRAME, this.tiSplash[0].entFrame);
this.removeChild(this.tiSplash[0]);
this.tiSplash[0] = null;
tiSplash.splice(0, 1);
};
};
}
public function scrolling(){
if (dauphinBoost == false){
if (dauphinTombe == false){
posY = (limVerticale - this.dauphinPos.y);
Math.floor((posY = (posY / 7.5)));
} else {
if (dauphinTombe == true){
if (this.dauphinPos.y < 40){
posY = (posY + 2);
} else {
if (this.dauphinPos.y > 280){
posY = (posY - 8);
} else {
posY = (posY - 3);
if (posY < -30){
posY = -30;
};
};
};
};
};
this.y = (this.y + posY);
};
if (this.y > 800){
this.y = 800;
} else {
if (this.y < 80){
this.y = 80;
};
};
}
public function completeFunction():void{
myTween.reverse();
if (this.dauphin.y < 0){
dauphinTombe = true;
};
}
public function updateMed():void{
if ((this.dauphin.x - (SPD + 2)) > 20){
this.dauphin.x = (this.dauphin.x - (SPD + 2));
} else {
this.dauphin.x = 20;
};
}
public function meduseSaut():void{
dauphinTombe = false;
dauphinBoost = false;
if (plongeFini == false){
plongeFini = true;
};
myTween7 = new TweenLite(this.dauphin, 30, {y:-260, useFrames:true, onComplete:meduseSautComplete, overwrite:true});
}
public function rndHundredth(_arg1){
var _local2:Number;
_local2 = _arg1;
_local2 = (_local2 * 100);
_local2 = Math.round(_local2);
_local2 = (_local2 / 100);
return (_local2);
}
function frame1(){
stop();
eau_bg.gotoAndStop("nuit");
ligne_eau.c1.gotoAndStop("nuit");
dauphin.transform.colorTransform = new ColorTransform(0.7, 0.55, 0.7, 1, 0, 0, 0, 0);
OverwriteManager.init(2);
SPD = 6;
jump = false;
keyArray = new Array();
eau = 267;
limDroite = 600;
fini = true;
up = false;
right = false;
down = false;
boost = true;
peutSonar = true;
peutPlonger = true;
plongeFini = true;
nombreSauts = 0;
maxSauts = 3;
splashFini = true;
splash = new Array();
tiSplash = new Array();
cntIt = 0;
initItemSpd = 8;
itemSpd = initItemSpd;
limVerticale = 280;
dauphinPos = new Point(this.dauphin.x, this.dauphin.y);
dauphinTombe = false;
dauphinBoost = false;
newHx = 0;
newHy = 0;
totalItemsAll = 400;
itemsCollectAll = 0;
totalItems = 0;
itemsCollect = 0;
passeItems = 0;
passeItems1 = 20;
passeItems2 = 30;
passeItems3 = 35;
pourcent = 0;
chiffreStart = 0;
chiffre = null;
longTableau = 0;
i = 0;
while (i < 222) {
keyArray.push([i, false]);
i++;
};
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function updateBoost():void{
if (this.dauphin.x >= limDroite){
this.dauphin.x = limDroite;
myTween2.kill();
};
}
public function createSplash(_arg1:String):void{
var _local2:Splash1;
var _local3:TiSplash1;
if (_arg1 == "grosSplash"){
_local2 = new Splash1();
addChild(_local2);
splash.push(_local2);
_local2.x = (this.dauphin.x + 30);
_local2.y = 222;
if (MovieClip(root).frameName != null){
MovieClip(root).sonsF("splash", true);
};
} else {
if (_arg1 == "tiSplash"){
_local3 = new TiSplash1();
addChild(_local3);
tiSplash.push(_local3);
_local3.x = this.dauphin.x;
_local3.y = 222;
MovieClip(root).sonsF("splashOut", false);
};
};
}
public function Splash():void{
var _local1:*;
var _local2:uint;
if (plongeFini == true){
_local2 = 5;
_local1 = "25";
this.dauphin.y = eau;
} else {
_local2 = 10;
_local1 = 390;
};
createSplash("grosSplash");
fini = true;
nombreSauts = 0;
if (plongeFini == false){
this.dauphin.saute.gotoAndPlay("splash2");
} else {
if (this.dauphin.saute.frBoost < 4){
this.dauphin.saute.gotoAndPlay((this.dauphin.saute.frBoost + "b"));
} else {
if (plongeFini == true){
this.dauphin.saute.gotoAndPlay("splash");
};
};
};
myTween4 = new TweenLite(this.dauphin, _local2, {y:_local1, ease:Quad.easeOut, useFrames:true, onComplete:Bloop});
splashFini = false;
plongeFini = true;
peutPlonger = true;
dauphinTombe = false;
}
public function deleteSpawn(_arg1:String, _arg2:uint):void{
var _local3:*;
var _local4:Number;
var _local5:String;
var _local6:uint;
var _local7:String;
itemsCollect = (itemsCollect + _arg2);
itemsCollectAll = (itemsCollectAll + _arg2);
if (_arg2 != 0){
_local4 = ((itemsCollectAll / totalItemsAll) * 100);
MyGlobal.score = rndHundredth(_local4);
_local5 = String(MyGlobal.score);
_local6 = _local5.indexOf(".");
_local7 = _local5.substring((_local6 + 1), _local5.length);
if (_local7.length == 0){
_local5 = (_local5 + ".00");
} else {
if (_local7.length == 1){
_local5 = (_local5 + "0");
};
};
};
_local3 = this.getChildByName(_arg1);
_local3.removeEventListener(Event.ENTER_FRAME, _local3.entFrame);
this.removeChild(_local3);
_local3 = null;
}
public function checkKeysUp(_arg1:uint):void{
keyArray[_arg1][1] = false;
}
public function reverseFunction():void{
this.dauphin.saute.noEntFrame = false;
this.dauphin.saute.addEventListener(Event.ENTER_FRAME, this.dauphin.saute.entFrame);
}
public function mouvementSaut():void{
nombreSauts = (nombreSauts + 1);
fini = false;
dauphinTombe = false;
dauphinBoost = false;
plongeFini = true;
myTween = new TweenLite(this.dauphin, 10, {y:"-160", useFrames:true, onComplete:completeFunction, onReverseComplete:reverseFunction});
}
public function initVit():void{
myTween2b.kill();
this.itemSpd = this.initItemSpd;
}
public function Tombe(_arg1:Boolean):void{
var _local2:uint;
if (_arg1 == false){
_local2 = 10;
} else {
if (_arg1 == true){
_local2 = 5;
};
};
myTween3 = new TweenLite(this.dauphin, _local2, {y:"160", ease:Quad.easeIn, useFrames:true, onUpdate:updateTombe, onComplete:reverseFunction});
if (this.dauphin.y < 0){
dauphinTombe = true;
};
dauphinBoost = false;
posY = 0;
}
public function splashComplete():void{
splashFini = true;
}
public function isKeyDown(_arg1){
return (keyArray[_arg1][1]);
}
public function entFrame(_arg1:Event):void{
if (MovieClip(root).frameName != "menu"){
if (this.dauphin.saute != null){
this.dauphin.saute.addEventListener(Event.ENTER_FRAME, this.dauphin.saute.entFrame);
};
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
hit = this.dauphin[this.dauphin.etat].hit;
if (scrollFini == false){
dauphinPos = new Point(this.dauphin.x, this.dauphin.y);
dauphinPos = localToGlobal(dauphinPos);
if (this.dauphinPos.y < limVerticale){
scrolling();
} else {
if ((((this.dauphinPos.y > limVerticale)) && (!((this.y == 0))))){
scrolling();
};
};
};
if (isKeyDown(39) == true){
if ((this.dauphin.x + SPD) < limDroite){
this.dauphin.x = (this.dauphin.x + SPD);
} else {
this.dauphin.x = limDroite;
};
} else {
if (isKeyDown(37) == true){
if ((this.dauphin.x - SPD) > 20){
this.dauphin.x = (this.dauphin.x - SPD);
} else {
this.dauphin.x = 20;
};
};
};
if (this.dauphin.etat == "nage"){
up = true;
if (isKeyDown(40) == true){
if (splashFini == false){
myTween5.kill();
splashFini = true;
};
if ((this.dauphin.y + SPD) < 385){
this.dauphin.y = (this.dauphin.y + SPD);
this.dauphin.nage.rotation = 10;
} else {
this.dauphin.y = 385;
};
} else {
if (isKeyDown(38) == true){
if (splashFini == false){
myTween5.kill();
splashFini = true;
};
if ((this.dauphin.y - SPD) > eau){
this.dauphin.y = (this.dauphin.y - SPD);
this.dauphin.nage.rotation = -10;
} else {
this.dauphin.y = eau;
jump = true;
};
} else {
if (this.dauphin.nage.rotation > 0){
this.dauphin.nage.rotation = (this.dauphin.nage.rotation - 2);
} else {
if (this.dauphin.nage.rotation < 0){
this.dauphin.nage.rotation = (this.dauphin.nage.rotation + 2);
} else {
this.dauphin.nage.rotation = 0;
};
};
};
};
if ((((jump == true)) && ((isKeyDown(38) == true)))){
this.dauphin.gotoAndStop("saute");
jump = false;
boost = true;
};
if ((((isKeyDown(39) == false)) && (((this.dauphin.x - 2) > 20)))){
this.dauphin.x = (this.dauphin.x - 2);
};
};
if (isKeyDown(38) == false){
up = false;
};
if (isKeyDown(39) == false){
right = false;
};
if (isKeyDown(40) == false){
down = false;
};
if (plongeFini == false){
if ((this.dauphin.x - (itemSpd * (1 / 3))) > 20){
this.dauphin.x = (this.dauphin.x - (itemSpd * (1 / 3)));
} else {
this.dauphin.x = 20;
};
};
}
public function preMeduseSaut():void{
dauphinTombe = false;
dauphinBoost = false;
if (plongeFini == false){
plongeFini = true;
};
myTween8 = new TweenLite(this.dauphin, 10, {y:240, useFrames:true, onComplete:meduseSaut, overwrite:true, ease:Quad.easeOut, onUpdate:updateMed});
this.dauphin.saute.gotoAndPlay("meduseSaut");
}
public function spawnForme(_arg1:String, _arg2:int, _arg3:int):void{
if (_arg1 == "saut"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 160), _arg3);
newHx = (_arg2 + 160);
newHy = _arg3;
} else {
if (_arg1 == "sautM1"){
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 160), _arg3);
newHx = (_arg2 + 160);
newHy = _arg3;
} else {
if (_arg1 == "sautM5"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
newHx = (_arg2 + 135);
newHy = (_arg3 - 65);
} else {
if (_arg1 == "saut3"){
spawnage("etoileB", (_arg2 + 25), (_arg3 - 65));
spawnage("etoileB", (_arg2 + 80), (_arg3 - 110));
spawnage("etoileB", (_arg2 + 135), (_arg3 - 65));
newHx = (_arg2 + 135);
newHy = (_arg3 - 65);
} else {
if (_arg1 == "diM3"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 30), (_arg3 - 50));
spawnage("etoileB", (_arg2 + 60), (_arg3 - 100));
spawnage("etoileB", (_arg2 + 90), (_arg3 - 150));
spawnage("etoileB", (_arg2 + 120), (_arg3 - 200));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 250));
spawnage("etoileB", (_arg2 + 180), (_arg3 - 300));
spawnage("etoileB", (_arg2 + 210), (_arg3 - 350));
spawnage("etoileB", (_arg2 + 240), (_arg3 - 400));
spawnage("etoileB", (_arg2 + 270), (_arg3 - 450));
newHx = (_arg2 + 270);
newHy = (_arg3 - 450);
} else {
if (_arg1 == "diM2"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 30), (_arg3 - 50));
spawnage("etoileB", (_arg2 + 60), (_arg3 - 100));
spawnage("etoileB", (_arg2 + 90), (_arg3 - 150));
spawnage("etoileB", (_arg2 + 120), (_arg3 - 200));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 250));
newHx = (_arg2 + 150);
newHy = (_arg3 - 250);
} else {
if (_arg1 == "medM"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", (_arg2 + 5), (_arg3 - 90));
spawnage("etoileB", (_arg2 + 15), (_arg3 - 170));
spawnage("etoileB", (_arg2 + 30), (_arg3 - 240));
spawnage("etoileB", (_arg2 + 50), (_arg3 - 300));
spawnage("etoileB", (_arg2 + 75), (_arg3 - 350));
spawnage("etoileB", (_arg2 + 110), (_arg3 - 390));
spawnage("etoileB", (_arg2 + 150), (_arg3 - 420));
spawnage("etoileB", (_arg2 + 200), (_arg3 - 440));
spawnage("etoileB", (_arg2 + 270), (_arg3 - 450));
newHx = (_arg2 + 270);
newHy = (_arg3 - 450);
} else {
if (_arg1 == "ligneX"){
spawnage("etoileB", (_arg2 + 0), _arg3);
spawnage("etoileB", (_arg2 + 50), _arg3);
spawnage("etoileB", (_arg2 + 100), _arg3);
spawnage("etoileB", (_arg2 + 150), _arg3);
spawnage("etoileB", (_arg2 + 200), _arg3);
spawnage("etoileB", (_arg2 + 250), _arg3);
newHx = (_arg2 + 250);
newHy = _arg3;
} else {
if (_arg1 == "ligneY"){
spawnage("etoileB", _arg2, _arg3);
spawnage("etoileB", _arg2, (_arg3 - 50));
spawnage("etoileB", _arg2, (_arg3 - 100));
spawnage("etoileB", _arg2, (_arg3 - 150));
spawnage("etoileB", _arg2, (_arg3 - 200));
newHx = _arg2;
newHy = (_arg3 - 200);
} else {
if (_arg1 == "zigzag1"){
spawnage("etoileB", _arg2, 280);
spawnage("etoileB", (_arg2 + 100), 380);
spawnage("etoileB", (_arg2 + 200), 280);
newHx = (_arg2 + 200);
newHy = 280;
if (_arg3 >= 4){
spawnage("etoileB", (_arg2 + 300), 380);
newHx = (_arg2 + 300);
newHy = 380;
};
if (_arg3 >= 5){
spawnage("etoileB", (_arg2 + 400), 280);
newHx = (_arg2 + 400);
newHy = 280;
};
if (_arg3 >= 6){
spawnage("etoileB", (_arg2 + 500), 380);
newHx = (_arg2 + 500);
newHy = 380;
};
} else {
if (_arg1 == "zigzag2"){
spawnage("etoileB", _arg2, 380);
spawnage("etoileB", (_arg2 + 100), 280);
spawnage("etoileB", (_arg2 + 200), 380);
newHx = (_arg2 + 200);
newHy = 380;
if (_arg3 >= 4){
spawnage("etoileB", (_arg2 + 300), 280);
newHx = (_arg2 + 300);
newHy = 280;
};
if (_arg3 >= 5){
spawnage("etoileB", (_arg2 + 400), 380);
newHx = (_arg2 + 400);
newHy = 380;
};
if (_arg3 >= 6){
spawnage("etoileB", (_arg2 + 500), 280);
newHx = (_arg2 + 500);
newHy = 280;
};
} else {
if (_arg1 == "espace"){
spawnage("espace", (newHx + _arg2), 230);
};
};
};
};
};
};
};
};
};
};
};
};
}
public function Boost():void{
this.dauphin.saute.noEntFrame = true;
dauphinTombe = false;
if (this.dauphin.y < 0){
dauphinBoost = true;
};
plongeFini = true;
myTween2 = new TweenLite(this.dauphin, 12, {x:"225", ease:Cubic.easeOut, useFrames:true, onUpdate:updateBoost, overwrite:true});
}
public function meduseSautComplete():void{
Tombe(false);
}
public function spawnage(_arg1:String, _arg2:int, _arg3:int):void{
var _local4:*;
if (_arg1 == "etoileB"){
cntIt = (cntIt + 1);
_local4 = new EtoileJaune();
_local4.name = ("et_" + cntIt);
} else {
if (_arg1 == "espace"){
cntIt = (cntIt + 1);
_local4 = new Espace();
_local4.name = ("esp_" + cntIt);
} else {
if (_arg1 == "meduse"){
cntIt = (cntIt + 1);
_local4 = new Meduse();
_local4.name = ("med_" + cntIt);
} else {
if (_arg1 == "sonar"){
_local4 = new Sonar();
_local4.name = "sonar1";
} else {
if (_arg1 == "bouée"){
_local4 = new Bouée();
_local4.name = "bouée1";
newHx = 700;
newHy = 230;
};
};
};
};
};
_local4.x = _arg2;
_local4.y = _arg3;
addChildAt(_local4, this.getChildIndex(dauphin));
}
public function updateTombe():void{
if (plongeFini == true){
if (!((!((this.dauphin.y == eau))) && (((this.dauphin.y + 20) < eau)))){
Splash();
myTween3.kill();
};
};
}
public function checkKeysDown(_arg1:uint):void{
keyArray[_arg1][1] = true;
if (isKeyDown(38)){
if ((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((up == false)))) && ((nombreSauts < maxSauts)))){
this.dauphin.saute.gotoAndPlay("saute2");
up = true;
MovieClip(root).sonsF("triple", false);
};
};
if (isKeyDown(39)){
if ((((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((right == false)))) && ((boost == true)))) && (((this.dauphin.y + 30) < eau)))){
this.dauphin.saute.gotoAndPlay("boost");
boost = false;
MovieClip(root).sonsF("boost", false);
};
right = true;
};
if (isKeyDown(40)){
if ((((((((((this.dauphin.etat == "saute")) && ((fini == false)))) && ((down == false)))) && ((peutPlonger == true)))) && (((this.dauphin.y + 40) < eau)))){
this.dauphin.saute.gotoAndPlay("plonge");
peutPlonger = false;
plongeFini = false;
MovieClip(root).sonsF("boost", false);
};
down = true;
};
if (isKeyDown(32)){
if (peutSonar == true){
spawnage("sonar", (this.dauphin.x + 50), this.dauphin.y);
peutSonar = false;
MovieClip(root).sonsF("sonar", false);
};
};
}
public function Bloop():void{
myTween5 = new TweenLite(this.dauphin, 5, {y:"-20", ease:Quad.easeOut, useFrames:true, onComplete:splashComplete});
this.dauphin.gotoAndStop("nage");
}
}
}//package StarSplash_OML_fla
Section 223
//menu_scene_dauphin_moves_42 (StarSplash_OML_fla.menu_scene_dauphin_moves_42)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_scene_dauphin_moves_42 extends MovieClip {
public function menu_scene_dauphin_moves_42(){
addFrameScript(19, frame20, 39, frame40, 93, frame94, 113, frame114, 163, frame164, 173, frame174, 178, frame179, 188, frame189, 213, frame214, 215, frame216, 243, frame244, 290, frame291, 300, frame301, 383, frame384, 403, frame404);
}
function frame164(){
MovieClip(parent).checkKeysUp(39);
MovieClip(parent).checkKeysDown(38);
}
function frame291(){
MovieClip(parent).checkKeysDown(38);
}
function frame94(){
MovieClip(parent).checkKeysUp(38);
}
function frame174(){
MovieClip(parent).checkKeysUp(38);
}
function frame214(){
}
function frame20(){
MovieClip(parent).checkKeysUp(40);
MovieClip(parent).dauphin.x = 150;
MovieClip(parent).dauphin.y = 385;
}
function frame216(){
}
function frame179(){
MovieClip(parent).checkKeysDown(38);
}
function frame114(){
MovieClip(parent).checkKeysDown(39);
}
function frame40(){
MovieClip(parent).checkKeysDown(38);
}
function frame244(){
MovieClip(parent).spawnage("meduse", 750, 220);
}
function frame189(){
MovieClip(parent).checkKeysUp(38);
}
function frame404(){
MovieClip(parent).checkKeysUp(40);
}
function frame384(){
MovieClip(parent).checkKeysDown(40);
}
function frame301(){
MovieClip(parent).checkKeysUp(38);
}
}
}//package StarSplash_OML_fla
Section 224
//menu_scene_dauphin_moves_FIN_96 (StarSplash_OML_fla.menu_scene_dauphin_moves_FIN_96)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menu_scene_dauphin_moves_FIN_96 extends MovieClip {
public function menu_scene_dauphin_moves_FIN_96(){
addFrameScript(19, frame20, 39, frame40, 88, frame89, 93, frame94, 159, frame160, 169, frame170, 174, frame175, 184, frame185, 189, frame190, 199, frame200, 204, frame205, 207, frame208, 224, frame225, 244, frame245);
}
function frame160(){
MovieClip(parent).checkKeysDown(38);
}
function frame200(){
MovieClip(parent).congrats.play();
MovieClip(parent).checkKeysUp(38);
}
function frame208(){
}
function frame89(){
MovieClip(parent).checkKeysUp(39);
}
function frame205(){
MovieClip(parent).scrollFini = true;
MovieClip(parent).checkKeysDown(39);
}
function frame170(){
MovieClip(parent).checkKeysUp(38);
}
function frame94(){
MovieClip(parent).checkKeysUp(38);
}
function frame20(){
MovieClip(parent).checkKeysDown(39);
}
function frame185(){
MovieClip(parent).checkKeysUp(38);
}
function frame225(){
MovieClip(parent).checkKeysUp(39);
}
function frame175(){
MovieClip(parent).checkKeysDown(38);
}
function frame190(){
MovieClip(parent).checkKeysDown(38);
}
function frame245(){
stop();
}
function frame40(){
MovieClip(parent).checkKeysDown(38);
}
}
}//package StarSplash_OML_fla
Section 225
//menuJeu_162 (StarSplash_OML_fla.menuJeu_162)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class menuJeu_162 extends MovieClip {
public var presTableau:MovieClip;
public var btnMoreGames:SimpleButton;
public var itemsC:TextField;
public var score:TextField;
public var noir:MovieClip;
public var progression:MovieClip;
public var m_son:MovieClip;
public var m_mus:MovieClip;
public function menuJeu_162(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.noir.mouseChildren = false;
this.noir.mouseEnabled = false;
this.btnMoreGames.addEventListener(MouseEvent.CLICK, clickMoreGames);
this.btnMoreGames.mouseEnabled = false;
}
public function clickMoreGames(_arg1:Event=null):void{
MovieClip(parent).handle_btnMoreGames("InGameLogo");
}
}
}//package StarSplash_OML_fla
Section 226
//menuJeu_scoreText_163 (StarSplash_OML_fla.menuJeu_scoreText_163)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menuJeu_scoreText_163 extends MovieClip {
public var __id12_:LocalizedTextField;
public function menuJeu_scoreText_163(){
__setProp___id12__menuJeu_scoreText_Layer1_1();
}
function __setProp___id12__menuJeu_scoreText_Layer1_1(){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{Score}";
__id12_.textColor = 13351252;
__id12_.textSize = 19;
__id12_.bold = false;
__id12_.disableWordwrap = false;
__id12_.embedFonts = true;
__id12_.font = "Porky's";
__id12_.hAlign = "center";
__id12_.multiline = false;
__id12_.vAlign = "middle";
__id12_.antiAliasType = "advanced";
__id12_.glowBlur = 3;
__id12_.glowColor = 0;
__id12_.useGlowFilter = false;
__id12_.glowQuality = 1;
__id12_.glowStrength = 5;
__id12_.gridFitType = "pixel";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 227
//menuJeu_starsText_164 (StarSplash_OML_fla.menuJeu_starsText_164)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menuJeu_starsText_164 extends MovieClip {
public var __id13_:LocalizedTextField;
public function menuJeu_starsText_164(){
__setProp___id13__menuJeu_starsText_Layer1_1();
}
function __setProp___id13__menuJeu_starsText_Layer1_1(){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.text = "{Stars}";
__id13_.textColor = 13351252;
__id13_.textSize = 15;
__id13_.bold = false;
__id13_.disableWordwrap = false;
__id13_.embedFonts = true;
__id13_.font = "Porky's";
__id13_.hAlign = "center";
__id13_.multiline = false;
__id13_.vAlign = "middle";
__id13_.antiAliasType = "advanced";
__id13_.glowBlur = 3;
__id13_.glowColor = 0;
__id13_.useGlowFilter = false;
__id13_.glowQuality = 1;
__id13_.glowStrength = 5;
__id13_.gridFitType = "pixel";
__id13_.italic = false;
__id13_.selectable = false;
__id13_.underline = false;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 228
//musique_c_59 (StarSplash_OML_fla.musique_c_59)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class musique_c_59 extends MovieClip {
public var hit_btn:MovieClip;
public function musique_c_59(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if (MovieClip(root).musique == "off"){
this.gotoAndStop(2);
};
this.hit_btn.addEventListener(MouseEvent.CLICK, this.hitBtn1);
}
function frame2(){
stop();
}
public function hitBtn1(_arg1:MouseEvent):void{
if (this.currentFrame == 1){
MovieClip(root).musique = "off";
MovieClip(root).musicMC.Menu1_tr.volume = 0;
MovieClip(root).musicMC.Menu1_ch.soundTransform = MovieClip(root).musicMC.Menu1_tr;
MovieClip(root).musicMC.lvl1_tr.volume = 0;
MovieClip(root).musicMC.lvl1_ch.soundTransform = MovieClip(root).musicMC.lvl1_tr;
MovieClip(root).musicMC.lvl2_tr.volume = 0;
MovieClip(root).musicMC.lvl2_ch.soundTransform = MovieClip(root).musicMC.lvl2_tr;
MovieClip(root).musicMC.lvl3_tr.volume = 0;
MovieClip(root).musicMC.lvl3_ch.soundTransform = MovieClip(root).musicMC.lvl3_tr;
gotoAndStop(2);
} else {
MovieClip(root).musique = "on";
MovieClip(root).musicMC.Menu1_tr.volume = MovieClip(root).volumeValue;
MovieClip(root).musicMC.Menu1_ch.soundTransform = MovieClip(root).musicMC.Menu1_tr;
MovieClip(root).musicMC.lvl1_tr.volume = MovieClip(root).volumeValue;
MovieClip(root).musicMC.lvl1_ch.soundTransform = MovieClip(root).musicMC.lvl1_tr;
MovieClip(root).musicMC.lvl2_tr.volume = MovieClip(root).volumeValue;
MovieClip(root).musicMC.lvl2_ch.soundTransform = MovieClip(root).musicMC.lvl2_tr;
MovieClip(root).musicMC.lvl3_tr.volume = MovieClip(root).volumeValue;
MovieClip(root).musicMC.lvl3_ch.soundTransform = MovieClip(root).musicMC.lvl3_tr;
gotoAndStop(1);
};
}
}
}//package StarSplash_OML_fla
Section 229
//musique_c2_173 (StarSplash_OML_fla.musique_c2_173)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class musique_c2_173 extends MovieClip {
public var hit_btn:SimpleButton;
public function musique_c2_173(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if (MovieClip(root).musique == "off"){
this.gotoAndStop(2);
};
this.hit_btn.addEventListener(MouseEvent.CLICK, this.hitBtn1);
}
function frame2(){
stop();
}
public function hitBtn1(_arg1:MouseEvent):void{
if (this.currentFrame == 1){
MovieClip(root).musique = "off";
MovieClip(root).musicMC.Menu1_tr.volume = 0;
MovieClip(root).musicMC.Menu1_ch.soundTransform = MovieClip(root).musicMC.Menu1_tr;
MovieClip(root).musicMC.lvl1_tr.volume = 0;
MovieClip(root).musicMC.lvl1_ch.soundTransform = MovieClip(root).musicMC.lvl1_tr;
MovieClip(root).musicMC.lvl2_tr.volume = 0;
MovieClip(root).musicMC.lvl2_ch.soundTransform = MovieClip(root).musicMC.lvl2_tr;
MovieClip(root).musicMC.lvl3_tr.volume = 0;
MovieClip(root).musicMC.lvl3_ch.soundTransform = MovieClip(root).musicMC.lvl3_tr;
gotoAndStop(2);
} else {
MovieClip(root).musique = "on";
MovieClip(root).musicMC.Menu1_tr.volume = MovieClip(root).volumeValue;
MovieClip(root).musicMC.Menu1_ch.soundTransform = MovieClip(root).musicMC.Menu1_tr;
MovieClip(root).musicMC.lvl1_tr.volume = MovieClip(root).volumeValue;
MovieClip(root).musicMC.lvl1_ch.soundTransform = MovieClip(root).musicMC.lvl1_tr;
MovieClip(root).musicMC.lvl2_tr.volume = MovieClip(root).volumeValue;
MovieClip(root).musicMC.lvl2_ch.soundTransform = MovieClip(root).musicMC.lvl2_tr;
MovieClip(root).musicMC.lvl3_tr.volume = MovieClip(root).volumeValue;
MovieClip(root).musicMC.lvl3_ch.soundTransform = MovieClip(root).musicMC.lvl3_tr;
gotoAndStop(1);
};
}
}
}//package StarSplash_OML_fla
Section 230
//noir_alpha_clip_177 (StarSplash_OML_fla.noir_alpha_clip_177)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class noir_alpha_clip_177 extends MovieClip {
public var noir:MovieClip;
public function noir_alpha_clip_177(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
stop();
}
function frame1(){
stop();
}
}
}//package StarSplash_OML_fla
Section 231
//preloader_3 (StarSplash_OML_fla.preloader_3)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class preloader_3 extends MovieClip {
public var bx:MovieClip;
public function preloader_3(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package StarSplash_OML_fla
Section 232
//preloader_barre_4 (StarSplash_OML_fla.preloader_barre_4)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class preloader_barre_4 extends MovieClip {
public var b2:MovieClip;
public var b4:MovieClip;
public var b5:MovieClip;
public var b6:MovieClip;
public var b7:MovieClip;
public var b1:MovieClip;
public var b3:MovieClip;
public var b8:MovieClip;
public function preloader_barre_4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.b1.gotoAndPlay(105);
this.b2.gotoAndPlay(90);
this.b3.gotoAndPlay(75);
this.b4.gotoAndPlay(60);
this.b5.gotoAndPlay(45);
this.b6.gotoAndPlay(30);
this.b7.gotoAndPlay(15);
this.b8.gotoAndPlay(1);
}
}
}//package StarSplash_OML_fla
Section 233
//preloader_barre_tite_c_5 (StarSplash_OML_fla.preloader_barre_tite_c_5)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class preloader_barre_tite_c_5 extends MovieClip {
public function preloader_barre_tite_c_5(){
addFrameScript(0, frame1);
}
function frame1(){
play();
}
}
}//package StarSplash_OML_fla
Section 234
//preloader_c_2 (StarSplash_OML_fla.preloader_c_2)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import CPMStar.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class preloader_c_2 extends MovieClip {
public var BAR:MovieClip;
public var ad:DisplayObject;
public var adBox:MovieClip;
public var CPMStarContentSpotID:String;
public var btn_start:MovieClip;
public function preloader_c_2(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 122, frame123);
}
function frame3(){
if (this.BAR.currentFrame < 100){
this.BAR.play();
};
play();
}
function frame1(){
stop();
if (MovieClip(parent).Star == true){
gotoAndStop("pub");
};
}
function frame2(){
stop();
CPMStarContentSpotID = "3786QFDD07C8A";
ad = new AdLoader(CPMStarContentSpotID);
adBox.addChild(ad);
}
public function hitBtn1(_arg1:MouseEvent):void{
this.btn_start.removeEventListener(MouseEvent.CLICK, this.hitBtn1);
MovieClip(parent).play();
}
function frame123(){
stop();
this.btn_start.addEventListener(MouseEvent.CLICK, this.hitBtn1);
}
}
}//package StarSplash_OML_fla
Section 235
//pres_result_180 (StarSplash_OML_fla.pres_result_180)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class pres_result_180 extends MovieClip {
public var titre:MovieClip;
public var l1:MovieClip;
public var l3:MovieClip;
public var l2:MovieClip;
public function pres_result_180(){
addFrameScript(49, frame50, 74, frame75);
}
function frame75(){
stop();
if (MovieClip(root).lv.pratique == true){
MyGlobal.vague = (MyGlobal.vague - 1);
MovieClip(parent).nextPlace = "pres";
MovieClip(parent).gotoAndPlay("pres");
} else {
if ((((((MyGlobal.vague == 7)) || ((MyGlobal.vague == 14)))) || ((MyGlobal.vague == 21)))){
MovieClip(parent).nextPlace = "trans";
MovieClip(parent).gotoAndPlay("trans");
} else {
MovieClip(parent).nextPlace = "pres";
MovieClip(parent).gotoAndPlay("pres");
};
};
}
function frame50(){
stop();
}
}
}//package StarSplash_OML_fla
Section 236
//pres_result_l1_183 (StarSplash_OML_fla.pres_result_l1_183)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class pres_result_l1_183 extends MovieClip {
public var stars:TextField;
public function pres_result_l1_183(){
addFrameScript(0, frame1);
}
function frame1(){
this.stars.text = MovieClip(root).lv.totalItems;
}
}
}//package StarSplash_OML_fla
Section 237
//pres_result_l1_collectedText_188 (StarSplash_OML_fla.pres_result_l1_collectedText_188)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class pres_result_l1_collectedText_188 extends MovieClip {
public var __id16_:LocalizedTextField;
public function pres_result_l1_collectedText_188(){
__setProp___id16__pres_result_l1_collectedText_Layer1_1();
}
function __setProp___id16__pres_result_l1_collectedText_Layer1_1(){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.text = "{CollectedResult}";
__id16_.textColor = 0xFFFF;
__id16_.textSize = 32;
__id16_.bold = false;
__id16_.disableWordwrap = false;
__id16_.embedFonts = true;
__id16_.font = "Berlin Sans FB Demi";
__id16_.hAlign = "left";
__id16_.multiline = false;
__id16_.vAlign = "middle";
__id16_.antiAliasType = "advanced";
__id16_.glowBlur = 3;
__id16_.glowColor = 0;
__id16_.useGlowFilter = false;
__id16_.glowQuality = 1;
__id16_.glowStrength = 5;
__id16_.gridFitType = "pixel";
__id16_.italic = false;
__id16_.selectable = false;
__id16_.underline = false;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 238
//pres_result_l1_neededText_186 (StarSplash_OML_fla.pres_result_l1_neededText_186)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class pres_result_l1_neededText_186 extends MovieClip {
public var __id15_:LocalizedTextField;
public function pres_result_l1_neededText_186(){
__setProp___id15__pres_result_l1_neededText_Layer1_1();
}
function __setProp___id15__pres_result_l1_neededText_Layer1_1(){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.text = "{NeededResult}";
__id15_.textColor = 0xFFFF;
__id15_.textSize = 32;
__id15_.bold = false;
__id15_.disableWordwrap = false;
__id15_.embedFonts = true;
__id15_.font = "Berlin Sans FB Demi";
__id15_.hAlign = "left";
__id15_.multiline = false;
__id15_.vAlign = "middle";
__id15_.antiAliasType = "advanced";
__id15_.glowBlur = 3;
__id15_.glowColor = 0;
__id15_.useGlowFilter = false;
__id15_.glowQuality = 1;
__id15_.glowStrength = 5;
__id15_.gridFitType = "pixel";
__id15_.italic = false;
__id15_.selectable = false;
__id15_.underline = false;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 239
//pres_result_l1_starsText_184 (StarSplash_OML_fla.pres_result_l1_starsText_184)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class pres_result_l1_starsText_184 extends MovieClip {
public var __id14_:LocalizedTextField;
public function pres_result_l1_starsText_184(){
__setProp___id14__pres_result_l1_starsText_Layer1_1();
}
function __setProp___id14__pres_result_l1_starsText_Layer1_1(){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.text = "{StarsResult}";
__id14_.textColor = 0xFFFF;
__id14_.textSize = 32;
__id14_.bold = false;
__id14_.disableWordwrap = false;
__id14_.embedFonts = true;
__id14_.font = "Berlin Sans FB Demi";
__id14_.hAlign = "left";
__id14_.multiline = false;
__id14_.vAlign = "middle";
__id14_.antiAliasType = "advanced";
__id14_.glowBlur = 3;
__id14_.glowColor = 0;
__id14_.useGlowFilter = false;
__id14_.glowQuality = 1;
__id14_.glowStrength = 5;
__id14_.gridFitType = "pixel";
__id14_.italic = false;
__id14_.selectable = false;
__id14_.underline = false;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 240
//pres_result_l2_185 (StarSplash_OML_fla.pres_result_l2_185)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class pres_result_l2_185 extends MovieClip {
public var needed:TextField;
public function pres_result_l2_185(){
addFrameScript(0, frame1);
}
function frame1(){
this.needed.text = MovieClip(root).lv.passeItems;
}
}
}//package StarSplash_OML_fla
Section 241
//pres_result_l3_187 (StarSplash_OML_fla.pres_result_l3_187)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class pres_result_l3_187 extends MovieClip {
public var collected:TextField;
public function pres_result_l3_187(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
this.collected.text = MovieClip(root).lv.itemsCollect;
}
function frame1(){
stop();
if (MovieClip(parent.parent).verdict == "perfect"){
gotoAndStop(2);
};
if (MovieClip(parent.parent).verdict == "failed"){
gotoAndStop(3);
};
this.collected.text = MovieClip(root).lv.itemsCollect;
}
function frame2(){
stop();
this.collected.text = MovieClip(root).lv.itemsCollect;
}
}
}//package StarSplash_OML_fla
Section 242
//pres_tableau_179 (StarSplash_OML_fla.pres_tableau_179)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class pres_tableau_179 extends MovieClip {
public var nextPlace:String;
public var verdict:String;
public function pres_tableau_179(){
addFrameScript(0, frame1, 4, frame5, 9, frame10, 14, frame15, 19, frame20, 24, frame25, 29, frame30, 34, frame35);
}
function frame10(){
gotoAndPlay(nextPlace);
}
function frame15(){
stop();
}
function frame1(){
stop();
nextPlace = null;
verdict = null;
MovieClip(root).lv.controles = true;
}
function frame25(){
stop();
}
function frame5(){
MovieClip(root).lv.controles = false;
MovieClip(parent).noir.play();
play();
}
function frame20(){
stop();
}
function frame30(){
MovieClip(parent).noir.play();
play();
}
function frame35(){
if (nextPlace == "pres"){
MovieClip(root).lv.chVague();
};
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 243
//pres_tableau_anime_237 (StarSplash_OML_fla.pres_tableau_anime_237)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class pres_tableau_anime_237 extends MovieClip {
public var btnNext:MovieClip;
public var btnReady:MovieClip;
public var btnPractice:MovieClip;
public function pres_tableau_anime_237(){
addFrameScript(34, frame35, 49, frame50);
}
public function clickPractice(_arg1:Event=null):void{
stage.removeEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
this.btnNext.removeEventListener(MouseEvent.CLICK, clickNext);
this.btnPractice.removeEventListener(MouseEvent.CLICK, clickPractice);
MovieClip(root).lv.pratique = true;
this.play();
}
function frame35(){
stop();
this.btnPractice.focusRect = false;
this.btnNext.focusRect = false;
stage.addEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
this.btnNext.addEventListener(MouseEvent.CLICK, clickNext);
this.btnPractice.addEventListener(MouseEvent.CLICK, clickPractice);
}
public function clickNext(_arg1:Event=null):void{
stage.removeEventListener(KeyboardEvent.KEY_DOWN, checkKeysDown);
this.btnNext.removeEventListener(MouseEvent.CLICK, clickNext);
this.btnPractice.removeEventListener(MouseEvent.CLICK, clickPractice);
MovieClip(root).lv.pratique = false;
this.play();
}
function frame50(){
MovieClip(parent).gotoAndPlay("noir_out");
stop();
}
public function checkKeysDown(_arg1:KeyboardEvent):void{
if (((MovieClip(root).lv.isKeyDown(37)) || (MovieClip(root).lv.isKeyDown(65)))){
stage.focus = this.btnPractice;
};
if (((MovieClip(root).lv.isKeyDown(39)) || (MovieClip(root).lv.isKeyDown(68)))){
stage.focus = this.btnNext;
};
if (((MovieClip(root).lv.isKeyDown(32)) || (MovieClip(root).lv.isKeyDown(13)))){
if (stage.focus == this.btnPractice){
clickPractice();
} else {
if (stage.focus == this.btnNext){
clickNext();
};
};
};
}
}
}//package StarSplash_OML_fla
Section 244
//pres_transition_284 (StarSplash_OML_fla.pres_transition_284)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import com.spilgames.api.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class pres_transition_284 extends MovieClip {
public var etMask:MovieClip;
public var muz:String;
public function pres_transition_284(){
addFrameScript(0, frame1, 1, frame2, 32, frame33, 49, frame50, 54, frame55, 74, frame75, 104, frame105, 110, frame111, 150, frame151);
}
function frame151(){
stop();
MovieClip(parent.parent).btnMoreGames.removeEventListener(MouseEvent.CLICK, MovieClip(parent.parent).clickMoreGames);
MovieClip(root).gotoAndPlay("fin", "Menu");
}
function frame75(){
etMask.play();
}
function frame105(){
stop();
MovieClip(parent).nextPlace = "pres";
MovieClip(parent).gotoAndPlay("pres");
}
function frame1(){
etMask.gotoAndStop(1);
}
function frame111(){
MovieClip(root).frameName = null;
etMask.gotoAndStop(1);
play();
}
function frame2(){
MovieClip(root).musicF("out", 45, "end");
}
function frame33(){
MovieClip(root).sonsF("zonePassed", false);
}
function frame55(){
if (MyGlobal.vague == 7){
AwardsService.submitAward("award1");
} else {
if (MyGlobal.vague == 14){
AwardsService.submitAward("award2");
} else {
if (MyGlobal.vague == 21){
AwardsService.submitAward("award3");
};
};
};
if (MyGlobal.vague == 21){
gotoAndPlay("fini");
} else {
if (MovieClip(root).lv.zone == "port"){
muz = "lvl2";
} else {
if (MovieClip(root).lv.zone == "nuit"){
muz = "lvl3";
};
};
MovieClip(root).musicF("in", 45, muz);
};
}
function frame50(){
if (MovieClip(root).lv.zone == "tropical"){
MovieClip(root).lv.zone = "port";
} else {
if (MovieClip(root).lv.zone == "port"){
MovieClip(root).lv.zone = "nuit";
};
};
MovieClip(root).lv.chZone();
MovieClip(root).lv.itemsCollect = 0;
MovieClip(root).menuJeu.itemsC.text = 0;
MovieClip(root).menuJeu.progression.gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 245
//pres_transition_text_285 (StarSplash_OML_fla.pres_transition_text_285)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class pres_transition_text_285 extends MovieClip {
public function pres_transition_text_285(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
if (MyGlobal.vague == 14){
gotoAndStop(2);
} else {
if (MyGlobal.vague == 21){
gotoAndStop(3);
};
};
stop();
}
function frame2(){
stop();
}
}
}//package StarSplash_OML_fla
Section 246
//pres_transition_text_AdvanceText_288 (StarSplash_OML_fla.pres_transition_text_AdvanceText_288)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class pres_transition_text_AdvanceText_288 extends MovieClip {
public var __id39_:LocalizedTextField;
public function pres_transition_text_AdvanceText_288(){
__setProp___id39__pres_transition_text_AdvanceText_Layer1_1();
}
function __setProp___id39__pres_transition_text_AdvanceText_Layer1_1(){
try {
__id39_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id39_.text = "{AdvancedPassed}";
__id39_.textColor = 10953471;
__id39_.textSize = 60;
__id39_.bold = false;
__id39_.disableWordwrap = false;
__id39_.embedFonts = true;
__id39_.font = "Berlin Sans FB Demi";
__id39_.hAlign = "center";
__id39_.multiline = true;
__id39_.vAlign = "middle";
__id39_.antiAliasType = "advanced";
__id39_.glowBlur = 3;
__id39_.glowColor = 0;
__id39_.useGlowFilter = false;
__id39_.glowQuality = 1;
__id39_.glowStrength = 5;
__id39_.gridFitType = "pixel";
__id39_.italic = false;
__id39_.selectable = false;
__id39_.underline = false;
try {
__id39_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 247
//pres_transition_text_EasyText_286 (StarSplash_OML_fla.pres_transition_text_EasyText_286)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class pres_transition_text_EasyText_286 extends MovieClip {
public var __id37_:LocalizedTextField;
public function pres_transition_text_EasyText_286(){
__setProp___id37__pres_transition_text_EasyText_Layer1_1();
}
function __setProp___id37__pres_transition_text_EasyText_Layer1_1(){
try {
__id37_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id37_.text = "{EasyPassed}";
__id37_.textColor = 0xFFFF;
__id37_.textSize = 60;
__id37_.bold = false;
__id37_.disableWordwrap = false;
__id37_.embedFonts = true;
__id37_.font = "Berlin Sans FB Demi";
__id37_.hAlign = "center";
__id37_.multiline = true;
__id37_.vAlign = "middle";
__id37_.antiAliasType = "advanced";
__id37_.glowBlur = 3;
__id37_.glowColor = 0;
__id37_.useGlowFilter = false;
__id37_.glowQuality = 1;
__id37_.glowStrength = 5;
__id37_.gridFitType = "pixel";
__id37_.italic = false;
__id37_.selectable = false;
__id37_.underline = false;
try {
__id37_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 248
//pres_transition_text_MediumText_287 (StarSplash_OML_fla.pres_transition_text_MediumText_287)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class pres_transition_text_MediumText_287 extends MovieClip {
public var __id38_:LocalizedTextField;
public function pres_transition_text_MediumText_287(){
__setProp___id38__pres_transition_text_MediumText_Layer1_1();
}
function __setProp___id38__pres_transition_text_MediumText_Layer1_1(){
try {
__id38_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id38_.text = "{MediumPassed}";
__id38_.textColor = 4033278;
__id38_.textSize = 60;
__id38_.bold = false;
__id38_.disableWordwrap = false;
__id38_.embedFonts = true;
__id38_.font = "Berlin Sans FB Demi";
__id38_.hAlign = "center";
__id38_.multiline = true;
__id38_.vAlign = "middle";
__id38_.antiAliasType = "advanced";
__id38_.glowBlur = 3;
__id38_.glowColor = 0;
__id38_.useGlowFilter = false;
__id38_.glowQuality = 1;
__id38_.glowStrength = 5;
__id38_.gridFitType = "pixel";
__id38_.italic = false;
__id38_.selectable = false;
__id38_.underline = false;
try {
__id38_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 249
//qualitee_clip_16 (StarSplash_OML_fla.qualitee_clip_16)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class qualitee_clip_16 extends MovieClip {
public var q_text:MovieClip;
}
}//package StarSplash_OML_fla
Section 250
//qualitee_clip_text_18 (StarSplash_OML_fla.qualitee_clip_text_18)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class qualitee_clip_text_18 extends MovieClip {
public function qualitee_clip_text_18(){
addFrameScript(0, frame1, 14, frame15, 29, frame30, 44, frame45, 59, frame60);
}
function frame15(){
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame30(){
gotoAndStop(1);
}
function frame45(){
gotoAndStop(1);
}
function frame60(){
gotoAndStop(1);
}
}
}//package StarSplash_OML_fla
Section 251
//snailsanimation_15 (StarSplash_OML_fla.snailsanimation_15)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class snailsanimation_15 extends MovieClip {
public function snailsanimation_15(){
addFrameScript(1, frame2, 89, frame90);
}
function frame90(){
stop();
MovieClip(parent).play();
}
function frame2(){
MovieClip(root).musicF("in", 85, "Menu");
}
}
}//package StarSplash_OML_fla
Section 252
//SnailsAnimation_splash_13 (StarSplash_OML_fla.SnailsAnimation_splash_13)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class SnailsAnimation_splash_13 extends MovieClip {
public var snails:SimpleButton;
public function SnailsAnimation_splash_13(){
addFrameScript(0, frame1, 8, frame9, 22, frame23);
}
function frame1(){
this.snails.addEventListener(MouseEvent.CLICK, MovieClip(root).clickSNL);
if (MovieClip(root).snailsLogo == true){
this.snails.mouseEnabled = true;
} else {
this.snails.mouseEnabled = false;
};
}
function frame23(){
stop();
this.snails.removeEventListener(MouseEvent.CLICK, MovieClip(root).clickSNL);
MovieClip(parent).play();
}
function frame9(){
stop();
}
}
}//package StarSplash_OML_fla
Section 253
//son_c_64 (StarSplash_OML_fla.son_c_64)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class son_c_64 extends MovieClip {
public var hit_btn:MovieClip;
public function son_c_64(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if (MovieClip(root).sons == "off"){
this.gotoAndStop(2);
};
this.hit_btn.addEventListener(MouseEvent.CLICK, this.hitBtn1);
}
function frame2(){
stop();
}
public function hitBtn1(_arg1:MouseEvent):void{
if (this.currentFrame == 1){
MovieClip(root).sons = "off";
MovieClip(root).sonMC.gotoAndPlay("mute");
this.gotoAndStop(2);
} else {
MovieClip(root).sons = "on";
this.gotoAndStop(1);
};
}
}
}//package StarSplash_OML_fla
Section 254
//son_c2_175 (StarSplash_OML_fla.son_c2_175)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class son_c2_175 extends MovieClip {
public var hit_btn:SimpleButton;
public function son_c2_175(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
if (MovieClip(root).sons == "off"){
this.gotoAndStop(2);
};
this.hit_btn.addEventListener(MouseEvent.CLICK, this.hitBtn1);
}
function frame2(){
stop();
}
public function hitBtn1(_arg1:MouseEvent):void{
if (this.currentFrame == 1){
MovieClip(root).sons = "off";
MovieClip(root).sonMC.gotoAndPlay("mute");
this.gotoAndStop(2);
} else {
MovieClip(root).sons = "on";
this.gotoAndStop(1);
};
}
}
}//package StarSplash_OML_fla
Section 255
//sonar_clip_grossi_291 (StarSplash_OML_fla.sonar_clip_grossi_291)
package StarSplash_OML_fla {
import flash.display.*;
public dynamic class sonar_clip_grossi_291 extends MovieClip {
public function sonar_clip_grossi_291(){
addFrameScript(4, frame5);
}
function frame5(){
stop();
}
}
}//package StarSplash_OML_fla
Section 256
//splash_298 (StarSplash_OML_fla.splash_298)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class splash_298 extends MovieClip {
public function splash_298(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
MovieClip(parent.parent).deleteSplash(MovieClip(parent).typeSplash);
}
}
}//package StarSplash_OML_fla
Section 257
//t2_242 (StarSplash_OML_fla.t2_242)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class t2_242 extends MovieClip {
public var __id24_:LocalizedTextField;
public function t2_242(){
__setProp___id24__t2_Layer2_1();
}
function __setProp___id24__t2_Layer2_1(){
try {
__id24_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id24_.text = "{Air1Pres}";
__id24_.textColor = 0xFFFFFF;
__id24_.textSize = 13;
__id24_.bold = false;
__id24_.disableWordwrap = false;
__id24_.embedFonts = true;
__id24_.font = "Futura BdCn BT";
__id24_.hAlign = "left";
__id24_.multiline = false;
__id24_.vAlign = "middle";
__id24_.antiAliasType = "advanced";
__id24_.glowBlur = 3;
__id24_.glowColor = 0;
__id24_.useGlowFilter = false;
__id24_.glowQuality = 1;
__id24_.glowStrength = 5;
__id24_.gridFitType = "pixel";
__id24_.italic = false;
__id24_.selectable = false;
__id24_.underline = false;
try {
__id24_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 258
//t5_243 (StarSplash_OML_fla.t5_243)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class t5_243 extends MovieClip {
public var __id25_:LocalizedTextField;
public function t5_243(){
__setProp___id25__t5_Layer1_1();
}
function __setProp___id25__t5_Layer1_1(){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.text = "{Air2Pres}";
__id25_.textColor = 0xFFFFFF;
__id25_.textSize = 13;
__id25_.bold = false;
__id25_.disableWordwrap = false;
__id25_.embedFonts = true;
__id25_.font = "Futura BdCn BT";
__id25_.hAlign = "left";
__id25_.multiline = false;
__id25_.vAlign = "middle";
__id25_.antiAliasType = "advanced";
__id25_.glowBlur = 3;
__id25_.glowColor = 0;
__id25_.useGlowFilter = false;
__id25_.glowQuality = 1;
__id25_.glowStrength = 5;
__id25_.gridFitType = "pixel";
__id25_.italic = false;
__id25_.selectable = false;
__id25_.underline = false;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 259
//t8_244 (StarSplash_OML_fla.t8_244)
package StarSplash_OML_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class t8_244 extends MovieClip {
public var __id26_:LocalizedTextField;
public function t8_244(){
__setProp___id26__t8_Layer1_1();
}
function __setProp___id26__t8_Layer1_1(){
try {
__id26_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id26_.text = "{AnyPres}";
__id26_.textColor = 0xFFFFFF;
__id26_.textSize = 13;
__id26_.bold = false;
__id26_.disableWordwrap = false;
__id26_.embedFonts = true;
__id26_.font = "Futura BdCn BT";
__id26_.hAlign = "left";
__id26_.multiline = false;
__id26_.vAlign = "middle";
__id26_.antiAliasType = "advanced";
__id26_.glowBlur = 3;
__id26_.glowColor = 0;
__id26_.useGlowFilter = false;
__id26_.glowQuality = 1;
__id26_.glowStrength = 5;
__id26_.gridFitType = "pixel";
__id26_.italic = false;
__id26_.selectable = false;
__id26_.underline = false;
try {
__id26_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package StarSplash_OML_fla
Section 260
//trans_etoile_fin_100 (StarSplash_OML_fla.trans_etoile_fin_100)
package StarSplash_OML_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class trans_etoile_fin_100 extends MovieClip {
public function trans_etoile_fin_100(){
addFrameScript(1, frame2, 31, frame32);
}
function frame2(){
MovieClip(root).musicF("in", 25, "Menu");
}
function frame32(){
stop();
}
}
}//package StarSplash_OML_fla
Section 261
//Bouée (Bouée)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class Bouée extends MovieClip {
public var b:MovieClip;
public function Bouée(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (MovieClip(parent).eau_bg.frameName == "nuit"){
this.transform.colorTransform = new ColorTransform(0.7, 0.55, 0.7, 1, 0, 0, 70, 0);
};
if (MovieClip(parent).eau_bg.frameName == "port"){
this.b.corde.coquillages.visible = true;
} else {
this.b.corde.coquillages.visible = false;
};
b.tete.passe.text = MovieClip(parent).passeItems;
b.tete.drapeau.g.lv.text = MyGlobal.vague;
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function entFrame(_arg1:Event):void{
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
this.x = (this.x - MovieClip(parent).itemSpd);
if (this.x < -70){
MovieClip(parent).deleteSpawn(this.name, 0);
};
}
}
}//package
Section 262
//Espace (Espace)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class Espace extends MovieClip {
public function Espace(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function entFrame(_arg1:Event):void{
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
this.x = (this.x - MovieClip(parent).itemSpd);
if (this.x <= 700){
MovieClip(parent)[("tableau" + MyGlobal.vague)].nextSpawn();
MovieClip(parent).deleteSpawn(this.name, 0);
};
}
}
}//package
Section 263
//EtoileJaune (EtoileJaune)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class EtoileJaune extends MovieClip {
public function EtoileJaune(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function entFrame(_arg1:Event):void{
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
this.x = (this.x - MovieClip(parent).itemSpd);
if (hitTestObject(MovieClip(parent).hit)){
MovieClip(parent).deleteSpawn(this.name, 1);
} else {
if (this.x < -20){
trace(("spawn = " + MovieClip(parent)[("tableau" + MyGlobal.vague)].spawn));
MovieClip(parent).deleteSpawn(this.name, 0);
};
};
}
}
}//package
Section 264
//EtoileTrans (EtoileTrans)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class EtoileTrans extends MovieClip {
public function EtoileTrans(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function entFrame(_arg1:Event):void{
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
this.x = (this.x - MovieClip(parent).itemSpd);
if (MovieClip(parent).sonarName != null){
if (hitTestObject(MovieClip(parent).sonarName)){
MovieClip(parent).deleteSpawn(this.name, 1);
};
} else {
if (this.x < -20){
trace(("spawn = " + MovieClip(parent)[("tableau" + MyGlobal.vague)].spawn));
MovieClip(parent).deleteSpawn(this.name, 0);
};
};
}
}
}//package
Section 265
//EtoileTrans2 (EtoileTrans2)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class EtoileTrans2 extends MovieClip {
public var tourne:MovieClip;
public var pos:uint;
public function EtoileTrans2(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.tourne.gotoAndPlay(pos);
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function entFrame(_arg1:Event):void{
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
this.x = (this.x - MovieClip(parent).itemSpd);
if (MovieClip(parent).sonarName != null){
if (hitTestObject(MovieClip(parent).sonarName)){
MovieClip(parent).deleteSpawn(this.name, 1);
};
} else {
if (this.x < -20){
trace(("spawn = " + MovieClip(parent)[("tableau" + MyGlobal.vague)].spawn));
MovieClip(parent).deleteSpawn(this.name, 0);
};
};
}
}
}//package
Section 266
//Meduse (Meduse)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class Meduse extends MovieClip {
public var m:MovieClip;
public var hit:MovieClip;
public function Meduse(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (MovieClip(parent).eau_bg.frameName == "nuit"){
this.transform.colorTransform = new ColorTransform(0.9, 0.8, 0.9, 1, 0, 0, 0, 0);
};
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function entFrame(_arg1:Event):void{
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
this.x = (this.x - MovieClip(parent).itemSpd);
if ((((MovieClip(parent).dauphin.etat == "saute")) && (!((MovieClip(parent).dauphin.saute.hit2 == null))))){
if (((this.hit.hitTestObject(MovieClip(parent).dauphin.saute.hit2)) && ((this.m.touche == false)))){
MovieClip(parent).preMeduseSaut();
this.m.gotoAndStop("spring");
};
} else {
if (this.x < -70){
MovieClip(parent).deleteSpawn(this.name, 0);
};
};
}
}
}//package
Section 267
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 268
//mus_lvl1 (mus_lvl1)
package {
import flash.media.*;
public dynamic class mus_lvl1 extends Sound {
}
}//package
Section 269
//mus_lvl2 (mus_lvl2)
package {
import flash.media.*;
public dynamic class mus_lvl2 extends Sound {
}
}//package
Section 270
//mus_lvl3 (mus_lvl3)
package {
import flash.media.*;
public dynamic class mus_lvl3 extends Sound {
}
}//package
Section 271
//mus_Menu (mus_Menu)
package {
import flash.media.*;
public dynamic class mus_Menu extends Sound {
}
}//package
Section 272
//musicMC_clip (musicMC_clip)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class musicMC_clip extends MovieClip {
public var m_lvl3:MovieClip;
public var m_lvl4:MovieClip;
public var lvl3_ch:SoundChannel;
public var m_Menu:MovieClip;
public var lvl3_tr;
public var Menu1_ch:SoundChannel;
public var m_Erreurs:MovieClip;
public var lvl2:Sound;
public var Menu1_tr;
public var lvl3:Sound;
public var lvl1_ch:SoundChannel;
public var lvl1:Sound;
public var lvl1_tr;
public var Menu1:Sound;
public var lvl2_ch:SoundChannel;
public var lvl2_tr;
public var m_lvl1:MovieClip;
public var m_lvl2:MovieClip;
public function musicMC_clip(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
MovieClip(parent).musFrame = "lvl1";
lvl1_ch = lvl1.play(0, 9999);
if (MovieClip(parent).musique == "on"){
lvl1_tr.volume = MovieClip(parent).volumeValue;
} else {
lvl1_tr.volume = 0;
};
lvl1_ch.soundTransform = lvl1_tr;
}
function frame7(){
stop();
}
function frame6(){
stop();
}
function frame4(){
stop();
MovieClip(parent).musFrame = "lvl2";
lvl2_ch = lvl2.play(0, 9999);
if (MovieClip(parent).musique == "on"){
lvl2_tr.volume = MovieClip(parent).volumeValue;
} else {
lvl2_tr.volume = 0;
};
lvl2_ch.soundTransform = lvl2_tr;
}
function frame1(){
stop();
Menu1 = new mus_Menu();
Menu1_ch = new SoundChannel();
Menu1_tr = new SoundTransform();
lvl1 = new mus_lvl1();
lvl1_ch = new SoundChannel();
lvl1_tr = new SoundTransform();
lvl2 = new mus_lvl2();
lvl2_ch = new SoundChannel();
lvl2_tr = new SoundTransform();
lvl3 = new mus_lvl3();
lvl3_ch = new SoundChannel();
lvl3_tr = new SoundTransform();
}
function frame2(){
stop();
MovieClip(parent).musFrame = "Menu";
Menu1_ch = Menu1.play(0, 9999);
if (MovieClip(parent).musique == "on"){
Menu1_tr.volume = MovieClip(parent).volumeValue;
} else {
Menu1_tr.volume = 0;
};
Menu1_ch.soundTransform = Menu1_tr;
}
function frame5(){
stop();
MovieClip(parent).musFrame = "lvl3";
lvl3_ch = lvl3.play(0, 9999);
if (MovieClip(parent).musique == "on"){
lvl3_tr.volume = MovieClip(parent).volumeValue;
} else {
lvl3_tr.volume = 0;
};
lvl3_ch.soundTransform = lvl3_tr;
}
}
}//package
Section 273
//MyGlobal (MyGlobal)
package {
public class MyGlobal {
public static var score:Number = new Number();
public static var vague:uint = new uint();
public static var langue:String = new String();
}
}//package
Section 274
//Sonar (Sonar)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class Sonar extends MovieClip {
public function Sonar(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
MovieClip(parent).sonarName = MovieClip(parent).getChildByName(this.name);
this.addEventListener(Event.ENTER_FRAME, entFrame);
}
public function entFrame(_arg1:Event):void{
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
this.x = (this.x + 40);
if (this.x > 800){
MovieClip(parent).sonarName = null;
MovieClip(parent).peutSonar = true;
MovieClip(parent).deleteSpawn(this.name, 0);
};
}
}
}//package
Section 275
//sonMC_clip (sonMC_clip)
package {
import flash.display.*;
public dynamic class sonMC_clip extends MovieClip {
public var needPractice:MovieClip;
public var etoile:MovieClip;
public var perfect:MovieClip;
public var zonePassed:MovieClip;
public var sonar:MovieClip;
public var triple:MovieClip;
public var wellDone:MovieClip;
public var boing:MovieClip;
public var splash:MovieClip;
public var passed:MovieClip;
public var splashOut:MovieClip;
public var boost:MovieClip;
public var gameOver:MovieClip;
public function sonMC_clip(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
this.gotoAndStop(1);
}
}
}//package
Section 276
//Splash1 (Splash1)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class Splash1 extends MovieClip {
public var bulles:MovieClip;
public var typeSplash:String;
public var splash:MovieClip;
public function Splash1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (MovieClip(parent).eau_bg.frameName == "nuit"){
this.splash.transform.colorTransform = new ColorTransform(0.6, 0.5, 0.7, 1, 10, 0, 50, 0);
};
this.addEventListener(Event.ENTER_FRAME, entFrame);
typeSplash = "grosSplash";
}
public function entFrame(_arg1:Event):void{
this.x = (this.x - 8);
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
}
}
}//package
Section 277
//TiSplash1 (TiSplash1)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class TiSplash1 extends MovieClip {
public var typeSplash:String;
public var splash:MovieClip;
public function TiSplash1(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
if (MovieClip(parent).eau_bg.frameName == "nuit"){
this.splash.transform.colorTransform = new ColorTransform(0.6, 0.5, 0.7, 1, 10, 0, 50, 0);
};
this.addEventListener(Event.ENTER_FRAME, entFrame);
typeSplash = "tiSplash";
}
public function entFrame(_arg1:Event):void{
this.x = (this.x - 8);
if (!(((MovieClip(root).frameName == "menu")) || ((MovieClip(root).frameName == "jeu")))){
this.removeEventListener(Event.ENTER_FRAME, entFrame);
};
}
}
}//package