Frame 1
_root.cid = "uk_universal_flash";
Stage.showMenu = false;
System.security.loadPolicyFile("http://www.hyperlaunch.com/crossdomain_umtv.xml");
System.security.allowDomain("www.hyperlaunch.com", "http://www.hyperlaunch.com", "http://www.umtv.co.uk/", "www.umtv.co.uk/", "http://212.78.72.7");
_quality = "high";
stop();
Frame 3
du_start = getTimer();
cid = "uk_universal_flash";
flashaction = "universal.schnappi.home.impression";
loadMovieNum ((((("http://server-uk.imrworldwide.com/cgi-bin/count?cid=" add cid) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
_root.varlives = 1;
_root.lives.gotoAndStop(1);
_root.varScore = 0;
_root.level = 1;
_root.varSnap = 0;
_root.ending = "";
stop();
_quality = "high";
stop();
var i = (Math.floor(Math.random() * 1) + 3);
while (i--) {
this.dot.duplicateMovieClip("dot_" + i, i, 0);
this["dot_" + i]._x = Math.floor(Math.random() * 700);
this["dot_" + i]._y = Math.floor(Math.random() * 450);
}
function callback1() {
s.start(0, 9999);
trace(">>>>");
}
s.stop();
this.createEmptyMovieClip("mysound", 1);
s = new Sound(mysound);
s.loadSound("music/level_1_m.mp3", true);
if (mute) {
s.setVolume(0);
}
s.start(0, 9999);
s.onSoundComplete = callback1;
music_btn.btn.onPress = function () {
this.gotoAndStop("off");
};
Instance of Symbol 221 MovieClip "redbox" in Frame 3
/* no clip actions */
Frame 12
gotoAndPlay(section);
Frame 14
stop();
Instance of Symbol 221 MovieClip "redbox" in Frame 14
/* no clip actions */
Frame 15
_quality = "medium";
_root.varlives = 1;
_root.lives.gotoAndStop(1);
_root.varScore = 0;
_root.level = 1;
_root.varSnap = 0;
_root.ending = "";
stop();
if (firsttime) {
s.stop();
this.createEmptyMovieClip("mysound", 1);
s = new Sound(mysound);
s.loadSound("music/level_1_m.mp3", true);
if (mute) {
s.setVolume(0);
}
s.start(0, 9999);
s.onSoundComplete = function () {
s.start(0, 9999);
};
}
firsttime = true;
Instance of Symbol 351 MovieClip "e2" in Frame 15
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 356 MovieClip "e1" in Frame 15
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 358 MovieClip "e3" in Frame 15
onClipEvent (load) {
moveX = -2;
con = "go";
stop();
}
onClipEvent (enterFrame) {
if (moveX < 0) {
facing = "left";
this._xscale = 100;
} else {
facing = "right";
this._xscale = -100;
}
_x = (_x + moveX);
var i = (4 * moveX);
if (_root.stage.hitTest(_x + i, _y - 3, true) and (con == "go")) {
_x = (_x - moveX);
moveX = moveX * -1;
}
if (con == "die") {
_y = (_y + 10);
if (_y > 550) {
con = "stop";
_root.varScore = _root.varScore + 20;
}
}
}
Instance of Symbol 432 MovieClip "hero" in Frame 15
onClipEvent (load) {
function getStartPos() {
var _local1 = _root;
var _local2 = this;
sbx = _local1.bgmc._x;
ssx = _local1.stage._x;
j = 1;
while (j < (enemyC + 1)) {
_local2[("se" + j) + "x"] = _local1["e" + j]._x;
_local2[("se" + j) + "y"] = _local1["e" + j]._y;
j++;
}
j = 1;
while (j < (flyC + 1)) {
_local2[("sf" + j) + "x"] = _local1["fly" + j]._x;
_local2[("sf" + j) + "y"] = _local1["fly" + j]._y;
j++;
}
}
function setStartPos() {
var _local1 = _root;
var _local2 = this;
_local1.bgmc._x = sbx;
_local1.stage._x = ssx;
j = 1;
while (j < (enemyC + 1)) {
_local1["e" + j]._x = _local2[("se" + j) + "x"];
_local1["e" + j]._y = _local2[("se" + j) + "y"];
_local1["e" + j].con = "go";
_local1["e" + j].moveX = -2;
j++;
}
j = 1;
while (j < (flyC + 1)) {
_local1["fly" + j]._x = _local2[("sf" + j) + "x"];
_local1["fly" + j]._y = _local2[("sf" + j) + "y"];
j++;
}
}
function checkSpeed() {
if (con == "jump") {
if (speedY >= 0) {
con = "fall";
}
}
if (speedY > topSpeedY) {
speedY = topSpeedY;
}
}
function checkHorizon() {
var _local1 = _root;
var _local3 = this;
a = false;
b = false;
if (Key.isDown(37)) {
a = true;
}
if (Key.isDown(39)) {
b = true;
}
if ((a == true) && (b == true)) {
} else if (a == true) {
_local3._xscale = -100;
_local3.walk.play();
schnappifacing = "left";
if ((!_local1.stage.hitTest(_x - hhw, _y - 1, true)) && (!_local1.stage.hitTest(_x - hhw, _y - hh, true))) {
var _local2 = 0;
while (_local2 < speedX) {
if (_local1.bgmc._x < 550) {
j = 1;
while (j < (enemyC + 1)) {
_local1["e" + j]._x = _local1["e" + j]._x + 3;
j++;
}
j = 1;
while (j < (flyC + 1)) {
_local1["fly" + j]._x = _local1["fly" + j]._x + 3;
j++;
}
_local1.bgmc._x = _local1.bgmc._x + 2;
_local1.stage._x = _local1.stage._x + 3;
}
if (_local3._x > 80) {
_x = (_x-1);
}
_local2++;
}
}
} else if (b == true) {
_local3._xscale = 100;
_local3.walk.play();
schnappifacing = "right";
if ((!_local1.stage.hitTest(_x + hhw, _y - 1, true)) && (!_local1.stage.hitTest(_x + hhw, _y - hh, true))) {
var _local2 = 0;
while (_local2 < speedX) {
if (_local1.bgmc._x > -335) {
j = 1;
while (j < (enemyC + 1)) {
_local1["e" + j]._x = _local1["e" + j]._x - 3;
j++;
}
j = 1;
while (j < (flyC + 1)) {
_local1["fly" + j]._x = _local1["fly" + j]._x - 3;
j++;
}
_local1.bgmc._x = _local1.bgmc._x - 2;
_local1.stage._x = _local1.stage._x - 3;
}
if (_local3._x < 680) {
_x = (_x+1);
} else if (con != "wait") {
con = "wait";
_local1.level++;
if (_local1.level >= 5) {
_local1.ending = "success";
_local1.gotoAndStop("finish");
} else {
_local3._parent.bgmc.finishflag.gotoAndPlay(2);
}
}
_local2++;
}
}
}
}
function checkEnemies(cc) {
var _local1 = _root;
var _local2 = this;
i = 1;
while (i <= enemyC) {
if (_local2.hitTest(_local1["e" + i]) && (_local1["e" + i].con == "go")) {
if (con == "snap") {
_local1["e" + i].con = "stop";
_local1["e" + i].moveX = 0;
_local1["e" + i].gotoAndPlay(2);
} else if (((con != "stop") && (con != "die")) && (con != "wait")) {
con = "stop";
gotoAndPlay ("die");
}
}
i++;
}
}
function checkFlys() {
var _local3 = _parent;
var _local1 = 1;
while (_local1 <= flyC) {
if (!this.hitTest(_root.fly99)) {
if (this.hitTest(_root["fly" + _local1])) {
_root["fly" + _local1].gotoAndStop("end");
var _local2 = Math.floor(Math.random() * 3);
if (_local2 == 0) {
_local3.sounds.gotoAndPlay("fly");
} else if (_local2 == 1) {
_local3.sounds.gotoAndPlay("hic");
} else {
_local3.sounds.gotoAndPlay("burp");
}
}
}
_local1++;
}
}
hhw = 25;
hh = 50;
hy = 0;
hx = 0;
friction = 1;
gravity = 1;
jumpspeed = -15;
enemyC = 3;
flyC = 99;
startX = 80;
startY = 80;
this._x = startX;
this._y = startY;
con = "fall";
speedY = 0;
speedX = 4;
topSpeedY = 50;
getStartPos();
stop();
}
onClipEvent (enterFrame) {
if ((con == "fall") || (con == "jump")) {
speedY = (speedY + gravity) * friction;
checkSpeed();
hy = this._y;
if (con == "fall") {
var memory;
i = 0;
while (i < speedY) {
memory = i;
if (_root.stage.hitTest(_x - (hhw / 2), hy + i, true) || (_root.stage.hitTest(_x + (hhw / 2), hy + i, true))) {
con = "ground";
break;
}
i++;
}
this._y = hy + memory;
} else {
this._y = hy + speedY;
}
checkHorizon();
checkFlys();
} else if (con == "ground") {
if ((!_root.stage.hitTest(_x - hhw, _y + 1, true)) || (!_root.stage.hitTest(_x + hhw, _y + 1, true))) {
speedY = 0;
con = "fall";
}
if (Key.isDown(38)) {
if (con != "jump") {
speedY = jumpspeed;
con = "jump";
gotoAndPlay ("jump");
}
} else {
gotoAndStop (1);
}
if ((_root.varSnap != 1) and (con == "ground")) {
if (Key.isDown(32)) {
con = "snap";
_root.varSnap = 1;
gotoAndPlay ("snap");
}
}
checkHorizon();
checkFlys();
} else if (con == "die") {
_y = (_y + 10);
if (_y > 550) {
_x = startX;
_y = startY;
_root.bgmc._x = 0;
_root.stage._x = 0;
setStartPos();
speedY = 0;
con = "fall";
_root.varlives++;
_root.lives.gotoAndPlay(_root.varlives);
_root.varSnap = 0;
}
}
checkEnemies();
}
Frame 17
hero.enemyC = 9;
hero.flyC = 99;
hero.startX = 80;
hero.startY = 80;
hero._x = hero.startX;
hero._y = hero.startY;
hero.con = "fall";
hero.speedY = 0;
hero.speedX = 4;
hero.topSpeedY = 50;
hero.getStartPos();
stop();
s.stop();
this.createEmptyMovieClip("mysound", 1);
s = new Sound(mysound);
s.loadSound("music/level_2_m.mp3", true);
trace(">>>>" + _root.mute);
if (_root.mute) {
s.setVolume(0);
}
s.start(0, 0);
s.onSoundComplete = function () {
s.start(0, 0);
};
Instance of Symbol 488 MovieClip "e1" in Frame 17
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 488 MovieClip "e2" in Frame 17
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 509 MovieClip "e3" in Frame 17
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 511 MovieClip "e4" in Frame 17
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 515 MovieClip "e6" in Frame 17
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 520 MovieClip "e7" in Frame 17
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 541 MovieClip "e8" in Frame 17
onClipEvent (load) {
moveX = -4;
con = "go";
stop();
}
onClipEvent (enterFrame) {
if (moveX < 0) {
facing = "left";
this._xscale = 100;
} else {
facing = "right";
this._xscale = -100;
}
_x = (_x + moveX);
var i = (4 * moveX);
if (_root.stage.hitTest(_x + i, _y - 3, true) and (con == "go")) {
_x = (_x - moveX);
moveX = moveX * -1;
}
if (con == "die") {
_y = (_y + 10);
if (_y > 550) {
con = "stop";
_root.varScore = _root.varScore + 30;
}
}
}
Frame 19
hero.enemyC = 8;
hero.flyC = 34;
hero.startX = 80;
hero.startY = 80;
hero._x = hero.startX;
hero._y = hero.startY;
hero.con = "fall";
hero.speedY = 0;
hero.speedX = 4;
hero.topSpeedY = 50;
hero.getStartPos();
stop();
s.stop();
this.createEmptyMovieClip("mysound", 1);
s = new Sound(mysound);
s.loadSound("music/level_3_m.mp3", true);
if (mute) {
s.setVolume(0);
}
s.start(0, 9999);
s.onSoundComplete = function () {
s.start(0, 9999);
};
Instance of Symbol 358 MovieClip "e3" in Frame 19
onClipEvent (load) {
moveX = -2;
con = "go";
stop();
}
onClipEvent (enterFrame) {
if (moveX < 0) {
facing = "left";
this._xscale = 100;
} else {
facing = "right";
this._xscale = -100;
}
_x = (_x + moveX);
var i = (4 * moveX);
if (_root.stage.hitTest(_x + i, _y - 3, true) and (con == "go")) {
_x = (_x - moveX);
moveX = moveX * -1;
}
if (con == "die") {
_y = (_y + 10);
if (_y > 550) {
con = "stop";
_root.varScore = _root.varScore + 20;
}
}
}
Instance of Symbol 356 MovieClip "e6" in Frame 19
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 356 MovieClip "e8" in Frame 19
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 574 MovieClip "e1" in Frame 19
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 583 MovieClip "e4" in Frame 19
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 584 MovieClip "e5" in Frame 19
onClipEvent (load) {
con = "go";
facing = "left";
stop();
}
onClipEvent (enterFrame) {
if (con == "die") {
_y = (_y + 10);
if (_y > 550) {
con = "stop";
_root.varScore = _root.varScore + 40;
}
}
}
Instance of Symbol 583 MovieClip "e7" in Frame 19
onClipEvent (load) {
con = "go";
stop();
}
Frame 21
hero.enemyC = 10;
hero.flyC = 26;
hero.startX = 80;
hero.startY = 80;
hero._x = hero.startX;
hero._y = hero.startY;
hero.con = "fall";
hero.speedY = 0;
hero.speedX = 4;
hero.topSpeedY = 50;
hero.getStartPos();
stop();
s.stop();
this.createEmptyMovieClip("mysound", 1);
s = new Sound(mysound);
s.loadSound("music/level_4_m.mp3", true);
if (mute) {
s.setVolume(0);
}
s.start(0, 9999);
s.onSoundComplete = function () {
s.start(0, 9999);
};
Instance of Symbol 356 MovieClip "e2" in Frame 21
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 356 MovieClip "e7" in Frame 21
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 356 MovieClip "e10" in Frame 21
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 574 MovieClip "e1" in Frame 21
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 583 MovieClip "e4" in Frame 21
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 600 MovieClip "e5" in Frame 21
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 602 MovieClip "e6" in Frame 21
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 511 MovieClip "e8" in Frame 21
onClipEvent (load) {
con = "go";
stop();
}
Instance of Symbol 358 MovieClip "e3" in Frame 21
onClipEvent (load) {
moveX = 2;
con = "go";
stop();
}
onClipEvent (enterFrame) {
if (moveX < 0) {
facing = "left";
this._xscale = 100;
} else {
facing = "right";
this._xscale = -100;
}
_x = (_x + moveX);
var i = (4 * moveX);
if (_root.stage.hitTest(_x + i, _y - 3, true) and (con == "go")) {
_x = (_x - moveX);
moveX = moveX * -1;
}
if (con == "die") {
_y = (_y + 10);
if (_y > 550) {
con = "stop";
_root.varScore = _root.varScore + 20;
}
}
}
Frame 23
_quality = "high";
stop();
Instance of Symbol 221 MovieClip "redbox" in Frame 23
/* no clip actions */
Frame 25
var i = (Math.floor(Math.random() * 1) + 2);
while (i--) {
this.dot.duplicateMovieClip("dot_" + i, i, 100);
this["dot_" + i]._x = Math.floor(Math.random() * 700);
this["dot_" + i]._y = Math.floor(Math.random() * 450);
}
stop();
Frame 26
du_start = getTimer();
cid = "uk_universal_flash";
flashaction = "universal.schnappi.info.impression";
loadMovieNum ((((("http://server-uk.imrworldwide.com/cgi-bin/count?cid=" add cid) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
_quality = "high";
stop();
Frame 27
du_start = getTimer();
cid = "uk_universal_flash";
flashaction = "universal.schnappi.signup.impression";
loadMovieNum ((((("http://server-uk.imrworldwide.com/cgi-bin/count?cid=" add cid) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
_quality = "high";
stop();
Frame 28
du_start = getTimer();
cid = "uk_universal_flash";
flashaction = "universal.schnappi.tellafriend.impression";
loadMovieNum ((((("http://server-uk.imrworldwide.com/cgi-bin/count?cid=" add cid) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
_quality = "high";
stop();
Frame 29
du_start = getTimer();
cid = "uk_universal_flash";
flashaction = "universal.schnappi.ringtones.impression";
loadMovieNum ((((("http://server-uk.imrworldwide.com/cgi-bin/count?cid=" add cid) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
vidWin_hi.onRelease = function () {
getURL ("http://exodus.interoutemediaservices.com/deliverMedia.asp?id=e596d523-b29f-4f64-a8db-026ce9b22b5d&delivery=stream", "_blank");
stopAllSounds();
_root.mute.gotoAndStop(2);
};
vidWin_lo.onRelease = function () {
getURL ("http://exodus.interoutemediaservices.com/deliverMedia.asp?id=9362583a-648f-44eb-8764-df747e130e8a&delivery=stream", "_blank");
stopAllSounds();
_root.mute.gotoAndStop(2);
};
vidReal_hi.onRelease = function () {
getURL ("http://exodus.interoutemediaservices.com/deliverMedia.asp?id=beaaf45c-51f9-4a00-accb-a69a753f17b9&delivery=stream");
stopAllSounds();
_root.mute.gotoAndStop(2);
};
vidReal_lo.onRelease = function () {
getURL ("http://exodus.interoutemediaservices.com/deliverMedia.asp?id=c791ffab-2364-41bd-a4eb-8a3e399d1f8a&delivery=stream");
stopAllSounds();
_root.mute.gotoAndStop(2);
};
_quality = "high";
stop();
Symbol 8 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 11 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "background");
Symbol 14 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 16 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 19 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(disabled_mc, "foregroundDisabled");
Symbol 22 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(dot_mc, "radioDot");
Symbol 23 MovieClip [frb_states] Frame 1
stop();
Symbol 23 MovieClip [frb_states] Frame 2
stop();
Symbol 23 MovieClip [frb_states] Frame 3
stop();
Symbol 23 MovieClip [frb_states] Frame 4
stop();
Symbol 23 MovieClip [frb_states] Frame 5
stop();
Symbol 26 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller;
component.registerSkinElement(highlight_mc, "selection");
stop();
Symbol 26 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled");
stop();
Symbol 26 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused");
stop();
Symbol 39 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 49 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 56 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 57 MovieClip [UpArrow] Frame 1
stop();
Symbol 57 MovieClip [UpArrow] Frame 2
stop();
Symbol 57 MovieClip [UpArrow] Frame 3
stop();
Symbol 63 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 70 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 75 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 76 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 86 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 94 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 102 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 103 MovieClip [DownArrow] Frame 1
stop();
Symbol 103 MovieClip [DownArrow] Frame 2
stop();
Symbol 103 MovieClip [DownArrow] Frame 3
stop();
Symbol 107 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 110 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "background");
Symbol 113 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 115 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 118 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "foregroundDisabled");
Symbol 121 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "check");
Symbol 122 MovieClip [fcb_states] Frame 1
stop();
Symbol 122 MovieClip [fcb_states] Frame 2
stop();
Symbol 122 MovieClip [fcb_states] Frame 3
stop();
Symbol 122 MovieClip [fcb_states] Frame 4
stop();
Symbol 122 MovieClip [fcb_states] Frame 5
stop();
Symbol 122 MovieClip [fcb_states] Frame 6
stop();
Symbol 125 MovieClip [FLabelSymbol] Frame 1
#initclip 3
_global.FLabelClass = function () {
var _local1 = this;
if (_local1.hostComponent == undefined) {
_local1.hostComponent = ((_local1._parent.controller == undefined) ? (_local1._parent) : (_local1._parent.controller));
}
if (_local1.customTextStyle == undefined) {
if (_local1.hostComponent.textStyle == undefined) {
_local1.hostComponent.textStyle = new TextFormat();
}
_local1.textStyle = _local1.hostComponent.textStyle;
_local1.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var _local1 = this;
var _local2 = _local1.hostComponent.styleTable.embedFonts.value;
if (_local2 != undefined) {
_local1.labelField.embedFonts = _local2;
}
_local1.labelField.setNewTextFormat(_local1.textStyle);
_local1.labelField.text = label;
_local1.labelField._height = _local1.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
var _local2 = this;
var _local3 = enable;
_local2.enable = _local3;
var _local1 = _local2.hostComponent.styleTable[(_local3 ? "textColor" : "textDisabled")].value;
if (_local1 == undefined) {
_local1 = (_local3 ? 0 : 8947848);
}
_local2.setColor(_local1);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 126 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
var _local1 = this;
var _local3 = _global;
_local1.enable = true;
_local1.focused = false;
_local1.useHandCursor = false;
_local1._accImpl = new Object();
_local1._accImpl.stub = true;
_local1.styleTable = new Array();
if (_local3.globalStyleFormat == undefined) {
_local3.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_local3._focusControl = new Object();
_local3._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_local3._focusControl);
}
if (_local1._name != undefined) {
_local1._focusrect = false;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
_local1.tabChildren = false;
_local1.tabFocused = true;
if (_local1.hostStyle == undefined) {
globalStyleFormat.addListener(_local1);
} else {
_local1.styleTable = _local1.hostStyle;
}
_local1.deadPreview._visible = false;
_local1.deadPreview._width = (_local1.deadPreview._height = 1);
_local1.methodTable = new Object();
_local1.keyListener = new Object();
_local1.keyListener.controller = _local1;
_local1.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
_local1.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local2 in _local1.styleFormat_prm) {
_local1.setStyleProperty(_local2, _local1.styleFormat_prm[_local2]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.enable = ((arguments.length > 0) ? (enabledFlag) : true);
_local1.tabEnabled = (_local1.focusEnabled = enabledFlag);
if ((!_local1.enable) && (_local1.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
var _local1 = this;
_local1.handlerObj = ((obj == undefined) ? (_local1._parent) : (obj));
_local1.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
var _local1 = this;
_local1.methodTable[methodName] = true;
_local1.onEnterFrame = _local1.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
var _local1 = this;
if (_local1.methodTable.setSize) {
_local1.setSize(_local1.width, _local1.height);
} else {
_local1.cleanUINotSize();
}
_local1.methodTable = new Object();
delete _local1.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
var _local1 = this;
for (var _local2 in _local1.methodTable) {
_local1[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local1 = this;
var _local2 = y;
var _local3 = x;
var inner = _local1.styleTable.focusRectInner.value;
var outer = _local1.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
_local1.createEmptyMovieClip("focusRect", 1000);
_local1.focusRect.controller = _local1;
_local1.focusRect.lineStyle(1, outer);
_local1.focusRect.moveTo(_local3, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2);
_local1.focusRect.lineStyle(1, inner);
_local1.focusRect.moveTo(_local3 + 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, _local2 + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
var _local1 = this;
_local1.tabFocused = false;
_local1.focusRect.removeMovieClip();
Selection.setFocus(_local1);
};
FUIComponentClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
var _local1 = this;
_local1.focused = true;
Key.addListener(_local1.keyListener);
if (_local1.tabFocused) {
_local1.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
var _local1 = this;
_local1.tabFocused = true;
_local1.focused = false;
_local1.focusRect.removeMovieClip();
Key.removeListener(_local1.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local1 = this;
var _local2 = propName;
if (value == "") {
} else {
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].useGlobal || (!global)) {
_local1.styleTable[_local2].value = value;
if (_local1.setCustomStyleProperty(_local2, value)) {
} else if (_local2 == "embedFonts") {
_local1.invalidate("setSize");
} else if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var textProp = _local2.subString(4, _local2.length);
_local1.textStyle[textProp] = value;
_local1.invalidate("setSize");
} else {
for (var j in _local1.styleTable[_local2].coloredMCs) {
var _local3 = new Color(_local1.styleTable[_local2].coloredMCs[j]);
if (_local1.styleTable[_local2].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local3.setTransform(myTObj);
} else {
_local3.setRGB(value);
}
}
}
_local1.styleTable[_local2].useGlobal = global;
}
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
var _local1 = this;
var _local2 = propName;
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].coloredMCs == undefined) {
_local1.styleTable[_local2].coloredMCs = new Object();
}
_local1.styleTable[_local2].coloredMCs[skinMCRef] = skinMCRef;
if (_local1.styleTable[_local2].value != undefined) {
var _local3 = new Color(skinMCRef);
_local3.setRGB(_local1.styleTable[_local2].value);
}
};
_global.FStyleFormat = function () {
var _local1 = arguments;
var _local2 = this;
_local2.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
_local2.listeners = new Object();
_local2.isGlobal = false;
if (_local1.length > 0) {
for (var _local3 in _local1[0]) {
_local2[_local3] = _local1[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local1 = this;
var _local2 = 0;
while (_local2 < arguments.length) {
var _local3 = arguments[_local2];
_local1.listeners[arguments[_local2]] = _local3;
for (var i in _local1) {
if (_local1.isAStyle(i)) {
_local3.updateStyleProperty(_local1, i.toString());
}
}
_local2++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
var _local1 = this;
var _local2 = component;
_local1.listeners[_local2] = undefined;
for (var prop in _local1) {
if (_local1.isAStyle(prop)) {
if (_local2.styleTable[prop].useGlobal == _local1.isGlobal) {
_local2.styleTable[prop].useGlobal = true;
var _local3 = (_local1.isGlobal ? undefined : (globalStyleFormat[prop]));
_local2.setStyleProperty(prop, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local1 = this;
var _local2 = arguments;
var count = 0;
for (var i in _local1.listeners) {
var _local3 = _local1.listeners[i];
if (_local2.length > 0) {
var j = 0;
while (j < _local2.length) {
if (_local1.isAStyle(_local2[j])) {
_local3.updateStyleProperty(_local1, _local2[j]);
}
j++;
}
} else {
for (var j in _local1) {
if (_local1.isAStyle(j)) {
_local3.updateStyleProperty(_local1, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 130 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 130 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 133 MovieClip [FCheckBoxSymbol] Frame 1
#initclip 5
function FCheckBoxClass() {
this.init();
}
FCheckBoxClass.prototype = new FUIComponentClass();
Object.registerClass("FCheckBoxSymbol", FCheckBoxClass);
FCheckBoxClass.prototype.init = function () {
var _local1 = this;
super.setSize(_local1._width, _local1._height);
_local1.boundingBox_mc.unloadMovie();
_local1.attachMovie("fcb_hitArea", "fcb_hitArea_mc", 1);
_local1.attachMovie("fcb_states", "fcb_states_mc", 2);
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 3);
super.init();
_local1.setChangeHandler(_local1.changeHandler);
_local1._xscale = 100;
_local1._yscale = 100;
_local1.setSize(_local1.width, _local1.height);
if (_local1.initialValue == undefined) {
_local1.setCheckState(false);
} else {
_local1.setCheckState(_local1.initialValue);
}
if (_local1.label != undefined) {
_local1.setLabel(_local1.label);
}
_local1.ROLE_SYSTEM_CHECKBUTTON = 44;
_local1.STATE_SYSTEM_CHECKED = 16;
_local1.EVENT_OBJECT_STATECHANGE = 32778;
_local1.EVENT_OBJECT_NAMECHANGE = 32780;
_local1._accImpl.master = _local1;
_local1._accImpl.stub = false;
_local1._accImpl.get_accRole = _local1.get_accRole;
_local1._accImpl.get_accName = _local1.get_accName;
_local1._accImpl.get_accState = _local1.get_accState;
_local1._accImpl.get_accDefaultAction = _local1.get_accDefaultAction;
_local1._accImpl.accDoDefaultAction = _local1.accDoDefaultAction;
};
FCheckBoxClass.prototype.setLabelPlacement = function (pos) {
var _local1 = this;
var _local3 = pos;
_local1.setLabel(_local1.getLabel());
_local1.txtFormat(_local3);
var halfLabelH = (_local1.fLabel_mc._height / 2);
var halfFrameH = (_local1.fcb_states_mc._height / 2);
var vertCenter = (halfFrameH - halfLabelH);
var checkWidth = _local1.fcb_states_mc._width;
var frame = _local1.fcb_states_mc;
var label = _local1.fLabel_mc;
var _local2 = 0;
if (frame._width > _local1.width) {
_local2 = 0;
} else {
_local2 = _local1.width - frame._width;
}
_local1.fLabel_mc.setSize(_local2);
if ((_local3 == "right") || (_local3 == undefined)) {
_local1.labelPlacement = "right";
_local1.fcb_states_mc._x = 0;
_local1.fLabel_mc._x = checkWidth;
_local1.txtFormat("left");
} else if (_local3 == "left") {
_local1.labelPlacement = "left";
_local1.fLabel_mc._x = 0;
_local1.fcb_states_mc._x = _local1.width - checkWidth;
_local1.txtFormat("right");
}
_local1.fLabel_mc._y = vertCenter;
_local1.fcb_hitArea_mc._y = vertCenter;
};
FCheckBoxClass.prototype.txtFormat = function (pos) {
var _local1 = this;
var _local2 = _local1.textStyle;
var _local3 = _local1.styleTable;
_local2.align = ((_local3.textAlign.value == undefined) ? ((_local2.align = pos)) : undefined);
_local2.leftMargin = ((_local3.textLeftMargin.value == undefined) ? ((_local2.leftMargin = 0)) : undefined);
_local2.rightMargin = ((_local3.textRightMargin.value == undefined) ? ((_local2.rightMargin = 0)) : undefined);
if (_local1.flabel_mc._height > _local1.height) {
super.setSize(_local1.width, _local1.flabel_mc._height);
} else {
super.setSize(_local1.width, _local1.height);
}
_local1.fLabel_mc.labelField.setTextFormat(_local1.textStyle);
_local1.setEnabled(_local1.enable);
};
FCheckBoxClass.prototype.setHitArea = function (w, h) {
var _local2 = this;
var _local1 = _local2.fcb_hitArea_mc;
_local2.hitArea = _local1;
if (_local2.fcb_states_mc._width > w) {
_local1._width = _local2.fcb_states_mc._width;
} else {
_local1._width = w;
}
_local1._visible = false;
if (arguments.length > 1) {
_local1._height = h;
}
};
FCheckBoxClass.prototype.setSize = function (w) {
var _local1 = this;
_local1.setLabel(_local1.getLabel());
_local1.setLabelPlacement(_local1.labelPlacement);
if (_local1.fcb_states_mc._height < _local1.flabel_mc.labelField._height) {
super.setSize(w, _local1.flabel_mc.labelField._height);
}
_local1.setHitArea(_local1.width, _local1.height);
_local1.setLabelPlacement(_local1.labelPlacement);
};
FCheckBoxClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1._width + 6, _local1._height - 1);
};
FCheckBoxClass.prototype.onPress = function () {
var _local2 = this;
_local2.pressFocus();
_root.focusRect.removeMovieClip();
var _local1 = _local2.fcb_states_mc;
if (_local2.getValue()) {
_local1.gotoAndStop("checkedPress");
} else {
_local1.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.onRelease = function () {
var _local1 = this;
_local1.fcb_states_mc.gotoAndStop("up");
_local1.setValue(!_local1.checked);
};
FCheckBoxClass.prototype.onReleaseOutside = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedEnabled");
} else {
_local1.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOut = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedEnabled");
} else {
_local1.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOver = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedPress");
} else {
_local1.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.setValue = function (checkedValue) {
var _local1 = this;
var _local2 = checkedValue;
if (_local2 || (_local2 == undefined)) {
_local1.setCheckState(_local2);
} else if (_local2 == false) {
_local1.setCheckState(_local2);
}
_local1.executeCallBack();
if (Accessibility.isActive()) {
Accessibility.sendEvent(_local1, 0, _local1.EVENT_OBJECT_STATECHANGE, true);
}
};
FCheckBoxClass.prototype.setCheckState = function (checkedValue) {
var _local1 = this;
var _local3 = checkedValue;
var _local2 = _local1.fcb_states_mc;
if (_local1.enable) {
_local1.flabel_mc.setEnabled(true);
if (_local3 || (_local3 == undefined)) {
_local2.gotoAndStop("checkedEnabled");
_local1.enabled = true;
_local1.checked = true;
} else {
_local2.gotoAndStop("up");
_local1.enabled = true;
_local1.checked = false;
}
} else {
_local1.flabel_mc.setEnabled(false);
if (_local3 || (_local3 == undefined)) {
_local2.gotoAndStop("checkedDisabled");
_local1.enabled = false;
_local1.checked = true;
} else {
_local2.gotoAndStop("uncheckedDisabled");
_local1.enabled = false;
_local1.checked = false;
_local1.focusRect.removeMovieClip();
}
}
};
FCheckBoxClass.prototype.getValue = function () {
return(this.checked);
};
FCheckBoxClass.prototype.setEnabled = function (enable) {
var _local1 = this;
if ((enable == true) || (enable == undefined)) {
_local1.enable = true;
Super.setEnabled(true);
} else {
_local1.enable = false;
Super.setEnabled(false);
}
_local1.setCheckState(_local1.checked);
};
FCheckBoxClass.prototype.getEnabled = function () {
return(this.enable);
};
FCheckBoxClass.prototype.setLabel = function (label) {
var _local1 = this;
_local1.fLabel_mc.setLabel(label);
_local1.txtFormat();
if (Accessibility.isActive()) {
Accessibility.sendEvent(_local1, 0, _local1.EVENT_OBJECT_NAMECHANGE);
}
};
FCheckBoxClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FCheckBoxClass.prototype.setTextColor = function (color) {
this.fLabel_mc.labelField.textColor = color;
};
FCheckBoxClass.prototype.myOnKeyDown = function () {
var _local1 = this;
if (((Key.getCode() == 32) && (_local1.pressOnce == undefined)) && (_local1.enabled == true)) {
_local1.setValue(!_local1.getValue());
_local1.pressOnce = true;
}
};
FCheckBoxClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.pressOnce = undefined;
}
};
FCheckBoxClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_CHECKBUTTON);
};
FCheckBoxClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FCheckBoxClass.prototype.get_accState = function (childId) {
if (this.master.getValue()) {
return(this.master.STATE_SYSTEM_CHECKED);
}
return(0);
};
FCheckBoxClass.prototype.get_accDefaultAction = function (childId) {
if (this.master.getValue()) {
return("UnCheck");
}
return("Check");
};
FCheckBoxClass.prototype.accDoDefaultAction = function (childId) {
this.master.setValue(!this.master.getValue());
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 136 MovieClip [FRadioButtonSymbol] Frame 1
#initclip 7
function FRadioButtonClass() {
this.init();
}
function FRadioButtonGroupClass() {
this.radioInstances = new Array();
}
FRadioButtonClass.prototype = new FUIComponentClass();
FRadioButtonGroupClass.prototype = new FUIComponentClass();
Object.registerClass("FRadioButtonSymbol", FRadioButtonClass);
FRadioButtonClass.prototype.init = function () {
var _local1 = this;
if (_local1.initialState == undefined) {
_local1.selected = false;
} else {
_local1.selected = _local1.initialState;
}
super.setSize(_local1._width, _local1._height);
_local1.boundingBox_mc.unloadMovie();
_local1.boundingBox_mc._width = 0;
_local1.boundingBox_mc._height = 0;
_local1.attachMovie("frb_hitArea", "frb_hitArea_mc", 1);
_local1.attachMovie("frb_states", "frb_states_mc", 2);
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 3);
super.init();
_local1._xscale = 100;
_local1._yscale = 100;
_local1.setSize(_local1.width, _local1.height);
_local1.setChangeHandler(_local1.changeHandler);
if (_local1.label != undefined) {
_local1.setLabel(_local1.label);
}
if (_local1.initialState == undefined) {
_local1.setValue(false);
} else {
_local1.setValue(_local1.initialState);
}
if (_local1.data == "") {
_local1.data = undefined;
} else {
_local1.setData(_local1.data);
}
_local1.addToRadioGroup();
_local1.ROLE_SYSTEM_RADIOBUTTON = 45;
_local1.STATE_SYSTEM_SELECTED = 16;
_local1.EVENT_OBJECT_STATECHANGE = 32778;
_local1.EVENT_OBJECT_NAMECHANGE = 32780;
_local1._accImpl.master = _local1;
_local1._accImpl.stub = false;
_local1._accImpl.get_accRole = _local1.get_accRole;
_local1._accImpl.get_accName = _local1.get_accName;
_local1._accImpl.get_accState = _local1.get_accState;
_local1._accImpl.get_accDefaultAction = _local1.get_accDefaultAction;
_local1._accImpl.accDoDefaultAction = _local1.accDoDefaultAction;
};
FRadioButtonClass.prototype.setHitArea = function (w, h) {
var _local2 = this;
var _local1 = _local2.frb_hitArea_mc;
_local2.hitArea = _local1;
if (_local2.frb_states_mc._width > w) {
_local1._width = _local2.frb_states_mc._width;
} else {
_local1._width = w;
}
_local1._visible = false;
if (arguments.length > 1) {
_local1._height = h;
}
};
FRadioButtonClass.prototype.txtFormat = function (pos) {
var _local1 = this;
var _local2 = _local1.textStyle;
var _local3 = _local1.styleTable;
_local2.align = ((_local3.textAlign.value == undefined) ? ((_local2.align = pos)) : undefined);
_local2.leftMargin = ((_local3.textLeftMargin.value == undefined) ? ((_local2.leftMargin = 0)) : undefined);
_local2.rightMargin = ((_local3.textRightMargin.value == undefined) ? ((_local2.rightMargin = 0)) : undefined);
if (_local1.flabel_mc._height > _local1.height) {
super.setSize(_local1.width, _local1.flabel_mc._height);
} else {
super.setSize(_local1.width, _local1.height);
}
_local1.setEnabled(_local1.enable);
};
FRadioButtonClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.setLabel(_local1.getLabel());
_local1.setLabelPlacement(_local1.labelPlacement);
if (_local1.frb_states_mc._height < _local1.flabel_mc.labelField._height) {
super.setSize(w, _local1.flabel_mc.labelField._height);
}
_local1.setHitArea(_local1.width, _local1.height);
_local1.setLabelPlacement(_local1.labelPlacement);
};
FRadioButtonClass.prototype.setLabelPlacement = function (pos) {
var _local1 = this;
_local1.setLabel(_local1.getLabel());
_local1.txtFormat(pos);
var halfLabelH = (_local1.fLabel_mc._height / 2);
var halfFrameH = (_local1.frb_states_mc._height / 2);
var vertCenter = (halfFrameH - halfLabelH);
var radioWidth = _local1.frb_states_mc._width;
var _local2 = _local1.frb_states_mc;
var label = _local1.fLabel_mc;
var _local3 = _local1.width - _local2._width;
if (_local2._width > _local1.width) {
_local3 = 0;
} else {
_local3 = _local1.width - _local2._width;
}
_local1.fLabel_mc.setSize(_local3);
if ((pos == "right") || (pos == undefined)) {
_local1.labelPlacement = "right";
_local1.frb_states_mc._x = 0;
_local1.fLabel_mc._x = radioWidth;
_local1.txtFormat("left");
} else if (pos == "left") {
_local1.labelPlacement = "left";
_local1.fLabel_mc._x = 0;
_local1.frb_states_mc._x = _local1.width - radioWidth;
_local1.txtFormat("right");
}
_local1.fLabel_mc._y = vertCenter;
_local1.frb_hitArea_mc._y = vertCenter;
_local1.setLabel(_local1.getLabel());
};
FRadioButtonClass.prototype.setData = function (dataValue) {
this.data = dataValue;
};
FRadioButtonClass.prototype.getData = function () {
return(this.data);
};
FRadioButtonClass.prototype.getState = function () {
return(this.selected);
};
FRadioButtonClass.prototype.getSize = function () {
return(this.width);
};
FRadioButtonClass.prototype.getGroupName = function () {
return(this.groupName);
};
FRadioButtonClass.prototype.setGroupName = function (groupName) {
var _local1 = this;
var _local2 = 0;
while (_local2 < _local1._parent[_local1.groupName].radioInstances.length) {
if (_local1._parent[_local1.groupName].radioInstances[_local2] == _local1) {
delete _local1._parent[_local1.groupName].radioInstances[_local2];
}
_local2++;
}
_local1.groupName = groupName;
_local1.addToRadioGroup();
};
FRadioButtonClass.prototype.addToRadioGroup = function () {
var _local1 = this;
if (_local1._parent[_local1.groupName] == undefined) {
_local1._parent[_local1.groupName] = new FRadioButtonGroupClass();
}
_local1._parent[_local1.groupName].addRadioInstance(_local1);
};
FRadioButtonClass.prototype.setValue = function (selected) {
var _local1 = this;
var _local2 = selected;
if (_local2 || (_local2 == undefined)) {
_local1.setState(true);
_local1.focusRect.removeMovieClip();
_local1.executeCallBack();
} else if (_local2 == false) {
_local1.setState(false);
}
};
FRadioButtonClass.prototype.setTabState = function (selected) {
var _local1 = this;
Selection.setFocus(_local1);
_local1.setState(selected);
_local1.drawFocusRect();
_local1.executeCallBack();
};
FRadioButtonClass.prototype.setState = function (selected) {
var _local1 = this;
var _local2 = selected;
if (_local2 || (_local2 == undefined)) {
_local1.tabEnabled = true;
for (var _local3 in _local1._parent) {
if ((_local1 != _local1._parent[_local3]) && (_local1._parent[_local3].groupName == _local1.groupName)) {
_local1._parent[_local3].setState(false);
_local1._parent[_local3].tabEnabled = false;
}
}
}
if (_local1.enable) {
_local1.flabel_mc.setEnabled(true);
if (_local2 || (_local2 == undefined)) {
_local1.frb_states_mc.gotoAndStop("selectedEnabled");
_local1.enabled = false;
_local1.selected = true;
_local1.tabEnabled = true;
_local1.tabFocused = true;
} else {
_local1.frb_states_mc.gotoAndStop("unselectedEnabled");
_local1.enabled = true;
_local1.selected = false;
_local1.tabEnabled = false;
var enabTrue = _local1._parent[_local1.groupName].getEnabled();
var noneSelect = (_local1._parent[_local1.groupName].getValue() == undefined);
if (enabTrue && (noneSelect)) {
_local1._parent[_local1.groupName].radioInstances[0].tabEnabled = true;
}
}
} else {
_local1.flabel_mc.setEnabled(false);
if (_local2 || (_local2 == undefined)) {
_local1.frb_states_mc.gotoAndStop("selectedDisabled");
_local1.enabled = false;
_local1.selected = true;
_local1.tabEnabled = false;
} else {
_local1.frb_states_mc.gotoAndStop("unselectedDisabled");
_local1.enabled = false;
_local1.selected = false;
_local1.tabEnabled = false;
}
}
if (Accessibility.isActive()) {
Accessibility.sendEvent(_local1, 0, _local1.EVENT_OBJECT_STATECHANGE, true);
}
};
FRadioButtonClass.prototype.getValue = function () {
var _local1 = this;
if (_local1.selected) {
if ((_local1.data == "") || (_local1.data == undefined)) {
return(_local1.getLabel());
}
return(_local1.data);
}
return(undefined);
};
FRadioButtonClass.prototype.setEnabled = function (enable) {
var _local1 = this;
if ((enable == true) || (enable == undefined)) {
_local1.enable = true;
super.setEnabled(true);
} else {
_local1.enable = false;
super.setEnabled(false);
}
_local1.setState(_local1.selected);
var cgn = (_local1._parent[_local1.groupName].getEnabled() == undefined);
var _local3 = _local1._parent[_local1.groupName].radioInstances[0].getEnabled() == false;
if (cgn && (_local3)) {
var _local2 = 0;
while (_local2 < _local1._parent[_local1.groupName].radioInstances.length) {
if (_local1._parent[_local1.groupName].radioInstances[_local2].getEnabled() == true) {
_local1._parent[_local1.groupName].radioInstances[_local2].tabEnabled = true;
return;
}
_local2++;
}
}
};
FRadioButtonClass.prototype.getEnabled = function () {
return(this.enable);
};
FRadioButtonClass.prototype.setLabel = function (label) {
var _local1 = this;
_local1.fLabel_mc.setLabel(label);
_local1.txtFormat();
if (Accessibility.isActive()) {
Accessibility.sendEvent(_local1, 0, _local1.EVENT_OBJECT_NAMECHANGE);
}
};
FRadioButtonClass.prototype.getLabel = function () {
return(this.fLabel_mc.getLabel());
};
FRadioButtonClass.prototype.onPress = function () {
this.pressFocus();
this.frb_states_mc.gotoAndStop("press");
};
FRadioButtonClass.prototype.onRelease = function () {
var _local1 = this;
_local1.frb_states_mc.gotoAndStop("unselectedDisabled");
_local1.setValue(!_local1.selected);
};
FRadioButtonClass.prototype.onReleaseOutside = function () {
this.frb_states_mc.gotoAndStop("unselectedEnabled");
};
FRadioButtonClass.prototype.onDragOut = function () {
this.frb_states_mc.gotoAndStop("unselectedEnabled");
};
FRadioButtonClass.prototype.onDragOver = function () {
this.frb_states_mc.gotoAndStop("press");
};
FRadioButtonClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1._parent[_local1.groupName]);
};
FRadioButtonGroupClass.prototype.addRadioInstance = function (instance) {
this.radioInstances.push(instance);
this.radioInstances[0].tabEnabled = true;
};
FRadioButtonGroupClass.prototype.setEnabled = function (enableFlag) {
var _local2 = this;
var _local3 = enableFlag;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].setEnabled(_local3);
_local1++;
}
};
FRadioButtonGroupClass.prototype.getEnabled = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
if (_local2.radioInstances[_local1].getEnabled() != _local2.radioInstances[0].getEnabled()) {
return(undefined);
}
_local1++;
}
return(_local2.radioInstances[0].getEnabled());
return(undefined);
};
FRadioButtonGroupClass.prototype.setChangeHandler = function (changeHandler, obj) {
var _local2 = this;
var _local3 = changeHandler;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].setChangeHandler(_local3, obj);
_local1++;
}
};
FRadioButtonGroupClass.prototype.getValue = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
if (_local2.radioInstances[_local1].selected == true) {
if ((_local2.radioInstances[_local1].data == "") || (_local2.radioInstances[_local1].data == undefined)) {
return(_local2.radioInstances[_local1].getLabel());
}
return(_local2.radioInstances[_local1].data);
}
_local1++;
}
return(undefined);
};
FRadioButtonGroupClass.prototype.getData = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
if (_local2.radioInstances[_local1].selected) {
return(_local2.radioInstances[_local1].getData());
}
_local1++;
}
return(undefined);
};
FRadioButtonGroupClass.prototype.getInstance = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
if (_local2.radioInstances[_local1].selected == true) {
return(_local1);
}
_local1++;
}
return(undefined);
};
FRadioButtonGroupClass.prototype.setValue = function (dataValue) {
var _local1 = this;
var _local3 = dataValue;
var _local2 = 0;
while (_local2 < _local1.radioInstances.length) {
if (_local1.radioInstances[_local2].data == _local3) {
_local1.radioInstances[_local2].setValue(true);
return;
}
_local2++;
}
_local2 = 0;
while (_local2 < _local1.radioInstances.length) {
if (_local1.radioInstances[_local2].getLabel() == _local3) {
_local1.radioInstances[_local2].setValue(true);
}
_local2++;
}
};
FRadioButtonGroupClass.prototype.setSize = function (w) {
var _local2 = this;
var _local3 = w;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].setSize(_local3);
_local1++;
}
};
FRadioButtonGroupClass.prototype.getSize = function () {
var _local2 = this;
var _local3 = 0;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
if (_local2.radioInstances[_local1].width >= _local3) {
_local3 = _local2.radioInstances[_local1].width;
}
_local1++;
}
return(_local3);
};
FRadioButtonGroupClass.prototype.setGroupName = function (groupName) {
var _local2 = this;
var _local3 = groupName;
_local2.oldGroupName = _local2.radioInstances[0].groupName;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].groupName = _local3;
_local2.radioInstances[_local1].addToRadioGroup();
_local1++;
}
delete _local2._parent[_local2.oldGroupName];
};
FRadioButtonGroupClass.prototype.getGroupName = function () {
return(this.radioInstances[0].groupName);
};
FRadioButtonGroupClass.prototype.setLabelPlacement = function (pos) {
var _local2 = this;
var _local3 = pos;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].setLabelPlacement(_local3);
_local1++;
}
};
FRadioButtonGroupClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local2 = this;
var _local3 = value;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].setStyleProperty(propName, _local3, isGlobal);
_local1++;
}
};
FRadioButtonGroupClass.prototype.addListener = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].addListener();
_local1++;
}
};
FRadioButtonGroupClass.prototype.applyChanges = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].applyChanges();
_local1++;
}
};
FRadioButtonGroupClass.prototype.removeListener = function (component) {
var _local2 = this;
var _local3 = component;
var _local1 = 0;
while (_local1 < _local2.radioInstances.length) {
_local2.radioInstances[_local1].removeListener(_local3);
_local1++;
}
};
FRadioButtonClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1._width + 6, _local1._height - 3);
};
FRadioButtonClass.prototype.myOnKillFocus = function () {
var _local1 = this;
Key.removeListener(_local1.keyListener);
_local1.focused = false;
_local1.focusRect.removeMovieClip();
_local1._parent[_local1.groupName].foobar = 0;
};
FRadioButtonClass.prototype.myOnKeyDown = function () {
var _local1 = this;
if ((Key.getCode() == 32) && (_local1._parent[_local1.groupName].getValue() == undefined)) {
if (_local1._parent[_local1.groupName].radioInstances[0] == _local1) {
_local1.setTabState(true);
}
}
if ((Key.getCode() == 40) && (_local1.pressOnce == undefined)) {
_local1.foobar = _local1._parent[_local1.groupName].getInstance();
var _local2 = _local1.foobar;
while (_local2 < _local1._parent[_local1.groupName].radioInstances.length) {
var _local3 = _local2 + 1;
if (_local1._parent[_local1.groupName].radioInstances[_local3].getEnabled()) {
_local1._parent[_local1.groupName].radioInstances[_local3].setTabState(true);
return;
}
_local2++;
}
}
if ((Key.getCode() == 38) && (_local1.pressOnce == undefined)) {
_local1.foobar = _local1._parent[_local1.groupName].getInstance();
var _local2 = _local1.foobar;
while (_local2 >= 0) {
var _local3 = _local2 - 1;
if (_local1._parent[_local1.groupName].radioInstances[_local3].getEnabled()) {
_local1._parent[_local1.groupName].radioInstances[_local3].setTabState(true);
return;
}
_local2--;
}
}
};
FRadioButtonClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_RADIOBUTTON);
};
FRadioButtonClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FRadioButtonClass.prototype.get_accState = function (childId) {
if (this.master.getState()) {
return(this.master.STATE_SYSTEM_SELECTED);
}
return(0);
};
FRadioButtonClass.prototype.get_accDefaultAction = function (childId) {
if (this.master.getState()) {
return("UnCheck");
}
return("Check");
};
FRadioButtonClass.prototype.accDoDefaultAction = function (childId) {
this.master.setValue(!this.master.getValue());
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 138 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 139 MovieClip [FScrollBarSymbol] Frame 1
#initclip 4
FScrollBarClass = function () {
var _local1 = this;
if (_local1._height == 4) {
} else {
_local1.init();
_local1.minPos = (_local1.maxPos = (_local1.pageSize = (_local1.largeScroll = 0)));
_local1.smallScroll = 1;
_local1.width = (_local1.horizontal ? (_local1._width) : (_local1._height));
_local1._xscale = (_local1._yscale = 100);
_local1.setScrollPosition(0);
_local1.tabEnabled = false;
if (_local1._targetInstanceName.length > 0) {
_local1.setScrollTarget(_local1._parent[_local1._targetInstanceName]);
}
_local1.tabChildren = false;
_local1.setSize(_local1.width);
}
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.horizontal && (!_local2)) {
_local1._xscale = 100;
_local1._rotation = 0;
} else if (_local2 && (!_local1.horizontal)) {
_local1._xscale = -100;
_local1._rotation = -90;
}
_local1.horizontal = _local2;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.pageSize = pSize;
_local1.minPos = Math.max(mnPos, 0);
_local1.maxPos = Math.max(mxPos, 0);
_local1.scrollPosition = Math.max(_local1.minPos, _local1.scrollPosition);
_local1.scrollPosition = Math.min(_local1.maxPos, _local1.scrollPosition);
if ((_local1.maxPos - _local1.minPos) <= 0) {
_local1.scrollThumb_mc.removeMovieClip();
_local1.upArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = null));
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = null));
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onRelease = null);
_local1.scrollTrack_mc.onDragOut = (_local1.scrollTrack_mc.onRollOut = null);
_local1.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = _local1.getScrollPosition();
_local1.upArrow_mc.gotoAndStop(1);
_local1.downArrow_mc.gotoAndStop(1);
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onDragOver = _local1.startUpScroller);
_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = _local1.stopScrolling);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onDragOver = _local1.startDownScroller);
_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = _local1.stopScrolling);
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onDragOver = _local1.startTrackScroller);
_local1.scrollTrack_mc.onRelease = _local1.stopScrolling;
_local1.scrollTrack_mc.onDragOut = _local1.stopScrolling;
_local1.scrollTrack_mc.onRollOut = _local1.stopScrolling;
_local1.scrollTrack_mc.useHandCursor = false;
_local1.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
_local1.scrollThumb_mc._x = 0;
_local1.scrollThumb_mc._y = _local1.upArrow_mc._height;
_local1.scrollThumb_mc.onPress = _local1.startDragThumb;
_local1.scrollThumb_mc.controller = _local1;
_local1.scrollThumb_mc.onRelease = (_local1.scrollThumb_mc.onReleaseOutside = _local1.stopDragThumb);
_local1.scrollThumb_mc.useHandCursor = false;
_local1.thumbHeight = (_local1.pageSize / ((_local1.maxPos - _local1.minPos) + _local1.pageSize)) * _local1.trackSize;
_local1.thumbMid_mc = _local1.scrollThumb_mc.mc_sliderMid;
_local1.thumbTop_mc = _local1.scrollThumb_mc.mc_sliderTop;
_local1.thumbBot_mc = _local1.scrollThumb_mc.mc_sliderBot;
_local1.thumbHeight = Math.max(_local1.thumbHeight, 6);
_local1.midHeight = (_local1.thumbHeight - _local1.thumbTop_mc._height) - _local1.thumbBot_mc._height;
_local1.thumbMid_mc._yScale = (_local1.midHeight * 100) / _local1.thumbMid_mc._height;
_local1.thumbMid_mc._y = _local1.thumbTop_mc._height;
_local1.thumbBot_mc._y = _local1.thumbTop_mc._height + _local1.midHeight;
_local1.scrollTop = _local1.scrollThumb_mc._y;
_local1.trackHeight = _local1.trackSize - _local1.thumbHeight;
_local1.scrollBot = _local1.trackHeight + _local1.scrollTop;
_local2 = Math.min(_local2, _local1.maxPos);
_local1.setScrollPosition(Math.max(_local2, _local1.minPos));
}
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
var _local1 = this;
var _local2 = pos;
_local1.scrollPosition = _local2;
if (_local1.scrollThumb_mc != undefined) {
_local2 = Math.min(_local2, _local1.maxPos);
_local2 = Math.max(_local2, _local1.minPos);
}
_local1.scrollThumb_mc._y = (((_local2 - _local1.minPos) * _local1.trackHeight) / (_local1.maxPos - _local1.minPos)) + _local1.scrollTop;
_local1.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
var _local3 = _local1.enable;
if (_local2 && (!_local3)) {
_local1.enable = _local2;
if (_local1.textField != undefined) {
_local1.setScrollTarget(_local1.textField);
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.cachedMinPos, _local1.cachedMaxPos);
_local1.setScrollPosition(_local1.cachedPos);
}
_local1.clickFilter = undefined;
} else if ((!_local2) && (_local3)) {
_local1.textField.removeListener(_local1);
_local1.cachedPos = _local1.getScrollPosition();
_local1.cachedMinPos = _local1.minPos;
_local1.cachedMaxPos = _local1.maxPos;
if (_local1.clickFilter == undefined) {
_local1.setScrollProperties(_local1.pageSize, 0, 0);
} else {
_local1.clickFilter = true;
}
_local1.enable = _local2;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
var _local1 = this;
if (_local1._height == 1) {
} else {
_local1.width = hgt;
_local1.scrollTrack_mc._yscale = 100;
_local1.scrollTrack_mc._yscale = (100 * _local1.width) / _local1.scrollTrack_mc._height;
if (_local1.upArrow_mc == undefined) {
_local1.attachMovie("UpArrow", "upArrow_mc", 1);
_local1.attachMovie("DownArrow", "downArrow_mc", 2);
_local1.downArrow_mc.controller = (_local1.upArrow_mc.controller = _local1);
_local1.upArrow_mc.useHandCursor = (_local1.downArrow_mc.useHandCursor = false);
_local1.upArrow_mc._x = (_local1.upArrow_mc._y = 0);
_local1.downArrow_mc._x = 0;
}
_local1.scrollTrack_mc.controller = _local1;
_local1.downArrow_mc._y = _local1.width - _local1.downArrow_mc._height;
_local1.trackSize = _local1.width - (2 * _local1.downArrow_mc._height);
if (_local1.textField != undefined) {
_local1.onTextChanged();
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.minPos, _local1.maxPos);
}
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local1 = this;
var _local3 = _local1.smallScroll;
if (inc != "one") {
_local3 = ((_local1.largeScroll == 0) ? (_local1.pageSize) : (_local1.largeScroll));
}
var _local2 = _local1.getScrollPosition() + (mode * _local3);
if (_local2 > _local1.maxPos) {
_local2 = _local1.maxPos;
} else if (_local2 < _local1.minPos) {
_local2 = _local1.minPos;
}
_local1.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
var _local1 = this;
_local1.lastY = _local1._ymouse;
_local1.onMouseMove = _local1.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
var _local1 = this;
_local1.scrollMove = _local1._ymouse - _local1.lastY;
_local1.scrollMove = _local1.scrollMove + _local1._y;
if (_local1.scrollMove < _local1.controller.scrollTop) {
_local1.scrollMove = _local1.controller.scrollTop;
} else if (_local1.scrollMove > _local1.controller.scrollBot) {
_local1.scrollMove = _local1.controller.scrollBot;
}
_local1._y = _local1.scrollMove;
var _local2 = _local1.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (_local1._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
_local1.controller.isScrolling = true;
updateAfterEvent();
_local1.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
var _local1 = this;
_local1.controller.trackScroller();
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
var _local1 = this;
var _local2 = inc;
clearInterval(_local1.scrolling);
if (_local2 == "page") {
_local1.trackScroller();
} else {
_local1.scrollIt(_local2, mode);
}
_local1.scrolling = setInterval(_local1, "scrollInterval", 35, _local2, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
var _local1 = this;
if ((_local1.scrollThumb_mc._y + _local1.thumbHeight) < _local1._ymouse) {
_local1.scrollIt("page", 1);
} else if (_local1.scrollThumb_mc._y > _local1._ymouse) {
_local1.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(1);
_local1.controller.upArrow_mc.gotoAndStop(1);
clearInterval(_local1.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
var _local1 = this;
_local1.controller.upArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", -1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", 1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
var _local1 = this;
var _local2 = tF;
if (_local2 == undefined) {
_local1.textField.removeListener(_local1);
delete _local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")];
if ((_local1.textField.hScroller != undefined) && (_local1.textField.vScroller != undefined)) {
_local1.textField.unwatch("text");
_local1.textField.unwatch("htmltext");
}
}
_local1.textField = undefined;
if (!(_local2 instanceof TextField)) {
} else {
_local1.textField = _local2;
_local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")] = _local1;
_local1.onTextChanged();
_local1.onChanged = function () {
this.onTextChanged();
};
_local1.onScroller = function () {
var _local1 = this;
if (!_local1.isScrolling) {
if (!_local1.horizontal) {
_local1.setScrollPosition(_local1.textField.scroll);
} else {
_local1.setScrollPosition(_local1.textField.hscroll);
}
}
};
_local1.textField.addListener(_local1);
_local1.textField.watch("text", _local1.callback);
_local1.textField.watch("htmlText", _local1.callback);
}
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
var _local1 = this;
clearInterval(_local1.hScroller.synchScroll);
clearInterval(_local1.vScroller.synchScroll);
_local1.hScroller.synchScroll = setInterval(_local1.hScroller, "onTextChanged", 50);
_local1.vScroller.synchScroll = setInterval(_local1.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
var _local1 = this;
if ((!_local1.enable) || (_local1.textField == undefined)) {
} else {
clearInterval(_local1.synchScroll);
if (_local1.horizontal) {
var _local2 = _local1.textField.hscroll;
_local1.setScrollProperties(_local1.textField._width, 0, _local1.textField.maxhscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxhscroll));
} else {
var _local2 = _local1.textField.scroll;
var _local3 = _local1.textField.bottomScroll - _local1.textField.scroll;
_local1.setScrollProperties(_local3, 1, _local1.textField.maxscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxscroll));
}
}
};
FScrollBarClass.prototype.executeCallBack = function () {
var _local1 = this;
if (_local1.textField == undefined) {
super.executeCallBack();
} else if (_local1.horizontal) {
_local1.textField.hscroll = _local1.getScrollPosition();
} else {
_local1.textField.scroll = _local1.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 140 MovieClip [DataProviderSymbol] Frame 1
#initclip 2
_global.DataProviderClass = function () {
this.init();
};
DataProviderClass.prototype.init = function () {
var _local1 = this;
_local1.items = new Array();
_local1.uniqueID = 0;
_local1.views = new Array();
};
DataProviderClass.prototype.addView = function (viewRef) {
this.views.push(viewRef);
var _local1 = {event:"updateAll"};
viewRef.modelChanged(_local1);
};
DataProviderClass.prototype.addItemAt = function (index, value) {
var _local1 = index;
var _local2 = this;
var _local3 = value;
if (_local1 < _local2.getLength()) {
_local2.items.splice(_local1, 0, "tmp");
}
_local2.items[_local1] = new Object();
if (typeof(_local3) == "object") {
_local2.items[_local1] = _local3;
} else {
_local2.items[_local1].label = _local3;
}
_local2.items[_local1].__ID__ = _local2.uniqueID++;
var eventObj = {event:"addRows", firstRow:_local1, lastRow:_local1};
_local2.updateViews(eventObj);
};
DataProviderClass.prototype.addItem = function (value) {
this.addItemAt(this.getLength(), value);
};
DataProviderClass.prototype.removeItemAt = function (index) {
var _local1 = index;
var _local2 = this;
var tmpItm = _local2.items[_local1];
_local2.items.splice(_local1, 1);
var _local3 = {event:"deleteRows", firstRow:_local1, lastRow:_local1};
_local2.updateViews(_local3);
return(tmpItm);
};
DataProviderClass.prototype.removeAll = function () {
var _local1 = this;
_local1.items = new Array();
_local1.updateViews({event:"deleteRows", firstRow:0, lastRow:_local1.getLength() - 1});
};
DataProviderClass.prototype.replaceItemAt = function (index, itemObj) {
var _local1 = index;
var _local2 = this;
if ((_local1 < 0) || (_local1 >= _local2.getLength())) {
} else {
var _local3 = _local2.getItemID(_local1);
if (typeof(itemObj) == "object") {
_local2.items[_local1] = itemObj;
} else {
_local2.items[_local1].label = itemObj;
}
_local2.items[_local1].__ID__ = _local3;
_local2.updateViews({event:"updateRows", firstRow:_local1, lastRow:_local1});
}
};
DataProviderClass.prototype.getLength = function () {
return(this.items.length);
};
DataProviderClass.prototype.getItemAt = function (index) {
return(this.items[index]);
};
DataProviderClass.prototype.getItemID = function (index) {
return(this.items[index].__ID__);
};
DataProviderClass.prototype.sortItemsBy = function (fieldName, order) {
var _local1 = this;
_local1.items.sortOn(fieldName);
if (order == "DESC") {
_local1.items.reverse();
}
_local1.updateViews({event:"sort"});
};
DataProviderClass.prototype.updateViews = function (eventObj) {
var _local2 = this;
var _local3 = eventObj;
var _local1 = 0;
while (_local1 < _local2.views.length) {
_local2.views[_local1].modelChanged(_local3);
_local1++;
}
};
#endinitclip
Symbol 141 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 9
function FSelectableItemClass() {
this.init();
}
FSelectableItemClass.prototype = new FUIComponentClass();
FSelectableItemClass.prototype.init = function () {
var _local1 = this;
if (_local1._name != "itemAsset") {
_local1.highlighted = false;
_local1.layoutContent(100);
}
};
FSelectableItemClass.prototype.drawItem = function (itmObj, selected) {
var _local1 = this;
var _local2 = selected;
_local1.displayContent(itmObj, _local2);
if ((_local1.highlighted != _local2) || ((_local1.controller.focused != _local1.oldFocus) && (_local2))) {
_local1.setHighlighted(_local2);
}
_local1.oldFocus = _local1.controller.focused;
};
FSelectableItemClass.prototype.setSize = function (width, height) {
var _local1 = this;
var _local3 = width;
var _local2 = -16384;
_local1.width = _local3;
_local1.layoutContent(_local3);
_local1.attachMovie("FHighlightSymbol", "highlight_mc", _local2);
_local1.highlight_mc._x = 0.5;
_local1.highlight_mc._width = _local3 - 0.5;
_local1.highlight_mc._height = height;
_local1.highlight_mc.controller = _local1;
_local1.highlight_mc._alpha = 0;
_local1.highlight_mc.trackAsMenu = true;
_local1.highlight_mc.onPress = function () {
var _local1 = this;
if (_local1.controller.enable) {
_local1.controller.controller.clickHandler(_local1.controller.itemNum);
}
};
_local1.highlight_mc.onDragOver = function () {
if (this.controller.controller.focused) {
this.onPress();
}
};
_local1.highlight_mc.useHandCursor = false;
_local1.highlight_mc.trackAsMenu = true;
};
FSelectableItemClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
_local1.enable = _local2;
_local1.fLabel_mc.setEnabled(_local2);
_local1.highlight_mc.gotoAndStop((_local2 ? "unfocused" : "disabled"));
};
FSelectableItemClass.prototype.layoutContent = function (width) {
var _local1 = this;
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:_local1.controller});
_local1.fLabel_mc._x = 2;
_local1.fLabel_mc._y = 0;
_local1.fLabel_mc.setSize(width - 2);
_local1.fLabel_mc.labelField.selectable = false;
};
FSelectableItemClass.prototype.displayContent = function (itmObj, selected) {
var _local2 = itmObj;
var _local1 = "";
if (_local2.label != undefined) {
_local1 = _local2.label;
} else if (typeof(_local2) == "object") {
for (var _local3 in _local2) {
if (_local3 != "__ID__") {
_local1 = (_local2[_local3] + ", ") + _local1;
}
}
_local1 = _local1.substring(0, _local1.length - 2);
} else {
_local1 = _local2;
}
if (this.fLabel_mc.labelField.text != _local1) {
this.fLabel_mc.setLabel(_local1);
}
var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value));
if (clr == undefined) {
clr = (selected ? 16777215 : 0);
}
this.fLabel_mc.setColor(clr);
};
FSelectableItemClass.prototype.getItemIndex = function () {
return(this.controller.getScrollPosition() + this.itemNum);
};
FSelectableItemClass.prototype.getItemModel = function () {
return(this.controller.getItemAt(this.getItemIndex()));
};
FSelectableItemClass.prototype.getHostDataProvider = function () {
return(this.controller.dataProvider);
};
FSelectableItemClass.prototype.setHighlighted = function (flag) {
var _local1 = this;
var _local2 = flag;
fade = _local1.controller.styleTable.fadeRate.value;
if (((fade == undefined) || (fade == 0)) || (!_local2)) {
_local1.highlight_mc._alpha = (_local2 ? 100 : 0);
delete _local1.onEnterFrame;
} else {
_local1.fadeN = fade;
_local1.fadeX = 1;
_local1.highLight_mc._alpha = 20;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.highLight_mc._alpha = (60 * Math.sqrt((_local1.fadeX++) / _local1.fadeN)) + 40;
if (_local1.fadeX > _local1.fadeN) {
delete _local1.onEnterFrame;
}
};
}
_local1.highlighted = _local2;
};
#endinitclip
Symbol 142 MovieClip [FSelectableListSymbol] Frame 1
#initclip 6
function FSelectableListClass() {
this.init();
}
FSelectableListClass.prototype = new FUIComponentClass();
FSelectableListClass.prototype.init = function () {
var _local1 = this;
super.init();
_local1.enable = true;
_local1.selected = new Array();
_local1.topDisplayed = (_local1.numDisplayed = 0);
_local1.lastSelected = 0;
_local1.tabChildren = false;
if (_local1._name != undefined) {
_local1.dataProvider = new DataProviderClass();
_local1.dataProvider.addView(_local1);
}
};
FSelectableListClass.prototype.addItemAt = function (index, label, data) {
if ((index < 0) || (!this.enable)) {
return(undefined);
}
this.dataProvider.addItemAt(index, {label:label, data:data});
};
FSelectableListClass.prototype.addItem = function (label, data) {
if (!this.enable) {
return(undefined);
}
this.dataProvider.addItem({label:label, data:data});
};
FSelectableListClass.prototype.removeItemAt = function (index) {
var _local1 = this;
_local1.selectHolder = _local1.getSelectedIndex();
var _local2 = _local1.getItemAt(index);
_local1.dataProvider.removeItemAt(index);
return(_local2);
};
FSelectableListClass.prototype.removeAll = function () {
this.dataProvider.removeAll();
};
FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) {
this.dataProvider.replaceItemAt(index, {label:newLabel, data:newData});
};
FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) {
var _local1 = this;
_local1.lastSelID = _local1.dataProvider.getItemID(_local1.lastSelected);
_local1.dataProvider.sortItemsBy(fieldName, order);
};
FSelectableListClass.prototype.getLength = function () {
return(this.dataProvider.getLength());
};
FSelectableListClass.prototype.getSelectedIndex = function () {
var _local2 = this;
for (var _local3 in _local2.selected) {
var _local1 = _local2.selected[_local3].sIndex;
if (_local1 != undefined) {
return(_local1);
}
}
return(undefined);
};
FSelectableListClass.prototype.getSelectedItem = function () {
return(this.getItemAt(this.getSelectedIndex()));
};
FSelectableListClass.prototype.getItemAt = function (index) {
return(this.dataProvider.getItemAt(index));
};
FSelectableListClass.prototype.getEnabled = function () {
return(this.enable);
};
FSelectableListClass.prototype.getValue = function () {
var _local1 = this.getSelectedItem();
if (_local1.data != undefined) {
return(_local1.data);
}
return(_local1.label);
};
FSelectableListClass.prototype.setSelectedIndex = function (index, flag) {
var _local1 = this;
var _local2 = index;
if (((_local2 >= 0) && (_local2 < _local1.getLength())) && (_local1.enable)) {
_local1.clearSelected();
_local1.selectItem(_local2, true);
_local1.lastSelected = _local2;
_local1.invalidate("updateControl");
if (flag != false) {
_local1.executeCallBack();
}
}
};
FSelectableListClass.prototype.setDataProvider = function (obj) {
var _local2 = obj;
this.setScrollPosition(0);
this.clearSelected();
if (_local2 instanceof Array) {
this.dataProvider = new DataProviderClass();
var _local1 = 0;
while (_local1 < _local2.length) {
var _local3 = ((typeof(_local2[_local1]) == "string") ? ({label:_local2[_local1]}) : (_local2[_local1]));
this.dataProvider.addItem(_local3);
_local1++;
}
} else {
this.dataProvider = _local2;
}
this.dataProvider.addView(this);
};
FSelectableListClass.prototype.setItemSymbol = function (linkID) {
var _local1 = this;
_local1.tmpPos = _local1.getScrollPosition();
_local1.itemSymbol = linkID;
_local1.invalidate("setSize");
_local1.setScrollPosition(_local1.tmpPos);
};
FSelectableListClass.prototype.setEnabled = function (enabledFlag) {
var _local2 = this;
_local2.cleanUI();
super.setEnabled(enabledFlag);
_local2.enable = enabledFlag;
_local2.boundingBox_mc.gotoAndStop((_local2.enable ? "enabled" : "disabled"));
var _local3 = Math.min(_local2.numDisplayed, _local2.getLength());
var _local1 = 0;
while (_local1 < _local3) {
_local2.container_mc[("fListItem" + _local1) + "_mc"].setEnabled(_local2.enable);
_local1++;
}
if (_local2.enable) {
_local2.invalidate("updateControl");
}
};
FSelectableListClass.prototype.updateControl = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.container_mc[("fListItem" + _local1) + "_mc"].drawItem(_local2.getItemAt(_local2.topDisplayed + _local1), _local2.isSelected(_local2.topDisplayed + _local1));
_local1++;
}
};
FSelectableListClass.prototype.setSize = function (w, h) {
var _local1 = this;
super.setSize(w, h);
_local1.boundingBox_mc._xscale = (_local1.boundingBox_mc._yscale = 100);
_local1.boundingBox_mc._xscale = (_local1.width * 100) / _local1.boundingBox_mc._width;
_local1.boundingBox_mc._yscale = (_local1.height * 100) / _local1.boundingBox_mc._height;
var _local2 = 0;
while (_local2 < _local1.numDisplayed) {
_local1.container_mc.attachMovie(_local1.itemSymbol, ("fListItem" + _local2) + "_mc", 10 + _local2, {controller:_local1, itemNum:_local2});
var _local3 = _local1.container_mc[("fListItem" + _local2) + "_mc"];
var offset = ((_local1.scrollOffset == undefined) ? 0 : (_local1.scrollOffset));
_local3.setSize(_local1.width - offset, _local1.itmHgt);
_local3._y = (_local1.itmHgt - 2) * _local2;
_local2++;
}
_local1.updateControl();
};
FSelectableListClass.prototype.modelChanged = function (eventObj) {
var _local1 = this;
var firstRow = eventObj.firstRow;
var lastRow = eventObj.lastRow;
var event = eventObj.event;
if (event == "addRows") {
for (var _local2 in _local1.selected) {
if ((_local1.selected[_local2].sIndex != undefined) && (_local1.selected[_local2].sIndex >= firstRow)) {
_local1.selected[_local2].sIndex = _local1.selected[_local2].sIndex + ((lastRow - firstRow) + 1);
_local1.setSelectedIndex(_local1.selected[_local2].sIndex, false);
}
}
} else if (event == "deleteRows") {
if (firstRow == lastRow) {
var index = firstRow;
if (_local1.selectHolder == index) {
_local1.selectionDeleted = true;
}
if (((_local1.topDisplayed + _local1.numDisplayed) >= _local1.getLength()) && (_local1.topDisplayed > 0)) {
_local1.topDisplayed--;
if (_local1.selectionDeleted && ((index - 1) >= 0)) {
_local1.setSelectedIndex(index - 1, false);
}
} else if (_local1.selectionDeleted) {
var len = _local1.getLength();
if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) {
_local1.setSelectedIndex(index - 1, false);
} else {
_local1.setSelectedIndex(index, false);
}
}
for (var _local2 in _local1.selected) {
if (_local1.selected[_local2].sIndex > firstRow) {
_local1.selected[_local2].sIndex--;
}
}
} else {
_local1.clearSelected();
_local1.topDisplayed = 0;
}
} else if (event == "sort") {
var len = _local1.getLength();
var _local2 = 0;
while (_local2 < len) {
if (_local1.isSelected(_local2)) {
var _local3 = _local1.dataProvider.getItemID(_local2);
if (_local3 == _local1.lastSelID) {
_local1.lastSelected = _local2;
}
_local1.selected[String(_local3)].sIndex = _local2;
}
_local2++;
}
}
_local1.invalidate("updateControl");
};
FSelectableListClass.prototype.measureItmHgt = function () {
var _local1 = this;
_local1.attachMovie(_local1.itemSymbol, "tmpItem_mc", 0, {controller:_local1});
_local1.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false);
_local1.itmHgt = _local1.tmpItem_mc._height;
_local1.tmpItem_mc.removeMovieClip();
};
FSelectableListClass.prototype.selectItem = function (index, selectedFlag) {
var _local1 = this;
var _local2 = index;
if (selectedFlag && (!_local1.isSelected(_local2))) {
_local1.selected[String(_local1.dataProvider.getItemID(_local2))] = {sIndex:_local2};
} else if (!selectedFlag) {
delete _local1.selected[String(_local1.dataProvider.getItemID(_local2))];
}
};
FSelectableListClass.prototype.isSelected = function (index) {
return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined);
};
FSelectableListClass.prototype.clearSelected = function () {
var _local1 = this;
for (var _local3 in _local1.selected) {
var _local2 = _local1.selected[_local3].sIndex;
if (((_local2 != undefined) && (_local1.topDisplayed <= _local2)) && (_local2 < (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.container_mc[("fListItem" + (_local2 - _local1.topDisplayed)) + "_mc"].drawItem(_local1.getItemAt(_local2), false);
}
}
delete _local1.selected;
_local1.selected = new Array();
};
FSelectableListClass.prototype.selectionHandler = function (itemNum) {
var _local1 = this;
var _local2 = _local1.topDisplayed + itemNum;
if (_local1.getItemAt(_local2 == undefined)) {
_local1.changeFlag = false;
} else {
_local1.changeFlag = true;
_local1.clearSelected();
_local1.selectItem(_local2, true);
_local1.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(_local1.getItemAt(_local2), _local1.isSelected(_local2));
}
};
FSelectableListClass.prototype.moveSelBy = function (incr) {
var _local1 = this;
var _local3 = _local1.getSelectedIndex();
var _local2 = _local3 + incr;
_local2 = Math.max(0, _local2);
_local2 = Math.min(_local1.getLength() - 1, _local2);
if (_local2 == _local3) {
} else {
if ((_local3 < _local1.topDisplayed) || (_local3 >= (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.setScrollPosition(_local3);
}
if ((_local2 >= (_local1.topDisplayed + _local1.numDisplayed)) || (_local2 < _local1.topDisplayed)) {
_local1.setScrollPosition(_local1.topDisplayed + incr);
}
_local1.selectionHandler(_local2 - _local1.topDisplayed);
}
};
FSelectableListClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
_local1.focusRect.removeMovieClip();
if (!_local1.focused) {
_local1.pressFocus();
}
_local1.selectionHandler(itmNum);
_local1.onMouseUp = _local1.releaseHandler;
};
FSelectableListClass.prototype.releaseHandler = function () {
var _local1 = this;
if (_local1.changeFlag) {
_local1.executeCallBack();
}
_local1.changeFlag = false;
_local1.onMouseUp = undefined;
};
FSelectableListClass.prototype.myOnSetFocus = function () {
var _local2 = this;
super.myOnSetFocus();
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.container_mc[("fListItem" + _local1) + "_mc"].highlight_mc.gotoAndStop("enabled");
_local1++;
}
};
FSelectableListClass.prototype.myOnKillFocus = function () {
var _local2 = this;
super.myOnKillFocus();
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.container_mc[("fListItem" + _local1) + "_mc"].highlight_mc.gotoAndStop("unfocused");
_local1++;
}
};
#endinitclip
Instance of Symbol 140 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 142 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 141 MovieClip [FSelectableItemSymbol] "ItemAsset" in Symbol 142 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 143 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 8
function FScrollSelectListClass() {
this.init();
}
FScrollSelectListClass.prototype = new FSelectableListClass();
FScrollSelectListClass.prototype.getScrollPosition = function () {
return(this.topDisplayed);
};
FScrollSelectListClass.prototype.setScrollPosition = function (pos) {
var _local1 = pos;
var _local2 = this;
if (_local2.enable) {
_local1 = Math.min(_local1, _local2.getLength() - _local2.numDisplayed);
_local1 = Math.max(_local1, 0);
_local2.scrollBar_mc.setScrollPosition(_local1);
}
};
FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) {
var _local1 = this;
_local1.permaScrollBar = !flag;
_local1.setSize(_local1.width, _local1.height);
};
FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.scrollBar_mc.setEnabled(this.enable);
};
FScrollSelectListClass.prototype.setSize = function (w, h) {
var _local1 = this;
var _local2 = _local1.getScrollPosition();
super.setSize(w, h);
if (_local1.scrollBar_mc != undefined) {
_local1.removed = true;
}
_local1.scrollBar_mc = undefined;
_local1.initScrollBar();
_local1.setScrollPosition(_local2);
};
FScrollSelectListClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
this.invalidate("initScrollBar");
};
FScrollSelectListClass.prototype.initScrollBar = function () {
var _local1 = this;
if ((!_local1.permaScrollBar) && (_local1.getLength() <= _local1.numDisplayed)) {
if (_local1.removed) {
_local1.scrollBar_mc.removeMovieClip();
_local1.scrollBar_mc = undefined;
_local1.scrollOffset = undefined;
_local1.invalidate("setSize");
}
} else {
if (_local1.scrollBar_mc == undefined) {
_local1.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:_local1.styleTable});
_local1.scrollBar_mc = _local1.container_mc.scrollBar_mc;
_local1.scrollBar_mc.setChangeHandler("scrollHandler", _local1);
_local1.scrollBar_mc.setSize(_local1.height);
_local1.scrollBar_mc._x = _local1.width - _local1.scrollBar_mc._width;
_local1.scrollBar_mc._y = 0;
_local1.scrollBar_mc.setLargeScroll(_local1.numDisplayed - 1);
_local1.scrollOffset = _local1.scrollBar_mc._width;
_local1.invalidate("setSize");
}
_local1.scrollBar_mc.setScrollProperties(_local1.numDisplayed, 0, _local1.getLength() - _local1.numDisplayed);
}
};
FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) {
var _local2 = this;
var _local1 = scrollBar.getScrollPosition();
_local2.topDisplayed = _local1;
if (_local2.lastPosition != _local1) {
_local2.updateControl();
}
_local2.lastPosition = _local1;
};
FScrollSelectListClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
super.clickHandler(itmNum);
if ((_local1.dragScrolling == undefined) && (_local1.scrollBar_mc != undefined)) {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.releaseHandler = function () {
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
super.releaseHandler();
};
FScrollSelectListClass.prototype.dragScroll = function () {
var _local1 = this;
clearInterval(_local1.dragScrolling);
if (_local1.container_mc._ymouse < 0) {
_local1.setScrollPosition(_local1.getScrollPosition() - 1);
_local1.selectionHandler(0);
_local1.scrollInterval = Math.max(25, (-23.8 * (-_local1.container_mc._ymouse)) + 500);
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
} else if (_local1.container_mc._ymouse > ((_local1.itmHgt - 2) * _local1.numDisplayed)) {
_local1.setScrollPosition(_local1.getScrollPosition() + 1);
_local1.selectionHandler(_local1.numDisplayed - 1);
_local1.scrollInterval = Math.max(25, (-23.8 * Math.abs((_local1.container_mc._ymouse - ((_local1.itmHgt - 2) * _local1.numDisplayed)) - 2)) + 500);
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
} else {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.myOnKeyDown = function () {
var _local2 = this;
if (_local2.focused) {
_local2.keyCodes = new Array(40, 38, 34, 33, 36, 35);
_local2.keyIncrs = new Array(1, -1, _local2.numDisplayed - 1, -(_local2.numDisplayed - 1), -_local2.getLength(), _local2.getLength());
var _local1 = 0;
while (_local1 < _local2.keyCodes.length) {
if (Key.isDown(_local2.keyCodes[_local1])) {
_local2.moveSelBy(_local2.keyIncrs[_local1]);
return;
}
_local1++;
}
_local2.findInputText();
}
};
FScrollSelectListClass.prototype.findInputText = function () {
var _local1 = Key.getAscii();
if ((_local1 >= 33) && (_local1 <= 126)) {
this.findString(String.fromCharCode(_local1));
}
};
FScrollSelectListClass.prototype.findString = function (str) {
if (this.getLength() == 0) {
} else {
var _local3 = this.getSelectedIndex();
var jump = 0;
var _local1 = _local3 + 1;
while (_local1 != _local3) {
var _local2 = this.getItemAt(_local1).label.substring(0, str.length);
if ((str == _local2) || (str.toUpperCase() == _local2.toUpperCase())) {
var jump = (_local1 - _local3);
break;
}
if (_local1 >= (this.getLength() - 1)) {
_local1 = -1;
}
_local1++;
}
if (jump != 0) {
this.moveSelBy(jump);
}
}
};
#endinitclip
Instance of Symbol 139 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 143 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
onClipEvent (load) {
this._width = (this._height = 1);
}
Instance of Symbol 142 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 143 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 144 MovieClip [FComboBoxItemSymbol] Frame 1
#initclip 11
function FComboBoxItemClass() {
this.init();
}
FComboBoxItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FComboBoxItemSymbol", FComboBoxItemClass);
FComboBoxItemClass.prototype.setSize = function (w, h) {
var _local1 = this;
super.setSize(w, h);
_local1.highlight_mc.onRollOver = function () {
this.controller.controller.selectionHandler(this.controller.itemNum);
};
};
#endinitclip
Symbol 147 MovieClip [FComboBoxSymbol] Frame 1
#initclip 10
function FComboBoxClass() {
var _local1 = this;
_global._popUpLevel = ((_global._popUpLevel == undefined) ? 20000 : (_global._popUpLevel + 1));
_local1.superHolder = _root.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
var _local3 = _local1.superHolder.createEmptyMovieClip("testCont", 20000);
var testBox = _local3.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
if (testBox._name == undefined) {
_local1.superHolder.removeMovieClip();
_local1.superHolder = _local1._parent.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
} else {
_local3.removeMovieClip();
}
if (_local1.rowCount == undefined) {
_local1.rowCount = 8;
_local1.editable = false;
}
_local1.itemSymbol = "FComboBoxItemSymbol";
_local1.init();
_local1.permaScrollBar = false;
_local1.proxyBox_mc.gotoAndStop(1);
_local1.width = _local1._width;
_local1.height = (_local1.proxyBox_mc._height * _local1._yscale) / 100;
var _local2 = 0;
while (_local2 < _local1.labels.length) {
_local1.addItem(_local1.labels[_local2], _local1.data[_local2]);
_local2++;
}
_local1.lastSelected = 0;
_local1.selectItem(0);
_local1._xscale = (_local1._yscale = 100);
_local1.opened = false;
_local1.setSize(_local1.width);
_local1.highlightTop(false);
if (_local1.changeHandler.length > 0) {
_local1.setChangeHandler(_local1.changeHandler);
}
_local1.onUnload = function () {
this.superHolder.removeMovieClip();
};
_local1.setSelectedIndex(0, false);
_local1.value = "";
_local1.focusEnabled = true;
_local1.changeFlag = false;
}
FComboBoxClass.prototype = new FScrollSelectListClass();
Object.registerClass("FComboBoxSymbol", FComboBoxClass);
FComboBoxClass.prototype.modelChanged = function (eventObj) {
var _local1 = this;
super.modelChanged(eventObj);
var _local2 = eventObj.event;
if ((_local2 == "addRows") || (_local2 == "deleteRows")) {
var diff = ((eventObj.lastRow - eventObj.firstRow) + 1);
var mode = ((_local2 == "addRows") ? 1 : -1);
var _local3 = _local1.getLength();
var lenBefore = (_local3 - (mode * diff));
if ((_local1.rowCount > lenBefore) || (_local1.rowCount > _local3)) {
_local1.invalidate("setSize");
}
if (_local1.getSelectedIndex() == undefined) {
_local1.setSelectedIndex(0, false);
}
} else if (_local2 == "updateAll") {
_local1.invalidate("setSize");
}
};
FComboBoxClass.prototype.removeAll = function () {
var _local1 = this;
if (!_local1.enable) {
} else {
super.removeAll();
if (_local1.editable) {
_local1.value = "";
}
_local1.invalidate("setSize");
}
};
FComboBoxClass.prototype.setSize = function (w) {
var _local1 = this;
var _local2 = w;
if ((((_local2 == undefined) || (typeof(_local2) != "number")) || (_local2 <= 0)) || (!_local1.enable)) {
} else {
_local1.proxyBox_mc._width = _local2;
_local1.container_mc.removeMovieClip();
_local1.measureItmHgt();
_local1.container_mc = _local1.superHolder.createEmptyMovieClip("container", 3);
_local1.container_mc.tabChildren = false;
_local1.setPopUpLocation(_local1.container_mc);
_local1.container_mc.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
_local1.boundingBox_mc = _local1.container_mc.boundingBox_mc;
_local1.boundingBox_mc.component = _local1;
_local1.registerSkinElement(_local1.boundingBox_mc.boundingBox, "background");
_local1.proxyBox_mc._height = _local1.itmHgt;
_local1.numDisplayed = Math.min(_local1.rowCount, _local1.getLength());
if (_local1.numDisplayed < 3) {
_local1.numDisplayed = Math.min(3, _local1.getLength());
}
_local1.height = (_local1.numDisplayed * (_local1.itmHgt - 2)) + 2;
super.setSize(_local2, _local1.height);
_local1.attachMovie("DownArrow", "downArrow", 10);
_local1.downArrow._y = 0;
_local1.downArrow._width = _local1.itmHgt;
_local1.downArrow._height = _local1.itmHgt;
_local1.downArrow._x = _local1.proxyBox_mc._width - _local1.downArrow._width;
_local1.setEditable(_local1.editable);
_local1.container_mc._visible = _local1.opened;
_local1.highlightTop(false);
_local1.fader = _local1.superHolder.attachMovie("FBoundingBoxSymbol", "faderX", 4);
_local1.registerSkinElement(_local1.fader.boundingBox, "background");
_local1.fader._width = _local1.width;
_local1.fader._height = _local1.height;
_local1.fader._visible = false;
}
};
FComboBoxClass.prototype.setDataProvider = function (dp) {
super.setDataProvider(dp);
this.invalidate("setSize");
this.setSelectedIndex(0);
};
FComboBoxClass.prototype.getValue = function () {
if (this.editable) {
return(this.fLabel_mc.getLabel());
}
return(super.getValue());
};
FComboBoxClass.prototype.getRowCount = function () {
return(this.rowCount);
};
FComboBoxClass.prototype.setRowCount = function (count) {
var _local1 = this;
var _local3 = count;
_local1.rowCount = ((_local1.getLength() > _local3) ? (Math.max(_local3, 3)) : (_local3));
_local1.setSize(_local1.width);
var _local2 = _local1.getLength();
if ((_local2 - _local1.getScrollPosition()) < _local1.rowCount) {
_local1.setScrollPosition(_local2 - Math.min(_local1.rowCount, _local2));
_local1.invalidate("updateControl");
}
};
FComboBoxClass.prototype.setEditable = function (editableFlag) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.editable = editableFlag;
if (!_local1.editable) {
_local1.onPress = _local1.pressHandler;
_local1.useHandCursor = false;
_local1.trackAsMenu = true;
_local1.attachMovie("FComboBoxItemSymbol", "fLabel_mc", 5, {controller:_local1, itemNum:-1});
_local1.fLabel_mc.onRollOver = undefined;
_local1.fLabel_mc.setSize((_local1.width - _local1.itmHgt) + 1, _local1.itmHgt);
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
_local1.highlightTop(false);
} else {
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 5);
_local1.fLabel_txt = _local1.fLabel_mc.labelField;
_local1.fLabel_txt.type = "input";
_local1.fLabel_txt._x = 4;
_local1.fLabel_txt.onSetFocus = _local1.onLabelFocus;
_local1.fLabel_mc.setSize((_local1.width - _local1.itmHgt) - 3);
delete _local1.onPress;
_local1.fLabel_txt.onKillFocus = function () {
this._parent._parent.myOnKillFocus();
};
_local1.fLabel_mc.setLabel(_local1.value);
_local1.fLabel_txt.onChanged = function () {
this._parent._parent.findInputText();
};
_local1.downArrow.onPress = _local1.buttonPressHandler;
_local1.downArrow.useHandCursor = false;
_local1.downArrow.trackAsMenu = true;
}
}
};
FComboBoxClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
_local2 = (((_local2 == undefined) || (typeof(_local2) != "boolean")) ? true : (_local2));
super.setEnabled(_local2);
_local1.registerSkinElement(_local1.boundingBox_mc.boundingBox, "background");
_local1.proxyBox_mc.gotoAndStop((_local1.enable ? "enabled" : "disabled"));
_local1.downArrow.gotoAndStop((_local1.enable ? 1 : 3));
if (_local1.editable) {
_local1.fLabel_txt.type = (_local2 ? "input" : "dynamic");
_local1.fLabel_txt.selectable = _local2;
} else if (_local2) {
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
_local1.setSelectedIndex(_local1.getSelectedIndex(), false);
}
_local1.fLabel_mc.setEnabled(_local1.enable);
_local1.fLabel_txt.onSetFocus = (_local2 ? (_local1.onLabelFocus) : undefined);
};
FComboBoxClass.prototype.setSelectedIndex = function (index, flag) {
var _local1 = this;
super.setSelectedIndex(index, flag);
if (!_local1.editable) {
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
} else {
_local1.value = ((flag != undefined) ? "" : (_local1.getSelectedItem().label));
_local1.fLabel_mc.setLabel(_local1.value);
}
_local1.invalidate("updateControl");
};
FComboBoxClass.prototype.setValue = function (value) {
var _local1 = this;
if (_local1.editable) {
_local1.fLabel_mc.setLabel(value);
_local1.value = value;
}
};
FComboBoxClass.prototype.pressHandler = function () {
var _local1 = this;
_local1.focusRect.removeMovieClip();
if (_local1.enable) {
if (!_local1.opened) {
_local1.onMouseUp = _local1.releaseHandler;
} else {
_local1.onMouseUp = undefined;
}
_local1.changeFlag = false;
if (!_local1.focused) {
_local1.pressFocus();
_local1.clickFilter = (_local1.editable ? false : true);
}
if (!_local1.clickFilter) {
_local1.openOrClose(!_local1.opened);
} else {
_local1.clickFilter = false;
}
}
};
FComboBoxClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
if (!_local1.focused) {
if (_local1.editable) {
_local1.fLabel_txt.onKillFocus = undefined;
}
_local1.pressFocus();
}
super.clickHandler(itmNum);
_local1.selectionHandler(itmNum);
_local1.onMouseUp = _local1.releaseHandler;
};
FComboBoxClass.prototype.highlightTop = function (flag) {
var _local1 = this;
if (!_local1.editable) {
_local1.fLabel_mc.drawItem(_local1.topLabel, flag);
}
};
FComboBoxClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
this.fLabel_mc.highlight_mc.gotoAndStop("enabled");
this.highlightTop(true);
};
FComboBoxClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1._height + 4);
};
FComboBoxClass.prototype.myOnKillFocus = function () {
var _local1 = this;
if (Selection.getFocus().indexOf("labelField") != -1) {
} else {
super.myOnKillFocus();
delete _local1.fLabel_txt.onKeyDown;
_local1.openOrClose(false);
_local1.highlightTop(false);
}
};
FComboBoxClass.prototype.setPopUpLocation = function (mcRef) {
var _local1 = this;
var _local3 = mcRef;
_local3._x = _local1._x;
var _local2 = {x:_local1._x, y:_local1._y + _local1.proxyBox_mc._height};
_local1._parent.localToGlobal(_local2);
_local3._parent.globalToLocal(_local2);
_local3._x = _local2.x;
_local3._y = _local2.y;
if ((_local1.height + _local3._y) >= Stage.height) {
_local1.upward = true;
_local3._y = (_local2.y - _local1.height) - _local1.proxyBox_mc._height;
} else {
_local1.upward = false;
}
};
FComboBoxClass.prototype.openOrClose = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.getLength() == 0) {
} else {
_local1.setPopUpLocation(_local1.container_mc);
if ((_local1.lastSelected != -1) && ((_local1.lastSelected < _local1.topDisplayed) || (_local1.lastSelected > (_local1.topDisplayed + _local1.numDisplayed)))) {
super.moveSelBy(_local1.lastSelected - _local1.getSelectedIndex());
}
if (!_local2) {
(_local1.downArrow.gotoAndStop(1));// not popped
} else {
(_local1.downArrow.gotoAndStop(2));// not popped
}
if (_local2 == _local1.opened) {
} else {
_local1.highlightTop(!_local2);
_local1.fadeRate = _local1.styleTable.popUpFade.value;
if (((!_local2) || (_local1.fadeRate == undefined)) || (_local1.fadeRate == 0)) {
_local1.opened = (_local1.container_mc._visible = _local2);
} else {
_local1.setPopUpLocation(_local1.fader);
_local1.time = 0;
_local1.const = 85 / Math.sqrt(_local1.fadeRate);
_local1.fader._alpha = 85;
_local1.container_mc._visible = (_local1.fader._visible = true);
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.fader._alpha = 100 - ((_local1.const * Math.sqrt(++_local1.time)) + 15);
if (_local1.time >= _local1.fadeRate) {
_local1.fader._visible = false;
delete _local1.onEnterFrame;
_local1.opened = true;
}
};
}
}
}
};
FComboBoxClass.prototype.fireChange = function () {
var _local1 = this;
_local1.lastSelected = _local1.getSelectedIndex();
if (!_local1.editable) {
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, true);
} else {
_local1.value = _local1.getSelectedItem().label;
_local1.fLabel_mc.setLabel(_local1.value);
}
_local1.executeCallback();
};
FComboBoxClass.prototype.releaseHandler = function () {
var _local1 = this;
var _local2 = _root;
var _local3 = _local1.boundingBox_mc.hitTest(_local2._xmouse, _local2._ymouse);
if (_local1.changeFlag) {
if (_local3) {
_local1.fireChange();
}
_local1.openOrClose(!_local1.opened);
} else if (_local3) {
_local1.openOrClose(false);
} else {
_local1.onMouseDown = function () {
var _local1 = this;
var _local2 = _root;
if ((!_local1.boundingBox_mc.hitTest(_local2._xmouse, _local2._ymouse)) && (!_local1.hitTest(_local2._xmouse, _local2._ymouse))) {
_local1.onMouseDown = undefined;
_local1.openOrClose(false);
}
};
}
_local1.changeFlag = false;
_local1.onMouseUp = undefined;
clearInterval(_local1.dragScrolling);
_local1.dragScrolling = undefined;
};
FComboBoxClass.prototype.moveSelBy = function (itemNum) {
var _local1 = this;
if (itemNum != 0) {
super.moveSelBy(itemNum);
if (_local1.editable) {
_local1.setValue(_local1.getSelectedItem().label);
}
if (!_local1.opened) {
if (_local1.changeFlag && (!_local1.isSelected(_local1.lastSelected))) {
_local1.fireChange();
}
}
}
};
FComboBoxClass.prototype.myOnKeyDown = function () {
var _local1 = this;
if (!_local1.focused) {
} else {
if (_local1.editable && (Key.isDown(13))) {
_local1.setValue(_local1.fLabel_mc.getLabel());
_local1.executeCallback();
_local1.openOrClose(false);
} else if ((Key.isDown(13) || (Key.isDown(32) && (!_local1.editable))) && (_local1.opened)) {
if (_local1.getSelectedIndex() != _local1.lastSelected) {
_local1.fireChange();
}
_local1.openOrClose(false);
_local1.fLabel_txt.hscroll = 0;
}
super.myOnKeyDown();
}
};
FComboBoxClass.prototype.findInputText = function () {
if (!this.editable) {
super.findInputText();
}
};
FComboBoxClass.prototype.onLabelFocus = function () {
var _local1 = this;
_local1._parent._parent.tabFocused = false;
_local1._parent._parent.focused = true;
_local1.onKeyDown = function () {
this._parent._parent.myOnKeyDown();
};
Key.addListener(_local1);
};
FComboBoxClass.prototype.buttonPressHandler = function () {
this._parent.pressHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 143 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 147 MovieClip [FComboBoxSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 171 MovieClip "slider" in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x - this._width;
startPos = this._x;
var done = 0;
}
onClipEvent (enterFrame) {
total = _root.getBytesTotal();
sofar = _root.getBytesLoaded();
percent = Math.floor((sofar / total) * 100);
this._x = startPos + (percent * 4);
if ((percent == 100) and (done == 0)) {
_root.gotoAndStop("home");
done = 1;
}
}
Instance of Symbol 180 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
ini = random(150) + 2;
i = 1;
while (i < 3) {
este = this["auge" + i];
este.x = este._x;
este.y = este._y;
e = 0.025;
este.gotoAndPlay(ini);
i++;
}
}
onClipEvent (enterFrame) {
i = 1;
while (i <= 3) {
porXmouse = int((_xmouse * 100) / 150);
porYmouse = int((_ymouse * 100) / 150);
porXmouse = ((porXmouse > 100) ? 100 : (porXmouse));
porXmouse = ((porXmouse < -100) ? -100 : (porXmouse));
porYmouse = ((porYmouse > 100) ? 100 : (porYmouse));
este = this["auge" + i];
este._x = este.x + (porXmouse * e);
este._y = este.y + (porYmouse * e);
s = ((i == 1) ? -1 : 1);
porYmouse = ((porYmouse > 0) ? (-porYmouse) : (porYmouse));
este._xscale = 100 - (((porXmouse * e) * 4) * s);
este._yscale = 100 - (((porXmouse * e) * 2) * s);
i++;
}
}
Symbol 209 MovieClip Frame 3
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 211 MovieClip Frame 2
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 213 MovieClip Frame 8
gotoAndPlay ("start");
Instance of Symbol 180 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
ini = random(150) + 2;
i = 1;
while (i < 3) {
este = this["auge" + i];
este.x = este._x;
este.y = este._y;
e = 0.025;
este.gotoAndPlay(ini);
i++;
}
}
onClipEvent (enterFrame) {
i = 1;
while (i <= 3) {
porXmouse = int((_xmouse * 100) / 150);
porYmouse = int((_ymouse * 100) / 150);
porXmouse = ((porXmouse > 100) ? 100 : (porXmouse));
porXmouse = ((porXmouse < -100) ? -100 : (porXmouse));
porYmouse = ((porYmouse > 100) ? 100 : (porYmouse));
este = this["auge" + i];
este._x = este.x + (porXmouse * e);
este._y = este.y + (porYmouse * e);
s = ((i == 1) ? -1 : 1);
porYmouse = ((porYmouse > 0) ? (-porYmouse) : (porYmouse));
este._xscale = 100 - (((porXmouse * e) * 4) * s);
este._yscale = 100 - (((porXmouse * e) * 2) * s);
i++;
}
}
Symbol 224 Button
on (release) {
_root.gotoAndStop("home");
}
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 10
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 7
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 7
stop();
Symbol 240 Button
on (rollOver) {
playgame.gotoAndPlay("in");
}
on (rollOut, dragOut) {
playgame.gotoAndPlay("out");
}
on (release) {
flashaction = "universal.schnappi.playgame.InternalClick";
loadMovieNum ((((("http://server-uk.imrworldwide.com/cgi-bin/count?cid=" add CID) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
gotoAndStop ("scoring");
}
Symbol 241 Button
on (rollOver) {
instruct.gotoAndPlay("in");
}
on (rollOut, dragOut) {
instruct.gotoAndPlay("out");
}
on (release) {
gotoAndStop ("instructions");
}
Symbol 242 Button
on (rollOver) {
highscore.gotoAndPlay("in");
}
on (rollOut, dragOut) {
highscore.gotoAndPlay("out");
}
on (release) {
_root.gotoAndStop("finish");
_root.finish.gotoAndStop("getscore");
_root.hstfromstart = 1;
}
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 4
gotoAndPlay ("in");
Symbol 247 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 1
hornetflying.wings.gotoAndStop(1);
stop();
Symbol 248 MovieClip Frame 2
hornetflying.wings.gotoAndPlay("in");
Symbol 248 MovieClip Frame 15
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 267 Button
on (rollOver) {
horneta.gotoAndPlay("in");
info.gotoAndPlay("in");
}
on (rollOut, dragOut) {
horneta.gotoAndPlay("out");
}
on (release) {
gotoAndStop ("info");
}
Symbol 268 Button
on (rollOver) {
hornetb.gotoAndPlay("in");
signup.gotoAndPlay("in");
}
on (rollOut, dragOut) {
hornetb.gotoAndPlay("out");
}
on (release) {
gotoAndStop ("signup");
}
Symbol 269 Button
on (rollOver) {
hornetc.gotoAndPlay("in");
maila.gotoAndPlay("in");
}
on (rollOut, dragOut) {
hornetc.gotoAndPlay("out");
}
on (release) {
gotoAndStop ("email");
}
Symbol 270 Button
on (rollOver) {
hornetd.gotoAndPlay("in");
download.gotoAndPlay("in");
}
on (rollOut, dragOut) {
hornetd.gotoAndPlay("out");
}
on (release) {
getURL ("http://www.7digital.com/downloads/snappy/default.asp?partner=0", "_blank");
}
Symbol 271 Button
on (rollOver) {
hornetm.gotoAndPlay("in");
mobile.gotoAndPlay("in");
}
on (rollOut, dragOut) {
hornetm.gotoAndPlay("out");
}
on (release) {
gotoAndStop ("mobile");
}
Symbol 272 Button
on (rollOver) {
hornets.gotoAndPlay("in");
signup2.gotoAndPlay("in");
}
on (rollOut, dragOut) {
hornets.gotoAndPlay("out");
}
on (release) {
gotoAndStop ("signup");
}
Symbol 280 Button
on (release) {
gotoAndStop ("off");
_root.mute = true;
_parent.s.setVolume(0);
}
Symbol 284 Button
on (release) {
gotoAndStop ("on");
_root.mute = false;
_parent.s.setVolume(100);
}
Symbol 285 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 1
lifebonus = (4 - _root.varLives) * 10;
finalScore = _root.varScore;
_root.varScore2 = 0;
Symbol 286 MovieClip Frame 5
if (_root.varScore2 != finalScore) {
_root.varScore2++;
gotoAndPlay (2);
} else {
stop();
}
Symbol 292 MovieClip Frame 5
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 295 MovieClip Frame 3
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 300 MovieClip Frame 22
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay ("loop");
}
Symbol 304 MovieClip Frame 3
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 305 MovieClip Frame 3
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 319 MovieClip Frame 9
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 320 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 100
_root.gotoAndPlay("level1");
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 65
_root.bgmc._x = 550;
_root.stage._x = 0;
_root.hero._x = 80;
_root.hero._y = 80;
_root.gotoAndPlay("level" + _root.level);
gotoAndPlay (1);
Symbol 341 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 3
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 347 MovieClip Frame 4
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 349 MovieClip Frame 5
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 349 MovieClip Frame 10
_parent.snakebody.gotoAndPlay("start");
Symbol 358 MovieClip Frame 16
con = "die";
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 5
if (Math.floor(Math.random() * 30) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 372 MovieClip Frame 5
if (Math.floor(Math.random() * 25) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 377 MovieClip Frame 3
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 379 MovieClip Frame 3
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 382 MovieClip Frame 3
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 386 MovieClip Frame 4
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 388 MovieClip Frame 1
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 389 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 90
lama.tail.gotoAndPlay("start");
Symbol 405 MovieClip Frame 2
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 406 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 3
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
stop();
Symbol 432 MovieClip Frame 3
gotoAndStop ("jump");
Symbol 432 MovieClip Frame 4
play();
Symbol 432 MovieClip Frame 13
_root.varSnap = 0;
this.con = "ground";
gotoAndStop ("normal");
Symbol 432 MovieClip Frame 14
play();
Symbol 432 MovieClip Frame 26
con = "die";
stop();
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 3
gotoAndStop (1);
Symbol 438 MovieClip Frame 6
gotoAndStop (1);
Symbol 438 MovieClip Frame 9
gotoAndStop (1);
Symbol 439 MovieClip Frame 8
gotoAndPlay ("start");
Symbol 439 MovieClip Frame 9
_root.varScore = _root.varScore + 2;
stop();
Symbol 446 MovieClip Frame 41
stop();
Symbol 457 MovieClip Frame 8
stop();
Symbol 458 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 2
stop();
Symbol 458 MovieClip Frame 3
stop();
Symbol 458 MovieClip Frame 4
stop();
Symbol 458 MovieClip Frame 5
stop();
Symbol 458 MovieClip Frame 6
_root.ending = "failed";
_root.gotoAndStop("finish");
Symbol 458 MovieClip Frame 82
stop();
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 23
stop();
Symbol 498 MovieClip Frame 3
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 500 MovieClip Frame 3
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 502 MovieClip Frame 1
_parent.hipposhadow.gotoAndPlay("in");
Symbol 502 MovieClip Frame 25
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay ("loop");
}
Symbol 502 MovieClip Frame 27
_parent.hipposhadow.gotoAndPlay("out");
Symbol 526 MovieClip Frame 5
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 530 MovieClip Frame 4
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 532 MovieClip Frame 4
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 536 MovieClip Frame 4
if (Math.floor(Math.random() * 15) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 541 MovieClip Frame 18
con = "die";
stop();
Symbol 544 MovieClip Frame 40
stop();
Symbol 555 MovieClip Frame 3
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 555 MovieClip Frame 15
_parent.rabbithead.gotoAndPlay("in");
Symbol 555 MovieClip Frame 43
_parent.rabbithead.gotoAndPlay("out");
Symbol 559 MovieClip Frame 3
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 562 MovieClip Frame 3
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 564 MovieClip Frame 3
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start1");
} else {
gotoAndPlay (1);
}
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 7
stop();
Symbol 577 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 5
if (Math.floor(Math.random() * 20) == 1) {
gotoAndPlay ("start");
} else {
gotoAndPlay (1);
}
Symbol 580 MovieClip Frame 10
_parent.snakebody.gotoAndPlay("start");
Symbol 584 MovieClip Frame 13
con = "die";
stop();
Symbol 587 MovieClip Frame 40
stop();
Symbol 605 MovieClip Frame 40
stop();
Symbol 618 MovieClip Frame 96
stop();
Symbol 624 Button
on (release) {
play();
}
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 7
stop();
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 7
stop();
Symbol 631 Button
on (rollOver) {
highmc.gotoAndPlay("in");
}
on (rollOut, dragOut) {
highmc.gotoAndPlay("out");
}
on (release) {
gotoAndStop ("enterscore");
}
Symbol 632 Button
on (rollOver) {
challenge.gotoAndPlay("in");
}
on (rollOut, dragOut) {
challenge.gotoAndPlay("out");
}
on (release) {
_root.gotoAndStop("email");
}
Symbol 640 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 10
stop();
Symbol 641 Button
on (rollOver) {
sub.gotoAndPlay("in");
}
on (rollOut, dragOut) {
sub.gotoAndPlay("out");
}
Symbol 648 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 2
stop();
Symbol 648 MovieClip Frame 3
gotoAndStop (1);
Symbol 655 Button
on (release) {
if (optin1 == "0") {
optin1 = "1";
} else {
optin1 = "0";
}
opt.nextFrame();
}
Symbol 658 MovieClip Frame 61
_parent.gotoAndStop(1);
Symbol 659 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 1
if (_root.ending == "failed") {
endgame = "Bad luck,You didn't quite make it to the end. Why not try again!";
play();
} else if (_root.ending == "success") {
endgame = "Well done, You got Schnappi safely through all levels.";
gotoAndPlay ("winner");
} else {
play();
}
Symbol 664 MovieClip Frame 2
_root.ending = "";
Symbol 664 MovieClip Frame 121
gotoAndStop ("choose");
Symbol 664 MovieClip Frame 123
_quality = "high";
Symbol 664 MovieClip Frame 154
stop();
Symbol 664 MovieClip Frame 155
stop();
Symbol 664 MovieClip Frame 156
highScoresText = "Getting High Scores...";
rn = Math.round(Math.random() * 1000000);
loadVariables ("http://www.hyperlaunch.com/cgi-bin/schnappi/getscores.pl?reload=" + rn, this);
stop();
Symbol 664 MovieClip Frame 157
stop();
_global.PHPObject = function () {
var _local1 = this;
_local1._data = [];
_local1.init.apply(_local1, arguments);
};
PHPObject.prototype = new Object();
PHPObject.prototype.init = function () {
var _local1 = this;
var _local2 = arguments;
_local1._loader = new PHPLoader();
_local1._data = [0, "", [], [], ((_local1._data[4] == undefined) ? "" : (_local1._data[4]))];
if (_local2) {
svc = _local2[0].toString();
if ((svc.indexOf("http://") != -1) || (svc.indexOf("https://") != -1)) {
_local1._data[1] = "WebServiceProxy";
_local1.wsdlLoc = svc;
_local1.params = [];
} else {
_local1._data[1] = svc;
if (_local2[1].length) {
_local1._loader.gateway = _local2[1].toString();
}
if (_local2[2]) {
_local1._data[7] = 1;
}
if (_local2[3].length) {
_local1._data[8] = _local2[3];
}
}
if (_local1._data[1] != undefined) {
_local1[_local1._data[1]]();
}
}
};
PHPObject.prototype.onAbort = function () {
};
PHPObject.prototype.onError = function (error) {
trace(error);
};
PHPObject.prototype.onInit = function () {
};
PHPObject.prototype.onResult = function () {
};
PHPObject.prototype.abortExecute = function () {
var _local1 = this;
if (_local1._loader.isBusy) {
_local1._loader.id++;
_local1._loader.isBusy = false;
_local1._loader.refObj.onAbort();
}
};
PHPObject.prototype.delayExecute = function () {
this._loader.delay = true;
};
PHPObject.prototype.execute = function () {
var _local1 = this;
if (_local1._loader.delay == true) {
_local1._loader.delay = false;
_local1.__connect(_local1._data[2][_local1._data[2].length - 1]);
}
};
PHPObject.prototype.getBytesLoaded = function () {
if (this._loader.isBusy) {
return(this._loader.getBytesLoaded());
}
return(false);
};
PHPObject.prototype.getBytesTotal = function () {
if (this._loader.isBusy) {
return(this._loader.getBytesTotal());
}
return(false);
};
PHPObject.prototype.getOutput = function () {
return(this._loader.output);
};
PHPObject.prototype.setCredentials = function () {
this._data[5] = arguments;
};
PHPObject.prototype.setDefaultGatewayKey = function (key) {
_global.defaultGatewayKey = key;
};
PHPObject.prototype.setDefaultGatewayUrl = function (url) {
_global.defaultGatewayUrl = url;
};
PHPObject.prototype.setGateway = function (url) {
this._loader.gateway = url;
};
PHPObject.prototype.setKey = function (key) {
this._data[4] = key;
};
PHPObject.prototype.setService = function (svc) {
this._data[1] = svc;
};
PHPObject.prototype.utf8encode = function (flag) {
this._data[6] = flag;
};
PHPObject.prototype.__resolve = function (method) {
var _local1 = this;
var _local2 = arguments;
if (method.indexOf("_onResult") != -1) {
return(_local1.onResult(_local1._loader.serverResult));
}
if (method.indexOf("_onError") != -1) {
return(_local1.onResult(_local1._loader.serverResult));
}
var methodExists = true;
if (((typeof(method) != "number") && (_local1._loader.classMethods[_local1._data[1]])) && (_local1._data[1] != "WebServiceProxy")) {
if (_local1._loader.classMethods[method.toLowerCase()] == undefined) {
methodExists = false;
}
}
if (methodExists) {
return(function () {
var _local1 = arguments;
var _local2 = this;
if ((!_local2._loader.isBusy) || (_local2._loader.delay)) {
if (((_local2._data[1] == "WebServiceProxy") && (method != "call")) && (method != "WebServiceProxy")) {
var operation = method;
var _local3 = [];
var x = _local1.length;
i = 0;
while (i < x) {
_local3[_local1[i]] = _local1[i + 1];
i = i + 2;
}
return(_local2.call(operation, _local3));
}
if ((method != undefined) && (method != _local2._data[1])) {
var m = (((typeof(method) == "number") || (!_local2._loader.classMethods[_local2._data[1]])) ? (method) : (_local2._loader.classMethods[method]));
_local2._data[2].push(m);
_local2._data[3].push(_local1);
}
if (_local2._loader.delay) {
return(true);
}
_local2.__connect(method);
}
return(false);
});
}
_local1.onError(("Error - Method " + method) + " does not exist");
return(undefined);
};
PHPObject.prototype.__connect = function (method) {
var _local1 = this;
var _local2 = method;
_local1._loader.gateway = ((_local1._loader.gateway == "") ? (_global.defaultGatewayUrl) : (_local1._loader.gateway));
if (_local1._loader.gateway.length) {
_local1._loader.refObj = _local1;
_local1._data[4] = ((_local1._data[4] == "") ? (_global.defaultGatewayKey) : (_local1._data[4]));
_local1._data[0] = _local1._loader.id;
var obj = _local1._loader._pack(_local1);
_local1._loader._send(obj, _local2);
_local1._data[2] = [];
_local1._data[3] = [];
if (typeof(_local2) == "number") {
for (var _local3 in _local1._loader.classMethods) {
if (_local1._loader.classMethods[_local3] == _local2) {
_local2 = _local3;
break;
}
}
}
_local1._loader.lastMethod = _local2;
return(true);
}
return(undefined);
};
_global.PHPLoader = function () {
this.init();
};
PHPLoader.prototype = new LoadVars();
PHPLoader.prototype.init = function () {
var _local1 = this;
_local1.classMethods = [];
_local1.delay = false;
_local1.gateway = "";
_local1.id = 0;
_local1.isBusy = false;
_local1.refObj = "";
};
PHPLoader.prototype.onData = function (src) {
var _local2 = src;
var _local1 = _local2.substr(0, _local2.indexOf("O"));
if ((_local1 == this.id) || (_local1 == 0)) {
this._parse(_local2.substr(_local1.length), _local1);
}
};
PHPLoader.prototype._parse = function (src, id) {
var _local1 = this;
var _local2 = src;
_global.dlSize = _local2.length;
_local1.isBusy = false;
_local2 = Serializer.unserialize(_local2);
_local1._unpack(_local2, _local1.refObj);
if (_local1.serverError.length) {
_local1.refObj.onError(_local1.serverError);
} else if (id == 0) {
_local1.refObj.onInit();
} else {
_local1.refObj[_local1.lastMethod + "_onResult"](_local1.serverResult);
}
};
PHPLoader.prototype._unpack = function (src, dest) {
var _local1 = dest;
var _local2 = src;
for (var i in _local2) {
if (i == "_loader") {
for (var _local3 in _local2[i]) {
_local1[i][_local3] = _local2[i][_local3];
if (_local3 == "classMethods") {
_local1[i][_local3][_local1._data[1]] = true;
}
}
} else {
_local1[i] = _local2[i];
}
}
};
PHPLoader.prototype._pack = function (obj) {
var _local1 = obj;
var _local2 = new Object();
for (var _local3 in _local1) {
if ((_local3 != "_loader") && (typeof(_local1[_local3]) != "function")) {
_local2[_local3] = _local1[_local3];
}
}
return(_local2);
};
PHPLoader.prototype._send = function (obj, methodName) {
var _local1 = this;
s = new XML(Serializer.serialize(obj));
s.contentType = "text/plain";
s.sendAndLoad(_local1.gateway, _local1, "POST");
if (obj._data[1] != methodName) {
_local1.isBusy = true;
} else {
_local1.id++;
}
_global.ulSize = s.toString().length;
};
_global.Serializer = function () {
};
Serializer.prototype.unserialize = function ($string, debug) {
return(this.$_getValue($string)[0]);
};
Serializer.prototype.$_getNext = function ($string) {
var _local1 = $string;
var _local2;
var _local3;
_local2 = this.$_getValue(_local1);
_local1 = _local2[1];
_local3 = this.$_getValue(_local1);
_local1 = _local3[1];
return([_local2[0], _local3[0], _local1]);
};
Serializer.prototype.$_getValue = function ($string) {
var _local1 = $string;
var type;
var _local3;
var a;
var b;
type = _local1.charAt(0);
switch (type) {
case "s" :
_local3 = _local1.substr(2, _local1.indexOf(":", 3) - 2) * 1;
a = _local1.substr(length(_local3) + 4, _local3).toString();
a = unescape(a);
break;
case "i" :
_local3 = _local1.substr(2, _local1.indexOf(";", 3) - 2) * 1;
a = parseInt(_local3);
break;
case "d" :
_local3 = _local1.substr(2, _local1.indexOf(";", 3) - 2) * 1;
a = parseFloat(_local3);
break;
case "b" :
_local3 = _local1.substr(2, _local1.indexOf(";", 3) - 2) * 1;
a = (((_local3 == "true") || (_local3 == "1")) ? true : false);
break;
case "a" :
case "O" :
var delim1 = (_local1.indexOf(":", _local1.indexOf(":") + 1) + 2);
_local3 = _local1.substr(2, _local1.indexOf(":", 3) - 2) * 1;
if (type == "a") {
a = new Array();
_local1 = _local1.substr(_local1.indexOf(_local3));
} else {
a = new Object();
_local1 = _local1.substr((length(_local1.substr(length(_local3) + 4, _local3)) + _local1.indexOf(_local1.substr(length(_local3) + 4, _local3))) + 2);
}
var objectLength = (_local1.substr(0, _local1.indexOf(":")) * 1);
var counter = 0;
_local1 = _local1.substr(_local1.indexOf(":") + 2);
while (counter < objectLength) {
var _local2 = this.$_getNext(_local1);
_local1 = _local2[2];
a[_local2[0]] = _local2[1];
counter++;
}
return([a, _local1.substr(_local1.indexOf("}") + 1)]);
case "N" :
a = null;
_local3 = "";
_local1 = _local1.substr(1);
}
if (type != "s") {
_local3 = length(_local3);
}
_local1 = _local1.substr(_local1.indexOf(";", _local3) + 1);
return([a, _local1]);
};
Serializer.prototype.serialize = function (v) {
return(escape(this.$_parseValue(v)));
};
Serializer.prototype.$_parseValue = function (v) {
var _local1 = v;
switch (_local1.__proto__) {
case Array.prototype :
case Object.prototype :
case MovieClip.prototype :
var counter = 0;
var arrayValue = "";
for (var a in _local1) {
if (_local1[a].__proto__ != Function.prototype) {
var _local2 = this.$_parseValue(a);
var _local3 = this.$_parseValue(_local1[a]);
arrayValue = arrayValue + (_local2 add _local3);
counter++;
}
}
if (_local1.__proto__ == Array.prototype) {
return(((("a:" + counter) + ":{") + arrayValue) + "}");
}
return(((("O:8:\"stdClass\":" + counter) + ":{") + arrayValue) + "}");
case String.prototype :
if (this.enableMultiByte) {
_local1 = escape(_local1);
}
case undefined :
case Date.prototype :
return(((("s:" + length(_local1)) + ":\"") + _local1) + "\";");
case Number.prototype :
if (isNaN(_local1)) {
return("N;");
}
_local1 = Number(_local1);
if ((_local1 % 1) == 0) {
return(("i:" + _local1) + ";");
}
return(("d:" + _local1) + ";");
case Boolean.prototype :
return(("b:" + ((_local1 == true) ? 1 : 0)) + ";");
}
return(undefined);
};
_global.Serializer = new Serializer();
_global.defaultGatewayKey = "secret";
_global.defaultGatewayUrl = "http://www.hyperlaunch.com/schnappi/server/gateway.php";
w_obj = new PHPObject("write");
myscore = _root.varScore;
trace(">>>>>>>>>>>>>");
send_btn.onPress = function () {
trace("PRESSED");
if ((myname == undefined) or (myname == "")) {
errormessage.gotoAndStop("firstname");
} else if ((myemail == undefined) or (myemail == "")) {
errormessage.gotoAndStop("email");
} else if ((myemail != undefined) and (myname != undefined)) {
w_obj.increase(myscore, myname, myemail, myage, mymobile, optin1, optin2);
play();
}
};
Symbol 664 MovieClip Frame 158
play();
Symbol 664 MovieClip Frame 206
gotoAndPlay ("getscore");
Symbol 665 Button
on (rollOver) {
highscore.gotoAndPlay("in");
}
on (rollOut, dragOut) {
highscore.gotoAndPlay("out");
}
on (release) {
_root.gotoAndStop("finish");
_root.finish.gotoAndStop("getscore");
_root.hstfromstart = 1;
}
Symbol 666 Button
on (rollOver) {
hornetb.gotoAndPlay("in");
signup.gotoAndPlay("in");
}
on (rollOut, dragOut) {
hornetb.gotoAndPlay("out");
}
on (release) {
flashaction = "universal.schnappi.watchvideo.InternalClick";
loadMovieNum ((((("http://server-uk.imrworldwide.com/cgi-bin/count?cid=" add CID) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
gotoAndStop ("signup");
}
Symbol 667 Button
on (rollOver) {
hornetd.gotoAndPlay("in");
download.gotoAndPlay("in");
}
on (rollOut, dragOut) {
hornetd.gotoAndPlay("out");
}
on (release) {
flashaction = "universal.schnappi.getsong.InternalClick";
loadMovieNum ((((("http://server-uk.imrworldwide.com/cgi-bin/count?cid=" add CID) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
getURL ("http://www.7digital.com/downloads/snappy/default.asp?partner=0", "_blank");
}
Symbol 692 Button
on (release) {
getURL ("javascript:function popSite(){newWin = window.open(\"pp.html\",\"PrivacyPolicy\",\"width=540,height=475,scrollbars=1\")} popSite();");
}
Symbol 695 MovieClip Frame 1
stop();
Symbol 695 MovieClip Frame 2
stop();
Symbol 711 Button
on (rollOver) {
sub.gotoAndPlay("in");
}
on (rollOut, dragOut) {
sub.gotoAndPlay("out");
}
on (release) {
onSubmit();
}
Symbol 716 MovieClip Frame 1
stop();
Symbol 716 MovieClip Frame 200
gotoAndStop (1);
Symbol 728 Button
on (release) {
getURL ("http://exodus.interoutemediaservices.com/deliverMedia.asp?id=10d390b6-83fd-4d1f-90bf-b2f0d1866669&delivery=stream", "_blank");
}
Symbol 732 Button
on (release) {
getURL ("http://exodus.interoutemediaservices.com/deliverMedia.asp?id=65a8d3cf-efe6-48d7-808a-e6f802b2ab72&delivery=stream", "_blank");
}
Symbol 733 Button
on (release) {
getURL ("http://exodus.interoutemediaservices.com/deliverMedia.asp?id=66865134-0e58-49cb-b889-d8e3e0291f16&delivery=stream");
}
Symbol 734 Button
on (release) {
getURL ("http://exodus.interoutemediaservices.com/deliverMedia.asp?id=59273b95-4929-4b39-8110-cfc4ddc5307b&delivery=stream");
}
Symbol 737 MovieClip Frame 1
function setdetails() {
countries = new Array();
countries.push(["NIL", "Choose Country"]);
countries.push(["GB", "United Kingdom"]);
countries.push(["IE", "Ireland"]);
countries.push(["FR", "France"]);
countries.push(["ES", "Spain"]);
countries.push(["NL", "Netherlands"]);
countries.push(["IT", "Italy"]);
countries.push(["DE", "Germany"]);
countries.push(["US", "United States"]);
countries.push(["CA", "Canada"]);
countries.push(["--", "---------------------"]);
countries.push(["AF", "Afghanistan"]);
countries.push(["AL", "Albania"]);
countries.push(["DZ", "Algeria"]);
countries.push(["AS", "American Samoa"]);
countries.push(["AD", "Andorra"]);
countries.push(["AO", "Angola"]);
countries.push(["AI", "Anguilla"]);
countries.push(["AQ", "Antarctica"]);
countries.push(["AG", "Antigua And Barbuda"]);
countries.push(["AR", "Argentina"]);
countries.push(["AM", "Armenia"]);
countries.push(["AW", "Aruba"]);
countries.push(["AU", "Australia"]);
countries.push(["AT", "Austria"]);
countries.push(["AZ", "Azerbaijan"]);
countries.push(["BS", "Bahamas"]);
countries.push(["BH", "Bahrain"]);
countries.push(["BD", "Bangladesh"]);
countries.push(["BB", "Barbados"]);
countries.push(["BY", "Belarus"]);
countries.push(["BE", "Belgium"]);
countries.push(["BZ", "Belize"]);
countries.push(["BJ", "Benin"]);
countries.push(["BM", "Bermuda"]);
countries.push(["BT", "Bhutan"]);
countries.push(["BO", "Bolivia"]);
countries.push(["BA", "Bosnia And Herzegowina"]);
countries.push(["BW", "Botswana"]);
countries.push(["BV", "Bouvet Island"]);
countries.push(["BR", "Brazil"]);
countries.push(["IO", "British Indian Ocean Territory"]);
countries.push(["BN", "Brunei Darussalam"]);
countries.push(["BG", "Bulgaria"]);
countries.push(["BF", "Burkina Faso"]);
countries.push(["BI", "Burundi"]);
countries.push(["KH", "Cambodia"]);
countries.push(["CM", "Cameroon"]);
countries.push(["CV", "Cape Verde"]);
countries.push(["KY", "Cayman Islands"]);
countries.push(["CF", "Central African Republic"]);
countries.push(["TD", "Chad"]);
countries.push(["CL", "Chile"]);
countries.push(["CN", "China"]);
countries.push(["CX", "Christmas Island"]);
countries.push(["CC", "Cocos (Keeling) Islands"]);
countries.push(["CO", "Colombia"]);
countries.push(["KM", "Comoros"]);
countries.push(["CG", "Congo"]);
countries.push(["CK", "Cook Islands"]);
countries.push(["CR", "Costa Rica"]);
countries.push(["CI", "Cote D'Ivoire"]);
countries.push(["HR", "Croatia (Local Name: Hrvatska)"]);
countries.push(["CU", "Cuba"]);
countries.push(["CY", "Cyprus"]);
countries.push(["CZ", "Czech Republic"]);
countries.push(["DK", "Denmark"]);
countries.push(["DJ", "Djibouti"]);
countries.push(["DM", "Dominica"]);
countries.push(["DO", "Dominican Republic"]);
countries.push(["TP", "East Timor"]);
countries.push(["EC", "Ecuador"]);
countries.push(["EG", "Egypt"]);
countries.push(["SV", "El Salvador"]);
countries.push(["GQ", "Equatorial Guinea"]);
countries.push(["ER", "Eritrea"]);
countries.push(["EE", "Estonia"]);
countries.push(["ET", "Ethiopia"]);
countries.push(["FK", "Falkland Islands (Malvinas)"]);
countries.push(["FO", "Faroe Islands"]);
countries.push(["FJ", "Fiji"]);
countries.push(["FI", "Finland"]);
countries.push(["GF", "French Guiana"]);
countries.push(["PF", "French Polynesia"]);
countries.push(["TF", "French Southern Territories"]);
countries.push(["GA", "Gabon"]);
countries.push(["GM", "Gambia"]);
countries.push(["GE", "Georgia"]);
countries.push(["GH", "Ghana"]);
countries.push(["GI", "Gibraltar"]);
countries.push(["GR", "Greece"]);
countries.push(["GL", "Greenland"]);
countries.push(["GD", "Grenada"]);
countries.push(["GP", "Guadeloupe"]);
countries.push(["GU", "Guam"]);
countries.push(["GT", "Guatemala"]);
countries.push(["GN", "Guinea"]);
countries.push(["GW", "Guinea-Bissau"]);
countries.push(["GY", "Guyana"]);
countries.push(["HT", "Haiti"]);
countries.push(["HM", "Heard And Mc Donald Islands"]);
countries.push(["VA", "Holy See (Vatican City State)"]);
countries.push(["HN", "Honduras"]);
countries.push(["HK", "Hong Kong"]);
countries.push(["HU", "Hungary"]);
countries.push(["IS", "Icel And"]);
countries.push(["IN", "India"]);
countries.push(["ID", "Indonesia"]);
countries.push(["IR", "Iran (Islamic Republic Of)"]);
countries.push(["IQ", "Iraq"]);
countries.push(["IL", "Israel"]);
countries.push(["JM", "Jamaica"]);
countries.push(["JP", "Japan"]);
countries.push(["JO", "Jordan"]);
countries.push(["KZ", "Kazakhstan"]);
countries.push(["KE", "Kenya"]);
countries.push(["KI", "Kiribati"]);
countries.push(["KP", "Korea, Dem People'S Republic"]);
countries.push(["KR", "Korea, Republic Of"]);
countries.push(["KW", "Kuwait"]);
countries.push(["KG", "Kyrgyzstan"]);
countries.push(["LA", "Lao People'S Dem Republic"]);
countries.push(["LV", "Latvia"]);
countries.push(["LB", "Lebanon"]);
countries.push(["LS", "Lesotho"]);
countries.push(["LR", "Liberia"]);
countries.push(["LY", "Libyan Arab Jamahiriya"]);
countries.push(["LI", "Liechtenstein"]);
countries.push(["LT", "Lithuania"]);
countries.push(["LU", "Luxembourg"]);
countries.push(["MO", "Macau"]);
countries.push(["MK", "Macedonia"]);
countries.push(["MG", "Madagascar"]);
countries.push(["MW", "Malawi"]);
countries.push(["MY", "Malaysia"]);
countries.push(["MV", "Maldives"]);
countries.push(["ML", "Mali"]);
countries.push(["MT", "Malta"]);
countries.push(["MH", "Marshall Islands"]);
countries.push(["MQ", "Martinique"]);
countries.push(["MR", "Mauritania"]);
countries.push(["MU", "Mauritius"]);
countries.push(["YT", "Mayotte"]);
countries.push(["MX", "Mexico"]);
countries.push(["FM", "Micronesia, Federated States"]);
countries.push(["MD", "Moldova, Republic Of"]);
countries.push(["MC", "Monaco"]);
countries.push(["MN", "Mongolia"]);
countries.push(["MS", "Montserrat"]);
countries.push(["MA", "Morocco"]);
countries.push(["MZ", "Mozambique"]);
countries.push(["MM", "Myanmar"]);
countries.push(["NA", "Namibia"]);
countries.push(["NR", "Nauru"]);
countries.push(["NP", "Nepal"]);
countries.push(["AN", "Netherlands Ant Illes"]);
countries.push(["NC", "New Caledonia"]);
countries.push(["NZ", "New Zealand"]);
countries.push(["NI", "Nicaragua"]);
countries.push(["NE", "Niger"]);
countries.push(["NG", "Nigeria"]);
countries.push(["NU", "Niue"]);
countries.push(["NF", "Norfolk Island"]);
countries.push(["MP", "Northern Mariana Islands"]);
countries.push(["NO", "Norway"]);
countries.push(["OM", "Oman"]);
countries.push(["PK", "Pakistan"]);
countries.push(["PW", "Palau"]);
countries.push(["PA", "Panama"]);
countries.push(["PG", "Papua New Guinea"]);
countries.push(["PY", "Paraguay"]);
countries.push(["PE", "Peru"]);
countries.push(["PH", "Philippines"]);
countries.push(["PN", "Pitcairn"]);
countries.push(["PL", "Poland"]);
countries.push(["PT", "Portugal"]);
countries.push(["PR", "Puerto Rico"]);
countries.push(["QA", "Qatar"]);
countries.push(["RE", "Reunion"]);
countries.push(["RO", "Romania"]);
countries.push(["RU", "Russian Federation"]);
countries.push(["RW", "Rwanda"]);
countries.push(["KN", "Saint K Itts And Nevis"]);
countries.push(["LC", "Saint Lucia"]);
countries.push(["VC", "Saint Vincent, The Grenadines"]);
countries.push(["WS", "Samoa"]);
countries.push(["SM", "San Marino"]);
countries.push(["ST", "Sao Tome And Principe"]);
countries.push(["SA", "Saudi Arabia"]);
countries.push(["SN", "Senegal"]);
countries.push(["SC", "Seychelles"]);
countries.push(["SL", "Sierra Leone"]);
countries.push(["SG", "Singapore"]);
countries.push(["SK", "Slovakia (Slovak Republic)"]);
countries.push(["SI", "Slovenia"]);
countries.push(["SB", "Solomon Islands"]);
countries.push(["SO", "Somalia"]);
countries.push(["ZA", "South Africa"]);
countries.push(["GS", "South Georgia , S Sandwich Is."]);
countries.push(["LK", "Sri Lanka"]);
countries.push(["SH", "St. Helena"]);
countries.push(["PM", "St. Pierre And Miquelon"]);
countries.push(["SD", "Sudan"]);
countries.push(["SR", "Suriname"]);
countries.push(["SJ", "Svalbard, Jan Mayen Islands"]);
countries.push(["SZ", "Sw Aziland"]);
countries.push(["SE", "Sweden"]);
countries.push(["CH", "Switzerland"]);
countries.push(["SY", "Syrian Arab Republic"]);
countries.push(["TW", "Taiwan"]);
countries.push(["TJ", "Tajikistan"]);
countries.push(["TZ", "Tanzania, United Republic Of"]);
countries.push(["TH", "Thailand"]);
countries.push(["TG", "Togo"]);
countries.push(["TK", "Tokelau"]);
countries.push(["TO", "Tonga"]);
countries.push(["TT", "Trinidad And Tobago"]);
countries.push(["TN", "Tunisia"]);
countries.push(["TR", "Turkey"]);
countries.push(["TM", "Turkmenistan"]);
countries.push(["TC", "Turks And Caicos Islands"]);
countries.push(["TV", "Tuvalu"]);
countries.push(["UG", "Uganda"]);
countries.push(["UA", "Ukraine"]);
countries.push(["AE", "United Arab Emirates"]);
countries.push(["UM", "United States Minor Is."]);
countries.push(["UY", "Uruguay"]);
countries.push(["UZ", "Uzbekistan"]);
countries.push(["VU", "Vanuatu"]);
countries.push(["VE", "Venezuela"]);
countries.push(["VN", "Viet Nam"]);
countries.push(["VG", "Virgin Islands (British)"]);
countries.push(["VI", "Virgin Islands (U.S.)"]);
countries.push(["WF", "Wallis And Futuna Islands"]);
countries.push(["EH", "Western Sahara"]);
countries.push(["YE", "Yemen"]);
countries.push(["YU", "Yugoslavia"]);
countries.push(["ZR", "Zaire"]);
countries.push(["ZM", "Zambia"]);
countries.push(["ZW", "Zimbabwe"]);
mobiles = new Array();
mobiles.push(["NIL", "Please Select"]);
mobiles.push(["NOKIA", "NOKIA"]);
mobiles.push(["ALCATEL", "ALCATEL"]);
mobiles.push(["HANDSPRING", "HANDSPRING"]);
mobiles.push(["MOTOROLA", "MOTOROLA"]);
mobiles.push(["PANASONIC", "PANASONIC"]);
mobiles.push(["POGO", "POGO"]);
mobiles.push(["SAGEM", "SAGEM"]);
mobiles.push(["SAMSUNG", "SAMSUNG"]);
mobiles.push(["SIEMENS", "SIEMENS"]);
mobiles.push(["ERICSSON", "SONY ERICSSON"]);
mobiles.push(["TRIUM", "TRIUM"]);
form_date_dd.addItem("DD");
var _local1 = 1;
while (_local1 < 32) {
form_date_dd.addItem(_local1);
_local1++;
}
form_date_dd.setSelectedIndex(0);
form_date_mm.addItem("MM");
_local1 = 1;
while (_local1 < 13) {
form_date_mm.addItem(_local1);
_local1++;
}
form_date_mm.setSelectedIndex(0);
form_date_yyyy.addItem("YYYY");
_local1 = 2002;
while (_local1 > 1900) {
form_date_yyyy.addItem(_local1);
_local1--;
}
form_date_yyyy.setSelectedIndex(0);
var _local2 = countries.length;
_local1 = 0;
while (_local1 < _local2) {
form_country.addItem(countries[_local1][1], countries[_local1][0]);
_local1++;
}
form_country.setSelectedIndex(0);
_local2 = mobiles.length;
_local1 = 0;
while (_local1 < _local2) {
form_mobile.addItem(mobiles[_local1][1], mobiles[_local1][0]);
_local1++;
}
form_mobile.setSelectedIndex(0);
}
function onNext() {
error = 0;
formData = new LoadVars();
var i = 1;
while (i < 9) {
eval ("no" + i).gotoAndStop(1);
i++;
}
if (((form_date_dd.getValue() == "DD") || (form_date_mm.getValue() == "MM")) || (form_date_yyyy.getValue() == "YYYY")) {
errorMC.gotoAndPlay(2);
error = 1;
}
if (form_email.text == "") {
errorMC.gotoAndPlay(2);
error = 1;
}
if ((form_country.getValue() == "CHOOSE COUNTRY") or (form_country.getValue() == "NIL")) {
errorMC.gotoAndPlay(2);
error = 1;
}
if (error == 0) {
formData.firstname = form_firstname.text;
formData.surname = form_surname.text;
formData.gender = genderGrp.getValue();
formData.date_dd = form_date_dd.getValue();
formData.date_mm = form_date_mm.getValue();
formData.date_yyyy = form_date_yyyy.getValue();
formData.postcode = form_postcode.text;
formData.country = form_country.getValue();
formData.email = form_email.text;
formData.number = form_number.text;
formData.mobile = form_mobile.text;
formData.format = formatGrp.getValue();
}
}
function onSubmit() {
onNext();
if (error == 0) {
formData.optin1 = 0;
formData.optin2 = 0;
if (form_optin1.getValue()) {
formData.optin1 = 1;
}
if (form_optin2.getValue()) {
formData.optin2 = 1;
}
replyData = new LoadVars();
formData.sendAndLoad(submitURL, replyData, "get");
play();
}
}
_root.user = SharedObject.getLocal("user_profile");
if (_root.user.data.registered == undefined) {
var setregistered = "0";
_root.user.data.registered = setregistered;
_root.user.flush();
}
if (_root.user.data.registered == "1") {
gotoAndStop ("video");
} else {
stop();
}
var error = 0;
onReset();
setdetails();
submitURL = "http://www.hyperlaunch.com/schnappi/register.php";
Instance of Symbol 147 MovieClip [FComboBoxSymbol] "form_mobile" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
editable = false;
rowCount = 8;
changeHandler = "";
}
Instance of Symbol 147 MovieClip [FComboBoxSymbol] "form_country" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
editable = false;
rowCount = 8;
changeHandler = "";
}
Instance of Symbol 147 MovieClip [FComboBoxSymbol] "form_date_mm" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
editable = false;
rowCount = 8;
changeHandler = "";
}
Instance of Symbol 147 MovieClip [FComboBoxSymbol] "form_date_dd" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
editable = false;
rowCount = 8;
changeHandler = "";
}
Instance of Symbol 147 MovieClip [FComboBoxSymbol] "form_date_yyyy" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
editable = false;
rowCount = 8;
changeHandler = "";
}
Instance of Symbol 136 MovieClip [FRadioButtonSymbol] "form_rb_m" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
label = "";
initialState = false;
groupName = "genderGrp";
data = 1;
labelPlacement = "right";
changeHandler = "";
}
Instance of Symbol 136 MovieClip [FRadioButtonSymbol] "form_rb_f" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
label = "";
initialState = true;
groupName = "genderGrp";
data = 2;
labelPlacement = "right";
changeHandler = "";
}
Instance of Symbol 133 MovieClip [FCheckBoxSymbol] "form_optin1" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
label = " ";
initialValue = true;
labelPlacement = "right";
changeHandler = "";
}
Instance of Symbol 133 MovieClip [FCheckBoxSymbol] "form_optin3" in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
label = " ";
initialValue = false;
labelPlacement = "right";
changeHandler = "";
}
Symbol 737 MovieClip Frame 2
_root.user = SharedObject.getLocal("user_profile");
_root.user.data.registered = "1";
_root.user.data.formuser = formData.username;
_root.user.data.formpass = formData.password;
_root.user.flush();
play();
Symbol 737 MovieClip Frame 51
stop();
Symbol 746 Button
on (rollOver) {
sub.gotoAndPlay("in");
}
on (rollOut, dragOut) {
sub.gotoAndPlay("out");
}
on (release) {
if (email == "") {
no1.gotoAndStop(2);
}
if (femail == "") {
no2.gotoAndStop(2);
}
if (message == "") {
no3.gotoAndStop(2);
}
if (((email != "") and (femail != "")) and (message != "")) {
finalscore = _root.varScore;
loadVariablesNum ((((((("http://www.hyperlaunch.com/cgi-bin/schnappi/send.pl?email=" + email) + "&femail=") + femail) + "&message=") + message) + "&score=") + finalscore, 10);
play();
}
}
Symbol 751 Button
on (release) {
_root.gotoAndPlay("signup");
}
Symbol 754 MovieClip Frame 1
stop();
var email = "";
var femail = "";
var message = "";
Symbol 754 MovieClip Frame 2
play();
Symbol 754 MovieClip Frame 51
stop();