Frame 1
WTF_import.main(this);
Symbol 20480 MovieClip [__Packages.org.as2lib.core.BasicInterface] Frame 0
class org.as2lib.core.BasicInterface
{
function BasicInterface () {
}
}
Symbol 20481 MovieClip [__Packages.org.as2lib.env.log.LoggerRepository] Frame 0
class org.as2lib.env.log.LoggerRepository implements org.as2lib.core.BasicInterface
{
function LoggerRepository () {
}
}
Symbol 20482 MovieClip [__Packages.org.as2lib.core.BasicClass] Frame 0
class org.as2lib.core.BasicClass implements org.as2lib.core.BasicInterface
{
function BasicClass () {
}
function toString() {
return(org.as2lib.Config.getObjectStringifier().execute(this));
}
}
Symbol 20483 MovieClip [__Packages.org.as2lib.regexp.node.Node] Frame 0
class org.as2lib.regexp.node.Node extends org.as2lib.core.BasicClass
{
var next;
function Node () {
super();
next = org.as2lib.regexp.Pattern.ACCEPT;
}
function dup(flag) {
if (flag) {
return(new org.as2lib.regexp.node.Not(this));
}
throw new org.as2lib.env.except.Exception("Internal error in Node dup()", this, arguments);
}
function match(matcher, i, seq) {
matcher.last = i;
matcher.groups[0] = matcher.first;
matcher.groups[1] = matcher.last;
return(true);
}
function study(info) {
if (next != null) {
return(next.study(info));
}
return(info.deterministic);
}
function getNext(Void) {
return(next);
}
function setNext(next) {
this.next = next;
}
}
Symbol 20484 MovieClip [__Packages.org.as2lib.regexp.node.SliceU] Frame 0
class org.as2lib.regexp.node.SliceU extends org.as2lib.regexp.node.Node
{
var buffer, next;
function SliceU (buf) {
super();
buffer = buf;
}
function match(matcher, i, seq) {
var _local5 = buffer;
var _local6 = _local5.length;
if ((i + _local6) > matcher.to) {
return(false);
}
var _local7 = 0;
for ( ; _local7 < _local6 ; _local7++) {
var _local8 = seq.charCodeAt(i + _local7);
_local8 = org.as2lib.regexp.AsciiUtil.toUpper(_local8);
_local8 = org.as2lib.regexp.AsciiUtil.toLower(_local8);
if (_local5[_local7] != _local8) {
return(false);
}
}
return(next.match(matcher, i + _local6, seq));
}
function study(info) {
info.minLength = info.minLength + buffer.length;
info.maxLength = info.maxLength + buffer.length;
return(next.study(info));
}
}
Symbol 20485 MovieClip [__Packages.org.as2lib.regexp.node.LastMatch] Frame 0
class org.as2lib.regexp.node.LastMatch extends org.as2lib.regexp.node.Node
{
var next;
function LastMatch () {
super();
}
function match(matcher, i, seq) {
if (i != matcher.oldLast) {
return(false);
}
return(next.match(matcher, i, seq));
}
}
Symbol 20486 MovieClip [__Packages.org.as2lib.regexp.node.NotBehind] Frame 0
class org.as2lib.regexp.node.NotBehind extends org.as2lib.regexp.node.Node
{
var cond, rmax, rmin, next;
function NotBehind (cond, rmax, rmin) {
super();
this.cond = cond;
this.rmax = rmax;
this.rmin = rmin;
}
function match(matcher, i, seq) {
var _local5 = Math.max(i - rmax, matcher.from);
var _local6 = i - rmin;
for ( ; _local6 >= _local5 ; _local6--) {
if (cond.match(matcher, _local6, seq) && (matcher.last == i)) {
return(false);
}
}
return(next.match(matcher, i, seq));
}
}
Symbol 20487 MovieClip [__Packages.WTF_import] Frame 0
class WTF_import
{
var standalone, up, dowetdike, position_sc, ad_idx, sc, mc, mc_scalar, poker2, sock, talk, lv_wonderful, sc_tab, sc_idx;
function WTF_import () {
setup();
}
function delegate(f, d) {
return(com.dynamicflash.utils.Delegate.create(this, f, d));
}
static function main() {
System.security.allowDomain(_root._url);
System.security.allowDomain(_root._url.split("/")[2]);
System.security.allowDomain("s3.wetgenes.com");
System.security.allowDomain("www.wetgenes.com");
System.security.allowDomain("swf.wetgenes.com");
System.security.allowDomain("www.wetgenes.local");
System.security.allowDomain("swf.wetgenes.local");
System.security.allowDomain("*");
System.security.loadPolicyFile("http://swf.wetgenes.com/crossdomain.xml");
if (!_root.mc) {
_root.mc = _root;
}
if (!_root.wtf_import) {
_root.wtf_import = new WTF_import();
}
}
function setup() {
standalone = false;
if (!_root.scalar) {
standalone = true;
_root.scalar = new Scalar2(400, 600);
}
up = null;
if (_root.signals.up) {
up = _root.signals.up;
}
if (_root.wetdike && (Math.floor(_root.wetdike.v.stamp_number) < 20070924)) {
dowetdike = true;
position_sc = position_sc_wetdike;
} else {
dowetdike = false;
position_sc = position_sc_bottom;
}
ad_idx = [];
sc = null;
if (_root.wtf.mc_import) {
mc = gfx2.create_clip(_root.wtf.mc_import, null);
} else if (_root.wetdike.mc_import) {
mc = gfx2.create_clip(_root.wetdike.mc_import, null);
} else {
mc = gfx2.create_clip(_root, (16384 + 32) - 3);
}
mc_scalar = gfx2.create_clip(mc, 16384);
mc.style = {fill:-1, out:-1, text:-1};
mc.onEnterFrame = delegate(update, 0);
poker2 = new Poker2(false);
if (!_root.poker) {
_root.poker = poker2;
}
if (!_root.wtf) {
Stage.scaleMode = "noScale";
Stage.align = "TL";
}
sock = new WetSpewSock(this, standalone);
_root.sock = sock;
talk = new WetSpewTalk(this);
_root.talk = talk;
_root.talk.setup();
_root.talk.mc._x = 800;
}
function lv_wonderful_post() {
lv_wonderful.waiting = 0;
update_adverts();
}
function position_sc_bottom() {
if (_root.wtf.scale_800x600) {
sc.mc._y = 600 - 19;
sc.mc._x = 0;
sc.w = 800 - 45;
} else {
sc.mc._y = Stage.height - 19;
sc.mc._x = 0;
sc.w = Stage.width - 45;
}
}
function position_sc_wetdike() {
sc.mc._y = (14 + 142) + 4;
sc.w = 800;
}
function update() {
_root.scalar.apply(_root.talk.mc_scalar);
_root.scalar.apply(mc_scalar);
poker2.update();
_root.sock.update();
_root.talk.update(poker2.snapshot());
if (lv_wonderful.waiting > 0) {
lv_wonderful.waiting--;
return(undefined);
}
if (!sc) {
return(undefined);
}
sc.update();
if (dowetdike) {
if (_root.wetdike.showticker) {
sc.mc._visible = true;
} else {
sc.mc._visible = false;
}
}
position_sc();
if (sc.next == null) {
if (sc_idx >= sc_tab.length) {
sc_idx = 0;
}
if (sc_idx < sc_tab.length) {
sc.next = sc_tab[sc_idx];
sc_idx++;
}
}
}
function clean() {
}
function setup_adverts(_mc) {
return(undefined);
while (_local6.length > 0) {
var _local7 = random(_local6.length);
switch (_local6[_local7]) {
case 1 :
ad_idx[0] = sc_tab.length;
sc_tab[ad_idx[0]] = {url:"http://www.projectwonderful.com/advertisehere.php?id=1258&type=1", txt:"Your advert here, click to find out how.", target:"_blank"};
break;
case 2 :
ad_idx.wet = sc_tab.length;
sc_tab[ad_idx.wet] = {url:"http://www.wetgenes.com", txt:"Visit www.WetGenes.com for more of everything.", target:"_blank"};
break;
case 3 :
ad_idx["4lfa"] = sc_tab.length;
sc_tab[ad_idx["4lfa"]] = {url:"http://4lfa.com", txt:"Visit 4lfa.com for comic pictures in a web environment.", target:"_blank"};
}
_local6.splice(_local7, 1);
}
sc_idx = 0;
update_adverts();
return(undefined);
}
function update_adverts() {
return(undefined);
}
//ASSetPropFlags(_local1, null, 1);
var sitead = null;
}
Symbol 20488 MovieClip [__Packages.org.as2lib.regexp.node.GroupTail] Frame 0
class org.as2lib.regexp.node.GroupTail extends org.as2lib.regexp.node.Node
{
var localIndex, groupIndex, next;
function GroupTail (localCount, groupCount) {
super();
localIndex = localCount;
groupIndex = groupCount + groupCount;
}
function match(matcher, i, seq) {
var _local5 = matcher.locals[localIndex];
if (_local5 >= 0) {
var _local6 = matcher.groups[groupIndex];
var _local7 = matcher.groups[groupIndex + 1];
matcher.groups[groupIndex] = _local5;
matcher.groups[groupIndex + 1] = i;
if (next.match(matcher, i, seq)) {
return(true);
}
matcher.groups[groupIndex] = _local6;
matcher.groups[groupIndex + 1] = _local7;
return(false);
}
matcher.last = i;
return(true);
}
function getLocalIndex(Void) {
return(localIndex);
}
function getGroupIndex(Void) {
return(groupIndex);
}
}
Symbol 20489 MovieClip [__Packages.org.as2lib.regexp.Matcher] Frame 0
class org.as2lib.regexp.Matcher extends org.as2lib.core.BasicClass
{
var first, last, oldLast, lastAppendPosition, parentPattern, text, groups, locals, to, from;
function Matcher (newParent, newText) {
super();
acceptMode = NOANCHOR;
first = -1;
last = -1;
oldLast = -1;
lastAppendPosition = 0;
parentPattern = newParent;
text = newText;
var _local5 = Math.max(newParent.groupCount, 10);
groups = new Array(_local5 * 2);
locals = new Array(newParent.localCount);
reset();
}
function getPattern(Void) {
return(parentPattern);
}
function reset(input) {
if (input != null) {
text = input;
}
first = -1;
last = -1;
oldLast = -1;
clearGroups();
clearLocals();
lastAppendPosition = 0;
return(this);
}
function getStartIndex(group) {
if (first < 0) {
throw new org.as2lib.env.except.Exception("No match available", this, arguments);
}
if (group != null) {
if (group > getGroupCount()) {
throw new org.as2lib.env.except.Exception("No group " + group, this, arguments);
}
return(groups[group * 2]);
}
return(first);
}
function getEndIndex(group) {
if (first < 0) {
throw new org.as2lib.env.except.Exception("No match available", this, arguments);
}
if (group != null) {
if (group > getGroupCount()) {
throw new org.as2lib.env.except.Exception("No group " + group, this, arguments);
}
return(groups[(group * 2) + 1]);
}
return(last);
}
function getGroup(group) {
if (first < 0) {
throw new org.as2lib.env.except.Exception("No match found", this, arguments);
}
if (group == null) {
group = 0;
}
if ((group < 0) || (group > getGroupCount())) {
throw new org.as2lib.env.except.Exception("No group " + group, this, arguments);
}
if ((groups[group * 2] == -1) || (groups[(group * 2) + 1] == -1)) {
return(null);
}
return(getSubSequence(groups[group * 2], groups[(group * 2) + 1]));
}
function getGroupCount(Void) {
return(parentPattern.groupCount - 1);
}
function matches(Void) {
reset();
return(match(0, getTextLength(), ENDANCHOR));
}
function find(newFrom, newTo) {
if ((newFrom == null) && (newTo == null)) {
if (last == first) {
last++;
}
if (last > to) {
clearGroups();
return(false);
}
newFrom = last;
newTo = getTextLength();
} else if ((from != null) && (to == null)) {
newTo = getTextLength();
reset();
}
from = ((newFrom < 0) ? 0 : (newFrom));
to = newTo;
first = from;
last = -1;
oldLast = ((oldLast < 0) ? (from) : (oldLast));
clearGroups();
acceptMode = NOANCHOR;
var _local4 = parentPattern.root.match(this, from, text);
if (!_local4) {
first = -1;
}
oldLast = last;
return(_local4);
}
function lookingAt(Void) {
reset();
return(match(0, getTextLength(), NOANCHOR));
}
function appendReplacement(source, replacement) {
if (first < 0) {
throw new org.as2lib.env.except.Exception("No match available", this, arguments);
}
var _local4 = 0;
var _local5 = replacement;
var _local6 = new String();
while (_local4 < replacement.length) {
var _local7 = replacement.charCodeAt(_local4);
if (_local7 == org.as2lib.regexp.AsciiUtil.CHAR_BSOL) {
_local4++;
_local7 = replacement.charCodeAt(_local4);
_local6 = _local6 + chr(_local7);
_local4++;
} else if (_local7 == org.as2lib.regexp.AsciiUtil.CHAR_DOLLAR) {
_local4++;
var _local8 = replacement.charCodeAt(_local4) - 48;
if ((_local8 < 0) || (_local8 > 9)) {
throw new org.as2lib.env.except.Exception("Illegal group reference", this, arguments);
}
_local4++;
var _local9 = false;
while (!_local9) {
if (_local4 >= replacement.length) {
break;
}
var _local10 = replacement.charCodeAt(_local4) - 48;
if ((_local10 < 0) || (_local10 > 9)) {
break;
}
var _local11 = (_local8 * 10) + _local10;
if (getGroupCount() < _local11) {
_local9 = true;
} else {
_local8 = _local11;
_local4++;
}
}
if (getGroup(_local8) != null) {
_local6 = _local6 + String(getGroup(_local8));
}
} else {
_local6 = _local6 + chr(_local7);
_local4++;
}
}
source = source + getSubSequence(lastAppendPosition, first);
source = source + _local6;
lastAppendPosition = last;
return(source);
}
function appendTail(source) {
return(source + getSubSequence(lastAppendPosition, getTextLength()));
}
function replaceAll(replacement) {
reset();
var _local3 = find();
if (_local3) {
var _local4 = new String();
do {
_local4 = appendReplacement(_local4, replacement);
_local3 = find();
} while (_local3);
_local4 = appendTail(_local4);
return(_local4);
}
return(text);
}
function replaceFirst(replacement) {
var _local3 = new String();
reset();
if (find()) {
_local3 = appendReplacement(_local3, replacement);
}
_local3 = appendTail(_local3);
return(_local3);
}
function match(newFrom, newTo, anchor) {
from = ((newFrom < 0) ? 0 : (newFrom));
to = newTo;
first = from;
last = -1;
oldLast = ((oldLast < 0) ? (from) : (oldLast));
clearGroups();
acceptMode = anchor;
var _local5 = parentPattern.matchRoot.match(this, from, text);
if (!_local5) {
first = -1;
}
oldLast = last;
return(_local5);
}
function getTextLength(Void) {
return(text.length);
}
function getSubSequence(beginIndex, endIndex) {
return(text.substring(beginIndex, endIndex));
}
function clearGroups(Void) {
var _local3 = 0;
for ( ; _local3 < groups.length ; _local3++) {
groups[_local3] = -1;
}
}
function clearLocals(Void) {
var _local3 = 0;
for ( ; _local3 < locals.length ; _local3++) {
locals[_local3] = -1;
}
}
static var ENDANCHOR = 1;
static var NOANCHOR = 0;
var acceptMode = NOANCHOR;
}
Symbol 20490 MovieClip [__Packages.org.as2lib.regexp.node.Start] Frame 0
class org.as2lib.regexp.node.Start extends org.as2lib.regexp.node.Node
{
var next, minLength;
function Start (node) {
super();
next = node;
var _local4 = new org.as2lib.regexp.node.TreeInfo();
next.study(_local4);
minLength = _local4.minLength;
}
function match(matcher, i, seq) {
if (i > (matcher.to - minLength)) {
return(false);
}
var _local5 = false;
var _local6 = matcher.to - minLength;
// unexpected jump
do {
i++;
if (i > _local6) {
break;
}
_local5 = next.match(matcher, i, seq);
} while (!_local5);
if (_local5) {
matcher.first = i;
matcher.groups[0] = matcher.first;
matcher.groups[1] = matcher.last;
}
return(_local5);
}
function study(info) {
next.study(info);
info.maxValid = false;
info.deterministic = false;
return(false);
}
}
Symbol 20491 MovieClip [__Packages.org.as2lib.regexp.node.Range] Frame 0
class org.as2lib.regexp.node.Range extends org.as2lib.regexp.node.Node
{
var lower, upper, next;
function Range (n) {
super();
if (n != null) {
lower = n >>> 16;
upper = n & 65535;
}
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.NotRange((lower << 16) + upper)) : (new org.as2lib.regexp.node.Range((lower << 16) + upper))));
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
return((((_local5 - lower) | (upper - _local5)) >= 0) && (next.match(matcher, i + 1, seq)));
}
return(false);
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20492 MovieClip [__Packages.org.as2lib.regexp.node.Behind] Frame 0
class org.as2lib.regexp.node.Behind extends org.as2lib.regexp.node.Node
{
var cond, rmax, rmin, next;
function Behind (cond, rmax, rmin) {
super();
this.cond = cond;
this.rmax = rmax;
this.rmin = rmin;
}
function match(matcher, i, seq) {
var _local5 = Math.max(i - rmax, matcher.from);
var _local6 = i - rmin;
for ( ; _local6 >= _local5 ; _local6--) {
if (cond.match(matcher, _local6, seq) && (matcher.last == i)) {
return(next.match(matcher, i, seq));
}
}
return(false);
}
}
Symbol 20493 MovieClip [__Packages.org.as2lib.regexp.node.BackRefA] Frame 0
class org.as2lib.regexp.node.BackRefA extends org.as2lib.regexp.node.Node
{
var groupIndex, next;
function BackRefA (groupCount) {
super();
groupIndex = groupCount + groupCount;
}
function match(matcher, i, seq) {
var _local5 = matcher.groups[groupIndex];
var _local6 = matcher.groups[groupIndex + 1];
var _local7 = _local6 - _local5;
if (_local5 < 0) {
return(false);
}
if ((i + _local7) > matcher.to) {
return(false);
}
var _local8 = 0;
for ( ; _local8 < _local7 ; _local8++) {
var _local9 = seq.charCodeAt(i + _local8);
var _local10 = seq.charCodeAt(_local5 + _local8);
if (_local9 != _local10) {
_local9 = org.as2lib.regexp.AsciiUtil.toUpper(_local9);
_local10 = org.as2lib.regexp.AsciiUtil.toUpper(_local10);
if (_local9 != _local10) {
_local9 = org.as2lib.regexp.AsciiUtil.toLower(_local9);
_local10 = org.as2lib.regexp.AsciiUtil.toLower(_local10);
if (_local9 != _local10) {
return(false);
}
}
}
}
return(next.match(matcher, i + _local7, seq));
}
function study(info) {
info.maxValid = false;
return(next.study(info));
}
}
Symbol 20494 MovieClip [__Packages.org.as2lib.env.except.AbstractThrowable] Frame 0
class org.as2lib.env.except.AbstractThrowable extends Error
{
static var stringifier, logger;
var message, stackTrace, cause, errorCode;
function AbstractThrowable (message, thrower, args) {
super();
this.message = message;
stackTrace = new Array();
addStackTraceElement(thrower, args.callee, args);
}
static function getStringifier(Void) {
if (!stringifier) {
stringifier = new org.as2lib.env.except.ThrowableStringifier();
}
return(stringifier);
}
static function setStringifier(throwableStringifier) {
stringifier = throwableStringifier;
}
static function getLogger(Void) {
if (!logger) {
logger = org.as2lib.env.log.LogManager.getLogger("org.as2lib.env.except.Throwable");
}
return(logger);
}
function addStackTraceElement(thrower, method, args) {
stackTrace.push(new org.as2lib.env.except.StackTraceElement(thrower, method, args));
}
function getStackTrace(Void) {
return(stackTrace);
}
function getCause(Void) {
return(cause);
}
function initCause(cause) {
if (!cause) {
throw new org.as2lib.env.except.IllegalArgumentException("Cause must not be null or undefined.", this, arguments);
}
if (this.cause) {
throw new org.as2lib.env.except.IllegalStateException(("The cause [" + cause) + "] has already been initialized.", this, arguments);
}
this.cause = cause;
return(org.as2lib.env.except.Throwable(this));
}
function contains(type) {
if (this instanceof type) {
return(true);
}
if (cause != null) {
if (cause instanceof type) {
return(true);
}
if (cause instanceof org.as2lib.env.except.Throwable) {
return(org.as2lib.env.except.Throwable(cause).contains(type));
}
}
return(false);
}
function getMessage(Void) {
return(message);
}
function initErrorCode(errorCode) {
this.errorCode = errorCode;
return(org.as2lib.env.except.Throwable(this));
}
function getErrorCode(Void) {
return(errorCode);
}
function doToString(Void) {
return(getStringifier().execute(this));
}
}
Symbol 20495 MovieClip [__Packages.org.as2lib.env.except.Throwable] Frame 0
class org.as2lib.env.except.Throwable implements org.as2lib.core.BasicInterface
{
function Throwable () {
}
}
Symbol 20496 MovieClip [__Packages.org.as2lib.env.except.Exception] Frame 0
class org.as2lib.env.except.Exception extends org.as2lib.env.except.AbstractThrowable implements org.as2lib.env.except.Throwable
{
var doToString;
function Exception (message, thrower, args) {
super(message, thrower, args);
}
function toString() {
if (!arguments.caller) {
if (org.as2lib.env.except.AbstractThrowable.getLogger().isErrorEnabled()) {
org.as2lib.env.except.AbstractThrowable.getLogger().error(this);
}
}
return(doToString());
}
}
Symbol 20497 MovieClip [__Packages.org.as2lib.data.holder.DataHolderException] Frame 0
class org.as2lib.data.holder.DataHolderException extends org.as2lib.env.except.Exception
{
function DataHolderException (message, thrower, args) {
super(message, thrower, args);
}
}
Symbol 20498 MovieClip [__Packages.org.as2lib.regexp.node.Add] Frame 0
class org.as2lib.regexp.node.Add extends org.as2lib.regexp.node.Node
{
var lhs, rhs, next;
function Add (lhs, rhs) {
super();
this.lhs = lhs;
this.rhs = rhs;
}
function match(matcher, i, seq) {
if (i < matcher.to) {
return((lhs.match(matcher, i, seq) || (rhs.match(matcher, i, seq))) && (next.match(matcher, matcher.last, seq)));
}
return(false);
}
function study(info) {
var _local3 = info.maxValid;
var _local4 = info.deterministic;
var _local5 = info.minLength;
var _local6 = info.maxLength;
lhs.study(info);
var _local7 = info.minLength;
var _local8 = info.maxLength;
info.minLength = _local5;
info.maxLength = _local6;
rhs.study(info);
info.minLength = Math.min(_local7, info.minLength);
info.maxLength = Math.max(_local8, info.maxLength);
info.maxValid = _local3;
info.deterministic = _local4;
return(next.study(info));
}
}
Symbol 20499 MovieClip [__Packages.org.as2lib.regexp.node.Sub] Frame 0
class org.as2lib.regexp.node.Sub extends org.as2lib.regexp.node.Add
{
var rhs, lhs, next;
function Sub (lhs, rhs) {
super(lhs, rhs);
}
function match(matcher, i, seq) {
if (i < matcher.to) {
return((!rhs.match(matcher, i, seq)) && (lhs.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq))));
}
return(false);
}
function study(info) {
lhs.study(info);
return(next.study(info));
}
}
Symbol 20500 MovieClip [__Packages.org.as2lib.data.holder.NoSuchElementException] Frame 0
class org.as2lib.data.holder.NoSuchElementException extends org.as2lib.data.holder.DataHolderException
{
function NoSuchElementException (message, thrower, args) {
super(message, thrower, args);
}
}
Symbol 20501 MovieClip [__Packages.org.as2lib.regexp.node.TreeInfo] Frame 0
class org.as2lib.regexp.node.TreeInfo extends org.as2lib.core.BasicClass
{
var minLength, maxLength, maxValid, deterministic;
function TreeInfo () {
super();
reset();
}
function reset() {
minLength = 0;
maxLength = 0;
maxValid = true;
deterministic = true;
}
}
Symbol 20502 MovieClip [__Packages.org.as2lib.util.ArrayUtil] Frame 0
class org.as2lib.util.ArrayUtil extends org.as2lib.core.BasicClass
{
function ArrayUtil (Void) {
super();
}
static function clone(array) {
return(array.concat());
}
static function removeElement(array, element) {
return(removeAllOccurances(array, element));
}
static function removeAllOccurances(array, element) {
var _local4 = array.length;
var _local5 = new Array();
while (_local4-- , _local4 - -1) {
if (array[_local4] === element) {
_local5.unshift(_local4);
array.splice(_local4, 1);
}
}
return(_local5);
}
static function removeLastOccurance(array, element) {
var _local4 = array.length;
while (_local4-- , _local4 - -1) {
if (array[_local4] === element) {
array.splice(_local4, 1);
return(_local4);
}
}
return(-1);
}
static function removeFirstOccurance(array, element) {
var _local4 = array.length;
var _local5 = 0;
while (_local5 < _local4) {
if (array[_local5] === element) {
array.splice(_local5, 1);
return(_local5);
}
_local5 = _local5 - -1;
}
return(-1);
}
static function contains(array, object) {
for (var i in array) {
if (array[i] === object) {
return(true);
}
}
return(false);
}
static function indexOf(array, object) {
var _local4 = 0;
for ( ; _local4 < array.length ; _local4++) {
if (array[_local4] === object) {
return(_local4);
}
}
return(-1);
}
static function lastIndexOf(array, object) {
var _local4 = array.length;
while (_local4-- , _local4 - -1) {
if (array[_local4] === object) {
return(_local4);
}
}
return(-1);
}
static function shuffle(array) {
var _local3 = array.length;
var _local6 = _local3 - 1;
for ( ; _local6 >= 0 ; _local6--) {
var _local4 = Math.floor(Math.random() * _local3);
var _local5 = array[_local6];
array[_local6] = array[_local4];
array[_local4] = _local5;
}
}
static function swap(array, i, j) {
if (!array) {
throw new org.as2lib.env.except.IllegalArgumentException("Array to swap content has to be available", eval ("th" + "is"), arguments);
}
if ((i > (array.length - 1)) || (i < 0)) {
throw new org.as2lib.data.holder.NoSuchElementException(("The first index " + i) + " is not available within the array", eval ("th" + "is"), arguments);
}
if ((j > (array.length - 1)) || (j < 0)) {
throw new org.as2lib.data.holder.NoSuchElementException(("The second index " + j) + " is not available within the array", eval ("th" + "is"), arguments);
}
var _local5 = array[i];
array[i] = array[j];
array[j] = _local5;
return(array);
}
static function isSame(array1, array2) {
var _local4 = array1.length;
if (_local4 != array2.length) {
return(false);
}
while (_local4-- , _local4 - -1) {
if (!(array1[_local4] === array2[_local4])) {
return(false);
}
}
return(true);
}
static function fill(array, value, length) {
if (array == null) {
return(array);
}
if (length == null) {
length = array.length;
}
var _local5 = 0;
for ( ; _local5 < length ; _local5++) {
array[_local5] = value;
}
return(array);
}
}
Symbol 20503 MovieClip [__Packages.org.as2lib.regexp.node.Caret] Frame 0
class org.as2lib.regexp.node.Caret extends org.as2lib.regexp.node.Node
{
var next;
function Caret () {
super();
}
function match(matcher, i, seq) {
if (i > matcher.from) {
var _local5 = seq.charCodeAt(i - 1);
if ((_local5 != org.as2lib.regexp.AsciiUtil.CHAR_LF) && ((_local5 != org.as2lib.regexp.AsciiUtil.CHAR_CR) && (((_local5 | 1) != 8233) && (_local5 != 133)))) {
return(false);
}
if ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_CR) && (seq.charAt(i) == org.as2lib.regexp.AsciiUtil.CHAR_LF)) {
return(false);
}
}
if (i == matcher.to) {
return(false);
}
return(next.match(matcher, i, seq));
}
}
Symbol 20504 MovieClip [__Packages.GizmoButt2] Frame 0
class GizmoButt2
{
var up, mc, gizmos, active, focus, focus_data, top, x, y, w, h, mc_base, mc_over, mc_down, onClick;
function GizmoButt2 (_up) {
up = _up;
setup();
}
function setup_base() {
mc = gfx2.create_clip(up.mc, null);
mc.style = up.mc.style;
gizmos = new Array();
active = true;
focus = null;
focus_data = null;
top = up.top;
if (top == null) {
top = this;
}
}
function clean_base() {
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].clean();
}
}
mc.removeMovieClip();
mc = null;
}
function update_base() {
mc._x = x;
mc._y = y;
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].mc._visible = true;
gizmos[_local2].update();
} else {
gizmos[_local2].mc._visible = false;
}
}
}
static function dupe_snapshot(snapshot) {
var _local3 = {};
_local3.key = snapshot.key;
_local3.key_on = snapshot.key_on;
_local3.key_off = snapshot.key_off;
_local3.x = snapshot.x;
_local3.y = snapshot.y;
_local3.frame = snapshot.frame;
return(_local3);
}
function input_base(snapshot) {
var _local5 = dupe_snapshot(snapshot);
mc.localToGlobal(_local5);
var _local3 = 0;
for ( ; _local3 < gizmos.length ; _local3++) {
if (gizmos[_local3].active) {
gizmos[_local3].mc.globalToLocal(_local5);
gizmos[_local3].input(_local5);
gizmos[_local3].mc.localToGlobal(_local5);
}
}
return(top.focus);
}
function child(g) {
var _local3 = gizmos.length;
gizmos[_local3] = g;
return(g);
}
function set_area(_x, _y, _w, _h) {
x = _x;
y = _y;
w = _w;
h = _h;
}
function draw_mask(px, py) {
gfx2.setscroll(mc, px, py, w, h);
}
function setup() {
setup_base();
}
function clean() {
clean_base();
}
function update() {
update_base();
}
function input(snapshot) {
if (top.focus == this) {
var _local3 = dupe_snapshot(snapshot);
mc.localToGlobal(_local3);
up.mc.globalToLocal(_local3);
if ((snapshot.x > 0) && ((snapshot.y > 0) && ((snapshot.x < w) && (snapshot.y < h)))) {
if (snapshot.key_off & 1) {
top.focus = null;
mc_base._visible = true;
mc_over._visible = false;
mc_down._visible = false;
onClick(this);
return(top.focus);
}
mc_base._visible = false;
mc_over._visible = false;
mc_down._visible = true;
} else {
mc_base._visible = true;
mc_over._visible = false;
mc_down._visible = false;
if (snapshot.key_off & 1) {
top.focus = null;
return(top.focus);
}
}
update();
} else if ((top.focus == null) && ((snapshot.x > 0) && ((snapshot.y > 0) && ((snapshot.x < w) && (snapshot.y < h))))) {
if (snapshot.key_on & 1) {
top.focus = this;
mc_base._visible = false;
mc_over._visible = false;
mc_down._visible = true;
return(top.focus);
}
mc_base._visible = false;
mc_over._visible = true;
mc_down._visible = false;
} else {
mc_base._visible = true;
mc_over._visible = false;
mc_down._visible = false;
}
input_base(snapshot);
return(top.focus);
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20505 MovieClip [__Packages.org.as2lib.regexp.node.NotRange] Frame 0
class org.as2lib.regexp.node.NotRange extends org.as2lib.regexp.node.Node
{
var lower, upper, next;
function NotRange (n) {
super();
if (n != null) {
lower = n >>> 16;
upper = n & 65535;
}
}
function dup(flag) {
if (flag) {
return(new org.as2lib.regexp.node.Range((lower << 16) + upper));
}
return(new org.as2lib.regexp.node.NotRange((lower << 16) + upper));
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
return((((_local5 - lower) | (upper - _local5)) < 0) && (next.match(matcher, i + 1, seq)));
}
return(false);
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20506 MovieClip [__Packages.org.as2lib.regexp.node.NotRangeA] Frame 0
class org.as2lib.regexp.node.NotRangeA extends org.as2lib.regexp.node.NotRange
{
var lower, upper, next;
function NotRangeA (n) {
super();
lower = n >>> 16;
upper = n & 65535;
}
function dup(flag) {
if (flag) {
return(new org.as2lib.regexp.node.RangeA((lower << 16) + upper));
}
return(new org.as2lib.regexp.node.NotRangeA((lower << 16) + upper));
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
var _local6 = ((_local5 - lower) | (upper - _local5)) < 0;
if (_local6) {
_local5 = org.as2lib.regexp.AsciiUtil.toUpper(_local5);
_local6 = ((_local5 - lower) | (upper - _local5)) < 0;
if (_local6) {
_local5 = org.as2lib.regexp.AsciiUtil.toLower(_local5);
_local6 = ((_local5 - lower) | (upper - _local5)) < 0;
}
}
return(_local6 && (next.match(matcher, i + 1, seq)));
}
return(false);
}
}
Symbol 20507 MovieClip [__Packages.org.as2lib.regexp.node.Slice] Frame 0
class org.as2lib.regexp.node.Slice extends org.as2lib.regexp.node.Node
{
var buffer, next;
function Slice (buf) {
super();
buffer = buf;
}
function match(matcher, i, seq) {
var _local5 = buffer;
var _local6 = _local5.length;
if ((i + _local6) > matcher.to) {
return(false);
}
var _local7 = 0;
for ( ; _local7 < _local6 ; _local7++) {
if (_local5[_local7] != seq.charCodeAt(i + _local7)) {
return(false);
}
}
return(next.match(matcher, i + _local6, seq));
}
function study(info) {
info.minLength = info.minLength + buffer.length;
info.maxLength = info.maxLength + buffer.length;
return(next.study(info));
}
function getBuffer(Void) {
return(buffer);
}
}
Symbol 20508 MovieClip [__Packages.org.as2lib.env.except.FatalException] Frame 0
class org.as2lib.env.except.FatalException extends org.as2lib.env.except.AbstractThrowable implements org.as2lib.env.except.Throwable
{
var doToString;
function FatalException (message, thrower, args) {
super(message, thrower, args);
}
function toString() {
if (!arguments.caller) {
if (org.as2lib.env.except.AbstractThrowable.getLogger().isFatalEnabled()) {
org.as2lib.env.except.AbstractThrowable.getLogger().fatal(this);
}
}
return(doToString());
}
}
Symbol 20509 MovieClip [__Packages.org.as2lib.env.except.IllegalArgumentException] Frame 0
class org.as2lib.env.except.IllegalArgumentException extends org.as2lib.env.except.FatalException
{
function IllegalArgumentException (message, thrower, args) {
super(message, thrower, args);
}
}
Symbol 20510 MovieClip [__Packages.org.as2lib.regexp.node.Posix] Frame 0
class org.as2lib.regexp.node.Posix extends org.as2lib.regexp.node.Node
{
var ctype, next;
function Posix (type) {
super();
ctype = type;
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.NotPosix(ctype)) : (new org.as2lib.regexp.node.Posix(ctype))));
}
function match(matcher, i, seq) {
return((i < matcher.to) && (org.as2lib.regexp.AsciiUtil.isType(seq.charCodeAt(i), ctype) && (next.match(matcher, i + 1, seq))));
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20511 MovieClip [__Packages.org.as2lib.regexp.node.RangeA] Frame 0
class org.as2lib.regexp.node.RangeA extends org.as2lib.regexp.node.Range
{
var lower, upper, next;
function RangeA (n) {
super();
lower = n >>> 16;
upper = n & 65535;
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.NotRangeA((lower << 16) + upper)) : (new org.as2lib.regexp.node.RangeA((lower << 16) + upper))));
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
var _local6 = ((_local5 - lower) | (upper - _local5)) >= 0;
if (!_local6) {
_local5 = org.as2lib.regexp.AsciiUtil.toUpper(_local5);
_local6 = ((_local5 - lower) | (upper - _local5)) >= 0;
if (!_local6) {
_local5 = org.as2lib.regexp.AsciiUtil.toLower(_local5);
_local6 = ((_local5 - lower) | (upper - _local5)) >= 0;
}
}
return(_local6 && (next.match(matcher, i + 1, seq)));
}
return(false);
}
}
Symbol 20512 MovieClip [__Packages.org.as2lib.regexp.node.Ques] Frame 0
class org.as2lib.regexp.node.Ques extends org.as2lib.regexp.node.Node
{
var atom, type, next;
function Ques (node, type) {
super();
atom = node;
this.type = type;
}
function match(matcher, i, seq) {
switch (type) {
case org.as2lib.regexp.Pattern.GREEDY :
return((atom.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq))) || (next.match(matcher, i, seq)));
case org.as2lib.regexp.Pattern.LAZY :
return(next.match(matcher, i, seq) || (atom.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq))));
case org.as2lib.regexp.Pattern.POSSESSIVE :
if (atom.match(matcher, i, seq)) {
i = matcher.last;
}
return(next.match(matcher, i, seq));
}
return(atom.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq)));
}
function study(info) {
if (type != org.as2lib.regexp.Pattern.INDEPENDENT) {
var _local3 = info.minLength;
atom.study(info);
info.minLength = _local3;
info.deterministic = false;
return(next.study(info));
}
atom.study(info);
return(next.study(info));
}
function getType(Void) {
return(type);
}
}
Symbol 20513 MovieClip [__Packages.org.as2lib.regexp.node.UnixDollar] Frame 0
class org.as2lib.regexp.node.UnixDollar extends org.as2lib.regexp.node.Node
{
var multiline, next;
function UnixDollar (mul) {
super();
multiline = mul;
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
if (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_LF) {
if ((multiline == false) && (i != (matcher.to - 1))) {
return(false);
}
} else {
return(false);
}
}
return(next.match(matcher, i, seq));
}
function study(info) {
next.study(info);
return(info.deterministic);
}
}
Symbol 20514 MovieClip [__Packages.org.as2lib.regexp.node.Both] Frame 0
class org.as2lib.regexp.node.Both extends org.as2lib.regexp.node.Node
{
var lhs, rhs, next;
function Both (lhs, rhs) {
super();
this.lhs = lhs;
this.rhs = rhs;
}
function match(matcher, i, seq) {
if (i < matcher.to) {
return((lhs.match(matcher, i, seq) && (rhs.match(matcher, i, seq))) && (next.match(matcher, matcher.last, seq)));
}
return(false);
}
function study(info) {
var _local3 = info.maxValid;
var _local4 = info.deterministic;
var _local5 = info.minLength;
var _local6 = info.maxLength;
lhs.study(info);
var _local7 = info.minLength;
var _local8 = info.maxLength;
info.minLength = _local5;
info.maxLength = _local6;
rhs.study(info);
info.minLength = Math.min(_local7, info.minLength);
info.maxLength = Math.max(_local8, info.maxLength);
info.maxValid = _local3;
info.deterministic = _local4;
return(next.study(info));
}
}
Symbol 20515 MovieClip [__Packages.org.as2lib.regexp.node.Dummy] Frame 0
class org.as2lib.regexp.node.Dummy extends org.as2lib.regexp.node.Node
{
var next;
function Dummy () {
super();
}
function match(matcher, i, seq) {
return(next.match(matcher, i, seq));
}
}
Symbol 20516 MovieClip [__Packages.Gizmo2] Frame 0
class Gizmo2
{
var up, mc, gizmos, active, focus, focus_data, top, x, y, w, h;
function Gizmo2 (_up) {
up = _up;
setup();
}
function setup_base() {
mc = gfx2.create_clip(up.mc, null);
mc.style = up.mc.style;
gizmos = new Array();
active = true;
focus = null;
focus_data = null;
top = up.top;
if (top == null) {
top = this;
}
}
function clean_base() {
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].clean();
}
}
mc.removeMovieClip();
mc = null;
}
function update_base() {
mc._x = x;
mc._y = y;
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].mc._visible = true;
gizmos[_local2].update();
} else {
gizmos[_local2].mc._visible = false;
}
}
}
static function dupe_snapshot(snapshot) {
var _local3 = {};
_local3.key = snapshot.key;
_local3.key_on = snapshot.key_on;
_local3.key_off = snapshot.key_off;
_local3.x = snapshot.x;
_local3.y = snapshot.y;
_local3.frame = snapshot.frame;
return(_local3);
}
function input_base(snapshot) {
var _local5 = dupe_snapshot(snapshot);
mc.localToGlobal(_local5);
var _local3 = 0;
for ( ; _local3 < gizmos.length ; _local3++) {
if (gizmos[_local3].active) {
gizmos[_local3].mc.globalToLocal(_local5);
gizmos[_local3].input(_local5);
gizmos[_local3].mc.localToGlobal(_local5);
}
}
return(top.focus);
}
function child(g) {
var _local3 = gizmos.length;
gizmos[_local3] = g;
return(g);
}
function set_area(_x, _y, _w, _h) {
x = _x;
y = _y;
w = _w;
h = _h;
}
function draw_mask(px, py) {
gfx2.setscroll(mc, px, py, w, h);
}
function setup() {
setup_base();
}
function clean() {
clean_base();
}
function update() {
update_base();
}
function input(snapshot) {
focus = input_base(snapshot);
return(focus);
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20517 MovieClip [__Packages.org.as2lib.regexp.node.BnM] Frame 0
class org.as2lib.regexp.node.BnM extends org.as2lib.regexp.node.Node
{
var buffer, lastOcc, optoSft, next;
function BnM (src, lastOcc, optoSft, next) {
super();
buffer = src;
this.lastOcc = lastOcc;
this.optoSft = optoSft;
this.next = next;
}
static function optimize(node) {
if (!(node instanceof org.as2lib.regexp.node.Slice)) {
return(node);
}
var _local3 = org.as2lib.regexp.node.Slice(node).getBuffer();
var _local4 = _local3.length;
if (_local4 < 4) {
return(node);
}
var _local7 = new Array(128);
var _local8 = new Array(_local4);
org.as2lib.util.ArrayUtil.fill(_local7, 0);
var _local5 = 0;
for ( ; _local5 < _local4 ; _local5++) {
_local7[_local3[_local5] & 127] = _local5 + 1;
}
_local5 = _local4;
for ( ; _local5 > 0 ; _local5--) {
var _local9 = false;
var _local6 = _local4 - 1;
for ( ; _local6 >= _local5 ; _local6--) {
if (_local3[_local6] == _local3[_local6 - _local5]) {
_local8[_local6 - 1] = _local5;
} else {
_local9 = true;
break;
}
}
for ( ; _local9 ; _local5--) {
}
while (_local6 > 0) {
_local6--;
_local8[_local6] = _local5;
}
}
_local8[_local4 - 1] = 1;
return(new org.as2lib.regexp.node.BnM(_local3, _local7, _local8, node.next));
}
function match(matcher, i, seq) {
var _local5 = buffer;
var _local6 = _local5.length;
var _local7 = matcher.to - _local6;
for ( ; i <= _local7 ; for ( ; _local9 >= 0 ; _local9--) {
var _local10 = seq.charCodeAt(i + _local9)if (_local5[_local9] != _local10) {
i = i + Math.max((_local9 + 1) - lastOcc[_local10 & 127], optoSft[_local9])_local8 = truebreak;
}
}
, if (_local8) {
// unexpected jump
}
, matcher.first = i , var _local11 = next.match(matcher, i + _local6, seq) , if (_local11) {
matcher.first = imatcher.groups[0] = matcher.firstmatcher.groups[1] = matcher.lastreturn(true)}
, i++) {
var _local8 = false;
var _local9 = _local6 - 1;
}
return(false);
}
function study(info) {
info.minLength = info.minLength + buffer.length;
info.maxValid = false;
return(next.study(info));
}
}
Symbol 20518 MovieClip [__Packages.org.as2lib.util.Stringifier] Frame 0
class org.as2lib.util.Stringifier implements org.as2lib.core.BasicInterface
{
function Stringifier () {
}
}
Symbol 20519 MovieClip [__Packages.org.as2lib.core.ObjectStringifier] Frame 0
class org.as2lib.core.ObjectStringifier extends org.as2lib.core.BasicClass implements org.as2lib.util.Stringifier
{
function ObjectStringifier () {
super();
}
function execute(target) {
return(("[type " + org.as2lib.env.reflect.ReflectUtil.getTypeName(target)) + "]");
}
}
Symbol 20520 MovieClip [__Packages.org.as2lib.regexp.node.Prolog] Frame 0
class org.as2lib.regexp.node.Prolog extends org.as2lib.regexp.node.Node
{
var loop;
function Prolog (loop) {
super();
this.loop = loop;
}
function match(matcher, i, seq) {
return(loop.matchInit(matcher, i, seq));
}
function study(info) {
return(loop.study(info));
}
function getLoop(Void) {
return(loop);
}
}
Symbol 20521 MovieClip [__Packages.org.as2lib.regexp.node.First] Frame 0
class org.as2lib.regexp.node.First extends org.as2lib.regexp.node.Node
{
var atom, next;
function First (node) {
super();
atom = org.as2lib.regexp.node.BnM.optimize(node);
}
function match(matcher, i, seq) {
if (atom instanceof org.as2lib.regexp.node.BnM) {
return(atom.match(matcher, i, seq) && (next.match(matcher, matcher.last, seq)));
}
while (true) {
if (i > matcher.to) {
return(false);
}
if (atom.match(matcher, i, seq)) {
return(next.match(matcher, matcher.last, seq));
}
i++;
matcher.first++;
}
}
function study(info) {
atom.study(info);
info.maxValid = false;
info.deterministic = false;
return(next.study(info));
}
}
Symbol 20522 MovieClip [__Packages.org.as2lib.regexp.node.Dollar] Frame 0
class org.as2lib.regexp.node.Dollar extends org.as2lib.regexp.node.Node
{
var multiline, next;
function Dollar (mul) {
super();
multiline = mul;
}
function match(matcher, i, seq) {
if (!multiline) {
if (i < (matcher.to - 2)) {
return(false);
}
if (i == (matcher.to - 2)) {
var _local5 = seq.charCodeAt(i);
if (_local5 != org.as2lib.regexp.AsciiUtil.CHAR_CR) {
return(false);
}
_local5 = seq.charCodeAt(i + 1);
if (_local5 != org.as2lib.regexp.AsciiUtil.CHAR_LF) {
return(false);
}
}
}
if (i < matcher.to) {
var _local6 = seq.charCodeAt(i);
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_LF) {
if ((i > 0) && (seq.charAt(i - 1) == org.as2lib.regexp.AsciiUtil.CHAR_CR)) {
return(false);
}
} else if ((_local6 == org.as2lib.regexp.AsciiUtil.CHAR_CR) || ((_local6 == 133) || ((_local6 | 1) == 8233))) {
} else {
return(false);
}
}
return(next.match(matcher, i, seq));
}
function study(info) {
next.study(info);
return(info.deterministic);
}
}
Symbol 20523 MovieClip [__Packages.WetSpewSock] Frame 0
class WetSpewSock
{
var up, standalone, mc, state, substate, sock, connected, authenticated, game_callbacks, msg, usr, so, so_login_done;
function WetSpewSock (_up, _standalone) {
up = _up;
standalone = _standalone;
setup();
}
function delegate(f, d) {
return(com.dynamicflash.utils.Delegate.create(this, f, d));
}
function rnd_seed(n) {
rnd_num = n & 65535;
}
function rnd() {
rnd_num = (((rnd_num + 1) * 75) - 1) % 65537;
return(rnd_num);
}
function setup() {
so_load();
mc = gfx2.create_clip(up.mc, null);
state = null;
substate = null;
if (!_root.Login_Name) {
_root.Login_Name = "me";
}
if (!_root.host) {
_root.host = "swf.wetgenes.com";
}
sock = new XMLSocket();
connected = false;
authenticated = false;
game_callbacks = new Array();
sock.onConnect = delegate(sock_onconnect);
sock.onClose = delegate(sock_onclose);
sock.onData = delegate(sock_ondata);
sock.connect(_root.host, 5223);
}
function sock_onconnect(success) {
msg = new Object();
usr = new Object();
up.talk.chat_status("Booting WetSpew chat client V1.17 (c) Kriss Daniels 20080522 please remain calm, everything will be alright.");
if (success) {
up.talk.chat_status("Connected to " + _root.host);
connected = true;
var _local4 = "&arg2=unknown";
if (_root.kongregateServices != undefined) {
_local4 = "&arg2=kong";
}
if (_root.signals.up.v.name) {
var _local3 = "";
_local3 = _local3 + "&cmd=note";
_local3 = _local3 + "¬e=playing";
_local3 = _local3 + ("&arg1=" + _root.signals.up.v.name);
_local3 = _local3 + _local4;
_local3 = _local3 + "&\n";
sock.send(_local3);
} else if (_root.wetdike) {
var _local3 = "";
_local3 = _local3 + "&cmd=note";
_local3 = _local3 + "¬e=playing";
_local3 = _local3 + ("&arg1=" + "WetDike");
_local3 = _local3 + _local4;
_local3 = _local3 + "&\n";
sock.send(_local3);
} else if (_root.gamename) {
var _local3 = "";
_local3 = _local3 + "&cmd=note";
_local3 = _local3 + "¬e=playing";
_local3 = _local3 + ("&arg1=" + _global.escape(_root.gamename));
_local3 = _local3 + _local4;
_local3 = _local3 + ("&arg3=" + _global.escape(_root.gameid));
_local3 = _local3 + "&\n";
sock.send(_local3);
} else {
var _local3 = "";
_local3 = _local3 + "&cmd=note";
_local3 = _local3 + "¬e=playing";
_local3 = _local3 + ("&arg1=" + "chat");
_local3 = _local3 + _local4;
_local3 = _local3 + "&arg3=0";
_local3 = _local3 + "&\n";
sock.send(_local3);
}
} else {
up.talk.chat_status("Failed to connect to " + _root.host);
connected = false;
}
}
function sock_onclose() {
msg = new Object();
up.talk.chat_status("Lost connection to " + _root.host);
up.talk.chat_status("try /connect to reconnect...");
connected = false;
}
function check_show_joins(usr) {
if (joins[usr]) {
var _local3 = up.talk.chat_status(joins[usr]);
joins[usr] = undefined;
_local3.usr = usr;
}
parts[usr] = true;
}
function sock_ondata(s) {
if (s == "") {
return(undefined);
}
var _local5 = new Object();
var _local3 = s.split("&");
var _local6 = 0;
for ( ; _local6 < _local3.length ; _local6++) {
var _local4 = _local3[_local6].split("=");
if (_local4[0] && (_local4[1])) {
_local5[_local4[0]] = _global.unescape(_local4[1].split("+").join("%2B")).split("<").join("<").split(">").join(">");
} else if (_local4[0]) {
_local5[_local4[0]] = "";
}
}
for (var _local7 in _local5) {
msg[_local7] = _local5[_local7];
}
if (msg.txt && (msg.frm && (msg.lnk && (msg.cmd == "lnk")))) {
var _local8 = {};
check_show_joins(msg.frm);
_local8.frm = msg.frm;
_local8.cmd = "say";
_local8.txt = msg.txt;
_local8.lnk = msg.lnk;
_local8.img = msg.img;
up.talk.chat(_local8);
} else if (msg.txt && (msg.cmd == "mux")) {
var _local9 = msg.txt;
up.talk.chat_mux(_local9 + "<br>");
} else if (msg.txt && (msg.frm && (msg.cmd == "say"))) {
var _local10 = {};
check_show_joins(msg.frm);
_local10.frm = msg.frm;
_local10.cmd = "say";
_local10.txt = msg.txt;
up.talk.chat(_local10);
} else if (msg.txt && (msg.frm && (msg.cmd == "act"))) {
var _local11 = {};
check_show_joins(msg.frm);
_local11.frm = msg.frm;
_local11.cmd = "act";
_local11.txt = msg.txt;
up.talk.chat(_local11);
} else if (msg.cmd == "note") {
switch (msg.note) {
case "act" :
if (msg.arg1) {
up.talk.chat_status(("<font color=\"#00ff00\">" + msg.arg1) + "</font>");
}
break;
case "error" :
if (msg.arg1) {
up.talk.chat_status("ERROR: " + msg.arg1);
}
break;
case "warning" :
if (msg.arg1) {
up.talk.chat_status("WARNING: " + msg.arg1);
}
break;
case "notice" :
if (msg.arg1) {
up.talk.chat_status("NOTICE: " + msg.arg1);
}
break;
case "welcome" :
if (msg.arg1) {
up.talk.chat_status(("<b>" + msg.arg1) + "</b>");
joins = [];
parts = [];
}
break;
case "ranking" :
if (msg.arg1 && (msg.arg2 && (msg.arg3 && msg.arg4))) {
var _local12 = {};
_local12.frm = "*";
_local12.cmd = "say";
_local12.txt = (((((msg.arg1 + ":") + msg.arg2) + " ") + msg.arg3) + " is now #") + msg.arg4;
_local12.gamename = msg.arg1;
_local12.gameseed = msg.arg2;
_local12.username = msg.arg3;
_local12.userrank = msg.arg4;
up.talk.chat(_local12);
}
break;
case "rename" :
if (msg.arg1 && (msg.arg2 && msg.arg3)) {
check_show_joins(msg.arg2);
if (msg.arg3 == "guest") {
up.talk.chat_status(((msg.arg1 + " is now known as ") + msg.arg2) + " the guest");
} else {
up.talk.chat_status((msg.arg1 + " is now known as ") + msg.arg2);
}
}
break;
case "join" :
if (msg.arg1 && (msg.arg2 && msg.arg3)) {
joins[msg.arg1] = ((((msg.arg1 + " has joined room ") + msg.arg2) + " playing ") + msg.arg3) + " click here to play it with them!!!";
var _local13 = msg.arg1;
var _local14 = msg.arg3;
var _local15 = msg.arg4;
_local15 = Math.floor(_local15);
if (_local15 < 0) {
_local15 = 0;
}
var _local16 = _local14.split(".")[0];
var _local17 = up.talk.game_infos[_local16];
if (_local17) {
if (_local17.lnkid > 0) {
if (_local15 == 0) {
_local15 = _local17.lnkid;
}
}
}
map_user_to_gameid[_local13] = _local15;
map_gameid_to_gamename[_local15] = _local14;
}
break;
case "part" :
if (msg.arg1 && (msg.arg2)) {
if (parts[msg.arg1]) {
up.talk.chat_status((msg.arg1 + " has left room ") + msg.arg2);
parts[msg.arg1] = undefined;
}
}
break;
case "ban" :
if (msg.arg1 && (msg.arg2 && msg.arg3)) {
if (Math.floor(msg.arg3) > 0) {
up.talk.chat_status((msg.arg2 + " has been banned by ") + msg.arg1);
} else {
up.talk.chat_status((msg.arg2 + " has been unbanned by ") + msg.arg1);
}
}
break;
case "gag" :
if (msg.arg1 && (msg.arg2 && msg.arg3)) {
if (Math.floor(msg.arg3) > 0) {
up.talk.chat_status((msg.arg2 + " has been gagged by ") + msg.arg1);
} else {
up.talk.chat_status((msg.arg2 + " has been ungagged by ") + msg.arg1);
}
}
break;
case "dis" :
if (msg.arg1 && (msg.arg2 && msg.arg3)) {
if (Math.floor(msg.arg3) > 0) {
up.talk.chat_status((msg.arg2 + " has been disemvowled by ") + msg.arg1);
} else {
up.talk.chat_status((msg.arg2 + " has been revowled by ") + msg.arg1);
}
}
break;
case "users" :
if (msg.list && (msg.room)) {
var _local18 = msg.list.split(",").sort();
room = msg.room;
users = [];
user_lookup = [];
_local6 = 0;
for ( ; _local6 < _local18.length ; _local6++) {
var _local19 = _local18[_local6].split(":");
var _local20 = {};
_local20.user_name = _local19[0];
_local20.game_name = _local19[1];
_local20.game_id = Math.floor(_local19[2]);
_local20.formrank = _local19[3];
users[_local6] = _local20;
user_lookup[_local20.user_name] = _local20;
var _local21 = _local20.game_name.split(".")[0];
var _local22 = up.talk.game_infos[_local21];
if (_local22) {
if (_local22.lnkid > 0) {
if (_local20.game_id == 0) {
_local20.game_id = _local22.lnkid;
}
}
}
map_user_to_gameid[_local20.user_name] = _local20.game_id;
map_gameid_to_gamename[_local20.game_id] = _local20.game_name;
}
users_stamp++;
} else if (msg.room) {
room = msg.room;
users = [];
users_stamp++;
}
break;
case "rooms" :
if (!msg.list) {
break;
}
var _local23 = msg.list.split(",").sort();
rooms = [];
room_lookup = [];
_local6 = 0;
for ( ; _local6 < _local23.length ; _local6++) {
var _local24 = _local23[_local6].split(":");
var _local25 = {};
_local25.room_name = _local24[0];
_local25.room_members = Math.floor(_local24[1]);
rooms[_local6] = _local25;
room_lookup[_local25.room_name] = _local25;
}
rooms_stamp++;
}
} else if (msg.cmd == "game") {
var _local26 = new Array();
for (var _local7 in msg) {
_local26[_local7] = msg[_local7];
}
_local26.gid = Math.floor(_local26.gid);
if (game_callbacks[_local26.gid]) {
game_callbacks[_local26.gid](_local26);
if (_local26.gid != 0) {
game_callbacks[_local26.gid] = null;
}
}
}
}
function gmsg(msg, callback) {
if (connected) {
if (msg == null) {
game_callbacks[0] = callback;
return(true);
}
game_msgid++;
game_callbacks[game_msgid] = callback;
var _local4 = "";
_local4 = _local4 + ("&cmd=" + "game");
_local4 = _local4 + ("&gid=" + game_msgid);
for (var _local5 in msg) {
_local4 = _local4 + ((("&" + _local5) + "=") + msg[_local5]);
}
_local4 = _local4 + "&\n";
return(sock.send(_local4));
}
return(false);
}
function chat(s) {
if (s.substring(0, 1) == "/") {
var _local5 = s.split(" ");
if (connected) {
switch (_local5[0].toLowerCase()) {
case "/me" :
var _local4 = "";
_local4 = _local4 + ("&cmd=" + "act");
_local4 = _local4 + ("&txt=" + _global.escape(s.substring(4)));
_local4 = _local4 + "&\n";
var _local3 = sock.send(_local4);
break;
case "/login" :
so.data.login = (_local5[1] ? (_local5[1]) : "me");
so_save();
_local4 = "";
_local4 = _local4 + ("&cmd=" + "login");
_local4 = _local4 + ("&name=" + _global.escape(so.data.login));
_local4 = _local4 + ("&pass=" + _global.escape((_local5[2] ? (_local5[2]) : "")));
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/session" :
so.data.session = (_local5[1] ? (_local5[1]) : "");
so_save();
_local4 = "";
_local4 = _local4 + ("&cmd=" + "session");
_local4 = _local4 + ("&sess=" + _global.escape(so.data.session));
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/join" :
_local4 = "";
_local4 = _local4 + ("&cmd=" + "join");
_local4 = _local4 + ("&room=" + _global.escape((_local5[1] ? (_local5[1]) : "")));
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/users" :
_local4 = "";
_local4 = _local4 + ("&cmd=" + "users");
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/rooms" :
_local4 = "";
_local4 = _local4 + ("&cmd=" + "rooms");
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/find" :
_local4 = "";
_local4 = _local4 + ("&cmd=" + "find");
_local4 = _local4 + ("&user=" + _global.escape((_local5[1] ? (_local5[1]) : "me")));
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/connect" :
sock.close();
sock.connect((_local5[1] ? (_local5[1]) : (_root.host)), (_local5[2] ? (_local5[2]) : 5223));
break;
case "/kick" :
_local4 = "";
_local4 = _local4 + ("&cmd=" + "kick");
_local4 = _local4 + ("&user=" + _global.escape((_local5[1] ? (_local5[1]) : "me")));
_local4 = _local4 + ("&room=" + _global.escape((_local5[2] ? (_local5[2]) : "limbo")));
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/ban" :
_local4 = "";
_local4 = _local4 + ("&cmd=" + "ban");
_local4 = _local4 + ("&user=" + _global.escape((_local5[1] ? (_local5[1]) : "me")));
_local4 = _local4 + ("&time=" + _global.escape((_local5[2] ? (_local5[2]) : "15")));
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/gag" :
_local4 = "";
_local4 = _local4 + ("&cmd=" + "gag");
_local4 = _local4 + ("&user=" + _global.escape((_local5[1] ? (_local5[1]) : "me")));
_local4 = _local4 + ("&time=" + _global.escape((_local5[2] ? (_local5[2]) : "15")));
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
case "/dis" :
_local4 = "";
_local4 = _local4 + ("&cmd=" + "dis");
_local4 = _local4 + ("&user=" + _global.escape((_local5[1] ? (_local5[1]) : "me")));
_local4 = _local4 + ("&time=" + _global.escape((_local5[2] ? (_local5[2]) : "15")));
_local4 = _local4 + "&\n";
_local3 = sock.send(_local4);
break;
default :
up.talk.chat_status("unknown /command");
}
} else if (!(_local5[0].toLowerCase() === "/connect")) {
} else {
sock.close();
sock.connect((_local5[1] ? (_local5[1]) : (_root.host)), (_local5[2] ? (_local5[2]) : 5223));
}
} else if (connected) {
var _local4 = "";
_local4 = _local4 + ("&cmd=" + "say");
_local4 = _local4 + ("&txt=" + _global.escape(s));
_local4 = _local4 + "&\n";
var _local3 = sock.send(_local4);
}
}
function clean() {
sock.close();
mc.removeMovieClip();
}
function update() {
if (connected) {
if (standalone) {
if (!so_login_done) {
so_login();
so_login_done = true;
}
} else if (_root.Login_Done) {
if (usr.Login_Name != _root.Login_Name) {
if (_root.Login_Session != 0) {
chat("/session " + _root.Login_Session);
} else {
chat("/login " + _root.Login_Name);
}
usr.Login_Name = _root.Login_Name;
}
}
}
}
function so_load() {
so = SharedObject.getLocal("spew");
}
function so_save() {
so.flush();
}
function so_login() {
so_load();
if (so.data.session && (so.data.session != "")) {
chat("/session " + so.data.session);
} else if (so.data.login && (so.data.login != "")) {
chat("/login " + so.data.login);
} else if (_root.name && (_root.name != "")) {
chat("/login " + _root.name);
}
}
//ASSetPropFlags(_local1, null, 1);
var user_lookup = [];
var users = [];
var users_stamp = 0;
var room = "limbo";
var room_lookup = [];
var rooms = [];
var rooms_stamp = 0;
var game_msgid = 1;
var joins = [];
var parts = [];
var map_user_to_gameid = [];
var map_gameid_to_gamename = [];
var rnd_num = 0;
}
Symbol 20524 MovieClip [__Packages.org.as2lib.regexp.Pattern] Frame 0
class org.as2lib.regexp.Pattern extends org.as2lib.core.BasicClass
{
static var ACCEPT, LASTACCEPT;
var pattern, flags, cursor, groupCount, localCount, root, matchRoot, patternLength, temp, buffer, groupNodes;
function Pattern (newPattern, newFlags) {
super();
if (!ACCEPT) {
ACCEPT = new org.as2lib.regexp.node.Node();
}
if (!LASTACCEPT) {
LASTACCEPT = new org.as2lib.regexp.node.LastNode();
}
pattern = newPattern;
flags = ((newFlags != null) ? (newFlags) : 0);
cursor = 0;
groupCount = 1;
localCount = 0;
if (pattern.length > 0) {
compile();
} else {
root = new org.as2lib.regexp.node.Start(LASTACCEPT);
matchRoot = LASTACCEPT;
}
}
function getPattern(Void) {
return(pattern);
}
function getMatcher(input) {
var _local3 = new org.as2lib.regexp.Matcher(this, input);
return(_local3);
}
function getFlags(Void) {
return(flags);
}
static function matches(pattern, input) {
var _local4 = new org.as2lib.regexp.Pattern(pattern);
var _local5 = _local4.getMatcher(input);
return(_local5.matches());
}
function split(input, limit) {
if (limit == null) {
limit = 0;
}
var _local4 = 0;
var _local5 = limit > 0;
var _local6 = new Array();
var _local7 = getMatcher(input);
while (_local7.find()) {
if ((!_local5) || (_local6.length < (limit - 1))) {
var _local8 = input.substring(_local4, _local7.getStartIndex());
_local6.push(_local8);
_local4 = _local7.getEndIndex();
} else if (_local6.length == (limit - 1)) {
var _local9 = input.substring(_local4, input.length);
_local6.push(_local9);
_local4 = _local7.getEndIndex();
}
}
if (_local4 == 0) {
return([input.toString()]);
}
if ((!_local5) || (_local6.length < limit)) {
_local6.push(input.substring(_local4, input.length));
}
var _local10 = _local6.length;
if (limit == 0) {
while ((_local10 > 0) && (_local6[_local10 - 1].equals(""))) {
_local10--;
}
}
return(_local6.slice(0, _local10));
}
function compile(Void) {
patternLength = pattern.length;
temp = new Array(patternLength + 2);
temp = toCharCodeArray(pattern);
temp[patternLength] = 0;
temp[patternLength + 1] = 0;
buffer = new Array(32);
groupNodes = new Array(10);
matchRoot = parseExpression(LASTACCEPT);
if (patternLength != cursor) {
if (peekChar() == org.as2lib.regexp.AsciiUtil.CHAR_RPAR) {
throwError("Unmatched closing ')'", arguments);
} else {
throwError("Unexpected internal error", arguments);
}
}
if (matchRoot instanceof org.as2lib.regexp.node.Slice) {
root = org.as2lib.regexp.node.BnM.optimize(matchRoot);
if (root == matchRoot) {
root = new org.as2lib.regexp.node.Start(matchRoot);
}
} else if ((matchRoot instanceof org.as2lib.regexp.node.Begin) || (matchRoot instanceof org.as2lib.regexp.node.First)) {
root = matchRoot;
} else {
root = new org.as2lib.regexp.node.Start(matchRoot);
}
temp = null;
buffer = null;
groupNodes = null;
patternLength = 0;
}
static function printObjectTree(node) {
while (node != null) {
if (node instanceof org.as2lib.regexp.node.Prolog) {
trace(node);
printObjectTree(org.as2lib.regexp.node.Prolog(node).getLoop());
trace("**** end contents prolog loop");
} else if (node instanceof org.as2lib.regexp.node.Loop) {
trace(node);
printObjectTree(org.as2lib.regexp.node.Loop(node).getBody());
trace("**** end contents Loop body");
} else if (node instanceof org.as2lib.regexp.node.Curly) {
trace(node);
printObjectTree(org.as2lib.regexp.node.Curly(node).getAtom());
trace("**** end contents Curly body");
} else {
if (node instanceof org.as2lib.regexp.node.GroupTail) {
trace(node);
trace("Tail next is " + node.getNext());
return(undefined);
}
trace(node);
}
node = node.getNext();
if (node != null) {
trace("->next:");
}
if (node == ACCEPT) {
trace("Accept Node");
node = null;
}
}
}
function hasFlag(f) {
return((flags & f) > 0);
}
function acceptChar(ch, s) {
var _local4 = temp[cursor++];
if (hasFlag(COMMENTS)) {
_local4 = parsePastWhitespace(_local4);
}
if (ch != _local4) {
throwError(s, arguments);
}
}
function markChar(c) {
temp[patternLength] = c;
}
function peekChar(Void) {
var _local3 = temp[cursor];
if (hasFlag(COMMENTS)) {
_local3 = peekPastWhitespace(_local3);
}
return(_local3);
}
function readChar(Void) {
var _local3 = temp[cursor++];
if (hasFlag(COMMENTS)) {
_local3 = parsePastWhitespace(_local3);
}
return(_local3);
}
function readEscapedChar(Void) {
var _local3 = temp[cursor++];
return(_local3);
}
function nextChar(Void) {
var _local3 = temp[++cursor];
if (hasFlag(COMMENTS)) {
_local3 = peekPastWhitespace(_local3);
}
return(_local3);
}
function nextEscapedChar(Void) {
var _local3 = temp[++cursor];
return(_local3);
}
function peekPastWhitespace(ch) {
while (org.as2lib.regexp.AsciiUtil.isSpace(ch) || (ch == org.as2lib.regexp.AsciiUtil.CHAR_NUM)) {
while (org.as2lib.regexp.AsciiUtil.isSpace(ch)) {
ch = temp[++cursor];
}
if (ch == org.as2lib.regexp.AsciiUtil.CHAR_NUM) {
ch = peekPastLine();
}
}
return(ch);
}
function parsePastWhitespace(ch) {
while (org.as2lib.regexp.AsciiUtil.isSpace(ch) || (ch == org.as2lib.regexp.AsciiUtil.CHAR_NUM)) {
while (org.as2lib.regexp.AsciiUtil.isSpace(ch)) {
ch = temp[cursor++];
}
if (ch == org.as2lib.regexp.AsciiUtil.CHAR_NUM) {
ch = parsePastLine();
}
}
return(ch);
}
function parsePastLine(Void) {
var _local3 = temp[cursor++];
while ((_local3 != 0) && (!isLineSeparator(_local3))) {
_local3 = temp[cursor++];
}
return(_local3);
}
function peekPastLine(Void) {
var _local3 = temp[++cursor];
while ((_local3 != 0) && (!isLineSeparator(_local3))) {
_local3 = temp[++cursor];
}
return(_local3);
}
function isLineSeparator(ch) {
if (hasFlag(UNIX_LINES)) {
return(ch == org.as2lib.regexp.AsciiUtil.CHAR_LF);
}
return((ch == org.as2lib.regexp.AsciiUtil.CHAR_LF) || ((ch == org.as2lib.regexp.AsciiUtil.CHAR_CR) || (((ch | 1) == 8233) || (ch == 133))));
}
function skipChar(Void) {
var _local3 = cursor;
var _local4 = temp[_local3 + 1];
cursor = _local3 + 2;
return(_local4);
}
function unreadChar(Void) {
cursor--;
}
function throwError(desc, args) {
throw new org.as2lib.regexp.PatternSyntaxException(desc, this, args);
}
function parseExpression(end) {
var _local3 = null;
while (true) {
var _local4 = parseSequence(end);
if (_local3 == null) {
_local3 = _local4;
} else {
_local3 = new org.as2lib.regexp.node.Branch(_local3, _local4);
}
if (peekChar() != org.as2lib.regexp.AsciiUtil.CHAR_VERBAR) {
return(_local3);
}
nextChar();
}
}
function parseSequence(end) {
var _local3 = null;
var _local4 = null;
var _local5 = null;
while (true) {
var _local8 = peekChar();
if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_LPAR) {
_local5 = parseGroup();
if (_local5 == null) {
continue;
}
if (_local3 == null) {
_local3 = _local5;
} else {
_local4.setNext(_local5);
}
_local4 = root;
continue;
}
if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_LSQB) {
_local5 = parseClass(true);
} else if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_BSOL) {
_local8 = nextEscapedChar();
if ((_local8 == org.as2lib.regexp.AsciiUtil.CHAR_LOW_P) || (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_P)) {
var _local9 = _local8 == org.as2lib.regexp.AsciiUtil.CHAR_P;
var _local10 = true;
_local8 = nextChar();
if (_local8 != org.as2lib.regexp.AsciiUtil.CHAR_LCUB) {
unreadChar();
} else {
_local10 = false;
}
_local5 = parseFamily(_local9, _local10);
} else {
unreadChar();
_local5 = parseAtom();
}
} else if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_CIRC) {
nextChar();
if (hasFlag(MULTILINE)) {
if (hasFlag(UNIX_LINES)) {
_local5 = new org.as2lib.regexp.node.UnixCaret();
} else {
_local5 = new org.as2lib.regexp.node.Caret();
}
} else {
_local5 = new org.as2lib.regexp.node.Begin();
}
} else if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_DOLLAR) {
nextChar();
if (hasFlag(UNIX_LINES)) {
_local5 = new org.as2lib.regexp.node.UnixDollar(hasFlag(MULTILINE));
} else {
_local5 = new org.as2lib.regexp.node.Dollar(hasFlag(MULTILINE));
}
} else if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_PERIOD) {
nextChar();
if (hasFlag(DOTALL)) {
_local5 = new org.as2lib.regexp.node.All();
} else if (hasFlag(UNIX_LINES)) {
_local5 = new org.as2lib.regexp.node.UnixDot();
} else {
_local5 = new org.as2lib.regexp.node.Dot();
}
} else {
if ((_local8 == org.as2lib.regexp.AsciiUtil.CHAR_VERBAR) || (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_RPAR)) {
break;
}
if ((_local8 == org.as2lib.regexp.AsciiUtil.CHAR_RSQB) || (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_RCUB)) {
_local5 = parseAtom();
} else if ((_local8 == org.as2lib.regexp.AsciiUtil.CHAR_QUEST) || ((_local8 == org.as2lib.regexp.AsciiUtil.CHAR_AST) || (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_PLUS))) {
nextChar();
throwError(("Dangling meta character '" + chr(_local8)) + "'", arguments);
} else {
if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_NUL) {
if (cursor >= patternLength) {
break;
}
}
_local5 = parseAtom();
}
}
_local5 = parseClosure(_local5);
if (_local3 == null) {
_local4 = _local5;
_local3 = _local4;
} else {
_local4.setNext(_local5);
_local4 = _local5;
}
}
if (_local3 == null) {
return(end);
}
_local4.setNext(end);
return(_local3);
}
function parseAtom(Void) {
var _local3 = 0;
var _local4 = -1;
var _local5 = peekChar();
if (true) {
if ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_AST) || ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_PLUS) || ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_QUEST) || (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_LCUB)))) {
if (_local3 > 1) {
cursor = _local4;
_local3--;
}
// unexpected jump
}
if ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_DOLLAR) || ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_PERIOD) || ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_CIRC) || ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_LPAR) || ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_LSQB) || ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_VERBAR) || (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_RPAR))))))) {
// unexpected jump
}
if (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_BSOL) {
_local5 = nextEscapedChar();
if ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_LOW_P) || (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_P)) {
if (_local3 > 0) {
unreadChar();
} else if ((_local5 == org.as2lib.regexp.AsciiUtil.CHAR_LOW_P) || (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_P)) {
var _local6 = _local5 == org.as2lib.regexp.AsciiUtil.CHAR_P;
var _local7 = true;
_local5 = nextChar();
if (_local5 != org.as2lib.regexp.AsciiUtil.CHAR_LCUB) {
unreadChar();
} else {
_local7 = false;
}
return(parseFamily(_local6, _local7));
}
} else {
unreadChar();
_local4 = cursor;
_local5 = parseEscape(false, _local3 == 0);
if (_local5 != null) {
appendChar(_local5, _local3);
_local3++;
_local5 = peekChar();
// unexpected jump
}
if (_local3 == 0) {
return(root);
}
cursor = _local4;
}
// unexpected jump
}
if (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_NUL) {
if (cursor >= patternLength) {
// unexpected jump
}
}
_local4 = cursor;
appendChar(_local5, _local3);
_local3++;
_local5 = nextChar();
// unexpected jump
}
if (_local3 == 1) {
return(ceateSingle(buffer[0]));
}
return(createSlice(buffer, _local3));
}
function appendChar(ch, len) {
buffer[len] = ch;
}
function parseBackRef(refNum) {
var _local3 = false;
while (!_local3) {
var _local4 = peekChar();
switch (_local4) {
case org.as2lib.regexp.AsciiUtil.CHAR_0 :
case org.as2lib.regexp.AsciiUtil.CHAR_1 :
case org.as2lib.regexp.AsciiUtil.CHAR_2 :
case org.as2lib.regexp.AsciiUtil.CHAR_3 :
case org.as2lib.regexp.AsciiUtil.CHAR_4 :
case org.as2lib.regexp.AsciiUtil.CHAR_5 :
case org.as2lib.regexp.AsciiUtil.CHAR_6 :
case org.as2lib.regexp.AsciiUtil.CHAR_7 :
case org.as2lib.regexp.AsciiUtil.CHAR_8 :
case org.as2lib.regexp.AsciiUtil.CHAR_9 :
var _local5 = (refNum * 10) + (_local4 - org.as2lib.regexp.AsciiUtil.CHAR_0);
if ((groupCount - 1) < _local5) {
_local3 = true;
break;
}
refNum = _local5;
readChar();
break;
default :
_local3 = true;
break;
}
}
if (hasFlag(CASE_INSENSITIVE)) {
return(new org.as2lib.regexp.node.BackRefA(refNum));
}
return(new org.as2lib.regexp.node.BackRef(refNum));
}
function parseEscape(inclass, create) {
var _local4 = skipChar();
switch (_local4) {
case org.as2lib.regexp.AsciiUtil.CHAR_0 :
return(parseOctal());
case org.as2lib.regexp.AsciiUtil.CHAR_1 :
case org.as2lib.regexp.AsciiUtil.CHAR_2 :
case org.as2lib.regexp.AsciiUtil.CHAR_3 :
case org.as2lib.regexp.AsciiUtil.CHAR_4 :
case org.as2lib.regexp.AsciiUtil.CHAR_5 :
case org.as2lib.regexp.AsciiUtil.CHAR_6 :
case org.as2lib.regexp.AsciiUtil.CHAR_7 :
case org.as2lib.regexp.AsciiUtil.CHAR_8 :
case org.as2lib.regexp.AsciiUtil.CHAR_9 :
if (inclass) {
break;
}
if (groupCount < (_local4 - org.as2lib.regexp.AsciiUtil.CHAR_0)) {
throwError("No such group yet exists at this point in the pattern", arguments);
}
if (create) {
root = parseBackRef(_local4 - org.as2lib.regexp.AsciiUtil.CHAR_0);
}
return(null);
case org.as2lib.regexp.AsciiUtil.CHAR_A :
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.Begin();
}
return(null);
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.NONE);
}
return(null);
break;
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
break;
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.LastMatch();
}
return(null);
break;
if (create) {
var _local5 = cursor;
while (var _local6 = readEscapedChar() , _local6 != 0) {
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_BSOL) {
_local6 = readEscapedChar();
if ((_local6 == org.as2lib.regexp.AsciiUtil.CHAR_E) || (_local6 == 0)) {
break;
}
}
}
var _local7 = cursor - 1;
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_E) {
_local7--;
} else {
unreadChar();
}
var _local8 = _local5;
for ( ; _local8 < _local7 ; _local8++) {
appendChar(temp[_local8], _local8 - _local5);
}
root = createSlice(buffer, _local7 - _local5);
}
return(null);
break;
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
break;
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
break;
if (inclass) {
} else {
if (create) {
if (hasFlag(UNIX_LINES)) {
root = new org.as2lib.regexp.node.UnixDollar(false);
} else {
root = new org.as2lib.regexp.node.Dollar(false);
}
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_BEL);
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH);
}
return(null);
return(parseControl());
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_ESC);
return(org.as2lib.regexp.AsciiUtil.CHAR_FF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_LF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_CR);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_HT);
return(parseUnicode());
return(org.as2lib.regexp.AsciiUtil.CHAR_VT);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
return(parseHexal());
break;
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.End();
}
return(null);
return(_local4);
}
}
}
}
}
}
case org.as2lib.regexp.AsciiUtil.CHAR_B :
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.NONE);
}
return(null);
break;
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
break;
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.LastMatch();
}
return(null);
break;
if (create) {
var _local5 = cursor;
while (var _local6 = readEscapedChar() , _local6 != 0) {
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_BSOL) {
_local6 = readEscapedChar();
if ((_local6 == org.as2lib.regexp.AsciiUtil.CHAR_E) || (_local6 == 0)) {
break;
}
}
}
var _local7 = cursor - 1;
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_E) {
_local7--;
} else {
unreadChar();
}
var _local8 = _local5;
for ( ; _local8 < _local7 ; _local8++) {
appendChar(temp[_local8], _local8 - _local5);
}
root = createSlice(buffer, _local7 - _local5);
}
return(null);
break;
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
break;
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
break;
if (inclass) {
} else {
if (create) {
if (hasFlag(UNIX_LINES)) {
root = new org.as2lib.regexp.node.UnixDollar(false);
} else {
root = new org.as2lib.regexp.node.Dollar(false);
}
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_BEL);
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH);
}
return(null);
return(parseControl());
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_ESC);
return(org.as2lib.regexp.AsciiUtil.CHAR_FF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_LF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_CR);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_HT);
return(parseUnicode());
return(org.as2lib.regexp.AsciiUtil.CHAR_VT);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
return(parseHexal());
break;
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.End();
}
return(null);
return(_local4);
}
}
}
}
}
case org.as2lib.regexp.AsciiUtil.CHAR_C :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_D :
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
case org.as2lib.regexp.AsciiUtil.CHAR_E :
case org.as2lib.regexp.AsciiUtil.CHAR_F :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_G :
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.LastMatch();
}
return(null);
break;
if (create) {
var _local5 = cursor;
while (var _local6 = readEscapedChar() , _local6 != 0) {
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_BSOL) {
_local6 = readEscapedChar();
if ((_local6 == org.as2lib.regexp.AsciiUtil.CHAR_E) || (_local6 == 0)) {
break;
}
}
}
var _local7 = cursor - 1;
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_E) {
_local7--;
} else {
unreadChar();
}
var _local8 = _local5;
for ( ; _local8 < _local7 ; _local8++) {
appendChar(temp[_local8], _local8 - _local5);
}
root = createSlice(buffer, _local7 - _local5);
}
return(null);
break;
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
break;
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
break;
if (inclass) {
} else {
if (create) {
if (hasFlag(UNIX_LINES)) {
root = new org.as2lib.regexp.node.UnixDollar(false);
} else {
root = new org.as2lib.regexp.node.Dollar(false);
}
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_BEL);
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH);
}
return(null);
return(parseControl());
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_ESC);
return(org.as2lib.regexp.AsciiUtil.CHAR_FF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_LF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_CR);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_HT);
return(parseUnicode());
return(org.as2lib.regexp.AsciiUtil.CHAR_VT);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
return(parseHexal());
break;
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.End();
}
return(null);
return(_local4);
}
}
}
}
case org.as2lib.regexp.AsciiUtil.CHAR_H :
case org.as2lib.regexp.AsciiUtil.CHAR_I :
case org.as2lib.regexp.AsciiUtil.CHAR_J :
case org.as2lib.regexp.AsciiUtil.CHAR_K :
case org.as2lib.regexp.AsciiUtil.CHAR_L :
case org.as2lib.regexp.AsciiUtil.CHAR_M :
case org.as2lib.regexp.AsciiUtil.CHAR_N :
case org.as2lib.regexp.AsciiUtil.CHAR_O :
case org.as2lib.regexp.AsciiUtil.CHAR_P :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_Q :
if (create) {
var _local5 = cursor;
while (var _local6 = readEscapedChar() , _local6 != 0) {
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_BSOL) {
_local6 = readEscapedChar();
if ((_local6 == org.as2lib.regexp.AsciiUtil.CHAR_E) || (_local6 == 0)) {
break;
}
}
}
var _local7 = cursor - 1;
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_E) {
_local7--;
} else {
unreadChar();
}
var _local8 = _local5;
for ( ; _local8 < _local7 ; _local8++) {
appendChar(temp[_local8], _local8 - _local5);
}
root = createSlice(buffer, _local7 - _local5);
}
return(null);
case org.as2lib.regexp.AsciiUtil.CHAR_R :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_S :
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
case org.as2lib.regexp.AsciiUtil.CHAR_T :
case org.as2lib.regexp.AsciiUtil.CHAR_U :
case org.as2lib.regexp.AsciiUtil.CHAR_V :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_W :
if (create) {
root = new org.as2lib.regexp.node.NotPosix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
case org.as2lib.regexp.AsciiUtil.CHAR_X :
case org.as2lib.regexp.AsciiUtil.CHAR_Y :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_Z :
if (inclass) {
} else {
if (create) {
if (hasFlag(UNIX_LINES)) {
root = new org.as2lib.regexp.node.UnixDollar(false);
} else {
root = new org.as2lib.regexp.node.Dollar(false);
}
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_BEL);
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH);
}
return(null);
return(parseControl());
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_ESC);
return(org.as2lib.regexp.AsciiUtil.CHAR_FF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_LF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_CR);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_HT);
return(parseUnicode());
return(org.as2lib.regexp.AsciiUtil.CHAR_VT);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
return(parseHexal());
break;
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.End();
}
return(null);
return(_local4);
}
}
}
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_A :
return(org.as2lib.regexp.AsciiUtil.CHAR_BEL);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_B :
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.Bound(org.as2lib.regexp.node.Bound.BOTH);
}
return(null);
return(parseControl());
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_ESC);
return(org.as2lib.regexp.AsciiUtil.CHAR_FF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_LF);
break;
return(org.as2lib.regexp.AsciiUtil.CHAR_CR);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
return(org.as2lib.regexp.AsciiUtil.CHAR_HT);
return(parseUnicode());
return(org.as2lib.regexp.AsciiUtil.CHAR_VT);
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
return(parseHexal());
break;
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.End();
}
return(null);
return(_local4);
}
}
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_C :
return(parseControl());
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_D :
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.DIGIT);
}
return(null);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_E :
return(org.as2lib.regexp.AsciiUtil.CHAR_ESC);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_F :
return(org.as2lib.regexp.AsciiUtil.CHAR_FF);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_G :
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_H :
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_I :
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_J :
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_K :
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_L :
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_M :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_N :
return(org.as2lib.regexp.AsciiUtil.CHAR_LF);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_O :
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_P :
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_Q :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_R :
return(org.as2lib.regexp.AsciiUtil.CHAR_CR);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_S :
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.SPACE);
}
return(null);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_T :
return(org.as2lib.regexp.AsciiUtil.CHAR_HT);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_U :
return(parseUnicode());
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_V :
return(org.as2lib.regexp.AsciiUtil.CHAR_VT);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_W :
if (create) {
root = new org.as2lib.regexp.node.Posix(org.as2lib.regexp.AsciiUtil.WORD);
}
return(null);
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_X :
return(parseHexal());
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_Y :
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_Z :
if (inclass) {
} else {
if (create) {
root = new org.as2lib.regexp.node.End();
}
return(null);
return(_local4);
}
default :
return(_local4);
}
throwError("Illegal/unsupported escape squence", arguments);
return(null);
}
function parseClass(consume) {
var _local3 = null;
var _local4 = null;
var _local5 = new org.as2lib.regexp.node.BitClass(false);
var _local6 = true;
var _local7 = true;
var _local8 = nextChar();
while (true) {
switch (_local8) {
case org.as2lib.regexp.AsciiUtil.CHAR_CIRC :
if (_local7) {
if (temp[cursor - 1] != org.as2lib.regexp.AsciiUtil.CHAR_LSQB) {
break;
}
_local8 = nextChar();
_local6 = !_local6;
continue;//outer level
}
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LSQB :
_local7 = false;
_local4 = parseClass(true);
if (_local3 == null) {
_local3 = _local4;
} else {
_local3 = new org.as2lib.regexp.node.Add(_local3, _local4);
}
_local8 = peekChar();
continue;//outer level
case org.as2lib.regexp.AsciiUtil.CHAR_AMP :
_local7 = false;
_local8 = nextChar();
if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_AMP) {
_local8 = nextChar();
var _local9 = null;
while ((_local8 != org.as2lib.regexp.AsciiUtil.CHAR_RSQB) && (_local8 != org.as2lib.regexp.AsciiUtil.CHAR_AMP)) {
if (_local8 == org.as2lib.regexp.AsciiUtil.CHAR_LSQB) {
if (_local9 == null) {
_local9 = parseClass(true);
} else {
_local9 = new org.as2lib.regexp.node.Add(_local9, parseClass(true));
}
} else {
unreadChar();
_local9 = parseClass(false);
}
_local8 = peekChar();
}
if (_local9 != null) {
_local4 = _local9;
}
if (_local3 == null) {
if (_local9 == null) {
throwError("Bad class syntax", arguments);
} else {
_local3 = _local9;
}
} else {
_local3 = new org.as2lib.regexp.node.Both(_local3, _local4);
}
} else {
unreadChar();
break;
}
continue;//outer level
case 0 :
_local7 = false;
if (cursor >= patternLength) {
throwError("Unclosed character class", arguments);
}
break;
case org.as2lib.regexp.AsciiUtil.CHAR_RSQB :
_local7 = false;
if (_local3 != null) {
if (consume) {
nextChar();
}
return(_local3);
}
break;
default :
_local7 = false;
break;
}
_local4 = parseRange(_local5);
if (_local6) {
if (_local3 == null) {
_local3 = _local4;
} else if (_local3 != _local4) {
_local3 = new org.as2lib.regexp.node.Add(_local3, _local4);
}
} else if (_local3 == null) {
_local3 = _local4.dup(true);
} else if (_local3 != _local4) {
_local3 = new org.as2lib.regexp.node.Sub(_local3, _local4);
}
_local8 = peekChar();
}
}
function parseRange(bits) {
var _local3 = peekChar();
if (_local3 == org.as2lib.regexp.AsciiUtil.CHAR_BSOL) {
_local3 = nextEscapedChar();
if ((_local3 == org.as2lib.regexp.AsciiUtil.CHAR_LOW_P) || (_local3 == org.as2lib.regexp.AsciiUtil.CHAR_P)) {
var _local4 = _local3 == org.as2lib.regexp.AsciiUtil.CHAR_P;
var _local5 = true;
_local3 = nextChar();
if (_local3 == org.as2lib.regexp.AsciiUtil.CHAR_LCUB) {
unreadChar();
} else {
_local5 = false;
}
return(parseFamily(_local4, _local5));
}
unreadChar();
_local3 = parseEscape(true, true);
if (_local3 == null) {
return(root);
}
} else {
_local3 = parseSingle();
}
if (_local3 != null) {
if (peekChar() == org.as2lib.regexp.AsciiUtil.CHAR_MINUS) {
var _local6 = temp[cursor + 1];
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_LSQB) {
if (_local3 < 256) {
return(bits.addChar(_local3, getFlags()));
}
return(ceateSingle(_local3));
}
if (_local6 != org.as2lib.regexp.AsciiUtil.CHAR_RSQB) {
nextChar();
var _local7 = parseSingle();
if (_local7 < _local3) {
throwError("Illegal character range", arguments);
}
if (hasFlag(CASE_INSENSITIVE)) {
return(new org.as2lib.regexp.node.RangeA((_local3 << 16) + _local7));
}
return(new org.as2lib.regexp.node.Range((_local3 << 16) + _local7));
}
}
if (_local3 < 256) {
return(bits.addChar(_local3, getFlags()));
}
return(ceateSingle(_local3));
}
throwError(("Unexpected character '" + chr(_local3)) + "'", arguments);
}
function parseSingle(Void) {
var _local3 = peekChar();
if (!(_local3 === org.as2lib.regexp.AsciiUtil.CHAR_BSOL)) {
} else {
return(parseEscape(true, false));
}
nextChar();
return(_local3);
}
function parseFamily(flag, singleLetter) {
throwError("Families dosn't supported in the current Pattern's implementation", arguments);
return(null);
}
function parseGroup(Void) {
var _local3 = null;
var _local4 = null;
var _local5 = flags;
root = null;
var _local6 = nextChar();
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_QUEST) {
_local6 = skipChar();
switch (_local6) {
case org.as2lib.regexp.AsciiUtil.CHAR_COLON :
_local3 = createGroup(true);
_local4 = root;
_local3.setNext(parseExpression(_local4));
break;
case org.as2lib.regexp.AsciiUtil.CHAR_EQUALS :
case org.as2lib.regexp.AsciiUtil.CHAR_EXCL :
_local3 = createGroup(true);
_local4 = root;
_local3.setNext(parseExpression(_local4));
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_EQUALS) {
_local4 = new org.as2lib.regexp.node.Pos(_local3);
_local3 = _local4;
} else {
_local4 = new org.as2lib.regexp.node.Neg(_local3);
_local3 = _local4;
}
break;
case org.as2lib.regexp.AsciiUtil.CHAR_GT :
_local3 = createGroup(true);
_local4 = root;
_local3.setNext(parseExpression(_local4));
_local4 = new org.as2lib.regexp.node.Ques(_local3, INDEPENDENT);
_local3 = _local4;
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LT :
_local6 = readChar();
_local3 = createGroup(true);
_local4 = root;
_local3.setNext(parseExpression(_local4));
var _local7 = new org.as2lib.regexp.node.TreeInfo();
_local3.study(_local7);
if (_local7.maxValid == false) {
throwError("Look-behind group does not have an obvious maximum length", arguments);
}
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_EQUALS) {
_local4 = new org.as2lib.regexp.node.Behind(_local3, _local7.maxLength, _local7.minLength);
_local3 = _local4;
} else if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_EXCL) {
_local4 = new org.as2lib.regexp.node.NotBehind(_local3, _local7.maxLength, _local7.minLength);
_local3 = _local4;
} else {
throwError("Unknown look-behind group", arguments);
}
break;
case org.as2lib.regexp.AsciiUtil.CHAR_1 :
case org.as2lib.regexp.AsciiUtil.CHAR_2 :
case org.as2lib.regexp.AsciiUtil.CHAR_3 :
case org.as2lib.regexp.AsciiUtil.CHAR_4 :
case org.as2lib.regexp.AsciiUtil.CHAR_5 :
case org.as2lib.regexp.AsciiUtil.CHAR_6 :
case org.as2lib.regexp.AsciiUtil.CHAR_7 :
case org.as2lib.regexp.AsciiUtil.CHAR_8 :
case org.as2lib.regexp.AsciiUtil.CHAR_9 :
if (groupNodes[_local6 - org.as2lib.regexp.AsciiUtil.CHAR_0] != null) {
_local4 = new org.as2lib.regexp.node.GroupRef(groupNodes[_local6 - org.as2lib.regexp.AsciiUtil.CHAR_0]);
_local3 = _local4;
break;
}
throwError("Unknown group reference", arguments);
case org.as2lib.regexp.AsciiUtil.CHAR_DOLLAR :
case org.as2lib.regexp.AsciiUtil.CHAR_COMMAT :
throwError("Unknown group type", arguments);
default :
unreadChar();
addFlag();
_local6 = readChar();
if (_local6 == org.as2lib.regexp.AsciiUtil.CHAR_RPAR) {
return(null);
}
if (_local6 != org.as2lib.regexp.AsciiUtil.CHAR_COLON) {
throwError("Unknown inline modifier", arguments);
}
_local3 = createGroup(true);
_local4 = root;
_local3.setNext(parseExpression(_local4));
break;
}
} else {
_local3 = createGroup(false);
_local4 = root;
_local3.setNext(parseExpression(_local4));
}
acceptChar(org.as2lib.regexp.AsciiUtil.CHAR_RPAR, "Unclosed group");
flags = _local5;
var _local8 = parseClosure(_local3);
if (_local8 == _local3) {
root = _local4;
return(_local8);
}
if (_local3 == _local4) {
root = _local8;
return(_local8);
}
if (_local8 instanceof org.as2lib.regexp.node.Ques) {
var _local9 = org.as2lib.regexp.node.Ques(_local8);
if (_local9.getType() == POSSESSIVE) {
root = _local8;
return(_local8);
}
_local4.setNext(new org.as2lib.regexp.node.Dummy());
_local4 = _local4.getNext();
if (_local9.getType() == GREEDY) {
_local3 = new org.as2lib.regexp.node.Branch(_local3, _local4);
} else {
_local3 = new org.as2lib.regexp.node.Branch(_local4, _local3);
}
root = _local4;
return(_local3);
}
if (_local8 instanceof org.as2lib.regexp.node.Curly) {
var _local10 = org.as2lib.regexp.node.Curly(_local8);
if (_local10.getType() == POSSESSIVE) {
root = _local8;
return(_local8);
}
var _local11 = new org.as2lib.regexp.node.TreeInfo();
if (_local3.study(_local11)) {
var _local12 = org.as2lib.regexp.node.GroupTail(_local4);
_local3 = (root = new org.as2lib.regexp.node.GroupCurly(_local3.getNext(), _local10.getCmin(), _local10.getCmax(), _local10.getType(), org.as2lib.regexp.node.GroupTail(_local4).getLocalIndex(), org.as2lib.regexp.node.GroupTail(_local4).getGroupIndex()));
return(_local3);
}
var _local13 = org.as2lib.regexp.node.GroupHead(_local3).getLocalIndex();
if (_local10.getType() == GREEDY) {
var _local14 = new org.as2lib.regexp.node.Loop(localCount, _local13);
} else {
var _local14 = new org.as2lib.regexp.node.LazyLoop(localCount, _local13);
}
var _local15 = new org.as2lib.regexp.node.Prolog(_local14);
localCount = localCount + 1;
_local14.setCmin(_local10.getCmin());
_local14.setCmax(_local10.getCmax());
_local14.setBody(_local3);
_local4.setNext(_local14);
root = _local14;
return(_local15);
}
if (_local8 instanceof org.as2lib.regexp.node.First) {
root = _local8;
return(_local8);
}
throwError("Internal logic error", arguments);
}
function createGroup(anonymous) {
var _local3 = localCount++;
var _local4 = 0;
if (!anonymous) {
_local4 = groupCount++;
}
var _local5 = new org.as2lib.regexp.node.GroupHead(_local3);
root = new org.as2lib.regexp.node.GroupTail(_local3, _local4);
if ((!anonymous) && (_local4 < 10)) {
groupNodes[_local4] = _local5;
}
return(_local5);
}
function addFlag(Void) {
var _local3 = peekChar();
while (true) {
switch (_local3) {
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_I :
flags = flags | CASE_INSENSITIVE;
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_M :
flags = flags | MULTILINE;
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_S :
flags = flags | DOTALL;
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_D :
flags = flags | UNIX_LINES;
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_U :
flags = flags | UNICODE_CASE;
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_X :
flags = flags | COMMENTS;
break;
case org.as2lib.regexp.AsciiUtil.CHAR_MINUS :
_local3 = nextChar();
subFlag();
default :
return(undefined);
}
_local3 = nextChar();
}
}
function subFlag(Void) {
var _local3 = peekChar();
while (true) {
switch (_local3) {
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_I :
flags = flags & (CASE_INSENSITIVE ^ -1);
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_M :
flags = flags & (MULTILINE ^ -1);
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_S :
flags = flags & (DOTALL ^ -1);
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_D :
flags = flags & (UNIX_LINES ^ -1);
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_U :
flags = flags & (UNICODE_CASE ^ -1);
break;
case org.as2lib.regexp.AsciiUtil.CHAR_LOW_X :
flags = flags & (COMMENTS ^ -1);
break;
default :
return(undefined);
}
_local3 = nextChar();
}
}
function parseClosure(prev) {
var _local4 = peekChar();
switch (_local4) {
case org.as2lib.regexp.AsciiUtil.CHAR_QUEST :
_local4 = nextChar();
if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_QUEST) {
nextChar();
return(new org.as2lib.regexp.node.Ques(prev, LAZY));
}
if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_PLUS) {
nextChar();
return(new org.as2lib.regexp.node.Ques(prev, POSSESSIVE));
}
return(new org.as2lib.regexp.node.Ques(prev, GREEDY));
case org.as2lib.regexp.AsciiUtil.CHAR_AST :
_local4 = nextChar();
if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_QUEST) {
nextChar();
return(new org.as2lib.regexp.node.Curly(prev, 0, MAX_REPS, LAZY));
}
if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_PLUS) {
nextChar();
return(new org.as2lib.regexp.node.Curly(prev, 0, MAX_REPS, POSSESSIVE));
}
return(new org.as2lib.regexp.node.Curly(prev, 0, MAX_REPS, GREEDY));
case org.as2lib.regexp.AsciiUtil.CHAR_PLUS :
_local4 = nextChar();
if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_QUEST) {
nextChar();
return(new org.as2lib.regexp.node.Curly(prev, 1, MAX_REPS, LAZY));
}
if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_PLUS) {
nextChar();
return(new org.as2lib.regexp.node.Curly(prev, 1, MAX_REPS, POSSESSIVE));
}
return(new org.as2lib.regexp.node.Curly(prev, 1, MAX_REPS, GREEDY));
case org.as2lib.regexp.AsciiUtil.CHAR_LCUB :
_local4 = temp[cursor + 1];
if (org.as2lib.regexp.AsciiUtil.isDigit(_local4)) {
skipChar();
var _local5 = 0;
do {
_local5 = (_local5 * 10) + (_local4 - org.as2lib.regexp.AsciiUtil.CHAR_0);
} while (org.as2lib.regexp.AsciiUtil.isDigit(_local4));
var _local6 = _local5;
if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_COMMA) {
_local4 = readChar();
_local6 = MAX_REPS;
if (_local4 != org.as2lib.regexp.AsciiUtil.CHAR_RCUB) {
_local6 = 0;
while (org.as2lib.regexp.AsciiUtil.isDigit(_local4)) {
_local6 = (_local6 * 10) + (_local4 - org.as2lib.regexp.AsciiUtil.CHAR_0);
_local4 = readChar();
}
}
}
if (_local4 != org.as2lib.regexp.AsciiUtil.CHAR_RCUB) {
throwError("Unclosed counted closure", arguments);
}
if (((_local5 | _local6) | (_local6 - _local5)) < 0) {
throwError("Illegal repetition range", arguments);
}
_local4 = peekChar();
if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_QUEST) {
nextChar();
var _local7 = new org.as2lib.regexp.node.Curly(prev, _local5, _local6, LAZY);
} else if (_local4 == org.as2lib.regexp.AsciiUtil.CHAR_PLUS) {
nextChar();
var _local7 = new org.as2lib.regexp.node.Curly(prev, _local5, _local6, POSSESSIVE);
} else {
var _local7 = new org.as2lib.regexp.node.Curly(prev, _local5, _local6, GREEDY);
}
return(_local7);
}
throwError("Illegal repetition", arguments);
return(prev);
}
return(prev);
}
function parseControl(Void) {
if (cursor < patternLength) {
return(readChar() ^ 64);
}
throwError("Illegal control escape sequence", arguments);
return(null);
}
function parseOctal(Void) {
var _local3 = readChar();
if (((_local3 - org.as2lib.regexp.AsciiUtil.CHAR_0) | (org.as2lib.regexp.AsciiUtil.CHAR_7 - _local3)) >= 0) {
var _local4 = readChar();
if (((_local4 - org.as2lib.regexp.AsciiUtil.CHAR_0) | (org.as2lib.regexp.AsciiUtil.CHAR_7 - _local4)) >= 0) {
var _local5 = readChar();
if ((((_local5 - org.as2lib.regexp.AsciiUtil.CHAR_0) | (org.as2lib.regexp.AsciiUtil.CHAR_7 - _local5)) >= 0) && (((_local3 - org.as2lib.regexp.AsciiUtil.CHAR_0) | (org.as2lib.regexp.AsciiUtil.CHAR_3 - _local3)) >= 0)) {
return((((_local3 - org.as2lib.regexp.AsciiUtil.CHAR_0) * 64) + ((_local4 - org.as2lib.regexp.AsciiUtil.CHAR_0) * 8)) + (_local5 - org.as2lib.regexp.AsciiUtil.CHAR_0));
}
unreadChar();
return(((_local3 - org.as2lib.regexp.AsciiUtil.CHAR_0) * 8) + (_local4 - org.as2lib.regexp.AsciiUtil.CHAR_0));
}
unreadChar();
return(_local3 - org.as2lib.regexp.AsciiUtil.CHAR_0);
}
throwError("Illegal octal escape sequence", arguments);
return(null);
}
function parseHexal(Void) {
var _local3 = readChar();
if (org.as2lib.regexp.AsciiUtil.isHexDigit(_local3)) {
var _local4 = readChar();
if (org.as2lib.regexp.AsciiUtil.isHexDigit(_local4)) {
return((org.as2lib.regexp.AsciiUtil.toDigit(_local3) * 16) + org.as2lib.regexp.AsciiUtil.toDigit(_local4));
}
}
throwError("Illegal hexadecimal escape sequence", arguments);
return(null);
}
function parseUnicode(Void) {
var _local3 = 0;
var _local4 = 0;
for ( ; _local4 < 4 ; _local4++) {
var _local5 = readChar();
if (!org.as2lib.regexp.AsciiUtil.isHexDigit(_local5)) {
throwError("Illegal Unicode escape sequence", arguments);
}
_local3 = (_local3 * 16) + org.as2lib.regexp.AsciiUtil.toDigit(_local5);
}
return(_local3);
}
function ceateSingle(ch) {
var _local3 = flags;
if ((_local3 & CASE_INSENSITIVE) == 0) {
return(new org.as2lib.regexp.node.Single(ch));
}
if ((_local3 & UNICODE_CASE) == 0) {
return(new org.as2lib.regexp.node.SingleA(ch));
}
return(new org.as2lib.regexp.node.SingleU(ch));
}
function createSlice(buf, count, hasSupplementary) {
var _local5 = new Array(count);
var _local6 = flags;
if ((_local6 & CASE_INSENSITIVE) == 0) {
_local6 = 0;
for ( ; _local6 < count ; _local6++) {
_local5[_local6] = buf[_local6];
}
return(new org.as2lib.regexp.node.Slice(_local5));
}
if ((_local6 & UNICODE_CASE) == 0) {
_local6 = 0;
for ( ; _local6 < count ; _local6++) {
_local5[_local6] = org.as2lib.regexp.AsciiUtil.toLower(buf[_local6]);
}
return(new org.as2lib.regexp.node.SliceA(_local5));
}
_local6 = 0;
for ( ; _local6 < count ; _local6++) {
var _local7 = buf[_local6];
_local7 = org.as2lib.regexp.AsciiUtil.toLower(org.as2lib.regexp.AsciiUtil.toUpper(_local7));
_local5[_local6] = _local7;
}
return(new org.as2lib.regexp.node.SliceU(_local5));
}
function toCharCodeArray(source) {
var _local3 = new Array(source.length);
var _local4 = 0;
for ( ; _local4 < source.length ; _local4++) {
_local3[_local4] = source.charCodeAt(_local4);
}
return(_local3);
}
function fromCharCodeArray(source) {
var _local3 = new String();
var _local4 = 0;
for ( ; _local4 < source.length ; _local4++) {
_local3 = _local3 + String.fromCharCode(source[_local4]);
}
return(_local3);
}
static var UNIX_LINES = 1;
static var CASE_INSENSITIVE = 2;
static var COMMENTS = 4;
static var MULTILINE = 8;
static var DOTALL = 32;
static var UNICODE_CASE = 64;
static var MAX_REPS = 2147483647;
static var GREEDY = 0;
static var LAZY = 1;
static var POSSESSIVE = 2;
static var INDEPENDENT = 3;
}
Symbol 20525 MovieClip [__Packages.org.as2lib.env.except.IllegalStateException] Frame 0
class org.as2lib.env.except.IllegalStateException extends org.as2lib.env.except.FatalException
{
var message, stackTrace, addStackTraceElement;
function IllegalStateException (message, thrower, args) {
super(message, thrower, args);
if (org.as2lib.env.except.IllegalStateException.prototype.__proto__ != org.as2lib.env.except.FatalException.prototype) {
org.as2lib.env.except.IllegalStateException.prototype.__proto__ = org.as2lib.env.except.FatalException.prototype;
this.message = message;
stackTrace = new Array();
addStackTraceElement(thrower, args.callee, args);
}
}
}
Symbol 20526 MovieClip [__Packages.org.as2lib.regexp.node.SingleA] Frame 0
class org.as2lib.regexp.node.SingleA extends org.as2lib.regexp.node.Node
{
var ch, next;
function SingleA (n) {
super();
ch = org.as2lib.regexp.AsciiUtil.toLower(n);
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.NotSingleA(ch)) : (new org.as2lib.regexp.node.SingleA(ch))));
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
if ((_local5 == ch) || (org.as2lib.regexp.AsciiUtil.toLower(_local5) == ch)) {
return(next.match(matcher, i + 1, seq));
}
}
return(false);
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20527 MovieClip [__Packages.org.as2lib.env.except.StackTraceElement] Frame 0
class org.as2lib.env.except.StackTraceElement extends org.as2lib.core.BasicClass
{
static var stringifier;
var thrower, method, args;
function StackTraceElement (thrower, method, args) {
super();
this.thrower = (thrower ? (thrower) : null);
this.method = (method ? (method) : null);
this.args = (args ? (args.concat()) : null);
}
static function getStringifier(Void) {
if (!stringifier) {
stringifier = new org.as2lib.env.except.StackTraceElementStringifier();
}
return(stringifier);
}
static function setStringifier(stackTraceElementStringifier) {
stringifier = stackTraceElementStringifier;
}
function getThrower(Void) {
return(thrower);
}
function getMethod(Void) {
return(method);
}
function getArguments(Void) {
return(args.concat());
}
function toString() {
return(getStringifier().execute(this));
}
}
Symbol 20528 MovieClip [__Packages.ScrollOn2] Frame 0
class ScrollOn2
{
var up, rot, mc, tf, show, next, x, w, h, fntsiz, fntcol, xp, lastdown, tw;
function ScrollOn2 (_up, _rot) {
up = _up;
rot = 0;
if (typeof(_rot) == "number") {
rot = _rot;
}
}
function delegate(f) {
return(com.dynamicflash.utils.Delegate.create(this, f));
}
function setup() {
mc = gfx2.create_clip(up.mc, null);
gfx2.dropshadow(mc, 2, 45, 0, 1, 4, 4, 2, 3);
mc.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 1, 4, 4, 2, 3)];
tf = gfx2.create_text_html(mc, null, 0, 0, 4096, 64);
tf._rotation = rot;
mc.cacheAsBitmap = true;
show = null;
next = null;
x = 0;
w = 800;
h = 32;
fntsiz = 24;
fntcol = 16777215 /* 0xFFFFFF */;
xp = -1;
if (rot == -90) {
gfx2.setscroll(mc, 0, 0, h, w);
} else {
gfx2.setscroll(mc, 0, 0, w, h);
}
mc._visible = false;
}
function clean() {
mc.removeMovieClip();
}
function update() {
if (show != null) {
if (lastdown > 0) {
lastdown--;
}
x = x + xp;
if (x < (-8 - tw)) {
mc._visible = false;
show = null;
} else {
mc._visible = true;
if (rot == -90) {
gfx2.setscroll(mc, 0, x - w, h, w);
} else {
gfx2.setscroll(mc, -x, 0, w, h);
}
}
if ((!_root.popup) && (!_root.login)) {
if (_root.poker.poke_down) {
if ((mc._xmouse >= 0) && ((mc._xmouse < w) && ((mc._ymouse >= 0) && (mc._ymouse < h)))) {
lastdown = 60;
}
}
if (_root.poker.poke_up) {
if (lastdown > 0) {
if ((mc._xmouse >= 0) && ((mc._xmouse < w) && ((mc._ymouse >= 0) && (mc._ymouse < h)))) {
if (mc._visible) {
if (show.url) {
if (show.target) {
getURL (show.url, show.target);
} else {
getURL (show.url, "_self");
}
}
}
}
}
}
}
} else {
mc._visible = false;
lastdown = 0;
if (next) {
show = next;
next = null;
gfx2.set_text_html(tf, fntsiz, fntcol, show.txt);
x = w;
tw = tf.textWidth;
}
}
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20529 MovieClip [__Packages.org.as2lib.regexp.node.Pos] Frame 0
class org.as2lib.regexp.node.Pos extends org.as2lib.regexp.node.Node
{
var cond, next;
function Pos (cond) {
super();
this.cond = cond;
}
function match(matcher, i, seq) {
return(cond.match(matcher, i, seq) && (next.match(matcher, i, seq)));
}
}
Symbol 20530 MovieClip [__Packages.org.as2lib.env.log.Logger] Frame 0
class org.as2lib.env.log.Logger implements org.as2lib.core.BasicInterface
{
function Logger () {
}
}
Symbol 20531 MovieClip [__Packages.org.as2lib.regexp.node.BitClass] Frame 0
class org.as2lib.regexp.node.BitClass extends org.as2lib.regexp.node.Node
{
var complementMe, bits, next;
function BitClass (flag, newBits) {
super();
complementMe = ((flag != null) ? (flag) : false);
bits = ((newBits != null) ? (newBits) : (new Array(256)));
}
function addChar(c, f) {
if ((f & org.as2lib.regexp.Pattern.CASE_INSENSITIVE) == 0) {
bits[c] = true;
return(this);
}
if (c < 128) {
bits[c] = true;
if (org.as2lib.regexp.AsciiUtil.isUpper(c)) {
c = c + 32;
bits[c] = true;
} else if (org.as2lib.regexp.AsciiUtil.isLower(c)) {
c = c - 32;
bits[c] = true;
}
return(this);
}
c = org.as2lib.regexp.AsciiUtil.toLower(c);
bits[c] = true;
c = org.as2lib.regexp.AsciiUtil.toUpper(c);
bits[c] = true;
return(this);
}
function dup(flag) {
return(new org.as2lib.regexp.node.BitClass(flag, bits));
}
function match(matcher, i, seq) {
if (i >= matcher.to) {
return(false);
}
var _local5 = seq.charCodeAt(i);
var _local6 = ((_local5 > 255) ? (complementMe) : (Number(bits[_local5]) ^ Number(complementMe)));
return(_local6 && (next.match(matcher, i + 1, seq)));
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20532 MovieClip [__Packages.org.as2lib.regexp.node.BackRef] Frame 0
class org.as2lib.regexp.node.BackRef extends org.as2lib.regexp.node.Node
{
var groupIndex, next;
function BackRef (groupCount) {
super();
groupIndex = groupCount + groupCount;
}
function match(matcher, i, seq) {
var _local5 = matcher.groups[groupIndex];
var _local6 = matcher.groups[groupIndex + 1];
var _local7 = _local6 - _local5;
if (_local5 < 0) {
return(false);
}
if ((i + _local7) > matcher.to) {
return(false);
}
var _local8 = 0;
for ( ; _local8 < _local7 ; _local8++) {
if (seq.charAt(i + _local8) != seq.charAt(_local5 + _local8)) {
return(false);
}
}
return(next.match(matcher, i + _local7, seq));
}
function study(info) {
info.maxValid = false;
return(next.study(info));
}
}
Symbol 20533 MovieClip [__Packages.org.as2lib.regexp.node.Not] Frame 0
class org.as2lib.regexp.node.Not extends org.as2lib.regexp.node.Node
{
var atom, next;
function Not (atom) {
super();
this.atom = atom;
}
function match(matcher, i, seq) {
return((!atom.match(matcher, i, seq)) && (next.match(matcher, i + 1, seq)));
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20534 MovieClip [__Packages.org.as2lib.regexp.node.NotPosix] Frame 0
class org.as2lib.regexp.node.NotPosix extends org.as2lib.regexp.node.Node
{
var ctype, next;
function NotPosix (type) {
super();
ctype = type;
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.Posix(ctype)) : (new org.as2lib.regexp.node.NotPosix(ctype))));
}
function match(matcher, i, seq) {
return((i < matcher.to) && ((!org.as2lib.regexp.AsciiUtil.isType(seq.charCodeAt(i), ctype)) && (next.match(matcher, i + 1, seq))));
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20535 MovieClip [__Packages.org.as2lib.regexp.node.All] Frame 0
class org.as2lib.regexp.node.All extends org.as2lib.regexp.node.Node
{
var next;
function All () {
super();
}
function dup(flag) {
if (flag) {
return(new org.as2lib.regexp.node.Single(-1));
}
return(new org.as2lib.regexp.node.All());
}
function match(matcher, i, seq) {
return((i < matcher.to) && (next.match(matcher, i + 1, seq)));
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20536 MovieClip [__Packages.GizmoText2] Frame 0
class GizmoText2
{
var up, mc, gizmos, active, focus, focus_data, top, x, y, w, h, fntsiz, fntcol, tf_fmt, tf, str, vgizmo;
function GizmoText2 (_up) {
up = _up;
setup();
}
function setup_base() {
mc = gfx2.create_clip(up.mc, null);
mc.style = up.mc.style;
gizmos = new Array();
active = true;
focus = null;
focus_data = null;
top = up.top;
if (top == null) {
top = this;
}
}
function clean_base() {
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].clean();
}
}
mc.removeMovieClip();
mc = null;
}
function update_base() {
mc._x = x;
mc._y = y;
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].mc._visible = true;
gizmos[_local2].update();
} else {
gizmos[_local2].mc._visible = false;
}
}
}
static function dupe_snapshot(snapshot) {
var _local3 = {};
_local3.key = snapshot.key;
_local3.key_on = snapshot.key_on;
_local3.key_off = snapshot.key_off;
_local3.x = snapshot.x;
_local3.y = snapshot.y;
_local3.frame = snapshot.frame;
return(_local3);
}
function input_base(snapshot) {
var _local5 = dupe_snapshot(snapshot);
mc.localToGlobal(_local5);
var _local3 = 0;
for ( ; _local3 < gizmos.length ; _local3++) {
if (gizmos[_local3].active) {
gizmos[_local3].mc.globalToLocal(_local5);
gizmos[_local3].input(_local5);
gizmos[_local3].mc.localToGlobal(_local5);
}
}
return(top.focus);
}
function child(g) {
var _local3 = gizmos.length;
gizmos[_local3] = g;
return(g);
}
function set_area(_x, _y, _w, _h) {
x = _x;
y = _y;
w = _w;
h = _h;
}
function draw_mask(px, py) {
gfx2.setscroll(mc, px, py, w, h);
}
function setup() {
setup_base();
fntsiz = 16;
fntcol = 16777215 /* 0xFFFFFF */;
tf_fmt = gfx2.create_text_format(fntsiz, fntcol);
tf = null;
}
function clean() {
clean_base();
}
function clear_tf() {
tf.removeTextField();
tf = null;
tf.cachestr = "";
}
function update() {
if (tf == null) {
tf = gfx2.create_text_html(mc, null, 0, 0, w, h);
tf.setNewTextFormat(tf_fmt);
}
if (tf.cachestr != str) {
tf.cachestr = str;
gfx2.set_text_html(tf, fntsiz, fntcol, str);
}
if (vgizmo) {
var _local2 = Math.floor(tf.maxscroll * vgizmo.y_knob);
if (_local2 < 1) {
_local2 = 1;
}
if (_local2 != tf.scroll) {
tf.scroll = _local2;
}
}
update_base();
}
function input(snapshot) {
input_base(snapshot);
return(top.focus);
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20537 MovieClip [__Packages.org.as2lib.regexp.node.LastNode] Frame 0
class org.as2lib.regexp.node.LastNode extends org.as2lib.regexp.node.Node
{
function LastNode () {
super();
}
function match(matcher, i, seq) {
if ((matcher.acceptMode == org.as2lib.regexp.Matcher.ENDANCHOR) && (i != matcher.to)) {
return(false);
}
matcher.last = i;
matcher.groups[0] = matcher.first;
matcher.groups[1] = matcher.last;
return(true);
}
}
Symbol 20538 MovieClip [__Packages.org.as2lib.regexp.node.GroupRef] Frame 0
class org.as2lib.regexp.node.GroupRef extends org.as2lib.regexp.node.Node
{
var head, next;
function GroupRef (head) {
super();
this.head = head;
}
function match(matcher, i, seq) {
return(head.matchRef(matcher, i, seq) && (next.match(matcher, matcher.last, seq)));
}
function study(info) {
info.maxValid = false;
info.deterministic = false;
return(next.study(info));
}
}
Symbol 20539 MovieClip [__Packages.org.as2lib.regexp.node.SingleU] Frame 0
class org.as2lib.regexp.node.SingleU extends org.as2lib.regexp.node.Node
{
var ch, next;
function SingleU (c) {
super();
ch = org.as2lib.regexp.AsciiUtil.toLower(org.as2lib.regexp.AsciiUtil.toUpper(c));
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.NotSingleU(ch)) : (new org.as2lib.regexp.node.SingleU(ch))));
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
if (_local5 == ch) {
return(next.match(matcher, i + 1, seq));
}
_local5 = org.as2lib.regexp.AsciiUtil.toUpper(_local5);
_local5 = org.as2lib.regexp.AsciiUtil.toLower(_local5);
if (_local5 == ch) {
return(next.match(matcher, i + 1, seq));
}
}
return(false);
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20540 MovieClip [__Packages.org.as2lib.regexp.node.Curly] Frame 0
class org.as2lib.regexp.node.Curly extends org.as2lib.regexp.node.Node
{
var atom, type, cmin, cmax, next;
function Curly (node, cmin, cmax, type) {
super();
atom = node;
this.type = type;
this.cmin = cmin;
this.cmax = cmax;
}
function match(matcher, i, seq) {
var _local5 = 0;
// unexpected jump
_local5++;
if (_local5 < cmin) {
for ( ; atom.match(matcher, i, seq) ; _local5++) {
i = matcher.last;
}
return(false);
}
if (type == org.as2lib.regexp.Pattern.GREEDY) {
return(match0(matcher, i, _local5, seq));
}
if (type == org.as2lib.regexp.Pattern.LAZY) {
return(match1(matcher, i, _local5, seq));
}
return(match2(matcher, i, _local5, seq));
}
function match0(matcher, i, j, seq) {
if (j >= cmax) {
return(next.match(matcher, i, seq));
}
var _local6 = j;
if (atom.match(matcher, i, seq)) {
var _local7 = matcher.last - i;
if (_local7 == 0) {
} else {
i = matcher.last;
j++;
while (j < cmax) {
if (!atom.match(matcher, i, seq)) {
break;
}
if ((i + _local7) != matcher.last) {
if (match0(matcher, matcher.last, j + 1, seq)) {
return(true);
}
break;
}
i = i + _local7;
j++;
}
while (j >= _local6) {
if (next.match(matcher, i, seq)) {
return(true);
}
i = i - _local7;
j--;
}
return(false);
}
}
return(next.match(matcher, i, seq));
}
function match1(matcher, i, j, seq) {
while (true) {
if (next.match(matcher, i, seq)) {
return(true);
}
if (j >= cmax) {
return(false);
}
if (!atom.match(matcher, i, seq)) {
return(false);
}
if (i == matcher.last) {
return(false);
}
i = matcher.last;
j++;
}
}
function match2(matcher, i, j, seq) {
for ( ; j < cmax ; j++) {
if (!atom.match(matcher, i, seq)) {
break;
}
if (i == matcher.last) {
break;
}
i = matcher.last;
}
return(next.match(matcher, i, seq));
}
function study(info) {
var _local3 = info.minLength;
var _local4 = info.maxLength;
var _local5 = info.maxValid;
var _local6 = info.deterministic;
info.reset();
atom.study(info);
var _local7 = (info.minLength * cmin) + _local3;
if (_local7 < _local3) {
_local7 = 268435455 /* 0xFFFFFFF */;
}
info.minLength = _local7;
if (_local5 && (info.maxValid)) {
_local7 = (info.maxLength * cmax) + _local4;
info.maxLength = _local7;
if (_local7 < _local4) {
info.maxValid = false;
}
} else {
info.maxValid = false;
}
if (info.deterministic && (cmin == cmax)) {
info.deterministic = _local6;
} else {
info.deterministic = false;
}
return(next.study(info));
}
function getType(Void) {
return(type);
}
function getAtom(Void) {
return(atom);
}
function getCmin(Void) {
return(cmin);
}
function getCmax(Void) {
return(cmax);
}
}
Symbol 20541 MovieClip [__Packages.org.as2lib.regexp.PatternSyntaxException] Frame 0
class org.as2lib.regexp.PatternSyntaxException extends org.as2lib.env.except.Exception
{
var description, pattern, index;
function PatternSyntaxException (description, thrower, args) {
super(description, thrower, args);
this.description = description;
pattern = thrower.pattern;
index = thrower.cursor;
}
function getIndex(Void) {
return(index);
}
function getDescription(Void) {
return(description);
}
function getPattern(Void) {
return(pattern);
}
function getMessage(Void) {
var _local3 = description;
if (index >= 0) {
_local3 = _local3 + ((" near index " + index) + ": ");
}
_local3 = _local3 + (NEW_LINE + pattern);
if (index >= 0) {
_local3 = _local3 + ((NEW_LINE + org.as2lib.util.StringUtil.multiply(" ", index)) + "^");
}
return(_local3);
}
static var NEW_LINE = newline;
}
Symbol 20542 MovieClip [__Packages.org.as2lib.regexp.node.Loop] Frame 0
class org.as2lib.regexp.node.Loop extends org.as2lib.regexp.node.Node
{
var countIndex, beginIndex, cmin, body, cmax, next;
function Loop (countIndex, beginIndex) {
super();
this.countIndex = countIndex;
this.beginIndex = beginIndex;
}
function match(matcher, i, seq) {
if (i > matcher.locals[beginIndex]) {
var _local5 = matcher.locals[countIndex];
if (_local5 < cmin) {
matcher.locals[countIndex] = _local5 + 1;
var _local6 = body.match(matcher, i, seq);
if (!_local6) {
matcher.locals[countIndex] = _local5;
}
return(_local6);
}
if (_local5 < cmax) {
matcher.locals[countIndex] = _local5 + 1;
var _local7 = body.match(matcher, i, seq);
if (!_local7) {
matcher.locals[countIndex] = _local5;
} else {
return(true);
}
}
}
return(next.match(matcher, i, seq));
}
function matchInit(matcher, i, seq) {
var _local5 = matcher.locals[countIndex];
var _local6 = false;
if (0 < cmin) {
matcher.locals[countIndex] = 1;
_local6 = body.match(matcher, i, seq);
} else if (0 < cmax) {
matcher.locals[countIndex] = 1;
_local6 = body.match(matcher, i, seq);
if (_local6 == false) {
_local6 = next.match(matcher, i, seq);
}
} else {
_local6 = next.match(matcher, i, seq);
}
matcher.locals[countIndex] = _local5;
return(_local6);
}
function study(info) {
info.maxValid = false;
info.deterministic = false;
return(false);
}
function getCmin(Void) {
return(cmin);
}
function setCmin(cmin) {
this.cmin = cmin;
}
function getCmax(Void) {
return(cmax);
}
function setCmax(cmax) {
this.cmax = cmax;
}
function getBody(Void) {
return(body);
}
function setBody(body) {
this.body = body;
}
}
Symbol 20543 MovieClip [__Packages.org.as2lib.regexp.node.LazyLoop] Frame 0
class org.as2lib.regexp.node.LazyLoop extends org.as2lib.regexp.node.Loop
{
var beginIndex, countIndex, cmin, body, next, cmax;
function LazyLoop (countIndex, beginIndex) {
super(countIndex, beginIndex);
}
function match(matcher, i, seq) {
if (i > matcher.locals[beginIndex]) {
var _local5 = matcher.locals[countIndex];
if (_local5 < cmin) {
matcher.locals[countIndex] = _local5 + 1;
var _local6 = body.match(matcher, i, seq);
if (!_local6) {
matcher.locals[countIndex] = _local5;
}
return(_local6);
}
if (next.match(matcher, i, seq)) {
return(true);
}
if (_local5 < cmax) {
matcher.locals[countIndex] = _local5 + 1;
var _local7 = body.match(matcher, i, seq);
if (!_local7) {
matcher.locals[countIndex] = _local5;
}
return(_local7);
}
return(false);
}
return(next.match(matcher, i, seq));
}
function matchInit(matcher, i, seq) {
var _local5 = matcher.locals[countIndex];
var _local6 = false;
if (0 < cmin) {
matcher.locals[countIndex] = 1;
_local6 = body.match(matcher, i, seq);
} else if (next.match(matcher, i, seq)) {
_local6 = true;
} else if (0 < cmax) {
matcher.locals[countIndex] = 1;
_local6 = body.match(matcher, i, seq);
}
matcher.locals[countIndex] = _local5;
return(_local6);
}
function study(info) {
info.maxValid = false;
info.deterministic = false;
return(false);
}
}
Symbol 20544 MovieClip [__Packages.alt.Sprintf] Frame 0
class alt.Sprintf
{
function Sprintf () {
}
static function trace() {
trace(format.apply(null, arguments));
}
static function format(format) {
if (format == null) {
return("");
}
var _local3 = "";
var _local4 = 0;
var _local5 = 0;
while (_local5 < format.length) {
var _local6 = format.indexOf("%", _local5);
if (_local6 == -1) {
_local3 = _local3 + format.substr(_local5);
_local5 = format.length;
} else {
_local3 = _local3 + format.substring(_local5, _local6);
var _local14 = ("** sprintf: invalid format at " + _local4) + " **";
var _local13 = false;
var _local12 = 0;
var _local11 = _local12;
var _local9 = _local11;
var _local10 = -1;
_local5 = _local6 + 1;
_local4++;
var _local8 = arguments[_local4];
while ((_local13 != true) && (_local5 < format.length)) {
var _local7 = format.charAt(_local5++);
switch (_local7) {
case "#" :
if (_local12 == 0) {
_local11 = _local11 | kALT_FORM;
} else {
_local14 = "** sprintf: \"#\" came too late **";
}
break;
case "-" :
if (_local12 == 0) {
_local11 = _local11 | kLEFT_ALIGN;
} else {
_local14 = "** sprintf: \"-\" came too late **";
}
break;
case "+" :
if (_local12 == 0) {
_local11 = _local11 | kSHOW_SIGN;
} else {
_local14 = "** sprintf: \"+\" came too late **";
}
break;
case " " :
if (_local12 == 0) {
_local11 = _local11 | kPAD_POS;
} else {
_local14 = "** sprintf: \" \" came too late **";
}
break;
case "." :
if (_local12 < 2) {
_local12 = 2;
_local10 = 0;
} else {
_local14 = "** sprintf: \".\" came too late **";
}
break;
case "0" :
if (_local12 == 0) {
_local11 = _local11 | kPAD_ZEROES;
break;
}
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
if (_local12 == 3) {
_local14 = "** sprintf: shouldn't have a digit after h,l,L **";
} else if (_local12 < 2) {
_local12 = 1;
_local9 = (_local9 * 10) + Number(_local7);
} else {
_local10 = (_local10 * 10) + Number(_local7);
}
break;
case "d" :
case "i" :
_local13 = true;
_local3 = _local3 + formatD(Number(_local8), _local11, _local9, _local10);
break;
case "o" :
_local13 = true;
_local3 = _local3 + formatO(Number(_local8), _local11, _local9, _local10);
break;
case "x" :
case "X" :
_local13 = true;
_local3 = _local3 + formatX(Number(_local8), _local11, _local9, _local10, _local7 == "X");
break;
case "e" :
case "E" :
_local13 = true;
_local3 = _local3 + formatE(Number(_local8), _local11, _local9, _local10, _local7 == "E");
break;
case "f" :
_local13 = true;
_local3 = _local3 + formatF(Number(_local8), _local11, _local9, _local10);
break;
case "g" :
case "G" :
_local13 = true;
_local3 = _local3 + formatG(Number(_local8), _local11, _local9, _local10, _local7 == "G");
break;
case "c" :
case "C" :
_local10 = 1;
case "s" :
case "S" :
_local13 = true;
_local3 = _local3 + formatS(String(_local8), _local11, _local9, _local10);
break;
case "%" :
_local13 = true;
_local3 = _local3 + "%";
_local4--;
break;
default :
_local14 = ("** sprintf: " + _local7) + " not supported **";
}
}
if (_local13 != true) {
if (DEBUG) {
_local3 = _local3 + _local14;
}
if (TRACE) {
trace(_local14);
}
}
}
}
return(_local3);
}
static function finish(output, value, properties, length, precision, prefix) {
if (prefix == null) {
prefix = "";
}
if (value < 0) {
prefix = "-" + prefix;
} else if (properties & kSHOW_SIGN) {
prefix = "+" + prefix;
} else if (properties & kPAD_POS) {
prefix = " " + prefix;
}
if ((length == 0) && (precision > -1)) {
length = precision;
properties = properties | kPAD_ZEROES;
}
while ((output.length + prefix.length) < length) {
if (properties & kLEFT_ALIGN) {
output = output + " ";
} else if (properties & kPAD_ZEROES) {
output = "0" + output;
} else {
prefix = " " + prefix;
}
}
return(prefix + output);
}
static function formatD(value, properties, length, precision) {
var _local6 = "";
if ((precision != 0) || (value != 0)) {
_local6 = String(Math.floor(Math.abs(value)));
}
while (_local6.length < precision) {
_local6 = "0" + _local6;
}
return(finish(_local6, value, properties, length, precision));
}
static function formatO(value, properties, length, precision) {
var _local6 = "";
var _local7 = "";
if ((precision != 0) && (value != 0)) {
_local6 = value.toString(8);
}
if (properties & kALT_FORM) {
_local7 = "0";
}
while (_local6.length < precision) {
_local6 = "0" + _local6;
}
return(finish(_local6, value, properties, length, precision, _local7));
}
static function formatX(value, properties, length, precision, upper) {
var _local7 = "";
var _local8 = "";
if ((precision != 0) && (value != 0)) {
_local7 = value.toString(16);
}
if (properties & kALT_FORM) {
_local8 = "0x";
}
while (_local7.length < precision) {
_local7 = "0" + _local7;
}
if (upper) {
_local8 = _local8.toUpperCase();
_local7 = _local7.toUpperCase();
} else {
_local7 = _local7.toLowerCase();
}
return(finish(_local7, value, properties, length, precision, _local8));
}
static function formatE(value, properties, length, precision, upper) {
var _local7 = "";
var _local8 = 0;
if (Math.abs(value) > 1) {
while (Math.abs(value) > 10) {
value = value / 10;
_local8++;
}
} else {
while (Math.abs(value) < 1) {
value = value * 10;
_local8--;
}
}
var _local9 = format("%c%+.2d", (upper ? "E" : "e"), _local8);
if (properties & kLEFT_ALIGN) {
_local7 = formatF(value, properties, 1, precision) + _local9;
while (_local7.length < length) {
_local7 = _local7 + " ";
}
} else {
_local7 = formatF(value, properties, Math.max(length - _local9.length, 0), precision) + _local9;
}
return(_local7);
}
static function formatF(value, properties, length, precision) {
var _local6 = "";
var _local7 = "";
var _local8 = "";
if (precision == -1) {
precision = 6;
}
var _local9 = new String(value.toString());
if (_local9.indexOf(".") == -1) {
_local7 = Math.abs(Number(_local9)).toString();
_local8 = "0";
} else {
_local7 = Math.abs(Number(_local9.substring(0, _local9.indexOf(".")))).toString();
_local8 = _local9.substr(_local9.indexOf(".") + 1);
}
if (Number(_local8) == 0) {
_local8 = new String();
while (_local8.length < precision) {
_local8 = _local8 + "0";
}
} else {
if (_local8.length > precision) {
var _local10 = Math.round(Math.pow(10, precision) * Number("0." + _local8));
if ((String(_local10).length > precision) && (_local10 != 0)) {
_local8 = "0";
_local7 = ((Math.abs(Number(_local7)) + 1) * ((Number(_local7) >= 0) ? 1 : -1)).toString();
} else {
_local8 = new String(_local10.toString());
}
}
if (_local8.length < precision) {
_local8 = new String(_local8);
while (_local8.length < precision) {
_local8 = _local8 + "0";
}
}
}
if (precision == 0) {
_local6 = _local7;
if (properties & kALT_FORM) {
_local6 = _local6 + ".";
}
} else {
_local6 = (_local7 + ".") + _local8;
}
return(finish(_local6, value, properties, length, precision, ""));
}
static function formatG(value, properties, length, precision, upper) {
var _local7 = formatE(value, properties, 1, precision, upper);
var _local8 = formatF(value, properties, 1, precision);
if (_local7.length < _local8.length) {
return(formatE(value, properties, length, precision, upper));
}
return(formatF(value, properties, length, precision));
}
static function formatS(value, properties, length, precision) {
var _local6 = new String(value);
if ((precision > 0) && (precision < _local6.length)) {
_local6 = _local6.substring(0, precision);
}
properties = properties & ((((kPAD_ZEROES | kSHOW_SIGN) | kPAD_POS) | kALT_FORM) ^ -1);
return(finish(_local6, value, properties, length, precision, ""));
}
static var kPAD_ZEROES = 1;
static var kLEFT_ALIGN = 2;
static var kSHOW_SIGN = 4;
static var kPAD_POS = 8;
static var kALT_FORM = 16;
static var kLONG_VALUE = 32;
static var kUSE_SEPARATOR = 64;
static var DEBUG = false;
static var TRACE = false;
}
Symbol 20545 MovieClip [__Packages.org.as2lib.regexp.node.Branch] Frame 0
class org.as2lib.regexp.node.Branch extends org.as2lib.regexp.node.Node
{
var prev, next;
function Branch (lhs, rhs) {
super();
prev = lhs;
next = rhs;
}
function match(matcher, i, seq) {
return(prev.match(matcher, i, seq) || (next.match(matcher, i, seq)));
}
function study(info) {
var _local3 = info.minLength;
var _local4 = info.maxLength;
var _local5 = info.maxValid;
info.reset();
prev.study(info);
var _local6 = info.minLength;
var _local7 = info.maxLength;
var _local8 = info.maxValid;
info.reset();
next.study(info);
info.minLength = _local3 + Math.min(_local6, info.minLength);
info.maxLength = _local4 + Math.max(_local7, info.maxLength);
info.maxValid = _local5 && (_local8 && (info.maxValid));
info.deterministic = false;
return(false);
}
}
Symbol 20546 MovieClip [__Packages.org.as2lib.Config] Frame 0
class org.as2lib.Config extends org.as2lib.core.BasicClass
{
static var objectStringifier;
function Config (Void) {
super();
}
static function setObjectStringifier(newStringifier) {
objectStringifier = newStringifier;
}
static function getObjectStringifier(Void) {
if (!objectStringifier) {
objectStringifier = new org.as2lib.core.ObjectStringifier();
}
return(objectStringifier);
}
}
Symbol 20547 MovieClip [__Packages.org.as2lib.regexp.node.NotSingleA] Frame 0
class org.as2lib.regexp.node.NotSingleA extends org.as2lib.regexp.node.Node
{
var ch, next;
function NotSingleA (n) {
super();
ch = org.as2lib.regexp.AsciiUtil.toLower(n);
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.SingleA(ch)) : (new org.as2lib.regexp.node.NotSingleA(ch))));
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
if ((_local5 != ch) && (org.as2lib.regexp.AsciiUtil.toLower(_local5) != ch)) {
return(next.match(matcher, i + 1, seq));
}
}
return(false);
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20548 MovieClip [__Packages.org.as2lib.regexp.node.GroupCurly] Frame 0
class org.as2lib.regexp.node.GroupCurly extends org.as2lib.regexp.node.Node
{
var atom, type, cmin, cmax, localIndex, groupIndex, next;
function GroupCurly (node, cmin, cmax, type, local, group) {
super();
atom = node;
this.type = type;
this.cmin = cmin;
this.cmax = cmax;
localIndex = local;
groupIndex = group;
}
function match(matcher, i, seq) {
var _local5 = matcher.groups;
var _local6 = matcher.locals;
var _local7 = _local6[localIndex];
var _local8 = _local5[groupIndex];
var _local9 = _local5[groupIndex + 1];
_local6[localIndex] = -1;
var _local10 = true;
var _local11 = 0;
for ( ; _local11 < cmin ; _local11++) {
if (atom.match(matcher, i, seq)) {
_local5[groupIndex] = i;
i = matcher.last;
_local5[groupIndex + 1] = i;
} else {
_local10 = false;
break;
}
}
if (!_local10) {
} else if (type == org.as2lib.regexp.Pattern.GREEDY) {
_local10 = match0(matcher, i, cmin, seq);
} else if (type == org.as2lib.regexp.Pattern.LAZY) {
_local10 = match1(matcher, i, cmin, seq);
} else {
_local10 = match2(matcher, i, cmin, seq);
}
if (!_local10) {
_local6[localIndex] = _local7;
_local5[groupIndex] = _local8;
_local5[groupIndex + 1] = _local9;
}
return(_local10);
}
function match0(matcher, i, j, seq) {
var _local6 = matcher.groups;
var _local7 = _local6[groupIndex];
var _local8 = _local6[groupIndex + 1];
if (true) {
if (j >= cmax) {
} else if (!atom.match(matcher, i, seq)) {
} else {
var _local9 = matcher.last - i;
if (_local9 <= 0) {
_local6[groupIndex] = i;
i = i + _local9;
_local6[groupIndex + 1] = i;
} else {
while (true) {
_local6[groupIndex] = i;
i = i + _local9;
_local6[groupIndex + 1] = i;
j++;
if (j >= cmax) {
break;
}
if (!atom.match(matcher, i, seq)) {
break;
}
if ((i + _local9) != matcher.last) {
if (match0(matcher, i, j, seq)) {
return(true);
}
break;
}
}
while (j > cmin) {
if (next.match(matcher, i, seq)) {
_local6[groupIndex + 1] = i;
i = i - _local9;
_local6[groupIndex] = i;
return(true);
}
_local6[groupIndex + 1] = i;
i = i - _local9;
_local6[groupIndex] = i;
j--;
}
}
}
}
_local6[groupIndex] = _local7;
_local6[groupIndex + 1] = _local8;
return(next.match(matcher, i, seq));
}
function match1(matcher, i, j, seq) {
for(;;){
if (next.match(matcher, i, seq)) {
return(true);
}
if (j >= cmax) {
return(false);
}
if (!atom.match(matcher, i, seq)) {
return(false);
}
if (i == matcher.last) {
return(false);
}
matcher.groups[groupIndex] = i;
i = matcher.last;
matcher.groups[groupIndex + 1] = i;
j++;
};
}
function match2(matcher, i, j, seq) {
for ( ; j < cmax ; j++) {
if (!atom.match(matcher, i, seq)) {
break;
}
matcher.groups[groupIndex] = i;
matcher.groups[groupIndex + 1] = matcher.last;
if (i == matcher.last) {
break;
}
i = matcher.last;
}
return(next.match(matcher, i, seq));
}
function study(info) {
var _local3 = info.minLength;
var _local4 = info.maxLength;
var _local5 = info.maxValid;
var _local6 = info.deterministic;
info.reset();
atom.study(info);
var _local7 = (info.minLength * cmin) + _local3;
if (_local7 < _local3) {
_local7 = 268435455 /* 0xFFFFFFF */;
}
info.minLength = _local7;
if (_local5 && (info.maxValid)) {
_local7 = (info.maxLength * cmax) + _local4;
info.maxLength = _local7;
if (_local7 < _local4) {
info.maxValid = false;
}
} else {
info.maxValid = false;
}
if (info.deterministic && (cmin == cmax)) {
info.deterministic = _local6;
} else {
info.deterministic = false;
}
return(next.study(info));
}
}
Symbol 20549 MovieClip [__Packages.org.as2lib.regexp.node.NotSingle] Frame 0
class org.as2lib.regexp.node.NotSingle extends org.as2lib.regexp.node.Node
{
var ch, next;
function NotSingle (n) {
super();
ch = n;
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.Single(ch)) : (new org.as2lib.regexp.node.NotSingle(ch))));
}
function match(matcher, i, seq) {
return((i < matcher.to) && ((seq.charCodeAt(i) != i) && (next.match(matcher, i + 1, seq))));
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20550 MovieClip [__Packages.org.as2lib.regexp.node.UnixDot] Frame 0
class org.as2lib.regexp.node.UnixDot extends org.as2lib.regexp.node.Node
{
var next;
function UnixDot () {
super();
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
return((_local5 != org.as2lib.regexp.AsciiUtil.CHAR_LF) && (next.match(matcher, i + 1, seq)));
}
return(false);
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20551 MovieClip [__Packages.GizmoMaster2] Frame 0
class GizmoMaster2
{
var up, mc, gizmos, active, focus, focus_data, top, x, y, w, h, spine;
function GizmoMaster2 (_up) {
up = _up;
setup();
}
function setup_base() {
mc = gfx2.create_clip(up.mc, null);
mc.style = up.mc.style;
gizmos = new Array();
active = true;
focus = null;
focus_data = null;
top = up.top;
if (top == null) {
top = this;
}
}
function clean_base() {
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].clean();
}
}
mc.removeMovieClip();
mc = null;
}
function update_base() {
mc._x = x;
mc._y = y;
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].mc._visible = true;
gizmos[_local2].update();
} else {
gizmos[_local2].mc._visible = false;
}
}
}
static function dupe_snapshot(snapshot) {
var _local3 = {};
_local3.key = snapshot.key;
_local3.key_on = snapshot.key_on;
_local3.key_off = snapshot.key_off;
_local3.x = snapshot.x;
_local3.y = snapshot.y;
_local3.frame = snapshot.frame;
return(_local3);
}
function input_base(snapshot) {
var _local5 = dupe_snapshot(snapshot);
mc.localToGlobal(_local5);
var _local3 = 0;
for ( ; _local3 < gizmos.length ; _local3++) {
if (gizmos[_local3].active) {
gizmos[_local3].mc.globalToLocal(_local5);
gizmos[_local3].input(_local5);
gizmos[_local3].mc.localToGlobal(_local5);
}
}
return(top.focus);
}
function child(g) {
var _local3 = gizmos.length;
gizmos[_local3] = g;
return(g);
}
function set_area(_x, _y, _w, _h) {
x = _x;
y = _y;
w = _w;
h = _h;
}
function draw_mask(px, py) {
gfx2.setscroll(mc, px, py, w, h);
}
function setup() {
setup_base();
}
function clean() {
clean_base();
}
function update() {
var _local2 = new Date().getTime();
_local2 = ((_local2 & 16383) - 8192) / 8192;
if (_local2 < 0) {
_local2 = -_local2;
}
var _local3 = _local2 * _local2;
spine = (_local3 + (_local3 * 2)) - ((_local3 * _local2) * 2);
update_base();
}
function input(snapshot) {
focus = input_base(snapshot);
return(focus);
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20552 MovieClip [__Packages.org.as2lib.env.except.StackTraceElementStringifier] Frame 0
class org.as2lib.env.except.StackTraceElementStringifier extends org.as2lib.core.BasicClass implements org.as2lib.util.Stringifier
{
var showArgumentsValues;
function StackTraceElementStringifier (showArgumentsValues) {
super();
this.showArgumentsValues = showArgumentsValues;
}
function execute(target) {
var _local3 = target;
try {
var _local5 = org.as2lib.env.reflect.ReflectUtil.getTypeAndMethodInfo(_local3.getThrower(), _local3.getMethod());
var _local4 = ((_local5[0] == null) ? (UNKNOWN + " ") : ((_local5[0] ? "static " : "")));
_local4 = _local4 + ((_local5[1] == null) ? (UNKNOWN) : (_local5[1]));
_local4 = _local4 + ("." + ((_local5[2] == null) ? (UNKNOWN) : (_local5[2])));
_local4 = _local4 + "(";
if (showArgumentsValues) {
_local4 = _local4 + (_local3.getArguments().toString() ? (_local3.getArguments().toString()) : (UNKNOWN));
} else {
var _local6 = _local3.getArguments();
var _local7 = 0;
for ( ; _local7 < _local6.length ; _local7++) {
var _local8 = org.as2lib.env.reflect.ReflectUtil.getTypeName(_local6[_local7]);
if (_local8 == null) {
_local8 = UNKNOWN;
}
_local4 = _local4 + _local8;
if (_local7 < (_local6.length - 1)) {
_local4 = _local4 + ", ";
}
}
}
_local4 = _local4 + ")";
} catch(_local) {
var e = ( /* Error999 */
);
var _local4 = "Exception was thrown during generation of string representation of stack trace element: \n" + org.as2lib.util.StringUtil.addSpaceIndent(e.toString(), 2);
}
return(_local4);
}
static var UNKNOWN = "[unknown]";
}
Symbol 20553 MovieClip [__Packages.org.as2lib.regexp.node.End] Frame 0
class org.as2lib.regexp.node.End extends org.as2lib.regexp.node.Node
{
var next;
function End () {
super();
}
function match(matcher, i, seq) {
return((i == matcher.to) && (next.match(matcher, i, seq)));
}
}
Symbol 20554 MovieClip [__Packages.org.as2lib.regexp.node.Single] Frame 0
class org.as2lib.regexp.node.Single extends org.as2lib.regexp.node.Node
{
var ch, next;
function Single (n) {
super();
ch = n;
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.NotSingle(ch)) : (new org.as2lib.regexp.node.Single(ch))));
}
function match(matcher, i, seq) {
return((i < matcher.to) && ((seq.charCodeAt(i) == ch) && (next.match(matcher, i + 1, seq))));
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20555 MovieClip [__Packages.com.dynamicflash.utils.Delegate] Frame 0
class com.dynamicflash.utils.Delegate
{
function Delegate () {
}
static function create(target, handler) {
var _local4 = arguments.slice(2);
var _local5 = function () {
var _local2 = arguments.callee;
var _local3 = arguments.concat(_local2.extraArgs, [_local2]);
return(_local2.handler.apply(_local2.target, _local3));
};
_local5.extraArgs = _local4;
_local5.handler = handler;
_local5.target = target;
return(_local5);
}
}
Symbol 20556 MovieClip [__Packages.org.as2lib.regexp.node.SliceA] Frame 0
class org.as2lib.regexp.node.SliceA extends org.as2lib.regexp.node.Node
{
var buffer, next;
function SliceA (buf) {
super();
buffer = buf;
}
function match(matcher, i, seq) {
var _local5 = buffer;
var _local6 = _local5.length;
if ((i + _local6) > matcher.to) {
return(false);
}
var _local7 = 0;
for ( ; _local7 < _local6 ; _local7++) {
var _local8 = org.as2lib.regexp.AsciiUtil.toLower(seq.charCodeAt(i + _local7));
if (_local5[_local7] != _local8) {
return(false);
}
}
return(next.match(matcher, i + _local6, seq));
}
function study(info) {
info.minLength = info.minLength + buffer.length;
info.maxLength = info.maxLength + buffer.length;
return(next.study(info));
}
}
Symbol 20557 MovieClip [__Packages.GizmoKnob2] Frame 0
class GizmoKnob2
{
var up, mc, gizmos, active, focus, focus_data, top, x, y, w, h, x_knob, y_knob, mc_base, mc_over, mc_down, onClick;
function GizmoKnob2 (_up) {
up = _up;
setup();
}
function setup_base() {
mc = gfx2.create_clip(up.mc, null);
mc.style = up.mc.style;
gizmos = new Array();
active = true;
focus = null;
focus_data = null;
top = up.top;
if (top == null) {
top = this;
}
}
function clean_base() {
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].clean();
}
}
mc.removeMovieClip();
mc = null;
}
function update_base() {
mc._x = x;
mc._y = y;
var _local2 = 0;
for ( ; _local2 < gizmos.length ; _local2++) {
if (gizmos[_local2].active) {
gizmos[_local2].mc._visible = true;
gizmos[_local2].update();
} else {
gizmos[_local2].mc._visible = false;
}
}
}
static function dupe_snapshot(snapshot) {
var _local3 = {};
_local3.key = snapshot.key;
_local3.key_on = snapshot.key_on;
_local3.key_off = snapshot.key_off;
_local3.x = snapshot.x;
_local3.y = snapshot.y;
_local3.frame = snapshot.frame;
return(_local3);
}
function input_base(snapshot) {
var _local5 = dupe_snapshot(snapshot);
mc.localToGlobal(_local5);
var _local3 = 0;
for ( ; _local3 < gizmos.length ; _local3++) {
if (gizmos[_local3].active) {
gizmos[_local3].mc.globalToLocal(_local5);
gizmos[_local3].input(_local5);
gizmos[_local3].mc.localToGlobal(_local5);
}
}
return(top.focus);
}
function child(g) {
var _local3 = gizmos.length;
gizmos[_local3] = g;
return(g);
}
function set_area(_x, _y, _w, _h) {
x = _x;
y = _y;
w = _w;
h = _h;
}
function draw_mask(px, py) {
gfx2.setscroll(mc, px, py, w, h);
}
function set_knob(xx, yy) {
if (xx != null) {
x_knob = xx;
if (x_knob < 0) {
x_knob = 0;
}
if (x_knob > 1) {
x_knob = 1;
}
}
if (yy != null) {
y_knob = yy;
if (y_knob < 0) {
y_knob = 0;
}
if (y_knob > 1) {
y_knob = 1;
}
}
if (up.w > w) {
x = x_knob * (up.w - w);
} else {
x_knob = 0;
x = 0;
}
if (up.h > h) {
y = y_knob * (up.h - h);
} else {
y_knob = 0;
y = 0;
}
}
function setup() {
setup_base();
}
function clean() {
clean_base();
}
function update() {
if (up.w > w) {
x_knob = x / (up.w - w);
} else {
x_knob = 0;
}
if (up.h > h) {
y_knob = y / (up.h - h);
} else {
y_knob = 0;
}
update_base();
}
function input(snapshot) {
if (top.focus == this) {
var _local3 = dupe_snapshot(snapshot);
mc.localToGlobal(_local3);
up.mc.globalToLocal(_local3);
mc_base._visible = false;
mc_over._visible = false;
mc_down._visible = true;
x = (top.focus_data.orig_x + _local3.x) - top.focus_data.x;
y = (top.focus_data.orig_y + _local3.y) - top.focus_data.y;
if ((x + w) > up.w) {
x = up.w - w;
}
if ((y + h) > up.h) {
y = up.h - h;
}
if (x < 0) {
x = 0;
}
if (y < 0) {
y = 0;
}
update();
if (snapshot.key_off & 1) {
onClick(top.focus);
top.focus = null;
return(top.focus);
}
} else if ((top.focus == null) && ((snapshot.x > 0) && ((snapshot.y > 0) && ((snapshot.x < w) && (snapshot.y < h))))) {
if (snapshot.key_on & 1) {
top.focus = this;
top.focus_data = dupe_snapshot(snapshot);
mc.localToGlobal(top.focus_data);
up.mc.globalToLocal(top.focus_data);
top.focus_data.orig_x = x;
top.focus_data.orig_y = y;
mc_base._visible = false;
mc_over._visible = false;
mc_down._visible = true;
return(top.focus);
}
mc_base._visible = false;
mc_over._visible = true;
mc_down._visible = false;
} else {
mc_base._visible = true;
mc_over._visible = false;
mc_down._visible = false;
}
top.focus = input_base(snapshot);
return(top.focus);
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20558 MovieClip [__Packages.org.as2lib.env.reflect.ReflectUtil] Frame 0
class org.as2lib.env.reflect.ReflectUtil extends org.as2lib.core.BasicClass
{
function ReflectUtil (Void) {
super();
}
static function getUnusedMemberName(object) {
var _local3 = 10000;
var _local4 = MEMBER_PREFIX + "_";
var _local5 = MEMBER_PREFIX + "-";
while (_local3-- , _local3 - -1) {
if (object[_local4 + _local3] === undefined) {
return(_local4 + _local3);
}
if (object[_local5 + _local3] === undefined) {
return(_local5 + _local3);
}
}
return(null);
}
static function getTypeAndMethodInfo(object, method) {
if ((object === null) || (object === undefined)) {
return(null);
}
if (typeof(object) == "function") {
return(getTypeAndMethodInfoByType(object, method));
}
return(getTypeAndMethodInfoByInstance(object, method));
}
static function getTypeAndMethodInfoByType(type, method) {
if ((type === null) || (type === undefined)) {
return(null);
}
if (method.valueOf() == type.valueOf()) {
return([false, getTypeNameForType(type), CONSTRUCTOR]);
}
var _local4 = getMethodNameByObject(method, type);
if ((!(_local4 === null)) && (!(_local4 === undefined))) {
return([true, getTypeNameForType(type), _local4]);
}
return(getTypeAndMethodInfoByPrototype(type.prototype, method));
}
static function getTypeAndMethodInfoByInstance(instance, method) {
if ((instance === null) || (instance === undefined)) {
return(null);
}
if (instance.__constructor__) {
if (instance.__constructor__.prototype == instance.__proto__) {
return(getTypeAndMethodInfoByType(instance.__constructor__, method));
}
}
if (instance.constructor) {
if (instance.constructor.prototype == instance.__proto__) {
return(getTypeAndMethodInfoByType(instance.constructor, method));
}
}
return(getTypeAndMethodInfoByPrototype(instance.__proto__, method));
}
static function getTypeAndMethodInfoByPrototype(p, m) {
if ((p === null) || (p === undefined)) {
return(null);
}
var _local4 = p;
_global.ASSetPropFlags(_global, null, 0, true);
while (p) {
if (p.constructor.valueOf() == m.valueOf()) {
var _local5 = CONSTRUCTOR;
} else {
var _local5 = getMethodNameByObject(m, p);
}
if (_local5 != null) {
var _local6 = new Array();
_local6[0] = false;
_local6[1] = getTypeNameByPrototype(p, _global, "", [_global]);
_local6[2] = _local5;
return(_local6);
}
p = p.__proto__;
}
return([null, getTypeNameByPrototype(_local4, _global, "", [_global]), null]);
}
static function getTypeName(object) {
if ((object === null) || (object === undefined)) {
return(null);
}
if (typeof(object) == "function") {
return(getTypeNameForType(object));
}
return(getTypeNameForInstance(object));
}
static function getTypeNameForInstance(instance) {
if ((instance === null) || (instance === undefined)) {
return(null);
}
_global.ASSetPropFlags(_global, null, 0, true);
return(getTypeNameByPrototype(instance.__proto__, _global, "", [_global]));
}
static function getTypeNameForType(type) {
if ((type === null) || (type === undefined)) {
return(null);
}
_global.ASSetPropFlags(_global, null, 0, true);
return(getTypeNameByPrototype(type.prototype, _global, "", [_global]));
}
static function getTypeNameByPrototype(c, p, n, a) {
var _local6 = c.__as2lib__typeName;
if ((_local6 != null) && (_local6 != c.__proto__.__as2lib__typeName)) {
return(_local6);
}
if (n == null) {
n = "";
}
var _local7 = _global.ASSetPropFlags;
for (var r in p) {
try {
if (((!eval ("_global." + r.split("_").join("."))) || (r.indexOf("_") < 0)) && (p[r].prototype === c)) {
var _local8 = n + r;
c.__as2lib__typeName = _local8;
_local7(c, "__as2lib__typeName", 1, true);
return(_local8);
}
if (p[r].__proto__ == Object.prototype) {
var _local9 = false;
var _local10 = 0;
for ( ; _local10 < a.length ; _local10++) {
if (a[_local10].valueOf() == p[r].valueOf()) {
_local9 = true;
}
}
if (!_local9) {
a.push(p[r]);
r = getTypeNameByPrototype(c, p[r], (n + r) + ".", a);
if (r) {
return(r);
}
}
} else if (typeof(p[r]) == "function") {
p[r].prototype.__as2lib__typeName = n + r;
_local7(p[r].prototype, "__as2lib__typeName", 1, true);
}
} catch(_local) {
var e = ( /* Error999 */
);
}
}
return(null);
}
static function getMethodName(method, object) {
if ((!method) || ((object === null) || (object === undefined))) {
return(null);
}
if (typeof(object) == "function") {
return(getMethodNameByType(method, object));
}
return(getMethodNameByInstance(method, object));
}
static function getMethodNameByInstance(method, instance) {
if ((!method) || ((instance === null) || (instance === undefined))) {
return(null);
}
if (instance.__constructor__) {
if (instance.__constructor__.prototype == instance.__proto__) {
return(getMethodNameByType(method, instance.__constructor__));
}
}
if (instance.constructor) {
if (instance.constructor.prototype == instance.__proto__) {
return(getMethodNameByType(method, instance.constructor));
}
}
return(getMethodNameByPrototype(method, instance.__proto__));
}
static function getMethodNameByType(method, type) {
if ((!method) || (!type)) {
return(null);
}
var _local4 = getMethodNameByPrototype(method, type.prototype);
if (_local4 != null) {
return(_local4);
}
return(getMethodNameByObject(method, type));
}
static function getMethodNameByPrototype(m, p) {
switch (m) {
default :
m === null;
case null :
case m === undefinedundefined :
case p === nullnull :
}
if (p === undefined) {
return(null);
}
while (p) {
var _local4 = getMethodNameByObject(m, p);
if (_local4 != null) {
return(_local4);
}
p = p.__proto__;
}
return(null);
}
static function getMethodNameByObject(m, o) {
var _local4 = m.__as2lib__methodName;
if (_local4 != null) {
return(_local4);
}
var _local5 = _global.ASSetPropFlags;
_local5(o, null, 0, true);
_local5(o, ["__proto__", "prototype", "__constructor__", "constructor"], 7, true);
for (var n in o) {
try {
if (o[n].valueOf() == m.valueOf()) {
m.__as2lib__methodName = n;
return(n);
}
if (typeof(o[n]) == "function") {
o[n].__as2lib__methodName = n;
}
} catch(_local) {
var e = ( /* Error999 */
);
}
}
_local5(o, null, 1, true);
return(null);
}
static function isMethodStatic(methodName, object) {
if ((!methodName) || ((object === null) || (object === undefined))) {
return(false);
}
if (typeof(object) == "function") {
return(isMethodStaticByType(methodName, object));
}
return(isMethodStaticByInstance(methodName, object));
}
static function isMethodStaticByInstance(methodName, instance) {
if ((!methodName) || ((instance === null) || (instance === undefined))) {
return(false);
}
return(isMethodStaticByType(methodName, (instance.__constructor__ ? (instance.__constructor) : (instance.constructor))));
}
static function isMethodStaticByType(methodName, type) {
if ((!methodName) || (!type)) {
return(false);
}
try {
if (type[methodName]) {
return(true);
}
} catch(_local) {
var e = ( /* Error999 */
);
}
return(false);
}
static function isConstructor(constructor, object) {
switch (constructor) {
default :
constructor === null;
case null :
case constructor === undefinedundefined :
case object === nullnull :
}
if (object === undefined) {
return(false);
}
if (typeof(object) == "function") {
return(isConstructorByType(constructor, object));
}
return(isConstructorByInstance(constructor, object));
}
static function isConstructorByInstance(method, instance) {
if ((!method) || ((instance === null) || (instance === undefined))) {
return(false);
}
return(isConstructorByType(method, (instance.__constructor__ ? (instance.__constructor__) : (instance.constructor))));
}
static function isConstructorByType(method, type) {
switch (method) {
default :
method === null;
case null :
case method === undefinedundefined :
case type === nullnull :
}
if (type === undefined) {
return(false);
}
return(method.valueOf() == type.valueOf());
}
static function getVariableNames(instance) {
var _local3 = new Array();
var _local4 = _global.ASSetPropFlags;
_local4(instance, null, 0, true);
_local4(instance, ["__proto__", "prototype", "__constructor__", "constructor"], 7, true);
for (var i in instance) {
try {
if (typeof(instance[i]) != "function") {
_local3.push(i);
}
} catch(_local) {
var e = ( /* Error999 */
);
}
}
_local4(instance, null, 1, true);
return(_local3);
}
static function getTypeByName(path) {
var _local3 = eval ("_global." + path);
if (!_local3) {
_local3 = eval ("_global." + path.split(".").join("_"));
}
return(_local3);
}
static var CONSTRUCTOR = "new";
static var UNKNOWN = "[unknown]";
static var MEMBER_PREFIX = "__as2lib__member";
}
Symbol 20559 MovieClip [__Packages.WetSpewTalk] Frame 0
class WetSpewTalk
{
var up, game_infos, game_numof, fakepop, frame, num, mc_scalar, mc, vmc, sc, state, txts, gizmo_Tlist, gizmo, popdelay, video_off_height, video_on_height, video_off_pos, video_on_pos, gizmoT, gizmoM, gizmoB, typehere_box, gizmo_send, gizmo_Tscroll, gizmo_Tscroll_knob, gizmo_Bitems, gizmo_Titems, gizmo_Blist, typehere, vmc_check_count, focus, enter_down;
function WetSpewTalk (_up) {
up = _up;
rgbarr.XIX = "00ff00";
rgbarr.shi = "00ff00";
rgbarr.me = "cccccc";
rgbarr.lieza = "ff88ff";
rgbarr.cthulhu = "00ff00";
rgbarr.noir = "0000ff";
rgbarr.jeeves = "ffffff";
rgbarr.moon = "ffff00";
rgbarr.ygor = "ff0000";
rgbarr.meatwad = "00ff00";
rgbarr.Rakiro = "8888ff";
game_infos = [];
game_numof = 0;
var _local3 = {};
_local3.nam1 = "LardGuns";
_local3.lnk1 = "http://www.wetgenes.com/lardguns/";
_local3.lnk2 = "javascript:set_frame_urls('-','/lardguns/');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/lardguns.png";
_local3.lnksml = "http://www.wetgenes.com/lardguns/";
_local3.lnkid = 0;
game_infos[game_numof++] = _local3;
game_infos.LardGuns = _local3;
game_infos["LardGuns".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "EsTension";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/EsTension.php/-=-//index.php/Main/EsTension";
_local3.lnk2 = "javascript:set_frame_urls('/top/EsTension.php','/index.php/Main/EsTension');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/estension.png";
_local3.lnksml = "http://estension.wetgenes.com/";
_local3.lnkid = 5375;
game_infos[game_numof++] = _local3;
game_infos.EsTension = _local3;
game_infos["EsTension".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "Bulbaceous";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/Bulbaceous.php/-=-//index.php/Main/BulbaceousBalls";
_local3.lnk2 = "javascript:set_frame_urls('/top/Bulbaceous.php','/index.php/Main/BulbaceousBalls');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/bulbaceous.png";
_local3.lnksml = "http://www.bulbaceous.com/";
_local3.lnkid = 0;
game_infos[game_numof++] = _local3;
game_infos.Bulbaceous = _local3;
game_infos["Bulbaceous".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "ASUE1";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/ASUE1.php/-=-//index.php/Main/ASUE1";
_local3.lnk2 = "javascript:set_frame_urls('/top/ASUE1.php','/index.php/Main/ASUE1');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/asue1.png";
_local3.lnksml = "http://asue1.wetgenes.com/";
_local3.lnkid = 5383;
game_infos[game_numof++] = _local3;
game_infos.ASUE1 = _local3;
game_infos["ASUE1".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "BallClock";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/BallClock.php/-=-//index.php/Main/BallClock";
_local3.lnk2 = "javascript:set_frame_urls('/top/BallClock.php','/index.php/Main/BallClock');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/ballclock.png";
_local3.lnksml = "http://ballclock.wetgenes.com/";
_local3.lnkid = 0;
game_infos[game_numof++] = _local3;
game_infos.BallClock = _local3;
game_infos["BallClock".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "4lfa.comics";
_local3.lnk1 = "http://4lfa.com";
_local3.lnk2 = "http://4lfa.com";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/4lfa.png";
_local3.lnksml = "http://4lfa.com/";
_local3.lnkid = 0;
game_infos[game_numof++] = _local3;
game_infos["4lfa.comics"] = _local3;
game_infos["4lfa.comics".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "on facebook";
_local3.lnk1 = "http://www.facebook.com/apps/application.php?id=20710786320";
_local3.lnk2 = "http://www.facebook.com/apps/application.php?id=20710786320";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/facebook.png";
_local3.lnksml = "http://www.facebook.com/apps/application.php?id=20710786320";
_local3.lnkid = 0;
game_infos[game_numof++] = _local3;
game_infos["on facebook"] = _local3;
game_infos["on facebook".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "RomZom";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/RomZom.php/-=-//index.php/Main/RomZom";
_local3.lnk2 = "javascript:set_frame_urls('/top/RomZom.php','/index.php/Main/RomZom');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/romzom.png";
_local3.lnksml = "http://romzom.wetgenes.com/";
_local3.lnkid = 5399;
game_infos[game_numof++] = _local3;
game_infos.RomZom = _local3;
game_infos["RomZom".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "Diamonds";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/WetDiamonds.php/-=-//index.php/Main/WetDiamonds";
_local3.lnk2 = "javascript:set_frame_urls('/top/WetDiamonds.php','/index.php/Main/WetDiamonds');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/diamonds.png";
_local3.lnksml = "http://diamonds.wetgenes.com/";
_local3.lnkid = 5477;
game_infos[game_numof++] = _local3;
game_infos.Diamonds = _local3;
game_infos["Diamonds".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "WetDike";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/WetDike.php/-=-//index.php/Main/WetDike";
_local3.lnk2 = "javascript:set_frame_urls('/top/WetDike.php','/index.php/Main/WetDike');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/wetdike.png";
_local3.lnksml = "http://wetdike.wetgenes.com/";
_local3.lnkid = 5482;
game_infos[game_numof++] = _local3;
game_infos.WetDike = _local3;
game_infos["WetDike".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "GojiRama";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/GojiRama.php/-=-//index.php/Main/GojiRama";
_local3.lnk2 = "javascript:set_frame_urls('/top/GojiRama.php','/index.php/Main/GojiRama');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/gojirama.png";
_local3.lnksml = "http://gojirama.wetgenes.com/";
_local3.lnkid = 4496;
game_infos[game_numof++] = _local3;
game_infos.GojiRama = _local3;
game_infos["GojiRama".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "AdventIsland";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/AdventIsland.php/-=-//index.php/Main/AdventIsland";
_local3.lnk2 = "javascript:set_frame_urls('/top/AdventIsland.php','/index.php/Main/AdventIsland');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/adventisland.png";
_local3.lnksml = "http://adventisland.wetgenes.com/";
_local3.lnkid = 6059;
game_infos[game_numof++] = _local3;
game_infos.AdventIsland = _local3;
game_infos["AdventIsland".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "Minions";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/MiniOns.php/-=-//index.php/Main/MiniOns";
_local3.lnk2 = "javascript:set_frame_urls('/top/MiniOns.php','/index.php/Main/MiniOns');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/minions.png";
_local3.lnksml = "http://minions.wetgenes.com/";
_local3.lnkid = 0;
game_infos[game_numof++] = _local3;
game_infos.Minions = _local3;
game_infos["Minions".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "BatWsBall";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/BatWsBall.php/-=-//index.php/Main/BatWsBall";
_local3.lnk2 = "javascript:set_frame_urls('/top/BatWsBall.php','/index.php/Main/BatWsBall');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/batwsball.png";
_local3.lnksml = "http://batwsball.wetgenes.com/";
_local3.lnkid = 6714;
game_infos[game_numof++] = _local3;
game_infos.BatWsBall = _local3;
game_infos["BatWsBall".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "BowWow";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/BowWow.php/-=-//index.php/Main/BowWow";
_local3.lnk2 = "javascript:set_frame_urls('/top/BowWow.php','/index.php/Main/BowWow');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/bowwow.png";
_local3.lnksml = "http://bowwow.wetgenes.com/";
_local3.lnkid = 5345;
game_infos[game_numof++] = _local3;
game_infos.BowWow = _local3;
game_infos["BowWow".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "WetBasement";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/WetBasement.php/-=-//index.php/Main/WetBasement";
_local3.lnk2 = "javascript:set_frame_urls('/top/WetBasement.php','/index.php/Main/WetBasement');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/basement.png";
_local3.lnksml = "http://basement.wetgenes.com/";
_local3.lnkid = 5227;
game_infos[game_numof++] = _local3;
game_infos.WetBasement = _local3;
game_infos["WetBasement".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "Mute";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/Mute.php/-=-//index.php/Main/Mute";
_local3.lnk2 = "javascript:set_frame_urls('/top/Mute.php','/index.php/Main/Mute');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/mute.png";
_local3.lnksml = "http://mute.wetgenes.com/";
_local3.lnkid = 5183;
game_infos[game_numof++] = _local3;
game_infos.Mute = _local3;
game_infos["Mute".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "ASUE2";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/ASUE2.php/-=-//index.php/Main/ASUE2";
_local3.lnk2 = "javascript:set_frame_urls('/top/ASUE2.php','/index.php/Main/ASUE2');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/asue2.png";
_local3.lnksml = "http://asue2.wetgenes.com/";
_local3.lnkid = 4826;
game_infos[game_numof++] = _local3;
game_infos.ASUE2 = _local3;
game_infos["ASUE2".toLowerCase()] = _local3;
_local3 = {};
_local3.nam1 = "Take1";
_local3.lnk1 = "http://www.wetgenes.com/frame.php#/top/Take1.php/-=-//index.php/Main/Take1";
_local3.lnk2 = "javascript:set_frame_urls('/top/Take1.php','/index.php/Main/Take1');";
_local3.img3 = "http://swf.wetgenes.com/swf/wetlinks/take1.png";
_local3.lnksml = "http://take1.wetgenes.com/";
_local3.lnkid = 6645;
game_infos[game_numof++] = _local3;
game_infos.Take1 = _local3;
game_infos["Take1".toLowerCase()] = _local3;
}
function delegate(f, d) {
return(com.dynamicflash.utils.Delegate.create(this, f, d));
}
function rnd_seed(n) {
rnd_num = n & 65535;
}
function rnd() {
rnd_num = (((rnd_num + 1) * 75) - 1) % 65537;
return(rnd_num);
}
function setup() {
fakepop = false;
frame = 0;
num = 0;
mc_scalar = gfx2.create_clip(up.mc, null);
mc = gfx2.create_clip(mc_scalar, null);
mc._x = 800;
mc.cacheAsBitmap = true;
gfx2.clear(mc);
mc.style.fill = -16777216 + background;
gfx2.draw_box(mc, 0, 0, 0, 400, 600);
setup_gizmos();
vmc = null;
sc = new ScrollOn2(this, -90);
sc.setup();
sc.mc.filters = null;
sc.fntsiz = 20;
sc.fntcol = 16776960 /* 0xFFFF00 */;
sc.mc._alpha = 100;
sc.mc._x = -24;
sc.mc._y = 100;
sc.xp = -5;
sc.w = 400;
state = "chat";
var _local2 = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local2 = _local2 + "Sorry this may not be working yet :)";
_local2 = _local2 + "</font>";
txts = [];
txts.help = _local2;
txts.chat = _local2;
txts.users = _local2;
txts.games = _local2;
txts.rooms = _local2;
txts.line = _local2;
txts.vids = _local2;
_local2 = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "There is currently only one room available, so there is no choice to make here yet.";
_local2 = _local2 + "</font>";
txts.rooms = _local2;
_local2 = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "Not tracking current users properly yet... But this list will fill up shortly.";
_local2 = _local2 + "</font>";
txts.users = _local2;
_local2 = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/lardguns.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://www.wetgenes.com/lardguns/\" target=\"_top\"><b>LardGuns</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://www.wetgenes.com/lardguns/\" target=\"_blank\"><b>LardGuns</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">A simple online multiplayer web game based on scissors, paper, stone.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/estension.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://estension.wetgenes.com/\" target=\"_top\"><b>EsTension</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://estension.wetgenes.com/\" target=\"_blank\"><b>EsTension</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">The uncharted land between Joust and Gravitar.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/bulbaceous.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://www.bulbaceous.com/\" target=\"_top\"><b>Bulbaceous</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://www.bulbaceous.com/\" target=\"_blank\"><b>Bulbaceous</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">balls</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/asue1.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://asue1.wetgenes.com/\" target=\"_top\"><b>ASUE1</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://asue1.wetgenes.com/\" target=\"_blank\"><b>ASUE1</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">Episode 1 : The horse</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/ballclock.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://ballclock.wetgenes.com/\" target=\"_top\"><b>BallClock</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://ballclock.wetgenes.com/\" target=\"_blank\"><b>BallClock</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">A ball operated mechanical timepiece.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/4lfa.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://4lfa.com/\" target=\"_top\"><b>4lfa.comics</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://4lfa.com/\" target=\"_blank\"><b>4lfa.comics</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">4lfa comics, updated sometimes, read at other times.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/facebook.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://www.facebook.com/apps/application.php?id=20710786320\" target=\"_top\"><b>on facebook</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://www.facebook.com/apps/application.php?id=20710786320\" target=\"_blank\"><b>on facebook</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">A list of Games and widgets now available inside face book.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/romzom.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://romzom.wetgenes.com/\" target=\"_top\"><b>RomZom</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://romzom.wetgenes.com/\" target=\"_blank\"><b>RomZom</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">Where there is no enape.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/diamonds.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://diamonds.wetgenes.com/\" target=\"_top\"><b>Diamonds</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://diamonds.wetgenes.com/\" target=\"_blank\"><b>Diamonds</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">Take two diamonds into the shower? Not me. I just match three and bling.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/wetdike.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://wetdike.wetgenes.com/\" target=\"_top\"><b>WetDike</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://wetdike.wetgenes.com/\" target=\"_blank\"><b>WetDike</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">OMFG these cards are out of order!</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/gojirama.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://gojirama.wetgenes.com/\" target=\"_top\"><b>GojiRama</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://gojirama.wetgenes.com/\" target=\"_blank\"><b>GojiRama</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">The typing of the rizard.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/adventisland.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://adventisland.wetgenes.com/\" target=\"_top\"><b>AdventIsland</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://adventisland.wetgenes.com/\" target=\"_blank\"><b>AdventIsland</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">advent.exe</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/minions.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://minions.wetgenes.com/\" target=\"_top\"><b>Minions</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://minions.wetgenes.com/\" target=\"_blank\"><b>Minions</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">Create your avatar minion.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/batwsball.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://batwsball.wetgenes.com/\" target=\"_top\"><b>BatWsBall</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://batwsball.wetgenes.com/\" target=\"_blank\"><b>BatWsBall</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">Keep the ball on screen for as long as you can.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/bowwow.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://bowwow.wetgenes.com/\" target=\"_top\"><b>BowWow</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://bowwow.wetgenes.com/\" target=\"_blank\"><b>BowWow</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">Harvest the sky potatoes by the power of your bow. Wow!</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/basement.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://basement.wetgenes.com/\" target=\"_top\"><b>WetBasement</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://basement.wetgenes.com/\" target=\"_blank\"><b>WetBasement</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">A water filled platform game extravaganza!</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/mute.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://mute.wetgenes.com/\" target=\"_top\"><b>Mute</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://mute.wetgenes.com/\" target=\"_blank\"><b>Mute</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">A 48 hour game project, turning negativity into game.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/asue2.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://asue2.wetgenes.com/\" target=\"_top\"><b>ASUE2</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://asue2.wetgenes.com/\" target=\"_blank\"><b>ASUE2</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">Episode 2 : The Gum Machine.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><img width=\"100\" height=\"100\" src=\"http://swf.wetgenes.com/swf/wetlinks/take1.png\">";
if (_root.home == "wetgenes") {
_local2 = _local2 + "<a href=\"http://take1.wetgenes.com/\" target=\"_top\"><b>Take1</b></a></p>";
} else {
_local2 = _local2 + "<a href=\"http://take1.wetgenes.com/\" target=\"_blank\"><b>Take1</b></a></p>";
}
_local2 = _local2 + "<p><font size=\"14\">When Harry met Sally.</font></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "</font>";
txts.games = _local2;
_local2 = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>Type /join roomname to join a room.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>Type /find username to find out which room someone is in.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>You may /ban /gag /dis people from your personal room. The easy way is to simply click on what they said and then make your choice.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>Type /login name_you_want_to_have if you want to change your guest name.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>Type /me does something. if you want to perform an act rather than a chat.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>There is a list of other games you can play that also have this same chat built in, just click on the <b>GAMES</b> tab above and make your choice.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>If this thing has popped up over half your screen then you can hide it again by just moving the mouse off of it.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>If you find the public chat rooms to be full of loud and annoying people, then I recommend you change to your home room. Just click on the <b>ROOMS</b> tab above and then join your <b>personal home room</b> where you have admin rights.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p><font color=\"#00ff00\">The people with green text are admin, do not anger them.</font></p>";
_local2 = _local2 + "<p></p>";
if (_root.home == "wetgenes") {
}
_local2 = _local2 + "</font>";
txts.help = _local2;
_local2 = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "<p>Random videos should be available above, click the playlist button for full list. Sorry if the size is a bit squify.</p>";
_local2 = _local2 + "<p></p>";
_local2 = _local2 + "</font>";
txts.vids = _local2;
Key.addListener(this);
}
function clean() {
hide_video();
Key.removeListener(this);
mc.removeMovieClip();
}
function update(snapshot) {
if (_root.popup == this) {
_root.popup = null;
}
check_video();
frame++;
switch (state) {
case "users" :
if (last_users_stamp != up.sock.users_stamp) {
update_users();
last_users_stamp = up.sock.users_stamp;
}
break;
case "rooms" :
if (last_rooms_stamp == up.sock.rooms_stamp) {
break;
}
update_rooms();
last_rooms_stamp = up.sock.rooms_stamp;
}
var _local4 = false;
if (gizmo_Tlist.str != txts[state]) {
gizmo_Tlist.str = txts[state];
_local4 = true;
}
gizmo.mc.globalToLocal(snapshot);
gizmo.focus = gizmo.input(snapshot);
gizmo.update();
var _local5 = false;
if (_root.scalar.ox == 1200) {
mc._x = 800;
sc.mc._visible = false;
} else if (_root.scalar.ox == 800) {
sc.mc._visible = true;
if (_root.popup == null) {
if ((mc._x == 400) || (fakepop)) {
if (mc._xmouse >= -20) {
if (!fakepop) {
_local5 = true;
}
} else {
fakepop = false;
mc._x = 800;
}
} else if ((mc._xmouse > -20) && ((mc._ymouse > 100) && (mc._ymouse < 500))) {
if (_root.poker.poke_now) {
fakepop = true;
} else {
_local5 = true;
}
} else {
mc._x = 800;
}
}
} else {
mc._x = 0;
sc.mc._visible = false;
resize_chat();
}
if (_local5) {
popdelay--;
if (popdelay == 0) {
_root.popup = this;
mc._x = 400;
}
} else {
popdelay = 10;
}
sc.update();
}
function resize_chat() {
var _local2 = Math.floor(_root.scalar.dy / ((20 / 100) * _root.scalar.sy));
if (_local2 < 0) {
_local2 = 0;
}
if (extra_lines == _local2) {
return(undefined);
}
extra_lines = _local2;
var _local6 = [26, 4, 8];
var _local3 = 400;
var _local4 = 600;
var _local5 = 20;
var _local7 = 1 - extra_lines;
_local6[0] = 26 + (extra_lines * 2);
video_off_height = (_local6[0] - 1) * _local5;
video_on_height = ((_local6[0] - 1) * _local5) - (14 * _local5);
video_off_pos = 1 * _local5;
video_on_pos = (1 * _local5) + (14 * _local5);
gizmoT.set_area(0, _local7 * _local5, _local3, _local6[0] * _local5);
_local7 = _local7 + _local6[0];
gizmoM.set_area(0, _local7 * _local5, _local3, _local6[1] * _local5);
_local7 = _local7 + _local6[1];
gizmoB.set_area(0, _local7 * _local5, _local3, _local6[2] * _local5);
_local7 = _local7 + _local6[2];
gizmo_Tlist.clear_tf();
resize_for_video();
typehere_box.set_area(0, 0, _local3 - (_local5 * 1), _local5 * 2);
gizmo_send.set_area(_local3 - (_local5 * 1), 0, _local5 * 1, _local5 * 2);
}
function setup_gizmos() {
var _local9 = [26, 4, 8];
var _local3 = 400;
var _local4 = 600;
var _local5 = 20;
gizmo = new GizmoMaster2(this);
gizmo.top = gizmo;
var _local6 = gizmo;
_local6.set_area(0, 0, _local3, _local4);
var _local10 = 1;
var _local8 = gizmo;
_local6 = _local8.child(new Gizmo2(_local8));
_local6.set_area(0, _local10 * _local5, _local3, _local9[0] * _local5);
gizmoT = _local6;
_local10 = _local10 + _local9[0];
_local6 = _local8.child(new Gizmo2(_local8));
_local6.set_area(0, _local10 * _local5, _local3, _local9[1] * _local5);
gizmoM = _local6;
_local10 = _local10 + _local9[1];
_local6 = _local8.child(new Gizmo2(_local8));
_local6.set_area(0, _local10 * _local5, _local3, _local9[2] * _local5);
gizmoB = _local6;
_local8 = gizmoT;
_local6 = _local8.child(new Gizmo2(_local8));
_local6.set_area(_local3 - (_local5 * 1), _local5, _local5, (_local9[0] - 1) * _local5);
_local6.mc.style = {fill:-2147483648 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_boxen(_local6.mc, 0, 0, _local6.w, _local6.h);
gizmo_Tscroll = _local6;
_local8 = _local6;
_local6 = _local8.child(new GizmoKnob2(_local8));
_local6.set_area(0, _local8.h - (_local5 * 4), _local5, _local5 * 4);
var _local7 = gfx2.create_clip(_local6.mc, null, 0, 0, 100, 100);
_local7.style = {fill:-2147483648 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_puck(_local7, 0, 0, _local5, _local5 * 4);
_local6.mc_base = _local7;
_local7 = gfx2.create_clip(_local6.mc, null, 0, 0, 100, 100);
_local7.style = {fill:-16777216 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_puck(_local7, 0, 0, _local5, _local5 * 4);
_local6.mc_over = _local7;
_local7 = gfx2.create_clip(_local6.mc, null, 0, 0, 100, 100);
_local7.style = {fill:-16777216 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_puck(_local7, 0, 0, _local5, _local5 * 4);
_local6.mc_down = _local7;
gizmo_Tscroll_knob = _local6;
_local8 = gizmoT;
_local6 = _local8.child(new GizmoText2(_local8));
_local6.set_area(0, _local5, _local3 - (_local5 * 1), (_local9[0] - 1) * _local5);
_local6.str = "<p>Connecting to server...</p>";
_local6.tf_fmt.size = _local5 - 2;
_local6.tf_fmt.color = -16777216 + foreground;
_local6.vgizmo = gizmo_Tscroll_knob;
gizmo_Tlist = _local6;
video_off_height = (_local9[0] - 1) * _local5;
video_on_height = ((_local9[0] - 1) * _local5) - (14 * _local5);
video_off_pos = _local5;
video_on_pos = (1 + 14) * _local5;
gizmo_Bitems = [];
gizmo_Titems = [];
gizmo_Blist.items = gizmo_Bitems;
gizmo_Blist.onClick = delegate(Bclick);
_local8 = gizmoM;
_local6 = _local8.child(new Gizmo2(_local8));
_local6.set_area(0, 0, _local8.w - (_local5 * 1), _local5 * 2);
_local6.mc.style = {fill:-2147483648 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_boxen(_local6.mc, 0, 0, _local6.w, _local6.h);
typehere_box = _local6;
typehere = gfx2.create_text_edit(gizmoM.mc, null, _local5 * 0.25, _local5 * 0.25, _local3 - (_local5 * 1.5), _local5 * 1.5);
typehere.setNewTextFormat(gfx2.create_text_format(_local5 + 2, -16777216 + foreground));
typehere.text = "";
typehere.onEnterKeyHasBeenPressed = delegate(onEnter);
_local8 = gizmoM;
_local6 = _local8.child(new GizmoButt2(_local8));
_local6.set_area(_local8.w - (_local5 * 1), 0, _local5 * 1, _local5 * 2);
_local7 = gfx2.create_clip(_local6.mc, null, 0, 0, 100, 100);
_local7.style = {fill:-2147483648 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_box(_local7, 0, 0, _local5, _local5 * 2);
_local6.mc_base = _local7;
_local7 = gfx2.create_clip(_local6.mc, null, 0, 0, 100, 100);
_local7.style = {fill:-16777216 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_box(_local7, 0, 0, _local5, _local5 * 2);
_local6.mc_over = _local7;
_local7 = gfx2.create_clip(_local6.mc, null, 0, 0, 100, 100);
_local7.style = {fill:-872415232 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_box(_local7, 0, 0, _local5, _local5 * 2);
_local6.mc_down = _local7;
gizmo_send = _local6;
gizmo_send.mc.tf = gfx2.create_text(gizmo_send.mc, 100, _local5 - 1, 0, _local5 * 2, _local5);
gizmo_send.mc.tf.setNewTextFormat(gfx2.create_text_format(_local5 - 9, -16777216 + background, "bold"));
gizmo_send.mc.tf.text = "SEND";
gizmo_send.mc.tf._rotation = 90;
gizmo_send.mc.tf.selectable = false;
gizmo_send.onClick = delegate(onEnter);
var _local11 = [38, 40, 47, 50, 36, 52];
var _local12 = 2;
create_gizmo_butt(gizmoT, _local12, 0, _local11[0], _local5, "HELP");
_local12 = _local12 + _local11[0];
create_gizmo_butt(gizmoT, _local12, 0, _local11[1], _local5, "CHAT");
_local12 = _local12 + _local11[1];
create_gizmo_butt(gizmoT, _local12, 0, _local11[2], _local5, "USERS");
_local12 = _local12 + _local11[2];
create_gizmo_butt(gizmoT, _local12, 0, _local11[3], _local5, "GAMES");
_local12 = _local12 + _local11[3];
create_gizmo_butt(gizmoT, _local12, 0, _local11[4], _local5, "VIDS");
_local12 = _local12 + _local11[4];
create_gizmo_butt(gizmoT, _local12, 0, _local11[5], _local5, "ROOMS");
_local12 = _local12 + _local11[5];
gizmo.update();
}
function show_video() {
gizmo_Tscroll.y = video_on_pos;
gizmo_Tscroll.h = video_on_height;
gizmo_Tlist.set_area(0, video_on_pos, 380, video_on_height);
if (!vmc) {
vmc = gfx2.create_clip(mc, null, 10, 40, 50, 50);
vmc.vms = gfx2.create_clip(vmc, null);
vmc.vmc = gfx2.create_clip(vmc.vms, null);
vmc.vmc.loadMovie("http://www.youtube.com/p/01277440DACDD576");
vmc_check_count = 0;
}
vmc._visible = true;
gizmo_Tscroll.mc.clear();
gizmo_Tscroll.mc.style = {fill:-2147483648 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_boxen(gizmo_Tscroll.mc, 0, 0, gizmo_Tscroll.w, gizmo_Tscroll.h);
gizmo_Tscroll_knob.set_knob(null, null);
}
function hide_video() {
gizmo_Tscroll.y = video_off_pos;
gizmo_Tscroll.h = video_off_height;
gizmo_Tlist.set_area(0, video_off_pos, 380, video_off_height);
vmc._visible = false;
gizmo_Tscroll.mc.clear();
gizmo_Tscroll.mc.style = {fill:-2147483648 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_boxen(gizmo_Tscroll.mc, 0, 0, gizmo_Tscroll.w, gizmo_Tscroll.h);
gizmo_Tscroll_knob.set_knob(null, null);
}
function resize_for_video() {
if (state == "vids") {
show_video();
} else {
hide_video();
}
}
function check_video() {
if (vmc_check_count > 0) {
vmc_check_count--;
} else if (vmc._visible) {
var _local2 = vmc.getBounds(mc);
var _local3 = _local2.yMax - _local2.yMin;
var _local4 = Math.floor(100 * ((17 * 20) / (_local3 / (vmc._yscale / 100))));
if ((_local4 > 2) && (_local3 > 10)) {
if (_local4 != vmc._yscale) {
vmc._xscale = _local4;
vmc._yscale = _local4;
vmc_check_count = 25;
}
}
}
}
function create_gizmo_butt(gp, x, y, w, h, txt) {
var _local8 = 20;
var _local9 = gp.child(new GizmoButt2(gp));
_local9.set_area(x, y, w, h);
_local9.mc.style = {fill:-2147483648 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
var _local10 = gfx2.create_clip(_local9.mc, null);
_local10.style = {fill:-2147483648 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_box(_local10, 0, 0, w, h);
_local9.mc_base = _local10;
_local10.tf = gfx2.create_text(_local10, null, 1, 2, w, h);
_local10.tf.setNewTextFormat(gfx2.create_text_format(_local8 - 9, -16777216 + background, "bold"));
_local10.tf.text = txt;
_local10.tf.selectable = false;
_local10 = gfx2.create_clip(_local9.mc, null);
_local10.style = {fill:-16777216 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_box(_local10, 0, 0, w, h);
_local9.mc_over = _local10;
_local10.tf = gfx2.create_text(_local10, null, 1, 2, w, h);
_local10.tf.setNewTextFormat(gfx2.create_text_format(_local8 - 9, -16777216 + background, "bold"));
_local10.tf.text = txt;
_local10.tf.selectable = false;
_local10 = gfx2.create_clip(_local9.mc, null);
_local10.style = {fill:-872415232 + foreground, out:-16777216 + foreground, text:-16777216 + foreground};
draw_box(_local10, 0, 0, w, h);
_local9.mc_down = _local10;
_local10.tf = gfx2.create_text(_local10, null, 1, 2, w, h);
_local10.tf.setNewTextFormat(gfx2.create_text_format(_local8 - 9, -16777216 + background, "bold"));
_local10.tf.text = txt;
_local10.tf.selectable = false;
_local9.onClick = delegate(onClick, txt);
return(_local9);
}
function onClick(g, s) {
switch (s) {
case "USERS" :
gizmo_Tlist.clear_tf();
txts.users = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">Fetching...</font>";
up.sock.chat("/users");
state = "users";
resize_for_video();
break;
case "ROOMS" :
gizmo_Tlist.clear_tf();
txts.rooms = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">Fetching...</font>";
up.sock.chat("/rooms");
state = "rooms";
resize_for_video();
break;
case "HELP" :
gizmo_Tlist.clear_tf();
state = "help";
resize_for_video();
break;
case "CHAT" :
gizmo_Tlist.clear_tf();
state = "chat";
resize_for_video();
break;
case "GAMES" :
gizmo_Tlist.clear_tf();
state = "games";
resize_for_video();
break;
case "VIDS" :
gizmo_Tlist.clear_tf();
state = "vids";
resize_for_video();
}
}
function update_users() {
var _local5 = "";
var _local2 = up.sock.users;
_local5 = _local5 + "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local5 = _local5 + (("<p>Listing users in room <b>" + up.sock.room) + "</b></p>");
_local5 = _local5 + "<p></p>";
var _local6 = false;
for (var _local3 in _local2) {
var _local4 = _local2[_local3];
_local5 = _local5 + "<p>";
var _local7 = "";
if (_local4.formrank) {
_local7 = ("(" + _local4.formrank) + ")";
}
_local5 = _local5 + (("<a href=\"asfunction:_root.talk.lineclick,user/" + _local3) + "\">");
_local5 = _local5 + (((((("<b>" + _local4.user_name) + "</b> ") + _local7) + " is playing <b>") + _local4.game_name) + "</b>");
_local5 = _local5 + "</a>";
_local5 = _local5 + "</p>";
_local6 = true;
}
if (!_local6) {
_local5 = _local5 + "<p>";
_local5 = _local5 + "There are no named users in this room.";
_local5 = _local5 + "</p>";
}
_local5 = _local5 + "</font>";
txts.users = _local5;
}
function update_rooms() {
var _local5 = "";
var _local2 = up.sock.rooms;
_local5 = _local5 + "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local5 = _local5 + "<p>";
_local5 = _local5 + "<a href=\"asfunction:_root.talk.lineclick,room/home\">";
_local5 = _local5 + "<b>Click here to join your personal home room.</b> <font size=\"12\">This will be less noisy than the public rooms and you can ban people from it.</font>";
_local5 = _local5 + "</a>";
_local5 = _local5 + "</p>";
_local5 = _local5 + "<p></p>";
_local5 = _local5 + "<p>Listing available active rooms.</p>";
_local5 = _local5 + "<p></p>";
for (var _local3 in _local2) {
var _local4 = _local2[_local3];
_local5 = _local5 + "<p>";
_local5 = _local5 + (("<a href=\"asfunction:_root.talk.lineclick,room/" + _local3) + "\">");
_local5 = _local5 + (((("<b>" + _local4.room_name) + "</b> has <b>") + _local4.room_members) + "</b> members");
_local5 = _local5 + "</a>";
_local5 = _local5 + "</p>";
}
_local5 = _local5 + "</font>";
txts.rooms = _local5;
}
function linedisplay(line_item) {
state = "line";
var _local3 = "";
_local3 = _local3 + "<p><font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
_local3 = _local3 + "Click chat above to return to the chat.";
_local3 = _local3 + "<br>";
_local3 = _local3 + "</font></p>";
if (line_item.txt) {
if (line_item.frm != "*") {
_local3 = _local3 + "<p><font face=\"Bitstream Vera Sans\" size=\"24\" color=\"#ffffff\">";
_local3 = _local3 + "<b>";
_local3 = _local3 + line_item.frm;
_local3 = _local3 + "</b> says <br>";
_local3 = _local3 + "</font></p>";
}
var _local4 = (new org.as2lib.regexp.Pattern("(((f|ht){1}tp://)[-a-zA-Z0-9@:%_+.~#?&//=()]+)", 0)).getMatcher(line_item.txt).replaceAll("<a href=\"$1\" target=\"_blank\">$1</a>");
_local3 = _local3 + "<p><font face=\"Bitstream Vera Sans\" size=\"24\" color=\"#ffffff\">";
_local3 = _local3 + _local4;
_local3 = _local3 + "<br>";
_local3 = _local3 + "</font></p>";
}
var _local5 = null;
if (line_item.gamename) {
_local5 = null;
if (line_item.gamename) {
var _local6 = line_item.gamename.split(".")[0];
_local5 = game_infos[_local6];
}
}
var _local7 = line_item.frm;
if (_local7 == "*") {
if (line_item.usr) {
_local7 = line_item.usr;
}
}
var _local8 = up.sock.map_user_to_gameid[_local7];
var _local9 = up.sock.map_gameid_to_gamename[_local8];
var _local10 = (("http://like.4lfa.com/-/game/" + _local8) + "/") + _local9;
if (!_local5) {
_local5 = game_infos[_local9];
}
if (_local5) {
_local3 = _local3 + "<p><font face=\"Bitstream Vera Sans\" size=\"24\" color=\"#ff0000\">";
if (_root.home == "wetgenes") {
_local3 = _local3 + (("<a href=\"" + _local5.lnksml) + "\" target=\"_top\">");
} else {
_local3 = _local3 + (("<a href=\"" + _local5.lnksml) + "\" target=\"_blank\">");
}
_local3 = _local3 + (("<img width=\"100\" height=\"100\" src=\"" + _local5.img3) + "\">");
_local3 = _local3 + ((("Click here to play <b>" + _local5.nam1) + "</b> with ") + _local7);
_local3 = _local3 + "</a>";
_local3 = _local3 + "<br>";
_local3 = _local3 + "</font></p>";
} else if (_local8 > 0) {
_local3 = _local3 + "<p><font face=\"Bitstream Vera Sans\" size=\"24\" color=\"#ff0000\">";
if (_root.home == "wetgenes") {
_local3 = _local3 + (("<a href=\"" + _local10) + "\" target=\"_top\">");
} else {
_local3 = _local3 + (("<a href=\"" + _local10) + "\" target=\"_blank\">");
}
_local3 = _local3 + ((("Click here to play <b>" + _local9) + "</b> with ") + _local7);
_local3 = _local3 + "</a>";
_local3 = _local3 + "<br>";
_local3 = _local3 + "</font></p>";
}
if (line_item.frm && (line_item.frm != "*")) {
_local3 = _local3 + "<p><font face=\"Bitstream Vera Sans\" size=\"24\" color=\"#00ff00\">";
_local3 = _local3 + (("<a href=\"http://like.4lfa.com/index.php/profile/" + line_item.frm) + "\" target=\"_blank\">");
_local3 = _local3 + (("Click here to view <b>" + line_item.frm) + "</b>s user profile page.");
_local3 = _local3 + "</a>";
_local3 = _local3 + "<br>";
_local3 = _local3 + "<p><font size=\"14\" color=\"#ffffff\">";
_local3 = _local3 + "<br>";
_local3 = _local3 + "These admin links will fill in the admin command, you still need to press return to activate it. This will also only have any effect in rooms you own.<br>";
_local3 = _local3 + "<br>";
_local3 = _local3 + (("<a href=\"asfunction:_root.talk.set_kick," + line_item.frm) + "\">");
_local3 = _local3 + (("Kick <b>" + line_item.frm) + "</b> into limbo.</a><br>");
_local3 = _local3 + (("<a href=\"asfunction:_root.talk.set_dis," + line_item.frm) + "\">");
_local3 = _local3 + (("Disemvowel <b>" + line_item.frm) + "</b> for 15mins.</a><br>");
_local3 = _local3 + (("<a href=\"asfunction:_root.talk.set_gag," + line_item.frm) + "\">");
_local3 = _local3 + (("Gag <b>" + line_item.frm) + "</b> for 15mins.</a><br>");
_local3 = _local3 + (("<a href=\"asfunction:_root.talk.set_ban," + line_item.frm) + "\">");
_local3 = _local3 + (("Ban <b>" + line_item.frm) + "</b> for 15mins.</a><br>");
_local3 = _local3 + (((("<a href=\"asfunction:_root.talk.cthulhu_dis," + line_item.frm) + "\">Call cthulhu to dis ") + line_item.frm) + " (5c)</a><br>");
_local3 = _local3 + (((("<a href=\"asfunction:_root.talk.cthulhu_gag," + line_item.frm) + "\">Call cthulhu to gag ") + line_item.frm) + " (10c)</a><br>");
_local3 = _local3 + (((("<a href=\"asfunction:_root.talk.cthulhu_ban," + line_item.frm) + "\">Call cthulhu to ban ") + line_item.frm) + " (15c)</a><br>");
_local3 = _local3 + (((("<a href=\"asfunction:_root.talk.cookie_give," + line_item.frm) + "\">Give a cookie to ") + line_item.frm) + " (1c)</a><br>");
_local3 = _local3 + (((("<a href=\"asfunction:_root.talk.do_bites," + line_item.frm) + "\">Bite ") + line_item.frm) + " </a><br>");
_local3 = _local3 + "</font></p>";
}
txts.line = _local3;
}
function do_bites(nam) {
typehere.text = ("/me bites " + nam) + " ";
}
function set_kick(nam) {
typehere.text = ("/kick " + nam) + " ";
}
function set_kick_bonobos(nam) {
typehere.text = ("/kick " + nam) + " bonobos";
}
function set_dis(nam) {
typehere.text = ("/dis " + nam) + " 15";
}
function set_gag(nam) {
typehere.text = ("/gag " + nam) + " 15";
}
function set_ban(nam) {
typehere.text = ("/ban " + nam) + " 15";
}
function cookie_give(nam) {
typehere.text = ("/me gives " + nam) + " 1 cookie";
}
function cthulhu_dis(nam) {
typehere.text = "/me calls cthulhu to disemvowel " + nam;
}
function cthulhu_gag(nam) {
typehere.text = "/me calls cthulhu to gag " + nam;
}
function cthulhu_ban(nam) {
typehere.text = "/me calls cthulhu to ban " + nam;
}
function lineclick(str_in) {
var _local6 = str_in.split("/");
var _local7 = _local6[0];
var _local8 = _local6[1];
if (_local7 == "room") {
if (_local8 == "home") {
state = "chat";
up.sock.chat("/join " + _root.Login_Name);
} else {
_local8 = Math.floor(_local8);
var _local9 = up.sock.rooms[_local8];
if (_local9.room_name) {
state = "chat";
up.sock.chat("/join " + _local9.room_name);
}
}
} else if (_local7 == "user") {
_local8 = Math.floor(_local8);
var _local9 = up.sock.users[_local8];
linedisplay({frm:_local9.user_name, txt:"", gamename:_local9.game_name});
} else if (_local7 == "chat") {
_local8 = Math.floor(_local8);
if (gizmo_Titems[_local8].lnk) {
getURL (gizmo_Titems[_local8].lnk, "_blank");
} else {
linedisplay(gizmo_Titems[_local8]);
}
}
}
function chat_status(t) {
return(chat({frm:"*", txt:t}));
}
function chat_mux(t) {
return(chat({frm:"*mux", txt:t}));
}
function chat(t) {
gizmo_Titems[gizmo_Titems.length] = t;
if (t.frm) {
if (rgbarr[t.frm]) {
t.rgb = rgbarr[t.frm];
} else {
t.rgb = rgbpos[rgbidx % rgbpos.length];
rgbarr[t.frm] = t.rgb;
rgbidx++;
}
} else {
t.rgb = rgbpos[0];
}
while (gizmo_Titems.length > 64) {
gizmo_Titems.splice(0, 1);
}
var _local4 = "";
_local4 = "<font face=\"Bitstream Vera Sans\" size=\"18\" color=\"#ffffff\">";
var _local3 = 0;
for ( ; _local3 < gizmo_Titems.length ; _local3++) {
var _local5 = gizmo_Titems[_local3].rgb;
if ((gizmo_Titems[_local3].frm == "*mux") && (gizmo_Titems[_local3].txt)) {
_local4 = _local4 + gizmo_Titems[_local3].txt;
} else if ((gizmo_Titems[_local3].frm == "*") && (gizmo_Titems[_local3].txt)) {
_local4 = _local4 + (((("<p><a href=\"asfunction:_root.talk.lineclick,chat/" + _local3) + "\"><font size=\"14\" color=\"#bbbbbb\">") + gizmo_Titems[_local3].txt) + "</font></a></p>");
} else if (gizmo_Titems[_local3].cmd == "act") {
_local4 = _local4 + (((((((("<p><a href=\"asfunction:_root.talk.lineclick,chat/" + _local3) + "\"><font size=\"18\" color=\"#") + _local5) + "\">**") + gizmo_Titems[_local3].frm) + " ") + gizmo_Titems[_local3].txt) + "**</font></a></p>");
} else {
var _local7 = ("<a href=\"asfunction:_root.talk.lineclick,chat/" + _local3) + "\">";
var _local6 = "";
if (gizmo_Titems[_local3].lnk && (gizmo_Titems[_local3].lnk != "")) {
_local7 = ("<a target=\"_blank\" href=\"" + gizmo_Titems[_local3].lnk) + "\">";
}
if (gizmo_Titems[_local3].img && (gizmo_Titems[_local3].img != "")) {
_local6 = ((_local7 + "<img width=\"375\" height=\"100\" hspace=\"0\" vspace=\"0\" align=\"left\" src=\"") + gizmo_Titems[_local3].img) + "\"></a><br><br><br><br><br>";
}
_local4 = _local4 + (((((((((_local6 + "<p>") + _local7) + "<font size=\"18\" color=\"#") + _local5) + "\"><b>") + gizmo_Titems[_local3].frm) + ": </b>") + gizmo_Titems[_local3].txt) + "</font></a></p>");
}
}
_local4 = _local4 + "</font>";
txts.chat = _local4;
if (!sc.next) {
if ((mc._x == 800) && (_root.scalar.ox == 800)) {
if ((t.frm == "*") && (t.txt)) {
sc.next = {url:"", txt:t.txt, target:""};
} else {
sc.next = {url:"", txt:(t.frm + ": ") + t.txt, target:""};
}
}
}
return(t);
}
function onKeyDown() {
if (Key.isDown(Key.ENTER)) {
focus = eval (Selection.getFocus());
enter_down = true;
} else {
focus = false;
enter_down = false;
}
}
function onKeyUp() {
if (enter_down) {
focus.onEnterKeyHasBeenPressed();
focus = false;
enter_down = false;
}
}
function onEnter() {
var _local2 = typehere.text;
if (_local2 != "") {
up.sock.chat(_local2);
}
typehere.text = "";
}
function Tclick() {
}
function Bclick() {
}
function draw_boxen(mc, x, y, w, h) {
var _local7 = w / 16;
var _local8 = h / 16;
var _local9 = _local7;
if (_local9 > _local8) {
_local9 = _local8;
}
mc.lineStyle(undefined);
mc.beginFill(mc.style.fill & 16777215, (((mc.style.fill >> 24) & 255) * 100) / 255);
mc.moveTo(x + _local9, y + _local9);
mc.lineTo((x + w) - _local9, y + _local9);
mc.lineTo((x + w) - _local9, (y + h) - _local9);
mc.lineTo(x + _local9, (y + h) - _local9);
mc.lineTo(x + _local9, y + _local9);
mc.moveTo(x + (_local9 * 2), y + (_local9 * 2));
mc.lineTo((x + w) - (_local9 * 2), y + (_local9 * 2));
mc.lineTo((x + w) - (_local9 * 2), (y + h) - (_local9 * 2));
mc.lineTo(x + (_local9 * 2), (y + h) - (_local9 * 2));
mc.lineTo(x + (_local9 * 2), y + (_local9 * 2));
mc.endFill();
}
function draw_puck(mc, x, y, w, h) {
var _local7 = w / 16;
var _local8 = h / 16;
var _local9 = _local7;
if (_local9 > _local8) {
_local9 = _local8;
}
mc.lineStyle(undefined);
mc.beginFill(mc.style.fill & 16777215, (((mc.style.fill >> 24) & 255) * 100) / 255);
mc.moveTo(x + (_local9 * 3), y + (_local9 * 3));
mc.lineTo((x + w) - (_local9 * 3), y + (_local9 * 3));
mc.lineTo((x + w) - (_local9 * 3), (y + h) - (_local9 * 3));
mc.lineTo(x + (_local9 * 3), (y + h) - (_local9 * 3));
mc.lineTo(x + (_local9 * 3), y + (_local9 * 3));
mc.endFill();
}
function draw_box(mc, x, y, w, h) {
var _local7 = w / 16;
var _local8 = h / 16;
var _local9 = _local7;
if (_local9 > _local8) {
_local9 = _local8;
}
mc.lineStyle(undefined);
mc.beginFill(mc.style.fill & 16777215, (((mc.style.fill >> 24) & 255) * 100) / 255);
mc.moveTo(x + (_local9 * 1), y + (_local9 * 1));
mc.lineTo((x + w) - (_local9 * 1), y + (_local9 * 1));
mc.lineTo((x + w) - (_local9 * 1), (y + h) - (_local9 * 1));
mc.lineTo(x + (_local9 * 1), (y + h) - (_local9 * 1));
mc.lineTo(x + (_local9 * 1), y + (_local9 * 1));
mc.endFill();
}
//ASSetPropFlags(_local1, null, 1);
var foreground = 65280;
var background = 0;
var rgbpos = ["bbffff", "ffbbff", "ffffbb", "ddddff", "ddffdd", "ffdddd", "aaddff", "aaffdd", "ffaadd", "ddaaff", "ddffaa", "ffddaa"];
var rgbarr = [];
var rgbidx = 0;
var rnd_num = 0;
var last_users_stamp = 0;
var last_rooms_stamp = 0;
var extra_lines = -1;
}
Symbol 20560 MovieClip [__Packages.org.as2lib.env.except.ThrowableStringifier] Frame 0
class org.as2lib.env.except.ThrowableStringifier extends org.as2lib.core.BasicClass implements org.as2lib.util.Stringifier
{
var showStackTrace, showCause;
function ThrowableStringifier (showStackTrace, showCause) {
super();
this.showStackTrace = ((showStackTrace == null) ? true : (showStackTrace));
this.showCause = ((showCause == null) ? true : (showCause));
}
function execute(target) {
var _local3 = target;
var _local4 = "";
var _local5 = org.as2lib.env.reflect.ReflectUtil.getTypeNameForInstance(_local3);
var _local6 = 2;
_local4 = _local4 + ((_local5 + ": ") + org.as2lib.util.StringUtil.addSpaceIndent(_local3.getMessage(), _local6).substr(_local6));
var _local7 = _local3.getStackTrace();
if (_local7 && (_local7.length > 0)) {
_local4 = _local4 + (newline + stringifyStackTrace(_local3.getStackTrace()));
}
var _local8 = _local3.getCause();
if (_local8) {
_local4 = _local4 + ("\nCaused by: " + _local8);
}
return(_local4);
}
function stringifyStackTrace(stackTrace) {
var _local3 = "";
var _local4 = 0;
for ( ; _local4 < stackTrace.length ; _local4++) {
var _local5 = stackTrace[_local4];
_local3 = _local3 + (" at " + _local5.toString());
if (_local4 < (stackTrace.length - 1)) {
_local3 = _local3 + newline;
}
}
return(_local3);
}
}
Symbol 20561 MovieClip [__Packages.org.as2lib.regexp.node.Bound] Frame 0
class org.as2lib.regexp.node.Bound extends org.as2lib.regexp.node.Node
{
var type, next;
function Bound (n) {
super();
type = n;
}
function check(matcher, i, seq) {
var _local6 = false;
if (i > matcher.from) {
var _local5 = seq.charCodeAt(i - 1);
_local6 = (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_LOWBAR) || (org.as2lib.regexp.AsciiUtil.isLower(_local5) || (org.as2lib.regexp.AsciiUtil.isDigit(_local5)));
}
var _local7 = false;
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
_local7 = (_local5 == org.as2lib.regexp.AsciiUtil.CHAR_LOWBAR) || (org.as2lib.regexp.AsciiUtil.isLower(_local5) || (org.as2lib.regexp.AsciiUtil.isDigit(_local5)));
}
return(((Number(_local6) ^ Number(_local7)) ? ((_local7 ? (LEFT) : (RIGHT))) : (NONE)));
}
function match(matcher, i, seq) {
return(((check(matcher, i, seq) & type) > 0) && (next.match(matcher, i, seq)));
}
static var LEFT = 1;
static var RIGHT = 2;
static var BOTH = 3;
static var NONE = 4;
}
Symbol 20562 MovieClip [__Packages.org.as2lib.regexp.node.Begin] Frame 0
class org.as2lib.regexp.node.Begin extends org.as2lib.regexp.node.Node
{
var next;
function Begin () {
super();
}
function match(matcher, i, seq) {
if ((i == matcher.from) && (next.match(matcher, i, seq))) {
matcher.first = i;
matcher.groups[0] = i;
matcher.groups[1] = matcher.last;
return(true);
}
return(false);
}
}
Symbol 20563 MovieClip [__Packages.gfx2] Frame 0
class gfx2
{
function gfx2 () {
}
static function create_text_edit(mc, depth, x, y, w, h) {
if (mc.newdepth == undefined) {
mc.newdepth = 0;
}
if (depth == null) {
depth = ++mc.newdepth;
}
mc.createTextField("tf" + depth, depth, x, y, w, h);
var _local8 = mc["tf" + depth];
_local8.embedFonts = true;
_local8.html = false;
_local8.multiline = false;
_local8.wordWrap = false;
_local8.type = "input";
_local8.selectable = true;
_local8.onSetFocus = function () {
var _local2 = int;
Selection.getCaretIndex();
if (_local2 < 0) {
_local2 = 0;
}
Selection.setFocus(this);
Selection.setSelection(0, 0);
Selection.setSelection(_local2, _local2);
};
_local8.setNewTextFormat(create_text_format(16, -1));
return(_local8);
}
static function create_text(mc, depth, x, y, w, h) {
if (mc.newdepth == undefined) {
mc.newdepth = 0;
}
if (depth == null) {
depth = ++mc.newdepth;
}
mc.createTextField("tf" + depth, depth, x, y, w, h);
var _local8 = mc["tf" + depth];
_local8.type = "dynamic";
_local8.embedFonts = true;
_local8.html = false;
_local8.multiline = true;
_local8.selectable = true;
_local8.wordWrap = false;
_local8.setNewTextFormat(create_text_format(16, -1));
return(_local8);
}
static function create_text_format(fntsiz, fntcol, boldit) {
var _local5 = new TextFormat();
_local5.font = "Bitstream Vera Sans";
_local5.color = fntcol & 16777215;
_local5.size = fntsiz;
_local5.bold = (boldit ? true : false);
return(_local5);
}
static function create_text_html(mc, depth, x, y, w, h) {
if (mc.newdepth == undefined) {
mc.newdepth = 0;
}
if (depth == null) {
depth = ++mc.newdepth;
}
mc.createTextField("tf" + depth, depth, x, y, w, h);
var _local8 = mc["tf" + depth];
_local8.type = "dynamic";
_local8.embedFonts = true;
_local8.html = true;
_local8.multiline = true;
_local8.selectable = false;
_local8.wordWrap = true;
_local8.setNewTextFormat(create_text_format(16, -1));
return(_local8);
}
static function set_text_html(tf, fntsiz, fntcol, str) {
var _local6 = ((("<font face=\"Bitstream Vera Sans\" size=\"" + fntsiz) + "\" color=\"#") + alt.Sprintf.format("%06x", fntcol & 16777215)) + "\">";
_local6 = _local6 + str;
_local6 = _local6 + "</font>";
tf.htmlText = _local6;
return(_local6);
}
static function create_clip(mc, depth, px, py, sx, sy, rot) {
if (mc.newdepth == undefined) {
mc.newdepth = 0;
}
if (depth == null) {
depth = ++mc.newdepth;
}
mc.newdepth = mc.newdepth + 1;
var _local9 = mc.createEmptyMovieClip("mc" + depth, depth);
_local9.newdepth = 0;
if (px != null) {
_local9._x = px;
}
if (py != null) {
_local9._y = py;
}
if (sx != null) {
_local9._xscale = sx;
}
if (sy != null) {
_local9._yscale = sy;
}
if (rot != null) {
_local9._rotation = rot;
}
return(_local9);
}
static function add_clip(mc, str, depth, px, py, sx, sy, rot) {
if (mc.newdepth == undefined) {
mc.newdepth = 0;
}
if (depth == null) {
depth = ++mc.newdepth;
}
var _local10 = mc.attachMovie(str, "mc" + depth, depth);
_local10.newdepth = 0;
if (px != null) {
_local10._x = px;
}
if (py != null) {
_local10._y = py;
}
if (sx != null) {
_local10._xscale = sx;
}
if (sy != null) {
_local10._yscale = sy;
}
if (rot != null) {
_local10._rotation = rot;
}
return(_local10);
}
static function clear(mc) {
mc.style = [];
mc.style.out = -1;
mc.style.fill = -1;
mc.clear();
}
static function create_rounded_text_button(mc, depth, x, y, w, h, b, c, l) {
if (b == null) {
b = 3;
}
if (c == null) {
c = 8;
}
if (l == null) {
l = 2;
}
draw_rounded_rectangle(mc, b, c, l, x, y, w, h);
var _local11 = create_text_html(mc, depth, x, y, w, h);
return(_local11);
}
static function draw_rounded_rectangle(mc, b, c, l, x, y, w, h) {
if (l != 0) {
mc.lineStyle(l, mc.style.out & 16777215, (((mc.style.out >> 24) & 255) * 100) / 255);
} else {
mc.lineStyle(undefined, undefined);
}
mc.moveTo((x + b) + c, y + b);
mc.beginFill(mc.style.fill & 16777215, (((mc.style.fill >> 24) & 255) * 100) / 255);
mc.lineTo(((x + w) - b) - c, y + b);
mc.curveTo((x + w) - b, y + b, (x + w) - b, (y + b) + c);
mc.lineTo((x + w) - b, ((y + h) - b) - c);
mc.curveTo((x + w) - b, (y + h) - b, ((x + w) - b) - c, (y + h) - b);
mc.lineTo((x + b) + c, (y + h) - b);
mc.curveTo(x + b, (y + h) - b, x + b, ((y + h) - b) - c);
mc.lineTo(x + b, (y + b) + c);
mc.curveTo(x + b, y + b, (x + b) + c, y + b);
mc.endFill();
}
static function draw_box(mc, l, x, y, w, h) {
if (l != 0) {
mc.lineStyle(l, mc.style.out & 16777215, (((mc.style.out >> 24) & 255) * 100) / 255);
} else {
mc.lineStyle(undefined, undefined);
}
mc.moveTo(x, y);
mc.beginFill(mc.style.fill & 16777215, (((mc.style.fill >> 24) & 255) * 100) / 255);
mc.lineTo(x + w, y);
mc.lineTo(x + w, y + h);
mc.lineTo(x, y + h);
mc.lineTo(x, y);
mc.endFill();
}
static function adjust_allmovieclips(base, funk) {
for (var nam in base) {
var _local4 = base[nam];
if (typeof(_local4) == "movieclip") {
adjust_allmovieclips(_local4, funk);
}
}
funk(base);
}
static function setscroll(mc, minx, miny, sizx, sizy) {
mc.scrollRect = new flash.geom.Rectangle(minx, miny, sizx, sizy);
}
static function dropshadow(mc, a, b, c, d, e, f, g, h) {
mc.filters = [new flash.filters.DropShadowFilter(a, b, c, d, e, f, g, h)];
}
static function glow(mc, a, b, c, d, e, f, g, h) {
mc.filters = [new flash.filters.GlowFilter(a, b, c, d, e, f, g, h)];
}
static function blur(mc, a, b, c) {
mc.filters = [new flash.filters.BlurFilter(a, b, c)];
}
static function clear_filters(mc) {
mc.filters = null;
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20564 MovieClip [__Packages.Scalar2] Frame 0
class Scalar2
{
var ox, oy, mc, tf_stats, scale, t_old, t_new, t_ms, t_samples, rot, dx, dy, sx, sy, t_fps;
function Scalar2 (_ox, _oy) {
ox = _ox;
oy = _oy;
mc = gfx2.create_clip(_root, null);
mc.onEnterFrame = delegate(update);
tf_stats = gfx2.create_text_html(mc, null, 0, 0, ox, 32);
gfx2.dropshadow(tf_stats, 2, 45, 0, 1, 4, 4, 2, 3);
scale = 1;
if (scale > _root.maxs) {
scale = _root.maxs;
}
update();
Key.addListener(this);
t_old = getTimer();
t_new = t_old;
t_ms = 0;
t_samples = 0;
}
function delegate(f, d) {
return(com.dynamicflash.utils.Delegate.create(this, f, d));
}
function update() {
Stage.scaleMode = "noScale";
Stage.align = "TL";
rot = 0;
var _local2 = Stage.width / ox;
if (_root.maxw) {
if ((_local2 * ox) > _root.maxw) {
_local2 = _root.maxw / ox;
}
}
if (_root.maxh) {
if ((_local2 * oy) > _root.maxh) {
_local2 = _root.maxh / oy;
}
}
if ((_local2 * oy) > Stage.height) {
_local2 = Stage.height / oy;
}
_local2 = _local2 * scale;
dx = Math.floor((Stage.width - (_local2 * ox)) / 2);
dy = Math.floor((Stage.height - (_local2 * oy)) / 2);
sx = _local2 * 100;
sy = _local2 * 100;
t_samples++;
if (t_samples >= 10) {
t_old = t_new;
t_new = getTimer();
t_ms = (t_new - t_old) / t_samples;
t_fps = Math.floor(1000 / t_ms);
t_samples = 0;
if (scale < 1) {
var _local3 = (((" " + Math.floor(t_ms)) + "ms : ") + Math.floor(1000 / t_ms)) + "fps";
gfx2.set_text_html(tf_stats, 13, 16777215, _local3);
}
}
if (scale < 1) {
tf_stats._visible = true;
} else {
tf_stats._visible = false;
}
}
function apply(tomc, bmmc) {
if (_root.scale == "no") {
tomc._rotation = rot;
tomc._x = 0;
tomc._y = 0;
tomc._xscale = 100;
tomc._yscale = 100;
return(undefined);
}
tomc._rotation = rot;
tomc._x = dx;
tomc._y = dy;
tomc._xscale = sx;
tomc._yscale = sy;
}
function onKeyDown() {
}
function onKeyUp() {
var _local3 = Key.getCode();
var _local2 = String.fromCharCode(Key.getAscii());
if (Selection.getCaretIndex() == -1) {
if ((_local2 == "+") || (_local2 == "=")) {
scale = scale * 1.1;
if (scale > 1) {
scale = 1;
}
} else if ((_local2 == "_") || (_local2 == "-")) {
scale = scale / 1.1;
if (scale < 0.1) {
scale = 0.1;
}
} else if (_local3 == 27) {
if (scale < 1) {
scale = 1;
} else {
scale = 0.1;
}
}
}
if (scale > _root.maxs) {
scale = _root.maxs;
}
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20565 MovieClip [__Packages.org.as2lib.regexp.node.Neg] Frame 0
class org.as2lib.regexp.node.Neg extends org.as2lib.regexp.node.Node
{
var cond, next;
function Neg (cond) {
super();
this.cond = cond;
}
function match(matcher, i, seq) {
return((!cond.match(matcher, i, seq)) && (next.match(matcher, i, seq)));
}
}
Symbol 20566 MovieClip [__Packages.Poker2] Frame 0
class Poker2
{
var hand, mc, float, mc_floater, mc_floaterz, tf_floater, float_str, float_time, mcb0, mcb1, mcg, mcg0, mcg1, lx, ly, size, scale, poke_last, poke_down, poke_up, poke_now, do_anykey, poke_now_now, poke_down_now, clicks, poke_up_now, anykey, x, y, dx, dy;
function Poker2 (_hand) {
hand = _hand;
if (System.capabilities.version.split(" ")[0] == "WII") {
hand = false;
}
hand = false;
mc = gfx2.create_clip(_root, (16384 + 32) + 2);
float = false;
if (float) {
mc_floater = gfx2.create_clip(_root, (16384 + 32) + 1);
gfx2.clear(mc_floater);
mc_floater.w = 200;
mc_floater.h = 80;
mc_floaterz = gfx2.create_clip(mc_floater, null);
mc_floaterz._x = 100;
mc_floaterz._y = 40;
tf_floater = gfx2.create_text_html(mc_floaterz, null, -100, 0, 200, 200);
float_str = "";
float_time = -100;
}
if (hand) {
mcb0 = gfx2.create_clip(mc, null);
mcb1 = gfx2.create_clip(mcb0, null);
mcg = gfx2.create_clip(mcb1, null);
mcg0 = gfx2.add_clip(mcg, "poke0", null);
mcg1 = gfx2.add_clip(mcg, "poke1", null);
mcg0._x = -19;
mcg0._y = -19;
mcg1._x = -(19 + 8);
mcg1._y = -(19 + 8);
mcg._xscale = 75;
mcg._yscale = 75;
}
onMouseUp();
Mouse.addListener(this);
Key.addListener(this);
lx = 0;
ly = 0;
size = 1;
scale = 1;
poke_last = false;
poke_down = false;
poke_up = false;
poke_now = false;
clear_clicks();
}
function delegate(f, d) {
return(com.dynamicflash.utils.Delegate.create(this, f, d));
}
function clean() {
}
function ShowFloat(str, tim) {
if ((str != null) && (float_str != str)) {
float_str = str;
gfx2.clear(mc_floaterz);
mc_floaterz.style.out = -1;
mc_floaterz.style.fill = -3355444;
gfx2.set_text_html(tf_floater, 16, 0, ("<p align=\"center\">" + str) + "</p>");
mc_floater.h = tf_floater.textHeight + 6;
gfx2.draw_box(mc_floaterz, 4, -100, (-mc_floater.h) / 2, 200, mc_floater.h);
tf_floater._y = (-mc_floater.h) / 2;
mc_floaterz._y = mc_floater.h / 2;
}
if (tim == 0) {
if (float_time > tim) {
float_time = tim;
}
} else {
float_time = tim;
}
}
function onKeyDown() {
do_anykey = true;
}
function onMouseDown() {
if (hand) {
Mouse.hide();
mcg0._visible = false;
mcg1._visible = true;
}
poke_now_now = true;
poke_down_now = true;
if (clicks.length < 16) {
clicks[clicks.length] = {click:1, x:_root._xmouse, y:_root._ymouse};
}
}
function onMouseUp() {
do_anykey = true;
if (hand) {
Mouse.hide();
mcg0._visible = true;
mcg1._visible = false;
}
poke_now_now = false;
poke_up_now = true;
if (clicks.length < 16) {
clicks[clicks.length] = {click:-1, x:_root._xmouse, y:_root._ymouse};
}
}
function clear_clicks() {
do_anykey = false;
anykey = false;
poke_last = false;
poke_down = false;
poke_up = false;
poke_now = false;
clicks = [];
}
function update() {
if (do_anykey) {
anykey = true;
} else {
anykey = false;
}
do_anykey = false;
x = _root._xmouse;
y = _root._ymouse;
poke_last = poke_now;
poke_down = poke_down_now;
poke_up = poke_up_now;
poke_now = poke_now_now;
poke_down_now = false;
poke_up_now = false;
dx = x - lx;
dy = y - ly;
lx = x;
ly = y;
if (hand) {
mc._x = x;
mc._y = y;
scale = (_root.scalar.sx * size) / 100;
mc._xscale = 100 * scale;
mc._yscale = mc._xscale;
gfx2.dropshadow(mc, 2, 45, 0, 1, 4 * scale, 4 * scale, 2, 3);
if ((dx == 0) && (dy == 0)) {
mcb0._rotation = 0;
mcb0._xscale = 100;
mcb0._yscale = 100;
mcb1._rotation = 0;
} else {
var _local3 = (180 * Math.atan2(dy, -dx)) / Math.PI;
var _local4 = Math.sqrt((dy * dy) + (dx * dx));
_local4 = _local4 / 1.5;
if (_local4 > 400) {
_local4 = 400;
}
mcb0._rotation = -_local3;
mcb0._xscale = 100 + _local4;
mcb0._yscale = 100 - (_local4 / 5);
mcb1._rotation = _local3;
}
if (dx > 32) {
dx = 32;
}
if (dx < -32) {
dx = -32;
}
var _local2 = dx;
mcg._rotation = mcg._rotation + ((_local2 - mcg._rotation) / 4);
}
if (float && (float_time >= -10)) {
if (float_time > 0) {
float_time--;
mc_floater._visible = true;
mc_floaterz._xscale = 100;
mc_floaterz._yscale = 100;
} else {
float_time--;
mc_floaterz._xscale = 100 + (float_time * 10);
mc_floaterz._yscale = mc_floaterz._xscale;
if (float_time == -10) {
mc_floater._visible = false;
}
}
var _local5 = mc_floater.w;
var _local6 = mc_floater.h;
var _local13 = Stage.width;
var _local14 = Stage.height;
var _local9 = x - (_local13 / 2);
var _local10 = y - (_local14 / 2);
var _local17 = _local9 * _local9;
var _local21 = ((_local9 < 0) ? (-_local9) : (_local9));
var _local18 = _local10 * _local10;
var _local22 = ((_local10 < 0) ? (-_local10) : (_local10));
var _local16 = _local17 + _local18;
var _local15 = Math.sqrt(_local16);
if (_local15 == 0) {
_local15 = 1;
_local9 = 0;
_local10 = 1;
}
var _local11 = _local9 / _local15;
var _local12 = _local10 / _local15;
var _local19 = ((-_local11) * _local5) * 1.75;
var _local20 = ((-_local12) * _local6) * 1.75;
if ((_local21 / 2) > _local22) {
if (_local9 < 0) {
var _local7 = x;
var _local8 = (y + _local20) - (_local6 / 2);
_local7 = _local7 + 50;
} else {
var _local7 = x - _local5;
var _local8 = (y + _local20) - (_local6 / 2);
_local7 = _local7 - 50;
}
} else if (_local21 < (_local22 / 2)) {
if (_local10 < 0) {
var _local7 = (x + _local19) - (_local5 / 2);
var _local8 = y;
_local8 = _local8 + 50;
} else {
var _local7 = (x + _local19) - (_local5 / 2);
var _local8 = y - _local6;
_local8 = _local8 - 50;
}
} else if (_local9 < 0) {
if (_local10 < 0) {
var _local7 = x;
var _local8 = y;
_local7 = _local7 + 50;
_local8 = _local8 + 50;
} else {
var _local7 = x;
var _local8 = y - _local6;
_local7 = _local7 + 50;
_local8 = _local8 - 50;
}
} else if (_local10 < 0) {
var _local7 = x - _local5;
var _local8 = y;
_local7 = _local7 - 50;
_local8 = _local8 + 50;
} else {
var _local7 = x - _local5;
var _local8 = y - _local6;
_local7 = _local7 - 50;
_local8 = _local8 - 50;
}
mc_floater._x = (mc_floater._x * 0.75) + (_local7 * 0.25);
mc_floater._y = (mc_floater._y * 0.75) + (_local8 * 0.25);
mc_floater._visible = true;
} else {
mc_floater._visible = false;
}
}
function snapshot() {
var _local2 = {};
_local2.key = (poke_now ? 1 : 0);
_local2.key_on = (poke_down ? 1 : 0);
_local2.key_off = (poke_up ? 1 : 0);
_local2.x = x;
_local2.y = y;
_local2.frame = 0;
return(_local2);
}
//ASSetPropFlags(_local1, null, 1);
}
Symbol 20567 MovieClip [__Packages.org.as2lib.regexp.node.UnixCaret] Frame 0
class org.as2lib.regexp.node.UnixCaret extends org.as2lib.regexp.node.Node
{
var next;
function UnixCaret () {
super();
}
function match(matcher, i, seq) {
if (i > matcher.from) {
var _local5 = seq.charCodeAt(i - 1);
if (_local5 != org.as2lib.regexp.AsciiUtil.CHAR_LF) {
return(false);
}
}
if (i == matcher.to) {
return(false);
}
return(next.match(matcher, i, seq));
}
}
Symbol 20568 MovieClip [__Packages.org.as2lib.regexp.node.NotSingleU] Frame 0
class org.as2lib.regexp.node.NotSingleU extends org.as2lib.regexp.node.Node
{
var ch, next;
function NotSingleU (c) {
super();
ch = org.as2lib.regexp.AsciiUtil.toLower(org.as2lib.regexp.AsciiUtil.toUpper(c));
}
function dup(flag) {
return((flag ? (new org.as2lib.regexp.node.SingleU(ch)) : (new org.as2lib.regexp.node.NotSingleU(ch))));
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
if (_local5 == ch) {
return(false);
}
_local5 = org.as2lib.regexp.AsciiUtil.toUpper(_local5);
_local5 = org.as2lib.regexp.AsciiUtil.toLower(_local5);
if (_local5 != ch) {
return(next.match(matcher, i + 1, seq));
}
}
return(false);
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20569 MovieClip [__Packages.org.as2lib.env.log.LogManager] Frame 0
class org.as2lib.env.log.LogManager extends org.as2lib.core.BasicClass
{
static var repository, loggerProxies;
function LogManager (Void) {
super();
}
static function getLogger() {
if (arguments[0].__proto__ != String.prototype) {
return(getLoggerByObject(arguments[0]));
}
return(getLoggerByName(arguments[0]));
}
static function getLoggerByObject(object) {
return(getLoggerByName(org.as2lib.env.reflect.ReflectUtil.getTypeName(object)));
}
static function getLoggerByName(loggerName) {
if (!repository) {
if (loggerProxies[loggerName]) {
return(loggerProxies[loggerName]);
}
if (!loggerProxies) {
loggerProxies = new Array();
}
var _local3 = getBlankLogger();
_local3.__resolve = function () {
return(false);
};
_local3.name = loggerName;
loggerProxies.push(_local3);
loggerProxies[loggerName] = _local3;
return(_local3);
}
var _local4 = repository.getLogger(loggerName);
if (_local4) {
return(_local4);
}
return(null);
}
static function getBlankLogger(Void) {
var _local3 = new Object();
_local3.__proto__ = org.as2lib.env.log.Logger.prototype;
_local3.__constructor__ = org.as2lib.env.log.Logger;
return(_local3);
}
static function setLogger(logger) {
var _local2 = getBlankLoggerRepository();
_local2.getLogger = function (loggerName) {
return(logger);
};
setLoggerRepository(_local2);
}
static function getBlankLoggerRepository(Void) {
var _local3 = new Object();
_local3.__proto__ = org.as2lib.env.log.LoggerRepository.prototype;
_local3.__constructor__ = org.as2lib.env.log.LoggerRepository;
return(_local3);
}
static function getLoggerRepository(Void) {
return(repository);
}
static function setLoggerRepository(loggerRepository) {
repository = loggerRepository;
if (loggerProxies) {
var _local3 = loggerProxies.length - 1;
for ( ; _local3 >= 0 ; _local3--) {
var _local4 = loggerProxies[_local3];
var _local5 = _local4.name;
delete _local4.__constructor__;
delete _local4.__resolve;
delete _local4.name;
loggerProxies.pop();
delete loggerProxies[_local5];
var _local6 = loggerRepository.getLogger(_local5);
_local4.__proto__ = _local6;
}
}
}
static function hasLoggerRepository(Void) {
return(repository != null);
}
}
Symbol 20570 MovieClip [__Packages.org.as2lib.regexp.node.GroupHead] Frame 0
class org.as2lib.regexp.node.GroupHead extends org.as2lib.regexp.node.Node
{
var localIndex, next;
function GroupHead (localCount) {
super();
localIndex = localCount;
}
function match(matcher, i, seq) {
var _local5 = matcher.locals[localIndex];
matcher.locals[localIndex] = i;
var _local6 = next.match(matcher, i, seq);
matcher.locals[localIndex] = _local5;
return(_local6);
}
function matchRef(matcher, i, seq) {
var _local5 = matcher.locals[localIndex];
matcher.locals[localIndex] = i ^ -1;
var _local6 = next.match(matcher, i, seq);
matcher.locals[localIndex] = _local5;
return(_local6);
}
function getLocalIndex(Void) {
return(localIndex);
}
}
Symbol 20571 MovieClip [__Packages.org.as2lib.regexp.AsciiUtil] Frame 0
class org.as2lib.regexp.AsciiUtil extends org.as2lib.core.BasicClass
{
function AsciiUtil (Void) {
super();
}
static function getType(ch) {
return((((ch & -128) == 0) ? (charTypes[ch]) : 0));
}
static function isType(ch, type) {
return((getType(ch) & type) != 0);
}
static function isAscii(ch) {
return((ch & -128) == 0);
}
static function isAlpha(ch) {
return(isType(ch, ALPHA));
}
static function isDigit(ch) {
return(((ch - CHAR_0) | (CHAR_9 - ch)) >= 0);
}
static function isAlnum(ch) {
return(isType(ch, ALNUM));
}
static function isGraph(ch) {
return(isType(ch, GRAPH));
}
static function isPrint(ch) {
return(((ch - CHAR_SP) | (CHAR_TILDE - ch)) >= 0);
}
static function isPunct(ch) {
return(isType(ch, PUNCT));
}
static function isSpace(ch) {
return(isType(ch, SPACE));
}
static function isHexDigit(ch) {
return(isType(ch, HEX));
}
static function isOctDigit(ch) {
return(((ch - CHAR_0) | (CHAR_7 - ch)) >= 0);
}
static function isCntrl(ch) {
return(isType(ch, CNTRL));
}
static function isLower(ch) {
return(((ch - CHAR_LOW_A) | (CHAR_LOW_Z - ch)) >= 0);
}
static function isUpper(ch) {
return(((ch - CHAR_A) | (CHAR_Z - ch)) >= 0);
}
static function isWord(ch) {
return(isType(ch, WORD));
}
static function toDigit(ch) {
return(charTypes[ch & 127] & 63);
}
static function toLower(ch) {
return((isUpper(ch) ? (ch + 32) : (ch)));
}
static function toUpper(ch) {
return((isLower(ch) ? (ch - 32) : (ch)));
}
static var UPPER = 256;
static var LOWER = 512;
static var DIGIT = 1024;
static var SPACE = 2048;
static var PUNCT = 4096;
static var CNTRL = 8192;
static var BLANK = 16384;
static var HEX = 32768;
static var UNDER = 65536;
static var ASCII = 65280;
static var ALPHA = UPPER | LOWER;
static var ALNUM = (UPPER | LOWER) | DIGIT;
static var GRAPH = ((PUNCT | UPPER) | LOWER) | DIGIT;
static var WORD = ((UPPER | LOWER) | UNDER) | DIGIT;
static var XDIGIT = HEX;
static var CHAR_NUL = 0;
static var CHAR_SOH = 1;
static var CHAR_STX = 2;
static var CHAR_ETX = 3;
static var CHAR_EOT = 4;
static var CHAR_ENQ = 5;
static var CHAR_ACK = 6;
static var CHAR_BEL = 7;
static var CHAR_BS = 8;
static var CHAR_HT = 9;
static var CHAR_LF = 10;
static var CHAR_VT = 11;
static var CHAR_FF = 12;
static var CHAR_CR = 13;
static var CHAR_SI = 14;
static var CHAR_SO = 15;
static var CHAR_DLE = 16;
static var CHAR_DC1 = 17;
static var CHAR_DC2 = 18;
static var CHAR_DC3 = 19;
static var CHAR_DC4 = 20;
static var CHAR_NAK = 21;
static var CHAR_SYN = 22;
static var CHAR_ETB = 23;
static var CHAR_CAN = 24;
static var CHAR_EM = 25;
static var CHAR_SUB = 26;
static var CHAR_ESC = 27;
static var CHAR_FS = 28;
static var CHAR_GS = 29;
static var CHAR_RS = 30;
static var CHAR_US = 31;
static var CHAR_SP = 32;
static var CHAR_EXCL = 33;
static var CHAR_QUOT = 34;
static var CHAR_NUM = 35;
static var CHAR_DOLLAR = 36;
static var CHAR_PERCNT = 37;
static var CHAR_AMP = 38;
static var CHAR_APOS = 39;
static var CHAR_LPAR = 40;
static var CHAR_RPAR = 41;
static var CHAR_AST = 42;
static var CHAR_PLUS = 43;
static var CHAR_COMMA = 44;
static var CHAR_MINUS = 45;
static var CHAR_PERIOD = 46;
static var CHAR_SOL = 47;
static var CHAR_0 = 48;
static var CHAR_1 = 49;
static var CHAR_2 = 50;
static var CHAR_3 = 51;
static var CHAR_4 = 52;
static var CHAR_5 = 53;
static var CHAR_6 = 54;
static var CHAR_7 = 55;
static var CHAR_8 = 56;
static var CHAR_9 = 57;
static var CHAR_COLON = 58;
static var CHAR_SEMI = 59;
static var CHAR_LT = 60;
static var CHAR_EQUALS = 61;
static var CHAR_GT = 62;
static var CHAR_QUEST = 63;
static var CHAR_COMMAT = 64;
static var CHAR_A = 65;
static var CHAR_B = 66;
static var CHAR_C = 67;
static var CHAR_D = 68;
static var CHAR_E = 69;
static var CHAR_F = 70;
static var CHAR_G = 71;
static var CHAR_H = 72;
static var CHAR_I = 73;
static var CHAR_J = 74;
static var CHAR_K = 75;
static var CHAR_L = 76;
static var CHAR_M = 77;
static var CHAR_N = 78;
static var CHAR_O = 79;
static var CHAR_P = 80;
static var CHAR_Q = 81;
static var CHAR_R = 82;
static var CHAR_S = 83;
static var CHAR_T = 84;
static var CHAR_U = 85;
static var CHAR_V = 86;
static var CHAR_W = 87;
static var CHAR_X = 88;
static var CHAR_Y = 89;
static var CHAR_Z = 90;
static var CHAR_LSQB = 91;
static var CHAR_BSOL = 92;
static var CHAR_RSQB = 93;
static var CHAR_CIRC = 94;
static var CHAR_LOWBAR = 95;
static var CHAR_GRAVE = 96;
static var CHAR_LOW_A = 97;
static var CHAR_LOW_B = 98;
static var CHAR_LOW_C = 99;
static var CHAR_LOW_D = 100;
static var CHAR_LOW_E = 101;
static var CHAR_LOW_F = 102;
static var CHAR_LOW_G = 103;
static var CHAR_LOW_H = 104;
static var CHAR_LOW_I = 105;
static var CHAR_LOW_J = 106;
static var CHAR_LOW_K = 107;
static var CHAR_LOW_L = 108;
static var CHAR_LOW_M = 109;
static var CHAR_LOW_N = 110;
static var CHAR_LOW_O = 111;
static var CHAR_LOW_P = 112;
static var CHAR_LOW_Q = 113;
static var CHAR_LOW_R = 114;
static var CHAR_LOW_S = 115;
static var CHAR_LOW_T = 116;
static var CHAR_LOW_U = 117;
static var CHAR_LOW_V = 118;
static var CHAR_LOW_W = 119;
static var CHAR_LOW_X = 120;
static var CHAR_LOW_Y = 121;
static var CHAR_LOW_Z = 122;
static var CHAR_LCUB = 123;
static var CHAR_VERBAR = 124;
static var CHAR_RCUB = 125;
static var CHAR_TILDE = 126;
static var CHAR_DEL = 127;
static var charTypes = [CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, (SPACE + CNTRL) + BLANK, SPACE + CNTRL, SPACE + CNTRL, SPACE + CNTRL, SPACE + CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, CNTRL, SPACE + BLANK, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, (DIGIT + HEX) + 0, (DIGIT + HEX) + 1, (DIGIT + HEX) + 2, (DIGIT + HEX) + 3, (DIGIT + HEX) + 4, (DIGIT + HEX) + 5, (DIGIT + HEX) + 6, (DIGIT + HEX) + 7, (DIGIT + HEX) + 8, (DIGIT + HEX) + 9, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT, (UPPER + HEX) + 10, (UPPER + HEX) + 11, (UPPER + HEX) + 12, (UPPER + HEX) + 13, (UPPER + HEX) + 14, (UPPER + HEX) + 15, UPPER + 16, UPPER + 17, UPPER + 18, UPPER + 19, UPPER + 20, UPPER + 21, UPPER + 22, UPPER + 23, UPPER + 24, UPPER + 25, UPPER + 26, UPPER + 27, UPPER + 28, UPPER + 29, UPPER + 30, UPPER + 31, UPPER + 32, UPPER + 33, UPPER + 34, UPPER + 35, PUNCT, PUNCT, PUNCT, PUNCT, PUNCT | UNDER, PUNCT, (LOWER + HEX) + 10, (LOWER + HEX) + 11, (LOWER + HEX) + 12, (LOWER + HEX) + 13, (LOWER + HEX) + 14, (LOWER + HEX) + 15, LOWER + 16, LOWER + 17, LOWER + 18, LOWER + 19, LOWER + 20, LOWER + 21, LOWER + 22, LOWER + 23, LOWER + 24, LOWER + 25, LOWER + 26, LOWER + 27, LOWER + 28, LOWER + 29, LOWER + 30, LOWER + 31, LOWER + 32, LOWER + 33, LOWER + 34, LOWER + 35, PUNCT, PUNCT, PUNCT, PUNCT, CNTRL];
}
Symbol 20572 MovieClip [__Packages.org.as2lib.regexp.node.Dot] Frame 0
class org.as2lib.regexp.node.Dot extends org.as2lib.regexp.node.Node
{
var next;
function Dot () {
super();
}
function match(matcher, i, seq) {
if (i < matcher.to) {
var _local5 = seq.charCodeAt(i);
return((_local5 != org.as2lib.regexp.AsciiUtil.CHAR_LF) && ((_local5 != org.as2lib.regexp.AsciiUtil.CHAR_CR) && (((_local5 | 1) != 8233) && ((_local5 != 133) && (next.match(matcher, i + 1, seq))))));
}
return(false);
}
function study(info) {
info.minLength++;
info.maxLength++;
return(next.study(info));
}
}
Symbol 20573 MovieClip [__Packages.org.as2lib.util.StringUtil] Frame 0
class org.as2lib.util.StringUtil extends org.as2lib.core.BasicClass
{
function StringUtil (Void) {
super();
}
static function replace(string, what, to) {
return(string.split(what).join(to));
}
static function checkEmail(email) {
if (email.length < 6) {
return(false);
}
if ((email.split("@").length > 2) || (email.indexOf("@") < 0)) {
return(false);
}
if (email.lastIndexOf("@") > email.lastIndexOf(".")) {
return(false);
}
if (email.lastIndexOf(".") > (email.length - 3)) {
return(false);
}
if (email.lastIndexOf(".") <= (email.lastIndexOf("@") + 1)) {
return(false);
}
return(true);
}
static function assureLength(string, length) {
if ((length < 0) || ((!length) && (!(length === 0)))) {
return(false);
}
return(string.length >= length);
}
static function contains(string, chars) {
if ((chars == null) || (string == null)) {
return(false);
}
var _local4 = chars.length - 1;
for ( ; _local4 >= 0 ; _local4--) {
if (string.indexOf(chars.charAt(_local4)) >= 0) {
return(true);
}
}
return(false);
}
static function startsWith(string, searchString) {
if (string.indexOf(searchString) == 0) {
return(true);
}
return(false);
}
static function endsWith(string, searchString) {
if (string.lastIndexOf(searchString) == (string.length - searchString.length)) {
return(true);
}
return(false);
}
static function addSpaceIndent(string, size) {
if (string == null) {
string = "";
}
if (size < 0) {
size = 0;
}
var _local4 = multiply(" ", size);
return(_local4 + replace(string, newline, newline + _local4));
}
static function multiply(string, factor) {
var _local4 = "";
var _local5 = factor;
for ( ; _local5 > 0 ; _local5--) {
_local4 = _local4 + string;
}
return(_local4);
}
static function escape(string, keyMap, ignoreUnicode) {
if (string == null) {
return(string);
}
if (!keyMap) {
keyMap = DEFAULT_ESCAPE_MAP;
}
var _local5 = 0;
var _local6 = keyMap.length;
while (_local5 < _local6) {
string = string.split(keyMap[_local5]).join(keyMap[_local5 + 1]);
_local5 = _local5 + 2;
}
if (!ignoreUnicode) {
_local5 = 0;
_local6 = string.length;
while (_local5 < _local6) {
if (string.substring(_local5, _local5 + 2) == "\\u") {
string = (string.substring(0, _local5) + String.fromCharCode(_global.parseInt(string.substring(_local5 + 2, _local5 + 6), 16))) + string.substring(_local5 + 6);
}
_local5++;
}
}
return(string);
}
static var DEFAULT_ESCAPE_MAP = ["\\t", "\t", "\\n", newline, "\\r", "\r", "\\\"", "\"", "\\\\", "\\", "\\'", "'", "\\f", "\f", "\\b", "\b", "\\", ""];
}