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

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

holdthebutton-tom2.swf

This is the info page for
Flash #93887

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


Text
Instructions:
1) Hold The Button

Welcome to
HoldTheButton.com

Loading...

HOLD

HOLD

What is going on




Did you know?

00

Seconds

Minutes

Hours

Days

:

Your Time:

00

00

00

00

This game is stupid. Send it to your friends!

Hold The Button Records for the past 7 days

00

Longest Time:

00

00

00

00

00

Average Time:

00

00

00

00

How long can you hold it? <A HREF="http://www.holdthebutton.com/game.php">HoldTheButton.com</A>

COPY & PASTE this code to:

1) IM to Friends
2) Away Message
3) Profile link
4) Webpage link

You held the button longer than:

100%

of HoldTheButton.com users!

Hold

The

Button

ActionScript [AS1/AS2]

Frame 1
MochiAd.showPreGameAd({id:"1dccecbf4897c949", res:"400x300"});
Frame 4
loadedmin = 0; loadedmax = 0; loadedtot = 0; loadednbr = 0; loadVariablesNum ("text/min.txt", 0); loadVariablesNum ("text/max.txt", 0); loadVariablesNum ("text/tot.txt", 0); loadVariablesNum ("text/nbr.txt", 0);
Frame 18
Frame 19
stop(); stop(); stop();
Symbol 4 MovieClip [arrow] Frame 1
stop();
Symbol 55 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.1"); } static function showPreGameAd(options) { //var _local1 = this; var DEFAULTS = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, DEFAULTS); var clip = options.clip; var ad_msec = 11000; var ad_timeout = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); } else { options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var wh = _getRes(options); var _local3 = wh[0]; var h = wh[1]; mc._x = _local3 * 0.5; mc._y = h * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local3 * -0.5; chk._y = h * -0.5; var bar = chk.createEmptyMovieClip("_mochiad_bar", 4); bar._x = 10; bar._y = h - 20; var bar_color = options.color; delete options.color; var bar_background = options.background; delete options.background; var bar_outline = options.outline; delete options.outline; var backing = bar.createEmptyMovieClip("_outline", 1); backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo(_local3 - 20, 0); backing.lineTo(_local3 - 20, 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); var _local2 = bar.createEmptyMovieClip("_inside", 2); _local2.beginFill(bar_color); _local2.moveTo(0, 0); _local2.lineTo(_local3 - 20, 0); _local2.lineTo(_local3 - 20, 10); _local2.lineTo(0, 10); _local2.lineTo(0, 0); _local2.endFill(); _local2._xscale = 0; var outline = bar.createEmptyMovieClip("_outline", 3); outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo(_local3 - 20, 0); outline.lineTo(_local3 - 20, 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local1 = this; var _local2 = 100 * (1 - ((getTimer() - _local1.fadeout_start) / _local1.fadeout_time)); if (_local2 > 0) { _local1._parent._alpha = _local2; } else { var _local3 = _local1._parent._parent; MochiAd.unload(_local3); delete _local1.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local1 = this.mc._mochiad_wait; _local1.server_control = true; _local1.started = getTimer(); _local1.ad_msec = msec; }; chk.onEnterFrame = function () { var _local1 = this; var _clip = _local1._parent._parent; var ad_clip = _local1._parent._mochiad_ctr; var elapsed = (getTimer() - _local1.started); var _local3 = false; var clip_total = _clip.getBytesTotal(); var clip_loaded = _clip.getBytesLoaded(); var clip_pcnt = ((100 * clip_loaded) / clip_total); var ad_pcnt = ((100 * elapsed) / chk.ad_msec); var _inside = _local1._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(clip_pcnt || 0, ad_pcnt)); _local2 = Math.max(_local1.last_pcnt, _local2); _local1.last_pcnt = _local2; _inside._xscale = _local2; if (!chk.showing) { var total = ad_clip.getBytesTotal(); if ((total > 0) || (typeof(total) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (elapsed > chk.ad_timeout) { _local3 = true; } } if (elapsed > chk.ad_msec) { _local3 = true; } if (((clip_total > 0) && (clip_loaded >= clip_total)) && (_local3)) { if (_local1.server_control) { delete _local1.onEnterFrame; } else { _local1.fadeout_start = getTimer(); _local1.onEnterFrame = chk.fadeFunction; } } }; } } static function showInterLevelAd(options) { //var _local1 = this; var DEFAULTS = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, DEFAULTS); var clip = options.clip; var ad_msec = 11000; var ad_timeout = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); } else { options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var wh = _getRes(options); var w = wh[0]; var h = wh[1]; mc._x = w * 0.5; mc._y = h * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local1 = this; var _local2 = 100 * (1 - ((getTimer() - _local1.fadeout_start) / _local1.fadeout_time)); if (_local2 > 0) { _local1._parent._alpha = _local2; } else { var _local3 = _local1._parent._parent; MochiAd.unload(_local3); delete _local1.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local1 = this.mc._mochiad_wait; _local1.server_control = true; _local1.started = getTimer(); _local1.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local1 = this; var ad_clip = _local1._parent._mochiad_ctr; var elapsed = (getTimer() - _local1.started); var _local2 = false; if (!chk.showing) { var _local3 = ad_clip.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (elapsed > chk.ad_timeout) { _local2 = true; } } if (elapsed > chk.ad_msec) { _local2 = true; } if (_local2) { if (_local1.server_control) { delete _local1.onEnterFrame; } else { _local1.fadeout_start = getTimer(); _local1.onEnterFrame = _local1.fadeFunction; } } }; } } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(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); } static function _loadCommunicator(options) { var _local2 = options; var _local3 = arguments; var DEFAULTS = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; _local2 = _parseOptions(_local2, DEFAULTS); _local2.swfv = _local2.clip.getSWFVersion() || 6; _local2.mav = getVersion(); var clip = _local2.clip; var clipname = ("_mochiad_com_" + _local2.id); if (!_isNetworkAvailable()) { return(null); } if (clip[clipname]) { return(clip[clipname].lc); } var server = (_local2.com_server + _local2.id); _allowDomains(server); delete _local2.id; delete _local2.com_server; var depth = _local2.depth; delete _local2.depth; var mc = clip.createEmptyMovieClip(clipname, depth); var lv = mc.createEmptyMovieClip("_mochiad_com", 1); for (var k in _local2) { lv[k] = _local2[k]; } var lc = new LocalConnection(); var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); lc.mc = mc; lc.name = name; lc.allowDomain = function (d) { return(true); }; lc.allowInsecureDomain = lc.allowDomain; lc.connect(name); mc.lc = lc; lv.lc = name; lc._id = 0; lc._queue = []; lc.rpcResult = function (cb_arg) { var cb = parseInt(cb_arg); var _local2 = this._callbacks[cb]; if (!_local2) { } else { delete this._callbacks[cb]; var _local3 = []; var _local1 = 2; while (_local1 < _local2.length) { _local3.push(_local2[_local1]); _local1++; } _local1 = 1; while (_local1 < arguments.length) { _local3.push(arguments[_local1]); _local1++; } var method = _local2[1]; var obj = _local2[0]; if (obj && (typeof(method) == "string")) { method = obj[method]; } if (method) { method.apply(obj, _local3); } } }; lc._didConnect = function (endpoint) { this._endpoint = endpoint; var _local3 = this._queue; delete this._queue; var ds = this.doSend; var _local1 = 0; while (_local1 < _local3.length) { var _local2 = _local3[_local1]; ds.apply(this, _local2); _local1++; } }; lc.doSend = function (args, cbobj, cbfn) { var _local2 = arguments; if (this._endpoint == null) { var _local3 = []; var _local1 = 0; while (_local1 < _local2.length) { _local3.push(_local2[_local1]); _local1++; } this._queue.push(_local3); } else { this._id = this._id + 1; var id = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[id] = [cbobj, cbfn]; var slc = new LocalConnection(); var ss = slc.send(this._endpoint, "rpc", id, args); } }; lc._callbacks = {}; lc._callbacks[0] = [lc, "_didConnect"]; lv.st = getTimer(); lv.loadMovie(server + ".swf", "POST"); return(lc); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local2 = options; var _local1 = _loadCommunicator({id:_local2.id}); if (!_local1) { return(false); } var fncall = ["fetchHighScores", _local2]; _local1.doSend(["fetchHighScores", _local2], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local2 = options; var _local1 = _loadCommunicator({id:_local2.id}); if (!_local1) { return(false); } var fncall = ["sendHighScore", _local2]; _local1.doSend(["sendHighScore", _local2], callbackObj, callbackMethod); return(true); } static function load(options) { var _local1 = options; var DEFAULTS = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; _local1 = _parseOptions(_local1, DEFAULTS); _local1.swfv = _local1.clip.getSWFVersion() || 6; _local1.mav = getVersion(); var clip = _local1.clip; if (!_isNetworkAvailable()) { return(null); } if (clip._mochiad_loaded) { return(null); } var depth = _local1.depth; delete _local1.depth; var mc = clip.createEmptyMovieClip("_mochiad", depth); var wh = _getRes(_local1); _local1.res = (wh[0] + "x") + wh[1]; _local1.server = _local1.server + _local1.id; delete _local1.id; clip._mochiad_loaded = true; var _local2 = mc.createEmptyMovieClip("_mochiad_ctr", 1); for (var k in _local1) { _local2[k] = _local1[k]; } var server = _local2.server; delete _local2.server; var hostname = _allowDomains(server); mc.onEnterFrame = function () { var _local1 = this; if (_local1._mochiad_ctr._url != _local1._url) { _local1.onEnterFrame = function () { var _local1 = this; if (!_local1._mochiad_ctr) { delete _local1.onEnterFrame; MochiAd.unload(_local1._parent); } }; } }; var _local3 = new LocalConnection(); var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local3.mc = mc; _local3.name = name; _local3.hostname = hostname; _local3.allowDomain = function (d) { return(true); }; _local3.allowInsecureDomain = _local3.allowDomain; _local3.connect(name); mc.lc = _local3; _local2.lc = name; _local2.st = getTimer(); _local2.loadMovie(server + ".swf", "POST"); return(mc); } static function unload(clip) { var _local1 = clip; if (typeof(_local1) == "undefined") { _local1 = _root; } if (_local1.clip && (_local1.clip._mochiad)) { _local1 = _local1.clip; } if (!_local1._mochiad) { return(false); } _local1._mochiad.removeMovieClip(); delete _local1._mochiad_loaded; delete _local1._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var xy = options.res.split("x"); _local2 = parseFloat(xy[0]); _local1 = parseFloat(xy[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]); } static function _parseOptions(options, defaults) { var _local3 = {}; for (var k in defaults) { _local3[k] = defaults[k]; } if (options) { for (var k in options) { _local3[k] = options[k]; } } if (_root.mochiad_options) { var pairs = _root.mochiad_options.split("&"); var _local1 = 0; while (_local1 < pairs.length) { var _local2 = pairs[_local1].split("="); _local3[unescape(_local2[0])] = unescape(_local2[1]); _local1++; } } return(_local3); } }
Symbol 11 Button
on (press) { _root.arrow.removeMovieClip(); message2 = message2_array[random(17)]; timestart = getTimer(); gotoAndPlay (2); } on (release, dragOut, releaseOutside) { stoptime = stoptime.getUTCMilliseconds(); gotoAndPlay (4); }
Symbol 29 Button
on (keyPress "<Tab>") { if (Selection.getFocus() == "_level0.instance1.name") { Selection.setFocus("_level0.instance1.email00"); } else if (Selection.getFocus() == "_level0.instance1.email00") { Selection.setFocus("_level0.instance1.email01"); } else if (Selection.getFocus() == "_level0.instance1.email01") { Selection.setFocus("_level0.instance1.email02"); } else if (Selection.getFocus() == "_level0.instance1.email02") { Selection.setFocus("_level0.instance1.email03"); } else if (Selection.getFocus() == "_level0.instance1.email03") { Selection.setFocus("_level0.instance1.email04"); } else if (Selection.getFocus() == "_level0.instance1.email04") { Selection.setFocus("_level0.instance1.email05"); } else if (Selection.getFocus() == "_level0.instance1.email05") { Selection.setFocus("_level0.instance1.email06"); } else if (Selection.getFocus() == "_level0.instance1.email06") { Selection.setFocus("_level0.instance1.email07"); } else if (Selection.getFocus() == "_level0.instance1.email07") { Selection.setFocus("_level0.instance1.email08"); } else if (Selection.getFocus() == "_level0.instance1.email08") { Selection.setFocus("_level0.instance1.email09"); } else if (Selection.getFocus() == "_level0.instance1.email09") { Selection.setFocus("_level0.instance1.name"); } }
Symbol 50 MovieClip Frame 1
time = 0; timesec = "00"; timemin = "00"; timemili = "00"; timehour = "00"; timeday = "00"; error = ""; name = ""; timestart = 0; email00 = ""; email01 = ""; email02 = ""; email03 = ""; email04 = ""; email05 = ""; email06 = ""; email07 = ""; email08 = ""; email09 = ""; max = 0; min = 0; nbr = 0; tot = 0; avg = 0; message2 = ""; message3 = ""; i = 0; message = "How long can you Hold The Button?"; message_array = new Array("Don't you have anything better to do?", "Isn't this long enough?", "Shouldn't you take a break?", "Hang in there!", "Keep holding on!", "How much longer can you last?", "Isn't your finger starting to hurt?", "Getting hungry?", "Getting thirsty?", "Just a little bit longer!", "I know you can do it!", "Can you last another hour?", "Concentrate!", "You can do it!", "Great work!", "Can you Hold The Button longer than your friends?"); message2_array = new Array("The Top 10 button holders from HoldTheButton.com were invited to a dinner with HoldTheButton.com CEO, Holden Z. Buttin. The joyous ceremony was cut short when it was revealed that one of the guests fell asleep while trying to Hold The Button and woke up to a Top 10 score.", "HoldTheButton.com made its start in the real world in large office buildings as HoldTheElevator, then quickly moved to the virtual world as HoldTheButton.com.", "Grandpa says: \"Those crazy kids, they'll HoldTheButton for hours but they can't even hold a job\"", "Canadian startup, HoldTheDoor, declares Chapter 11 banckruptcy, citing good growth but unexpectedly high energy costs in the winter.", "57% of HoldTheButton.com users ring the doorbell before knocking.", "Please HOLD...Your time is important to us...please wait for the next available agent to assist you.", "A college drop out, the HoldTheButton.com creator, was fed up after waiting on hold for 5 days trying to get concert tickets. He was last seen running through campus yelling \"Oh Yeah, Hold This!\" ", "90% of HoldTheButton.com users are right-handed.", "Most HoldTheButton.com users switch fingers every 2-3 minutes.", "4% of HoldTheButton.com users call for a relief button-holder.", "Research shows that those who drink lots of soda, while playing HoldTheButton, only last as long as they can hold it.", "Time passes...while you're holding the button.", "12% of HoldTheButton.com users listen to classical music while playing HoldTheButton to increase their time.", "Today, Genetic Engineers can create humans that live for over 100 years, a new generation of super HoldTheButton.com users is born", "It is best to challenge your friends to HoldTheButton.com when they are tired.", "You should have plenty of time to think of some friends that you want to challenge to HoldTheButton.com.", "If you are thinking of letting go now, just think that some one, some where, is still holding the button.", "50% of HoldTheButton.com users have a below-average time.", "50% of HoldTheButton.com users have an above-average time."); stop();
Symbol 50 MovieClip Frame 2
i++; message3 = "Did you know?"; time = getTimer() - timestart; timeday = Math.floor(time / 86400000); if (timeday <= 9) { timeday = "0" + timeday; } timehour = Math.floor((time / 3600000) - (timeday * 24)); if (timehour <= 9) { timehour = "0" + timehour; } timemin = Math.floor(((time / 60000) - ((timeday * 24) * 60)) - (timehour * 60)); if (timemin <= 9) { timemin = "0" + timemin; } timesec = Math.floor((((time / 1000) - (((timeday * 24) * 60) * 60)) - ((timehour * 60) * 60)) - (timemin * 60)); if (timesec <= 9) { timesec = "0" + timesec; } timemili = Math.floor(((((time - ((((timeday * 24) * 60) * 60) * 1000)) - (((timehour * 60) * 60) * 1000)) - ((timemin * 60) * 1000)) - (timesec * 1000)) / 10); if (timemili <= 9) { timemili = "0" + timemili; } if (i >= 226) { message = message_array[random(16)]; message2 = message2_array[random(18)]; i = 0; }
Symbol 50 MovieClip Frame 3
gotoAndPlay (2);
Symbol 50 MovieClip Frame 4
time = Math.floor(time); if (time < 10) { time = 10; } if (time < _root.min) { _root.min = time; score = 0; } if (time > _root.max) { _root.max = time; score = 100; } timeday = Math.floor(time / 86400000); if (timeday <= 9) { timeday = "0" + timeday; } timehour = Math.floor((time / 3600000) - (timeday * 24)); if (timehour <= 9) { timehour = "0" + timehour; } timemin = Math.floor(((time / 60000) - ((timeday * 24) * 60)) - (timehour * 60)); if (timemin <= 9) { timemin = "0" + timemin; } timesec = Math.floor((((time / 1000) - (((timeday * 24) * 60) * 60)) - ((timehour * 60) * 60)) - (timemin * 60)); if (timesec <= 9) { timesec = "0" + timesec; } timemili = Math.floor(((((time - ((((timeday * 24) * 60) * 60) * 1000)) - (((timehour * 60) * 60) * 1000)) - ((timemin * 60) * 1000)) - (timesec * 1000)) / 10); if (timemili <= 9) { timemili = "0" + timemili; } loadVariablesNum ("holdthebutton_process.php", 0, "POST"); message = "You were able to Hold The Button for:"; maxday = Math.floor(_root.max / 86400000); if (maxday <= 9) { maxday = "0" + maxday; } maxhour = Math.floor((_root.max / 3600000) - (maxday * 24)); if (maxhour <= 9) { maxhour = "0" + maxhour; } maxmin = Math.floor(((_root.max / 60000) - ((maxday * 24) * 60)) - (maxhour * 60)); if (maxmin <= 9) { maxmin = "0" + maxmin; } maxsec = Math.floor((((_root.max / 1000) - (((maxday * 24) * 60) * 60)) - ((maxhour * 60) * 60)) - (maxmin * 60)); if (maxsec <= 9) { maxsec = "0" + maxsec; } maxmili = Math.floor(((((_root.max - ((((maxday * 24) * 60) * 60) * 1000)) - (((maxhour * 60) * 60) * 1000)) - ((maxmin * 60) * 1000)) - (maxsec * 1000)) / 10); if (maxmili <= 9) { maxmili = "0" + maxmili; } avg = Math.floor(_root.tot / _root.nbr); if (time < avg) { score = (time / avg) * 50; } else { score = (((time - avg) / (_root.max - avg)) * 50) + 50; } if (time < _root.min) { _root.min = time; score = 0; } if (time > _root.max) { _root.max = time; score = 100; } score = score * 10; score = Math.floor(score); if ((score % 10) == 0) { score = (score / 10) + ".0%"; } else { score = (score / 10) + "%"; } avgday = Math.floor(avg / 86400000); if (avgday <= 9) { avgday = "0" + avgday; } avghour = Math.floor((avg / 3600000) - (avgday * 24)); if (avghour <= 9) { avghour = "0" + avghour; } avgmin = Math.floor(((avg / 60000) - ((avgday * 24) * 60)) - (avghour * 60)); if (avgmin <= 9) { avgmin = "0" + avgmin; } avgsec = Math.floor((((avg / 1000) - (((avgday * 24) * 60) * 60)) - ((avghour * 60) * 60)) - (avgmin * 60)); if (avgsec <= 9) { avgsec = "0" + avgsec; } avgmili = Math.floor(((((avg - ((((avgday * 24) * 60) * 60) * 1000)) - (((avghour * 60) * 60) * 1000)) - ((avgmin * 60) * 1000)) - (avgsec * 1000)) / 10); if (avgmili <= 9) { avgmili = "0" + avgmili; }
Symbol 50 MovieClip Frame 5
function validEmailAddress(element, errormessage) { var _local3 = errormessage; var _local2 = element.length; var _local1 = element.toUpperCase(); var firstpart = _local1.substring(0, _local1.indexOf("@")); var middlepart = _local1.substring(_local1.indexOf("@") + 1, _local1.lastIndexOf(".")); var lastpart = _local1.substring(_local1.lastIndexOf(".") + 1, _local1.length); var at_counter = 0; if (element == "") { error = ""; return(true); } i = 0; while (i < _local2) { if (_local1.substring(i, i + 1) == "@") { at_counter++; } i++; } if (at_counter > 1) { error = ("There are multiple @'s " + _local3) + " Please fix."; return(false); } i = 0; while (i < _local2) { if (((((((((_local1.substring(i, i + 1) != "/") && (_local1.substring(i, i + 1) > "-")) && (_local1.substring(i, i + 1) < ":")) || ((_local1.substring(i, i + 1) > "?") && (_local1.substring(i, i + 1) < "["))) || (_local1.substring(i, i + 1) == ".")) || (_local1.substring(i, i + 1) == "@")) || (_local1.substring(i, i + 1) == "-")) || (_local1.substring(i, i + 1) == "_")) || (_local1.substring(i, i + 1) == " ")) { } else { error = ((("Invalid character, '" + _local1.substring(i, i + 1)) + "', ") + _local3) + " Please remove it."; return(false); } i++; } if (_local1.indexOf("@") == -1) { error = "Please enter a valid e-mail address " + _local3; return(false); } if (_local1.indexOf(".") == -1) { error = "Please enter a valid e-mail address " + _local3; return(false); } if (firstpart.length == 0) { error = "Please enter a valid e-mail address " + _local3; return(false); } if (middlepart.length == 0) { error = "Please enter a valid e-mail address " + _local3; return(false); } if (lastpart.length == 0) { error = "Please enter a valid e-mail address " + _local3; return(false); } if (_local1.indexOf(".GOV") != -1) { error = ".gov e-mails are not allowed. Please change " + _local3; return(false); } error = ""; return(true); } Selection.setFocus("name"); stop();

Library Items

Symbol 1 GraphicUsed by:4
Symbol 2 FontUsed by:3 5 6 8 10 12 15 16 17 18 19 20 21 22 23 24 25 27 30 31 32 33 34 35 36 37 38 39 40 41 43 45 47 48 49
Symbol 3 TextUses:2Used by:4
Symbol 4 MovieClip [arrow]Uses:1 3
Symbol 55 MovieClip [__Packages.MochiAd]
Symbol 5 TextUses:2Used by:Timeline
Symbol 6 TextUses:2Used by:Timeline
Symbol 7 GraphicUsed by:11
Symbol 8 TextUses:2Used by:11
Symbol 9 GraphicUsed by:11
Symbol 10 TextUses:2Used by:11
Symbol 11 ButtonUses:7 8 9 10Used by:50
Symbol 12 EditableTextUses:2Used by:50
Symbol 13 FontUsed by:14 26 44 52 53 54
Symbol 14 EditableTextUses:13Used by:50
Symbol 15 EditableTextUses:2Used by:50
Symbol 16 TextUses:2Used by:50
Symbol 17 TextUses:2Used by:50
Symbol 18 TextUses:2Used by:50
Symbol 19 TextUses:2Used by:50
Symbol 20 TextUses:2Used by:50
Symbol 21 TextUses:2Used by:50
Symbol 22 EditableTextUses:2Used by:50
Symbol 23 EditableTextUses:2Used by:50
Symbol 24 EditableTextUses:2Used by:50
Symbol 25 EditableTextUses:2Used by:50
Symbol 26 TextUses:13Used by:50
Symbol 27 TextUses:2Used by:50
Symbol 28 GraphicUsed by:29
Symbol 29 ButtonUses:28Used by:50
Symbol 30 EditableTextUses:2Used by:50
Symbol 31 TextUses:2Used by:50
Symbol 32 EditableTextUses:2Used by:50
Symbol 33 EditableTextUses:2Used by:50
Symbol 34 EditableTextUses:2Used by:50
Symbol 35 EditableTextUses:2Used by:50
Symbol 36 EditableTextUses:2Used by:50
Symbol 37 TextUses:2Used by:50
Symbol 38 EditableTextUses:2Used by:50
Symbol 39 EditableTextUses:2Used by:50
Symbol 40 EditableTextUses:2Used by:50
Symbol 41 EditableTextUses:2Used by:50
Symbol 42 GraphicUsed by:50
Symbol 43 EditableTextUses:2Used by:50
Symbol 44 EditableTextUses:13Used by:50
Symbol 45 TextUses:2Used by:50
Symbol 46 GraphicUsed by:50
Symbol 47 TextUses:2Used by:50
Symbol 48 EditableTextUses:2Used by:50
Symbol 49 TextUses:2Used by:50
Symbol 50 MovieClipUses:11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49Used by:Timeline
Symbol 51 GraphicUsed by:Timeline
Symbol 52 EditableTextUses:13Used by:Timeline
Symbol 53 EditableTextUses:13Used by:Timeline
Symbol 54 EditableTextUses:13Used by:Timeline

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$Vx$SoMdS.xWvuioaswr55Mn1/."
ExportAssets (56)Timeline Frame 1Symbol 4 as "arrow"
ExportAssets (56)Timeline Frame 1Symbol 55 as "__Packages.MochiAd"

Dynamic Text Variables

message2Symbol 12 EditableText"What is going on "
message3Symbol 14 EditableText"Did you know?"
timedaySymbol 15 EditableText"00"
timehourSymbol 22 EditableText"00"
timeminSymbol 23 EditableText"00"
timesecSymbol 24 EditableText"00"
timemiliSymbol 25 EditableText"00"
maxdaySymbol 30 EditableText"00"
maxhourSymbol 32 EditableText"00"
maxminSymbol 33 EditableText"00"
maxsecSymbol 34 EditableText"00"
maxmiliSymbol 35 EditableText"00"
avgdaySymbol 36 EditableText"00"
avghourSymbol 38 EditableText"00"
avgminSymbol 39 EditableText"00"
avgsecSymbol 40 EditableText"00"
avgmiliSymbol 41 EditableText"00"
imlinkSymbol 43 EditableText"How long can you hold it? <A HREF="http://www.holdthebutton.com/game.php">HoldTheButton.com</A> "
scoreSymbol 48 EditableText"100%"




http://swfchan.com/19/93887/info.shtml
Created: 26/3 -2019 10:58:58 Last modified: 26/3 -2019 10:58:58 Server time: 04/05 -2024 22:43:55