Frame 1
function rand(a, b) {
return(Math.round(Math.random() * (b - a)) + a);
}
function shuffler() {
return(((random(2) == 0) ? -1 : 1));
}
function makesentence() {
xpos = 0;
mysentence = this.createEmptyMovieClip("mysentence", 0);
mysentence._x = 50;
mysentence._y = -200;
gameclip.mystce.text = "";
i = 0;
while (i < sentence.length) {
letter = mysentence.attachMovie("letter", "letter" + i, i, {_x:xpos, sc:0});
letter.bit.autoSize = true;
letter.bit.text = sentence[i];
xpos = xpos + (letter._width - 4);
gameclip.mystce.text = gameclip.mystce.text + sentence[i];
i++;
}
}
function compare(a, b) {
i = 0;
while (i < a.length) {
if (a[i] != b[i]) {
mysentence["letter" + i].bit.textColor = 16711680 /* 0xFF0000 */;
mysentence["letter" + i].sc = 1;
} else {
mysentence["letter" + i].bit.textColor = 9947897 /* 0x97CAF9 */;
mysentence["letter" + i].sc = 0;
}
i++;
}
}
function read() {
gameclip.mystce.autoSize = true;
gameclip.mystce.multiline = false;
gameclip.mystce1.html = true;
gameclip.mystce.htmlText = "";
fb = "<font color='#FF0000'>";
fe = "</font>";
i = 0;
while (i < sentence.length) {
if (mysentence["letter" + i].bit.textColor == 16711680) {
fb = "<font color='#FF0000'>";
fe = "</font>";
} else {
fb = "";
fe = "";
}
gameclip.mystce.htmlText = gameclip.mystce.htmlText + ((fb + mysentence["letter" + i].bit.text) + fe);
i++;
}
}
function clearend(dl) {
b = dl;
while (b < sentence.length) {
mysentence["letter" + b].bit.textColor = 9947897 /* 0x97CAF9 */;
mysentence["letter" + b].sc = 0;
b++;
}
}
function getscore() {
myscore = 0;
j = 0;
while (j < sentence.length) {
myscore = myscore + mysentence["letter" + j].sc;
j++;
}
return(myscore);
}
function getQ() {
ccd = 0;
ccd = string.length - typebox.myField.length;
typebox.myField.text = "";
if (s < limit) {
s++;
} else {
s = 0;
if (_root.levels < (_root.qlength - 1)) {
_root.levels++;
} else {
endGame();
}
}
if (qst < (limit * 4)) {
qst++;
} else {
endGame();
}
if (!gmovr) {
string = _root["aray" + _root.levels][s];
sentence = string.toAray();
makesentence();
typebox.myField.maxChars = sentence.length;
gameclip.allmistakes = gameclip.allmistakes + (myscore + ccd);
gameclip.prasetxt = (qst + "/") + (limit * 4);
} else {
gameclip.mystce.htmlText = "";
}
}
function checkEnd() {
trace(typebox.myField.length);
}
function getXml() {
qlength = my_xml.firstChild.childNodes.length;
intro = my_xml.firstChild.attributes.intro;
i = 0;
while (i < qlength) {
this["aray" + i] = [];
alength = my_xml.firstChild.childNodes[i].childNodes.length;
j = 0;
while (j < alength) {
this["aray" + i].push(my_xml.firstChild.childNodes[i].childNodes[j].attributes.src);
j++;
}
this["aray" + i].sort(shuffler);
i++;
}
s = 0;
levels = 0;
string = this["aray" + levels][s];
sentence = string.toAray();
if (!gmovr) {
typebox.myField.text = "";
}
myscore = 0;
limit = 3;
gameclip.allmistakes = 0;
qst = 0;
gameclip.prasetxt = (qst + "/") + (limit * 4);
}
function startGame() {
endClip.gotoAndStop(1);
s = 0;
typebox.tme = 0;
myscore = 0;
levels = 0;
gameclip.allmistakes = 0;
gmovr = false;
qst = 1;
gameclip.prasetxt = (qst + "/") + (limit * 4);
qlength = my_xml.firstChild.childNodes.length;
i = 0;
while (i < qlength) {
this["aray" + i] = [];
alength = my_xml.firstChild.childNodes[i].childNodes.length;
j = 0;
while (j < alength) {
this["aray" + i].push(my_xml.firstChild.childNodes[i].childNodes[j].attributes.src);
j++;
}
this["aray" + i].sort(shuffler);
i++;
}
string = _root["aray" + _root.levels][s];
sentence = string.toAray();
typebox.bui("None", "Out", "_alpha", typebox._alpha, 100, 30);
typebox.bui("Bounce", "Out", "_y", typebox._y, 500, 30);
makesentence();
gameOver._visible = false;
timeme = setInterval(_root, "timeDown", 1000);
strt._visible = false;
strt.gotoAndStop(2);
typebox.myField.type = "input";
Selection.setFocus("typebox.myField");
typebox.myField.setFocus();
typebox.myField.text = "";
typebox.myField.maxChars = sentence.length;
}
function endGame() {
clearInterval(timeme);
readBoard();
gmovr = true;
gameOver._visible = true;
strt._visible = true;
typebox.myField.type = "dynamic";
myTimes = (((limit * 4) - qst) + typebox.tme) + gameclip.allmistakes;
typebox.myField.text = "";
gameclip.mystce.txt = "";
typebox.bui("None", "Out", "_alpha", typebox._alpha, 0, 30);
typebox.bui("Strong", "InOut", "_y", typebox._y, -8, 30);
}
function timeDown() {
typebox.tme++;
if (typebox.tme >= tmeEndat) {
endGame();
gameclip.mystce.text = "";
}
}
stop();
System.security.allowDomain("*");
Stage.scaleMode = "noScale";
Stage.align = "T";
MovieClip.prototype.bui = function (type, inout, prop, from, to, spd) {
switch (type) {
case "Back" :
type = mx.transitions.easing.Back;
break;
case "Bounce" :
type = mx.transitions.easing.Bounce;
break;
case "Elastic" :
type = mx.transitions.easing.Elastic;
break;
case "Regular" :
type = mx.transitions.easing.Regular;
break;
case "Strong" :
type = mx.transitions.easing.Strong;
break;
case "None" :
type = mx.transitions.easing.None;
}
this.myTw = new mx.transitions.Tween(this, prop, type["ease" + inout], from, to, spd);
};
String.prototype.toAray = function () {
return(this.split(""));
};
String.prototype.replace = function (a, b) {
return(this.split(a).join(b));
};
typebox.myField.onChanged = function () {
this.text = this.text.toUpperCase();
dod = this.text.toAray();
dl = dod.length;
pod = string.substr(0, dl).toAray();
compare(dod, pod);
clearend(dl);
mymistakes = mymistakes + getscore();
read();
};
strt.onRelease = function () {
startGame();
};
var my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function (ugo) {
if (ugo) {
getXml();
typebox.tme = 0;
qst = 0;
tmeEndat = 60;
effUp("myTF0", intro, 80, 215, 100);
}
};
my_xml.load("http://www.ugoplayer.com/flashgames/speedtexting/frazes.xml");
sponsor.loadMovie("http://www.ugoplayer.com/flashgames/speedtexting/skinsponsorship.swf");
function showBord() {
tagNodes = my_boardxml.firstChild.childNodes.length;
yy = 18;
i = 0;
while (i < tagNodes) {
node = my_boardxml.firstChild.childNodes[i];
tagos = board.attachMovie("tagos", "tagos" + i, i, {_x:0, _y:yy});
tagos.num.text = (i + 1) + ".";
tagos.name.text = node.attributes.name;
mytime = node.attributes.time;
if (mytime.substr(0, 2) == "00") {
mytime = mytime.substr(2);
} else if (mytime.substr(0, 1) == "0") {
mytime = mytime.substr(1);
}
tagos.time.text = mytime;
yy = yy + 18;
i++;
}
}
function readBoard() {
var board_xml = new XML();
board_xml.ignoreWhite = true;
board_xml.onLoad = function (w) {
if (w) {
limitBoard = 10;
if (myTimes.toString().length == 1) {
myTimes = "00" + myTimes;
}
if (myTimes.toString().length == 2) {
myTimes = "0" + myTimes;
}
plc = false;
tagNodes = board_xml.firstChild.childNodes.length;
tagArray = [];
i = 0;
while (i < tagNodes) {
Tname = board_xml.firstChild.childNodes[i].attributes.name;
Ttime = board_xml.firstChild.childNodes[i].attributes.time;
tagArray.push({nme:Tname, tme:Ttime});
i++;
}
tagArray.push({nme:"", tme:myTimes});
tagArray.sortOn("tme", Array.NUMERIC);
tl = tagArray.length;
if (tl > limitBoard) {
tl = limitBoard;
}
i = 0;
while (i < tl) {
if (tagArray[i].nme == "") {
plc = i + 1;
}
trace((tagArray[i].nme + ", ") + tagArray[i].tme);
i++;
}
if (plc && (qst == (limit * 4))) {
trace("you rank" + plc);
endClip.endtext = (((((((("You Finished " + qst) + " of ") + (limit * 4)) + " Questions in ") + typebox.tme) + " Seconds and Made ") + gameclip.allmistakes) + " Mistakes. \n Your score is ") + myTimes;
endClip.gotoAndStop(2);
} else {
trace("you dont rank");
endClip.endtext = ((((((("You Finished " + qst) + " of ") + (limit * 4)) + " Questions in ") + typebox.tme) + " Seconds and Made ") + gameclip.allmistakes) + " Mistakes. \n Sorry you do not qualify for our leader board";
endClip.gotoAndStop(3);
}
}
};
board_xml.load(leaderXmlPath);
}
function sendString() {
zap = "";
tempStr = "";
tempStr = tempStr + "<scores>";
i = 0;
while (i < tl) {
if (tagArray[i].nme == "") {
tagArray[i].nme = endClip.namclip.mName;
}
tempStr = tempStr + (((("<tag name='" + tagArray[i].nme) + "' time='") + tagArray[i].tme) + "'/>");
i++;
}
tempStr = tempStr + "</scores>";
trace(tempStr);
phpFunc();
}
function phpFunc() {
thankYou = false;
getData.tempStr = tempStr;
loadVariables (scriptPath, getData, "POST");
getData.onData = function () {
thankYou = true;
my_boardxml.load(leaderXmlPath);
};
}
var my_boardxml = new XML();
my_boardxml.ignoreWhite = true;
my_boardxml.onLoad = function (success) {
if (success) {
showBord();
}
};
leaderXmlPath = "http://www.ugoplayer.com/flashgames/speedtexting/proxyloadxml.php";
scriptPath = "http://www.ugoplayer.com/flashgames/speedtexting/proxysavexml.php";
my_boardxml.load(leaderXmlPath);
function effUp(mclip, myText, wait, myy, dpth) {
mclip = this.createEmptyMovieClip(mclip, dpth);
mclip._x = 245;
mclip._y = myy;
mclip.cont = 0;
mclip.onEnterFrame = function () {
this.cont++;
if (this.cont > wait) {
delete mclip.onEnterFrame;
myText.TEffect(mclip, 270);
}
};
}
function effDown(mclip, myText) {
myText.TEffect(mclip, "", "down");
}
String.prototype.TEffect = function (prnt, brk, rain) {
if (!rain) {
tDone = false;
prnt.xx = 0;
prnt.yy = 0;
prnt.tmp = this.split(" ");
prnt.tmp1 = [];
i = 0;
while (i < prnt.tmp.length) {
TField = prnt.attachMovie("TField", "TField" + i, i, {_x:rand(-180, -90), _y:rand(80, 180), _rotation:rand(-360, 360), _alpha:0, dx:prnt.xx, dy:prnt.yy});
TField.tx.autoSize = true;
TField.tx.text = prnt.tmp[i];
prnt.xx = prnt.xx + (TField.tx._width + 3);
if (prnt.xx > (brk - TField.tx._width)) {
(prnt.xx = 0);
(prnt.yy = prnt.yy + (TField.tx._height - 3));
}
prnt.tmp1.push(i);
i++;
}
prnt.tmp1.sort(shuffler);
prnt.p = 0;
prnt.t = 0;
spd = 15;
prnt.onEnterFrame = function () {
clp = prnt["TField" + prnt.tmp1[prnt.t]];
lclp = prnt["TField" + prnt.tmp1[prnt.tmp1.length - 1]];
prnt.p++;
if (prnt.p == 1) {
prnt.p = 0;
prnt.t++;
clp.bui("Strong", "InOut", "_x", clp._x, clp.dx, spd);
clp.bui("Strong", "InOut", "_y", clp._y, clp.dy, spd);
clp.bui("Strong", "InOut", "_rotation", clp._rotation, 0, spd);
clp.bui("Strong", "InOut", "_alpha", clp._alpha, 100, spd / 2);
lclp.myTw.onMotionFinished = function () {
delete prnt.onEnterFrame;
if (prnt._name == "myTF0") {
tDone = true;
typebox.bui("None", "Out", "_alpha", typebox._alpha, 100, 30);
typebox.bui("Bounce", "Out", "_y", typebox._y, 500, 30);
gameclip._visible = true;
phoneSpin.play();
strt._visible = true;
strt.bui("None", "Out", "_alpha", strt._alpha, 100, 30);
}
};
}
};
} else {
qDone = false;
prnt.p = 0;
prnt.t = 0;
spd = 15;
prnt.onEnterFrame = function () {
clp = prnt["TField" + prnt.tmp1[prnt.t]];
lclp = prnt["TField" + prnt.tmp1[prnt.tmp1.length - 1]];
prnt.p++;
if (prnt.p == 1) {
prnt.p = 0;
prnt.t++;
clp.bui("Back", "InOut", "_y", clp._y, clp.dy + 200, spd + 5);
clp.bui("Back", "InOut", "_rotation", clp._rotation, rand(-200, 200), spd + 5);
clp.bui("Back", "InOut", "_alpha", clp._alpha, 0, spd + 5);
lclp.myTw.onMotionFinished = function () {
delete prnt.onEnterFrame;
if (prnt._name == "myQF") {
qDone = true;
}
};
}
};
}
};
Instance of Symbol 30 MovieClip in Frame 1
on (release) {
getURL ("mailto:?subject=UGO's Speed Texting Game&body=Send this game to your friends and see if they can beat your speedy fingers!\nhttp://www.ugo.com/lifestyle/speed-text-game/");
}
Symbol 16 MovieClip Frame 1
mnme.restrict = "A-Z0-9";
mnme.maxChars = 3;
Symbol 21 MovieClip [endClip] Frame 1
stop();
Symbol 21 MovieClip [endClip] Frame 2
stop();
scoreDisplay.text = endtext;
submitFinal.onRelease = function () {
if (this._parent.namclip.mnme.text != "") {
_root.sendString();
this.onEnterFrame = function () {
if (_root.thankYou) {
delete this.onEnterFrame;
this._parent.gotoAndStop(4);
}
};
} else {
this._parent.scoreDisplay.text = "Name Missing";
}
};
Symbol 21 MovieClip [endClip] Frame 3
stop();
scoreDisplay.text = endtext;
Symbol 21 MovieClip [endClip] Frame 4
stop();
Symbol 27 Button
on (release) {
getURL ("http://www.samsungmobileusa.com/Propel.aspx?cid=ppc_pro_goo_Propel_Brand_samsung+propel+++", "_blank");
}
Symbol 70 MovieClip Frame 126
stop();
Symbol 70 MovieClip Frame 140
stop();
Symbol 77 Button
on (keyPress "<Enter>") {
if (!gmovr) {
getQ();
}
}
Symbol 84 MovieClip Frame 1
this._visible = false;
Symbol 87 MovieClip Frame 1
this._visible = false;
stop();
Symbol 98 Button
on (release) {
getURL ("http://www.samsungmobileusa.com/Propel.aspx?cid=ppc_pro_goo_Propel_Brand_samsung+propel+++", "_blank");
}
Symbol 103 MovieClip Frame 1
this._visible = false;
Symbol 104 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 105 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 106 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 107 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 108 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 109 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 110 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 111 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 112 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}