STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228126
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/24338306?noj=FRM24338306-13DC" width="1" height="1"></div>

[AG] Flag Football.swf

This is the info page for
Flash #72131

(Click the ID number above for more basic data on this flash file.)


Text
Axis games

axis-games.com

3

0

1

5

0

Flag Football

PLAy

instructions

credits

Log in

log in!

return

return

Total Points

Spent Points

Current Points

You are currently logged in as

Unlocked Features

User Name:

Password:

submit

submit

forgot pw?

forgot pw?

3

0

1

5

0

(Press SPACE)

Panthers

Hornets

Wildcats

Pounders

Bulldogs

Fairies

Quarter

Down:

To Go:

4

13

1

59

:

0

OK

Complete

Incomplete

Sack

Interception

Touchdown

No Good

It's Good

Safety

Sounds

1

5

2

3

4

6

7

8

9

10

Punt

Punt

Field Goal

offensive controls

-spacebar - snap ball.
-asdw/Arrows - Move player.
-Mouse click - throw ball.

*where the cursor is when you click
is where the ball will land*
*Lead the receiver and don't throw
at his feet*

next>

<back

defensive controls

-spacebar - Cycles through
selectable players.
-asdw/Arrows - Move player.
-Mouse click - Selects the
closest player to the ball.

*Not all players are selectable at
All times
*to tackle, run your player on top of
the ball carrier
*If you pick the play that the computer
does, your linemen will not be blocked

rules

-60 yard field.
-4 quarters, 2 mins each.
-3 permanent (yellow) first down lines.
-no kickoffs. ball starts on own 8.
-Only caught punts may be returned.
Otherwise ball is taken where
it lands or goes out of bounds.
-clock stops after every play.

home>

credits

Danny Jugan-

Programming, Graphics,
Design, Debugging,
Sound.

danny@axis-games.com

choose Your team

san francisco wildcats

san francisco wildcats

carolina pounders

carolina pounders

chicago bulldogs

chicago bulldogs

new england hornets

new england hornets

pittsburgh panthers

pittsburgh panthers

french-canadian Fairies

french-canadian Fairies

choose Your opponent

choose difficulty

rookie

pro

all-star

Final Score!

Achievement List

4 AP - Win on All-Star.
2 AP - Win on Pro.
1 AP - Win on Rookie.

ActionScript [AS1/AS2]

Frame 1
var MochiAd = {showPreloaderAd:function (options) { var _local29 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812}; options = MochiAd._parseOptions(options, _local29); var _local15 = options.clip; var _local25 = 11000; var _local28 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)) { return(undefined); } _local15.stop(); var mc = _local15._mochiad; mc.onUnload = function () { this._parent.play(); }; var _local16 = MochiAd._getRes(options); var _local5 = _local16[0]; var _local14 = _local16[1]; mc._x = _local5 * 0.5; mc._y = _local14 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local5 * -0.5; chk._y = _local14 * -0.5; var _local8 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local8._x = 10; _local8._y = _local14 - 20; var _local24 = options.color; delete options.color; var _local21 = options.background; delete options.background; var _local26 = options.outline; delete options.outline; var _local6 = _local8.createEmptyMovieClip("_outline", 1); _local6.beginFill(_local21); _local6.moveTo(0, 0); _local6.lineTo(_local5 - 20, 0); _local6.lineTo(_local5 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); _local6.endFill(); var _local4 = _local8.createEmptyMovieClip("_inside", 2); _local4.beginFill(_local24); _local4.moveTo(0, 0); _local4.lineTo(_local5 - 20, 0); _local4.lineTo(_local5 - 20, 10); _local4.lineTo(0, 10); _local4.lineTo(0, 0); _local4.endFill(); _local4._xscale = 0; var _local7 = _local8.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local26, 100); _local7.moveTo(0, 0); _local7.lineTo(_local5 - 20, 0); _local7.lineTo(_local5 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); chk.ad_msec = _local25; chk.ad_timeout = _local28; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; }, showTimedAd:function (options) { var _local15 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"}; options = MochiAd._parseOptions(options, _local15); var _local6 = options.clip; var _local12 = 11000; var _local14 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)) { return(undefined); } _local6.stop(); var mc = _local6._mochiad; mc.onUnload = function () { this._parent.play(); }; var _local7 = MochiAd._getRes(options); var _local16 = _local7[0]; var _local13 = _local7[1]; mc._x = _local16 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local12; chk.ad_timeout = _local14; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; }, _allowDomains:function (server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); }, _loadCommunicator:function (options) { var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, _local25); options.swfv = options.clip.getSWFVersion() || 6; options.mav = "1.4"; var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!MochiAd._isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; MochiAd._allowDomains(_local21); delete options.id; delete options.com_server; var _local24 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local24); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb) { cb = parseInt(cb); var _local4 = this._callbacks[cb]; if (!_local4) { return(undefined); } delete this._callbacks[cb]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); }, fetchHighScores:function (options, callbackObj, callbackMethod) { var _local1 = MochiAd._loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); }, sendHighScore:function (options, callbackObj, callbackMethod) { var _local1 = MochiAd._loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); }, load:function (options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = "1.4"; var _local7 = options.clip; if (!MochiAd._isNetworkAvailable()) { return(null); } if (_local7._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12); var _local11 = MochiAd._getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local7._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local8 in options) { _local4[_local8] = options[_local8]; } if (_local7._url.indexOf("http") != 0) { options.no_page = true; } var _local10 = _local4.server; delete _local4.server; var _local14 = MochiAd._allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local9; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local9); _local6.lc = _local5; _local4.lc = _local9; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); }, unload:function (clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); }, _isNetworkAvailable:function () { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); }, _getRes:function (options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); }, _parseOptions:function (options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } return(_local4); }, _:null}; MochiAd.showPreloaderAd({id:"eb0ae04791049c88", res:"450x600"}); _root.unlock1 = false; _root.unlock2 = false; _root.login = false; Stage.showMenu = false; stop();
Frame 7
function updatePlayed() { send_lv = new LoadVars(); take_lv = new LoadVars(); send_lv.game = "flagfootball"; take_lv.onLoad = function (success) { if (success) { } }; send_lv.sendAndLoad("http://www.axis-games.com/addplayed.php", take_lv, "POST"); } updatePlayed(); stop();
Frame 13
stopAllSounds(); if (_root.login) { login_status = "You are logged in"; } else { login_status = "You are NOT logged in."; } stop();
Frame 19
function sendForm() { submit_lv = new LoadVars(); result_lv = new LoadVars(); submit_lv.user = _root.field1; submit_lv.pass = _root.field2; result_lv.onLoad = function (success) { if (success) { if (result_lv.flashuser != "invalid") { _root.login = true; _root.userInfo._visible = true; _root.loginInfo._visible = false; _root.userName = result_lv.flashuser; _root.passwo = _root.field2; _root.totalPoints = result_lv.flashtap; _root.spentPoints = result_lv.flashsap; _root.currentPoints = result_lv.flashcap; unlockFeat1 = result_lv.feature9; unlockFeat2 = result_lv.feature10; if (unlockFeat1 == 1) { _root.unlock1 = true; _root.display1 = "You have unlocked touchdown dances."; } if (unlockFeat2 == 1) { _root.unlock2 = true; _root.display2 = "You have unlocked a new team."; } } else { _root.loginInfo.status_txt = "Invalid Login"; _root.field1 = ""; _root.field2 = ""; } } }; submit_lv.sendAndLoad("http://www.axis-games.com/checklogin.php", result_lv, "POST"); } if (_root.login == false) { _root.userInfo._visible = false; } else { _root.userInfo._visible = true; _root.loginInfo._visible = false; } stop(); loginInfo.submit_btn.onRelease = function () { sendForm(); _root.loginInfo.status_txt = "Processing..."; };
Frame 26
function playSound(name) { if (_root.soundOn == true) { _root.field.soundFX.gotoAndPlay(name); } } function AIoffense() { if ((((possession == "home") && ((difficulty == "allstar") || (difficulty == "pro"))) && (play == 17)) && (ballHolder != ([homeTeam] + "_qb"))) { if ((_root.field[aqb]._y < endY) && (yReached == false)) { _root.field[aqb]._y = _root.field[aqb]._y + 1.2; if (_root.field[aqb]._y >= endY) { yReached = true; } } if ((_root.field[aqb]._y > endY) && (yReached == false)) { _root.field[aqb]._y = _root.field[aqb]._y - 1.2; if (_root.field[aqb]._y <= endY) { yReached = true; } } if ((_root.field[aqb]._x < endX) && (xReached == false)) { _root.field[aqb]._x = _root.field[aqb]._x + 1.2; if (_root.field[aqb]._x >= endX) { xReached = true; } } if ((_root.field[aqb]._x > endX) && (xReached == false)) { _root.field[aqb]._x = _root.field[aqb]._x - 1.2; if (_root.field[aqb]._x <= endX) { xReached = true; } } } if ((((possession == "home") && (passing)) && (play == 17)) && (startPlay)) { _root.field[hwr1]._y = _root.field[hwr1]._y - 1.2; _root.field[hwr2]._y = _root.field[hwr2]._y - 1.2; _root.field[hrb]._y = _root.field[hrb]._y - 1.2; _root.field[hlg]._y = _root.field[hlg]._y - 1.2; _root.field[hrg]._y = _root.field[hrg]._y - 1.2; _root.field[hc]._y = _root.field[hc]._y - 1.2; } if ((((possession == "away") && (passing)) && (play == 17)) && (startPlay)) { _root.field[awr1]._y = _root.field[awr1]._y - 1.2; _root.field[awr2]._y = _root.field[awr2]._y - 1.2; _root.field[arb]._y = _root.field[arb]._y - 1.2; _root.field[alg]._y = _root.field[alg]._y - 1.2; _root.field[arg]._y = _root.field[arg]._y - 1.2; _root.field[ac]._y = _root.field[ac]._y - 1.2; } if ((possession == "home") && (startPlay)) { playLength++; } if ((possession == "away") && (interception)) { _root.field[ballHolder]._y = _root.field[ballHolder]._y + 1.6; _root.field.ball._y = _root.field.ball._y + 1.6; } if (((possession == "away") && (startPlay)) && (interception == false)) { if (justCaught) { _root.field[ballHolder]._y = _root.field[ballHolder]._y - 1.6; _root.field.ball._y = _root.field.ball._y - 1.6; } playLength++; if (ballHolder == ([awayTeam] + "_qb")) { if (compRun && (compIsRunning == false)) { compIsRunning = true; _root.field[aqb].gotoAndPlay("run"); } if (_root.field[ballHolder]._y > ballOn) { detClosestDef(); if ((playLength > 35) && (_root.field[aqb]._y > (ballOn + 5))) { detOpenRec(); } if ((((play == 9) || (play == 10)) && (_root.field[aqb]._y < (ballOn + 50))) && (moveBack)) { _root.field[aqb]._y = _root.field[aqb]._y + 1.6; _root.field.ball._y = _root.field.ball._y + 1.6; if (_root.field[aqb]._y >= (ballOn + 50)) { moveBack = false; } } if (((_root.field[aqb]._y - _root.field[closestDef]._y) < (48 - diff)) && (moveBack == false)) { if (_root.field[aqb]._x >= _root.field[closestDef]._x) { _root.field[aqb]._x = _root.field[aqb]._x + 1.6; _root.field.ball._x = _root.field.ball._x + 1.6; _root.field[aqb]._rotation = 90; compRun = true; if (_root.field[aqb]._x > 310) { _root.field[aqb]._y = _root.field[aqb]._y - 1.2; _root.field[aqb]._x = _root.field[aqb]._x - 0.4; _root.field.ball._y = _root.field.ball._y - 1.2; _root.field.ball._x = _root.field.ball._x - 0.4; _root.field[aqb]._rotation = 45; } } else if (_root.field[aqb]._x < _root.field[closestDef]._x) { _root.field[aqb]._x = _root.field[aqb]._x - 1.6; _root.field.ball._x = _root.field.ball._x - 1.6; _root.field[aqb]._rotation = 270; compRun = true; if (_root.field[aqb]._x < 130) { _root.field[aqb]._y = _root.field[aqb]._y - 1.2; _root.field[aqb]._x = _root.field[aqb]._x + 0.4; _root.field.ball._y = _root.field.ball._y - 1.2; _root.field.ball._x = _root.field.ball._x + 0.4; _root.field[aqb]._rotation = 315; } } } } if (_root.field[ballHolder]._y <= ballOn) { _root.field[aqb]._rotation = 0; _root.field[aqb]._y = _root.field[aqb]._y - 1.6; } } } } function detOpenRec() { var _local8 = Math.abs(_root.field[awr1]._x - _root.field[hwr1]._x) + Math.abs(_root.field[awr1]._y - _root.field[hwr1]._y); var _local6 = Math.abs(_root.field[awr1]._x - _root.field[hqb]._x) + Math.abs(_root.field[awr1]._y - _root.field[hqb]._y); var _local4 = Math.abs(_root.field[awr1]._x - _root.field[hc]._x) + Math.abs(_root.field[awr1]._y - _root.field[hc]._y); var _local7 = Math.abs(_root.field[awr2]._x - _root.field[hwr2]._x) + Math.abs(_root.field[awr2]._y - _root.field[hwr2]._y); var _local5 = Math.abs(_root.field[awr2]._x - _root.field[hqb]._x) + Math.abs(_root.field[awr2]._y - _root.field[hqb]._y); var _local3 = Math.abs(_root.field[awr2]._x - _root.field[hc]._x) + Math.abs(_root.field[awr2]._y - _root.field[hc]._y); var _local11 = Math.abs(_root.field[arb]._x - _root.field[hrb]._x) + Math.abs(_root.field[arb]._y - _root.field[hrb]._y); var _local10 = Math.abs(_root.field[arb]._x - _root.field[hqb]._x) + Math.abs(_root.field[arb]._y - _root.field[hqb]._y); var _local9 = Math.abs(_root.field[arb]._x - _root.field[hc]._x) + Math.abs(_root.field[arb]._y - _root.field[hc]._y); if ((_local8 < _local6) && (_local8 < _local4)) { wr1ClosestDef = [homeTeam] + "_wr1"; wr1Coverage = _local8; } else if ((_local6 < _local8) && (_local6 < _local4)) { wr1ClosestDef = [homeTeam] + "_qb"; wr1Coverage = _local6; } else if ((_local4 < _local8) && (_local4 < _local6)) { wr1ClosestDef = [homeTeam] + "_c"; wr1Coverage = _local4; } if ((((((wr1Coverage > passCheck) && (passing == false)) && (_root.field[awr1]._y < _root.field[aqb]._y)) && ((play != 8) || (playLength > (75 - diff)))) && (_root.field[awr1]._y > 60)) && ((play != 10) || (playLength > 70))) { closest = [awayTeam] + "_wr1"; passing = true; throwPass = true; var _local14 = Math.abs(_root.field[awr1]._x - _root.field[aqb]._x); var _local13 = Math.abs(_root.field[awr1]._y - _root.field[aqb]._y); var _local12 = Math.sqrt((_local14 * _local14) + (_local13 * _local13)); var _local15 = random(diff2) - 10; var _local2 = (_local12 / throwSpeed) + _local15; if (_local12 < 70) { _local2 = _local12 / throwSpeed; } startX = _root.field[aqb]._x; startY = _root.field[aqb]._y; _root.field.ball.gotoAndPlay("throw"); if (wr1Dest1 == false) { if ((_root.field[awr1]._rotation == 0) || (_root.field[awr1]._rotation == -180)) { endX = _root.field[awr1]._x; endY = _root.field[awr1]._y - (_local2 * dest1speedWr1); } if ((_root.field[awr1]._rotation == 45) || (_root.field[awr1]._rotation == -315)) { endX = _root.field[awr1]._x + (_local2 * dest1speedWr1); endY = _root.field[awr1]._y - (_local2 * dest1speedWr1); } if ((_root.field[awr1]._rotation == 90) || (_root.field[awr1]._rotation == -270)) { endX = _root.field[awr1]._x + (_local2 * dest1speedWr1); endY = _root.field[awr1]._y; } if ((_root.field[awr1]._rotation == 135) || (_root.field[awr1]._rotation == -225)) { endX = _root.field[awr1]._x + (_local2 * dest1speedWr1); endY = _root.field[awr1]._y + (_local2 * dest1speedWr1); } if (_root.field[awr1]._rotation == 180) { endX = _root.field[awr1]._x; endY = _root.field[awr1]._y + (_local2 * dest1speedWr1); } if ((_root.field[awr1]._rotation == 225) || (_root.field[awr1]._rotation == -135)) { endX = _root.field[awr1]._x - (_local2 * dest1speedWr1); endY = _root.field[awr1]._y + (_local2 * dest1speedWr1); } if ((_root.field[awr1]._rotation == 270) || (_root.field[awr1]._rotation == -90)) { endX = _root.field[awr1]._x - (_local2 * dest1speedWr1); endY = _root.field[awr1]._y; } if ((_root.field[awr1]._rotation == 315) || (_root.field[awr1]._rotation == -45)) { endX = _root.field[awr1]._x - (_local2 * dest1speedWr1); endY = _root.field[awr1]._y - (_local2 * dest1speedWr1); } } else if (wr1Dest1 && (wr1Dest2 == false)) { if ((_root.field[awr1]._rotation == 0) || (_root.field[awr1]._rotation == -180)) { endX = _root.field[awr1]._x; endY = _root.field[awr1]._y - (_local2 * dest2speedWr1); } if ((_root.field[awr1]._rotation == 45) || (_root.field[awr1]._rotation == -315)) { endX = _root.field[awr1]._x + (_local2 * dest2speedWr1); endY = _root.field[awr1]._y - (_local2 * dest2speedWr1); } if ((_root.field[awr1]._rotation == 90) || (_root.field[awr1]._rotation == -270)) { endX = _root.field[awr1]._x + (_local2 * dest2speedWr1); endY = _root.field[awr1]._y; } if ((_root.field[awr1]._rotation == 135) || (_root.field[awr1]._rotation == -225)) { endX = _root.field[awr1]._x + (_local2 * dest2speedWr1); endY = _root.field[awr1]._y + (_local2 * dest2speedWr1); } if (_root.field[awr1]._rotation == 180) { endX = _root.field[awr1]._x; endY = _root.field[awr1]._y + (_local2 * dest2speedWr1); } if ((_root.field[awr1]._rotation == 225) || (_root.field[awr1]._rotation == -135)) { endX = _root.field[awr1]._x - (_local2 * dest2speedWr1); endY = _root.field[awr1]._y + (_local2 * dest2speedWr1); } if ((_root.field[awr1]._rotation == 270) || (_root.field[awr1]._rotation == -90)) { endX = _root.field[awr1]._x - (_local2 * dest2speedWr1); endY = _root.field[awr1]._y; } if ((_root.field[awr1]._rotation == 315) || (_root.field[awr1]._rotation == -45)) { endX = _root.field[awr1]._x - (_local2 * dest2speedWr1); endY = _root.field[awr1]._y - (_local2 * dest2speedWr1); } } else if ((wr1Dest1 && (wr1Dest2)) && (wr1Dest3 == false)) { if ((_root.field[awr1]._rotation == 0) || (_root.field[awr1]._rotation == -180)) { endX = _root.field[awr1]._x; endY = _root.field[awr1]._y - (_local2 * dest3speedWr1); } if ((_root.field[awr1]._rotation == 45) || (_root.field[awr1]._rotation == -315)) { endX = _root.field[awr1]._x + (_local2 * dest3speedWr1); endY = _root.field[awr1]._y - (_local2 * dest3speedWr1); } if ((_root.field[awr1]._rotation == 90) || (_root.field[awr1]._rotation == -270)) { endX = _root.field[awr1]._x + (_local2 * dest3speedWr1); endY = _root.field[awr1]._y; } if ((_root.field[awr1]._rotation == 135) || (_root.field[awr1]._rotation == -225)) { endX = _root.field[awr1]._x + (_local2 * dest3speedWr1); endY = _root.field[awr1]._y + (_local2 * dest3speedWr1); } if (_root.field[awr1]._rotation == 180) { endX = _root.field[awr1]._x; endY = _root.field[awr1]._y + (_local2 * dest3speedWr1); } if ((_root.field[awr1]._rotation == 225) || (_root.field[awr1]._rotation == -135)) { endX = _root.field[awr1]._x - (_local2 * dest3speedWr1); endY = _root.field[awr1]._y + (_local2 * dest3speedWr1); } if ((_root.field[awr1]._rotation == 270) || (_root.field[awr1]._rotation == -90)) { endX = _root.field[awr1]._x - (_local2 * dest3speedWr1); endY = _root.field[awr1]._y; } if ((_root.field[awr1]._rotation == 315) || (_root.field[awr1]._rotation == -45)) { endX = _root.field[awr1]._x - (_local2 * dest3speedWr1); endY = _root.field[awr1]._y - (_local2 * dest3speedWr1); } } if (endX < startX) { _root.field.ball.gotoAndPlay("throw2"); } } if ((_local7 < _local5) && (_local7 < _local3)) { wr2ClosestDef = [homeTeam] + "_wr2"; wr2Coverage = _local7; } else if ((_local5 < _local7) && (_local5 < _local3)) { wr2ClosestDef = [homeTeam] + "_qb"; wr2Coverage = _local5; } else if ((_local3 < _local7) && (_local3 < _local5)) { wr2ClosestDef = [homeTeam] + "_c"; wr2Coverage = _local3; } if (((((wr2Coverage > passCheck) && (_root.field[awr2]._y < _root.field[aqb]._y)) && ((play != 6) || (playLength > 100))) && ((play != 8) || (playLength > (75 - diff)))) && (_root.field[awr2]._y > 60)) { closest = [awayTeam] + "_wr2"; passing = true; throwPass = true; var _local14 = Math.abs(_root.field[awr2]._x - _root.field[aqb]._x); var _local13 = Math.abs(_root.field[awr2]._y - _root.field[aqb]._y); var _local12 = Math.sqrt((_local14 * _local14) + (_local13 * _local13)); var _local15 = random(diff2) - 10; var _local2 = (_local12 / throwSpeed) + _local15; if (_local12 < 70) { _local2 = _local12 / throwSpeed; } startX = _root.field[aqb]._x; startY = _root.field[aqb]._y; _root.field.ball.gotoAndPlay("throw"); if (wr2Dest1 == false) { if ((_root.field[awr2]._rotation == 0) || (_root.field[awr2]._rotation == -180)) { endX = _root.field[awr2]._x; endY = _root.field[awr2]._y - (_local2 * dest1speedWr2); } if ((_root.field[awr2]._rotation == 45) || (_root.field[awr2]._rotation == -315)) { endX = _root.field[awr2]._x + (_local2 * dest1speedWr2); endY = _root.field[awr2]._y - (_local2 * dest1speedWr2); } if ((_root.field[awr2]._rotation == 90) || (_root.field[awr2]._rotation == -270)) { endX = _root.field[awr2]._x + (_local2 * dest1speedWr2); endY = _root.field[awr2]._y; } if ((_root.field[awr2]._rotation == 135) || (_root.field[awr2]._rotation == -225)) { endX = _root.field[awr2]._x + (_local2 * dest1speedWr2); endY = _root.field[awr2]._y + (_local2 * dest1speedWr2); } if (_root.field[awr2]._rotation == 180) { endX = _root.field[awr2]._x; endY = _root.field[awr2]._y + (_local2 * dest1speedWr2); } if ((_root.field[awr2]._rotation == 225) || (_root.field[awr2]._rotation == -135)) { endX = _root.field[awr2]._x - (_local2 * dest1speedWr2); endY = _root.field[awr2]._y + (_local2 * dest1speedWr2); } if ((_root.field[awr2]._rotation == 270) || (_root.field[awr2]._rotation == -90)) { endX = _root.field[awr2]._x - (_local2 * dest1speedWr2); endY = _root.field[awr2]._y; } if ((_root.field[awr2]._rotation == 315) || (_root.field[awr2]._rotation == -45)) { endX = _root.field[awr2]._x - (_local2 * dest1speedWr2); endY = _root.field[awr2]._y - (_local2 * dest1speedWr2); } } else if (wr2Dest1 && (wr2Dest2 == false)) { if ((_root.field[awr2]._rotation == 0) || (_root.field[awr2]._rotation == -180)) { endX = _root.field[awr2]._x; endY = _root.field[awr2]._y - (_local2 * dest2speedWr2); } if ((_root.field[awr2]._rotation == 45) || (_root.field[awr2]._rotation == -315)) { endX = _root.field[awr2]._x + (_local2 * dest2speedWr2); endY = _root.field[awr2]._y - (_local2 * dest2speedWr2); } if ((_root.field[awr2]._rotation == 90) || (_root.field[awr2]._rotation == -270)) { endX = _root.field[awr2]._x + (_local2 * dest2speedWr2); endY = _root.field[awr2]._y; } if ((_root.field[awr2]._rotation == 135) || (_root.field[awr2]._rotation == -225)) { endX = _root.field[awr2]._x + (_local2 * dest2speedWr2); endY = _root.field[awr2]._y + (_local2 * dest2speedWr2); } if (_root.field[awr2]._rotation == 180) { endX = _root.field[awr2]._x; endY = _root.field[awr2]._y + (_local2 * dest2speedWr2); } if ((_root.field[awr2]._rotation == 225) || (_root.field[awr2]._rotation == -135)) { endX = _root.field[awr2]._x - (_local2 * dest2speedWr2); endY = _root.field[awr2]._y + (_local2 * dest2speedWr2); } if ((_root.field[awr2]._rotation == 270) || (_root.field[awr2]._rotation == -90)) { endX = _root.field[awr2]._x - (_local2 * dest2speedWr2); endY = _root.field[awr2]._y; } if ((_root.field[awr2]._rotation == 315) || (_root.field[awr2]._rotation == -45)) { endX = _root.field[awr2]._x - (_local2 * dest2speedWr2); endY = _root.field[awr2]._y - (_local2 * dest2speedWr2); } } else if ((wr2Dest1 && (wr2Dest2)) && (wr2Dest3 == false)) { if ((_root.field[awr2]._rotation == 0) || (_root.field[awr2]._rotation == -180)) { endX = _root.field[awr2]._x; endY = _root.field[awr2]._y - (_local2 * dest3speedWr2); } if ((_root.field[awr2]._rotation == 45) || (_root.field[awr2]._rotation == -315)) { endX = _root.field[awr2]._x + (_local2 * dest3speedWr2); endY = _root.field[awr2]._y - (_local2 * dest3speedWr2); } if ((_root.field[awr2]._rotation == 90) || (_root.field[awr2]._rotation == -270)) { endX = _root.field[awr2]._x + (_local2 * dest3speedWr2); endY = _root.field[awr2]._y; } if ((_root.field[awr2]._rotation == 135) || (_root.field[awr2]._rotation == -225)) { endX = _root.field[awr2]._x + (_local2 * dest3speedWr2); endY = _root.field[awr2]._y + (_local2 * dest3speedWr2); } if (_root.field[awr2]._rotation == 180) { endX = _root.field[awr2]._x; endY = _root.field[awr2]._y + (_local2 * dest3speedWr2); } if ((_root.field[awr2]._rotation == 225) || (_root.field[awr2]._rotation == -135)) { endX = _root.field[awr2]._x - (_local2 * dest3speedWr2); endY = _root.field[awr2]._y + (_local2 * dest3speedWr2); } if ((_root.field[awr2]._rotation == 270) || (_root.field[awr2]._rotation == -90)) { endX = _root.field[awr2]._x - (_local2 * dest3speedWr2); endY = _root.field[awr2]._y; } if ((_root.field[awr2]._rotation == 315) || (_root.field[awr2]._rotation == -45)) { endX = _root.field[awr2]._x - (_local2 * dest3speedWr2); endY = _root.field[awr2]._y - (_local2 * dest3speedWr2); } } if (endX < startX) { _root.field.ball.gotoAndPlay("throw2"); } } if ((_local11 < _local10) && (_local11 < _local9)) { rbClosestDef = [homeTeam] + "_rb"; rbCoverage = _local11; } else if ((_local10 < _local11) && (_local10 < _local9)) { rbClosestDef = [homeTeam] + "_qb"; rbCoverage = _local10; } else if ((_local9 < _local11) && (_local9 < _local10)) { rbClosestDef = [homeTeam] + "_c"; rbCoverage = _local9; } if ((((rbCoverage > passCheck) && (_root.field[arb]._y < _root.field[aqb]._y)) && ((play != 8) || (playLength > (75 - diff)))) && ((play != 5) || ((playLength > 70) && (_root.field[arb]._y > 60)))) { closest = [awayTeam] + "_rb"; passing = true; throwPass = true; var _local14 = _root.field[awr1]._x - _root.field[aqb]._x; var _local13 = Math.abs(_root.field[awr1]._y - _root.field[aqb]._y); var _local12 = Math.sqrt((_local14 * _local14) + (_local13 * _local13)); var _local15 = random(diff2) - 10; var _local2 = (_local12 / throwSpeed) + _local15; if (_local12 < 70) { _local2 = _local12 / throwSpeed; } startX = _root.field[aqb]._x; startY = _root.field[aqb]._y; _root.field.ball.gotoAndPlay("throw"); if (rbDest1 == false) { if ((_root.field[arb]._rotation == 0) || (_root.field[arb]._rotation == -180)) { endX = _root.field[arb]._x; endY = _root.field[arb]._y - (_local2 * dest1speedRb); } if ((_root.field[arb]._rotation == 45) || (_root.field[arb]._rotation == -315)) { endX = _root.field[arb]._x + (_local2 * dest1speedRb); endY = _root.field[arb]._y - (_local2 * dest1speedRb); } if ((_root.field[arb]._rotation == 90) || (_root.field[arb]._rotation == -270)) { endX = _root.field[arb]._x + (_local2 * dest1speedRb); endY = _root.field[arb]._y; } if ((_root.field[arb]._rotation == 135) || (_root.field[arb]._rotation == -225)) { endX = _root.field[arb]._x + (_local2 * dest1speedRb); endY = _root.field[arb]._y + (_local2 * dest1speedRb); } if (_root.field[arb]._rotation == 180) { endX = _root.field[arb]._x; endY = _root.field[arb]._y + (_local2 * dest1speedRb); } if ((_root.field[arb]._rotation == 225) || (_root.field[arb]._rotation == -135)) { endX = _root.field[arb]._x - (_local2 * dest1speedRb); endY = _root.field[arb]._y + (_local2 * dest1speedRb); } if ((_root.field[arb]._rotation == 270) || (_root.field[arb]._rotation == -90)) { endX = _root.field[arb]._x - (_local2 * dest1speedRb); endY = _root.field[arb]._y; } if ((_root.field[arb]._rotation == 315) || (_root.field[arb]._rotation == -45)) { endX = _root.field[arb]._x - (_local2 * dest1speedRb); endY = _root.field[arb]._y - (_local2 * dest1speedRb); } } else if (rbDest1 && (rbDest2 == false)) { if ((_root.field[arb]._rotation == 0) || (_root.field[arb]._rotation == -180)) { endX = _root.field[arb]._x; endY = _root.field[arb]._y - (_local2 * dest2speedRb); } if ((_root.field[arb]._rotation == 45) || (_root.field[arb]._rotation == -315)) { endX = _root.field[arb]._x + (_local2 * dest2speedRb); endY = _root.field[arb]._y - (_local2 * dest2speedRb); } if ((_root.field[arb]._rotation == 90) || (_root.field[arb]._rotation == -270)) { endX = _root.field[arb]._x + (_local2 * dest2speedRb); endY = _root.field[arb]._y; } if ((_root.field[arb]._rotation == 135) || (_root.field[arb]._rotation == -225)) { endX = _root.field[arb]._x + (_local2 * dest2speedRb); endY = _root.field[arb]._y + (_local2 * dest2speedRb); } if (_root.field[arb]._rotation == 180) { endX = _root.field[arb]._x; endY = _root.field[arb]._y + (_local2 * dest2speedRb); } if ((_root.field[arb]._rotation == 225) || (_root.field[arb]._rotation == -135)) { endX = _root.field[arb]._x - (_local2 * dest2speedRb); endY = _root.field[arb]._y + (_local2 * dest2speedRb); } if ((_root.field[arb]._rotation == 270) || (_root.field[arb]._rotation == -90)) { endX = _root.field[arb]._x - (_local2 * dest2speedRb); endY = _root.field[arb]._y; } if ((_root.field[arb]._rotation == 315) || (_root.field[arb]._rotation == -45)) { endX = _root.field[arb]._x - (_local2 * dest2speedRb); endY = _root.field[arb]._y - (_local2 * dest2speedRb); } } else if ((rbDest1 && (rbDest2)) && (rbDest3 == false)) { if ((_root.field[arb]._rotation == 0) || (_root.field[arb]._rotation == -180)) { endX = _root.field[arb]._x; endY = _root.field[arb]._y - (_local2 * dest3speedRb); } if ((_root.field[arb]._rotation == 45) || (_root.field[arb]._rotation == -315)) { endX = _root.field[arb]._x + (_local2 * dest3speedRb); endY = _root.field[arb]._y - (_local2 * dest3speedRb); } if ((_root.field[arb]._rotation == 90) || (_root.field[arb]._rotation == -270)) { endX = _root.field[arb]._x + (_local2 * dest3speedRb); endY = _root.field[arb]._y; } if ((_root.field[arb]._rotation == 135) || (_root.field[arb]._rotation == -225)) { endX = _root.field[arb]._x + (_local2 * dest3speedRb); endY = _root.field[arb]._y + (_local2 * dest3speedRb); } if (_root.field[arb]._rotation == 180) { endX = _root.field[arb]._x; endY = _root.field[arb]._y + (_local2 * dest3speedRb); } if ((_root.field[arb]._rotation == 225) || (_root.field[arb]._rotation == -135)) { endX = _root.field[arb]._x - (_local2 * dest3speedRb); endY = _root.field[arb]._y + (_local2 * dest3speedRb); } if ((_root.field[arb]._rotation == 270) || (_root.field[arb]._rotation == -90)) { endX = _root.field[arb]._x - (_local2 * dest3speedRb); endY = _root.field[arb]._y; } if ((_root.field[arb]._rotation == 315) || (_root.field[arb]._rotation == -45)) { endX = _root.field[arb]._x - (_local2 * dest3speedRb); endY = _root.field[arb]._y - (_local2 * dest3speedRb); } } if (endX < startX) { _root.field.ball.gotoAndPlay("throw2"); } } } function detClosestDef() { var _local3 = Math.abs(_root.field[ballHolder]._x - _root.field[hqb]._x) + Math.abs(_root.field[ballHolder]._y - _root.field[hqb]._y); var _local2 = Math.abs(_root.field[ballHolder]._x - _root.field[hrb]._x) + Math.abs(_root.field[ballHolder]._y - _root.field[hrb]._y); var _local8 = Math.abs(_root.field[ballHolder]._x - _root.field[hc]._x) + Math.abs(_root.field[ballHolder]._y - _root.field[hc]._y); var _local7 = Math.abs(_root.field[ballHolder]._x - _root.field[hwr1]._x) + Math.abs(_root.field[ballHolder]._y - _root.field[hwr1]._y); var _local6 = Math.abs(_root.field[ballHolder]._x - _root.field[hwr2]._x) + Math.abs(_root.field[ballHolder]._y - _root.field[hwr2]._y); var _local5 = Math.abs(_root.field[ballHolder]._x - _root.field[hrg]._x) + Math.abs(_root.field[ballHolder]._y - _root.field[hrg]._y); var _local4 = Math.abs(_root.field[ballHolder]._x - _root.field[hlg]._x) + Math.abs(_root.field[ballHolder]._y - _root.field[hlg]._y); if ((((((_local3 < _local2) && (_local3 < _local8)) && (_local3 < _local7)) && (_local3 < _local6)) && (_local3 < _local5)) && (_local3 < _local4)) { closestDef = hqb; } if ((((((_local2 < _local3) && (_local2 < _local8)) && (_local2 < _local7)) && (_local2 < _local6)) && (_local2 < _local5)) && (_local2 < _local4)) { closestDef = hrb; } if ((((((_local8 < _local3) && (_local8 < _local2)) && (_local8 < _local7)) && (_local8 < _local6)) && (_local8 < _local5)) && (_local8 < _local4)) { closestDef = hc; } if ((((((_local7 < _local3) && (_local7 < _local2)) && (_local7 < _local8)) && (_local7 < _local6)) && (_local7 < _local5)) && (_local7 < _local4)) { closestDef = hwr1; } if ((((((_local6 < _local3) && (_local6 < _local2)) && (_local6 < _local8)) && (_local6 < _local7)) && (_local6 < _local5)) && (_local6 < _local4)) { closestDef = hwr2; } if ((((((_local5 < _local3) && (_local5 < _local2)) && (_local5 < _local8)) && (_local5 < _local7)) && (_local5 < _local6)) && (_local5 < _local4)) { closestDef = hrg; } if ((((((_local4 < _local3) && (_local4 < _local2)) && (_local4 < _local8)) && (_local4 < _local7)) && (_local4 < _local6)) && (_local4 < _local5)) { closestDef = hlg; } } function kicking() { if (startKick) { if (kickTaking == "power") { if (kickPower > 88) { kickPower = 0; } kickPower = kickPower + 8; _root.field.kickMeter.power._yscale = kickPower; if (Key.isDown(32) && (_root.field.kickMeter.direction._visible == false)) { if (kickPower < 40) { kickPower = 40; } kickDistance = (kickPower / 1.55) * 4.6; if (play == 17) { kickDistance = kickDistance + 30; } _root.field.kickMeter.direction._visible = true; kickTaking = "pause"; } } if (kickTaking == "pause") { pause++; if (pause > 5) { checkForSnap = true; kickTaking = "direction"; pause = 0; } } if (kickTaking == "direction") { if (kickDirection > 49) { kickDirection = -50; } kickDirection = kickDirection + 5; _root.field.kickMeter.direction._xscale = kickDirection; if (Key.isDown(32)) { _root.field[hwr1].gotoAndStop(1); _root.field[hrb].gotoAndStop(1); if (play == 17) { kickAccuracy = kickDirection * 5.5; } else { kickAccuracy = kickDirection * 1.5; } kickTaking = "kick"; enlarge = 1.1; if (play == 16) { enlarge = 1.9; } throwSpeed = 5; } } if (kickTaking == "kick") { if (kickBall == true) { _root.field.kickMeter._visible = false; kickBall = false; _root.field.ball.gotoAndPlay("kick"); passing = true; throwPass = true; endX = _root.field.ball._x + kickAccuracy; endY = _root.field.ball._y - kickDistance; startX = _root.field.ball._x; startY = _root.field.ball._y; breakThru1 = true; breakThru2 = true; breakThru3 = true; if (possession == "home") { _root.field[hwr1].gotoAndPlay("run"); _root.field[hwr2].gotoAndPlay("run"); _root.field[hrb].gotoAndPlay("run"); _root.field[hlg].gotoAndPlay("run"); _root.field[hrg].gotoAndPlay("run"); _root.field[hc].gotoAndPlay("run"); } if (possession == "away") { _root.field[awr1].gotoAndPlay("run"); _root.field[awr2].gotoAndPlay("run"); _root.field[arb].gotoAndPlay("run"); _root.field[alg].gotoAndPlay("run"); _root.field[arg].gotoAndPlay("run"); _root.field[ac].gotoAndPlay("run"); } } if ((_root.field.ball.hitTest(_root.field.upright1.good) && (skid == false)) && (play != 17)) { _root.field.passInfo.gotoAndPlay("good"); kickTaking = "power"; if (possession == "home") { possession = "away"; if (kickType == "pat") { homeScore = homeScore + 1; } else { homeScore = homeScore + 3; } } else { possession = "home"; if (kickType == "pat") { awayScore = awayScore + 1; } else { awayScore = awayScore + 3; } } kickOff(); } } } } function kickOff() { firstDown = "fd1"; justScored = false; down = 0; ballOn = 500; } function clock() { if (runClock) { timer++; mySec = Math.ceil(timer / 24); sec = tAdj - mySec; if (sec < 10) { _root.field.scoreboard.tSecs._x = 152; _root.field.scoreboard.zero._visible = true; } else { _root.field.scoreboard.tSecs._x = 138; _root.field.scoreboard.zero._visible = false; } if (sec <= 0) { if (min <= 0) { runClock = false; _root.field.scoreboard.tSecs._x = 138; _root.field.scoreboard.zero._visible = false; mySec = 0; sec = 59; min = 2; if (quarter == 2) { halfTime = true; } quarter++; _root.field.scoreboard.marker.gotoAndStop(quarter); } sec = 59; tAdj = tAdj + sec; min--; } } } function afterPlay() { runClock = false; _root.playSound("whistle"); _root.field.advance._visible = true; if (interception && (justScored == false)) { var _local2 = ballOn - 95; ballOn = 550 - _local2; if (_root.field[ballHolder].hitTest(_root.field.endzone1) || (_root.field[ballHolder]._y < 70)) { ballOn = 500; firstDown = "fd1"; } } if ((ballOn <= _root.field[firstDown]._y) || (interception)) { down = 1; if (ballOn < 550) { firstDown = "fd1"; } if (ballOn < 440) { firstDown = "fd2"; } if (ballOn < 325) { firstDown = "fd3"; } if (ballOn < 210) { firstDown = "fd4"; } } else { down++; if ((down > 4) && (justScored == false)) { var _local2 = ballOn - 95; ballOn = 550 - _local2; down = 1; if (ballOn < 550) { firstDown = "fd1"; } if (ballOn < 440) { firstDown = "fd2"; } if (ballOn < 325) { firstDown = "fd3"; } if (ballOn < 210) { firstDown = "fd4"; } if (possession == "away") { possession = "home"; } else { possession = "away"; } } } if (halfTime) { ballOn = 500; possession = "away"; down = 1; firstDown = "fd1"; } if (quarter > 4) { gotoAndStop ("endofgame"); } halfTime = false; endX = "null"; endY = "null"; yReached = false; xReached = false; crossedLos = false; oob = false; ballInMot = false; finish = false; startKick = false; interception = false; _root.field[hlg].gotoAndStop(1); _root.field[hrg].gotoAndStop(1); _root.field[hc].gotoAndStop(1); _root.field[hrb].gotoAndStop(1); _root.field[hqb].gotoAndStop(1); _root.field[hwr1].gotoAndStop(1); _root.field[hwr2].gotoAndStop(1); _root.field[alg].gotoAndStop(1); _root.field[arg].gotoAndStop(1); _root.field[ac].gotoAndStop(1); _root.field[arb].gotoAndStop(1); _root.field[aqb].gotoAndStop(1); _root.field[awr1].gotoAndStop(1); _root.field[awr2].gotoAndStop(1); _root.field[hlg]._rotation = 0; _root.field[hrg]._rotation = 0; _root.field[hc]._rotation = 0; _root.field[hqb]._rotation = 0; _root.field[hrb]._rotation = 0; _root.field[hwr1]._rotation = 0; _root.field[hwr2]._rotation = 0; _root.field[alg]._rotation = 0; _root.field[arg]._rotation = 0; _root.field[ac]._rotation = 0; _root.field[aqb]._rotation = 0; _root.field[arb]._rotation = 0; _root.field[awr1]._rotation = 0; _root.field[awr2]._rotation = 0; _root.field.ring._rotation = 0; _root.field.ring._x = _root.field[activePlayer]._x; _root.field.ring._y = _root.field[activePlayer]._y + 8; _root.field.fdMarkers._y = _root.field[firstDown]._y - 4; _root.field.ball._xscale = 100; _root.field.ball._yscale = 100; toGo = Math.round((ballOn - _root.field[firstDown]._y) / 8); if (toGo <= 0) { toGo = 1; } justCaught = false; moveBack = true; playLength = 0; startKick = false; tackled = false; startPlay = false; wr1Dest1 = false; wr1Dest2 = false; wr1Dest3 = false; wr2Dest1 = false; wr2Dest2 = false; wr2Dest3 = false; rbDest1 = false; rbDest2 = false; rbDest3 = false; cDest1 = false; cDest2 = false; cDest3 = false; finish = false; kickBall = false; defQbRunning = false; defRbRunning = false; defWr1Running = false; defWr2Running = false; defCRunning = false; defLgRunning = false; defRgRunning = false; rgBlocking = false; cBlocking = false; lgBlocking = false; breakThru1 = false; breakThru2 = false; breakThru3 = false; breakThru4 = false; breakThru5 = false; alreadyRunning = false; _root.field.ball._rotation = 0; _root.field.ball._visible = false; _root.field.hit._visible = false; _root.field.ring._visible = true; compIsRunning = false; compRun = false; activePlayer = "null"; if (unlock1 && (dance)) { dance = false; _root.field[ballHolder]._rotation = 0; _root.field[ballHolder].gotoAndPlay("pH"); } setRing(); if (possession == "away") { _root.playMenu.punt._visible = false; _root.playMenu.pat._visible = false; } else { _root.playMenu.punt._visible = true; _root.playMenu.pat._visible = true; } } function checkForTackle() { if ((startPlay && (possession == "home")) && ((ballHolder != (homeTeam + "_c")) || (interception))) { if ((Math.abs(_root.field[alg]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[alg]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[arg]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[arg]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[ac]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[ac]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[arb]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[arb]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[aqb]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[aqb]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[awr1]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[awr1]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[awr2]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[awr2]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } } if ((startPlay && (possession == "away")) && ((ballHolder != (awayTeam + "_c")) || (interception))) { if ((Math.abs(_root.field[hlg]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[hlg]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[hrg]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[hrg]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[hc]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[hc]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[hrb]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[hrb]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[hqb]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[hqb]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[hwr1]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[hwr1]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } else if ((Math.abs(_root.field[hwr2]._x - _root.field[ballHolder]._x) < 7) && (Math.abs(_root.field[hwr2]._y - _root.field[ballHolder]._y) < 7)) { tackled = true; } } if (tackled == true) { ballOn = Math.round(_root.field[ballHolder]._y); if (((ballHolder == ([homeTeam] + "_qb")) && (_root.field[hqb]._y > _root.field[hc]._y)) || ((ballHolder == ([awayTeam] + "_qb")) && (_root.field[aqb]._y > _root.field[ac]._y))) { _root.field.passInfo.gotoAndPlay("sack"); ballOn = Math.round(_root.field[ballHolder]._y); if (justScored) { if (possession == "home") { possession = "away"; } else { possession = "home"; } kickOff(); } if (_root.field[ballHolder].hitTest(_root.field.endzone2)) { _root.field.passInfo.gotoAndPlay("safety"); down = 0; ballOn = 400; if (possession == "home") { possession = "away"; awayScore = awayScore + 2; } else { possession = "home"; homeScore = homeScore + 2; } } } afterPlay(); } } function blocking() { if (startPlay && (possession == "home")) { if (_root.field[arg].hitTest(_root.field[hrg]) && (breakThru1 == false)) { rgBlocking = true; _root.field[arg].gotoAndStop("blocking"); _root.field[hrg].gotoAndStop("blocking"); _root.field[arg]._rotation = _root.field[hrg]._rotation + 180; block1 = random(blockTime + (diff * 3)); if (((block1 == 2) && (diff != "rookie")) && ((play == 7) || (play == 8))) { _root.field[arg].gotoAndPlay("run"); breakThru1 = true; } if ((block1 == 1) && ((diff != "rookie") || (playLength > 80))) { if ((((diff != "pro") && (playLength > 20)) || (play == 8)) || (play == 7)) { _root.field[arg].gotoAndPlay("run"); breakThru1 = true; } } } else { rgBlocking = false; } if (_root.field[alg].hitTest(_root.field[hlg]) && (breakThru2 == false)) { lgBlocking = true; _root.field[alg].gotoAndStop("blocking"); _root.field[hlg].gotoAndStop("blocking"); _root.field[alg]._rotation = _root.field[hlg]._rotation + 180; block2 = random(blockTime + (diff * 3)); if (((block2 == 2) && (diff != "rookie")) && ((play == 7) || (play == 8))) { _root.field[alg].gotoAndPlay("run"); breakThru2 = true; } if ((block2 == 1) && ((diff != "rookie") || (playLength > 80))) { if ((((diff != "pro") && (playLength > 20)) || (play == 8)) || (play == 7)) { _root.field[alg].gotoAndPlay("run"); breakThru2 = true; } } } else { lgBlocking = false; } if (_root.field[ac].hitTest(_root.field[hc]) && (breakThru3 == false)) { cBlocking = true; _root.field[ac].gotoAndStop("blocking"); _root.field[hc].gotoAndStop("blocking"); _root.field[ac]._rotation = _root.field[hc]._rotation + 180; block5 = random(blockTime + (diff * 3)); if (((block5 == 2) && (diff != "rookie")) && ((play == 7) || (play == 8))) { _root.field[ac].gotoAndPlay("run"); breakThru3 = true; } if ((block5 == 1) && (diff != "rookie")) { if ((((diff != "pro") && (playLength > 20)) || (play == 8)) || (play == 7)) { _root.field[ac].gotoAndPlay("run"); breakThru3 = true; } } } else { cBlocking = false; } } if (startPlay && (possession == "away")) { if (_root.field[hrg].hitTest(_root.field[arg]) && (breakThru1 == false)) { rgBlocking = true; _root.field[arg].gotoAndStop("blocking"); _root.field[hrg].gotoAndStop("blocking"); _root.field[hrg]._rotation = _root.field[arg]._rotation + 180; block1 = random((blockTime + 35) - diff); if (block1 == 1) { _root.field[hrg].gotoAndPlay("run"); breakThru1 = true; } } else { rgBlocking = false; } if (_root.field[hlg].hitTest(_root.field[alg]) && (breakThru2 == false)) { lgBlocking = true; _root.field[alg].gotoAndStop("blocking"); _root.field[hlg].gotoAndStop("blocking"); _root.field[hlg]._rotation = _root.field[alg]._rotation + 180; block2 = random((blockTime + 35) - diff); if (block2 == 1) { _root.field[hlg].gotoAndPlay("run"); breakThru2 = true; } } else { lgBlocking = false; } if (_root.field[hc].hitTest(_root.field[ac]) && (breakThru3 == false)) { cBlocking = true; _root.field[ac].gotoAndStop("blocking"); _root.field[hc].gotoAndStop("blocking"); _root.field[hc]._rotation = _root.field[ac]._rotation + 180; block5 = random((blockTime + 35) - diff); if (block5 == 1) { _root.field[hc].gotoAndPlay("run"); breakThru3 = true; } } else { cBlocking = false; } } } function determineDir() { if (possession == "home") { if ((currentDirWr1 != _root.field[hwr1]._rotation) && (ballHolder != ([homeTeam] + "_wr1"))) { wr1Delay++; if (wr1Delay > (7 + diff)) { wr1Delay = 0; currentDirWr1 = _root.field[hwr1]._rotation; } } if ((currentDirWr2 != _root.field[hwr2]._rotation) && (ballHolder != ([homeTeam] + "_wr2"))) { wr2Delay++; if (wr2Delay > (7 + diff)) { wr2Delay = 0; currentDirWr2 = _root.field[hwr2]._rotation; } } if ((currentDirRb != _root.field[hrb]._rotation) && (ballHolder != ([homeTeam] + "_rb"))) { rbDelay++; if (rbDelay > (7 + diff)) { rbDelay = 0; currentDirRb = _root.field[hrb]._rotation; } } } if (possession == "away") { if (((currentDirWr1 != _root.field[awr1]._rotation) && (ballHolder != ([awayTeam] + "_wr1"))) && (activePlayer != ([homeTeam] + "_wr1"))) { wr1Delay++; if (wr1Delay > (17 - diff)) { wr1Delay = 0; currentDirWr1 = _root.field[awr1]._rotation; } } if (((currentDirWr2 != _root.field[awr2]._rotation) && (ballHolder != ([awayTeam] + "_wr2"))) && (activePlayer != ([homeTeam] + "_wr2"))) { wr2Delay++; if (wr2Delay > (17 - diff)) { wr2Delay = 0; currentDirWr2 = _root.field[awr2]._rotation; } } if ((((currentDirRb != _root.field[arb]._rotation) && (ballHolder != ([awayTeam] + "_rb"))) && (_root.field[arb]._y < (ballOn + 5))) && (activePlayer != ([homeTeam] + "_rb"))) { rbDelay++; if (rbDelay > (17 - diff)) { rbDelay = 0; currentDirRb = _root.field[arb]._rotation; } } } if ((_root.field[ballHolder].hitTest(_root.field.endzone1) && (interception == false)) || (_root.field[ballHolder].hitTest(_root.field.endzone2) && (interception))) { _root.field.passInfo.gotoAndPlay("touchdown"); dance = true; if (justScored == false) { ballOn = 105; justScored = true; if (possession == "home") { homeScore = homeScore + 6; } else { awayScore = awayScore + 6; } } else { justScored = false; if (possession == "home") { possession = "away"; homeScore = homeScore + 2; } else { possession = "home"; awayScore = awayScore + 2; } kickOff(); } afterPlay(); } } function AIdefense() { if (startPlay && (possession == "home")) { determineDir(); if (ballInMot) { if ((((_root.field.ball.hitTest(_root.field[awr1]) && (_root.field.ball._xscale < (128 - (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) { intTimer1++; if (intTimer1 > 2) { ballHolder = [awayTeam] + "_wr1"; intProcess(); } } else { intTimer1 = 0; } if ((((_root.field.ball.hitTest(_root.field[awr2]) && (_root.field.ball._xscale < (128 - (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) { intTimer2++; if (intTimer2 > 2) { ballHolder = [awayTeam] + "_wr2"; intProcess(); } } else { intTimer2 = 0; } if ((((_root.field.ball.hitTest(_root.field[arb]) && (_root.field.ball._xscale < (128 - (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) { intTimer3++; if (intTimer3 > 2) { ballHolder = [awayTeam] + "_rb"; intProcess(); } } else { intTimer3 = 0; } if ((((_root.field.ball.hitTest(_root.field[aqb]) && (_root.field.ball._xscale < (128 - (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) { intTimer4++; if (intTimer4 > 2) { ballHolder = [awayTeam] + "_qb"; intProcess(); } } else { intTimer4 = 0; } if (((((_root.field.ball.hitTest(_root.field[ac]) && (_root.field.ball._xscale < (128 - (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (diff == "allstar")) && (justScored == false)) { intTimer5++; if (intTimer5 > 2) { ballHolder = [awayTeam] + "_c"; intProcess(); } } else { intTimer5 = 0; } } if (((((ballHolder == ([homeTeam] + "_qb")) && (_root.field.ball._y <= ballOn)) || (ballHolder == ([homeTeam] + "_wr1"))) || (ballHolder == ([homeTeam] + "_wr2"))) || (ballHolder == ([homeTeam] + "_rb"))) { wr1Target = ballHolder; wr2Target = ballHolder; rbTarget = ballHolder; qbTarget = ballHolder; cTarget = ballHolder; lgTarget = ballHolder; rgTarget = ballHolder; crossedLos = true; } if (((((Math.abs(_root.field[aqb]._y - _root.field[qbTarget]._y) < 60) || (qbTarget == ([homeTeam] + "_qb"))) || (play == 6)) || (play == 7)) || ((play == 10) && (play != 17))) { if (defQbRunning == false) { defQbRunning = true; _root.field[aqb].gotoAndPlay("run"); } if (_root.field[aqb]._y == _root.field[qbTarget]._y) { if (_root.field[aqb]._x < _root.field[qbTarget]._x) { _root.field[aqb]._rotation = 90; _root.field[aqb]._x = _root.field[aqb]._x + 2; } if (_root.field[aqb]._x > _root.field[qbTarget]._x) { _root.field[aqb]._rotation = 270; _root.field[aqb]._x = _root.field[aqb]._x - 2; } } if (_root.field[aqb]._y < _root.field[qbTarget]._y) { if (_root.field[aqb]._x < _root.field[qbTarget]._x) { _root.field[aqb]._y = _root.field[aqb]._y + 1.5; _root.field[aqb]._x = _root.field[aqb]._x + 1.5; _root.field[aqb]._rotation = 135; if (_root.field[aqb]._x > _root.field[qbTarget]._x) { _root.field[aqb]._x = _root.field[qbTarget]._x; } } else if (_root.field[aqb]._x > _root.field[qbTarget]._x) { _root.field[aqb]._y = _root.field[aqb]._y + 1.5; _root.field[aqb]._x = _root.field[aqb]._x - 1.5; _root.field[aqb]._rotation = 225; if (_root.field[aqb]._x < _root.field[qbTarget]._x) { _root.field[aqb]._x = _root.field[qbTarget]._x; } } else { _root.field[aqb]._y = _root.field[aqb]._y + 2; _root.field[aqb]._rotation = 180; } if (_root.field[aqb]._y > _root.field[qbTarget]._y) { _root.field[aqb]._y = _root.field[qbTarget]._y; } } if (_root.field[aqb]._y > _root.field[qbTarget]._y) { if (_root.field[aqb]._x < _root.field[qbTarget]._x) { _root.field[aqb]._y = _root.field[aqb]._y - 1.5; _root.field[aqb]._x = _root.field[aqb]._x + 1.5; _root.field[aqb]._rotation = 45; if (_root.field[aqb]._x > _root.field[qbTarget]._x) { _root.field[aqb]._x = _root.field[qbTarget]._x; } } else if (_root.field[aqb]._x > _root.field[qbTarget]._x) { _root.field[aqb]._y = _root.field[aqb]._y - 1.5; _root.field[aqb]._x = _root.field[aqb]._x - 1.5; _root.field[aqb]._rotation = 315; if (_root.field[aqb]._x < _root.field[qbTarget]._x) { _root.field[aqb]._x = _root.field[qbTarget]._x; } } else { _root.field[aqb]._y = _root.field[aqb]._y - 2; _root.field[aqb]._rotation = 0; } if (_root.field[aqb]._y < _root.field[qbTarget]._y) { _root.field[aqb]._y = _root.field[qbTarget]._y; } } } else { _root.field[aqb]._y = _root.field[aqb]._y - 0.5; if (defQbRunning == false) { defQbRunning = true; _root.field[aqb].gotoAndPlay("run"); } } if (cBlocking == false) { if (defCRunning == false) { defCRunning = true; _root.field[ac].gotoAndPlay("run"); } if (_root.field[ac]._y == _root.field[cTarget]._y) { if (_root.field[ac]._x < _root.field[cTarget]._x) { _root.field[ac]._rotation = 90; _root.field[ac]._x = _root.field[ac]._x + 1.7; } if (_root.field[ac]._x > _root.field[cTarget]._x) { _root.field[ac]._rotation = 270; _root.field[ac]._x = _root.field[ac]._x - 1.7; } } if (_root.field[ac]._y < _root.field[cTarget]._y) { if (_root.field[ac]._x < _root.field[cTarget]._x) { _root.field[ac]._y = _root.field[ac]._y + 1.2; _root.field[ac]._x = _root.field[ac]._x + 1.2; _root.field[ac]._rotation = 135; if (_root.field[ac]._x > _root.field[cTarget]._x) { _root.field[ac]._x = _root.field[cTarget]._x; } } else if (_root.field[ac]._x > _root.field[cTarget]._x) { _root.field[ac]._y = _root.field[ac]._y + 1.2; _root.field[ac]._x = _root.field[ac]._x - 1.2; _root.field[ac]._rotation = 225; if (_root.field[ac]._x < _root.field[cTarget]._x) { _root.field[ac]._x = _root.field[cTarget]._x; } } else { _root.field[ac]._y = _root.field[ac]._y + 1.7; _root.field[ac]._rotation = 180; } if (_root.field[ac]._y > _root.field[cTarget]._y) { _root.field[ac]._y = _root.field[cTarget]._y; } } if (_root.field[ac]._y > _root.field[cTarget]._y) { if (_root.field[ac]._x < _root.field[cTarget]._x) { _root.field[ac]._y = _root.field[ac]._y - 1.2; _root.field[ac]._x = _root.field[ac]._x + 1.2; _root.field[ac]._rotation = 45; if (_root.field[ac]._x > _root.field[cTarget]._x) { _root.field[ac]._x = _root.field[cTarget]._x; } } else if (_root.field[ac]._x > _root.field[cTarget]._x) { _root.field[ac]._y = _root.field[ac]._y - 1.2; _root.field[ac]._x = _root.field[ac]._x - 1.2; _root.field[ac]._rotation = 315; if (_root.field[ac]._x < _root.field[cTarget]._x) { _root.field[ac]._x = _root.field[cTarget]._x; } } else { _root.field[ac]._y = _root.field[ac]._y - 1.7; _root.field[ac]._rotation = 0; } if (_root.field[ac]._y < _root.field[cTarget]._y) { _root.field[ac]._y = _root.field[cTarget]._y; } } } if (wr1Delay == 0) { if (defWr1Running == false) { defWr1Running = true; _root.field[awr1].gotoAndPlay("run"); } if (_root.field[awr1]._y == _root.field[wr1Target]._y) { if (_root.field[awr1]._x < _root.field[wr1Target]._x) { _root.field[awr1]._rotation = 90; _root.field[awr1]._x = _root.field[awr1]._x + 1.9; } if (_root.field[awr1]._x > _root.field[wr1Target]._x) { _root.field[awr1]._rotation = 270; _root.field[awr1]._x = _root.field[awr1]._x - 1.9; } } if (_root.field[awr1]._y < _root.field[wr1Target]._y) { if (_root.field[awr1]._x < _root.field[wr1Target]._x) { _root.field[awr1]._y = _root.field[awr1]._y + 1.4; _root.field[awr1]._x = _root.field[awr1]._x + 1.4; _root.field[awr1]._rotation = 135; if (_root.field[awr1]._x > _root.field[wr1Target]._x) { _root.field[awr1]._x = _root.field[wr1Target]._x; } } else if (_root.field[awr1]._x > _root.field[wr1Target]._x) { _root.field[awr1]._y = _root.field[awr1]._y + 1.4; _root.field[awr1]._x = _root.field[awr1]._x - 1.4; _root.field[awr1]._rotation = 225; if (_root.field[awr1]._x < _root.field[wr1Target]._x) { _root.field[awr1]._x = _root.field[wr1Target]._x; } } else { _root.field[awr1]._y = _root.field[awr1]._y + 1.9; _root.field[awr1]._rotation = 180; } if (_root.field[awr1]._y > _root.field[wr1Target]._y) { _root.field[awr1]._y = _root.field[wr1Target]._y; } } if (_root.field[awr1]._y > _root.field[wr1Target]._y) { if (_root.field[awr1]._x < _root.field[wr1Target]._x) { _root.field[awr1]._y = _root.field[awr1]._y - 1.4; _root.field[awr1]._x = _root.field[awr1]._x + 1.4; _root.field[awr1]._rotation = 45; if (_root.field[awr1]._x > _root.field[wr1Target]._x) { _root.field[awr1]._x = _root.field[wr1Target]._x; } } else if (_root.field[awr1]._x > _root.field[wr1Target]._x) { _root.field[awr1]._y = _root.field[awr1]._y - 1.4; _root.field[awr1]._x = _root.field[awr1]._x - 1.4; _root.field[awr1]._rotation = 315; if (_root.field[awr1]._x < _root.field[wr1Target]._x) { _root.field[awr1]._x = _root.field[wr1Target]._x; } } else { _root.field[awr1]._y = _root.field[awr1]._y - 1.9; _root.field[awr1]._rotation = 0; } if (_root.field[awr1]._y < _root.field[wr1Target]._y) { _root.field[awr1]._y = _root.field[wr1Target]._y; } } } if (wr2Delay == 0) { if (defWr2Running == false) { defWr2Running = true; _root.field[awr2].gotoAndPlay("run"); } if (_root.field[awr2]._y == _root.field[wr2Target]._y) { if (_root.field[awr2]._x < _root.field[wr2Target]._x) { _root.field[awr2]._rotation = 90; _root.field[awr2]._x = _root.field[awr2]._x + 1.9; } if (_root.field[awr2]._x > _root.field[wr2Target]._x) { _root.field[awr2]._rotation = 270; _root.field[awr2]._x = _root.field[awr2]._x - 1.9; } } if (_root.field[awr2]._y < _root.field[wr2Target]._y) { if (_root.field[awr2]._x < _root.field[wr2Target]._x) { _root.field[awr2]._y = _root.field[awr2]._y + 1.4; _root.field[awr2]._x = _root.field[awr2]._x + 1.4; _root.field[awr2]._rotation = 135; if (_root.field[awr2]._x > _root.field[wr2Target]._x) { _root.field[awr2]._x = _root.field[wr2Target]._x; } } else if (_root.field[awr2]._x > _root.field[wr2Target]._x) { _root.field[awr2]._y = _root.field[awr2]._y + 1.4; _root.field[awr2]._x = _root.field[awr2]._x - 1.4; _root.field[awr2]._rotation = 225; if (_root.field[awr2]._x < _root.field[wr2Target]._x) { _root.field[awr2]._x = _root.field[wr2Target]._x; } } else { _root.field[awr2]._y = _root.field[awr2]._y + 1.9; _root.field[awr2]._rotation = 180; } if (_root.field[awr2]._y > _root.field[wr2Target]._y) { _root.field[awr2]._y = _root.field[wr2Target]._y; } } if (_root.field[awr2]._y > _root.field[wr2Target]._y) { if (_root.field[awr2]._x < _root.field[wr2Target]._x) { _root.field[awr2]._y = _root.field[awr2]._y - 1.4; _root.field[awr2]._x = _root.field[awr2]._x + 1.4; _root.field[awr2]._rotation = 45; if (_root.field[awr2]._x > _root.field[wr2Target]._x) { _root.field[awr2]._x = _root.field[wr2Target]._x; } } else if (_root.field[awr2]._x > _root.field[wr2Target]._x) { _root.field[awr2]._y = _root.field[awr2]._y - 1.4; _root.field[awr2]._x = _root.field[awr2]._x - 1.4; _root.field[awr2]._rotation = 315; if (_root.field[awr2]._x < _root.field[wr2Target]._x) { _root.field[awr2]._x = _root.field[wr2Target]._x; } } else { _root.field[awr2]._y = _root.field[awr2]._y - 1.9; _root.field[awr2]._rotation = 0; } if (_root.field[awr2]._y < _root.field[wr2Target]._y) { _root.field[awr2]._y = _root.field[wr2Target]._y; } } } if ((rbDelay == 0) && ((Math.abs(_root.field[aqb]._y - _root.field[qbTarget]._y) < 60) || (play < 9))) { if (defRbRunning == false) { defRbRunning = true; _root.field[arb].gotoAndPlay("run"); } if (_root.field[arb]._y == _root.field[rbTarget]._y) { if (_root.field[arb]._x < _root.field[rbTarget]._x) { _root.field[arb]._rotation = 90; _root.field[arb]._x = _root.field[arb]._x + 1.9; } if (_root.field[arb]._x > _root.field[rbTarget]._x) { _root.field[arb]._rotation = 270; _root.field[arb]._x = _root.field[arb]._x - 1.9; } } if (_root.field[arb]._y < _root.field[rbTarget]._y) { if (_root.field[arb]._x < _root.field[rbTarget]._x) { _root.field[arb]._y = _root.field[arb]._y + 1.4; _root.field[arb]._x = _root.field[arb]._x + 1.4; _root.field[arb]._rotation = 135; if (_root.field[arb]._x > _root.field[rbTarget]._x) { _root.field[arb]._x = _root.field[rbTarget]._x; } } else if (_root.field[arb]._x > _root.field[rbTarget]._x) { _root.field[arb]._y = _root.field[arb]._y + 1.4; _root.field[arb]._x = _root.field[arb]._x - 1.4; _root.field[arb]._rotation = 225; if (_root.field[arb]._x < _root.field[rbTarget]._x) { _root.field[arb]._x = _root.field[rbTarget]._x; } } else { _root.field[arb]._y = _root.field[arb]._y + 1.9; _root.field[arb]._rotation = 180; } if (_root.field[arb]._y > _root.field[rbTarget]._y) { _root.field[arb]._y = _root.field[rbTarget]._y; } } if (_root.field[arb]._y > _root.field[rbTarget]._y) { if (_root.field[arb]._x < _root.field[rbTarget]._x) { _root.field[arb]._y = _root.field[arb]._y - 1.4; _root.field[arb]._x = _root.field[arb]._x + 1.4; _root.field[arb]._rotation = 45; if (_root.field[arb]._x > _root.field[rbTarget]._x) { _root.field[arb]._x = _root.field[rbTarget]._x; } } else if (_root.field[arb]._x > _root.field[rbTarget]._x) { _root.field[arb]._y = _root.field[arb]._y - 1.4; _root.field[arb]._x = _root.field[arb]._x - 1.4; _root.field[arb]._rotation = 315; if (_root.field[arb]._x < _root.field[rbTarget]._x) { _root.field[arb]._x = _root.field[rbTarget]._x; } } else { _root.field[arb]._y = _root.field[arb]._y - 1.9; _root.field[arb]._rotation = 0; } if (_root.field[arb]._y < _root.field[rbTarget]._y) { _root.field[arb]._y = _root.field[rbTarget]._y; } } } if ((Math.abs(_root.field[arg]._y - _root.field[rgTarget]._y) < 550) && (rgBlocking == false)) { if (defRgRunning == false) { defRgRunning = true; _root.field[arg].gotoAndPlay("run"); } if (_root.field[arg]._y == _root.field[rgTarget]._y) { if (_root.field[arg]._x < _root.field[rgTarget]._x) { _root.field[arg]._rotation = 90; _root.field[arg]._x = _root.field[arg]._x + 1.6; } if (_root.field[arg]._x > _root.field[rgTarget]._x) { _root.field[arg]._rotation = 270; _root.field[arg]._x = _root.field[arg]._x - 1.6; } } if (_root.field[arg]._y < _root.field[rgTarget]._y) { if (_root.field[arg]._x < _root.field[rgTarget]._x) { _root.field[arg]._y = _root.field[arg]._y + 1.3; _root.field[arg]._x = _root.field[arg]._x + 1.3; _root.field[arg]._rotation = 135; if (_root.field[arg]._x > _root.field[rgTarget]._x) { _root.field[arg]._x = _root.field[rgTarget]._x; } } else if (_root.field[arg]._x > _root.field[rgTarget]._x) { _root.field[arg]._y = _root.field[arg]._y + 1.3; _root.field[arg]._x = _root.field[arg]._x - 1.3; _root.field[arg]._rotation = 225; if (_root.field[arg]._x < _root.field[rgTarget]._x) { _root.field[arg]._x = _root.field[rgTarget]._x; } } else { _root.field[arg]._y = _root.field[arg]._y + 1.6; _root.field[arg]._rotation = 180; } if (_root.field[arg]._y > _root.field[rgTarget]._y) { _root.field[arg]._y = _root.field[rgTarget]._y; } } if (_root.field[arg]._y > _root.field[rgTarget]._y) { if (_root.field[arg]._x < _root.field[rgTarget]._x) { _root.field[arg]._y = _root.field[arg]._y - 1.3; _root.field[arg]._x = _root.field[arg]._x + 1.3; _root.field[arg]._rotation = 45; if (_root.field[arg]._x > _root.field[rgTarget]._x) { _root.field[arg]._x = _root.field[rgTarget]._x; } } else if (_root.field[arg]._x > _root.field[rgTarget]._x) { _root.field[arg]._y = _root.field[arg]._y - 1.3; _root.field[arg]._x = _root.field[arg]._x - 1.3; _root.field[arg]._rotation = 315; if (_root.field[arg]._x < _root.field[rgTarget]._x) { _root.field[arg]._x = _root.field[rgTarget]._x; } } else { _root.field[arg]._y = _root.field[arg]._y - 1.6; _root.field[arg]._rotation = 0; } if (_root.field[arg]._y < _root.field[rgTarget]._y) { _root.field[arg]._y = _root.field[rgTarget]._y; } } } if ((Math.abs(_root.field[alg]._y - _root.field[lgTarget]._y) < 550) && (lgBlocking == false)) { if (defLgRunning == false) { defLgRunning = true; _root.field[alg].gotoAndPlay("run"); } if (_root.field[alg]._y == _root.field[lgTarget]._y) { if (_root.field[alg]._x < _root.field[lgTarget]._x) { _root.field[alg]._rotation = 90; _root.field[alg]._x = _root.field[alg]._x + 1.6; } if (_root.field[alg]._x > _root.field[lgTarget]._x) { _root.field[alg]._rotation = 270; _root.field[alg]._x = _root.field[alg]._x - 1.6; } } if (_root.field[alg]._y < _root.field[lgTarget]._y) { if (_root.field[alg]._x < _root.field[lgTarget]._x) { _root.field[alg]._y = _root.field[alg]._y + 1.3; _root.field[alg]._x = _root.field[alg]._x + 1.3; _root.field[alg]._rotation = 135; if (_root.field[alg]._x > _root.field[lgTarget]._x) { _root.field[alg]._x = _root.field[lgTarget]._x; } } else if (_root.field[alg]._x > _root.field[lgTarget]._x) { _root.field[alg]._y = _root.field[alg]._y + 1.3; _root.field[alg]._x = _root.field[alg]._x - 1.3; _root.field[alg]._rotation = 225; if (_root.field[alg]._x < _root.field[lgTarget]._x) { _root.field[alg]._x = _root.field[lgTarget]._x; } } else { _root.field[alg]._y = _root.field[alg]._y + 1.6; _root.field[alg]._rotation = 180; } if (_root.field[alg]._y > _root.field[lgTarget]._y) { _root.field[alg]._y = _root.field[lgTarget]._y; } } if (_root.field[alg]._y > _root.field[lgTarget]._y) { if (_root.field[alg]._x < _root.field[lgTarget]._x) { _root.field[alg]._y = _root.field[alg]._y - 1.3; _root.field[alg]._x = _root.field[alg]._x + 1.3; _root.field[alg]._rotation = 45; if (_root.field[alg]._x > _root.field[lgTarget]._x) { _root.field[alg]._x = _root.field[lgTarget]._x; } } else if (_root.field[alg]._x > _root.field[lgTarget]._x) { _root.field[alg]._y = _root.field[alg]._y - 1.3; _root.field[alg]._x = _root.field[alg]._x - 1.3; _root.field[alg]._rotation = 315; if (_root.field[alg]._x < _root.field[lgTarget]._x) { _root.field[alg]._x = _root.field[lgTarget]._x; } } else { _root.field[alg]._y = _root.field[alg]._y - 1.6; _root.field[alg]._rotation = 0; } if (_root.field[alg]._y < _root.field[lgTarget]._y) { _root.field[alg]._y = _root.field[lgTarget]._y; } } } } if (startPlay && (possession == "away")) { determineDir(); if (ballInMot) { if (((((_root.field.ball.hitTest(_root.field[hwr1]) && (_root.field.ball._xscale < (123 + (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) && (interception == false)) { intTimer1++; if (intTimer1 > 2) { ballHolder = [homeTeam] + "_wr1"; intProcess(); } } else { intTimer1 = 0; } if (((((_root.field.ball.hitTest(_root.field[hwr2]) && (_root.field.ball._xscale < (123 + (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) && (interception == false)) { intTimer2++; if (intTimer2 > 2) { ballHolder = [homeTeam] + "_wr2"; intProcess(); } } else { intTimer2 = 0; } if (((((_root.field.ball.hitTest(_root.field[hrb]) && (_root.field.ball._xscale < (123 + (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) && (interception == false)) { intTimer3++; if (intTimer3 > 2) { ballHolder = [homeTeam] + "_rb"; intProcess(); } } else { intTimer3 = 0; } if (((((_root.field.ball.hitTest(_root.field[hqb]) && (_root.field.ball._xscale < (123 + (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) && (interception == false)) { intTimer4++; if (intTimer4 > 2) { ballHolder = [homeTeam] + "_qb"; intProcess(); } } else { intTimer4 = 0; } if (((((_root.field.ball.hitTest(_root.field[hc]) && (_root.field.ball._xscale < (123 + (diff / 2)))) && (step > (numOfMoves / 2))) && (skid == false)) && (justScored == false)) && (interception == false)) { intTimer5++; if (intTimer5 > 2) { ballHolder = [homeTeam] + "_c"; intProcess(); } } else { intTimer5 = 0; } } if (((((ballHolder == ([awayTeam] + "_qb")) && (_root.field.ball._y <= ballOn)) || (ballHolder == ([awayTeam] + "_wr1"))) || (ballHolder == ([awayTeam] + "_wr2"))) || (ballHolder == ([awayTeam] + "_rb"))) { wr1Target = ballHolder; wr2Target = ballHolder; rbTarget = ballHolder; qbTarget = ballHolder; cTarget = ballHolder; lgTarget = ballHolder; rgTarget = ballHolder; } if (((((((((Math.abs(_root.field[hqb]._y - _root.field[qbTarget]._y) < 100) || (qbTarget == ([awayTeam] + "_qb"))) || (play == 4)) || (play == 6)) || (play == 7)) || (play == 10)) && (activePlayer != ([homeTeam] + "_qb"))) && (!_root.field[ballHolder].hitTest(_root.field.endzone1))) && (!_root.field[ballHolder].hitTest(_root.field.endzone2))) { if (defQbRunning == false) { defQbRunning = true; _root.field[hqb].gotoAndPlay("run"); } if (_root.field[hqb]._y == _root.field[qbTarget]._y) { if (_root.field[hqb]._x < _root.field[qbTarget]._x) { _root.field[hqb]._rotation = 90; _root.field[hqb]._x = _root.field[hqb]._x + 2; } if (_root.field[hqb]._x > _root.field[qbTarget]._x) { _root.field[hqb]._rotation = 270; _root.field[hqb]._x = _root.field[hqb]._x - 2; } } if (_root.field[hqb]._y < _root.field[qbTarget]._y) { if (_root.field[hqb]._x < _root.field[qbTarget]._x) { _root.field[hqb]._y = _root.field[hqb]._y + 1.5; _root.field[hqb]._x = _root.field[hqb]._x + 1.5; _root.field[hqb]._rotation = 135; if (_root.field[hqb]._x > _root.field[qbTarget]._x) { _root.field[hqb]._x = _root.field[qbTarget]._x; } } else if (_root.field[hqb]._x > _root.field[qbTarget]._x) { _root.field[hqb]._y = _root.field[hqb]._y + 1.5; _root.field[hqb]._x = _root.field[hqb]._x - 1.5; _root.field[hqb]._rotation = 225; if (_root.field[hqb]._x < _root.field[qbTarget]._x) { _root.field[hqb]._x = _root.field[qbTarget]._x; } } else { _root.field[hqb]._y = _root.field[hqb]._y + 2; _root.field[hqb]._rotation = 180; } if (_root.field[hqb]._y > _root.field[qbTarget]._y) { _root.field[hqb]._y = _root.field[qbTarget]._y; } } if (_root.field[hqb]._y > _root.field[qbTarget]._y) { if (_root.field[hqb]._x < _root.field[qbTarget]._x) { _root.field[hqb]._y = _root.field[hqb]._y - 1.5; _root.field[hqb]._x = _root.field[hqb]._x + 1.5; _root.field[hqb]._rotation = 45; if (_root.field[hqb]._x > _root.field[qbTarget]._x) { _root.field[hqb]._x = _root.field[qbTarget]._x; } } else if (_root.field[hqb]._x > _root.field[qbTarget]._x) { _root.field[hqb]._y = _root.field[hqb]._y - 1.5; _root.field[hqb]._x = _root.field[hqb]._x - 1.5; _root.field[hqb]._rotation = 315; if (_root.field[hqb]._x < _root.field[qbTarget]._x) { _root.field[hqb]._x = _root.field[qbTarget]._x; } } else { _root.field[hqb]._y = _root.field[hqb]._y - 2; _root.field[hqb]._rotation = 0; } if (_root.field[hqb]._y < _root.field[qbTarget]._y) { _root.field[hqb]._y = _root.field[qbTarget]._y; } } } else if (defQbRunning == false) { defQbRunning = true; _root.field[hqb].gotoAndPlay("run"); } if ((((cBlocking == false) && (activePlayer != ([homeTeam] + "_c"))) && (!_root.field[ballHolder].hitTest(_root.field.endzone1))) && (!_root.field[ballHolder].hitTest(_root.field.endzone2))) { if (defCRunning == false) { defCRunning = true; _root.field[hc].gotoAndPlay("run"); } if (_root.field[hc]._y == _root.field[cTarget]._y) { if (_root.field[hc]._x < _root.field[cTarget]._x) { _root.field[hc]._rotation = 90; _root.field[hc]._x = _root.field[hc]._x + 1.7; } if (_root.field[hc]._x > _root.field[cTarget]._x) { _root.field[hc]._rotation = 270; _root.field[hc]._x = _root.field[hc]._x - 1.7; } } if (_root.field[hc]._y < _root.field[cTarget]._y) { if (_root.field[hc]._x < _root.field[cTarget]._x) { _root.field[hc]._y = _root.field[hc]._y + 1.2; _root.field[hc]._x = _root.field[hc]._x + 1.2; _root.field[hc]._rotation = 135; if (_root.field[hc]._x > _root.field[cTarget]._x) { _root.field[hc]._x = _root.field[cTarget]._x; } } else if (_root.field[hc]._x > _root.field[cTarget]._x) { _root.field[hc]._y = _root.field[hc]._y + 1.2; _root.field[hc]._x = _root.field[hc]._x - 1.2; _root.field[hc]._rotation = 225; if (_root.field[hc]._x < _root.field[cTarget]._x) { _root.field[hc]._x = _root.field[cTarget]._x; } } else { _root.field[hc]._y = _root.field[hc]._y + 1.7; _root.field[hc]._rotation = 180; } if (_root.field[hc]._y > _root.field[cTarget]._y) { _root.field[hc]._y = _root.field[cTarget]._y; } } if (_root.field[hc]._y > _root.field[cTarget]._y) { if (_root.field[hc]._x < _root.field[cTarget]._x) { _root.field[hc]._y = _root.field[hc]._y - 1.2; _root.field[hc]._x = _root.field[hc]._x + 1.2; _root.field[hc]._rotation = 45; if (_root.field[hc]._x > _root.field[cTarget]._x) { _root.field[hc]._x = _root.field[cTarget]._x; } } else if (_root.field[hc]._x > _root.field[cTarget]._x) { _root.field[hc]._y = _root.field[hc]._y - 1.2; _root.field[hc]._x = _root.field[hc]._x - 1.2; _root.field[hc]._rotation = 315; if (_root.field[hc]._x < _root.field[cTarget]._x) { _root.field[hc]._x = _root.field[cTarget]._x; } } else { _root.field[hc]._y = _root.field[hc]._y - 1.7; _root.field[hc]._rotation = 0; } if (_root.field[hc]._y < _root.field[cTarget]._y) { _root.field[hc]._y = _root.field[cTarget]._y; } } } if ((((wr1Delay == 0) && (activePlayer != ([homeTeam] + "_wr1"))) && (!_root.field[ballHolder].hitTest(_root.field.endzone1))) && (!_root.field[ballHolder].hitTest(_root.field.endzone2))) { if (defWr1Running == false) { defWr1Running = true; _root.field[hwr1].gotoAndPlay("run"); } if (_root.field[hwr1]._y == _root.field[wr1Target]._y) { if (_root.field[hwr1]._x < _root.field[wr1Target]._x) { _root.field[hwr1]._rotation = 90; _root.field[hwr1]._x = _root.field[hwr1]._x + 1.9; } if (_root.field[hwr1]._x > _root.field[wr1Target]._x) { _root.field[hwr1]._rotation = 270; _root.field[hwr1]._x = _root.field[hwr1]._x - 1.9; } } if (_root.field[hwr1]._y < _root.field[wr1Target]._y) { if (_root.field[hwr1]._x < _root.field[wr1Target]._x) { _root.field[hwr1]._y = _root.field[hwr1]._y + 1.4; _root.field[hwr1]._x = _root.field[hwr1]._x + 1.4; _root.field[hwr1]._rotation = 135; if (_root.field[hwr1]._x > _root.field[wr1Target]._x) { _root.field[hwr1]._x = _root.field[wr1Target]._x; } } else if (_root.field[hwr1]._x > _root.field[wr1Target]._x) { _root.field[hwr1]._y = _root.field[hwr1]._y + 1.4; _root.field[hwr1]._x = _root.field[hwr1]._x - 1.4; _root.field[hwr1]._rotation = 225; if (_root.field[hwr1]._x < _root.field[wr1Target]._x) { _root.field[hwr1]._x = _root.field[wr1Target]._x; } } else { _root.field[hwr1]._y = _root.field[hwr1]._y + 1.9; _root.field[hwr1]._rotation = 180; } if (_root.field[hwr1]._y > _root.field[wr1Target]._y) { _root.field[hwr1]._y = _root.field[wr1Target]._y; } } if (_root.field[hwr1]._y > _root.field[wr1Target]._y) { if (_root.field[hwr1]._x < _root.field[wr1Target]._x) { _root.field[hwr1]._y = _root.field[hwr1]._y - 1.4; _root.field[hwr1]._x = _root.field[hwr1]._x + 1.4; _root.field[hwr1]._rotation = 45; if (_root.field[hwr1]._x > _root.field[wr1Target]._x) { _root.field[hwr1]._x = _root.field[wr1Target]._x; } } else if (_root.field[hwr1]._x > _root.field[wr1Target]._x) { _root.field[hwr1]._y = _root.field[hwr1]._y - 1.4; _root.field[hwr1]._x = _root.field[hwr1]._x - 1.4; _root.field[hwr1]._rotation = 315; if (_root.field[hwr1]._x < _root.field[wr1Target]._x) { _root.field[hwr1]._x = _root.field[wr1Target]._x; } } else { _root.field[hwr1]._y = _root.field[hwr1]._y - 1.9; _root.field[hwr1]._rotation = 0; } if (_root.field[hwr1]._y < _root.field[wr1Target]._y) { _root.field[hwr1]._y = _root.field[wr1Target]._y; } } } if ((((wr2Delay == 0) && (activePlayer != ([homeTeam] + "_wr2"))) && (!_root.field[ballHolder].hitTest(_root.field.endzone1))) && (!_root.field[ballHolder].hitTest(_root.field.endzone2))) { if (defWr2Running == false) { defWr2Running = true; _root.field[hwr2].gotoAndPlay("run"); } if (_root.field[hwr2]._y == _root.field[wr2Target]._y) { if (_root.field[hwr2]._x < _root.field[wr2Target]._x) { _root.field[hwr2]._rotation = 90; _root.field[hwr2]._x = _root.field[hwr2]._x + 1.9; } if (_root.field[hwr2]._x > _root.field[wr2Target]._x) { _root.field[hwr2]._rotation = 270; _root.field[hwr2]._x = _root.field[hwr2]._x - 1.9; } } if (_root.field[hwr2]._y < _root.field[wr2Target]._y) { if (_root.field[hwr2]._x < _root.field[wr2Target]._x) { _root.field[hwr2]._y = _root.field[hwr2]._y + 1.4; _root.field[hwr2]._x = _root.field[hwr2]._x + 1.4; _root.field[hwr2]._rotation = 135; if (_root.field[hwr2]._x > _root.field[wr2Target]._x) { _root.field[hwr2]._x = _root.field[wr2Target]._x; } } else if (_root.field[hwr2]._x > _root.field[wr2Target]._x) { _root.field[hwr2]._y = _root.field[hwr2]._y + 1.4; _root.field[hwr2]._x = _root.field[hwr2]._x - 1.4; _root.field[hwr2]._rotation = 225; if (_root.field[hwr2]._x < _root.field[wr2Target]._x) { _root.field[hwr2]._x = _root.field[wr2Target]._x; } } else { _root.field[hwr2]._y = _root.field[hwr2]._y + 1.9; _root.field[hwr2]._rotation = 180; } if (_root.field[hwr2]._y > _root.field[wr2Target]._y) { _root.field[hwr2]._y = _root.field[wr2Target]._y; } } if (_root.field[hwr2]._y > _root.field[wr2Target]._y) { if (_root.field[hwr2]._x < _root.field[wr2Target]._x) { _root.field[hwr2]._y = _root.field[hwr2]._y - 1.4; _root.field[hwr2]._x = _root.field[hwr2]._x + 1.4; _root.field[hwr2]._rotation = 45; if (_root.field[hwr2]._x > _root.field[wr2Target]._x) { _root.field[hwr2]._x = _root.field[wr2Target]._x; } } else if (_root.field[hwr2]._x > _root.field[wr2Target]._x) { _root.field[hwr2]._y = _root.field[hwr2]._y - 1.4; _root.field[hwr2]._x = _root.field[hwr2]._x - 1.4; _root.field[hwr2]._rotation = 315; if (_root.field[hwr2]._x < _root.field[wr2Target]._x) { _root.field[hwr2]._x = _root.field[wr2Target]._x; } } else { _root.field[hwr2]._y = _root.field[hwr2]._y - 1.9; _root.field[hwr2]._rotation = 0; } if (_root.field[hwr2]._y < _root.field[wr2Target]._y) { _root.field[hwr2]._y = _root.field[wr2Target]._y; } } } if (((((rbDelay == 0) && ((Math.abs(_root.field[hqb]._y - _root.field[qbTarget]._y) < 60) || (play < 9))) && (activePlayer != ([homeTeam] + "_rb"))) && (!_root.field[ballHolder].hitTest(_root.field.endzone1))) && (!_root.field[ballHolder].hitTest(_root.field.endzone2))) { if (defRbRunning == false) { defRbRunning = true; _root.field[hrb].gotoAndPlay("run"); } if (_root.field[hrb]._y == _root.field[rbTarget]._y) { if (_root.field[hrb]._x < _root.field[rbTarget]._x) { _root.field[hrb]._rotation = 90; _root.field[hrb]._x = _root.field[hrb]._x + 1.9; } if (_root.field[hrb]._x > _root.field[rbTarget]._x) { _root.field[hrb]._rotation = 270; _root.field[hrb]._x = _root.field[hrb]._x - 1.9; } } if (_root.field[hrb]._y < _root.field[rbTarget]._y) { if (_root.field[hrb]._x < _root.field[rbTarget]._x) { _root.field[hrb]._y = _root.field[hrb]._y + 1.4; _root.field[hrb]._x = _root.field[hrb]._x + 1.4; _root.field[hrb]._rotation = 135; if (_root.field[hrb]._x > _root.field[rbTarget]._x) { _root.field[hrb]._x = _root.field[rbTarget]._x; } } else if (_root.field[hrb]._x > _root.field[rbTarget]._x) { _root.field[hrb]._y = _root.field[hrb]._y + 1.4; _root.field[hrb]._x = _root.field[hrb]._x - 1.4; _root.field[hrb]._rotation = 225; if (_root.field[hrb]._x < _root.field[rbTarget]._x) { _root.field[hrb]._x = _root.field[rbTarget]._x; } } else { _root.field[hrb]._y = _root.field[hrb]._y + 1.9; _root.field[hrb]._rotation = 180; } if (_root.field[hrb]._y > _root.field[rbTarget]._y) { _root.field[hrb]._y = _root.field[rbTarget]._y; } } if (_root.field[hrb]._y > _root.field[rbTarget]._y) { if (_root.field[hrb]._x < _root.field[rbTarget]._x) { _root.field[hrb]._y = _root.field[hrb]._y - 1.4; _root.field[hrb]._x = _root.field[hrb]._x + 1.4; _root.field[hrb]._rotation = 45; if (_root.field[hrb]._x > _root.field[rbTarget]._x) { _root.field[hrb]._x = _root.field[rbTarget]._x; } } else if (_root.field[hrb]._x > _root.field[rbTarget]._x) { _root.field[hrb]._y = _root.field[hrb]._y - 1.4; _root.field[hrb]._x = _root.field[hrb]._x - 1.4; _root.field[hrb]._rotation = 315; if (_root.field[hrb]._x < _root.field[rbTarget]._x) { _root.field[hrb]._x = _root.field[rbTarget]._x; } } else { _root.field[hrb]._y = _root.field[hrb]._y - 1.9; _root.field[hrb]._rotation = 0; } if (_root.field[hrb]._y < _root.field[rbTarget]._y) { _root.field[hrb]._y = _root.field[rbTarget]._y; } } } if (((((Math.abs(_root.field[hrg]._y - _root.field[rgTarget]._y) < 550) && (rgBlocking == false)) && (activePlayer != ([homeTeam] + "_rg"))) && (!_root.field[ballHolder].hitTest(_root.field.endzone1))) && (!_root.field[ballHolder].hitTest(_root.field.endzone2))) { if (defRgRunning == false) { defRgRunning = true; _root.field[hrg].gotoAndPlay("run"); } if (_root.field[hrg]._y == _root.field[rgTarget]._y) { if (_root.field[hrg]._x < _root.field[rgTarget]._x) { _root.field[hrg]._rotation = 90; _root.field[hrg]._x = _root.field[hrg]._x + 1.6; } if (_root.field[hrg]._x > _root.field[rgTarget]._x) { _root.field[hrg]._rotation = 270; _root.field[hrg]._x = _root.field[hrg]._x - 1.6; } } if (_root.field[hrg]._y < _root.field[rgTarget]._y) { if (_root.field[hrg]._x < _root.field[rgTarget]._x) { _root.field[hrg]._y = _root.field[hrg]._y + 1.3; _root.field[hrg]._x = _root.field[hrg]._x + 1.3; _root.field[hrg]._rotation = 135; if (_root.field[hrg]._x > _root.field[rgTarget]._x) { _root.field[hrg]._x = _root.field[rgTarget]._x; } } else if (_root.field[hrg]._x > _root.field[rgTarget]._x) { _root.field[hrg]._y = _root.field[hrg]._y + 1.3; _root.field[hrg]._x = _root.field[hrg]._x - 1.3; _root.field[hrg]._rotation = 225; if (_root.field[hrg]._x < _root.field[rgTarget]._x) { _root.field[hrg]._x = _root.field[rgTarget]._x; } } else { _root.field[hrg]._y = _root.field[hrg]._y + 1.6; _root.field[hrg]._rotation = 180; } if (_root.field[hrg]._y > _root.field[rgTarget]._y) { _root.field[hrg]._y = _root.field[rgTarget]._y; } } if (_root.field[hrg]._y > _root.field[rgTarget]._y) { if (_root.field[hrg]._x < _root.field[rgTarget]._x) { _root.field[hrg]._y = _root.field[hrg]._y - 1.3; _root.field[hrg]._x = _root.field[hrg]._x + 1.3; _root.field[hrg]._rotation = 45; if (_root.field[hrg]._x > _root.field[rgTarget]._x) { _root.field[hrg]._x = _root.field[rgTarget]._x; } } else if (_root.field[hrg]._x > _root.field[rgTarget]._x) { _root.field[hrg]._y = _root.field[hrg]._y - 1.3; _root.field[hrg]._x = _root.field[hrg]._x - 1.3; _root.field[hrg]._rotation = 315; if (_root.field[hrg]._x < _root.field[rgTarget]._x) { _root.field[hrg]._x = _root.field[rgTarget]._x; } } else { _root.field[hrg]._y = _root.field[hrg]._y - 1.6; _root.field[hrg]._rotation = 0; } if (_root.field[hrg]._y < _root.field[rgTarget]._y) { _root.field[hrg]._y = _root.field[rgTarget]._y; } } } if (((((Math.abs(_root.field[hlg]._y - _root.field[lgTarget]._y) < 550) && (lgBlocking == false)) && (activePlayer != ([homeTeam] + "_lg"))) && (!_root.field[ballHolder].hitTest(_root.field.endzone1))) && (!_root.field[ballHolder].hitTest(_root.field.endzone2))) { if (defLgRunning == false) { defLgRunning = true; _root.field[hlg].gotoAndPlay("run"); } if (_root.field[hlg]._y == _root.field[lgTarget]._y) { if (_root.field[hlg]._x < _root.field[lgTarget]._x) { _root.field[hlg]._rotation = 90; _root.field[hlg]._x = _root.field[hlg]._x + 1.6; } if (_root.field[hlg]._x > _root.field[lgTarget]._x) { _root.field[hlg]._rotation = 270; _root.field[hlg]._x = _root.field[hlg]._x - 1.6; } } if (_root.field[hlg]._y < _root.field[lgTarget]._y) { if (_root.field[hlg]._x < _root.field[lgTarget]._x) { _root.field[hlg]._y = _root.field[hlg]._y + 1.3; _root.field[hlg]._x = _root.field[hlg]._x + 1.3; _root.field[hlg]._rotation = 135; if (_root.field[hlg]._x > _root.field[lgTarget]._x) { _root.field[hlg]._x = _root.field[lgTarget]._x; } } else if (_root.field[hlg]._x > _root.field[lgTarget]._x) { _root.field[hlg]._y = _root.field[hlg]._y + 1.3; _root.field[hlg]._x = _root.field[hlg]._x - 1.3; _root.field[hlg]._rotation = 225; if (_root.field[hlg]._x < _root.field[lgTarget]._x) { _root.field[hlg]._x = _root.field[lgTarget]._x; } } else { _root.field[hlg]._y = _root.field[hlg]._y + 1.6; _root.field[hlg]._rotation = 180; } if (_root.field[hlg]._y > _root.field[lgTarget]._y) { _root.field[hlg]._y = _root.field[lgTarget]._y; } } if (_root.field[hlg]._y > _root.field[lgTarget]._y) { if (_root.field[hlg]._x < _root.field[lgTarget]._x) { _root.field[hlg]._y = _root.field[hlg]._y - 1.3; _root.field[hlg]._x = _root.field[hlg]._x + 1.3; _root.field[hlg]._rotation = 45; if (_root.field[hlg]._x > _root.field[lgTarget]._x) { _root.field[hlg]._x = _root.field[lgTarget]._x; } } else if (_root.field[hlg]._x > _root.field[lgTarget]._x) { _root.field[hlg]._y = _root.field[hlg]._y - 1.3; _root.field[hlg]._x = _root.field[hlg]._x - 1.3; _root.field[hlg]._rotation = 315; if (_root.field[hlg]._x < _root.field[lgTarget]._x) { _root.field[hlg]._x = _root.field[lgTarget]._x; } } else { _root.field[hlg]._y = _root.field[hlg]._y - 1.6; _root.field[hlg]._rotation = 0; } if (_root.field[hlg]._y < _root.field[lgTarget]._y) { _root.field[hlg]._y = _root.field[lgTarget]._y; } } } } } function setRing() { _root.field.ring._rotation = _root.field[activePlayer]._rotation; if (_root.field.ring._rotation == 0) { _root.field.ring._y = _root.field[activePlayer]._y + 8; _root.field.ring._x = _root.field[activePlayer]._x; } else if ((_root.field.ring._rotation == 45) || (_root.field.ring._rotation == -315)) { _root.field.ring._x = _root.field[activePlayer]._x - 4.5; _root.field.ring._y = _root.field[activePlayer]._y + 5.5; } else if ((_root.field.ring._rotation == 90) || (_root.field.ring._rotation == -270)) { _root.field.ring._x = _root.field[activePlayer]._x - 8; _root.field.ring._y = _root.field[activePlayer]._y; } else if ((_root.field.ring._rotation == 135) || (_root.field.ring._rotation == -225)) { _root.field.ring._x = _root.field[activePlayer]._x - 5.5; _root.field.ring._y = _root.field[activePlayer]._y - 5.5; } else if ((_root.field.ring._rotation == 180) || (_root.field.ring._rotation == -180)) { _root.field.ring._y = _root.field[activePlayer]._y - 8; _root.field.ring._x = _root.field[activePlayer]._x; } else if ((_root.field.ring._rotation == 225) || (_root.field.ring._rotation == -135)) { _root.field.ring._x = _root.field[activePlayer]._x + 5.5; _root.field.ring._y = _root.field[activePlayer]._y - 5.5; } else if ((_root.field.ring._rotation == 270) || (_root.field.ring._rotation == -90)) { _root.field.ring._x = _root.field[activePlayer]._x + 8; _root.field.ring._y = _root.field[activePlayer]._y; } else if ((_root.field.ring._rotation == 315) || (_root.field.ring._rotation == -45)) { _root.field.ring._x = _root.field[activePlayer]._x + 4.5; _root.field.ring._y = _root.field[activePlayer]._y + 5.5; } } function moveSelected() { if (possession == "away") { if (!Key.isDown(32)) { allowChange = true; } if (Key.isDown(32) && (allowChange)) { if ((activePlayer == ([homeTeam] + "_wr1")) && (allowChange)) { activePlayer = [homeTeam] + "_qb"; allowChange = false; } if ((activePlayer == ([homeTeam] + "_qb")) && (allowChange)) { activePlayer = [homeTeam] + "_wr2"; allowChange = false; } if ((activePlayer == ([homeTeam] + "_wr2")) && (allowChange)) { activePlayer = [homeTeam] + "_rb"; allowChange = false; } if ((activePlayer == ([homeTeam] + "_rb")) && (allowChange)) { activePlayer = [homeTeam] + "_wr1"; allowChange = false; } if (((activePlayer == ([homeTeam] + "_rg")) || (activePlayer == ([homeTeam] + "_lg"))) || (activePlayer == ([homeTeam] + "_c"))) { activePlayer = [homeTeam] + "_qb"; allowChange = false; } if (allowChange == false) { setRing(); } } } if (startPlay == true) { if (((ballHolder == ([homeTeam] + "_c")) && (possession == "home")) && (interception == false)) { _root.field.ball._visible = true; handingBall = true; _root.field.ball._y = _root.field.ball._y + 3; if (_root.field.ball.hitTest(_root.field[hqb]) || (_root.field.ball.hitTest(_root.field[hwr1]))) { kickBall = true; ballHolder = [homeTeam] + "_qb"; handingBall = false; _root.field.ball._visible = false; _root.field[hqb].gotoAndStop("standwball"); alreadyRunning = false; activePlayer = [homeTeam] + "_qb"; } } if (((ballHolder == ([awayTeam] + "_c")) && (possession == "away")) && (interception == false)) { _root.field.ball._visible = true; handingBall = true; _root.field.ball._y = _root.field.ball._y + 3; if (_root.field.ball.hitTest(_root.field[aqb]) || (_root.field.ball.hitTest(_root.field[awr1]))) { kickBall = true; ballHolder = [awayTeam] + "_qb"; handingBall = false; _root.field.ball._visible = false; _root.field[aqb].gotoAndStop("standwball"); } } if (Key.isDown(38) || ((Key.isDown(87) && (handingBall == false)) && ((play != 17) || (play != 16)))) { running = true; if (Key.isDown(37) || (Key.isDown(65))) { _root.field[activePlayer]._rotation = 315; _root.field.ring._rotation = 315; if (possession == "away") { _root.field[activePlayer]._y = _root.field[activePlayer]._y - 0.3; _root.field[activePlayer]._x = _root.field[activePlayer]._x - 0.3; } _root.field[activePlayer]._y = _root.field[activePlayer]._y - 1; _root.field[activePlayer]._x = _root.field[activePlayer]._x - 1; _root.field.ring._x = _root.field[activePlayer]._x + 4.5; _root.field.ring._y = _root.field[activePlayer]._y + 5.5; if (activePlayer == ballHolder) { _root.field.ball._y = _root.field.ball._y - 1; _root.field.ball._x = _root.field.ball._x - 1; } } else if (Key.isDown(39) || (Key.isDown(68) && (handingBall == false))) { _root.field[activePlayer]._rotation = 45; _root.field.ring._rotation = 45; if (possession == "away") { _root.field[activePlayer]._y = _root.field[activePlayer]._y - 0.3; _root.field[activePlayer]._x = _root.field[activePlayer]._x + 0.3; } _root.field[activePlayer]._y = _root.field[activePlayer]._y - 1; _root.field[activePlayer]._x = _root.field[activePlayer]._x + 1; _root.field.ring._x = _root.field[activePlayer]._x - 4.5; _root.field.ring._y = _root.field[activePlayer]._y + 5.5; if (activePlayer == ballHolder) { _root.field.ball._y = _root.field.ball._y - 1; _root.field.ball._x = _root.field.ball._x + 1; } } else { _root.field[activePlayer]._rotation = 0; _root.field.ring._rotation = 0; if (possession == "away") { _root.field[activePlayer]._y = _root.field[activePlayer]._y - 0.4; } _root.field[activePlayer]._y = _root.field[activePlayer]._y - 1.5; _root.field.ring._x = _root.field[activePlayer]._x; _root.field.ring._y = _root.field[activePlayer]._y + 8; if (activePlayer == ballHolder) { _root.field.ball._y = _root.field.ball._y - 1.5; } } } if (Key.isDown(40) || ((Key.isDown(83) && (handingBall == false)) && ((play != 17) || (play != 16)))) { running = true; if (Key.isDown(37) || (Key.isDown(65))) { _root.field[activePlayer]._rotation = 225; _root.field.ring._rotation = 225; if (possession == "away") { _root.field[activePlayer]._y = _root.field[activePlayer]._y + 0.3; _root.field[activePlayer]._x = _root.field[activePlayer]._x - 0.3; } _root.field[activePlayer]._y = _root.field[activePlayer]._y + 1; _root.field[activePlayer]._x = _root.field[activePlayer]._x - 1; _root.field.ring._x = _root.field[activePlayer]._x + 5.5; _root.field.ring._y = _root.field[activePlayer]._y - 5.5; if (activePlayer == ballHolder) { _root.field.ball._y = _root.field.ball._y + 1; _root.field.ball._x = _root.field.ball._x - 1; } } else if (Key.isDown(39) || (Key.isDown(68) && (handingBall == false))) { _root.field[activePlayer]._rotation = 135; _root.field.ring._rotation = 135; if (possession == "away") { _root.field[activePlayer]._y = _root.field[activePlayer]._y + 0.3; _root.field[activePlayer]._x = _root.field[activePlayer]._x + 0.3; } _root.field[activePlayer]._y = _root.field[activePlayer]._y + 1; _root.field[activePlayer]._x = _root.field[activePlayer]._x + 1; _root.field.ring._x = _root.field[activePlayer]._x - 5.5; _root.field.ring._y = _root.field[activePlayer]._y - 5.5; if (activePlayer == ballHolder) { _root.field.ball._y = _root.field.ball._y + 1; _root.field.ball._x = _root.field.ball._x + 1; } } else { if (possession == "away") { _root.field[activePlayer]._y = _root.field[activePlayer]._y + 0.4; } _root.field[activePlayer]._y = _root.field[activePlayer]._y + 1.5; _root.field[activePlayer]._rotation = 180; _root.field.ring._rotation = 180; _root.field.ring._x = _root.field[activePlayer]._x; _root.field.ring._y = _root.field[activePlayer]._y - 8; if (activePlayer == ballHolder) { _root.field.ball._y = _root.field.ball._y + 1.5; } } } if (Key.isDown(39) || ((Key.isDown(68) && (handingBall == false)) && ((play != 17) || (play != 16)))) { running = true; if ((((!Key.isDown(87)) && (!Key.isDown(38))) && (!Key.isDown(83))) && (!Key.isDown(40))) { if (possession == "away") { _root.field[activePlayer]._x = _root.field[activePlayer]._x + 0.4; } _root.field[activePlayer]._x = _root.field[activePlayer]._x + 1.5; _root.field[activePlayer]._rotation = 90; _root.field.ring._rotation = 90; _root.field.ring._x = _root.field[activePlayer]._x - 8; _root.field.ring._y = _root.field[activePlayer]._y; if (activePlayer == ballHolder) { _root.field.ball._x = _root.field.ball._x + 1.5; } } } if (Key.isDown(37) || ((Key.isDown(65) && (handingBall == false)) && ((play != 17) || (play != 16)))) { running = true; if ((((!Key.isDown(87)) && (!Key.isDown(38))) && (!Key.isDown(83))) && (!Key.isDown(40))) { if (possession == "away") { _root.field[activePlayer]._x = _root.field[activePlayer]._x - 0.4; } _root.field[activePlayer]._x = _root.field[activePlayer]._x - 1.5; _root.field[activePlayer]._rotation = 270; _root.field.ring._rotation = 270; _root.field.ring._x = _root.field[activePlayer]._x + 8; _root.field.ring._y = _root.field[activePlayer]._y; if (activePlayer == ballHolder) { _root.field.ball._x = _root.field.ball._x - 1.5; } } } if ((running == true) && (alreadyRunning == false)) { alreadyRunning = true; if (activePlayer == ballHolder) { _root.field[activePlayer].gotoAndPlay("runwball"); } else { _root.field[activePlayer].gotoAndPlay("run"); } } if (running == false) { alreadyRunning = false; if (activePlayer == ballHolder) { _root.field[activePlayer].gotoAndStop("standwball"); } else { _root.field[activePlayer].gotoAndStop(1); } } running = false; } } function determineClosest() { var _local6 = _xmouse; var _local5 = _ymouse; if (possession == "home") { var _local4 = Math.abs(_root.field[hrb]._x - _local6) + Math.abs(_root.field[hrb]._y - _local5); var _local3 = Math.abs(_root.field[hwr1]._x - _local6) + Math.abs(_root.field[hwr1]._y - _local5); var _local2 = Math.abs(_root.field[hwr2]._x - _local6) + Math.abs(_root.field[hwr2]._y - _local5); if ((_local4 < _local3) && (_local4 < _local2)) { closest = [homeTeam] + "_rb"; } else if ((_local3 < _local4) && (_local3 < _local2)) { closest = [homeTeam] + "_wr1"; } else if ((_local2 < _local4) && (_local2 < _local3)) { closest = [homeTeam] + "_wr2"; } } } function pass() { if ((skid == true) && (interception == false)) { skidsLeft--; skidAdj = skidAdj - 0.1; skidSpeedX = xMove * skidAdj; skidSpeedY = yMove * skidAdj; _root.field.ball._x = _root.field.ball._x + skidSpeedX; _root.field.ball._y = _root.field.ball._y - skidSpeedY; if (skidsLeft == 0) { skid = false; skidsLeft = 6; skidAdj = 1; ballInMot = false; if (play == 17) { ballOn = _root.field.hit._y; interception = true; if (oob) { ballOn = savedY; oob = false; } if (ballOn < 96) { ballOn = 150; firstDown = "fd1"; } if (possession == "away") { possession = "home"; } else { possession = "away"; } } afterPlay(); } } if (throwPass && (ballInMot == false)) { determineClosest(); _root.field.ball._visible = true; if (possession == "home") { _root.field[hqb].gotoAndStop(1); } else { _root.field[aqb].gotoAndStop(1); } ballHolder = "inAir"; difOfX = Math.abs(endX - startX); difOfY = Math.abs(endY - startY); passDist = Math.sqrt((difOfX * difOfX) + (difOfY * difOfY)); cosine = Math.atan2(difOfY, difOfX); passAng = cosine * 57.2957795130823; numOfMoves = Math.round(passDist / throwSpeed); yMove = difOfY / numOfMoves; xMove = difOfX / numOfMoves; enlargePerMove = (numOfMoves / 2) / enlarge; ballInMot = true; step = 0; step2 = 0; if (endX > startX) { newAngle1 = 90 - passAng; _root.field.ball._rotation = newAngle1; } else { newAngle2 = passAng - 270; _root.field.ball._rotation = newAngle2; xMove = xMove * -1; } } if ((ballInMot && (finish == false)) && (interception == false)) { step++; _root.field.ball._x = _root.field.ball._x + xMove; _root.field.ball._y = _root.field.ball._y - yMove; if (((play == 17) && (_root.field.ball._x < 25)) && (oob == false)) { savedY = _root.field.ball._y; oob = true; } if (((play == 17) && (_root.field.ball._x > 420)) && (oob == false)) { savedY = _root.field.ball._y; oob = true; } if (((_root.field.ball.hitTest(_root.field[closest]) && (play != 16)) && (play != 17)) && (_root.field[closest]._y > 25)) { if (_root.field.ball._xscale < 120) { wr1Delay = 0; wr2Delay = 0; rbDelay = 0; finish = true; passing = false; throwPass = false; ballCaught = true; ballInMot = false; skid = false; finish = false; if (possession == "home") { _root.field[activePlayer].gotoAndStop(1); activePlayer = closest; ballHolder = activePlayer; _root.field[activePlayer].gotoAndStop("standwball"); alreadyRunning = false; _root.field.ring._rotation = _root.field[activePlayer]._rotation; setRing(); } if (possession == "away") { ballHolder = closest; _root.field[ballHolder].gotoAndPlay("runwball"); _root.field[ballHolder]._rotation = 0; justCaught = true; } if ((_root.field[ballHolder].hitTest(_root.field.endzone1) && (interception == false)) || (_root.field[ballHolder].hitTest(_root.field.endzone2) && (interception))) { _root.field.passInfo.gotoAndPlay("touchdown"); dance = true; if (justScored == false) { ballOn = 105; justScored = true; if (possession == "home") { homeScore = homeScore + 6; } else { awayScore = awayScore + 6; } } else { justScored = false; if (possession == "home") { possession = "away"; homeScore = homeScore + 2; } else { possession = "home"; awayScore = awayScore + 2; } kickOff(); } afterPlay(); } else { _root.field.passInfo.gotoAndPlay("complete"); } _root.field.ball._visible = false; passing = false; } } if (step <= (numOfMoves / 2)) { _root.field.ball._xscale = _root.field.ball._xscale + enlargePerMove; _root.field.ball._yscale = _root.field.ball._yscale + enlargePerMove; } else { _root.field.ball._xscale = _root.field.ball._xscale - enlargePerMove; _root.field.ball._yscale = _root.field.ball._yscale - enlargePerMove; } if (step == numOfMoves) { _root.field.ball._xscale = 100; finish = true; passing = false; throwPass = false; } } if (((ballInMot && (finish)) && (ballCaught == false)) && (interception == false)) { if (step2 == 0) { if (((kickTaking == "kick") && (startKick)) && (play != 17)) { _root.field.passInfo.gotoAndPlay("nogood"); if (possession == "home") { possession = "away"; } else { possession = "home"; } if (kickType == "pat") { kickOff(); } else { interception = true; } afterPlay(); } else if ((startKick == false) && (play != 17)) { _root.field.passInfo.gotoAndPlay("incomplete"); if (justScored) { if (possession == "home") { possession = "away"; } else { possession = "home"; } kickOff(); } } _root.field.ball.gotoAndStop(1); _root.field.hit._visible = true; _root.field.hit._x = _root.field.ball._x; _root.field.hit._y = _root.field.ball._y; } step2++; _root.field.ball._x = _root.field.ball._x + xMove; _root.field.ball._y = _root.field.ball._y - yMove; if (step2 > (numOfMoves * 0.1)) { _root.field.hit._visible = false; ballInMot = false; finish = false; skid = true; } } } function movePlayers() { if (startPlay) { if (((_root.field[ballHolder]._x < 30) || (_root.field[ballHolder]._x > 420)) && (ballHolder != "inAir")) { if ((_root.field[ballHolder].hitTest(_root.field.endzone1) && (interception == false)) || (_root.field[ballHolder].hitTest(_root.field.endzone2) && (interception))) { _root.field.passInfo.gotoAndPlay("touchdown"); dance = true; if (justScored == false) { ballOn = 105; justScored = true; if (possession == "home") { homeScore = homeScore + 6; } else { awayScore = awayScore + 6; } } else { justScored = false; if (possession == "home") { possession = "away"; homeScore = homeScore + 2; } else { possession = "home"; awayScore = awayScore + 2; } kickOff(); } afterPlay(); } ballOn = Math.round(_root.field[ballHolder]._y); tackled = true; } if (possession == "home") { if ((wr1Dest1 == false) && (activePlayer != ([homeTeam] + "_wr1"))) { _root.field[hwr1]._rotation = dest1rotationWr1; if (_root.field[hwr1]._x < (startXwr1 + dest1xWr1)) { _root.field[hwr1]._x = _root.field[hwr1]._x + dest1speedWr1; if (_root.field[hwr1]._x >= (startXwr1 + dest1xWr1)) { _root.field[hwr1]._x = startXwr1 + dest1xWr1; } } else if (_root.field[hwr1]._x > (startXwr1 + dest1xWr1)) { _root.field[hwr1]._x = _root.field[hwr1]._x - dest1speedWr1; if (_root.field[hwr1]._x <= (startXwr1 + dest1xWr1)) { _root.field[hwr1]._x = startXwr1 + dest1xWr1; } } if (_root.field[hwr1]._y < (startYwr1 + dest1yWr1)) { _root.field[hwr1]._y = _root.field[hwr1]._y + dest1speedWr1; if (_root.field[hwr1]._y >= (startYwr1 + dest1yWr1)) { _root.field[hwr1]._y = startYwr1 + dest1yWr1; } } else if (_root.field[hwr1]._y > (startYwr1 + dest1yWr1)) { _root.field[hwr1]._y = _root.field[hwr1]._y - dest1speedWr1; if (_root.field[hwr1]._y <= (startYwr1 + dest1yWr1)) { } } if ((Math.abs(_root.field[hwr1]._x - (startXwr1 + dest1xWr1)) < 5) && (Math.abs(_root.field[hwr1]._y - (startYwr1 + dest1yWr1)) < 5)) { wr1Dest1 = true; } if ((_root.field[hwr1]._x == (startXwr1 + dest1xWr1)) && ((_root.field[hwr1]._y <= (startYwr1 + dest1yWr1)) && (_root.field[hwr1]._rotation != 180))) { wr1Dest1 = true; } if ((_root.field[hwr1]._x == (startXwr1 + dest1xWr1)) && (_root.field[hwr1]._y == (startYwr1 + dest1yWr1))) { wr1Dest1 = true; } if ((_root.field[hwr1]._rotation == 90) && (_root.field[hwr1]._x >= (startXwr1 + dest1xWr1))) { wr1Dest1 = true; } if ((_root.field[hwr1]._rotation == -90) && (_root.field[hwr1]._x <= (startXwr1 + dest1xWr1))) { wr1Dest1 = true; } if ((_root.field[hwr1]._rotation == 0) && (_root.field[hwr1]._y <= (startYwr1 + dest1yWr1))) { wr1Dest1 = true; } if (playLength > 100) { wr1Dest1 = true; } } if (((wr1Dest1 == true) && (wr1Dest2 == false)) && (activePlayer != ([homeTeam] + "_wr1"))) { _root.field[hwr1]._rotation = dest2rotationWr1; if (_root.field[hwr1]._x < (startXwr1 + dest2xWr1)) { _root.field[hwr1]._x = _root.field[hwr1]._x + dest2speedWr1; if (_root.field[hwr1]._x >= (startXwr1 + dest2xWr1)) { _root.field[hwr1]._x = startXwr1 + dest2xWr1; } } else if (_root.field[hwr1]._x > (startXwr1 + dest2xWr1)) { _root.field[hwr1]._x = _root.field[hwr1]._x - dest2speedWr1; if (_root.field[hwr1]._x <= (startXwr1 + dest2xWr1)) { _root.field[hwr1]._x = startXwr1 + dest2xWr1; } } if (_root.field[hwr1]._y < (startYwr1 + dest2yWr1)) { _root.field[hwr1]._y = _root.field[hwr1]._y + dest2speedWr1; if (_root.field[hwr1]._y >= (startYwr1 + dest2yWr1)) { _root.field[hwr1]._y = startYwr1 + dest2yWr1; } } else if (_root.field[hwr1]._y > (startYwr1 + dest2yWr1)) { _root.field[hwr1]._y = _root.field[hwr1]._y - dest2speedWr1; if (_root.field[hwr1]._y <= (startYwr1 + dest2yWr1)) { _root.field[hwr1]._y = startYwr1 + dest2yWr1; } } if ((_root.field[hwr1]._x == (startXwr1 + dest2xWr1)) && ((_root.field[hwr1]._y <= (startYwr1 + dest2yWr1)) && (_root.field[hwr1]._rotation != 180))) { wr1Dest2 = true; } if ((_root.field[hwr1]._x == (startXwr1 + dest2xWr1)) && (_root.field[hwr1]._y == (startYwr1 + dest2yWr1))) { wr1Dest2 = true; } if ((_root.field[hwr1]._rotation == 90) && (_root.field[hwr1]._x >= (startXwr1 + dest2xWr1))) { wr1Dest2 = true; } if ((_root.field[hwr1]._rotation == -90) && (_root.field[hwr1]._x <= (startXwr1 + dest2xWr1))) { wr1Dest2 = true; } if ((_root.field[hwr1]._rotation == 0) && (_root.field[hwr1]._y <= (startYwr1 + dest2yWr1))) { wr1Dest2 = true; } } if ((((wr1Dest1 == true) && (wr1Dest2 == true)) && (wr1Dest3 == false)) && (activePlayer != ([homeTeam] + "_wr1"))) { _root.field[hwr1]._rotation = dest3rotationWr1; if (_root.field[hwr1]._x < (startXwr1 + dest3xWr1)) { _root.field[hwr1]._x = _root.field[hwr1]._x + dest3speedWr1; if (_root.field[hwr1]._x >= (startXwr1 + dest3xWr1)) { _root.field[hwr1]._x = startXwr1 + dest3xWr1; } } else if (_root.field[hwr1]._x > (startXwr1 + dest3xWr1)) { _root.field[hwr1]._x = _root.field[hwr1]._x - dest3speedWr1; if (_root.field[hwr1]._x <= (startXwr1 + dest3xWr1)) { _root.field[hwr1]._x = startXwr1 + dest3xWr1; } } if (_root.field[hwr1]._y < (startYwr1 + dest3yWr1)) { _root.field[hwr1]._y = _root.field[hwr1]._y + dest3speedWr1; if (_root.field[hwr1]._y >= (startYwr1 + dest3yWr1)) { _root.field[hwr1]._y = startYwr1 + dest3yWr1; } } else if (_root.field[hwr1]._y > (startYwr1 + dest3yWr1)) { _root.field[hwr1]._y = _root.field[hwr1]._y - dest3speedWr1; if (_root.field[hwr1]._y <= (startYwr1 + dest3yWr1)) { _root.field[hwr1]._y = startYwr1 + dest3yWr1; } } if ((_root.field[hwr1]._x == (startXwr1 + dest3xWr1)) && ((_root.field[hwr1]._y <= (startYwr1 + dest3yWr1)) && (_root.field[hwr1]._rotation != 180))) { wr1Dest3 = true; } if ((_root.field[hwr1]._x == (startXwr1 + dest3xWr1)) && (_root.field[hwr1]._y == (startYwr1 + dest3yWr1))) { wr1Dest3 = true; } if ((_root.field[hwr1]._rotation == 90) && (_root.field[hwr1]._x >= (startXwr1 + dest3xWr1))) { wr1Dest3 = true; } if ((_root.field[hwr1]._rotation == -90) && (_root.field[hwr1]._x <= (startXwr1 + dest3xWr1))) { wr1Dest3 = true; } if ((_root.field[hwr1]._rotation == 0) && (_root.field[hwr1]._y <= (startYwr1 + dest3yWr1))) { wr1Dest3 = true; } } if ((wr2Dest1 == false) && (activePlayer != ([homeTeam] + "_wr2"))) { _root.field[hwr2]._rotation = dest1rotationWr2; if (_root.field[hwr2]._x < (startXwr2 + dest1xWr2)) { _root.field[hwr2]._x = _root.field[hwr2]._x + dest1speedWr2; if (_root.field[hwr2]._x >= (startXwr2 + dest1xWr2)) { _root.field[hwr2]._x = startXwr2 + dest1xWr2; } } else if (_root.field[hwr2]._x > (startXwr2 + dest1xWr2)) { _root.field[hwr2]._x = _root.field[hwr2]._x - dest1speedWr2; if (_root.field[hwr2]._x <= (startXwr2 + dest1xWr2)) { _root.field[hwr2]._x = startXwr2 + dest1xWr2; } } if (_root.field[hwr2]._y < (startYwr2 + dest1yWr2)) { _root.field[hwr2]._y = _root.field[hwr2]._y + dest1speedWr2; if (_root.field[hwr2]._y >= (startYwr2 + dest1yWr2)) { _root.field[hwr2]._y = startYwr2 + dest1yWr2; } } else if (_root.field[hwr2]._y > (startYwr2 + dest1yWr2)) { _root.field[hwr2]._y = _root.field[hwr2]._y - dest1speedWr2; if (_root.field[hwr2]._y <= (startYwr2 + dest1yWr2)) { _root.field[hwr2]._y = startYwr2 + dest1yWr2; } } if ((_root.field[hwr2]._x == (startXwr2 + dest1xWr2)) && ((_root.field[hwr2]._y <= (startYwr2 + dest1yWr2)) && (_root.field[hwr2]._rotation != 180))) { wr2Dest1 = true; } if ((_root.field[hwr2]._x == (startXwr2 + dest1xWr2)) && (_root.field[hwr2]._y == (startYwr2 + dest1yWr2))) { wr2Dest1 = true; } if ((_root.field[hwr2]._rotation == 90) && (_root.field[hwr2]._x >= (startXwr2 + dest1xWr2))) { wr2Dest1 = true; } if ((_root.field[hwr2]._rotation == -90) && (_root.field[hwr2]._x <= (startXwr2 + dest1xWr2))) { wr2Dest1 = true; } if ((_root.field[hwr2]._rotation == 0) && (_root.field[hwr2]._y <= (startYwr2 + dest1yWr2))) { wr2Dest1 = true; } if (playLength > 100) { wr2Dest1 = true; } } if (((wr2Dest1 == true) && (wr2Dest2 == false)) && (activePlayer != ([homeTeam] + "_wr2"))) { _root.field[hwr2]._rotation = dest2rotationWr2; if (_root.field[hwr2]._x < (startXwr2 + dest2xWr2)) { _root.field[hwr2]._x = _root.field[hwr2]._x + dest2speedWr2; if (_root.field[hwr2]._x >= (startXwr2 + dest2xWr2)) { _root.field[hwr2]._x = startXwr2 + dest2xWr2; } } else if (_root.field[hwr2]._x > (startXwr2 + dest2xWr2)) { _root.field[hwr2]._x = _root.field[hwr2]._x - dest2speedWr2; if (_root.field[hwr2]._x <= (startXwr2 + dest2xWr2)) { _root.field[hwr2]._x = startXwr2 + dest2xWr2; } } if (_root.field[hwr2]._y < (startYwr2 + dest2yWr2)) { _root.field[hwr2]._y = _root.field[hwr2]._y + dest2speedWr2; if (_root.field[hwr2]._y >= (startYwr2 + dest2yWr2)) { _root.field[hwr2]._y = startYwr2 + dest2yWr2; } } else if (_root.field[hwr2]._y > (startYwr2 + dest2yWr2)) { _root.field[hwr2]._y = _root.field[hwr2]._y - dest2speedWr2; if (_root.field[hwr2]._y <= (startYwr2 + dest2yWr2)) { _root.field[hwr2]._y = startYwr2 + dest2yWr2; } } if ((_root.field[hwr2]._x == (startXwr2 + dest2xWr2)) && ((_root.field[hwr2]._y <= (startYwr2 + dest2yWr2)) && (_root.field[hwr2]._rotation != 180))) { wr2Dest2 = true; } if ((_root.field[hwr2]._x == (startXwr2 + dest2xWr2)) && (_root.field[hwr2]._y == (startYwr2 + dest2yWr2))) { wr2Dest2 = true; } if ((_root.field[hwr2]._rotation == 90) && (_root.field[hwr2]._x >= (startXwr2 + dest2xWr2))) { wr2Dest2 = true; } if ((_root.field[hwr2]._rotation == -90) && (_root.field[hwr2]._x <= (startXwr2 + dest2xWr2))) { wr2Dest2 = true; } if ((_root.field[hwr2]._rotation == 0) && (_root.field[hwr2]._y <= (startYwr2 + dest2yWr2))) { wr2Dest2 = true; } } if ((((wr2Dest1 == true) && (wr2Dest2 == true)) && (wr2Dest3 == false)) && (activePlayer != ([homeTeam] + "_wr2"))) { _root.field[hwr2]._rotation = dest3rotationWr2; if (_root.field[hwr2]._x < (startXwr2 + dest3xWr2)) { _root.field[hwr2]._x = _root.field[hwr2]._x + dest3speedWr2; if (_root.field[hwr2]._x >= (startXwr2 + dest3xWr2)) { _root.field[hwr2]._x = startXwr2 + dest3xWr2; } } else if (_root.field[hwr2]._x > (startXwr2 + dest3xWr2)) { _root.field[hwr2]._x = _root.field[hwr2]._x - dest3speedWr2; if (_root.field[hwr2]._x <= (startXwr2 + dest3xWr2)) { _root.field[hwr2]._x = startXwr2 + dest3xWr2; } } if (_root.field[hwr2]._y < (startYwr2 + dest3yWr2)) { _root.field[hwr2]._y = _root.field[hwr2]._y + dest3speedWr2; if (_root.field[hwr2]._y >= (startYwr2 + dest3yWr2)) { _root.field[hwr2]._y = startYwr2 + dest3yWr2; } } else if (_root.field[hwr2]._y > (startYwr2 + dest3yWr2)) { _root.field[hwr2]._y = _root.field[hwr2]._y - dest3speedWr2; if (_root.field[hwr2]._y <= (startYwr2 + dest3yWr2)) { _root.field[hwr2]._y = startYwr2 + dest3yWr2; } } if ((_root.field[hwr2]._x == (startXwr2 + dest3xWr2)) && ((_root.field[hwr2]._y <= (startYwr2 + dest3yWr2)) && (_root.field[hwr2]._rotation != 180))) { wr2Dest3 = true; } if ((_root.field[hwr2]._x == (startXwr2 + dest3xWr2)) && (_root.field[hwr2]._y == (startYwr2 + dest3yWr2))) { wr2Dest3 = true; } if ((_root.field[hwr2]._rotation == 90) && (_root.field[hwr2]._x >= (startXwr2 + dest3xWr2))) { wr2Dest3 = true; } if ((_root.field[hwr2]._rotation == -90) && (_root.field[hwr2]._x <= (startXwr2 + dest3xWr2))) { wr2Dest3 = true; } if ((_root.field[hwr2]._rotation == 0) && (_root.field[hwr2]._y <= (startYwr2 + dest3yWr2))) { wr2Dest3 = true; } } if ((rbDest1 == false) && (activePlayer != ([homeTeam] + "_rb"))) { _root.field[hrb]._rotation = dest1rotationRb; if (_root.field[hrb]._x < (startXrb + dest1xRb)) { _root.field[hrb]._x = _root.field[hrb]._x + dest1speedRb; if (_root.field[hrb]._x >= (startXrb + dest1xRb)) { _root.field[hrb]._x = startXrb + dest1xRb; } } else if (_root.field[hrb]._x > (startXrb + dest1xRb)) { _root.field[hrb]._x = _root.field[hrb]._x - dest1speedRb; if (_root.field[hrb]._x <= (startXrb + dest1xRb)) { _root.field[hrb]._x = startXrb + dest1xRb; } } if (_root.field[hrb]._y < (startYrb + dest1yRb)) { _root.field[hrb]._y = _root.field[hrb]._y + dest1speedRb; if (_root.field[hrb]._y >= (startYrb + dest1yRb)) { _root.field[hrb]._y = startYrb + dest1yRb; } } else if (_root.field[hrb]._y > (startYrb + dest1yRb)) { _root.field[hrb]._y = _root.field[hrb]._y - dest1speedRb; if (_root.field[hrb]._y <= (startYrb + dest1yRb)) { _root.field[hrb]._y = startYrb + dest1yRb; } } if ((_root.field[hrb]._x == (startXrb + dest1xRb)) && ((_root.field[hrb]._y <= (startYrb + dest1yRb)) && (_root.field[hrb]._rotation != 180))) { rbDest1 = true; } if ((_root.field[hrb]._x == startXrbdest1xRb) && (_root.field[hrb]._y == (startYrb + dest1yRb))) { rbDest1 = true; } if ((_root.field[hrb]._rotation == 90) && (_root.field[hrb]._x >= (startXrb + dest1xRb))) { rbDest1 = true; } if ((_root.field[hrb]._rotation == -90) && (_root.field[hrb]._x <= (startXrb + dest1xRb))) { rbDest1 = true; } if ((_root.field[hrb]._rotation == 0) && (_root.field[hrb]._y <= (startYrb + dest1yRb))) { rbDest1 = true; } if (playLength > 100) { rbDest1 = true; } } if (((rbDest1 == true) && (rbDest2 == false)) && (activePlayer != ([homeTeam] + "_rb"))) { _root.field[hrb]._rotation = dest2rotationRb; if (_root.field[hrb]._x < (startXrb + dest2xRb)) { _root.field[hrb]._x = _root.field[hrb]._x + dest2speedRb; if (_root.field[hrb]._x >= (startXrb + dest2xRb)) { _root.field[hrb]._x = startXrb + dest2xRb; } } else if (_root.field[hrb]._x > (startXrb + dest2xRb)) { _root.field[hrb]._x = _root.field[hrb]._x - dest2speedRb; if (_root.field[hrb]._x <= (startXrb + dest2xRb)) { _root.field[hrb]._x = startXrb + dest2xRb; } } if (_root.field[hrb]._y < (startYrb + dest2yRb)) { _root.field[hrb]._y = _root.field[hrb]._y + dest2speedRb; if (_root.field[hrb]._y >= (startYrb + dest2yRb)) { _root.field[hrb]._y = startYrb + dest2yRb; } } else if (_root.field[hrb]._y > (startYrb + dest2yRb)) { _root.field[hrb]._y = _root.field[hrb]._y - dest2speedRb; if (_root.field[hrb]._y <= (startYrb + dest2yRb)) { _root.field[hrb]._y = startYrb + dest2yRb; } } if ((_root.field[hrb]._x == (startXrb + dest2xRb)) && ((_root.field[hrb]._y <= (startYrb + dest2yRb)) && (_root.field[hrb]._rotation != 180))) { rbDest2 = true; } if ((_root.field[hrb]._x == startXrbdest2xRb) && (_root.field[hrb]._y == (startYrb + dest2yRb))) { rbDest2 = true; } if ((_root.field[hrb]._rotation == 90) && (_root.field[hrb]._x >= (startXrb + dest2xRb))) { rbDest2 = true; } if ((_root.field[hrb]._rotation == -90) && (_root.field[hrb]._x <= (startXrb + dest2xRb))) { rbDest2 = true; } if ((_root.field[hrb]._rotation == 0) && (_root.field[hrb]._y <= (startYrb + dest2yRb))) { rbDest2 = true; } } if ((((rbDest1 == true) && (rbDest2 == true)) && (rbDest3 == false)) && (activePlayer != ([homeTeam] + "_rb"))) { _root.field[hrb]._rotation = dest3rotationRb; if (_root.field[hrb]._x < (startXrb + dest3xRb)) { _root.field[hrb]._x = _root.field[hrb]._x + dest3speedRb; if (_root.field[hrb]._x >= (startXrb + dest3xRb)) { _root.field[hrb]._x = startXrb + dest3xRb; } } else if (_root.field[hrb]._x > (startXrb + dest3xRb)) { _root.field[hrb]._x = _root.field[hrb]._x - dest3speedRb; if (_root.field[hrb]._x <= (startXrb + dest3xRb)) { _root.field[hrb]._x = startXrb + dest3xRb; } } if (_root.field[hrb]._y < (startYrb + dest3yRb)) { _root.field[hrb]._y = _root.field[hrb]._y + dest3speedRb; if (_root.field[hrb]._y >= (startYrb + dest3yRb)) { _root.field[hrb]._y = startYrb + dest3yRb; } } else if (_root.field[hrb]._y > (startYrb + dest3yRb)) { _root.field[hrb]._y = _root.field[hrb]._y - dest3speedRb; if (_root.field[hrb]._y <= (startYrb + dest3yRb)) { _root.field[hrb]._y = startYrb + dest3yRb; } } if ((_root.field[hrb]._x == (startXrb + dest3xRb)) && ((_root.field[hrb]._y <= (startYrb + dest3yRb)) && (_root.field[hrb]._rotation != 180))) { rbDest3 = true; } if ((_root.field[hrb]._x == startXrbdest3xRb) && (_root.field[hrb]._y == (startYrb + dest3yRb))) { rbDest3 = true; } if ((_root.field[hrb]._rotation == 90) && (_root.field[hrb]._x >= (startXrb + dest3xRb))) { rbDest3 = true; } if ((_root.field[hrb]._rotation == -90) && (_root.field[hrb]._x <= (startXrb + dest3xRb))) { rbDest3 = true; } if ((_root.field[hrb]._rotation == 0) && (_root.field[hrb]._y <= (startYrb + dest3yRb))) { rbDest3 = true; } } } if (possession == "away") { if ((wr1Dest1 == false) && (ballHolder != ([awayTeam] + "_wr1"))) { _root.field[awr1]._rotation = dest1rotationWr1; if (_root.field[awr1]._x < (startXwr1 + dest1xWr1)) { _root.field[awr1]._x = _root.field[awr1]._x + dest1speedWr1; if (_root.field[awr1]._x >= (startXwr1 + dest1xWr1)) { _root.field[awr1]._x = startXwr1 + dest1xWr1; } } else if (_root.field[awr1]._x > (startXwr1 + dest1xWr1)) { _root.field[awr1]._x = _root.field[awr1]._x - dest1speedWr1; if (_root.field[awr1]._x <= (startXwr1 + dest1xWr1)) { _root.field[awr1]._x = startXwr1 + dest1xWr1; } } if (_root.field[awr1]._y < (startYwr1 + dest1yWr1)) { _root.field[awr1]._y = _root.field[awr1]._y + dest1speedWr1; if (_root.field[awr1]._y >= (startYwr1 + dest1yWr1)) { _root.field[awr1]._y = startYwr1 + dest1yWr1; } } else if (_root.field[awr1]._y > (startYwr1 + dest1yWr1)) { _root.field[awr1]._y = _root.field[awr1]._y - dest1speedWr1; if (_root.field[awr1]._y <= (startYwr1 + dest1yWr1)) { } } if ((Math.abs(_root.field[awr1]._x - (startXwr1 + dest1xWr1)) < 5) && (Math.abs(_root.field[awr1]._y - (startYwr1 + dest1yWr1)) < 5)) { wr1Dest1 = true; } if ((_root.field[awr1]._x == (startXwr1 + dest1xWr1)) && ((_root.field[awr1]._y <= (startYwr1 + dest1yWr1)) && (_root.field[awr1]._rotation != 180))) { wr1Dest1 = true; } if ((_root.field[awr1]._x == (startXwr1 + dest1xWr1)) && (_root.field[awr1]._y == (startYwr1 + dest1yWr1))) { wr1Dest1 = true; } if ((_root.field[awr1]._rotation == 90) && (_root.field[awr1]._x >= (startXwr1 + dest1xWr1))) { wr1Dest1 = true; } if ((_root.field[awr1]._rotation == -90) && (_root.field[awr1]._x <= (startXwr1 + dest1xWr1))) { wr1Dest1 = true; } if ((_root.field[awr1]._rotation == 0) && (_root.field[awr1]._y <= (startYwr1 + dest1yWr1))) { wr1Dest1 = true; } } if (((wr1Dest1 == true) && (wr1Dest2 == false)) && (ballHolder != ([awayTeam] + "_wr1"))) { _root.field[awr1]._rotation = dest2rotationWr1; if (_root.field[awr1]._x < (startXwr1 + dest2xWr1)) { _root.field[awr1]._x = _root.field[awr1]._x + dest2speedWr1; if (_root.field[awr1]._x >= (startXwr1 + dest2xWr1)) { _root.field[awr1]._x = startXwr1 + dest2xWr1; } } else if (_root.field[awr1]._x > (startXwr1 + dest2xWr1)) { _root.field[awr1]._x = _root.field[awr1]._x - dest2speedWr1; if (_root.field[awr1]._x <= (startXwr1 + dest2xWr1)) { _root.field[awr1]._x = startXwr1 + dest2xWr1; } } if (_root.field[awr1]._y < (startYwr1 + dest2yWr1)) { _root.field[awr1]._y = _root.field[awr1]._y + dest2speedWr1; if (_root.field[awr1]._y >= (startYwr1 + dest2yWr1)) { _root.field[awr1]._y = startYwr1 + dest2yWr1; } } else if (_root.field[awr1]._y > (startYwr1 + dest2yWr1)) { _root.field[awr1]._y = _root.field[awr1]._y - dest2speedWr1; if (_root.field[awr1]._y <= (startYwr1 + dest2yWr1)) { _root.field[awr1]._y = startYwr1 + dest2yWr1; } } if ((_root.field[awr1]._x == (startXwr1 + dest2xWr1)) && ((_root.field[awr1]._y <= (startYwr1 + dest2yWr1)) && (_root.field[awr1]._rotation != 180))) { wr1Dest2 = true; } if ((_root.field[awr1]._x == (startXwr1 + dest2xWr1)) && (_root.field[awr1]._y == (startYwr1 + dest2yWr1))) { wr1Dest2 = true; } if ((_root.field[awr1]._rotation == 90) && (_root.field[awr1]._x >= (startXwr1 + dest2xWr1))) { wr1Dest2 = true; } if ((_root.field[awr1]._rotation == -90) && (_root.field[awr1]._x <= (startXwr1 + dest2xWr1))) { wr1Dest2 = true; } if ((_root.field[awr1]._rotation == 0) && (_root.field[awr1]._y <= (startYwr1 + dest2yWr1))) { wr1Dest2 = true; } } if ((((wr1Dest1 == true) && (wr1Dest2 == true)) && (wr1Dest3 == false)) && (ballHolder != ([awayTeam] + "_wr1"))) { _root.field[awr1]._rotation = dest3rotationWr1; if (_root.field[awr1]._x < (startXwr1 + dest3xWr1)) { _root.field[awr1]._x = _root.field[awr1]._x + dest3speedWr1; if (_root.field[awr1]._x >= (startXwr1 + dest3xWr1)) { _root.field[awr1]._x = startXwr1 + dest3xWr1; } } else if (_root.field[awr1]._x > (startXwr1 + dest3xWr1)) { _root.field[awr1]._x = _root.field[awr1]._x - dest3speedWr1; if (_root.field[awr1]._x <= (startXwr1 + dest3xWr1)) { _root.field[awr1]._x = startXwr1 + dest3xWr1; } } if (_root.field[awr1]._y < (startYwr1 + dest3yWr1)) { _root.field[awr1]._y = _root.field[awr1]._y + dest3speedWr1; if (_root.field[awr1]._y >= (startYwr1 + dest3yWr1)) { _root.field[awr1]._y = startYwr1 + dest3yWr1; } } else if (_root.field[awr1]._y > (startYwr1 + dest3yWr1)) { _root.field[awr1]._y = _root.field[awr1]._y - dest3speedWr1; if (_root.field[awr1]._y <= (startYwr1 + dest3yWr1)) { _root.field[awr1]._y = startYwr1 + dest3yWr1; } } if ((_root.field[awr1]._x == (startXwr1 + dest3xWr1)) && ((_root.field[awr1]._y <= (startYwr1 + dest3yWr1)) && (_root.field[awr1]._rotation != 180))) { wr1Dest3 = true; } if ((_root.field[awr1]._x == (startXwr1 + dest3xWr1)) && (_root.field[awr1]._y == (startYwr1 + dest3yWr1))) { wr1Dest3 = true; } if ((_root.field[awr1]._rotation == 90) && (_root.field[awr1]._x >= (startXwr1 + dest3xWr1))) { wr1Dest3 = true; } if ((_root.field[awr1]._rotation == -90) && (_root.field[awr1]._x <= (startXwr1 + dest3xWr1))) { wr1Dest3 = true; } if ((_root.field[awr1]._rotation == 0) && (_root.field[awr1]._y <= (startYwr1 + dest3yWr1))) { wr1Dest3 = true; } } if ((wr2Dest1 == false) && (ballHolder != ([awayTeam] + "_wr2"))) { _root.field[awr2]._rotation = dest1rotationWr2; if (_root.field[awr2]._x < (startXwr2 + dest1xWr2)) { _root.field[awr2]._x = _root.field[awr2]._x + dest1speedWr2; if (_root.field[awr2]._x >= (startXwr2 + dest1xWr2)) { _root.field[awr2]._x = startXwr2 + dest1xWr2; } } else if (_root.field[awr2]._x > (startXwr2 + dest1xWr2)) { _root.field[awr2]._x = _root.field[awr2]._x - dest1speedWr2; if (_root.field[awr2]._x <= (startXwr2 + dest1xWr2)) { _root.field[awr2]._x = startXwr2 + dest1xWr2; } } if (_root.field[awr2]._y < (startYwr2 + dest1yWr2)) { _root.field[awr2]._y = _root.field[awr2]._y + dest1speedWr2; if (_root.field[awr2]._y >= (startYwr2 + dest1yWr2)) { _root.field[awr2]._y = startYwr2 + dest1yWr2; } } else if (_root.field[awr2]._y > (startYwr2 + dest1yWr2)) { _root.field[awr2]._y = _root.field[awr2]._y - dest1speedWr2; if (_root.field[awr2]._y <= (startYwr2 + dest1yWr2)) { _root.field[awr2]._y = startYwr2 + dest1yWr2; } } if ((_root.field[awr2]._x == (startXwr2 + dest1xWr2)) && ((_root.field[awr2]._y <= (startYwr2 + dest1yWr2)) && (_root.field[awr2]._rotation != 180))) { wr2Dest1 = true; } if ((_root.field[awr2]._x == (startXwr2 + dest1xWr2)) && (_root.field[awr2]._y == (startYwr2 + dest1yWr2))) { wr2Dest1 = true; } if ((_root.field[awr2]._rotation == 90) && (_root.field[awr2]._x >= (startXwr2 + dest1xWr2))) { wr2Dest1 = true; } if ((_root.field[awr2]._rotation == -90) && (_root.field[awr2]._x <= (startXwr2 + dest1xWr2))) { wr2Dest1 = true; } if ((_root.field[awr2]._rotation == 0) && (_root.field[awr2]._y <= (startYwr2 + dest1yWr2))) { wr2Dest1 = true; } } if (((wr2Dest1 == true) && (wr2Dest2 == false)) && (ballHolder != ([awayTeam] + "_wr2"))) { _root.field[awr2]._rotation = dest2rotationWr2; if (_root.field[awr2]._x < (startXwr2 + dest2xWr2)) { _root.field[awr2]._x = _root.field[awr2]._x + dest2speedWr2; if (_root.field[awr2]._x >= (startXwr2 + dest2xWr2)) { _root.field[awr2]._x = startXwr2 + dest2xWr2; } } else if (_root.field[awr2]._x > (startXwr2 + dest2xWr2)) { _root.field[awr2]._x = _root.field[awr2]._x - dest2speedWr2; if (_root.field[awr2]._x <= (startXwr2 + dest2xWr2)) { _root.field[awr2]._x = startXwr2 + dest2xWr2; } } if (_root.field[awr2]._y < (startYwr2 + dest2yWr2)) { _root.field[awr2]._y = _root.field[awr2]._y + dest2speedWr2; if (_root.field[awr2]._y >= (startYwr2 + dest2yWr2)) { _root.field[awr2]._y = startYwr2 + dest2yWr2; } } else if (_root.field[awr2]._y > (startYwr2 + dest2yWr2)) { _root.field[awr2]._y = _root.field[awr2]._y - dest2speedWr2; if (_root.field[awr2]._y <= (startYwr2 + dest2yWr2)) { _root.field[awr2]._y = startYwr2 + dest2yWr2; } } if ((_root.field[awr2]._x == (startXwr2 + dest2xWr2)) && ((_root.field[awr2]._y <= (startYwr2 + dest2yWr2)) && (_root.field[awr2]._rotation != 180))) { wr2Dest2 = true; } if ((_root.field[awr2]._x == (startXwr2 + dest2xWr2)) && (_root.field[awr2]._y == (startYwr2 + dest2yWr2))) { wr2Dest2 = true; } if ((_root.field[awr2]._rotation == 90) && (_root.field[awr2]._x >= (startXwr2 + dest2xWr2))) { wr2Dest2 = true; } if ((_root.field[awr2]._rotation == -90) && (_root.field[awr2]._x <= (startXwr2 + dest2xWr2))) { wr2Dest2 = true; } if ((_root.field[awr2]._rotation == 0) && (_root.field[awr2]._y <= (startYwr2 + dest2yWr2))) { wr2Dest2 = true; } } if ((((wr2Dest1 == true) && (wr2Dest2 == true)) && (wr2Dest3 == false)) && (ballHolder != ([awayTeam] + "_wr2"))) { _root.field[awr2]._rotation = dest3rotationWr2; if (_root.field[awr2]._x < (startXwr2 + dest3xWr2)) { _root.field[awr2]._x = _root.field[awr2]._x + dest3speedWr2; if (_root.field[awr2]._x >= (startXwr2 + dest3xWr2)) { _root.field[awr2]._x = startXwr2 + dest3xWr2; } } else if (_root.field[awr2]._x > (startXwr2 + dest3xWr2)) { _root.field[awr2]._x = _root.field[awr2]._x - dest3speedWr2; if (_root.field[awr2]._x <= (startXwr2 + dest3xWr2)) { _root.field[awr2]._x = startXwr2 + dest3xWr2; } } if (_root.field[awr2]._y < (startYwr2 + dest3yWr2)) { _root.field[awr2]._y = _root.field[awr2]._y + dest3speedWr2; if (_root.field[awr2]._y >= (startYwr2 + dest3yWr2)) { _root.field[awr2]._y = startYwr2 + dest3yWr2; } } else if (_root.field[awr2]._y > (startYwr2 + dest3yWr2)) { _root.field[awr2]._y = _root.field[awr2]._y - dest3speedWr2; if (_root.field[awr2]._y <= (startYwr2 + dest3yWr2)) { _root.field[awr2]._y = startYwr2 + dest3yWr2; } } if ((_root.field[awr2]._x == (startXwr2 + dest3xWr2)) && ((_root.field[awr2]._y <= (startYwr2 + dest3yWr2)) && (_root.field[awr2]._rotation != 180))) { wr2Dest3 = true; } if ((_root.field[awr2]._x == (startXwr2 + dest3xWr2)) && (_root.field[awr2]._y == (startYwr2 + dest3yWr2))) { wr2Dest3 = true; } if ((_root.field[awr2]._rotation == 90) && (_root.field[awr2]._x >= (startXwr2 + dest3xWr2))) { wr2Dest3 = true; } if ((_root.field[awr2]._rotation == -90) && (_root.field[awr2]._x <= (startXwr2 + dest3xWr2))) { wr2Dest3 = true; } if ((_root.field[awr2]._rotation == 0) && (_root.field[awr2]._y <= (startYwr2 + dest3yWr2))) { wr2Dest3 = true; } } if ((rbDest1 == false) && (ballHolder != ([awayTeam] + "_rb"))) { _root.field[arb]._rotation = dest1rotationRb; if (_root.field[arb]._x < (startXrb + dest1xRb)) { _root.field[arb]._x = _root.field[arb]._x + dest1speedRb; if (_root.field[arb]._x >= (startXrb + dest1xRb)) { _root.field[arb]._x = startXrb + dest1xRb; } } else if (_root.field[arb]._x > (startXrb + dest1xRb)) { _root.field[arb]._x = _root.field[arb]._x - dest1speedRb; if (_root.field[arb]._x <= (startXrb + dest1xRb)) { _root.field[arb]._x = startXrb + dest1xRb; } } if (_root.field[arb]._y < (startYrb + dest1yRb)) { _root.field[arb]._y = _root.field[arb]._y + dest1speedRb; if (_root.field[arb]._y >= (startYrb + dest1yRb)) { _root.field[arb]._y = startYrb + dest1yRb; } } else if (_root.field[arb]._y > (startYrb + dest1yRb)) { _root.field[arb]._y = _root.field[arb]._y - dest1speedRb; if (_root.field[arb]._y <= (startYrb + dest1yRb)) { _root.field[arb]._y = startYrb + dest1yRb; } } if ((_root.field[arb]._x == (startXrb + dest1xRb)) && ((_root.field[arb]._y <= (startYrb + dest1yRb)) && (_root.field[arb]._rotation != 180))) { rbDest1 = true; } if ((_root.field[arb]._x == startXrbdest1xRb) && (_root.field[arb]._y == (startYrb + dest1yRb))) { rbDest1 = true; } if ((_root.field[arb]._rotation == 90) && (_root.field[arb]._x >= (startXrb + dest1xRb))) { rbDest1 = true; } if ((_root.field[arb]._rotation == -90) && (_root.field[arb]._x <= (startXrb + dest1xRb))) { rbDest1 = true; } if ((_root.field[arb]._rotation == 0) && (_root.field[arb]._y <= (startYrb + dest1yRb))) { rbDest1 = true; } } if (((rbDest1 == true) && (rbDest2 == false)) && (ballHolder != ([awayTeam] + "_rb"))) { _root.field[arb]._rotation = dest2rotationRb; if (_root.field[arb]._x < (startXrb + dest2xRb)) { _root.field[arb]._x = _root.field[arb]._x + dest2speedRb; if (_root.field[arb]._x >= (startXrb + dest2xRb)) { _root.field[arb]._x = startXrb + dest2xRb; } } else if (_root.field[arb]._x > (startXrb + dest2xRb)) { _root.field[arb]._x = _root.field[arb]._x - dest2speedRb; if (_root.field[arb]._x <= (startXrb + dest2xRb)) { _root.field[arb]._x = startXrb + dest2xRb; } } if (_root.field[arb]._y < (startYrb + dest2yRb)) { _root.field[arb]._y = _root.field[arb]._y + dest2speedRb; if (_root.field[arb]._y >= (startYrb + dest2yRb)) { _root.field[arb]._y = startYrb + dest2yRb; } } else if (_root.field[arb]._y > (startYrb + dest2yRb)) { _root.field[arb]._y = _root.field[arb]._y - dest2speedRb; if (_root.field[arb]._y <= (startYrb + dest2yRb)) { _root.field[arb]._y = startYrb + dest2yRb; } } if ((_root.field[arb]._x == (startXrb + dest2xRb)) && ((_root.field[arb]._y <= (startYrb + dest2yRb)) && (_root.field[arb]._rotation != 180))) { rbDest2 = true; } if ((_root.field[arb]._x == startXrbdest2xRb) && (_root.field[arb]._y == (startYrb + dest2yRb))) { rbDest2 = true; } if ((_root.field[arb]._rotation == 90) && (_root.field[arb]._x >= (startXrb + dest2xRb))) { rbDest2 = true; } if ((_root.field[arb]._rotation == -90) && (_root.field[arb]._x <= (startXrb + dest2xRb))) { rbDest2 = true; } if ((_root.field[arb]._rotation == 0) && (_root.field[arb]._y <= (startYrb + dest2yRb))) { rbDest2 = true; } } if ((((rbDest1 == true) && (rbDest2 == true)) && (rbDest3 == false)) && (ballHolder != ([awayTeam] + "_rb"))) { _root.field[arb]._rotation = dest3rotationRb; if (_root.field[arb]._x < (startXrb + dest3xRb)) { _root.field[arb]._x = _root.field[arb]._x + dest3speedRb; if (_root.field[arb]._x >= (startXrb + dest3xRb)) { _root.field[arb]._x = startXrb + dest3xRb; } } else if (_root.field[arb]._x > (startXrb + dest3xRb)) { _root.field[arb]._x = _root.field[arb]._x - dest3speedRb; if (_root.field[arb]._x <= (startXrb + dest3xRb)) { _root.field[arb]._x = startXrb + dest3xRb; } } if (_root.field[arb]._y < (startYrb + dest3yRb)) { _root.field[arb]._y = _root.field[arb]._y + dest3speedRb; if (_root.field[arb]._y >= (startYrb + dest3yRb)) { _root.field[arb]._y = startYrb + dest3yRb; } } else if (_root.field[arb]._y > (startYrb + dest3yRb)) { _root.field[arb]._y = _root.field[arb]._y - dest3speedRb; if (_root.field[arb]._y <= (startYrb + dest3yRb)) { _root.field[arb]._y = startYrb + dest3yRb; } } if ((_root.field[arb]._x == (startXrb + dest3xRb)) && ((_root.field[arb]._y <= (startYrb + dest3yRb)) && (_root.field[arb]._rotation != 180))) { rbDest3 = true; } if ((_root.field[arb]._x == startXrbdest3xRb) && (_root.field[arb]._y == (startYrb + dest3yRb))) { rbDest3 = true; } if ((_root.field[arb]._rotation == 90) && (_root.field[arb]._x >= (startXrb + dest3xRb))) { rbDest3 = true; } if ((_root.field[arb]._rotation == -90) && (_root.field[arb]._x <= (startXrb + dest3xRb))) { rbDest3 = true; } if ((_root.field[arb]._rotation == 0) && (_root.field[arb]._y <= (startYrb + dest3yRb))) { rbDest3 = true; } } } } } function choosePlay() { if (choosingPlay) { _root.playMenu._visible = true; } else { _root.playMenu._visible = false; } if ((possession == "home") && (checkForSnap)) { if (Key.isDown(32)) { runClock = true; checkForSnap = false; startPlay = true; crossedLos = false; if (play != 17) { _root.field[hwr1].gotoAndPlay("run"); _root.field[hwr2].gotoAndPlay("run"); _root.field[hrb].gotoAndPlay("run"); } } } if ((possession == "away") && (checkForSnap)) { snapTimer++; if ((snapDelay == 0) && (snapTimer > 36)) { snapNow = true; } if ((snapDelay == 1) && (snapTimer > 48)) { snapNow = true; } if ((snapDelay == 2) && (snapTimer > 72)) { snapNow = true; } if (snapNow) { runClock = true; checkForSnap = false; startPlay = true; crossedLos = false; if (play != 17) { _root.field[awr1].gotoAndPlay("run"); _root.field[awr2].gotoAndPlay("run"); _root.field[arb].gotoAndPlay("run"); } snapNow = false; } } } function intProcess() { if (ballOn != 105) { _root.field.hit._visible = false; if (!(play === 17)) { _root.field.passInfo.gotoAndPlay("interception"); } _root.field.ball._visible = false; justScored = false; closest = "null"; interception = true; finish = true; passing = false; throwPass = false; ballCaught = true; ballInMot = false; skid = false; finish = false; wr1Target = ballHolder; wr2Target = ballHolder; qbTarget = ballHolder; rbTarget = ballHolder; cTarget = ballHolder; rgTarget = ballHolder; lgTarget = ballHolder; if (possession == "home") { possession = "away"; _root.field[ballHolder].gotoAndPlay("runwball"); _root.field[ballHolder]._rotation = 180; _root.field[hwr1].gotoAndPlay("run"); _root.field[hwr2].gotoAndPlay("run"); _root.field[hrb].gotoAndPlay("run"); _root.field[hqb].gotoAndPlay("run"); _root.field[hc].gotoAndPlay("run"); _root.field[hlg].gotoAndPlay("run"); _root.field[hrg].gotoAndPlay("run"); } else if (possession == "away") { possession = "home"; activePlayer = ballHolder; setRing(); _root.field[awr1].gotoAndPlay("run"); _root.field[awr2].gotoAndPlay("run"); _root.field[arb].gotoAndPlay("run"); _root.field[aqb].gotoAndPlay("run"); _root.field[ac].gotoAndPlay("run"); _root.field[alg].gotoAndPlay("run"); _root.field[arg].gotoAndPlay("run"); } } } function assignValues() { if (possession == "away") { gplay = play; play = random(10) + 1; if ((toGo < 5) || (ballOn < 150)) { var _local3 = random(4); if (_local3 == 0) { play = 4; } else if (_local3 == 1) { play = 6; } else if (_local3 == 2) { play = 9; } else { play = 10; } } if (((justScored && ((homeScore - awayScore) != 2)) && ((homeScore - awayScore) != 5)) && ((homeScore - awayScore) != 9)) { down = 0; toGo = 0; kickType = "pat"; play = 16; formation = 8; } else if ((toGo < 5) || (ballOn < 150)) { var _local3 = random(4); if (_local3 == 0) { play = 4; } else if (_local3 == 1) { play = 6; } else if (_local3 == 2) { play = 9; } else { play = 10; } } if (down == 4) { if ((ballOn <= 225) && ((quarter != 4) || ((homeScore - awayScore) < 3))) { play = 16; kickType = "fg"; formation = 8; } else if ((quarter == 4) && ((homeScore - awayScore) > 3)) { play = random(10) + 1; } else { play = 17; formation = 9; } } if (play < 9) { moveBack = false; } snapDelay = random(2); snapTimer = 0; if ((((play == 1) || (play == 2)) || (play == 3)) || (play == 4)) { formation = 1; } else if ((play == 5) || (play == 6)) { formation = 2; } else if ((play == 7) || (play == 8)) { formation = 3; } else if (play == 9) { formation = 5; } else if (play == 10) { formation = 7; } } ballInMot = false; finish = false; interception = false; passing = false; randomVal1 = random(2); randomVal2 = random(3); var _local2 = (_root.play * 12) - 12; dest1xWr1 = pass1wr1[_local2 + 0]; dest1yWr1 = pass1wr1[_local2 + 1]; dest1speedWr1 = pass1wr1[_local2 + 2]; dest1rotationWr1 = pass1wr1[_local2 + 3]; dest2xWr1 = pass1wr1[_local2 + 4]; dest2yWr1 = pass1wr1[_local2 + 5]; dest2speedWr1 = pass1wr1[_local2 + 6]; dest2rotationWr1 = pass1wr1[_local2 + 7]; dest3xWr1 = pass1wr1[_local2 + 8]; dest3yWr1 = pass1wr1[_local2 + 9]; dest3speedWr1 = pass1wr1[_local2 + 10]; dest3rotationWr1 = pass1wr1[_local2 + 11]; dest1xWr2 = pass1wr2[_local2 + 0]; dest1yWr2 = pass1wr2[_local2 + 1]; dest1speedWr2 = pass1wr2[_local2 + 2]; dest1rotationWr2 = pass1wr2[_local2 + 3]; dest2xWr2 = pass1wr2[_local2 + 4]; dest2yWr2 = pass1wr2[_local2 + 5]; dest2speedWr2 = pass1wr2[_local2 + 6]; dest2rotationWr2 = pass1wr2[_local2 + 7]; dest3xWr2 = pass1wr2[_local2 + 8]; dest3yWr2 = pass1wr2[_local2 + 9]; dest3speedWr2 = pass1wr2[_local2 + 10]; dest3rotationWr2 = pass1wr2[_local2 + 11]; dest1xRb = pass1rb[_local2 + 0]; dest1yRb = pass1rb[_local2 + 1]; dest1speedRb = pass1rb[_local2 + 2]; dest1rotationRb = pass1rb[_local2 + 3]; dest2xRb = pass1rb[_local2 + 4]; dest2yRb = pass1rb[_local2 + 5]; dest2speedRb = pass1rb[_local2 + 6]; dest2rotationRb = pass1rb[_local2 + 7]; dest3xRb = pass1rb[_local2 + 8]; dest3yRb = pass1rb[_local2 + 9]; dest3speedRb = pass1rb[_local2 + 10]; dest3rotationRb = pass1rb[_local2 + 11]; dest1xC = pass1c[_local2 + 0]; dest1yC = pass1c[_local2 + 1]; dest1speedC = pass1c[_local2 + 2]; dest1rotationC = pass1c[_local2 + 3]; dest2xC = pass1c[_local2 + 4]; dest2yC = pass1c[_local2 + 5]; dest2speedC = pass1c[_local2 + 6]; dest2rotationC = pass1c[_local2 + 7]; dest3xC = pass1c[_local2 + 8]; dest3yC = pass1c[_local2 + 9]; dest3speedC = pass1c[_local2 + 10]; dest3rotationC = pass1c[_local2 + 11]; _root.field[hlg].gotoAndStop(1); _root.field[hrg].gotoAndStop(1); _root.field[hc].gotoAndStop(1); _root.field[hrb].gotoAndStop(1); _root.field[hqb].gotoAndStop(1); _root.field[hwr1].gotoAndStop(1); _root.field[hwr2].gotoAndStop(1); _root.field[alg].gotoAndStop(1); _root.field[arg].gotoAndStop(1); _root.field[ac].gotoAndStop(1); _root.field[arb].gotoAndStop(1); _root.field[aqb].gotoAndStop(1); _root.field[awr1].gotoAndStop(1); _root.field[awr2].gotoAndStop(1); ballCaught = false; wr1Target = [homeTeam] + "_wr1"; wr2Target = [homeTeam] + "_wr2"; rbTarget = [homeTeam] + "_rb"; qbTarget = [homeTeam] + "_qb"; cTarget = [homeTeam] + "null"; lgTarget = [homeTeam] + "_qb"; rgTarget = [homeTeam] + "_qb"; currentDirWr1 = _root.field[hwr1]._rotation; currentDirWr2 = _root.field[hwr2]._rotation; defPlay = random(10) + 1; if (possession == "away") { defPlay = 0; wr1Target = [awayTeam] + "_wr1"; wr2Target = [awayTeam] + "_wr2"; rbTarget = [awayTeam] + "_rb"; qbTarget = [awayTeam] + "null"; cTarget = [awayeam] + "_c"; lgTarget = [awayTeam] + "_qb"; rgTarget = [awayTeam] + "_qb"; currentDirWr1 = _root.field[awr1]._rotation; currentDirWr2 = _root.field[awr2]._rotation; } currentDirRb = 0; wr1Delay = 0; wr2Delay = 0; rbDelay = 0; qbDelay = 0; cDelay = 0; if (((defPlay == play) || (gplay == play)) && (diff != "rookie")) { breakThru1 = true; breakThru2 = true; breakThru3 = true; } } function setPlayers() { if (setTeam == true) { if (possession == "home") { setTeam = false; arrayValue = (7 * formation) - 7; _root.field[hlg]._x = offFormationX[arrayValue] + xAdj; _root.field[hc]._x = offFormationX[arrayValue + 1] + xAdj; startXc = _root.field[hc]._x; _root.field[hrg]._x = offFormationX[arrayValue + 2] + xAdj; _root.field[hwr1]._x = offFormationX[arrayValue + 3] + xAdj; startXwr1 = _root.field[hwr1]._x; _root.field[hwr2]._x = offFormationX[arrayValue + 4] + xAdj; startXwr2 = _root.field[hwr2]._x; _root.field[hqb]._x = offFormationX[arrayValue + 5] + xAdj; _root.field[hrb]._x = offFormationX[arrayValue + 6] + xAdj; startXrb = _root.field[hrb]._x; _root.field[hlg]._y = (offFormationY[arrayValue] + ballOn) + yAdj; _root.field[hc]._y = (offFormationY[arrayValue + 1] + ballOn) + yAdj; startYc = _root.field[hc]._y; _root.field[hrg]._y = (offFormationY[arrayValue + 2] + ballOn) + yAdj; _root.field[hwr1]._y = (offFormationY[arrayValue + 3] + ballOn) + yAdj; startYwr1 = _root.field[hwr1]._y; _root.field[hwr2]._y = (offFormationY[arrayValue + 4] + ballOn) + yAdj; startYwr2 = _root.field[hwr2]._y; _root.field[hqb]._y = (offFormationY[arrayValue + 5] + ballOn) + yAdj; _root.field[hrb]._y = (offFormationY[arrayValue + 6] + ballOn) + yAdj; startYrb = _root.field[hrb]._y; _root.field[alg]._x = defFormationX[arrayValue] + xAdj; _root.field[ac]._x = defFormationX[arrayValue + 1] + xAdj; _root.field[arg]._x = defFormationX[arrayValue + 2] + xAdj; _root.field[awr1]._x = defFormationX[arrayValue + 3] + xAdj; _root.field[awr2]._x = defFormationX[arrayValue + 4] + xAdj; _root.field[aqb]._x = defFormationX[arrayValue + 5] + xAdj; _root.field[arb]._x = defFormationX[arrayValue + 6] + xAdj; _root.field[alg]._y = (defFormationY[arrayValue] + ballOn) + yAdj; _root.field[ac]._y = (defFormationY[arrayValue + 1] + ballOn) + yAdj; _root.field[arg]._y = (defFormationY[arrayValue + 2] + ballOn) + yAdj; _root.field[awr1]._y = (defFormationY[arrayValue + 3] + ballOn) + yAdj; _root.field[awr2]._y = (defFormationY[arrayValue + 4] + ballOn) + yAdj; _root.field[aqb]._y = (defFormationY[arrayValue + 5] + ballOn) + yAdj; _root.field[arb]._y = (defFormationY[arrayValue + 6] + ballOn) + yAdj; _root.field[alg]._rotation = 180; _root.field[arg]._rotation = 180; _root.field[ac]._rotation = 180; _root.field[aqb]._rotation = 180; _root.field[arb]._rotation = 180; _root.field[awr1]._rotation = 180; _root.field[awr2]._rotation = 180; ballHolder = [homeTeam] + "_c"; var _local4 = homeTeam + "_qb"; _root.field.ring._x = _root.field[_local4]._x; _root.field.ring._y = _root.field[_local4]._y + 8; _root.field.ball._x = _root.field[hc]._x; _root.field.ball._y = _root.field[hc]._y; if (play == 17) { _root.field.ring._visible = false; _root.field.kickMeter._x = _root.field[hc]._x + 80; _root.field.kickMeter._y = _root.field[hc]._y - 16; _root.field.kickMeter.direction._visible = false; _root.field.kickMeter._visible = true; kickPower = 0; kickDirection = 0; kickTaking = "power"; } if (play == 16) { _root.field[hwr1]._rotation = 270; _root.field[hwr2]._rotation = 45; _root.field.ring._visible = false; _root.field.kickMeter._x = _root.field[hc]._x + 80; _root.field.kickMeter._y = _root.field[hc]._y - 16; _root.field.kickMeter.direction._visible = false; _root.field.kickMeter._visible = true; kickPower = 0; kickDirection = 0; kickTaking = "power"; } } if (possession == "away") { setTeam = false; arrayValue = (7 * formation) - 7; _root.field[alg]._x = offFormationX[arrayValue] + xAdj; _root.field[ac]._x = offFormationX[arrayValue + 1] + xAdj; _root.field[arg]._x = offFormationX[arrayValue + 2] + xAdj; _root.field[awr1]._x = offFormationX[arrayValue + 3] + xAdj; startXwr1 = _root.field[awr1]._x; _root.field[awr2]._x = offFormationX[arrayValue + 4] + xAdj; startXwr2 = _root.field[awr2]._x; _root.field[aqb]._x = offFormationX[arrayValue + 5] + xAdj; _root.field[arb]._x = offFormationX[arrayValue + 6] + xAdj; startXrb = _root.field[arb]._x; _root.field[alg]._y = (offFormationY[arrayValue] + ballOn) + yAdj; _root.field[ac]._y = (offFormationY[arrayValue + 1] + ballOn) + yAdj; _root.field[arg]._y = (offFormationY[arrayValue + 2] + ballOn) + yAdj; _root.field[awr1]._y = (offFormationY[arrayValue + 3] + ballOn) + yAdj; startYwr1 = _root.field[awr1]._y; _root.field[awr2]._y = (offFormationY[arrayValue + 4] + ballOn) + yAdj; startYwr2 = _root.field[awr2]._y; _root.field[aqb]._y = (offFormationY[arrayValue + 5] + ballOn) + yAdj; _root.field[arb]._y = (offFormationY[arrayValue + 6] + ballOn) + yAdj; startYrb = _root.field[arb]._y; _root.field[hlg]._x = defFormationX[arrayValue] + xAdj; _root.field[hc]._x = defFormationX[arrayValue + 1] + xAdj; _root.field[hrg]._x = defFormationX[arrayValue + 2] + xAdj; _root.field[hwr1]._x = defFormationX[arrayValue + 3] + xAdj; _root.field[hwr2]._x = defFormationX[arrayValue + 4] + xAdj; _root.field[hqb]._x = defFormationX[arrayValue + 5] + xAdj; _root.field[hrb]._x = defFormationX[arrayValue + 6] + xAdj; _root.field[hlg]._y = (defFormationY[arrayValue] + ballOn) + yAdj; _root.field[hc]._y = (defFormationY[arrayValue + 1] + ballOn) + yAdj; _root.field[hrg]._y = (defFormationY[arrayValue + 2] + ballOn) + yAdj; _root.field[hwr1]._y = (defFormationY[arrayValue + 3] + ballOn) + yAdj; _root.field[hwr2]._y = (defFormationY[arrayValue + 4] + ballOn) + yAdj; _root.field[hqb]._y = (defFormationY[arrayValue + 5] + ballOn) + yAdj; _root.field[hrb]._y = (defFormationY[arrayValue + 6] + ballOn) + yAdj; _root.field[hlg]._rotation = 180; _root.field[hrg]._rotation = 180; _root.field[hc]._rotation = 180; _root.field[hqb]._rotation = 180; _root.field[hrb]._rotation = 180; _root.field[hwr1]._rotation = 180; _root.field[hwr2]._rotation = 180; ballHolder = [awayTeam] + "_c"; var _local4 = homeTeam + "_qb"; _root.field.ball._x = _root.field[ac]._x; _root.field.ball._y = _root.field[ac]._y - 8; activePlayer = [homeTeam] + "_qb"; _root.field.ring._rotation = 180; _root.field.ring._x = _root.field[activePlayer]._x; _root.field.ring._y = _root.field[activePlayer]._y; throwSpeed = 6; enlarge = 1.8; if (play == 17) { var _local2 = (random(20) + 75) - diff; var _local3 = random(20) - 10; kickDistance = ((_local2 / 1.55) * 4.66) + 30; kickAccuracy = _local3 * 5.5; kickTaking = "kick"; _root.field.upright1._visible = true; startKick = true; enlarge = 1.1; throwSpeed = 4.5; } if (play == 16) { _root.field[awr1]._y; var _local2 = (random(20) + 72) - diff; var _local3 = random(20) - 10; _root.field[awr1]._rotation = 270; _root.field[awr2]._rotation = 45; kickDistance = (_local2 / 1.55) * 4.66; kickAccuracy = _local3 * 1.5; kickTaking = "kick"; _root.field.upright1._visible = true; startKick = true; enlarge = 1.9; throwSpeed = 5; } } } } stopAllSounds(); if (_root.difficulty == "rookie") { diff2 = 23; diff = 11; } else if (_root.difficulty == "pro") { diff = 6; diff2 = 18; } else if (_root.difficulty == "allstar") { diff = 1; diff2 = 8; } _root.field.scoreboard.zero._visible = false; _root.field.hit._visible = false; _root.field.upright1._visible = false; _root.soundOn = true; passCheck = 28 + diff; blockTime = 40; crossedLos = false; oob = false; allowChange = true; _root.field.scoreboard.hometeam.gotoAndStop(homeTeam); _root.field.scoreboard.awayteam.gotoAndStop(awayTeam); possession = "home"; _root.field.ball._visible = false; hashMark = 1; formation = 1; ballOn = 500; setTeam = false; snapTimer = 0; interception = false; _root.field.ball._xscale = 100; _root.field.kickMeter.direction._xscale = 0; _root.field.kickMeter._visible = false; hlg = [homeTeam] + "_lg"; hc = [homeTeam] + "_c"; hrg = [homeTeam] + "_rg"; hwr1 = [homeTeam] + "_wr1"; hwr2 = [homeTeam] + "_wr2"; hqb = [homeTeam] + "_qb"; hrb = [homeTeam] + "_rb"; alg = [awayTeam] + "_lg"; ac = [awayTeam] + "_c"; arg = [awayTeam] + "_rg"; awr1 = [awayTeam] + "_wr1"; awr2 = [awayTeam] + "_wr2"; aqb = [awayTeam] + "_qb"; arb = [awayTeam] + "_rb"; quarter = 1; timer = 0; _root.field.advance._visible = false; compIsRunning = false; startKick = false; wr1Dest1 = false; wr1Dest2 = false; wr1Dest3 = false; wr2Dest1 = false; wr2Dest2 = false; wr2Dest3 = false; rbDest1 = false; rbDest2 = false; rbDest3 = false; cDest1 = false; cDest2 = false; cDest3 = false; choosingPlay = true; checkForSnap = false; ballInMot = false; running = false; skid = false; skidsLeft = 6; skidAdj = 0.8; tAdj = 59; xAdj = 4; yAdj = 8; pause = 0; tossBall = false; handingBall = false; alreadyRunning = false; defSpeed = 1.4; yReached = false; xReached = false; finish = false; justScored = false; defQbRunning = false; defRbRunning = false; defWr1Running = false; defWr2Running = false; defCRunning = false; defLgRunning = false; defRgRunning = false; rgBlocking = false; cBlocking = false; lgBlocking = false; breakThru1 = false; breakThru2 = false; breakThru3 = false; breakThru4 = false; breakThru5 = false; rgHittingRg = false; rgHittingC = false; lgHittingLg = false; lgHittingC = false; cHittingC = false; tackled = false; down = 1; playLength = 0; firstDown = "fd1"; moveBack = true; _root.field.fdMarkers._y = _root.field[firstDown]._y - 4; homeScore = 0; awayScore = 0; toGo = Math.round((ballOn - _root.field.fd1._y) / 8); offFormationX = [241, 217, 194, 107, 330, 217, 290, 241, 217, 194, 292, 324, 217, 237, 241, 217, 194, 297, 319, 217, 275, 241, 217, 194, 107, 330, 217, 237, 241, 217, 194, 107, 330, 217, 217, 241, 217, 194, 151, 120, 217, 217, 241, 217, 194, 175, 260, 217, 217, 241, 217, 194, 221, 193, 175, 260, 241, 217, 194, 175, 230, 221, 260]; offFormationY = [1, 1, 1, 1, 1, 40, 20, 1, 1, 1, 20, 1, 40, 30, 1, 1, 1, 1, 20, 40, 20, 1, 1, 1, 1, 1, 40, 30, 1, 1, 1, 1, 1, 16, 45, 1, 1, 1, 1, 20, 16, 45, 1, 1, 1, 15, 15, 16, 45, 1, 1, 1, 44, 57, 15, 15, 1, 1, 1, 15, 57, 84, 15]; defFormationX = [238, 217, 196, 107, 330, 217, 290, 238, 217, 196, 291, 330, 217, 246, 238, 217, 196, 297, 328, 243, 265, 238, 217, 196, 107, 330, 217, 246, 238, 207, 196, 107, 330, 217, 230, 238, 207, 196, 151, 121, 218, 230, 238, 217, 196, 158, 279, 208, 229, 238, 217, 196, 158, 279, 208, 229, 238, 217, 196, 158, 279, 219, 219]; defFormationY = [-17, -39, -17, -30, -30, -95, -35, -17, -39, -17, -30, -30, -95, -54, -17, -39, -17, -30, -35, -80, -45, -17, -39, -17, -30, -30, -95, -54, -17, -38, -17, -30, -30, -70, -38, -17, -38, -17, -40, -35, -70, -38, -17, -17, -17, -25, -25, -50, -50, -17, -17, -17, -25, -25, -50, -50, -17, -17, -17, -25, -25, -150, -50]; pass1wr1 = [0, -50, 1.5, 0, 300, -350, 1.5, 45, n, n, n, n, 0, -50, 1.5, 0, 300, -350, 1.3, 45, n, n, n, n, 80, -80, 1.4, 45, 80, -30, 1.3, 180, -50, -148, 1.4, 315, 0, 15, 1.5, 180, 50, 15, 1.5, 90, 280, -222, 1.3, 45, 0, -90, 1.5, 0, 120, -90, 2, 90, 120, -490, 1.8, 0, 38, -40, 1.5, 45, 38, -120, 1.5, 0, 122, -120, 2, 90, 95, -95, 1.5, 45, 95, -35, 1.5, 180, 95, -300, 2, 0, 0, -80, 1.5, 0, 20, -100, 1.5, 45, 20, -300, 1.5, 0, 61, -61, 1.3, 45, 293, -61, 1.5, 90, 293, -300, 1.5, 0, -74, -74, 1.5, 315, -114, -74, 1.5, 270, 158, -347, 1.5, 45, 0, -30, 1.5, 0, n, n, n, n, n, n, n, n, 45, -45, 1.5, 45, n, n, n, n, n, n, n, n, 0, -30, 1.5, 0, n, n, n, n, n, n, n, n, 0, -25, 1.5, 0, -5, -30, 1, 315, n, n, n, n, 0, -25, 1.5, 0, -5, -30, 1, 315, n, n, n, n]; pass1wr2 = [0, -40, 1.5, 0, -300, -40, 2, 270, n, n, n, n, 0, -86, 1.5, 0, -38, -28, 1, 225, -315, -285, 1.5, 315, 0, -35, 1.5, 0, -229, -265, 1.5, 315, 50, -265, 2, 90, 0, -35, 1.5, 0, -56, -91, 1.4, 315, -56, -31, 1.5, 180, 0, -35, 1.5, 0, -229, -265, 1.5, 315, 50, -265, 1.5, 90, 0, 16, 1.5, 180, -295, 16, 2, 270, n, n, n, n, -25, 0, 1, 270, -25, -650, 2.2, 0, n, n, n, n, 0, -70, 1.5, 0, -260, -330, 1.5, 315, n, n, n, n, 0, -35, 1.5, 0, -229, -265, 1.5, 315, 50, -265, 1.5, 90, 43, -43, 1.5, 45, 153, -43, 1.5, 90, 153, -330, 1.5, 0, 0, -20, 1.5, 0, n, n, n, n, n, n, n, n, -30, -30, 1.5, 315, n, n, n, n, n, n, n, n, -50, -50, 1.5, 315, n, n, n, n, n, n, n, n, 0, -25, 1.5, 0, 5, -30, 1, 45, n, n, n, n, 20, -20, 1.5, 45, 20, -35, 1.5, 0, n, n, n, n, 17, -17, 1, 45, 17, -20, 1, 0, n, n, n, n, n]; pass1rb = [0, -70, 1.5, 0, -260, -330, 1.5, 315, n, n, n, n, 0, -30, 1.5, 0, 50, -30, 1.7, 90, 50, -400, 1.5, 0, 0, -43, 1.5, 0, -37, -80, 1.3, 315, 127, -244, 1.3, 45, 0, -45, 1.5, 0, -24, -20, 1.5, 225, 125, -20, 2.2, 90, 95, 0, 1.5, 90, 95, -258, 1.9, 0, -195, -258, 2, 270, 33, -31, 1.5, 45, 33, -90, 1.7, 0, 180, -90, 1.8, 90, -235, -235, 1.3, 315, 113, -235, 2, 90, -185, -235, 2, 270, 0, -50, 1.5, 0, 100, -150, 1.3, 45, 100, -300, 1.5, 0, 12, -12, 1, 45, 12, -151, 2, 0, -168, -151, 2, 270, 18, -18, 1.5, 45, 18, -26, 1, 0, 185, -193, 1.5, 45, -30, 0, 1.5, 270, n, n, n, n, n, n, n, n, 20, 0, 1, 90, n, n, n, n, n, n, n, n, 31, 0, 1.5, 80, n, n, n, n, n, n, n, n, 12, -12, 1.5, 45, 12, -100, 1.5, 0, n, n, n, n, 31, 0, 1.5, 80, n, n, n, n, n, n, n, n]; pass1c = [n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, -12, 11, 1, 225, -42, 11, 1.5, 270, -42, -40, 1.5, 0, 12, 11, 1, 135, 42, 11, 1.5, 90, 42, -40, 1.5, 0, 12, 11, 1, 135, 89, 11, 1.5, 90, 134, -34, 1, 45, n, n, n, n, n, n, n, n, n, n, n, n, 12, 11, 1, 135, 89, 11, 1.5, 90, 89, -34, 1.5, 0]; _root.onEnterFrame = function () { setRing(); AIdefense(); choosePlay(); movePlayers(); setPlayers(); pass(); blocking(); checkForTackle(); clock(); kicking(); AIoffense(); moveSelected(); endzoneDance(); }; _root.onMouseUp = function () { if (possession == "away") { allowChange = true; } }; _root.onMouseDown = function () { if (possession == "away") { detClosestDef(); if ((allowChange && (closestDef == ([homeTeam] + "_rg"))) && (breakThru1)) { activePlayer = [homeTeam] + "_rg"; allowChange = false; } if ((allowChange && (closestDef == ([homeTeam] + "_lg"))) && (breakThru2)) { activePlayer = [homeTeam] + "_lg"; allowChange = false; } if ((allowChange && (closestDef == ([homeTeam] + "_c"))) && (breakThru3)) { activePlayer = [homeTeam] + "_c"; allowChange = false; } if (allowChange && (closestDef == ([homeTeam] + "_qb"))) { activePlayer = [homeTeam] + "_qb"; allowChange = false; } if (allowChange && (closestDef == ([homeTeam] + "_rb"))) { activePlayer = [homeTeam] + "_rb"; allowChange = false; } if (allowChange && (closestDef == ([homeTeam] + "_wr1"))) { activePlayer = [homeTeam] + "_wr1"; allowChange = false; } if (allowChange && (closestDef == ([homeTeam] + "_wr2"))) { activePlayer = [homeTeam] + "_wr2"; allowChange = false; } if (allowChange == false) { setRing(); } } if (((((passing == false) && (startPlay == true)) && (ballHolder == ([homeTeam] + "_qb"))) && (crossedLos == false)) && (_root.field[hqb]._y > _root.field._ymouse)) { endX = _xmouse; endY = _ymouse; startX = _root.field.ball._x; startY = _root.field.ball._y; enlarge = 6; throwSpeed = 6; passing = true; throwPass = true; _root.field.ball.gotoAndPlay("throw"); if (endX < startX) { _root.field.ball.gotoAndPlay("throw2"); } } }; stop();
Frame 32
stop();
Frame 60
stop();
Frame 68
if (_root.unlock2 == false) { _root.white._visible = false; }
Frame 78
if (_root.unlock2 == false) { _root.white._visible = false; } if (_root.homeTeam == "gold") { _root.gold._visible = false; } if (_root.homeTeam == "blue") { _root.blue._visible = false; } if (_root.homeTeam == "bblue") { _root.bblue._visible = false; } if (_root.homeTeam == "brown") { _root.brown._visible = false; } if (_root.homeTeam == "orange") { _root.orange._visible = false; } if (_root.homeTeam == "white") { _root.white._visible = false; }
Frame 95
function sendForm() { send_lv = new LoadVars(); take_lv = new LoadVars(); send_lv.user = _root.userName; send_lv.pass = _root.passwo; send_lv.amount = updateAmt; send_lv.game = "apflag"; take_lv.onLoad = function (success) { if (success) { _root.return_btn._visible = true; statusbox = "Update Finished!"; } }; send_lv.sendAndLoad("http://www.axis-games.com/addpoints.php", take_lv, "POST"); } function updateTotal() { throw_lv = new LoadVars(); catch_lv = new LoadVars(); throw_lv.amt = updateAmt; throw_lv.gametype = "flagfootball"; catch_lv.onLoad = function (success) { if (success) { } }; throw_lv.sendAndLoad("http://www.axis-games.com/addtotals.php", catch_lv, "POST"); } _root.homeT.gotoAndStop(homeTeam); _root.awayT.gotoAndStop(awayTeam); apupdate = "You are not logged in."; statusbox = ""; if (_root.login) { apupdate = ""; if ((_root.homeScore > _root.awayScore) && (_root.difficulty == "allstar")) { _root.return_btn._visible = false; apupdate = "You earned 4 Axis Points!"; statusbox = "Updating Your Account..."; updateAmt = 4; updateTotal(); sendForm(); } if ((_root.homeScore > _root.awayScore) && (_root.difficulty == "pro")) { _root.return_btn._visible = false; apupdate = "You earned 2 Axis Point!"; statusbox = "Updating Your Account..."; updateAmt = 2; updateTotal(); sendForm(); } if ((_root.homeScore > _root.awayScore) && (_root.difficulty == "rookie")) { _root.return_btn._visible = false; apupdate = "You earned 1 Axis Point!"; statusbox = "Updating Your Account..."; updateAmt = 1; updateTotal(); sendForm(); } }
Symbol 23 MovieClip Frame 39
stop();
Symbol 43 MovieClip Frame 39
stop();
Symbol 71 MovieClip Frame 35
this.gotoAndPlay(1);
Symbol 74 MovieClip Frame 144
stopAllSounds();
Symbol 74 MovieClip Frame 145
_root.gotoAndStop("splash");
Symbol 96 Button
on (release) { _root.gotoAndStop("hometeam"); }
Symbol 99 Button
on (release) { _root.gotoAndStop("offcontrols"); }
Symbol 102 Button
on (release) { _root.gotoAndStop("credits"); }
Symbol 105 Button
on (release) { gotoAndStop ("login"); }
Symbol 113 Button
on (release) { _root.gotoAndStop("splash"); }
Symbol 138 Button
on (release) { getURL ("http://www.axis-games.com/forgotpassword.php", "_self"); }
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 16
this.gotoAndPlay("run");
Symbol 190 MovieClip Frame 65
this.gotoAndPlay("dance");
Symbol 190 MovieClip Frame 77
this.gotoAndPlay("runwball");
Symbol 190 MovieClip Frame 89
this.gotoAndPlay("dance");
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 15
this.gotoAndPlay("run");
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 15
this.gotoAndPlay("run");
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 16
this.gotoAndPlay("run");
Symbol 230 MovieClip Frame 65
this.gotoAndPlay("dance");
Symbol 230 MovieClip Frame 77
this.gotoAndPlay("runwball");
Symbol 230 MovieClip Frame 89
this.gotoAndPlay("dance");
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 15
this.gotoAndPlay("run");
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 16
this.gotoAndPlay("run");
Symbol 263 MovieClip Frame 65
this.gotoAndPlay("dance");
Symbol 263 MovieClip Frame 77
this.gotoAndPlay("runwball");
Symbol 263 MovieClip Frame 89
this.gotoAndPlay("dance");
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 17
this.gotoAndPlay("run");
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 16
this.gotoAndPlay("run");
Symbol 299 MovieClip Frame 65
this.gotoAndPlay("dance");
Symbol 299 MovieClip Frame 77
this.gotoAndPlay("runwball");
Symbol 299 MovieClip Frame 89
this.gotoAndPlay("dance");
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 15
this.gotoAndPlay("run");
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 16
this.gotoAndPlay("run");
Symbol 332 MovieClip Frame 65
this.gotoAndPlay("dance");
Symbol 332 MovieClip Frame 77
this.gotoAndPlay("runwball");
Symbol 332 MovieClip Frame 89
this.gotoAndPlay("dance");
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 15
this.gotoAndPlay("run");
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 16
this.gotoAndPlay("run");
Symbol 365 MovieClip Frame 65
this.gotoAndPlay("dance");
Symbol 365 MovieClip Frame 77
this.gotoAndPlay("runwball");
Symbol 365 MovieClip Frame 89
this.gotoAndPlay("dance");
Symbol 373 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 21
this.gotoAndPlay("kick");
Symbol 444 MovieClip Frame 41
this.gotoAndPlay("throw");
Symbol 444 MovieClip Frame 61
this.gotoAndPlay("throw2");
Symbol 448 Button
on (release) { _root.choosingPlay = true; _root.field.advance._visible = false; _root.field.upright1._visible = false; _root.field.passInfo.gotoAndStop(1); }
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 22
this.gotoAndStop(1);
Symbol 465 MovieClip Frame 43
stop();
Symbol 465 MovieClip Frame 64
stop();
Symbol 465 MovieClip Frame 85
stop();
Symbol 465 MovieClip Frame 108
stop();
Symbol 465 MovieClip Frame 132
this.gotoAndStop(1);
Symbol 465 MovieClip Frame 156
this.gotoAndStop(1);
Symbol 465 MovieClip Frame 179
stop();
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 477 Button
on (release) { _root.play = 1; _root.formation = 1; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.homeTeam + "_wr1"; } else { _root.qbTarget = _root.homeTeam + "_rb"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.homeTeam + "_qb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.homeTeam + "_wr2"; } else { _root.cTarget = _root.homeTeam + "_rb"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.awayTeam + "_wr1"; } else { _root.qbTarget = _root.awayTeam + "_rb"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.awayTeam + "_qb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.awayTeam + "_wr2"; } else { _root.cTarget = _root.awayTeam + "_rb"; } } }
Symbol 483 Button
on (release) { _root.play = 5; _root.formation = 2; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.homeTeam + "_wr2"; } else { _root.qbTarget = _root.homeTeam + "_qb"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.homeTeam + "_qb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.homeTeam + "_wr1"; } else { _root.cTarget = _root.homeTeam + "_rb"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.awayTeam + "_wr2"; } else { _root.qbTarget = _root.awayTeam + "_qb"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.awayTeam + "_qb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.awayTeam + "_wr1"; } else { _root.cTarget = _root.awayTeam + "_rb"; } } }
Symbol 489 Button
on (release) { _root.play = 2; _root.formation = 1; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.homeTeam + "_wr2"; } else { _root.qbTarget = _root.homeTeam + "_wr1"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.homeTeam + "_qb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.homeTeam + "_rb"; } else { _root.cTarget = _root.homeTeam + "_wr2"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.awayTeam + "_wr2"; } else { _root.qbTarget = _root.awayTeam + "_wr1"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.awayTeam + "_qb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.awayTeam + "_rb"; } else { _root.cTarget = _root.awayTeam + "_wr2"; } } }
Symbol 493 Button
on (release) { _root.play = 3; _root.formation = 1; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.cTarget = _root.homeTeam + "_qb"; } else { _root.cTarget = _root.homeTeam + "_rb"; } if (_root.randomVal2 == 0) { _root.qbTarget = _root.homeTeam + "_wr1"; } else if (_root.randomVal2 == 1) { _root.qbTarget = _root.homeTeam + "_rb"; } else { _root.qbTarget = _root.homeTeam + "_wr2"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.cTarget = _root.awayTeam + "_qb"; } else { _root.cTarget = _root.awayTeam + "_rb"; } if (_root.randomVal2 == 0) { _root.qbTarget = _root.awayTeam + "_wr1"; } else if (_root.randomVal2 == 1) { _root.qbTarget = _root.awayTeam + "_rb"; } else { _root.qbTarget = _root.awayTeam + "_wr2"; } } }
Symbol 498 Button
on (release) { _root.play = 4; _root.formation = 1; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.homeTeam + "_wr2"; } else { _root.qbTarget = _root.homeTeam + "_qb"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.homeTeam + "_wr1"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.homeTeam + "_wr2"; } else { _root.cTarget = _root.homeTeam + "_rb"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.awayTeam + "_wr2"; } else { _root.qbTarget = _root.awayTeam + "_qb"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.awayTeam + "_wr1"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.awayTeam + "_wr2"; } else { _root.cTarget = _root.awayTeam + "_rb"; } } }
Symbol 505 Button
on (release) { _root.play = 6; _root.formation = 2; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.homeTeam + "_qb"; } else { _root.qbTarget = _root.homeTeam + "_wr1"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.homeTeam + "_rb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.homeTeam + "_wr1"; } else { _root.cTarget = _root.homeTeam + "_wr2"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.awayTeam + "_qb"; } else { _root.qbTarget = _root.awayTeam + "_wr1"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.awayTeam + "_rb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.awayTeam + "_wr1"; } else { _root.cTarget = _root.awayTeam + "_wr2"; } } }
Symbol 511 Button
on (release) { _root.play = 7; _root.formation = 3; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.homeTeam + "_wr1"; } else { _root.qbTarget = _root.homeTeam + "_wr2"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.homeTeam + "_rb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.homeTeam + "_qb"; } else { _root.cTarget = _root.homeTeam + "_wr2"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.awayTeam + "_wr1"; } else { _root.qbTarget = _root.awayTeam + "_wr2"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.awayTeam + "_rb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.awayTeam + "_qb"; } else { _root.cTarget = _root.awayTeam + "_wr2"; } } }
Symbol 518 Button
on (release) { _root.play = 8; _root.formation = 3; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.cTarget = _root.homeTeam + "_qb"; } else { _root.cTarget = _root.homeTeam + "_rb"; } if (_root.randomVal2 == 0) { _root.qbTarget = _root.homeTeam + "_wr1"; } else if (_root.randomVal2 == 1) { _root.qbTarget = _root.homeTeam + "_rb"; } else { _root.qbTarget = _root.homeTeam + "_wr2"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.cTarget = _root.awayTeam + "_qb"; } else { _root.cTarget = _root.awayTeam + "_rb"; } if (_root.randomVal2 == 0) { _root.qbTarget = _root.awayTeam + "_wr1"; } else if (_root.randomVal2 == 1) { _root.qbTarget = _root.awayTeam + "_rb"; } else { _root.qbTarget = _root.awayTeam + "_wr2"; } } }
Symbol 525 Button
on (release) { _root.play = 9; _root.formation = 5; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.homeTeam + "_wr1"; } else { _root.qbTarget = _root.homeTeam + "_wr2"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.homeTeam + "_qb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.homeTeam + "_rb"; } else { _root.cTarget = _root.homeTeam + "_wr1"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.qbTarget = _root.awayTeam + "_wr1"; } else { _root.qbTarget = _root.awayTeam + "_wr2"; } if (_root.randomVal2 == 0) { _root.cTarget = _root.awayTeam + "_qb"; } else if (_root.randomVal2 == 1) { _root.cTarget = _root.awayTeam + "_rb"; } else { _root.cTarget = _root.awayTeam + "_wr1"; } } }
Symbol 531 Button
on (release) { _root.play = 10; _root.formation = 7; _root.setTeam = true; _root.choosingPlay = false; _root.checkForSnap = true; _root.assignValues(); if (_root.possession == "home") { if (_root.randomVal1 == 0) { _root.cTarget = _root.homeTeam + "_rb"; } else { _root.cTarget = _root.homeTeam + "_qb"; } if (_root.randomVal2 == 0) { _root.qbTarget = _root.homeTeam + "_wr1"; } else if (_root.randomVal2 == 1) { _root.qbTarget = _root.homeTeam + "_rb"; } else { _root.qbTarget = _root.homeTeam + "_wr2"; } } if (_root.possession == "away") { if (_root.randomVal1 == 0) { _root.cTarget = _root.awayTeam + "_rb"; } else { _root.cTarget = _root.awayTeam + "_qb"; } if (_root.randomVal2 == 0) { _root.qbTarget = _root.awayTeam + "_wr1"; } else if (_root.randomVal2 == 1) { _root.qbTarget = _root.awayTeam + "_rb"; } else { _root.qbTarget = _root.awayTeam + "_wr2"; } } }
Symbol 536 Button
on (release) { if (_root.justScored == false) { _root.play = 17; _root.formation = 9; _root.setTeam = true; _root.choosingPlay = false; _root.startKick = true; _root.assignValues(); _root.cTarget = _root.homeTeam + "_qb"; _root.qbTarget = "null"; _root.kickType = "fg"; } }
Symbol 540 Button
on (release) { _root.play = 16; _root.formation = 8; _root.setTeam = true; _root.choosingPlay = false; _root.startKick = true; _root.assignValues(); _root.cTarget = _root.homeTeam + "_qb"; _root.qbTarget = _root.homeTeam + "_qb"; _root.field.upright1._visible = true; _root.kickType = "fg"; if (_root.justScored == true) { _root.kickType = "pat"; _root.ballOn = 105; _root.justScored = false; _root.down = 0; _root.toGo = 0; _root.choosingPlay = false; _root.play = 16; _root.formation = 8; _root.setTeam = true; _root.choosingPlay = false; _root.startKick = true; _root.conPass++; _root.assignValues(); _root.cTarget = _root.homeTeam + "_qb"; _root.qbTarget = _root.homeTeam + "_qb"; _root.field.upright1._visible = true; } }
Symbol 546 Button
on (release) { if (_root.soundOn) { _root.soundOn = false; _root.slash.gotoAndStop(2); } else { _root.soundOn = true; _root.slash.gotoAndStop(1); } }
Symbol 548 MovieClip Frame 1
stop();
Symbol 554 Button
on (release) { _root.gotoAndStop("defcontrols"); }
Symbol 557 Button
on (release) { _root.gotoAndStop("splash"); }
Symbol 561 Button
on (release) { _root.gotoAndStop("rules"); }
Symbol 562 Button
on (release) { _root.gotoAndStop("offcontrols"); }
Symbol 566 Button
on (release) { _root.gotoAndStop("defcontrols"); }
Symbol 569 Button
on (release) { _root.gotoAndStop("splash"); }
Symbol 584 Button
on (release) { _root.homeTeam = "brown"; _root.gotoAndStop("awayteam"); }
Symbol 591 Button
on (release) { _root.homeTeam = "bblue"; _root.gotoAndStop("awayteam"); }
Symbol 598 Button
on (release) { _root.homeTeam = "orange"; _root.gotoAndStop("awayteam"); }
Symbol 605 Button
on (release) { _root.homeTeam = "blue"; _root.gotoAndStop("awayteam"); }
Symbol 612 Button
on (release) { _root.homeTeam = "gold"; _root.gotoAndStop("awayteam"); }
Symbol 619 Button
on (release) { _root.homeTeam = "white"; _root.gotoAndStop("awayteam"); }
Symbol 622 Button
on (release) { _root.awayTeam = "brown"; _root.gotoAndStop("difficulty"); }
Symbol 623 Button
on (release) { _root.awayTeam = "bblue"; _root.gotoAndStop("difficulty"); }
Symbol 624 Button
on (release) { _root.awayTeam = "orange"; _root.gotoAndStop("difficulty"); }
Symbol 625 Button
on (release) { _root.awayTeam = "blue"; _root.gotoAndStop("difficulty"); }
Symbol 626 Button
on (release) { _root.awayTeam = "gold"; _root.gotoAndStop("difficulty"); }
Symbol 627 Button
on (release) { _root.awayTeam = "white"; _root.gotoAndStop("difficulty"); }
Symbol 632 Button
on (release) { _root.difficulty = "rookie"; _root.gotoAndPlay("game"); }
Symbol 635 Button
on (release) { _root.difficulty = "pro"; _root.gotoAndPlay("game"); }
Symbol 638 Button
on (release) { _root.difficulty = "allstar"; _root.gotoAndPlay("game"); }
Symbol 643 Button
on (release) { gotoAndStop ("splash"); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:Timeline
Symbol 3 GraphicUsed by:23
Symbol 4 GraphicUsed by:23
Symbol 5 GraphicUsed by:23
Symbol 6 GraphicUsed by:23
Symbol 7 GraphicUsed by:23
Symbol 8 GraphicUsed by:23
Symbol 9 GraphicUsed by:23
Symbol 10 GraphicUsed by:23
Symbol 11 GraphicUsed by:23
Symbol 12 GraphicUsed by:23
Symbol 13 GraphicUsed by:23
Symbol 14 GraphicUsed by:23
Symbol 15 GraphicUsed by:23
Symbol 16 GraphicUsed by:23
Symbol 17 GraphicUsed by:23
Symbol 18 GraphicUsed by:23
Symbol 19 GraphicUsed by:23
Symbol 20 GraphicUsed by:23
Symbol 21 GraphicUsed by:23
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22Used by:74
Symbol 24 GraphicUsed by:43
Symbol 25 GraphicUsed by:43
Symbol 26 GraphicUsed by:43
Symbol 27 GraphicUsed by:43
Symbol 28 GraphicUsed by:43
Symbol 29 GraphicUsed by:43
Symbol 30 GraphicUsed by:43
Symbol 31 GraphicUsed by:43
Symbol 32 GraphicUsed by:43
Symbol 33 GraphicUsed by:43
Symbol 34 GraphicUsed by:43
Symbol 35 GraphicUsed by:43
Symbol 36 GraphicUsed by:43
Symbol 37 GraphicUsed by:43
Symbol 38 GraphicUsed by:43
Symbol 39 GraphicUsed by:43
Symbol 40 GraphicUsed by:43
Symbol 41 GraphicUsed by:43
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42Used by:74
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:74
Symbol 46 SoundUsed by:74
Symbol 47 SoundUsed by:74
Symbol 48 FontUsed by:49 72 109 111 112 132 133 136 137 551 560 565 572 573 579 581 586 588 593 595 600 602 607 609 614 616
Symbol 49 TextUses:48Used by:50
Symbol 50 MovieClipUses:49Used by:74
Symbol 51 GraphicUsed by:71
Symbol 52 GraphicUsed by:71
Symbol 53 GraphicUsed by:71
Symbol 54 GraphicUsed by:71
Symbol 55 GraphicUsed by:71
Symbol 56 GraphicUsed by:71
Symbol 57 GraphicUsed by:71
Symbol 58 GraphicUsed by:71
Symbol 59 GraphicUsed by:71
Symbol 60 GraphicUsed by:71
Symbol 61 GraphicUsed by:71
Symbol 62 GraphicUsed by:71
Symbol 63 GraphicUsed by:71
Symbol 64 GraphicUsed by:71
Symbol 65 GraphicUsed by:71
Symbol 66 GraphicUsed by:71
Symbol 67 GraphicUsed by:71
Symbol 68 GraphicUsed by:71
Symbol 69 GraphicUsed by:71
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70Used by:74
Symbol 72 TextUses:48Used by:73
Symbol 73 MovieClipUses:72Used by:74
Symbol 74 MovieClipUses:23 43 45 46 47 50 71 73Used by:Timeline
Symbol 75 GraphicUsed by:Timeline
Symbol 76 GraphicUsed by:85
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:85 469
Symbol 79 FontUsed by:80 81 82 83 84 146 147 148 149 150
Symbol 80 TextUses:79Used by:85
Symbol 81 TextUses:79Used by:85
Symbol 82 TextUses:79Used by:85
Symbol 83 TextUses:79Used by:85
Symbol 84 TextUses:79Used by:85
Symbol 85 MovieClipUses:76 78 80 81 82 83 84Used by:Timeline
Symbol 86 FontUsed by:87 94 97 100 103 550 551 552 555 559 560 564 567 571 577 621 629 630 633 636 640
Symbol 87 TextUses:86Used by:Timeline
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:93
Symbol 90 GraphicUsed by:93
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:93
Symbol 93 MovieClipUses:89 90 92Used by:Timeline
Symbol 94 TextUses:86Used by:96
Symbol 95 GraphicUsed by:96
Symbol 96 ButtonUses:94 95Used by:Timeline
Symbol 97 TextUses:86Used by:99
Symbol 98 GraphicUsed by:99
Symbol 99 ButtonUses:97 98Used by:Timeline
Symbol 100 TextUses:86Used by:102
Symbol 101 GraphicUsed by:102
Symbol 102 ButtonUses:100 101Used by:Timeline
Symbol 103 TextUses:86Used by:105
Symbol 104 GraphicUsed by:105
Symbol 105 ButtonUses:103 104Used by:Timeline
Symbol 106 FontUsed by:107 123 384 385
Symbol 107 EditableTextUses:106Used by:Timeline
Symbol 108 GraphicUsed by:Timeline
Symbol 109 TextUses:48Used by:Timeline
Symbol 110 GraphicUsed by:113 134 643
Symbol 111 TextUses:48Used by:113 643
Symbol 112 TextUses:48Used by:113 643
Symbol 113 ButtonUses:110 111 112Used by:Timeline
Symbol 114 GraphicUsed by:127
Symbol 115 FontUsed by:116 117 118 119 120 121 122 124 125 126 128 129 130 131 139 367 368 369 370 371 372 374 375 377 382 383 386 387 388 389 446 449 451 453 455 457 459 461 463 466 641 642 644 645
Symbol 116 TextUses:115Used by:127
Symbol 117 TextUses:115Used by:127
Symbol 118 TextUses:115Used by:127
Symbol 119 EditableTextUses:115Used by:127
Symbol 120 EditableTextUses:115Used by:127
Symbol 121 EditableTextUses:115Used by:127
Symbol 122 TextUses:115Used by:127
Symbol 123 EditableTextUses:106Used by:127
Symbol 124 EditableTextUses:115Used by:127
Symbol 125 TextUses:115Used by:127
Symbol 126 EditableTextUses:115Used by:127
Symbol 127 MovieClipUses:114 116 117 118 119 120 121 122 123 124 125 126Used by:Timeline
Symbol 128 TextUses:115Used by:140
Symbol 129 TextUses:115Used by:140
Symbol 130 EditableTextUses:115Used by:140
Symbol 131 EditableTextUses:115Used by:140
Symbol 132 TextUses:48Used by:134
Symbol 133 TextUses:48Used by:134
Symbol 134 ButtonUses:110 132 133Used by:140
Symbol 135 GraphicUsed by:138
Symbol 136 TextUses:48Used by:138
Symbol 137 TextUses:48Used by:138
Symbol 138 ButtonUses:135 136 137Used by:140
Symbol 139 EditableTextUses:115Used by:140
Symbol 140 MovieClipUses:128 129 130 131 134 138 139Used by:Timeline
Symbol 141 GraphicUsed by:469
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:469
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:469
Symbol 146 TextUses:79Used by:469
Symbol 147 TextUses:79Used by:469
Symbol 148 TextUses:79Used by:469
Symbol 149 TextUses:79Used by:469
Symbol 150 TextUses:79Used by:469
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:151Used by:469
Symbol 153 GraphicUsed by:160
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:160
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:156Used by:160
Symbol 158 FontUsed by:159 473 479 485 491 495 500 507 513 520 527 533 535 538
Symbol 159 TextUses:158Used by:160
Symbol 160 MovieClipUses:153 155 157 159Used by:469
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:469
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:163Used by:469
Symbol 165 GraphicUsed by:190
Symbol 166 GraphicUsed by:190
Symbol 167 GraphicUsed by:190
Symbol 168 GraphicUsed by:190
Symbol 169 GraphicUsed by:190
Symbol 170 GraphicUsed by:190
Symbol 171 GraphicUsed by:190
Symbol 172 GraphicUsed by:190
Symbol 173 GraphicUsed by:190
Symbol 174 GraphicUsed by:190
Symbol 175 GraphicUsed by:190
Symbol 176 GraphicUsed by:190
Symbol 177 GraphicUsed by:190
Symbol 178 GraphicUsed by:190
Symbol 179 GraphicUsed by:190
Symbol 180 GraphicUsed by:190
Symbol 181 GraphicUsed by:190
Symbol 182 GraphicUsed by:190
Symbol 183 GraphicUsed by:190
Symbol 184 GraphicUsed by:190
Symbol 185 GraphicUsed by:190
Symbol 186 GraphicUsed by:190
Symbol 187 GraphicUsed by:190
Symbol 188 GraphicUsed by:190
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClipUses:165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189Used by:469
Symbol 191 GraphicUsed by:197
Symbol 192 GraphicUsed by:197
Symbol 193 GraphicUsed by:197
Symbol 194 GraphicUsed by:197
Symbol 195 GraphicUsed by:197
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:191 192 193 194 195 196Used by:469
Symbol 198 GraphicUsed by:204
Symbol 199 GraphicUsed by:204
Symbol 200 GraphicUsed by:204
Symbol 201 GraphicUsed by:204
Symbol 202 GraphicUsed by:204
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClipUses:198 199 200 201 202 203Used by:469
Symbol 205 GraphicUsed by:230
Symbol 206 GraphicUsed by:230
Symbol 207 GraphicUsed by:230
Symbol 208 GraphicUsed by:230
Symbol 209 GraphicUsed by:230
Symbol 210 GraphicUsed by:230
Symbol 211 GraphicUsed by:230
Symbol 212 GraphicUsed by:230
Symbol 213 GraphicUsed by:230
Symbol 214 GraphicUsed by:230
Symbol 215 GraphicUsed by:230
Symbol 216 GraphicUsed by:230
Symbol 217 GraphicUsed by:230
Symbol 218 GraphicUsed by:230
Symbol 219 GraphicUsed by:230
Symbol 220 GraphicUsed by:230
Symbol 221 GraphicUsed by:230
Symbol 222 GraphicUsed by:230
Symbol 223 GraphicUsed by:230
Symbol 224 GraphicUsed by:230
Symbol 225 GraphicUsed by:230
Symbol 226 GraphicUsed by:230
Symbol 227 GraphicUsed by:230
Symbol 228 GraphicUsed by:230
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229Used by:469
Symbol 231 GraphicUsed by:237
Symbol 232 GraphicUsed by:237
Symbol 233 GraphicUsed by:237
Symbol 234 GraphicUsed by:237
Symbol 235 GraphicUsed by:237
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:231 232 233 234 235 236Used by:469
Symbol 238 GraphicUsed by:263
Symbol 239 GraphicUsed by:263
Symbol 240 GraphicUsed by:263
Symbol 241 GraphicUsed by:263
Symbol 242 GraphicUsed by:263
Symbol 243 GraphicUsed by:263
Symbol 244 GraphicUsed by:263
Symbol 245 GraphicUsed by:263
Symbol 246 GraphicUsed by:263
Symbol 247 GraphicUsed by:263
Symbol 248 GraphicUsed by:263
Symbol 249 GraphicUsed by:263
Symbol 250 GraphicUsed by:263
Symbol 251 GraphicUsed by:263
Symbol 252 GraphicUsed by:263
Symbol 253 GraphicUsed by:263
Symbol 254 GraphicUsed by:263
Symbol 255 GraphicUsed by:263
Symbol 256 GraphicUsed by:263
Symbol 257 GraphicUsed by:263
Symbol 258 GraphicUsed by:263
Symbol 259 GraphicUsed by:263
Symbol 260 GraphicUsed by:263
Symbol 261 GraphicUsed by:263
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262Used by:469
Symbol 264 GraphicUsed by:273
Symbol 265 GraphicUsed by:273
Symbol 266 GraphicUsed by:273
Symbol 267 GraphicUsed by:273
Symbol 268 GraphicUsed by:273
Symbol 269 GraphicUsed by:273
Symbol 270 GraphicUsed by:273
Symbol 271 GraphicUsed by:273
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:264 265 266 267 268 269 270 271 272Used by:469
Symbol 274 GraphicUsed by:299
Symbol 275 GraphicUsed by:299
Symbol 276 GraphicUsed by:299
Symbol 277 GraphicUsed by:299
Symbol 278 GraphicUsed by:299
Symbol 279 GraphicUsed by:299
Symbol 280 GraphicUsed by:299
Symbol 281 GraphicUsed by:299
Symbol 282 GraphicUsed by:299
Symbol 283 GraphicUsed by:299
Symbol 284 GraphicUsed by:299
Symbol 285 GraphicUsed by:299
Symbol 286 GraphicUsed by:299
Symbol 287 GraphicUsed by:299
Symbol 288 GraphicUsed by:299
Symbol 289 GraphicUsed by:299
Symbol 290 GraphicUsed by:299
Symbol 291 GraphicUsed by:299
Symbol 292 GraphicUsed by:299
Symbol 293 GraphicUsed by:299
Symbol 294 GraphicUsed by:299
Symbol 295 GraphicUsed by:299
Symbol 296 GraphicUsed by:299
Symbol 297 GraphicUsed by:299
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClipUses:274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298Used by:469
Symbol 300 GraphicUsed by:306
Symbol 301 GraphicUsed by:306
Symbol 302 GraphicUsed by:306
Symbol 303 GraphicUsed by:306
Symbol 304 GraphicUsed by:306
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClipUses:300 301 302 303 304 305Used by:469
Symbol 307 GraphicUsed by:332
Symbol 308 GraphicUsed by:332
Symbol 309 GraphicUsed by:332
Symbol 310 GraphicUsed by:332
Symbol 311 GraphicUsed by:332
Symbol 312 GraphicUsed by:332
Symbol 313 GraphicUsed by:332
Symbol 314 GraphicUsed by:332
Symbol 315 GraphicUsed by:332
Symbol 316 GraphicUsed by:332
Symbol 317 GraphicUsed by:332
Symbol 318 GraphicUsed by:332
Symbol 319 GraphicUsed by:332
Symbol 320 GraphicUsed by:332
Symbol 321 GraphicUsed by:332
Symbol 322 GraphicUsed by:332
Symbol 323 GraphicUsed by:332
Symbol 324 GraphicUsed by:332
Symbol 325 GraphicUsed by:332
Symbol 326 GraphicUsed by:332
Symbol 327 GraphicUsed by:332
Symbol 328 GraphicUsed by:332
Symbol 329 GraphicUsed by:332
Symbol 330 GraphicUsed by:332
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331Used by:469
Symbol 333 GraphicUsed by:339
Symbol 334 GraphicUsed by:339
Symbol 335 GraphicUsed by:339
Symbol 336 GraphicUsed by:339
Symbol 337 GraphicUsed by:339
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClipUses:333 334 335 336 337 338Used by:469
Symbol 340 GraphicUsed by:365
Symbol 341 GraphicUsed by:365
Symbol 342 GraphicUsed by:365
Symbol 343 GraphicUsed by:365
Symbol 344 GraphicUsed by:365
Symbol 345 GraphicUsed by:365
Symbol 346 GraphicUsed by:365
Symbol 347 GraphicUsed by:365
Symbol 348 GraphicUsed by:365
Symbol 349 GraphicUsed by:365
Symbol 350 GraphicUsed by:365
Symbol 351 GraphicUsed by:365
Symbol 352 GraphicUsed by:365
Symbol 353 GraphicUsed by:365
Symbol 354 GraphicUsed by:365
Symbol 355 GraphicUsed by:365
Symbol 356 GraphicUsed by:365
Symbol 357 GraphicUsed by:365
Symbol 358 GraphicUsed by:365
Symbol 359 GraphicUsed by:365
Symbol 360 GraphicUsed by:365
Symbol 361 GraphicUsed by:365
Symbol 362 GraphicUsed by:365
Symbol 363 GraphicUsed by:365
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364Used by:469
Symbol 366 GraphicUsed by:390
Symbol 367 TextUses:115Used by:373
Symbol 368 TextUses:115Used by:373
Symbol 369 TextUses:115Used by:373
Symbol 370 TextUses:115Used by:373
Symbol 371 TextUses:115Used by:373
Symbol 372 TextUses:115Used by:373
Symbol 373 MovieClipUses:367 368 369 370 371 372Used by:390  Timeline
Symbol 374 EditableTextUses:115Used by:390
Symbol 375 EditableTextUses:115Used by:390
Symbol 376 GraphicUsed by:381
Symbol 377 TextUses:115Used by:381
Symbol 378 GraphicUsed by:381
Symbol 379 GraphicUsed by:381
Symbol 380 GraphicUsed by:381
Symbol 381 MovieClipUses:376 377 378 379 380Used by:390
Symbol 382 TextUses:115Used by:390
Symbol 383 TextUses:115Used by:390
Symbol 384 EditableTextUses:106Used by:390
Symbol 385 EditableTextUses:106Used by:390
Symbol 386 EditableTextUses:115Used by:390
Symbol 387 EditableTextUses:115Used by:390
Symbol 388 TextUses:115Used by:390
Symbol 389 EditableTextUses:115Used by:390
Symbol 390 MovieClipUses:366 373 374 375 381 382 383 384 385 386 387 388 389Used by:469
Symbol 391 GraphicUsed by:394
Symbol 392 GraphicUsed by:393
Symbol 393 MovieClipUses:392Used by:394
Symbol 394 MovieClipUses:391 393Used by:469
Symbol 395 GraphicUsed by:444
Symbol 396 GraphicUsed by:444
Symbol 397 GraphicUsed by:444
Symbol 398 GraphicUsed by:444
Symbol 399 GraphicUsed by:444
Symbol 400 GraphicUsed by:444
Symbol 401 GraphicUsed by:444
Symbol 402 GraphicUsed by:444
Symbol 403 GraphicUsed by:444
Symbol 404 GraphicUsed by:444
Symbol 405 GraphicUsed by:444
Symbol 406 GraphicUsed by:444
Symbol 407 GraphicUsed by:444
Symbol 408 GraphicUsed by:444
Symbol 409 GraphicUsed by:444
Symbol 410 GraphicUsed by:444
Symbol 411 GraphicUsed by:444
Symbol 412 GraphicUsed by:444
Symbol 413 GraphicUsed by:444
Symbol 414 GraphicUsed by:444
Symbol 415 GraphicUsed by:444
Symbol 416 GraphicUsed by:444
Symbol 417 GraphicUsed by:444
Symbol 418 GraphicUsed by:444
Symbol 419 GraphicUsed by:444
Symbol 420 GraphicUsed by:444
Symbol 421 GraphicUsed by:444
Symbol 422 GraphicUsed by:444
Symbol 423 GraphicUsed by:444
Symbol 424 GraphicUsed by:444
Symbol 425 GraphicUsed by:444
Symbol 426 GraphicUsed by:444
Symbol 427 GraphicUsed by:444
Symbol 428 GraphicUsed by:444
Symbol 429 GraphicUsed by:444
Symbol 430 GraphicUsed by:444
Symbol 431 GraphicUsed by:444
Symbol 432 GraphicUsed by:444
Symbol 433 GraphicUsed by:444
Symbol 434 GraphicUsed by:444
Symbol 435 GraphicUsed by:444
Symbol 436 GraphicUsed by:444
Symbol 437 GraphicUsed by:444
Symbol 438 GraphicUsed by:444
Symbol 439 GraphicUsed by:444
Symbol 440 GraphicUsed by:444
Symbol 441 GraphicUsed by:444
Symbol 442 GraphicUsed by:444
Symbol 443 GraphicUsed by:444
Symbol 444 MovieClipUses:395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443Used by:469
Symbol 445 GraphicUsed by:448
Symbol 446 TextUses:115Used by:448
Symbol 447 GraphicUsed by:448
Symbol 448 ButtonUses:445 446 447Used by:469
Symbol 449 TextUses:115Used by:450
Symbol 450 MovieClipUses:449Used by:465
Symbol 451 TextUses:115Used by:452 465
Symbol 452 MovieClipUses:451Used by:465
Symbol 453 TextUses:115Used by:454 465
Symbol 454 MovieClipUses:453Used by:465
Symbol 455 TextUses:115Used by:456 465
Symbol 456 MovieClipUses:455Used by:465
Symbol 457 TextUses:115Used by:458 465
Symbol 458 MovieClipUses:457Used by:465
Symbol 459 TextUses:115Used by:460 465
Symbol 460 MovieClipUses:459Used by:465
Symbol 461 TextUses:115Used by:462 465
Symbol 462 MovieClipUses:461Used by:465
Symbol 463 TextUses:115Used by:464 465
Symbol 464 MovieClipUses:463Used by:465
Symbol 465 MovieClipUses:450 452 451 454 453 456 455 458 457 460 459 462 461 464 463Used by:469
Symbol 466 TextUses:115Used by:468
Symbol 467 SoundUsed by:468
Symbol 468 MovieClipUses:466 467Used by:469
Symbol 469 MovieClipUses:141 143 78 145 146 147 148 149 150 152 160 162 164 190 197 204 230 237 263 273 299 306 332 339 365 390 394 444 448 465 468Used by:Timeline
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:470Used by:541
Symbol 472 GraphicUsed by:477
Symbol 473 TextUses:158Used by:477
Symbol 474 GraphicUsed by:477
Symbol 475 GraphicUsed by:477
Symbol 476 GraphicUsed by:477
Symbol 477 ButtonUses:472 473 474 475 476Used by:541
Symbol 478 GraphicUsed by:483
Symbol 479 TextUses:158Used by:483
Symbol 480 GraphicUsed by:483
Symbol 481 GraphicUsed by:483
Symbol 482 GraphicUsed by:483
Symbol 483 ButtonUses:478 479 480 481 482Used by:541
Symbol 484 GraphicUsed by:489
Symbol 485 TextUses:158Used by:489
Symbol 486 GraphicUsed by:489
Symbol 487 GraphicUsed by:489
Symbol 488 GraphicUsed by:489
Symbol 489 ButtonUses:484 485 486 487 488Used by:541
Symbol 490 GraphicUsed by:493
Symbol 491 TextUses:158Used by:493
Symbol 492 GraphicUsed by:493
Symbol 493 ButtonUses:490 491 492Used by:541
Symbol 494 GraphicUsed by:498
Symbol 495 TextUses:158Used by:498
Symbol 496 GraphicUsed by:498
Symbol 497 GraphicUsed by:498
Symbol 498 ButtonUses:494 495 496 497Used by:541
Symbol 499 GraphicUsed by:505
Symbol 500 TextUses:158Used by:505
Symbol 501 GraphicUsed by:505
Symbol 502 GraphicUsed by:505
Symbol 503 GraphicUsed by:505
Symbol 504 GraphicUsed by:505
Symbol 505 ButtonUses:499 500 501 502 503 504Used by:541
Symbol 506 GraphicUsed by:511
Symbol 507 TextUses:158Used by:511
Symbol 508 GraphicUsed by:511
Symbol 509 GraphicUsed by:511
Symbol 510 GraphicUsed by:511
Symbol 511 ButtonUses:506 507 508 509 510Used by:541
Symbol 512 GraphicUsed by:518
Symbol 513 TextUses:158Used by:518
Symbol 514 GraphicUsed by:518
Symbol 515 GraphicUsed by:518
Symbol 516 GraphicUsed by:518
Symbol 517 GraphicUsed by:518
Symbol 518 ButtonUses:512 513 514 515 516 517Used by:541
Symbol 519 GraphicUsed by:525
Symbol 520 TextUses:158Used by:525
Symbol 521 GraphicUsed by:525
Symbol 522 GraphicUsed by:525
Symbol 523 GraphicUsed by:525 531
Symbol 524 GraphicUsed by:525
Symbol 525 ButtonUses:519 520 521 522 523 524Used by:541
Symbol 526 GraphicUsed by:531
Symbol 527 TextUses:158Used by:531
Symbol 528 GraphicUsed by:531
Symbol 529 GraphicUsed by:531
Symbol 530 GraphicUsed by:531
Symbol 531 ButtonUses:526 527 528 523 529 530Used by:541
Symbol 532 GraphicUsed by:536
Symbol 533 TextUses:158Used by:536
Symbol 534 GraphicUsed by:536
Symbol 535 TextUses:158Used by:536
Symbol 536 ButtonUses:532 533 534 535Used by:541
Symbol 537 GraphicUsed by:540
Symbol 538 TextUses:158Used by:540
Symbol 539 GraphicUsed by:540
Symbol 540 ButtonUses:537 538 539Used by:541
Symbol 541 MovieClipUses:471 477 483 489 493 498 505 511 518 525 531 536 540Used by:Timeline
Symbol 542 BitmapUsed by:543 544 545
Symbol 543 GraphicUses:542Used by:546
Symbol 544 GraphicUses:542Used by:546
Symbol 545 GraphicUses:542Used by:546
Symbol 546 ButtonUses:543 544 545Used by:Timeline
Symbol 547 GraphicUsed by:548
Symbol 548 MovieClipUses:547Used by:Timeline
Symbol 549 GraphicUsed by:Timeline
Symbol 550 TextUses:86Used by:Timeline
Symbol 551 TextUses:48 86Used by:Timeline
Symbol 552 TextUses:86Used by:554 561
Symbol 553 GraphicUsed by:554 561
Symbol 554 ButtonUses:552 553Used by:Timeline
Symbol 555 TextUses:86Used by:557 562 566
Symbol 556 GraphicUsed by:557 562 566
Symbol 557 ButtonUses:555 556Used by:Timeline
Symbol 558 GraphicUsed by:Timeline
Symbol 559 TextUses:86Used by:Timeline
Symbol 560 TextUses:48 86Used by:Timeline
Symbol 561 ButtonUses:552 553Used by:Timeline
Symbol 562 ButtonUses:555 556Used by:Timeline
Symbol 563 GraphicUsed by:Timeline
Symbol 564 TextUses:86Used by:Timeline
Symbol 565 TextUses:48Used by:Timeline
Symbol 566 ButtonUses:555 556Used by:Timeline
Symbol 567 TextUses:86Used by:569
Symbol 568 GraphicUsed by:569
Symbol 569 ButtonUses:567 568Used by:Timeline
Symbol 570 GraphicUsed by:Timeline
Symbol 571 TextUses:86Used by:Timeline
Symbol 572 TextUses:48Used by:Timeline
Symbol 573 TextUses:48Used by:Timeline
Symbol 574 FontUsed by:575
Symbol 575 TextUses:574Used by:Timeline
Symbol 576 GraphicUsed by:Timeline
Symbol 577 TextUses:86Used by:Timeline
Symbol 578 GraphicUsed by:584 622
Symbol 579 TextUses:48Used by:584 622
Symbol 580 GraphicUsed by:584 622
Symbol 581 TextUses:48Used by:584 622
Symbol 582 GraphicUsed by:584 622
Symbol 583 GraphicUsed by:584 622
Symbol 584 ButtonUses:578 579 580 581 582 583Used by:Timeline
Symbol 585 GraphicUsed by:591 623
Symbol 586 TextUses:48Used by:591 623
Symbol 587 GraphicUsed by:591 623
Symbol 588 TextUses:48Used by:591 623
Symbol 589 GraphicUsed by:591 623
Symbol 590 GraphicUsed by:591 623
Symbol 591 ButtonUses:585 586 587 588 589 590Used by:Timeline
Symbol 592 GraphicUsed by:598 624
Symbol 593 TextUses:48Used by:598 624
Symbol 594 GraphicUsed by:598 624
Symbol 595 TextUses:48Used by:598 624
Symbol 596 GraphicUsed by:598 624
Symbol 597 GraphicUsed by:598 624
Symbol 598 ButtonUses:592 593 594 595 596 597Used by:Timeline
Symbol 599 GraphicUsed by:605 625
Symbol 600 TextUses:48Used by:605 625
Symbol 601 GraphicUsed by:605 625
Symbol 602 TextUses:48Used by:605 625
Symbol 603 GraphicUsed by:605 625
Symbol 604 GraphicUsed by:605 625
Symbol 605 ButtonUses:599 600 601 602 603 604Used by:Timeline
Symbol 606 GraphicUsed by:612 626
Symbol 607 TextUses:48Used by:612 626
Symbol 608 GraphicUsed by:612 626
Symbol 609 TextUses:48Used by:612 626
Symbol 610 GraphicUsed by:612 626
Symbol 611 GraphicUsed by:612 626
Symbol 612 ButtonUses:606 607 608 609 610 611Used by:Timeline
Symbol 613 GraphicUsed by:619 627
Symbol 614 TextUses:48Used by:619 627
Symbol 615 GraphicUsed by:619 627
Symbol 616 TextUses:48Used by:619 627
Symbol 617 GraphicUsed by:619 627
Symbol 618 GraphicUsed by:619 627
Symbol 619 ButtonUses:613 614 615 616 617 618Used by:Timeline
Symbol 620 GraphicUsed by:Timeline
Symbol 621 TextUses:86Used by:Timeline
Symbol 622 ButtonUses:578 579 580 581 582 583Used by:Timeline
Symbol 623 ButtonUses:585 586 587 588 589 590Used by:Timeline
Symbol 624 ButtonUses:592 593 594 595 596 597Used by:Timeline
Symbol 625 ButtonUses:599 600 601 602 603 604Used by:Timeline
Symbol 626 ButtonUses:606 607 608 609 610 611Used by:Timeline
Symbol 627 ButtonUses:613 614 615 616 617 618Used by:Timeline
Symbol 628 GraphicUsed by:Timeline
Symbol 629 TextUses:86Used by:Timeline
Symbol 630 TextUses:86Used by:632
Symbol 631 GraphicUsed by:632
Symbol 632 ButtonUses:630 631Used by:Timeline
Symbol 633 TextUses:86Used by:635
Symbol 634 GraphicUsed by:635
Symbol 635 ButtonUses:633 634Used by:Timeline
Symbol 636 TextUses:86Used by:638
Symbol 637 GraphicUsed by:638
Symbol 638 ButtonUses:636 637Used by:Timeline
Symbol 639 GraphicUsed by:Timeline
Symbol 640 TextUses:86Used by:Timeline
Symbol 641 EditableTextUses:115Used by:Timeline
Symbol 642 EditableTextUses:115Used by:Timeline
Symbol 643 ButtonUses:110 111 112Used by:Timeline
Symbol 644 TextUses:115Used by:Timeline
Symbol 645 TextUses:115Used by:Timeline
Symbol 646 FontUsed by:647 648
Symbol 647 EditableTextUses:646Used by:Timeline
Symbol 648 EditableTextUses:646Used by:Timeline

Instance Names

"userInfo"Frame 19Symbol 127 MovieClip
"loginInfo"Frame 19Symbol 140 MovieClip
"field"Frame 26Symbol 469 MovieClip
"playMenu"Frame 26Symbol 541 MovieClip
"slash"Frame 26Symbol 548 MovieClip
"white"Frame 68Symbol 619 Button
"brown"Frame 78Symbol 622 Button
"bblue"Frame 78Symbol 623 Button
"orange"Frame 78Symbol 624 Button
"blue"Frame 78Symbol 625 Button
"gold"Frame 78Symbol 626 Button
"white"Frame 78Symbol 627 Button
"homeT"Frame 95Symbol 373 MovieClip
"awayT"Frame 95Symbol 373 MovieClip
"fd1"Symbol 85 MovieClip Frame 1Symbol 78 MovieClip
"fd2"Symbol 85 MovieClip Frame 1Symbol 78 MovieClip
"fd3"Symbol 85 MovieClip Frame 1Symbol 78 MovieClip
"submit_btn"Symbol 140 MovieClip Frame 1Symbol 134 Button
"forgot_btn"Symbol 140 MovieClip Frame 1Symbol 138 Button
"power"Symbol 160 MovieClip Frame 1Symbol 155 MovieClip
"direction"Symbol 160 MovieClip Frame 1Symbol 157 MovieClip
"hometeam"Symbol 390 MovieClip Frame 1Symbol 373 MovieClip
"awayteam"Symbol 390 MovieClip Frame 1Symbol 373 MovieClip
"marker"Symbol 390 MovieClip Frame 1Symbol 381 MovieClip
"tSecs"Symbol 390 MovieClip Frame 1Symbol 387 EditableText
"zero"Symbol 390 MovieClip Frame 1Symbol 389 EditableText
"good"Symbol 394 MovieClip Frame 1Symbol 393 MovieClip
"fdMarkers"Symbol 469 MovieClip Frame 1Symbol 143 MovieClip
"fd1"Symbol 469 MovieClip Frame 1Symbol 78 MovieClip
"fd2"Symbol 469 MovieClip Frame 1Symbol 78 MovieClip
"fd3"Symbol 469 MovieClip Frame 1Symbol 78 MovieClip
"fd0"Symbol 469 MovieClip Frame 1Symbol 145 MovieClip
"fd4"Symbol 469 MovieClip Frame 1Symbol 145 MovieClip
"endzone1"Symbol 469 MovieClip Frame 1Symbol 152 MovieClip
"endzone2"Symbol 469 MovieClip Frame 1Symbol 152 MovieClip
"kickMeter"Symbol 469 MovieClip Frame 1Symbol 160 MovieClip
"hit"Symbol 469 MovieClip Frame 1Symbol 162 MovieClip
"ring"Symbol 469 MovieClip Frame 1Symbol 164 MovieClip
"white_wr1"Symbol 469 MovieClip Frame 1Symbol 190 MovieClip
"white_lg"Symbol 469 MovieClip Frame 1Symbol 197 MovieClip
"gold_lg"Symbol 469 MovieClip Frame 1Symbol 204 MovieClip
"bblue_wr1"Symbol 469 MovieClip Frame 1Symbol 230 MovieClip
"bblue_lg"Symbol 469 MovieClip Frame 1Symbol 237 MovieClip
"blue_wr1"Symbol 469 MovieClip Frame 1Symbol 263 MovieClip
"blue_lg"Symbol 469 MovieClip Frame 1Symbol 273 MovieClip
"orange_wr1"Symbol 469 MovieClip Frame 1Symbol 299 MovieClip
"orange_lg"Symbol 469 MovieClip Frame 1Symbol 306 MovieClip
"brown_wr1"Symbol 469 MovieClip Frame 1Symbol 332 MovieClip
"brown_lg"Symbol 469 MovieClip Frame 1Symbol 339 MovieClip
"white_c"Symbol 469 MovieClip Frame 1Symbol 197 MovieClip
"bblue_c"Symbol 469 MovieClip Frame 1Symbol 237 MovieClip
"blue_c"Symbol 469 MovieClip Frame 1Symbol 273 MovieClip
"orange_c"Symbol 469 MovieClip Frame 1Symbol 306 MovieClip
"brown_c"Symbol 469 MovieClip Frame 1Symbol 339 MovieClip
"white_rg"Symbol 469 MovieClip Frame 1Symbol 197 MovieClip
"gold_rg"Symbol 469 MovieClip Frame 1Symbol 204 MovieClip
"bblue_rg"Symbol 469 MovieClip Frame 1Symbol 237 MovieClip
"blue_rg"Symbol 469 MovieClip Frame 1Symbol 273 MovieClip
"orange_rg"Symbol 469 MovieClip Frame 1Symbol 306 MovieClip
"brown_rg"Symbol 469 MovieClip Frame 1Symbol 339 MovieClip
"white_wr2"Symbol 469 MovieClip Frame 1Symbol 190 MovieClip
"bblue_wr2"Symbol 469 MovieClip Frame 1Symbol 230 MovieClip
"blue_wr2"Symbol 469 MovieClip Frame 1Symbol 263 MovieClip
"orange_wr2"Symbol 469 MovieClip Frame 1Symbol 299 MovieClip
"brown_wr2"Symbol 469 MovieClip Frame 1Symbol 332 MovieClip
"gold_wr1"Symbol 469 MovieClip Frame 1Symbol 365 MovieClip
"gold_wr2"Symbol 469 MovieClip Frame 1Symbol 365 MovieClip
"gold_c"Symbol 469 MovieClip Frame 1Symbol 204 MovieClip
"white_rb"Symbol 469 MovieClip Frame 1Symbol 190 MovieClip
"bblue_rb"Symbol 469 MovieClip Frame 1Symbol 230 MovieClip
"orange_rb"Symbol 469 MovieClip Frame 1Symbol 299 MovieClip
"brown_rb"Symbol 469 MovieClip Frame 1Symbol 332 MovieClip
"white_qb"Symbol 469 MovieClip Frame 1Symbol 190 MovieClip
"bblue_qb"Symbol 469 MovieClip Frame 1Symbol 230 MovieClip
"orange_qb"Symbol 469 MovieClip Frame 1Symbol 299 MovieClip
"brown_qb"Symbol 469 MovieClip Frame 1Symbol 332 MovieClip
"blue_qb"Symbol 469 MovieClip Frame 1Symbol 263 MovieClip
"blue_rb"Symbol 469 MovieClip Frame 1Symbol 263 MovieClip
"gold_qb"Symbol 469 MovieClip Frame 1Symbol 365 MovieClip
"gold_rb"Symbol 469 MovieClip Frame 1Symbol 365 MovieClip
"scoreboard"Symbol 469 MovieClip Frame 1Symbol 390 MovieClip
"upright1"Symbol 469 MovieClip Frame 1Symbol 394 MovieClip
"ball"Symbol 469 MovieClip Frame 1Symbol 444 MovieClip
"advance"Symbol 469 MovieClip Frame 1Symbol 448 Button
"passInfo"Symbol 469 MovieClip Frame 1Symbol 465 MovieClip
"soundFX"Symbol 469 MovieClip Frame 1Symbol 468 MovieClip
"punt"Symbol 541 MovieClip Frame 1Symbol 536 Button
"pat"Symbol 541 MovieClip Frame 1Symbol 540 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"loader"Frame 1
"intro"Frame 7
"splash"Frame 13
"login"Frame 19
"game"Frame 26
"offcontrols"Frame 32
"defcontrols"Frame 42
"rules"Frame 53
"credits"Frame 60
"hometeam"Frame 68
"awayteam"Frame 78
"difficulty"Frame 87
"endofgame"Frame 95
"stand"Symbol 190 MovieClip Frame 1
"run"Symbol 190 MovieClip Frame 7
"dance"Symbol 190 MovieClip Frame 21
"runwball"Symbol 190 MovieClip Frame 66
"standwball"Symbol 190 MovieClip Frame 81
"pH"Symbol 190 MovieClip Frame 89
"run"Symbol 197 MovieClip Frame 6
"blocking"Symbol 197 MovieClip Frame 20
"run"Symbol 204 MovieClip Frame 6
"blocking"Symbol 204 MovieClip Frame 20
"stand"Symbol 230 MovieClip Frame 1
"run"Symbol 230 MovieClip Frame 7
"dance"Symbol 230 MovieClip Frame 21
"runwball"Symbol 230 MovieClip Frame 66
"standwball"Symbol 230 MovieClip Frame 81
"pH"Symbol 230 MovieClip Frame 89
"run"Symbol 237 MovieClip Frame 6
"blocking"Symbol 237 MovieClip Frame 20
"stand"Symbol 263 MovieClip Frame 1
"run"Symbol 263 MovieClip Frame 7
"dance"Symbol 263 MovieClip Frame 21
"runwball"Symbol 263 MovieClip Frame 66
"standwball"Symbol 263 MovieClip Frame 81
"pH"Symbol 263 MovieClip Frame 89
"run"Symbol 273 MovieClip Frame 7
"blocking"Symbol 273 MovieClip Frame 19
"stand"Symbol 299 MovieClip Frame 1
"run"Symbol 299 MovieClip Frame 7
"dance"Symbol 299 MovieClip Frame 21
"runwball"Symbol 299 MovieClip Frame 66
"standwball"Symbol 299 MovieClip Frame 81
"pH"Symbol 299 MovieClip Frame 89
"run"Symbol 306 MovieClip Frame 6
"blocking"Symbol 306 MovieClip Frame 20
"stand"Symbol 332 MovieClip Frame 1
"run"Symbol 332 MovieClip Frame 7
"dance"Symbol 332 MovieClip Frame 21
"runwball"Symbol 332 MovieClip Frame 66
"standwball"Symbol 332 MovieClip Frame 81
"pH"Symbol 332 MovieClip Frame 89
"run"Symbol 339 MovieClip Frame 6
"blocking"Symbol 339 MovieClip Frame 20
"stand"Symbol 365 MovieClip Frame 1
"run"Symbol 365 MovieClip Frame 7
"dance"Symbol 365 MovieClip Frame 21
"runwball"Symbol 365 MovieClip Frame 66
"standwball"Symbol 365 MovieClip Frame 81
"pH"Symbol 365 MovieClip Frame 89
"gold"Symbol 373 MovieClip Frame 1
"blue"Symbol 373 MovieClip Frame 7
"brown"Symbol 373 MovieClip Frame 13
"bblue"Symbol 373 MovieClip Frame 20
"orange"Symbol 373 MovieClip Frame 26
"white"Symbol 373 MovieClip Frame 33
"kick"Symbol 444 MovieClip Frame 2
"throw"Symbol 444 MovieClip Frame 22
"throw2"Symbol 444 MovieClip Frame 42
"complete"Symbol 465 MovieClip Frame 2
"incomplete"Symbol 465 MovieClip Frame 23
"sack"Symbol 465 MovieClip Frame 44
"interception"Symbol 465 MovieClip Frame 65
"touchdown"Symbol 465 MovieClip Frame 86
"nogood"Symbol 465 MovieClip Frame 109
"good"Symbol 465 MovieClip Frame 133
"safety"Symbol 465 MovieClip Frame 157
"whistle"Symbol 468 MovieClip Frame 2

Dynamic Text Variables

_root.login_statusSymbol 107 EditableText""
_root.totalPointsSymbol 119 EditableText"        "
_root.spentPointsSymbol 120 EditableText"        "
_root.currentPointsSymbol 121 EditableText"        "
_root.userNameSymbol 123 EditableText""
_root.display1Symbol 124 EditableText""
_root.display2Symbol 126 EditableText""
_root.field1Symbol 130 EditableText""
_root.field2Symbol 131 EditableText""
status_txtSymbol 139 EditableText""
_root.homeScoreSymbol 374 EditableText"      "
_root.awayScoreSymbol 375 EditableText"      "
_root.downSymbol 384 EditableText"4      "
_root.toGoSymbol 385 EditableText"13   "
_root.minSymbol 386 EditableText"1"
_root.secSymbol 387 EditableText"59"
_root.homeScoreSymbol 641 EditableText"      "
_root.awayScoreSymbol 642 EditableText"      "
apupdateSymbol 647 EditableText""
statusboxSymbol 648 EditableText""




http://swfchan.com/15/72131/info.shtml
Created: 8/4 -2019 22:24:27 Last modified: 8/4 -2019 22:24:27 Server time: 13/05 -2024 15:35:53