Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("592bf09e", this, 10301, true);
Frame 2
lod._width = 0;
onEnterFrame = function () {
var _local4 = _root.getBytesLoaded();
var _local3 = _root.getBytesTotal();
lod._width = Math.round(_local4 / _local3) * 100;
if ((Math.floor((_local4 / _local3) * 100) >= 100) && (_local3 > 5)) {
this.gotoAndStop(4);
delete this.onEnterFrame;
}
};
stop();
Frame 4
mm.startit.onPress = function () {
bgit._visible = false;
mm._visible = false;
gotoAndPlay(_currentframe + 1);
};
mm.startit.onRollOver = (mm.playit.onRollOver = (mm.ruleit.onRollOver = function () {
this.gotoAndStop(2);
}));
mm.startit.onRollOut = (mm.playit.onRollOut = (mm.ruleit.onRollOut = function () {
this.gotoAndStop(1);
}));
mm.playit.onPress = function () {
getURL ("http://www.nitroplayer.com", "_blank");
this.gotoAndStop(1);
};
mm.ruleit.onPress = function () {
attachMovie("rules", "rules", 10);
this.gotoAndStop(1);
};
stop();
Frame 5
function init() {
this.attachMovie("gameon", "gameon", 1);
gameon._xscale = 100;
gameon._yscale = 100;
this.attachMovie("teller", "speedometer", 2);
this.attachMovie("teller", "distometer", 3);
this.attachMovie("teller", "lapometer", 4);
this.attachMovie("lighter", "lighter", 5);
this.attachMovie("pmg", "pmg", 16);
pmg._alpha = 100;
pmg.onRollOver = function () {
this.gotoAndStop(2);
};
pmg.onRollOut = function () {
this.gotoAndStop(1);
};
pmg.onPress = function () {
getURL ("http://www.nitroplayer.com", "_blank");
this.gotoAndStop(1);
};
this.createEmptyMovieClip("finalmenu", 7);
lighter._x = 75;
lighter._y = 0;
speedometer.tt.text = "Speed";
distometer.tt.text = "Position";
lapometer.tt.text = "Lap";
lapometer.numero.text = "1/3";
distometer.numero.text = "8";
pmg._y = 30;
distometer._y = 200;
lapometer._y = 300;
speedometer._y = 400;
new mx.transitions.Tween(speedometer, "_x", mx.transitions.easing.Elastic.easeOut, 650, 475, 40);
new mx.transitions.Tween(distometer, "_x", mx.transitions.easing.Elastic.easeOut, 650, 475, 50);
new mx.transitions.Tween(lapometer, "_x", mx.transitions.easing.Elastic.easeOut, 650, 475, 60);
new mx.transitions.Tween(pmg, "_x", mx.transitions.easing.Elastic.easeOut, 650, 466, 70);
}
function showfinal() {
this.attachMovie("finallap", "finallap", 6);
finallap._x = 200;
}
function showfinalmenu() {
this.attachMovie("finalmenu", "finalmenu", 7);
pmg._alpha = 0;
arr.stop();
}
var arr = new Sound();
arr.attachSound("ar");
arr.setVolume(40);
this.attachMovie("sound1", "sound1", 21);
init();
stop();
Symbol 4 MovieClip [gameon] Frame 1
function checktime() {
totaltime++;
}
function createstreet() {
streets++;
if (((streets % (times2 * 2)) == 15) && (streets != 15)) {
var _local4 = true;
}
if ((streets % times) == 0) {
curve._rotation = 0;
curve._x = -334;
curve._y = -1108;
curveis = 1;
var _local2 = Math.ceil(Math.random() * 3);
curve.gotoAndStop(_local2);
curset = setInterval(curvego, 10);
}
if ((streets % times2) == interval) {
curve2._rotation = 0;
curve2._x = 819;
curve2._y = -1108;
curveis = 4;
var _local2 = Math.ceil(Math.random() * 3);
curve2.gotoAndStop(_local2);
curset2 = setInterval(curvego2, 10);
}
if (exception == true) {
crtdpth++;
if (crtdpth == 3) {
crtdpth = 1;
}
street.attachMovie("street1", "s" + crtdpth, crtdpth);
var _local3 = Math.floor((Math.random() * sidesNumber) + 1);
sides.attachMovie("sides" + _local3, "s" + crtdpth, crtdpth);
_local3 = Math.floor((Math.random() * flyingNumber) + 1);
if (curveis == 0) {
if (flying.s1._y > 600) {
flying.attachMovie("flying" + _local3, "s1", 1);
flying.s1._y = -400;
}
}
_local3 = Math.floor((Math.random() * roadmarksNumber) + 1);
if (_local4 != undefined) {
roadmarks.attachMovie("roadmark0", "s" + crtdpth, crtdpth);
lap++;
if (lap >= 4) {
endgame();
} else {
_parent.lapometer.numero.text = lap + "/3";
if (lap == 3) {
_parent.showfinal();
}
}
} else {
roadmarks.attachMovie("roadmark" + _local3, "s" + crtdpth, crtdpth);
}
if (crtdpth == 1) {
street["s" + crtdpth]._y = -dist;
sides["s" + crtdpth]._y = -dist;
roadmarks["s" + crtdpth]._y = -dist;
} else {
street["s" + crtdpth]._y = -dist;
sides["s" + crtdpth]._y = -dist;
roadmarks["s" + crtdpth]._y = -dist;
}
dist = 0;
}
}
function streetwalks() {
var _local2 = speed;
if (_local2 < 0) {
_local2 = 0;
}
dist = dist + speed;
if (dist >= 900) {
createstreet();
}
var _local1 = 1;
while (_local1 < 3) {
street["s" + _local1]._y = street["s" + _local1]._y + _local2;
roadmarks["s" + _local1]._y = roadmarks["s" + _local1]._y + _local2;
sides["s" + _local1]._y = sides["s" + _local1]._y + _local2;
_local1++;
}
flying.s1._y = flying.s1._y + (_local2 / 5);
}
function control() {
if ((dec == true) && (speed >= 0)) {
speed = speed - (accel * 2);
} else if ((fpressed == true) && (speed < maxspeed)) {
speed = speed + accel;
}
if (((cars.pcar._x < leftlimitx) || (cars.pcar._x > rightlimitx)) && (speed > 5)) {
speed = speed - (accel * 2);
}
if (((steerleft == true) && (speed > 0)) && (cars.pcar._x > leftstopx)) {
if (cars.pcar._rotation > -6) {
cars.pcar._rotation = cars.pcar._rotation - 1;
}
cars.pcar._x = cars.pcar._x - ((5 * (speed / maxspeed)) + 0.5);
} else if (((steerright == true) && (speed > 0)) && (cars.pcar._x < rightstopx)) {
if (cars.pcar._rotation < 6) {
cars.pcar._rotation = cars.pcar._rotation + 0.5;
}
cars.pcar._x = cars.pcar._x + ((5 * (speed / maxspeed)) + 0.5);
} else if (cars.pcar._rotation >= 1) {
cars.pcar._rotation = cars.pcar._rotation - 1;
} else if (cars.pcar._rotation <= -1) {
cars.pcar._rotation = cars.pcar._rotation + 1;
}
if (speed > 1) {
_parent.speedometer.numero.text = Math.round((speed * 220) / 29);
} else {
_parent.speedometer.numero.text = 0;
}
cars.pcar._y = 410 - ((speed / 29) * raisey);
}
function curvego() {
if (curveis == 1) {
curve._y = curve._y + speed;
if (curve._y >= 440) {
curveis = 2;
}
} else if (curveis == 2) {
curve._rotation = curve._rotation + (speed / curveSpinFactor);
curve._x = curve._x - (((speed / curveSpinFactor) * 56) / 90);
if (cars.pcar._x < rightstopx) {
cars.pcar._x = cars.pcar._x + ((speed / 15) * 4);
}
if (curve._rotation >= 90) {
curveis = 3;
curve._rotation = 90;
}
} else {
curve._y = curve._y + speed;
if (curve._y >= 1074) {
curveis = 0;
clearInterval(curset);
}
}
}
function curvego2() {
if (curveis == 4) {
curve2._y = curve2._y + speed;
if (curve2._y >= 440) {
curveis = 5;
}
} else if (curveis == 5) {
curve2._rotation = curve2._rotation - (speed / curveSpinFactor);
curve2._x = curve2._x + (((speed / curveSpinFactor) * 56) / 90);
if (cars.pcar._x > leftstopx) {
cars.pcar._x = cars.pcar._x - ((speed / 15) * 4);
}
if (curve2._rotation <= -90) {
curveis = 6;
curve2._rotation = -90;
}
} else {
curve2._y = curve2._y + speed;
if (curve2._y >= 1074) {
curveis = 0;
clearInterval(curset2);
}
}
}
function ai() {
var _local3 = 0;
while (_local3 < aiCars) {
var _local2 = cars["car" + tellcar[_local3]];
if ((_local2._y < cars.pcar._y) && (Math.abs(_local2._x - cars.pcar._x) >= (50 - (_local3 * 5)))) {
if (_local2._x < cars.pcar._x) {
_local2._x = _local2._x + ((aiside * (_local2.speedy / (aimax + 2))) + _local2.inertx);
} else {
_local2._x = _local2._x - ((aiside * (_local2.speedy / (aimax + 2))) + _local2.inertx);
}
if (_local2.inertx > 0) {
_local2.inertx--;
} else if (_local2.inertx < 0) {
_local2.inertx++;
}
} else {
if (_local2._x < cars.pcar._x) {
_local2._x = _local2._x + _local2.inertx;
} else {
_local2._x = _local2._x - _local2.inertx;
}
if (_local2.inertx > 0) {
_local2.inertx--;
} else if (_local2.inertx < 0) {
_local2.inertx++;
}
}
if (_local2.speedy < (aimax + _local2.varint)) {
_local2.speedy = _local2.speedy + aiacc;
}
if (interty > 0) {
_local2._y = _local2._y - ((_local2.speedy + _local2.interty) - speed);
interty--;
} else {
_local2._y = _local2._y - (_local2.speedy - speed);
}
if (curveis > 3) {
_local2._x = _local2._x - 2;
} else if (curveis > 0) {
_local2._x = _local2._x + 2;
}
if (_local2.hitTest(cars.pcar) == true) {
_parent.sound1.gotoAndPlay(2);
checkcollision(_local3);
}
_local3++;
}
}
function checkcollision(id) {
var _local1 = cars["car" + tellcar[id]];
if (_local1._y < cars.pcar._y) {
speed = speed - 5;
} else {
_local1.interty = 15;
_local1.speedy = _local1.speedy - 2;
}
if (_local1._x < cars.pcar._x) {
_local1.inertx = -10;
_local1._x = _local1._x - 7;
cars.pcar._x = cars.pcar._x + 7;
} else {
_local1.inertx = -10;
_local1._x = _local1._x + 7;
cars.pcar._x = cars.pcar._x - 7;
}
}
function placechecker() {
var _local2 = 1;
while (_local2 <= aiCars) {
if (cars.pcar._y < cars["car" + _local2]._y) {
place = (aiCars + 1) - _local2;
} else {
place = (aiCars + 2) - _local2;
_local2 = aiCars + 1;
}
_local2++;
}
_parent.distometer.numero.text = place;
}
function initialize() {
go = setInterval(streetwalks, 10);
gocars = setInterval(ai, 33);
ole = setInterval(control, 30);
pc = setInterval(placechecker, 100);
flying.attachMovie("flying20", "s1", 1);
flying.s1._y = -400;
_parent.arr.start(0, 20);
}
function endgame() {
clearInterval(timeCounter);
clearInterval(ole);
clearInterval(gocars);
clearInterval(curset);
clearInterval(curset2);
clearInterval(pc);
var _local2 = new mx.transitions.Tween(pcar, "_y", mx.transitions.easing.Regular.easeOut, pcar._y, -100, 30);
_local2.onMotionFinished = function () {
clearInterval(go);
_parent.showfinalmenu();
};
}
this.createEmptyMovieClip("street", 1);
this.createEmptyMovieClip("sides", 2);
this.createEmptyMovieClip("roadmarks", 3);
this.attachMovie("curve", "curve", 4);
this.attachMovie("curve2", "curve2", 5);
this.createEmptyMovieClip("onTop", 11);
this.createEmptyMovieClip("flying", 12);
this.createEmptyMovieClip("cars", 8);
var tellcar = [[1], [2], [3], [4], [5], [6], [7], [8]];
var aiCars = tellcar.length;
var jj = 1;
while (jj <= aiCars) {
cars.attachMovie("car" + jj, "car" + jj, jj + 1);
cars["car" + jj].speedx = 0;
cars["car" + jj].speedy = 0;
cars["car" + jj].inertx = 0;
cars["car" + jj].inerty = 0;
cars["car" + jj].varint = jj;
if (jj == 4) {
cars["car" + jj].varint = 3;
}
if (jj >= 5) {
cars["car" + jj].varint = jj - 2;
}
if (jj >= 7) {
cars["car" + jj].varint = 5;
}
jj++;
}
cars.car1._x = 250;
cars.car1._y = 200;
cars.car2._x = 100;
cars.car2._y = 0;
cars.car3._x = 400;
cars.car3._y = -200;
cars.car4._x = 250;
cars.car4._y = -700;
cars.car5._x = 100;
cars.car5._y = -1300;
cars.car6._x = 100;
cars.car6._y = -1100;
cars.car7._x = 250;
cars.car7._y = -1200;
cars.car8._x = 100;
cars.car8._y = -1550;
cars.attachMovie("playercar1", "pcar", 1);
cars.pcar._x = 380;
cars.pcar._y = 410;
sides._x = -10;
roadmarks._x = 159;
curve._x = -334;
curve._y = -1108;
curve2._x = 819;
curve2._y = -1108;
var speed = 0;
var accel = 0.15;
var maxspeed = 29;
var minspeed = 1;
leftlimitx = 62;
rightlimitx = 428;
leftstopx = 32;
rightstopx = 452;
var raisey = 60;
var kup = 38;
var kdown = 40;
var kleft = 37;
var kright = 39;
var times = 15;
var times2 = 30;
var interval = 10;
var curveSpinFactor = 7;
var sidesNumber = 13;
var roadmarksNumber = 11;
var flyingNumber = 20;
var crtdpth = 1;
var totaltime = 0;
timeCounter = setInterval(checktime, 1000);
var dist = 850;
var streets = 7;
var curveis = 0;
var lap = 1;
exception = true;
var oldcar = new Array();
aimax = 22.4;
aiside = 2;
aiacc = 0.16;
keylisten = new Object();
keylisten.onKeyDown = function () {
if (Key.getCode() == kdown) {
if (speed > minspeed) {
speed = speed - (accel * 10);
}
}
if (Key.getCode() == kup) {
if (speed < maxspeed) {
fpressed = true;
dec = false;
}
}
if (Key.getCode() == kleft) {
steerleft = true;
}
if (Key.getCode() == kright) {
steerright = true;
}
};
keylisten.onKeyUp = function () {
if (Key.getCode() == kleft) {
steerleft = false;
}
if (Key.getCode() == kright) {
steerright = false;
}
if (Key.getCode() == kup) {
dec = true;
}
if (Key.getCode() == kdown) {
}
};
Key.addListener(keylisten);
street.attachMovie("street1", "s" + crtdpth, crtdpth);
sides.attachMovie("sides0", "s" + crtdpth, crtdpth);
roadmarks.attachMovie("roadmark0", "s" + crtdpth, crtdpth);
street["s" + crtdpth]._y = 0;
sides["s" + crtdpth]._y = 0;
roadmarks["s" + crtdpth]._y = 0;
createstreet();
dec = true;
id = 0;
var place = 6;
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 2
stop();
Symbol 65 MovieClip [finalmenu] Frame 1
function telltxt(id) {
switch (id) {
case 1 :
tt.text = id + "st";
break;
case 2 :
tt.text = id + "nd";
break;
case 3 :
tt.text = id + "rd";
break;
case 4 :
tt.text = id + "th";
congo._visible = false;
break;
case 5 :
tt.text = id + "th";
congo._visible = false;
break;
case 6 :
tt.text = id + "th";
congo._visible = false;
break;
case 7 :
tt.text = id + "th";
congo._visible = false;
break;
case 8 :
tt.text = id + "th";
congo._visible = false;
break;
case 9 :
tt.text = id + "th";
congo._visible = false;
break;
case 10 :
tt.text = id + "th";
congo._visible = false;
break;
case 11 :
tt.text = id + "th";
congo._visible = false;
}
}
function telltime(id) {
var _local2 = id % 60;
var _local1 = Math.floor(id / 60);
timeis.text = (_local1 + ":") + _local2;
}
ruleit.onPress = function () {
_parent.init();
};
playit.onRollOver = (ruleit.onRollOver = function () {
this.gotoAndStop(2);
});
playit.onRollOut = (ruleit.onRollOut = function () {
this.gotoAndStop(1);
});
playit.onPress = function () {
this.gotoAndStop(1);
getURL ("http://www.nitroplayer.com", "_blank");
};
telltxt(_parent.gameon.place);
telltime(_parent.gameon.totaltime);
_parent.gameon.clearInterval(timeCounter);
pressme.onPress = function () {
};
pressme.useHandCursor = false;
stop();
function changeit() {
gop++;
if (gop == 7) {
clearInterval(go);
}
if (playit._currentframe == 1) {
playit.gotoAndStop(2);
} else {
playit.gotoAndStop(1);
}
}
gop = 0;
go = setInterval(changeit, 750);
speedometer._x = 850;
distometer._x = 850;
lapometer._x = 850;
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Symbol 87 MovieClip [pmg] Frame 1
stop();
Symbol 87 MovieClip [pmg] Frame 2
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
stop();
Symbol 107 MovieClip [curve] Frame 1
stop();
stop();
Symbol 107 MovieClip [curve] Frame 2
stop();
Symbol 107 MovieClip [curve] Frame 3
stop();
Symbol 111 MovieClip [curve2] Frame 1
stop();
Symbol 111 MovieClip [curve2] Frame 2
stop();
Symbol 111 MovieClip [curve2] Frame 3
stop();
Symbol 141 MovieClip [rules] Frame 1
pressme.onPress = function () {
_parent.rules.unloadMovie();
};
Symbol 146 MovieClip [finallap] Frame 72
this.unloadMovie();
this.removeMovieClip();
Symbol 158 MovieClip [lighter] Frame 90
_parent.gameon.initialize();
Symbol 158 MovieClip [lighter] Frame 122
_parent.lighter.removeMovieClip();
Symbol 213 MovieClip [sound1] Frame 1
stop();
this.setVolume(10);
Symbol 215 MovieClip [sound2tt] Frame 1
stop();
Symbol 221 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 222 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 223 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 224 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 225 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 220 MovieClip Frame 1
linkis = "http://www.net-games.biz/";
_parent.logoit.onPress = function () {
getURL (linkis, "_blank");
};
_parent.logoit.onRollOver = function () {
this._alpha = 80;
};
_parent.logoit.onRollOut = function () {
this._alpha = 100;
};