Frame 1
stop();
Frame 2
function shuffler() {
return(((random(2) == 0) ? -1 : 1));
}
function duplicateMovieClipImage(from, target) {
var _local1 = new flash.display.BitmapData(from._width, from._height);
_local1.draw(from);
target.attachBitmap(_local1, 1);
}
function rand(a, b) {
return(Math.round(Math.random() * (b - a)) + a);
}
function flipButtons(arg) {
if (arg == "out") {
strt.bui("Strong", "InOut", "_x", strt._x, -200, 20);
rlod.bui("Strong", "InOut", "_x", rlod._x, -200, 20);
movs.bui("Strong", "InOut", "_x", movs._x, 26, 20);
movs.myTw.onMotionFinished = function () {
timeClip.goTime();
};
} else if (arg == "in") {
strt.bui("Strong", "InOut", "_x", strt._x, 27, 20);
rlod.bui("Strong", "InOut", "_x", rlod._x, 159, 20);
movs.bui("Strong", "InOut", "_x", movs._x, -285, 20);
}
}
function disableBtns() {
dummy.onRollOver = function () {
this.useHandCursor = false;
};
}
function createArr() {
photo = [];
i = 0;
while (i < numberPistures) {
photo.push(i + 1);
photo.sort(shuffler);
i++;
}
}
function StartIt() {
createArr();
moves = 0;
movs.movs_txt.text = moves;
delete timeClip.onEnterFrame;
flipButtons("in");
timeClip.timer_txt.text = "00:00:00";
dummy = this.createEmptyMovieClip("dummy", 800);
dummy2 = this.createEmptyMovieClip("dummy2", 802);
dummy._x = 0;
dummy._y = topPos;
dummy._alpha = 0;
popup._alpha = 0;
picHolder = dummy.createEmptyMovieClip("picHolder", 0);
picHolder.loadMovie(((picturePath + "/g") + photo[phi]) + ".jpg");
phi++;
if (phi > (photo.length - 1)) {
phi = 0;
}
dummy.onEnterFrame = function () {
gbt = picHolder.getBytesTotal();
gbl = picHolder.getBytesLoaded();
if ((gbl > 50) && (gbl == gbt)) {
delete dummy.onEnterFrame;
duplicateMovieClipImage(dummy, dummy2);
dummy2._alpha = 0;
dummy2.bui("Strong", "InOut", "_x", dummy2._x, border._x + 1, 20);
dummy2.bui("Strong", "InOut", "_y", dummy2._y, border._y + 1, 20);
dummy2.bui("Strong", "InOut", "_width", dummy2._width, border._width - 6, 20);
dummy2.bui("Strong", "InOut", "_height", dummy2._height, border._height - 6, 20);
dummy2.bui("Strong", "InOut", "_alpha", dummy2._alpha, 100, 20);
createGrid();
}
};
}
function createGrid() {
moves = 0;
movs.movs_txt.text = moves;
shstart = 0;
dummy._alpha = 0;
popup._alpha = 0;
timeClip.resetTime();
col = coco;
rows = roro;
sw = dummy._width / col;
sh = dummy._height / rows;
lngth = col * rows;
main = this.createEmptyMovieClip("main", 0);
main._y = topPos;
xx = 0;
yy = 0;
xinc = 0;
gap = 1;
picArr = [];
posArr = [];
i = 0;
while (i < lngth) {
picArr.push(i);
posArr.push([xx, yy]);
square = main.createEmptyMovieClip("square" + i, i);
square.id = i;
square.gx = xx;
square.gy = yy;
picHolder = square.createEmptyMovieClip("picHolder", 0);
picsubholder = picHolder.createEmptyMovieClip("picsubholder", 0);
duplicateMovieClipImage(dummy, picsubholder);
masko = square.attachMovie("sqr", "sqr", 1, {_width:sw - gap, _height:sh - gap, _x:xx, _y:yy});
hitkox = square.attachMovie("sqr", "hitkox", 10, {_width:sw - gap, _height:sh - gap, _x:xx, _y:yy, _alpha:0});
hitkoy = square.attachMovie("sqr", "hitkoy", 9, {_width:sw - gap, _height:sh - gap, _x:xx, _y:yy, _alpha:0});
square.textFld(i + 1);
picHolder.setMask(masko);
xinc++;
if (xinc == col) {
xinc = 0;
xx = 0;
yy = yy + (masko._height + gap);
} else {
xx = xx + (masko._width + gap);
}
i++;
}
hitkox._x = hitkox._x - 10;
hitkox._width = hitkox._width + 20;
hitkoy._y = hitkoy._y - 10;
hitkoy._height = hitkoy._height + 20;
square.swapDepths(-1000);
dashbottom._y = (yy + topPos) + 4;
pot._y = dashbottom._y + 10;
strt._y = pot._y + 8;
rlod._y = pot._y + 8;
movs._y = pot._y + 4;
disableBtns();
repFirst();
}
function repFirst() {
posArr.sort(shuffler);
i = 0;
while (i < picArr.length) {
main["square" + i].bui("Strong", "InOut", "_alpha", 0, 100, 15);
main["square" + i]._x = posArr[i][0] - main["square" + i].gx;
main["square" + i]._y = posArr[i][1] - main["square" + i].gy;
i++;
}
reposition();
}
function reposition() {
moves = 0;
movs.movs_txt.text = moves;
dummy._alpha = 0;
popup._alpha = 0;
delete dummy.onRollOver;
posArr.sort(shuffler);
lasty = main["square" + (picArr.length - 1)];
lasty.onRollOver = function () {
this.useHandCursor = false;
};
lasty._alpha = 0;
i = 0;
while (i < picArr.length) {
main["square" + i].bui("Strong", "InOut", "_x", main["square" + i]._x, posArr[i][0] - main["square" + i].gx, 20);
main["square" + i].bui("Strong", "InOut", "_y", main["square" + i]._y, posArr[i][1] - main["square" + i].gy, 20);
main["square" + i].onRelease = function () {
if ((this.hitkox.hitTest(lasty.hitkox) || (this.hitkoy.hitTest(lasty.hitkoy))) && (ba)) {
ba = false;
if (this.id != (picArr.length - 1)) {
moves++;
(movs.movs_txt.text = moves);
}
mex = this._x;
mey = this._y;
this.bui("Back", "InOut", "_x", this._x, (lasty._x - this.gx) + lasty.gx, 5);
lasty._x = (mex - lasty.gx) + this.gx;
this.bui("Back", "InOut", "_y", this._y, (lasty._y - this.gy) + lasty.gy, 5);
lasty._y = (mey - lasty.gy) + this.gy;
this.myTw.onMotionFinished = function () {
checkMe();
ba = true;
};
}
};
i++;
}
main["square" + (picArr.length - 1)].myTw.onMotionFinished = function () {
if (shstart < 2) {
shstart++;
reposition();
}
disableBtns();
};
ba = true;
}
function checkMe() {
tex = 0;
tey = 0;
j = 0;
while (j < picArr.length) {
bex = main["square" + j]._x;
bey = main["square" + j]._y;
if ((bex < 0) || (bex > 0)) {
tex = bex;
}
if ((bey < 0) || (bey > 0)) {
tey = bey;
}
j++;
}
if ((tex == 0) && (tey == 0)) {
lasty._alpha = 100;
timeClip.stopTime();
disableBtns();
dummy._visible = true;
dummy._alpha = 100;
popup = this.attachMovie("popup", "popup", 1200);
popup.vinText.text = ((("Congratulations! You solved the puzzle in " + timeClip.out) + " with ") + moves) + " moves";
popup._x = (dummy._width / 2) - (popup._width / 2);
popup._y = (dummy._y + (dummy._height / 2)) - (popup._height / 2);
}
}
Stage.scaleMode = "noScale";
Stage.align = "TL";
Stage.showMenu = false;
numberPistures = 1;
urllength = _url.lastIndexOf("/");
picturePath = _url.substr(0, urllength);
MovieClip.prototype.textFld = function (arg) {
this.createTextField("myNum", 25, xx, yy, 30, 30);
this.myNum.textColor = 13421772 /* 0xCCCCCC */;
this.myNum.text = arg;
};
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);
};
MovieClip.prototype.red = function (arg) {
i = 0;
while (i < 3) {
if (i == arg) {
this.gotoAndStop(2);
} else {
_root["btn" + i].gotoAndStop(1);
}
i++;
}
};
btn0.onRelease = function () {
this.red(this.id);
coco = 4;
roro = 4;
StartIt();
};
btn1.onRelease = function () {
this.red(this.id);
coco = 6;
roro = 6;
StartIt();
};
btn2.onRelease = function () {
this.red(this.id);
coco = 8;
roro = 8;
StartIt();
};
strt.onRelease = function () {
flipButtons("out");
};
rlod.onRelease = function () {
shstart = 0;
reposition();
};
steel.onRelease = function () {
copywindow.bui("Strong", "InOut", "_y", copywindow._y, 130, 20);
};
phi = 0;
topPos = (dash._y + dash._height) + 4;
btn0.red(0);
coco = 4;
roro = 4;
StartIt();
stop();
Symbol 3 MovieClip [myText] Frame 1
me.autoSize = true;
Symbol 11 Button
on (release) {
removeMovieClip(this);
}
Symbol 21 Button
on (release) {
getURL ("http://secure-us.imrworldwide.com/cgi-bin/b?cg=ugoplayer_flash_games&ci=us-ugclicks&tu=http://www.ugoplayer.com", "_blank");
}
Symbol 24 MovieClip Frame 165
stop();
_root.gotoAndStop(2);
Symbol 83 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 84 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 85 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 86 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 87 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 88 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 89 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 90 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 91 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";
}
Symbol 31 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
Symbol 36 MovieClip Frame 1
stop();
id = 0;
Symbol 36 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 1
function goTime() {
_root.dummy._visible = false;
startTime = getTimer();
hrn = "";
mn = "";
sn = "";
hn = "";
this.onEnterFrame = function () {
elapsedTime = getTimer() - startTime;
elapsedHours = Math.floor(elapsedTime / 3600000);
remaining = elapsedTime - (elapsedHours * 3600000);
elapsedM = Math.floor(remaining / 60000);
remaining = remaining - (elapsedM * 60000);
elapsedS = Math.floor(remaining / 1000);
remaining = remaining - (elapsedS * 1000);
elapsedH = Math.floor(remaining / 10);
hours = elapsedHours.toString();
minutes = elapsedM.toString();
seconds = elapsedS.toString();
hundredths = elapsedH.toString();
if (hours < 10) {
hrn = "0";
} else {
hrn = "";
}
if (minutes < 10) {
mn = "0";
} else {
mn = "";
}
if (seconds < 10) {
sn = "0";
} else {
sn = "";
}
if (hundredths < 10) {
hn = "0";
} else {
hn = "";
}
timer_txt.text = ((((((hrn + hours) + ":") + mn) + minutes) + ":") + sn) + seconds;
out = "";
if (hours > 0) {
out = out + ((" " + hours) + " Hours, ");
}
if (minutes > 0) {
out = out + ((" " + minutes) + " Minutes and");
}
out = out + ((" " + seconds) + " Seconds");
};
}
function stopTime() {
delete this.onEnterFrame;
}
function resetTime() {
delete this.onEnterFrame;
timer_txt.text = "00:00:00";
}
Symbol 46 MovieClip Frame 1
stop();
id = 1;
Symbol 46 MovieClip Frame 2
stop();
Symbol 49 MovieClip Frame 1
stop();
id = 2;
Symbol 49 MovieClip Frame 2
stop();
Symbol 54 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
id = 0;
Symbol 54 MovieClip Frame 2
stop();
Symbol 57 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
id = 0;
Symbol 57 MovieClip Frame 2
stop();
Symbol 72 MovieClip Frame 1
function teFunc(et) {
b = 0;
theText.onEnterFrame = function () {
scrollSize = (this._height - (box._height / 1.05)) / (box._height - dragger._height);
targtY = (-dragger._y) * scrollSize;
this._y = this._y - ((this._y - targtY) / txtspd);
if (dragGo == false) {
b++;
if (b > (spd + et)) {
delete this.onEnterFrame;
}
}
};
}
targtY = 0;
txtspd = 5;
drgspd = 7;
this.attachMovie(theClip, "theText", -1800);
theText.me.autoSize = true;
theText.me._width = box._width - dragger._width;
margin = box._height / 20;
theMask._width = box._width;
theMask._height = box._height;
dragger._height = (box._height * box._height) / theText._height;
dragger._x = box._width - dragger._width;
underdragg._x = dragger._x;
underdragg._height = box._height;
theText.setMask(theMask);
dragger.onPress = function () {
dragGo = true;
this.startDrag(false, this._x, 0, this._x, box._height - this._height);
teFunc(drgspd + 10);
};
dragger.onRelease = (dragger.onReleaseOutside = function () {
dragGo = false;
this.stopDrag();
});
underdragg.onRollOver = function () {
this.useHandCursor = false;
};
underdragg.onPress = function () {
if (_ymouse < margin) {
ymo = this._y;
} else if (_ymouse > (box._height - margin)) {
ymo = box._height - dragger._height;
} else if (_ymouse > (dragger._y + dragger._height)) {
ymo = _ymouse - dragger._height;
} else if (_ymouse < dragger._y) {
ymo = _ymouse;
}
_root.bui(dragger, "_y", dragger._y, ymo, drgspd);
teFunc(drgspd + 10);
};
teFunc(drgspd + 10);
Symbol 76 Button
on (release) {
Selection.setFocus(scroller.theText.me);
System.setClipboard(scroller.theText.me.text);
_root.ready._visible = true;
}
Symbol 79 Button
on (release) {
_root.copywindow.bui("Strong", "InOut", "_y", _root.copywindow._y, -320, 20);
}
Symbol 80 MovieClip Frame 1
this.swapDepths(1000);
Instance of Symbol 72 MovieClip "scroller" in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
theClip = "myText";
box._height = 228;
box._width = 410;
}
Symbol 82 Button
on (release) {
getURL ("http://www.ugo.com/summermovies/", "_blank");
}