rendered paste bodymovie 'C:\PROGRA~2\SWFTools\591473~1.SWF' // flash 10, total frames: 12, frame rate: 24 fps, 720x480 px
fileAttributes attrHasMetadata
metadata '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/"> <xmp:CreatorTool>Adobe Flash CS4 Professional</xmp:CreatorTool> <xmp:CreateDate>2012-03-06T19:32:54-05:00</xmp:CreateDate> <xmp:MetadataDate>2012-03-09T14:13:05-05:00</xmp:MetadataDate> <xmp:ModifyDate>2012-03-09T14:13:05-05:00</xmp:ModifyDate> </rdf:Description> <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:format>application/x-shockwave-flash</dc:format> </rdf:Description> <rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"> <xmpMM:InstanceID>xmp.iid:53C039E61B6AE111950EB00F9AF06015</xmpMM:InstanceID> <xmpMM:DocumentID>xmp.did:53C039E61B6AE111950EB00F9AF06015</xmpMM:DocumentID> <xmpMM:OriginalDocumentID>xmp.did:33C2E18BEE67E111AE12E4207A2B66B5</xmpMM:OriginalDocumentID> <xmpMM:DerivedFrom rdf:parseType="Resource"> <stRef:instanceID>xmp.iid:C03848079B68E1119203BD4FBCC49A03</stRef:instanceID> <stRef:documentID>xmp.did:C03848079B68E1119203BD4FBCC49A03</stRef:documentID> <stRef:originalDocumentID>xmp.did:33C2E18BEE67E111AE12E4207A2B66B5</stRef:originalDocumentID> </xmpMM:DerivedFrom> </rdf:Description> </rdf:RDF> '
defineMovieClip 3 // total frames: 1
end // of defineMovieClip 3
defineMovieClip 4 // total frames: 16
end // of defineMovieClip 4
defineMovieClip 6 // total frames: 1
end // of defineMovieClip 6
defineMovieClip 8 // total frames: 55
frame 0
stop
end // of frame 0
end // of defineMovieClip 8
defineMovieClip 11 // total frames: 1
end // of defineMovieClip 11
defineMovieClip 12 // total frames: 25
end // of defineMovieClip 12
defineMovieClip 15 // total frames: 4
end // of defineMovieClip 15
defineMovieClip 18 // total frames: 29
frame 0
stop
end // of frame 0
end // of defineMovieClip 18
defineMovieClip 19 // total frames: 19
frame 0
constants 'getBytesLoaded', 'getBytesTotal', 'loadingBar', '_totalframes', 'gotoAndStop', 'onEnterFrame', 'autoPlay', 'className', 'enterFrameHandler'
function2 enterFrameHandler () (r:1='_root')
push 0.0
setRegister r:2
pop
push 0.0, r:_root, 'getBytesLoaded'
callMethod
push 0.0, r:_root, 'getBytesTotal'
callMethod
divide
setRegister r:2
pop
push 'loadingBar'
getVariable
not
branchIfTrue label1
push r:2, 'loadingBar'
getVariable
push '_totalframes'
getMember
push 1
subtract
multiply
int
push 1
add
push 1, 'loadingBar'
getVariable
push 'gotoAndStop'
callMethod
pop
label1:
push r:2, 1
lessThan
not
not
branchIfTrue label2
push 'onEnterFrame', NULL
setVariable
gotoLabel 'loaded'
label2:
end // of function enterFrameHandler
stop
push 'autoPlay'
var
push 'className'
var
push 'onEnterFrame', 'enterFrameHandler'
getVariable
setVariable
end // of frame 0
frame 9
constants 'nextFrame', 'play', '_onLoaded', 'playButton', 'onRelease', '_onPlayClick', 'stop', 'autoPlay'
function2 _onPlayClick () (r:1='_root', r:2='_parent')
push 0.0, r:_root, 'nextFrame'
callMethod
pop
push 0.0, r:_root, 'play'
callMethod
pop
push 0.0, r:_parent, '_onLoaded'
callMethod
pop
end // of function _onPlayClick
push 'playButton'
getVariable
not
branchIfTrue label1
push 'playButton'
getVariable
push 'onRelease', '_onPlayClick'
getVariable
setMember
push 0.0, 'playButton'
getVariable
push 'stop'
callMethod
pop
label1:
push 'autoPlay'
getVariable
not
branchIfTrue label2
push NULL, 1, '_onPlayClick'
callFunction
pop
label2:
end // of frame 9
end // of defineMovieClip 19
exportAssets
19 as 'Preloader'
end // of exportAssets
defineMovieClip 21 // total frames: 1
end // of defineMovieClip 21
exportAssets
21 as 'Newgrounds API Classes'
end // of exportAssets
defineMovieClip 61 // total frames: 6
end // of defineMovieClip 61
defineMovieClip 64 // total frames: 1
end // of defineMovieClip 64
defineMovieClip 69 // total frames: 1
end // of defineMovieClip 69
defineMovieClip 73 // total frames: 1
end // of defineMovieClip 73
defineMovieClip 74 // total frames: 10
end // of defineMovieClip 74
defineMovieClip 75 // total frames: 14
end // of defineMovieClip 75
defineMovieClip 76 // total frames: 39
frame 0
stop
end // of frame 0
end // of defineMovieClip 76
exportAssets
76 as 'FlashAd'
end // of exportAssets
defineMovieClip 77 // total frames: 31
frame 0
constants '_redirect', 'com', 'newgrounds', 'API', 'loadOfficialVersion', 'connected', 'apiId', 'Enter your API ID into the API Connector using the Component Inspector (Window -> Component Inspector).', 'You can create an API ID for this submission at http://newgrounds.com/account/flashapi', 'No API ID entered in the API Connector component.', 'Logger', 'logError', 'debugMode', 'Off', 'Simulate Logged-in User', 'Simulate Logged-out User', 'Simulate New Version', 'Simulate Host Blocked', 'RELEASE_MODE', 'DEBUG_MODE_LOGGED_IN', 'DEBUG_MODE_LOGGED_OUT', 'DEBUG_MODE_NEW_VERSION', 'DEBUG_MODE_HOST_BLOCKED', '_onConnected', 'APIEvent', 'API_CONNECTED', 'addEventListener', 'movieVersion', 'encryptionKey', 'connect', 'redirectOnNewVersion', '__get__success', '__get__data', 'newVersion', 'redirectOnHostBlocked', '__get__error', 'ERROR_HOST_BLOCKED', 'forceAlwaysOnTop', 'getNextHighestDepth', 'swapDepths', 'Stage', '', 'width', 'height', 'MovieClip', 'stop', '_root', 'connectorType', 'className', 'Flash Ad + Preloader', 'Flash Ad Only', 'Invisible', '_apiConnect'
function _onLoaded ()
gotoLabel 'invisible'
push '_redirect'
getVariable
not
branchIfTrue label1
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'loadOfficialVersion'
callMethod
pop
push UNDEF
return
label1:
end // of function _onLoaded
function2 _apiConnect () (r:1='_root')
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
setRegister r:2
pop
push r:2
dup
not
branchIfTrue label2
pop
push r:2, 'connected'
getMember
not
label2:
not
branchIfTrue label10
push 'apiId'
getVariable
not
not
branchIfTrue label3
push 'Enter your API ID into the API Connector using the Component Inspector (Window -> Component Inspector).', 'You can create an API ID for this submission at http://newgrounds.com/account/flashapi', 'No API ID entered in the API Connector component.', 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push UNDEF
return
label3:
push 'debugMode'
getVariable
setRegister r:0
push 'Off'
strictEquals
branchIfTrue label4
push r:0, 'Simulate Logged-in User'
strictEquals
branchIfTrue label5
push r:0, 'Simulate Logged-out User'
strictEquals
branchIfTrue label6
push r:0, 'Simulate New Version'
strictEquals
branchIfTrue label7
push r:0, 'Simulate Host Blocked'
strictEquals
branchIfTrue label8
branch label4
label4:
push r:2, 'debugMode', r:2, 'RELEASE_MODE'
getMember
setMember
branch label9
label5:
push r:2, 'debugMode', r:2, 'DEBUG_MODE_LOGGED_IN'
getMember
setMember
branch label9
label6:
push r:2, 'debugMode', r:2, 'DEBUG_MODE_LOGGED_OUT'
getMember
setMember
branch label9
label7:
push r:2, 'debugMode', r:2, 'DEBUG_MODE_NEW_VERSION'
getMember
setMember
branch label9
label8:
push r:2, 'debugMode', r:2, 'DEBUG_MODE_HOST_BLOCKED'
getMember
setMember
branch label9
label9:
push '_onConnected'
getVariable
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 2, r:2, 'addEventListener'
callMethod
pop
push 'movieVersion'
getVariable
push 'encryptionKey'
getVariable
push 'apiId'
getVariable
push r:_root, 4, r:2, 'connect'
callMethod
pop
label10:
end // of function _apiConnect
function2 _onConnected (r:1='event') ()
push 'redirectOnNewVersion'
getVariable
dup
not
branchIfTrue label11
pop
push 0.0, r:event, '__get__success'
callMethod
label11:
dup
not
branchIfTrue label12
pop
push 0.0, r:event, '__get__data'
callMethod
push 'newVersion'
getMember
label12:
not
branchIfTrue label13
push '_redirect', TRUE
setVariable
label13:
push 'redirectOnHostBlocked'
getVariable
dup
not
branchIfTrue label14
pop
push 0.0, r:event, '__get__success'
callMethod
not
label14:
dup
not
branchIfTrue label15
pop
push 0.0, r:event, '__get__error'
callMethod
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_HOST_BLOCKED'
getMember
equals
label15:
not
branchIfTrue label16
push '_redirect', TRUE
setVariable
label16:
push '_redirect'
getVariable
not
branchIfTrue label17
gotoLabel 'adPreloader'
push 0.0, 'forceAlwaysOnTop'
callFunction
pop
label17:
end // of function _onConnected
function2 forceAlwaysOnTop () (r:1='_root')
push 0.0, 'getNextHighestDepth'
callFunction
setRegister r:2
pop
push r:2, 1, 'swapDepths'
callFunction
pop
push 'Stage'
getVariable
not
branchIfTrue label18
push '', 0.0, 'Stage'
getVariable
push 'width'
getMember
push '', 8
getProperty
subtract
push 2
divide
setProperty
push '', 1, 'Stage'
getVariable
push 'height'
getMember
push '', 9
getProperty
subtract
push 2
divide
setProperty
push '', 7, TRUE
setProperty
label18:
push r:_root
dup
not
branchIfTrue label19
pop
push r:_root, 'MovieClip'
getVariable
instanceOf
label19:
not
branchIfTrue label20
push 0.0, 'MovieClip'
getVariable
push r:_root
cast
push 'stop'
callMethod
pop
label20:
end // of function forceAlwaysOnTop
stop
push '_root'
getVariable
dup
not
branchIfTrue label21
pop
push '_root'
getVariable
push 'MovieClip'
getVariable
instanceOf
label21:
not
branchIfTrue label22
push 0.0, 'MovieClip'
getVariable
push '_root'
getVariable
cast
push 'stop'
callMethod
pop
label22:
push 'apiId'
var
push 'encryptionKey'
var
push 'movieVersion'
var
push 'debugMode'
var
push 'connectorType'
var
push 'redirectOnHostBlocked'
var
push 'redirectOnNewVersion'
var
push 'className'
var
push '_redirect'
var
push '', 0.0, '', 0.0
getProperty
int
setProperty
push '', 1, '', 1
getProperty
int
setProperty
push 'debugMode'
getVariable
not
not
branchIfTrue label23
push 'debugMode', 'Simulate Logged-in User'
setVariable
label23:
push 'connectorType'
getVariable
not
not
branchIfTrue label24
push 'connectorType', 'Flash Ad + Preloader'
setVariable
label24:
push 'connectorType'
getVariable
setRegister r:0
push 'Flash Ad + Preloader'
strictEquals
branchIfTrue label25
push r:0, 'Flash Ad Only'
strictEquals
branchIfTrue label26
push r:0, 'Invisible'
strictEquals
branchIfTrue label27
branch label28
label25:
gotoLabel 'adPreloader'
branch label28
label26:
gotoLabel 'ad'
branch label28
label27:
gotoLabel 'invisible'
branch label28
label28:
push 0.0, '_apiConnect'
callFunction
pop
end // of frame 0
placeMovieClip 76 as 'ad'
onClipEvent construct
push 'apiId', ''
setVariable
push 'showBorder', TRUE
setVariable
end
end // of placeMovieClip 76
placeMovieClip 19 as 'loader'
onClipEvent construct
push 'autoPlay', FALSE
setVariable
push 'mainClass', ''
setVariable
end
end // of placeMovieClip 19
end // of defineMovieClip 77
exportAssets
77 as 'APIConnector'
end // of exportAssets
placeMovieClip 77
onClipEvent construct
push 'apiId', '23453:zHD9iqhC'
setVariable
push 'encryptionKey', '7KtTJbHN52eG5pXNqYi1639nLXIq676e'
setVariable
push 'debugMode', 'Simulate Logged-in User'
setVariable
push 'movieVersion', ''
setVariable
push 'connectorType', 'Flash Ad + Preloader'
setVariable
push 'redirectOnNewVersion', TRUE
setVariable
push 'redirectOnHostBlocked', TRUE
setVariable
end
end // of placeMovieClip 77
// unknown tag 88 length 84
defineButton 89
on overDownToOverUp
getURL 'https://www.facebook.com/pages/Tome-Terrain-of-Magical-Expertise/231491923577586' '_blank'
end
end // of defineButton 89
defineButton 93
on overDownToOverUp
getURL 'http://twitter.com/Kirbopher' '_blank'
end
end // of defineButton 93
defineButton 100
on overDownToOverUp
getURL 'http://tomeseries.bandcamp.com/track/battle-on' '_blank'
end
end // of defineButton 100
defineMovieClip 29 // total frames: 0
end // of defineMovieClip 29
exportAssets
29 as '__Packages.com.newgrounds.APIConnection'
end // of exportAssets
initMovieClip 29
constants '_global', 'com', 'Object', 'newgrounds', 'APIConnection', 'reset', 'prototype', '__get__hostURL', '_hostURL', '__set__hostURL', 'hostDomain', '/', 'split', 'file:', 'localhost', '__get__sandboxType', 'System', 'security', 'sandboxType', '__get__isNetworkHost', 'localWithFile', 'localWithNetwork', 'localTrusted', 'application', 'remote', '__get__hasUserSession', 'sessionId', '', 'publisherId', '__get__connected', 'connectionState', 'CONNECTED', 'NOT_CONNECTED', 'encryptionKey', 'userEmail', 'username', 'userId', 'userpageFormat', 'assertInitialized', 'initialized', 'You must initialized the API using API.connect() before using this command.', 'Logger', 'logError', 'assertConnected', 'You must establish a connection using API.connect() before using this command.', 'sendSimpleCommand', 'APICommand', '__set__parameters', '__set__secureParameters', 'APIEvent', 'COMMAND_COMPLETE', 'addEventListener', 'send', 'sendCommand', 'loadInBrowser', 'notConnected', 'CONNECTING', 'connecting', 'connected', 'apiURL', 'http://www.ngads.com/gateway_v2.php', 'addProperty', 'hasUserSession', 'hostURL', 'isNetworkHost', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'APIConnection'
getMember
not
not
branchIfTrue label17
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
function2 () (r:1='this')
push 0.0, r:this, 'reset'
callMethod
pop
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__hostURL'
function2 () (r:1='this')
push r:this, '_hostURL'
getMember
return
end // of function
setMember
push r:2, '__set__hostURL'
function2 (r:3='value') (r:1='this')
push r:this, '_hostURL', r:value
setMember
push r:this, 'hostDomain', NULL
setMember
push r:this, '_hostURL'
getMember
not
branchIfTrue label4
push '/', 1, r:this, '_hostURL'
getMember
push 'split'
callMethod
setRegister r:2
pop
push r:2, 0.0
getMember
push 'file:'
equals
not
dup
not
branchIfTrue label3
pop
push r:this, '_hostURL'
getMember
push 'localhost'
equals
not
label3:
not
branchIfTrue label4
push r:this, 'hostDomain', r:2, 2
getMember
setMember
label4:
push r:this, 'hostDomain'
getMember
not
not
branchIfTrue label5
push r:this, 'hostDomain', 'localhost'
setMember
label5:
push 0.0, r:this, '__get__hostURL'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__sandboxType'
function ()
push 'System'
getVariable
push 'security'
getMember
push 'sandboxType'
getMember
return
end // of function
setMember
push r:2, '__get__isNetworkHost'
function2 () (r:1='this')
push 0.0, r:this, '__get__sandboxType'
callMethod
setRegister r:0
push 'localWithFile'
strictEquals
branchIfTrue label6
push r:0, 'localWithNetwork'
strictEquals
branchIfTrue label6
push r:0, 'localTrusted'
strictEquals
branchIfTrue label6
push r:0, 'application'
strictEquals
branchIfTrue label6
push r:0, 'remote'
strictEquals
branchIfTrue label7
branch label7
label6:
push FALSE
return
label7:
push TRUE
return
end // of function
setMember
push r:2, '__get__hasUserSession'
function2 () (r:1='this')
push r:this, 'sessionId'
getMember
push NULL
equals
not
dup
not
branchIfTrue label8
pop
push r:this, 'sessionId'
getMember
push ''
equals
not
label8:
dup
not
branchIfTrue label9
pop
push r:this, 'publisherId'
getMember
push 0.0
equals
not
label9:
return
end // of function
setMember
push r:2, '__get__connected'
function2 () (r:1='this')
push r:this, 'connectionState'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
getMember
push 'CONNECTED'
getMember
equals
return
end // of function
setMember
push r:2, 'reset'
function2 () (r:1='this')
push r:this, 'connectionState', 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
getMember
push 'NOT_CONNECTED'
getMember
setMember
push r:this, 'encryptionKey', NULL
setMember
push r:this, 'sessionId', NULL
setMember
push r:this, 'userEmail', NULL
setMember
push r:this, 'username', NULL
setMember
push r:this, 'userId', 0.0
setMember
push r:this, 'userpageFormat', 0.0
setMember
end // of function
setMember
push r:2, 'assertInitialized'
function2 () (r:1='this')
push r:this, 'initialized'
getMember
not
not
branchIfTrue label10
push 'You must initialized the API using API.connect() before using this command.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push FALSE
return
label10:
push TRUE
return
end // of function
setMember
push r:2, 'assertConnected'
function2 () (r:1='this')
push r:this, 'connectionState'
getMember
not
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
getMember
push 'CONNECTED'
getMember
equals
not
branchIfTrue label11
push 'You must establish a connection using API.connect() before using this command.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push FALSE
return
label11:
push TRUE
return
end // of function
setMember
push r:2, 'sendSimpleCommand'
function2 (r:6='command', r:5='completeHandler', r:3='parameters', r:4='secureParameters') (r:1='this')
push r:parameters, UNDEF
equals
not
branchIfTrue label12
push NULL
setRegister r:parameters
pop
label12:
push r:secureParameters, UNDEF
equals
not
branchIfTrue label13
push NULL
setRegister r:secureParameters
pop
label13:
push r:command, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
newMethod
setRegister r:2
pop
push r:parameters, 1, r:2, '__set__parameters'
callMethod
pop
push r:secureParameters, 1, r:2, '__set__secureParameters'
callMethod
pop
push r:completeHandler, NULL
equals
not
not
branchIfTrue label14
push r:completeHandler, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'COMMAND_COMPLETE'
getMember
push 2, r:2, 'addEventListener'
callMethod
pop
label14:
push r:this, 1, r:2, 'send'
callMethod
pop
end // of function
setMember
push r:2, 'sendCommand'
function2 (r:2='command') (r:1='this')
push r:this, 1, r:command, 'send'
callMethod
pop
end // of function
setMember
push r:2, 'loadInBrowser'
function2 (r:5='command', r:4='newWindow', r:3='parameters') (r:1='this')
push r:newWindow, UNDEF
equals
not
branchIfTrue label15
push TRUE
setRegister r:newWindow
pop
label15:
push r:parameters, UNDEF
equals
not
branchIfTrue label16
push NULL
setRegister r:parameters
pop
label16:
push r:command, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
newMethod
setRegister r:2
pop
push r:parameters, 1, r:2, '__set__parameters'
callMethod
pop
push r:newWindow, r:this, 2, r:2, 'loadInBrowser'
callMethod
pop
end // of function
setMember
push r:1, 'NOT_CONNECTED', 'notConnected'
setMember
push r:1, 'CONNECTING', 'connecting'
setMember
push r:1, 'CONNECTED', 'connected'
setMember
push r:2, 'connectionState', 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
getMember
push 'NOT_CONNECTED'
getMember
setMember
push r:2, 'apiURL', 'http://www.ngads.com/gateway_v2.php'
setMember
function ()
end // of function
push r:2, '__get__connected'
getMember
push 'connected', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__hasUserSession'
getMember
push 'hasUserSession', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__hostURL'
getMember
push r:2, '__get__hostURL'
getMember
push 'hostURL', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__isNetworkHost'
getMember
push 'isNetworkHost', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__sandboxType'
getMember
push 'sandboxType', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label17:
pop
end // of initMovieClip 29
defineMovieClip 23 // total frames: 0
end // of defineMovieClip 23
exportAssets
23 as '__Packages.com.newgrounds.EventDispatcher'
end // of exportAssets
initMovieClip 23
constants '_global', 'com', 'Object', 'newgrounds', 'EventDispatcher', '_listeners', 'prototype', 'addEventListener', 'function', 'target', 'func', 'push', 'removeEventListener', 'length', 'splice', 'dispatchEvent', '__get__type', 'call', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'EventDispatcher'
getMember
not
not
branchIfTrue label12
push 'com'
getVariable
push 'newgrounds'
getMember
push 'EventDispatcher'
function2 () (r:1='this')
push r:this, '_listeners', 0.0
initObject
setMember
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, 'addEventListener'
function2 (r:2='type', r:3='listener') (r:1='this')
push r:this, '_listeners'
getMember
push r:type
getMember
not
not
branchIfTrue label3
push r:this, '_listeners'
getMember
push r:type, 0.0
initArray
setMember
label3:
push r:listener
typeof
push 'function'
equals
not
branchIfTrue label4
push 'target', NULL, 'func', r:listener, 2
initObject
push 1, r:this, '_listeners'
getMember
push r:type
getMember
push 'push'
callMethod
pop
branch label5
label4:
push r:listener, 1, r:this, '_listeners'
getMember
push r:type
getMember
push 'push'
callMethod
pop
label5:
end // of function
setMember
push r:2, 'removeEventListener'
function2 (r:6='type', r:4='listener') (r:1='this')
push r:this, '_listeners'
getMember
push r:type
getMember
setRegister r:3
pop
push r:3
not
branchIfTrue label9
push r:3, 'length'
getMember
setRegister r:5
pop
push 0.0
setRegister r:2
pop
label6:
push r:2, r:5
lessThan
not
branchIfTrue label9
push r:3, r:2
getMember
push 'func'
getMember
push r:listener
equals
dup
branchIfTrue label7
pop
push r:3, r:2
getMember
push r:listener
equals
label7:
not
branchIfTrue label8
push 1, r:2, 2, r:3, 'splice'
callMethod
pop
push UNDEF
return
label8:
push r:2
increment
setRegister r:2
pop
branch label6
label9:
end // of function
setMember
push r:2, 'dispatchEvent'
function2 (r:6='event') (r:1='this')
push r:this, '_listeners'
getMember
push 0.0, r:event, '__get__type'
callMethod
getMember
setRegister r:4
pop
push r:4
not
branchIfTrue label11
push r:4, 'length'
getMember
setRegister r:5
pop
push 0.0
setRegister r:2
pop
label10:
push r:2, r:5
lessThan
not
branchIfTrue label11
push r:4, r:2
getMember
setRegister r:3
pop
push r:event, r:3, 'target'
getMember
push 2, r:3, 'func'
getMember
push 'call'
callMethod
pop
push r:2
increment
setRegister r:2
pop
branch label10
label11:
push TRUE
return
end // of function
setMember
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'EventDispatcher'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label12:
pop
end // of initMovieClip 23
defineMovieClip 22 // total frames: 0
end // of defineMovieClip 22
exportAssets
22 as '__Packages.com.newgrounds.Event'
end // of exportAssets
initMovieClip 22
constants '_global', 'com', 'Object', 'newgrounds', 'Event', '_type', 'prototype', '__get__type', 'type', 'addProperty', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'Event'
getMember
not
not
branchIfTrue label3
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Event'
function2 (r:2='type') (r:1='this')
push r:this, '_type', r:type
setMember
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__type'
function2 () (r:1='this')
push r:this, '_type'
getMember
return
end // of function
setMember
function ()
end // of function
push r:2, '__get__type'
getMember
push 'type', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'Event'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label3:
pop
end // of initMovieClip 22
defineMovieClip 24 // total frames: 0
end // of defineMovieClip 24
exportAssets
24 as '__Packages.com.newgrounds.APIEventDispatcher'
end // of exportAssets
initMovieClip 24
constants '_global', 'com', 'Object', 'newgrounds', 'APIEventDispatcher', 'EventDispatcher', 'prototype', '__get__globalDispatcher', '_globalDispatcher', '__set__globalDispatcher', 'initEventQueue', 'runEventQueue', 'setInterval', 'dispatchEvent', 'dispatcher', 'event', '_eventQueue', 'push', 'actualDispatchEvent', 'length', 'globalDispatcher', 'addProperty', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
not
not
branchIfTrue label7
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
function2 () (r:1='super')
push 0.0, r:super, UNDEF
callMethod
pop
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'EventDispatcher'
getMember
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:1, '__get__globalDispatcher'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_globalDispatcher'
getMember
return
end // of function
setMember
push r:1, '__set__globalDispatcher'
function2 (r:1='value') ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_globalDispatcher', r:value
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '__get__globalDispatcher'
callMethod
return
pop
end // of function
setMember
push r:1, 'initEventQueue'
function ()
push 50, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push 'runEventQueue'
getMember
push 2, 'setInterval'
callFunction
pop
push 0.0
initArray
return
end // of function
setMember
push r:2, 'dispatchEvent'
function2 (r:3='event') (r:1='this')
push 'dispatcher', r:this, 'event', r:event, 2
initObject
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_eventQueue'
getMember
push 'push'
callMethod
pop
push TRUE
return
end // of function
setMember
push r:2, 'actualDispatchEvent'
function2 (r:4='event') (r:1='this', r:2='super')
push r:event, 1, r:super, 'dispatchEvent'
callMethod
setRegister r:3
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_globalDispatcher'
getMember
dup
not
branchIfTrue label3
pop
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_globalDispatcher'
getMember
equals
not
label3:
not
branchIfTrue label4
push r:event, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_globalDispatcher'
getMember
push 'dispatchEvent'
callMethod
pop
label4:
end // of function
setMember
push r:1, 'runEventQueue'
function2 ('event') ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_eventQueue'
getMember
push 'length'
getMember
setRegister r:3
pop
push r:3
not
branchIfTrue label6
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_eventQueue'
getMember
setRegister r:4
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '_eventQueue', 0.0
initArray
setMember
push 0.0
setRegister r:1
pop
label5:
push r:1, r:3
lessThan
not
branchIfTrue label6
push r:4, r:1
getMember
setRegister r:2
pop
push r:2, 'event'
getMember
push 1, r:2, 'dispatcher'
getMember
push 'actualDispatchEvent'
callMethod
pop
push r:1
increment
setRegister r:1
pop
branch label5
label6:
end // of function
setMember
push r:1, '_eventQueue', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push 'initEventQueue'
callMethod
setMember
push r:1, '__set__globalDispatcher'
getMember
push r:1, '__get__globalDispatcher'
getMember
push 'globalDispatcher', 3, r:1, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label7:
pop
end // of initMovieClip 24
defineMovieClip 27 // total frames: 0
end // of defineMovieClip 27
exportAssets
27 as '__Packages.com.newgrounds.encoders.BaseN'
end // of exportAssets
initMovieClip 27
constants '_global', 'com', 'Object', 'newgrounds', 'encoders', 'BaseN', '_hash', 'DEFAULT_HASH', '_base', 'length', '_reverseHash', 'charAt', 'prototype', 'encodeUint', '', 'decodeUint', '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~@#$%^&*()+|;/', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders'
getMember
not
not
branchIfTrue label3
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders', 0.0, 'Object'
new
setMember
label3:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'BaseN'
getMember
not
not
branchIfTrue label14
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'BaseN'
function2 (r:3='hash') (r:1='this')
push r:hash
not
branchIfTrue label4
push r:this, '_hash', r:hash
setMember
branch label5
label4:
push r:this, '_hash', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'BaseN'
getMember
push 'DEFAULT_HASH'
getMember
setMember
label5:
push r:this, '_base', r:this, '_hash'
getMember
push 'length'
getMember
setMember
push r:this, '_reverseHash', 0.0, 'Object'
new
setMember
push 0.0
setRegister r:2
pop
label6:
push r:2, r:this, '_hash'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label7
push r:this, '_reverseHash'
getMember
push r:2, 1, r:this, '_hash'
getMember
push 'charAt'
callMethod
push r:2
setMember
push r:2
increment
setRegister r:2
pop
branch label6
label7:
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, 'encodeUint'
function2 (r:5='number', r:4='minimumChars') (r:1='this')
push r:minimumChars, UNDEF
equals
not
branchIfTrue label8
push 1
setRegister r:minimumChars
pop
label8:
push ''
setRegister r:2
pop
push r:number
setRegister r:3
pop
label9:
push r:3, 0.0
equals
not
not
branchIfTrue label10
push r:3, r:this, '_base'
getMember
modulo
push 1, r:this, '_hash'
getMember
push 'charAt'
callMethod
push r:2
add
setRegister r:2
pop
push r:3, r:this, '_base'
getMember
divide
setRegister r:3
pop
push r:3
int
setRegister r:3
pop
branch label9
label10:
push r:2, 'length'
getMember
push r:minimumChars
lessThan
not
branchIfTrue label11
push 0.0, 1, r:this, '_hash'
getMember
push 'charAt'
callMethod
push r:2
add
setRegister r:2
pop
branch label10
label11:
push r:2
return
end // of function
setMember
push r:2, 'decodeUint'
function2 (r:4='encodedNumber') (r:1='this')
push 0.0
setRegister r:3
pop
push 0.0
setRegister r:2
pop
label12:
push r:2, r:encodedNumber, 'length'
getMember
lessThan
not
branchIfTrue label13
push r:3, r:this, '_base'
getMember
multiply
setRegister r:3
pop
push r:3, r:this, '_reverseHash'
getMember
push r:2, 1, r:encodedNumber, 'charAt'
callMethod
getMember
add
setRegister r:3
pop
push r:2
increment
setRegister r:2
pop
branch label12
label13:
push r:3
return
end // of function
setMember
push r:1, 'DEFAULT_HASH', '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~@#$%^&*()+|;/'
setMember
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'BaseN'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label14:
pop
end // of initMovieClip 27
defineMovieClip 33 // total frames: 0
end // of defineMovieClip 33
exportAssets
33 as '__Packages.com.newgrounds.APICommand'
end // of exportAssets
initMovieClip 33
constants '_global', 'com', 'Object', 'newgrounds', 'APICommand', '_command', '_parameters', '_secureParameters', '_hasTimeout', 'APIEventDispatcher', 'prototype', 'stopPendingCommands', '_pendingCommands', 'close', 'onThrottleTimer', '_throttleTimestamp', 'THROTTLE_INTERVAL', '_throttleCount', '_commandQueue', 'length', 'THROTTLE_THRESHOLD', 'shift', 'connection', 'command', 'send', 'encryptHex', '', '0x', 'substr', '_encryptor', 'encodeUint', 'toString', '__get__command', '__set__command', '__get__hasTimeout', '__set__hasTimeout', '__get__parameters', '__set__parameters', '__get__preventCache', '_preventCache', '__set__preventCache', '__get__secureParameters', '__set__secureParameters', '__get__hasSecureParameters', 'addFile', 'application/octet-stream', '_files', 'filename', 'data', 'dataField', 'contentType', 'removeFile', 'clearFiles', '_loader', '_timeoutTimer', 'clearInterval', 'splice', 'loadInBrowser', 'command_id', 'tracker_id', 'apiId', 'debug', 'apiURL', '?host=', 'hostDomain', 'escape', '&', '=', '_blank', '_top', 'getURL', 'push', 'sendInternal', 'LoadVars', 'seed', 'Math', 'random', 'boolean', 'ENCRYPTOR_RADIX', 'charAt', 'securePacket', 'as_version', 'session_id', 'sessionId', 'user_email', 'userEmail', 'publisher_id', 'publisherId', 'crypto', 'MD5', 'hash', 'encryptionKey', 'encoders', 'json', 'JSON', 'encode', 'RC4', 'encrypt', 'secure', 'Sending packet:', 'Logger', 'logInternal', 'application/x-www-form-urlencoded', 'object', 'string', 'startLoader', 'onData', 'as2CompleteHandler', 'POST', 'sendAndLoad', 'TIMEOUT_INTERVAL', 'onTimeout', 'setInterval', 'onComplete', 'Command timed out.', 'logError', 'APIEvent', 'ERROR_TIMED_OUT', 'COMMAND_COMPLETE', 'dispatchEvent', 'onError', 'Error when sending command:', 'ERROR_UNKNOWN', 'Error', 'Received packet:', 'decode', 'bridge', 'sendEvent', 'success', 'ERROR_COMMAND_FAILED', 'ERROR_NONE', 'Invalid response returned from server: ', 'ERROR_BAD_RESPONSE', 'THROTTLE_TICK_INTERVAL', '_throttleTimer', '/g8236klvBQ#&|;Zb*7CEA59%s`Oue1wziFp$rDVY@TKxUPWytSaGHJ>dmoMR^<0~4qNLhc(I+fjn)X', 'BaseN', 'CRLF', '\r\n', 'addProperty', 'hasSecureParameters', 'hasTimeout', 'parameters', 'preventCache', 'secureParameters', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'APICommand'
getMember
not
not
branchIfTrue label65
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
function2 (r:3='command') (r:1='this', r:2='super')
push 0.0, r:super, UNDEF
callMethod
pop
push r:this, '_command', r:command
setMember
push r:this, '_parameters', 0.0, 'Object'
new
setMember
push r:this, '_secureParameters', 0.0, 'Object'
new
setMember
push r:this, '_hasTimeout', TRUE
setMember
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:1, 'stopPendingCommands'
function2 () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
enumerateValue
label3:
setRegister r:0
push NULL
equals
branchIfTrue label4
push r:0
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
push r:2
getMember
setRegister r:1
pop
push 0.0, r:1, 'close'
callMethod
pop
branch label3
label4:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands', 0.0
initArray
setMember
end // of function
setMember
push r:1, 'onThrottleTimer'
function2 ('event') ()
getTimer
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleTimestamp'
getMember
subtract
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'THROTTLE_INTERVAL'
getMember
lessThan
not
not
branchIfTrue label7
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleCount', 0.0
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleCount', 0.0
setMember
label5:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_commandQueue'
getMember
push 'length'
getMember
dup
not
branchIfTrue label6
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleCount'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'THROTTLE_THRESHOLD'
getMember
lessThan
label6:
not
branchIfTrue label7
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_commandQueue'
getMember
push 'shift'
callMethod
setRegister r:1
pop
push r:1, 'connection'
getMember
push 1, r:1, 'command'
getMember
push 'send'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleCount', 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleCount'
getMember
increment
setMember
branch label5
label7:
end // of function
setMember
push r:1, 'encryptHex'
function2 (r:2='hexValue') ()
push r:hexValue, 'length'
getMember
push 6
modulo
setRegister r:4
pop
push ''
setRegister r:3
pop
push 0.0
setRegister r:1
pop
label8:
push r:1, r:hexValue, 'length'
getMember
lessThan
not
branchIfTrue label9
push r:3, 4, '0x', 6, r:1, 2, r:hexValue, 'substr'
callMethod
add
int
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_encryptor'
getMember
push 'encodeUint'
callMethod
add
setRegister r:3
pop
push r:1, 6
add
setRegister r:1
pop
branch label8
label9:
push 0.0, r:4, 'toString'
callMethod
push r:3
add
return
end // of function
setMember
push r:2, '__get__command'
function2 () (r:1='this')
push r:this, '_command'
getMember
return
end // of function
setMember
push r:2, '__set__command'
function2 (r:2='value') (r:1='this')
push r:this, '_command', r:value
setMember
push 0.0, r:this, '__get__command'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__hasTimeout'
function2 () (r:1='this')
push r:this, '_hasTimeout'
getMember
return
end // of function
setMember
push r:2, '__set__hasTimeout'
function2 (r:2='val') (r:1='this')
push r:this, '_hasTimeout', r:val
setMember
push 0.0, r:this, '__get__hasTimeout'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__parameters'
function2 () (r:1='this')
push r:this, '_parameters'
getMember
return
end // of function
setMember
push r:2, '__set__parameters'
function2 (r:2='object') (r:1='this')
push r:this, '_parameters', 0.0, 'Object'
new
setMember
push r:object
not
branchIfTrue label11
push r:object
enumerateValue
label10:
setRegister r:0
push NULL
equals
branchIfTrue label11
push r:0
setRegister r:3
pop
push r:this, '_parameters'
getMember
push r:3, r:object, r:3
getMember
setMember
branch label10
label11:
push 0.0, r:this, '__get__parameters'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__preventCache'
function2 () (r:1='this')
push r:this, '_preventCache'
getMember
return
end // of function
setMember
push r:2, '__set__preventCache'
function2 (r:2='value') (r:1='this')
push r:this, '_preventCache', r:value
setMember
push 0.0, r:this, '__get__preventCache'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__secureParameters'
function2 () (r:1='this')
push r:this, '_secureParameters'
getMember
return
end // of function
setMember
push r:2, '__set__secureParameters'
function2 (r:2='object') (r:1='this')
push r:this, '_secureParameters', 0.0, 'Object'
new
setMember
push r:object
not
branchIfTrue label13
push r:object
enumerateValue
label12:
setRegister r:0
push NULL
equals
branchIfTrue label13
push r:0
setRegister r:3
pop
push r:this, '_secureParameters'
getMember
push r:3, r:object, r:3
getMember
setMember
branch label12
label13:
push 0.0, r:this, '__get__secureParameters'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__hasSecureParameters'
function2 () (r:1='this')
push r:this, '_secureParameters'
getMember
enumerateValue
label14:
setRegister r:0
push NULL
equals
branchIfTrue label16
push r:0
setRegister r:2
pop
label15:
push NULL
equals
not
branchIfTrue label15
push TRUE
return
branch label14
label16:
push FALSE
return
end // of function
setMember
push r:2, 'addFile'
function2 (r:2='filename', r:4='data', r:5='dataField', r:6='contentType') (r:1='this')
push r:contentType, UNDEF
equals
not
branchIfTrue label17
push 'application/octet-stream'
setRegister r:contentType
pop
label17:
push r:this, '_files'
getMember
not
not
branchIfTrue label18
push r:this, '_files', 0.0, 'Object'
new
setMember
label18:
push 'filename', r:filename, 'data', r:'data', 'dataField', r:dataField, 'contentType', r:contentType, 4
initObject
setRegister r:3
pop
push r:this, '_files'
getMember
push r:filename, r:3
setMember
end // of function
setMember
push r:2, 'removeFile'
function2 (r:2='filename') (r:1='this')
push r:this, '_files'
getMember
not
branchIfTrue label19
push r:this, '_files'
getMember
push r:filename
delete
pop
label19:
end // of function
setMember
push r:2, 'clearFiles'
function2 () (r:1='this')
push r:this, '_files', NULL
setMember
end // of function
setMember
push r:2, 'close'
function2 () (r:1='this')
push r:this, '_loader'
getMember
not
branchIfTrue label23
push r:this, '_timeoutTimer'
getMember
push 1, 'clearInterval'
callFunction
pop
push 0.0
setRegister r:2
pop
label20:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label22
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
push r:2
getMember
push r:this
equals
not
branchIfTrue label21
push 1, r:2, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
push 'splice'
callMethod
pop
branch label22
label21:
push r:2
increment
setRegister r:2
pop
branch label20
label22:
push r:this, '_loader', NULL
setMember
label23:
end // of function
setMember
push r:2, 'loadInBrowser'
function2 (r:5='connection', r:7='newWindow') (r:1='this', r:2='_root')
push r:this, '_parameters'
getMember
push 'command_id', r:this, '_command'
getMember
setMember
push r:this, '_parameters'
getMember
push 'tracker_id', r:connection, 'apiId'
getMember
branchIfTrue label24
push 1
branch label25
label24:
push r:connection, 'apiId'
getMember
label25:
setMember
push r:connection, 'debug'
getMember
not
branchIfTrue label26
push r:this, '_parameters'
getMember
push 'debug', 1
setMember
label26:
push r:connection, 'apiURL'
getMember
push '?host='
add
push r:connection, 'hostDomain'
getMember
push 1, 'escape'
callFunction
add
setRegister r:3
pop
push r:this, '_parameters'
getMember
enumerateValue
label27:
setRegister r:0
push NULL
equals
branchIfTrue label28
push r:0
setRegister r:4
pop
push r:3, '&', r:4, 1, 'escape'
callFunction
add
push '='
add
push r:this, '_parameters'
getMember
push r:4
getMember
push 1, 'escape'
callFunction
add
add
setRegister r:3
pop
branch label27
label28:
push UNDEF
setRegister r:6
pop
push r:newWindow
not
branchIfTrue label29
push '_blank'
setRegister r:6
pop
branch label30
label29:
push '_top'
setRegister r:6
pop
label30:
push r:6, r:3, 2, r:_root, 'getURL'
callMethod
pop
end // of function
setMember
push r:2, 'send'
function2 (r:2='connection') (r:1='this')
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleCount'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'THROTTLE_THRESHOLD'
getMember
lessThan
not
not
branchIfTrue label31
push 'connection', r:connection, 'command', r:this, 2
initObject
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_commandQueue'
getMember
push 'push'
callMethod
pop
branch label32
label31:
push r:connection, 1, r:this, 'sendInternal'
callMethod
pop
label32:
end // of function
setMember
push r:2, 'sendInternal'
function2 (r:9='connection') (r:1='this')
push UNDEF
setRegister r:4
pop
push 0.0, 'LoadVars'
new
setRegister r:4
pop
push r:4, 'command_id', r:this, '_command'
getMember
setMember
push r:4, 'tracker_id', r:connection, 'apiId'
getMember
setMember
push r:connection, 'debug'
getMember
not
branchIfTrue label33
push r:4, 'debug', 1
setMember
label33:
push r:this, '_preventCache'
getMember
not
branchIfTrue label34
push r:4, 'seed', 0.0, 'Math'
getVariable
push 'random'
callMethod
setMember
label34:
push UNDEF
setRegister r:2
pop
push UNDEF
setRegister r:3
pop
push UNDEF
setRegister r:7
pop
push r:this, '_parameters'
getMember
enumerateValue
label35:
setRegister r:0
push NULL
equals
branchIfTrue label38
push r:0
setRegister r:2
pop
push r:this, '_parameters'
getMember
push r:2
getMember
setRegister r:3
pop
push r:3, NULL
equals
not
not
branchIfTrue label37
push r:3
typeof
push 'boolean'
equals
not
branchIfTrue label36
push r:4, r:2, r:3
int
setMember
branch label37
label36:
push r:4, r:2, r:3
setMember
label37:
branch label35
label38:
push 0.0, r:this, '__get__hasSecureParameters'
callMethod
not
branchIfTrue label45
push 0.0, 'Object'
new
setRegister r:6
pop
push r:this, '_secureParameters'
getMember
enumerateValue
label39:
setRegister r:0
push NULL
equals
branchIfTrue label42
push r:0
setRegister r:2
pop
push r:this, '_secureParameters'
getMember
push r:2
getMember
setRegister r:3
pop
push r:3, NULL
equals
not
not
branchIfTrue label41
push r:3
typeof
push 'boolean'
equals
not
branchIfTrue label40
push r:6, r:2, r:3
int
setMember
branch label41
label40:
push r:6, r:2, r:3
setMember
label41:
branch label39
label42:
push ''
setRegister r:8
pop
push 0.0
setRegister r:7
pop
label43:
push r:7, 16
lessThan
not
branchIfTrue label44
push r:8, 0.0, 'Math'
getVariable
push 'random'
callMethod
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'ENCRYPTOR_RADIX'
getMember
push 'length'
getMember
multiply
int
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'ENCRYPTOR_RADIX'
getMember
push 'charAt'
callMethod
add
setRegister r:8
pop
push r:7
increment
setRegister r:7
pop
branch label43
label44:
push r:4, 'command_id', 'securePacket'
setMember
push r:6, 'command_id', r:this, '_command'
getMember
setMember
push r:6, 'as_version', 3
setMember
push r:6, 'session_id', r:connection, 'sessionId'
getMember
setMember
push r:6, 'user_email', r:connection, 'userEmail'
getMember
setMember
push r:6, 'publisher_id', r:connection, 'publisherId'
getMember
setMember
push r:6, 'seed', r:8
setMember
push r:8, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'hash'
callMethod
setRegister r:13
pop
push r:connection, 'encryptionKey'
getMember
push r:6, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode'
callMethod
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'encrypt'
callMethod
setRegister r:11
pop
push r:4, 'secure', r:13, r:11
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'encryptHex'
callMethod
setMember
label45:
push r:4, 'Sending packet:', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logInternal'
callMethod
pop
push UNDEF
setRegister r:12
pop
push 'application/x-www-form-urlencoded'
setRegister r:12
pop
push r:4
enumerateValue
label46:
setRegister r:0
push NULL
equals
branchIfTrue label48
push r:0
setRegister r:2
pop
push r:4, r:2
getMember
typeof
push 'object'
equals
not
branchIfTrue label47
push r:4, r:2, r:4, r:2
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode'
callMethod
setMember
label47:
branch label46
label48:
push r:this, '_files'
getMember
not
branchIfTrue label52
push r:this, '_files'
getMember
enumerateValue
label49:
setRegister r:0
push NULL
equals
branchIfTrue label52
push r:0
setRegister r:10
pop
push r:this, '_files'
getMember
push r:10
getMember
setRegister r:5
pop
push r:5, 'data'
getMember
typeof
push 'string'
equals
not
branchIfTrue label50
push r:4, r:10, r:5, 'data'
getMember
setMember
branch label51
label50:
push r:4, r:10, r:5, 'data'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode'
callMethod
setMember
label51:
branch label49
label52:
push r:this, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
push 'push'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleCount', 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleCount'
getMember
increment
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_throttleTimestamp'
getTimer
setMember
push r:12, r:4, r:connection, 'apiURL'
getMember
push 3, r:this, 'startLoader'
callMethod
pop
end // of function
setMember
push r:2, 'startLoader'
function2 (r:4='url', r:2='data', r:3='contentType') (r:1='this')
push r:this, '_loader', 'LoadVars'
getVariable
push r:'data'
cast
setMember
push r:this, '_loader'
getMember
push 'onData', r:this, 'as2CompleteHandler'
getMember
setMember
push r:this, '_loader'
getMember
push 'contentType', r:contentType
setMember
push 'POST', r:this, '_loader'
getMember
push r:url, 3, r:this, '_loader'
getMember
push 'sendAndLoad'
callMethod
pop
push r:this, '_hasTimeout'
getMember
not
branchIfTrue label53
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'TIMEOUT_INTERVAL'
getMember
push r:this, 'onTimeout'
getMember
push r:this, 3, 'setInterval'
callFunction
pop
label53:
end // of function
setMember
push r:2, 'as2CompleteHandler'
function2 (r:4='data') (r:1='this')
push UNDEF
setRegister r:3
pop
push 0.0
setRegister r:2
pop
label54:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label56
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
push r:2
getMember
push '_loader'
getMember
push r:this
equals
not
branchIfTrue label55
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push '_pendingCommands'
getMember
push r:2
getMember
setRegister r:3
pop
branch label56
label55:
push r:2
increment
setRegister r:2
pop
branch label54
label56:
push r:'data', 1, r:3, 'onComplete'
callMethod
pop
end // of function
setMember
push r:2, 'onTimeout'
function2 ('event') (r:1='this')
push 0.0, r:this, 'close'
callMethod
pop
push 'Command timed out.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_TIMED_OUT'
getMember
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'COMMAND_COMPLETE'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:2, 'onError'
function2 (r:2='error') (r:1='this')
push r:error, 'Error when sending command:', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_UNKNOWN'
getMember
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'COMMAND_COMPLETE'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
push 0.0, r:this, 'close'
callMethod
pop
end // of function
setMember
push r:2, 'onComplete'
function2 (r:3='data') (r:1='this')
try 'e'
push r:'data'
not
dup
branchIfTrue label57
pop
push r:'data', ''
equals
label57:
not
branchIfTrue label58
push 0.0, 'Error'
new
throw
label58:
push r:'data', 'Received packet:', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logInternal'
callMethod
pop
push r:'data', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'decode'
callMethod
setRegister r:2
pop
push r:2
not
not
branchIfTrue label59
push 0.0, 'Error'
new
throw
label59:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'bridge'
getMember
not
branchIfTrue label60
push r:2, r:2, 'command_id'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'bridge'
getMember
push 'sendEvent'
callMethod
pop
label60:
push r:2
dup
not
branchIfTrue label61
pop
push r:2, 'success'
getMember
label61:
branchIfTrue label62
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_COMMAND_FAILED'
getMember
branch label63
label62:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_NONE'
getMember
label63:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'COMMAND_COMPLETE'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
branch label64
catch
push 'Invalid response returned from server: ', r:'data'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_BAD_RESPONSE'
getMember
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'COMMAND_COMPLETE'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
label64:
end // of try
push 0.0, r:this, 'close'
callMethod
pop
end // of function
setMember
push r:1, 'TIMEOUT_INTERVAL', 10000
setMember
push r:1, 'THROTTLE_INTERVAL', 10050
setMember
push r:1, 'THROTTLE_TICK_INTERVAL', 1000
setMember
push r:1, 'THROTTLE_THRESHOLD', 24
setMember
push r:1, '_throttleCount', 0.0
setMember
push r:1, '_commandQueue', 0.0
initArray
setMember
push r:1, '_throttleTimer', 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'THROTTLE_TICK_INTERVAL'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'onThrottleTimer'
getMember
push 2, 'setInterval'
callFunction
setMember
push r:1, 'ENCRYPTOR_RADIX', '/g8236klvBQ#&|;Zb*7CEA59%s`Oue1wziFp$rDVY@TKxUPWytSaGHJ>dmoMR^<0~4qNLhc(I+fjn)X'
setMember
push r:1, '_encryptor', 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'ENCRYPTOR_RADIX'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'BaseN'
newMethod
setMember
push r:1, '_pendingCommands', 0.0
initArray
setMember
push r:1, 'CRLF', '\r\n'
setMember
push r:2, '__set__command'
getMember
push r:2, '__get__command'
getMember
push 'command', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__hasSecureParameters'
getMember
push 'hasSecureParameters', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__hasTimeout'
getMember
push r:2, '__get__hasTimeout'
getMember
push 'hasTimeout', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__parameters'
getMember
push r:2, '__get__parameters'
getMember
push 'parameters', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__preventCache'
getMember
push r:2, '__get__preventCache'
getMember
push 'preventCache', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__secureParameters'
getMember
push r:2, '__get__secureParameters'
getMember
push 'secureParameters', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label65:
pop
end // of initMovieClip 33
defineMovieClip 28 // total frames: 0
end // of defineMovieClip 28
exportAssets
28 as '__Packages.com.newgrounds.Bridge'
end // of exportAssets
initMovieClip 28
constants '_global', 'com', 'Object', 'newgrounds', 'Bridge', '_widgetId', '_inConnection', 'LocalConnection', '_outConnection', 'receiveEvent', 'rec_', 'connect', 'target', 'func', 'onLogMessage', 'APIEvent', 'LOG', 'Logger', 'addEventListener', 'prototype', '__get__data', 'trace', 'sendEvent', 'send', 'data', 'onStatus', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'Bridge'
getMember
not
not
branchIfTrue label6
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Bridge'
function2 (r:4='id') (r:1='this')
push r:this, '_widgetId', r:id
setMember
push r:this, '_inConnection', 0.0, 'LocalConnection'
new
setMember
push r:this, '_outConnection', 0.0, 'LocalConnection'
new
setMember
push r:this, '_inConnection'
getMember
push 'receiveEvent', r:this, 'receiveEvent'
getMember
setMember
try 'error'
push 'rec_', r:this, '_widgetId'
getMember
add
push 1, r:this, '_inConnection'
getMember
push 'connect'
callMethod
pop
branch label3
label3:
end // of try
push 'target', r:this, 'func', r:this, 'onLogMessage'
getMember
push 2
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'LOG'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'addEventListener'
callMethod
pop
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, 'onLogMessage'
function2 (r:2='event') (r:1='this')
try 'error'
push 0.0, r:event, '__get__data'
callMethod
toString
push 'trace', 'sendEvent', r:this, '_widgetId'
getMember
push 4, r:this, '_outConnection'
getMember
push 'send'
callMethod
pop
branch label4
label4:
end // of try
end // of function
setMember
push r:2, 'sendEvent'
function2 (r:4='command', r:2='parameters') (r:1='this')
push r:this, '_outConnection'
getMember
not
branchIfTrue label5
push 'data', r:parameters, 1
initObject
setRegister r:parameters
pop
push r:parameters, r:command, 'sendEvent', r:this, '_widgetId'
getMember
push 4, r:this, '_outConnection'
getMember
push 'send'
callMethod
pop
label5:
end // of function
setMember
push r:2, 'receiveEvent'
function ('event', 'parameters')
end // of function
setMember
push r:2, 'onStatus'
function ('event')
end // of function
setMember
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'Bridge'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label6:
pop
end // of initMovieClip 28
defineMovieClip 25 // total frames: 0
end // of defineMovieClip 25
exportAssets
25 as '__Packages.com.newgrounds.APIEvent'
end // of exportAssets
initMovieClip 25
constants '_global', 'com', 'Object', 'newgrounds', 'APIEvent', '', 'ERROR_NONE', '_error', '_success', '_data', 'Event', 'prototype', 'clone', '__get__type', '__get__success', '__get__data', '__get__error', 'COMMAND_COMPLETE', 'commandComplete', 'MEDAL_UNLOCK_CONFIRMED', 'medalUnlockConfirmed', 'ICON_LOADED', 'iconLoaded', 'API_CONNECTED', 'movieConnected', 'LOG', 'log', 'MEDAL_UNLOCKED', 'medalUnlocked', 'SCORES_LOADED', 'scoresLoaded', 'SCORE_POSTED', 'scorePosted', 'QUERY_COMPLETE', 'queryComplete', 'FILE_LOADED', 'fileLoaded', 'FILE_SAVED', 'fileSaved', 'FILE_REQUESTED', 'fileRequested', 'VOTE_COMPLETE', 'voteComplete', 'noError', 'ERROR_UNKNOWN', 'unknownError', 'ERROR_COMMAND_FAILED', 'commandFailed', 'ERROR_NOT_CONNECTED', 'notConnected', 'ERROR_INVALID_ARGUMENT', 'invalidArgument', 'ERROR_TIMED_OUT', 'timedOut', 'ERROR_BAD_FILE', 'badFile', 'ERROR_BAD_RESPONSE', 'badResponse', 'ERROR_SENDING_COMMAND', 'errorSendingCommand', 'ERROR_HOST_BLOCKED', 'hostBlocked', 'ERROR_ALREADY_VOTED', 'alreadyVoted', 'ERROR_NOT_LOGGED_IN', 'notLoggedIn', 'ERROR_WRONG_ENCRYPTION_KEY', 'wrongEncryptionKey', 'data', 'addProperty', 'error', 'success', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'APIEvent'
getMember
not
not
branchIfTrue label11
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
function2 (r:5='type', r:4='data', r:3='error') (r:1='this', r:2='super')
push r:type, 1, r:super, UNDEF
callMethod
pop
push r:'data', UNDEF
equals
not
branchIfTrue label3
push NULL
setRegister r:'data'
pop
label3:
push r:error, UNDEF
equals
not
branchIfTrue label4
push NULL
setRegister r:error
pop
label4:
push r:error
not
dup
branchIfTrue label5
pop
push r:error, ''
equals
label5:
dup
branchIfTrue label6
pop
push r:error, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_NONE'
getMember
equals
label6:
not
branchIfTrue label7
push r:this, '_error', 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_NONE'
getMember
setMember
push r:this, '_success', TRUE
setMember
branch label8
label7:
push r:this, '_error', r:error
setMember
push r:this, '_success', FALSE
setMember
label8:
push r:'data'
not
branchIfTrue label9
push r:this, '_data', r:'data'
setMember
branch label10
label9:
push r:this, '_data', 0.0
initObject
setMember
label10:
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Event'
getMember
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, 'clone'
function2 () (r:1='this')
push r:this, '_error'
getMember
push r:this, '_data'
getMember
push 0.0, r:this, '__get__type'
callMethod
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
return
end // of function
setMember
push r:2, '__get__success'
function2 () (r:1='this')
push r:this, '_success'
getMember
return
end // of function
setMember
push r:2, '__get__data'
function2 () (r:1='this')
push r:this, '_data'
getMember
return
end // of function
setMember
push r:2, '__get__error'
function2 () (r:1='this')
push r:this, '_error'
getMember
return
end // of function
setMember
push r:1, 'COMMAND_COMPLETE', 'commandComplete'
setMember
push r:1, 'MEDAL_UNLOCK_CONFIRMED', 'medalUnlockConfirmed'
setMember
push r:1, 'ICON_LOADED', 'iconLoaded'
setMember
push r:1, 'API_CONNECTED', 'movieConnected'
setMember
push r:1, 'LOG', 'log'
setMember
push r:1, 'MEDAL_UNLOCKED', 'medalUnlocked'
setMember
push r:1, 'SCORES_LOADED', 'scoresLoaded'
setMember
push r:1, 'SCORE_POSTED', 'scorePosted'
setMember
push r:1, 'QUERY_COMPLETE', 'queryComplete'
setMember
push r:1, 'FILE_LOADED', 'fileLoaded'
setMember
push r:1, 'FILE_SAVED', 'fileSaved'
setMember
push r:1, 'FILE_REQUESTED', 'fileRequested'
setMember
push r:1, 'VOTE_COMPLETE', 'voteComplete'
setMember
push r:1, 'ERROR_NONE', 'noError'
setMember
push r:1, 'ERROR_UNKNOWN', 'unknownError'
setMember
push r:1, 'ERROR_COMMAND_FAILED', 'commandFailed'
setMember
push r:1, 'ERROR_NOT_CONNECTED', 'notConnected'
setMember
push r:1, 'ERROR_INVALID_ARGUMENT', 'invalidArgument'
setMember
push r:1, 'ERROR_TIMED_OUT', 'timedOut'
setMember
push r:1, 'ERROR_BAD_FILE', 'badFile'
setMember
push r:1, 'ERROR_BAD_RESPONSE', 'badResponse'
setMember
push r:1, 'ERROR_SENDING_COMMAND', 'errorSendingCommand'
setMember
push r:1, 'ERROR_HOST_BLOCKED', 'hostBlocked'
setMember
push r:1, 'ERROR_ALREADY_VOTED', 'alreadyVoted'
setMember
push r:1, 'ERROR_NOT_LOGGED_IN', 'notLoggedIn'
setMember
push r:1, 'ERROR_WRONG_ENCRYPTION_KEY', 'wrongEncryptionKey'
setMember
function ()
end // of function
push r:2, '__get__data'
getMember
push 'data', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__error'
getMember
push 'error', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__success'
getMember
push 'success', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label11:
pop
end // of initMovieClip 25
defineMovieClip 44 // total frames: 0
end // of defineMovieClip 44
exportAssets
44 as '__Packages.com.newgrounds.API'
end // of exportAssets
initMovieClip 44
constants '_global', 'com', 'Object', 'newgrounds', 'API', 'prototype', '__get__connected', '_connection', '__get__isNetworkHost', '__get__apiId', 'assertInitialized', 'apiId', '__get__debugMode', '_debugMode', '__set__debugMode', '__get__publisherId', 'publisherId', '__get__sessionId', 'sessionId', '__get__hostDomain', 'hostDomain', '__get__hostURL', '__get__isNewgrounds', '__get__hasUserSession', '__get__username', 'username', '__get__userId', 'userId', 'assertConnected', 'APIEvent', 'ERROR_NOT_CONNECTED', 'dispatchEvent', '__get__adsApproved', '_adsApproved', '__get__adFeedURL', '_adFeedURL', '__get__medals', '_medalsArray', '__get__scoreBoards', '_scoreBoardsArray', '__get__saveGroups', '_saveGroupsArray', 'connect', '', '_dispatcher', 'APIEventDispatcher', '__set__globalDispatcher', 'http://apifiles.ngfiles.com/crossdomain.xml', 'System', 'security', 'loadPolicyFile', 'initialized', 'Connection already in progress. Please call API.disconnect() before attempting another connection.', 'Logger', 'logError', 'API_CONNECTED', 'trimWhitespace', 'No apiId given. Please use the API ID from your API settings page.', 'ERROR_INVALID_ARGUMENT', '====== Newgrounds API v', 'VERSION', ' ======', 'logMessage', 'connectionState', 'APIConnection', 'CONNECTING', '_movieVersion', ':', 'indexOf', 'trackerId', 'substring', 'Invalid API ID: ', 'encryptionKey', '_url', '__set__hostURL', 'doConnect', 'RELEASE_MODE', 'Live file detected, turning off debug mode.', 'NewgroundsAPI_SandboxID', '_bridge', 'Bridge', 'APICommand', 'bridge', 'NewgroundsAPI_UserName', 'NewgroundsAPI_UserID', 'NewgroundsAPI_PublisherID', 'NewgroundsAPI_UserpageFormat', 'userpageFormat', 'NewgroundsAPI_SessionID', 'NewgroundsAPI_SaveGroupID', '_requestedSaveGroupId', 'NewgroundsAPI_SaveFileID', '_requestedSaveFileId', 'debug', 'DEBUG_MODE_LOGGED_IN', 'DEBUG_MODE_LOGGED_OUT', 'D3bu64p1U53R', 'API-Debugger', 'host', 'movie_version', 'publisher_id', 'onConnect', 'connectMovie', 'sendSimpleCommand', '__get__data', '__get__success', 'Unable to connect to the API.', 'reset', '__get__error', 'TEST_AD_FEED_URL', 'ad_url', 'unescape', 'ad_status', 'Your movie is not approved to run Flash Ads.', 'logWarning', 'Your movie is still awaiting approval to run Flash Ads.', 'Your movie is approved to run Flash Ads!', 'DEBUG_MODE_HOST_BLOCKED', 'deny_host', 'Update your API configuration to allow this host.', ' does not have permission to host this movie!', 'ERROR_HOST_BLOCKED', 'officialURL', 'movie_url', '_movieName', 'movieName', '----- ', 'movie_name', ' -----', 'Connecting to the Newgrounds API Gateway...', 'DEBUG_MODE_NEW_VERSION', 'Debug Mode', 'Use API.loadOfficialVersion() to link to the latest version.', 'Newest version:\t', 'Current version:\t', 'A new version of this movie is available.', '_newVersion', 'request_portal_url', 'portal_url', 'setPortalID', 'user_id', 'onMetadataLoaded', 'preloadSettings', 'Unable to load movie metadata.', 'disconnect', 'medals', 'length', 'medals_unlocked_', 'loadLocal', 'medals_unlocked', 'medal_unlocked', 'medal_id', 'medal_icon', 'medal_difficulty', 'medal_value', 'medal_name', 'Medal', 'onMedalUnlocked', 'MEDAL_UNLOCKED', 'addEventListener', 'onMedalUnlockConfirmed', 'MEDAL_UNLOCK_CONFIRMED', '_medals', '__get__name', 'push', 'Server missed the "', '" unlock. Resending...', 'unlock', ' medal', 's', ' initialized.', 'score_boards', 'id', 'name', 'ScoreBoard', '_scoreBoards', ' scoreboard', 'save_groups', 'keys', 'type', 'SaveKey', 'ratings', 'max', 'min', 'float', 'SaveRating', 'group_type', 'group_id', 'group_name', 'SaveGroup', '_saveGroups', ' save group', 'save_file_path', '_saveFilePath', '/', 'SaveFile', 'Save file path: ', 'logInternal', 'image_file_path', '_imageFilePath', 'Image file path: ', 'Connection complete!', 'CONNECTED', 'newVersion', 'onRequestedFileLoaded', 'FILE_LOADED', 'loadSaveFile', 'The Newgrounds API is already disconnected.', 'removeEventListener', '_sharedObjects', 'Disconnected from the Newgrounds API.', 'loadNewgrounds', 'loadInBrowser', 'loadOfficialVersion', 'loadMySite', 'loadCustomLink', 'link', 'getMedal', 'unlockMedal', 'No medal named "', '" w.', '__get__id', 'saveLocal', 'User instanceof not logged in. Medal "', '" unlocked locally.', 'getScoreBoard', 'loadScores', 'All-Time', 'No scoreboard named "', 'SCORES_LOADED', '__set__period', '__set__firstResult', '__set__numResults', '__set__tag', 'postScore', 'The user must be logged-in to post a score.', 'ERROR_NOT_LOGGED_IN', 'SCORE_POSTED', 'getSaveGroup', 'getSaveGroupById', 'createSaveFile', 'The save group "', '" w found.', 'save_id', 'get_contents', 'onFileLoaded', 'file', 'fromObject', 'load', 'Unable to load file:', 'createSaveQuery', 'SaveQuery', 'createSaveQueryByDate', 'CREATED_ON', 'sortOn', 'createSaveQueryByName', 'OPERATOR_CONTAINS', 'OPERATOR_EQUAL', 'FILE_NAME', 'addCondition', 'createSaveQueryByRating', 'FILE_REQUESTED', 'ng_ap_secure_', '_', 'crypto', 'RC4', 'encrypt', 'SharedObject', 'getLocal', 'data', 'encodeData', 'Error', 'error', 'Unable to save local data.', 'decodeData', 'Unable to load local data.', 'logCustomEvent', 'Logged event: ', 'event', 'encoders', 'json', 'JSON', 'encode', 'decrypt', 'decode', 'stopPendingCommands', 'Pending commands stopped.', 'setFont', 'getTextFormat', 'embedFonts', 'TextFormat', 'setNewTextFormat', 'setTextFormat', 'textWidth', 'antiAliasType', 'advanced', 'sharpness', 'charAt', ' ', 'slice', '3.0.5.3 beta AS2', 'releaseMode', 'debugModeLoggedIn', 'debugModeLoggedOut', 'debugModeNewVersion', 'debugModeHostBlocked', 'http://www.ngads.com/adtest.php', 'adFeedURL', 'addProperty', 'adsApproved', 'connected', 'debugMode', 'hasUserSession', 'hostURL', 'isNetworkHost', 'isNewgrounds', 'saveGroups', 'scoreBoards', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'API'
getMember
not
not
branchIfTrue label150
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
function ()
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:1, '__get__connected'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push '__get__connected'
callMethod
return
end // of function
setMember
push r:1, '__get__isNetworkHost'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push '__get__isNetworkHost'
callMethod
return
end // of function
setMember
push r:1, '__get__apiId'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'apiId'
getMember
return
end // of function
setMember
push r:1, '__get__debugMode'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode'
getMember
return
end // of function
setMember
push r:1, '__set__debugMode'
function2 (r:1='val') ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode', r:val
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__debugMode'
callMethod
return
pop
end // of function
setMember
push r:1, '__get__publisherId'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'publisherId'
getMember
return
end // of function
setMember
push r:1, '__get__sessionId'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'sessionId'
getMember
return
end // of function
setMember
push r:1, '__get__hostDomain'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'hostDomain'
getMember
return
end // of function
setMember
push r:1, '__get__hostURL'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
pop
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push '__get__hostURL'
callMethod
return
end // of function
setMember
push r:1, '__get__isNewgrounds'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'publisherId'
getMember
push 1
equals
return
end // of function
setMember
push r:1, '__get__hasUserSession'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
pop
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push '__get__hasUserSession'
callMethod
return
end // of function
setMember
push r:1, '__get__username'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'username'
getMember
return
end // of function
setMember
push r:1, '__get__userId'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'userId'
getMember
return
end // of function
setMember
push r:1, 'assertConnected'
function2 (r:1='eventType') ()
push r:eventType, UNDEF
equals
not
branchIfTrue label3
push NULL
setRegister r:eventType
pop
label3:
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertConnected'
callMethod
not
branchIfTrue label4
push TRUE
return
branch label6
label4:
push r:eventType
not
branchIfTrue label5
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_NOT_CONNECTED'
getMember
push NULL, r:eventType, 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
label5:
push FALSE
return
label6:
end // of function
setMember
push r:1, '__get__adsApproved'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_adsApproved'
getMember
return
end // of function
setMember
push r:1, '__get__adFeedURL'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_adFeedURL'
getMember
return
end // of function
setMember
push r:1, '__get__medals'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medalsArray'
getMember
return
end // of function
setMember
push r:1, '__get__scoreBoards'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_scoreBoardsArray'
getMember
return
end // of function
setMember
push r:1, '__get__saveGroups'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveGroupsArray'
getMember
return
end // of function
setMember
push r:1, 'connect'
function2 (r:1='_root', r:2='apiId', r:3='encryptionKey', r:5='movieVersion') (r:1='_root')
push r:encryptionKey, UNDEF
equals
not
branchIfTrue label7
push NULL
setRegister r:encryptionKey
pop
label7:
push r:movieVersion, UNDEF
equals
not
branchIfTrue label8
push ''
setRegister r:movieVersion
pop
label8:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_dispatcher'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
push '__set__globalDispatcher'
callMethod
pop
push 'http://apifiles.ngfiles.com/crossdomain.xml', 1, 'System'
getVariable
push 'security'
getMember
push 'loadPolicyFile'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'initialized'
getMember
not
branchIfTrue label9
push 'Connection already in progress. Please call API.disconnect() before attempting another connection.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_NOT_CONNECTED'
getMember
push FALSE, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push UNDEF
return
label9:
push r:apiId, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'trimWhitespace'
callMethod
setRegister r:apiId
pop
push r:encryptionKey
not
branchIfTrue label10
push r:encryptionKey, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'trimWhitespace'
callMethod
setRegister r:encryptionKey
pop
label10:
push r:apiId
not
dup
branchIfTrue label11
pop
push r:apiId, ''
equals
label11:
not
branchIfTrue label12
push 'No apiId given. Please use the API ID from your API settings page.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_INVALID_ARGUMENT'
getMember
push FALSE, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push UNDEF
return
label12:
push '====== Newgrounds API v', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'VERSION'
getMember
add
push ' ======'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'connectionState', 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
getMember
push 'CONNECTING'
getMember
setMember
push r:_root
setRegister r:_root
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_movieVersion', r:movieVersion
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'apiId', r:apiId
setMember
push UNDEF
setRegister r:4
pop
push ':', 1, r:apiId, 'indexOf'
callMethod
setRegister r:4
pop
push r:4, -1
equals
not
not
branchIfTrue label13
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'trackerId', r:4, 0.0, 2, r:apiId, 'substring'
callMethod
int
setMember
branch label14
label13:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'trackerId', r:apiId
int
setMember
label14:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'trackerId'
getMember
not
not
branchIfTrue label15
push 'Invalid API ID: ', r:apiId
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_INVALID_ARGUMENT'
getMember
push FALSE, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push UNDEF
return
label15:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'encryptionKey', r:encryptionKey
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'initialized', TRUE
setMember
push r:_root, '_url'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push '__set__hostURL'
callMethod
pop
push r:_root, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'doConnect'
callMethod
pop
end // of function
setMember
push r:1, 'doConnect'
function2 (r:1='flashVars') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__isNetworkHost'
callMethod
dup
not
branchIfTrue label16
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'RELEASE_MODE'
getMember
equals
not
label16:
not
branchIfTrue label17
push 'Live file detected, turning off debug mode.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'RELEASE_MODE'
getMember
setMember
label17:
push r:flashVars
dup
not
branchIfTrue label18
pop
push r:flashVars, 'NewgroundsAPI_SandboxID'
getMember
label18:
not
branchIfTrue label19
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_bridge', r:flashVars, 'NewgroundsAPI_SandboxID'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Bridge'
newMethod
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'bridge', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_bridge'
getMember
setMember
label19:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'RELEASE_MODE'
getMember
equals
not
branchIfTrue label27
push r:flashVars
not
branchIfTrue label26
push r:flashVars, 'NewgroundsAPI_UserName'
getMember
not
branchIfTrue label20
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'username', r:flashVars, 'NewgroundsAPI_UserName'
getMember
setMember
label20:
push r:flashVars, 'NewgroundsAPI_UserID'
getMember
not
branchIfTrue label21
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'userId', r:flashVars, 'NewgroundsAPI_UserID'
getMember
setMember
label21:
push r:flashVars, 'NewgroundsAPI_PublisherID'
getMember
not
branchIfTrue label22
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'publisherId', r:flashVars, 'NewgroundsAPI_PublisherID'
getMember
setMember
label22:
push r:flashVars, 'NewgroundsAPI_UserpageFormat'
getMember
not
branchIfTrue label23
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'userpageFormat', r:flashVars, 'NewgroundsAPI_UserpageFormat'
getMember
setMember
label23:
push r:flashVars, 'NewgroundsAPI_SessionID'
getMember
not
branchIfTrue label24
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'sessionId', r:flashVars, 'NewgroundsAPI_SessionID'
getMember
setMember
label24:
push r:flashVars, 'NewgroundsAPI_SaveGroupID'
getMember
not
branchIfTrue label25
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_requestedSaveGroupId', r:flashVars, 'NewgroundsAPI_SaveGroupID'
getMember
setMember
label25:
push r:flashVars, 'NewgroundsAPI_SaveFileID'
getMember
not
branchIfTrue label26
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_requestedSaveFileId', r:flashVars, 'NewgroundsAPI_SaveFileID'
getMember
setMember
label26:
branch label30
label27:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'debug', TRUE
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'DEBUG_MODE_LOGGED_IN'
getMember
equals
dup
branchIfTrue label28
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'DEBUG_MODE_LOGGED_OUT'
getMember
equals
label28:
not
branchIfTrue label29
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'publisherId', 1
setMember
label29:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'DEBUG_MODE_LOGGED_IN'
getMember
equals
not
branchIfTrue label30
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'sessionId', 'D3bu64p1U53R'
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'userId', 10
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'username', 'API-Debugger'
setMember
label30:
push 'host', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'hostDomain'
getMember
push 'movie_version', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_movieVersion'
getMember
push 'publisher_id', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'publisherId'
getMember
push 3
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onConnect'
getMember
push 'connectMovie', 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
end // of function
setMember
push r:1, 'onConnect'
function2 (r:2='event') ()
push 0.0, r:event, '__get__data'
callMethod
setRegister r:1
pop
push 0.0, r:event, '__get__success'
callMethod
not
not
branchIfTrue label31
push 'Unable to connect to the API.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'reset'
callMethod
pop
push 0.0, r:event, '__get__error'
callMethod
push 0.0, r:event, '__get__data'
callMethod
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push UNDEF
return
label31:
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__debugMode'
callMethod
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'RELEASE_MODE'
getMember
equals
not
not
branchIfTrue label32
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_adFeedURL', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'TEST_AD_FEED_URL'
getMember
setMember
branch label33
label32:
push r:1, 'ad_url'
getMember
not
branchIfTrue label33
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_adFeedURL', r:1, 'ad_url'
getMember
push 1, 'unescape'
callFunction
setMember
label33:
push r:1, 'ad_status'
getMember
setRegister r:0
push -1
strictEquals
branchIfTrue label34
push r:0, 0.0
strictEquals
branchIfTrue label35
push r:0, 1
strictEquals
branchIfTrue label36
branch label37
label34:
push 'Your movie is not approved to run Flash Ads.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
branch label37
label35:
push 'Your movie is still awaiting approval to run Flash Ads.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
branch label37
label36:
push 'Your movie is approved to run Flash Ads!', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
branch label37
label37:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_adsApproved', r:1, 'ad_status'
getMember
push 1
equals
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'DEBUG_MODE_HOST_BLOCKED'
getMember
equals
dup
branchIfTrue label38
pop
push r:1, 'deny_host'
getMember
label38:
not
branchIfTrue label39
push 'Update your API configuration to allow this host.', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'hostDomain'
getMember
push ' does not have permission to host this movie!'
add
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_HOST_BLOCKED'
getMember
push 'officialURL', r:1, 'movie_url'
getMember
push 1, 'unescape'
callFunction
push 1
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'reset'
callMethod
pop
push UNDEF
return
label39:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_movieName', r:1, 'movieName'
getMember
branchIfTrue label40
push ''
branch label41
label40:
push r:1, 'movieName'
getMember
label41:
setMember
push '----- ', r:1, 'movie_name'
getMember
add
push ' -----'
add
push 'Connecting to the Newgrounds API Gateway...', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_debugMode'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'DEBUG_MODE_NEW_VERSION'
getMember
equals
not
branchIfTrue label42
push r:1, 'movie_version', 'Debug Mode'
setMember
label42:
push r:1, 'movie_version'
getMember
not
branchIfTrue label43
push 'Use API.loadOfficialVersion() to link to the latest version.', 'Newest version:\t', r:1, 'movie_version'
getMember
add
push 'Current version:\t', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_movieVersion'
getMember
add
push 'A new version of this movie is available.', 4, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_newVersion', TRUE
setMember
branch label44
label43:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_newVersion', FALSE
setMember
label44:
push r:1, 'request_portal_url'
getMember
not
branchIfTrue label45
push 'portal_url', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push '__get__hostURL'
callMethod
push 1
initObject
push NULL, 'setPortalID', 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
label45:
push 'publisher_id', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'publisherId'
getMember
push 'user_id', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'userId'
getMember
push 2
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onMetadataLoaded'
getMember
push 'preloadSettings', 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
end // of function
setMember
push r:1, 'onMetadataLoaded'
function2 (r:18='event') ()
push 0.0, r:event, '__get__data'
callMethod
setRegister r:11
pop
push UNDEF
setRegister r:1
pop
push UNDEF
setRegister r:7
pop
push 0.0, r:event, '__get__success'
callMethod
not
not
branchIfTrue label46
push 'Unable to load movie metadata.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'disconnect'
callMethod
pop
push 0.0, r:event, '__get__error'
callMethod
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push UNDEF
return
label46:
push 0.0
setRegister r:10
pop
push r:11, 'medals'
getMember
not
branchIfTrue label56
push r:11, 'medals'
getMember
push 'length'
getMember
setRegister r:10
pop
push UNDEF
setRegister r:17
pop
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__hasUserSession'
callMethod
not
branchIfTrue label47
push 'medals_unlocked_', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__username'
callMethod
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'loadLocal'
callMethod
setRegister r:17
pop
branch label48
label47:
push 'medals_unlocked', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'loadLocal'
callMethod
setRegister r:17
pop
label48:
push 0.0
setRegister r:1
pop
label49:
push r:1, r:10
lessThan
not
branchIfTrue label56
push r:11, 'medals'
getMember
push r:1
getMember
setRegister r:6
pop
push r:6, 'medal_unlocked'
getMember
setRegister r:14
pop
push r:17
dup
not
branchIfTrue label50
pop
push r:17, r:6, 'medal_id'
getMember
getMember
label50:
setRegister r:16
pop
push r:6, 'medal_icon'
getMember
push r:6, 'medal_difficulty'
getMember
push r:6, 'medal_value'
getMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__hasUserSession'
callMethod
branchIfTrue label51
push r:16
branch label52
label51:
push r:14
label52:
push r:6, 'medal_name'
getMember
push r:6, 'medal_id'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
newMethod
setRegister r:4
pop
push TRUE, 0.0, FALSE, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onMedalUnlocked'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'MEDAL_UNLOCKED'
getMember
push 5, r:4, 'addEventListener'
callMethod
pop
push TRUE, 0.0, FALSE, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onMedalUnlockConfirmed'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'MEDAL_UNLOCK_CONFIRMED'
getMember
push 5, r:4, 'addEventListener'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medals'
getMember
push 0.0, r:4, '__get__name'
callMethod
push r:4
setMember
push r:4, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medalsArray'
getMember
push 'push'
callMethod
pop
push r:4, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__hasUserSession'
callMethod
dup
not
branchIfTrue label53
pop
push r:16
label53:
dup
not
branchIfTrue label54
pop
push r:14
not
label54:
not
branchIfTrue label55
push 'Server missed the "', 0.0, r:4, '__get__name'
callMethod
add
push '" unlock. Resending...'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 0.0, r:4, 'unlock'
callMethod
pop
label55:
push r:1
increment
setRegister r:1
pop
branch label49
label56:
push r:10, ' medal'
add
push r:10, 1
equals
not
branchIfTrue label57
push ''
branch label58
label57:
push 's'
label58:
add
push ' initialized.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 0.0
setRegister r:10
pop
push r:11, 'score_boards'
getMember
not
branchIfTrue label60
push r:11, 'score_boards'
getMember
push 'length'
getMember
setRegister r:10
pop
push 0.0
setRegister r:1
pop
label59:
push r:1, r:10
lessThan
not
branchIfTrue label60
push r:11, 'score_boards'
getMember
push r:1
getMember
setRegister r:15
pop
push r:15, 'id'
getMember
push r:15, 'name'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'ScoreBoard'
newMethod
setRegister r:9
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_scoreBoards'
getMember
push 0.0, r:9, '__get__name'
callMethod
push r:9
setMember
push r:9, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_scoreBoardsArray'
getMember
push 'push'
callMethod
pop
push r:9, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push r:1
increment
setRegister r:1
pop
branch label59
label60:
push r:10, ' scoreboard'
add
push r:10, 1
equals
not
branchIfTrue label61
push ''
branch label62
label61:
push 's'
label62:
add
push ' initialized.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 0.0
setRegister r:10
pop
push r:11, 'save_groups'
getMember
not
branchIfTrue label68
push r:11, 'save_groups'
getMember
push 'length'
getMember
setRegister r:10
pop
push 0.0
setRegister r:1
pop
label63:
push r:1, r:10
lessThan
not
branchIfTrue label68
push r:11, 'save_groups'
getMember
push r:1
getMember
setRegister r:2
pop
push 0.0
initArray
setRegister r:13
pop
push r:2, 'keys'
getMember
not
branchIfTrue label65
push 0.0
setRegister r:7
pop
label64:
push r:7, r:2, 'keys'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label65
push r:2, 'keys'
getMember
push r:7
getMember
setRegister r:5
pop
push r:5, 'type'
getMember
push r:5, 'id'
getMember
push r:5, 'name'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveKey'
newMethod
push 1, r:13, 'push'
callMethod
pop
push r:7
increment
setRegister r:7
pop
branch label64
label65:
push 0.0
initArray
setRegister r:12
pop
push r:2, 'ratings'
getMember
not
branchIfTrue label67
push 0.0
setRegister r:1
pop
label66:
push r:1, r:2, 'ratings'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label67
push r:2, 'ratings'
getMember
push r:1
getMember
setRegister r:3
pop
push r:3, 'max'
getMember
push r:3, 'min'
getMember
push r:3, 'float'
getMember
push r:3, 'id'
getMember
push r:3, 'name'
getMember
push 5, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveRating'
newMethod
push 1, r:12, 'push'
callMethod
pop
push r:1
increment
setRegister r:1
pop
branch label66
label67:
push r:12, r:13, r:2, 'group_type'
getMember
push r:2, 'group_id'
getMember
push r:2, 'group_name'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 6, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveGroup'
newMethod
setRegister r:8
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveGroups'
getMember
push 0.0, r:8, '__get__name'
callMethod
push r:8
setMember
push r:8, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveGroupsArray'
getMember
push 'push'
callMethod
pop
push r:8, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push r:1
increment
setRegister r:1
pop
branch label63
label68:
push r:10, ' save group'
add
push r:10, 1
equals
not
branchIfTrue label69
push ''
branch label70
label69:
push 's'
label70:
add
push ' initialized.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push r:11, 'save_file_path'
getMember
not
branchIfTrue label71
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveFilePath', r:11, 'save_file_path'
getMember
push '/'
add
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push '_saveFilePath', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveFilePath'
getMember
setMember
push 'Save file path: ', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveFilePath'
getMember
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logInternal'
callMethod
pop
label71:
push r:11, 'image_file_path'
getMember
not
branchIfTrue label72
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_imageFilePath', r:11, 'image_file_path'
getMember
push '/'
add
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push '_imageFilePath', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_imageFilePath'
getMember
setMember
push 'Image file path: ', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_imageFilePath'
getMember
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logInternal'
callMethod
pop
label72:
push 'Connection complete!', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'connectionState', 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
getMember
push 'CONNECTED'
getMember
setMember
push 'movieName', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_movieName'
getMember
push 'newVersion', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_newVersion'
getMember
push 2
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_requestedSaveFileId'
getMember
dup
not
branchIfTrue label73
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_requestedSaveGroupId'
getMember
label73:
not
branchIfTrue label74
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onRequestedFileLoaded'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_LOADED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'addEventListener'
callMethod
pop
push FALSE, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_requestedSaveFileId'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'loadSaveFile'
callMethod
pop
label74:
end // of function
setMember
push r:1, 'disconnect'
function2 () ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push '__get__connected'
callMethod
not
not
branchIfTrue label75
push 'The Newgrounds API is already disconnected.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
push UNDEF
return
label75:
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'reset'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medals'
getMember
enumerateValue
label76:
setRegister r:0
push NULL
equals
branchIfTrue label77
push r:0
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medals'
getMember
push r:2
getMember
setRegister r:1
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onMedalUnlocked'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'MEDAL_UNLOCKED'
getMember
push 2, r:1, 'removeEventListener'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onMedalUnlockConfirmed'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'MEDAL_UNLOCK_CONFIRMED'
getMember
push 2, r:1, 'removeEventListener'
callMethod
pop
branch label76
label77:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_newVersion', FALSE
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medals', 0.0, 'Object'
new
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medalsArray', 0.0
initArray
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_scoreBoards', 0.0, 'Object'
new
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_scoreBoardsArray', 0.0
initArray
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveGroups', 0.0, 'Object'
new
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveGroupsArray', 0.0
initArray
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_sharedObjects', 0.0, 'Object'
new
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_imageFilePath', NULL
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveFilePath', NULL
setMember
push 'Disconnected from the Newgrounds API.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
end // of function
setMember
push r:1, 'loadNewgrounds'
function ()
push 'loadNewgrounds', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'loadInBrowser'
callMethod
pop
end // of function
setMember
push r:1, 'loadOfficialVersion'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
not
branchIfTrue label78
push FALSE, 'loadOfficialVersion', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'loadInBrowser'
callMethod
pop
label78:
end // of function
setMember
push r:1, 'loadMySite'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
not
branchIfTrue label79
push 'loadMySite', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'loadInBrowser'
callMethod
pop
label79:
end // of function
setMember
push r:1, 'loadCustomLink'
function2 (r:2='linkName') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
not
branchIfTrue label80
push 'link', r:linkName, 1
initObject
push TRUE, 'loadCustomLink', 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'loadInBrowser'
callMethod
pop
label80:
end // of function
setMember
push r:1, 'getMedal'
function2 (r:1='medalName') ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medals'
getMember
push r:medalName
getMember
return
end // of function
setMember
push r:1, 'unlockMedal'
function2 (r:2='medalName') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'assertConnected'
callMethod
not
not
branchIfTrue label81
push UNDEF
return
label81:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_medals'
getMember
push r:medalName
getMember
setRegister r:1
pop
push r:1
not
not
branchIfTrue label82
push 'No medal named "', r:medalName
add
push '" w.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push UNDEF
return
label82:
push 0.0, r:1, 'unlock'
callMethod
pop
end // of function
setMember
push r:1, 'onMedalUnlocked'
function2 (r:3='event') ()
push 0.0, r:event, '__get__success'
callMethod
not
branchIfTrue label86
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 0.0, r:event, '__get__data'
callMethod
cast
setRegister r:2
pop
push UNDEF
setRegister r:1
pop
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__hasUserSession'
callMethod
not
branchIfTrue label84
push 'medals_unlocked_', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__username'
callMethod
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'loadLocal'
callMethod
setRegister r:1
pop
push r:1
not
not
branchIfTrue label83
push 0.0, 'Object'
new
setRegister r:1
pop
label83:
push r:1, 0.0, r:2, '__get__id'
callMethod
push TRUE
setMember
push r:1, 'medals_unlocked_', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__username'
callMethod
add
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'saveLocal'
callMethod
pop
branch label86
label84:
push 'medals_unlocked', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'loadLocal'
callMethod
setRegister r:1
pop
push r:1
not
not
branchIfTrue label85
push 0.0, 'Object'
new
setRegister r:1
pop
label85:
push r:1, 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 0.0, r:event, '__get__data'
callMethod
cast
push '__get__id'
callMethod
push TRUE
setMember
push r:1, 'medals_unlocked', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'saveLocal'
callMethod
pop
push 'User instanceof not logged in. Medal "', 0.0, r:2, '__get__name'
callMethod
add
push '" unlocked locally.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
label86:
end // of function
setMember
push r:1, 'onMedalUnlockConfirmed'
function2 (r:2='event') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__hasUserSession'
callMethod
not
branchIfTrue label89
push 'medals_unlocked_', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__username'
callMethod
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'loadLocal'
callMethod
setRegister r:1
pop
push r:1
not
not
branchIfTrue label87
push 0.0, 'Object'
new
setRegister r:1
pop
branch label88
label87:
push r:1, 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 0.0, r:event, '__get__data'
callMethod
cast
push '__get__id'
callMethod
delete
pop
label88:
push r:1, 'medals_unlocked_', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__username'
callMethod
add
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'saveLocal'
callMethod
pop
label89:
end // of function
setMember
push r:1, 'getScoreBoard'
function2 (r:1='scoreBoardName') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'assertConnected'
callMethod
not
not
branchIfTrue label90
push NULL
return
label90:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_scoreBoards'
getMember
push r:scoreBoardName
getMember
return
end // of function
setMember
push r:1, 'loadScores'
function2 (r:6='scoreBoardName', r:3='period', r:5='firstResult', r:4='numResults', r:2='tag') ()
push r:period, UNDEF
equals
not
branchIfTrue label91
push 'All-Time'
setRegister r:period
pop
label91:
push r:firstResult, UNDEF
equals
not
branchIfTrue label92
push 1
setRegister r:firstResult
pop
label92:
push r:numResults, UNDEF
equals
not
branchIfTrue label93
push 10
setRegister r:numResults
pop
label93:
push r:tag, UNDEF
equals
not
branchIfTrue label94
push NULL
setRegister r:tag
pop
label94:
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'assertConnected'
callMethod
not
not
branchIfTrue label95
push NULL
return
label95:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_scoreBoards'
getMember
push r:scoreBoardName
getMember
setRegister r:1
pop
push r:1
not
not
branchIfTrue label96
push 'No scoreboard named "', r:scoreBoardName
add
push '" w.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_INVALID_ARGUMENT'
getMember
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'SCORES_LOADED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push NULL
return
label96:
push r:period, 1, r:1, '__set__period'
callMethod
pop
push r:firstResult, 1, r:1, '__set__firstResult'
callMethod
pop
push r:numResults, 1, r:1, '__set__numResults'
callMethod
pop
push r:tag, 1, r:1, '__set__tag'
callMethod
pop
push 0.0, r:1, 'loadScores'
callMethod
pop
push r:1
return
end // of function
setMember
push r:1, 'postScore'
function2 (r:3='scoreBoardName', r:4='numericScore', r:2='tag') ()
push r:tag, UNDEF
equals
not
branchIfTrue label97
push NULL
setRegister r:tag
pop
label97:
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'assertConnected'
callMethod
not
not
branchIfTrue label98
push UNDEF
return
label98:
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__hasUserSession'
callMethod
not
not
branchIfTrue label99
push 'The user must be logged-in to post a score.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_NOT_LOGGED_IN'
getMember
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'SCORE_POSTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push UNDEF
return
label99:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_scoreBoards'
getMember
push r:scoreBoardName
getMember
setRegister r:1
pop
push r:1
not
not
branchIfTrue label100
push 'No scoreboard named "', r:scoreBoardName
add
push '" w.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_INVALID_ARGUMENT'
getMember
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'SCORE_POSTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
push UNDEF
return
label100:
push r:tag, r:numericScore, 2, r:1, 'postScore'
callMethod
pop
end // of function
setMember
push r:1, 'getSaveGroup'
function2 (r:1='groupName') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'assertConnected'
callMethod
not
not
branchIfTrue label101
push NULL
return
label101:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveGroups'
getMember
push r:groupName
getMember
return
end // of function
setMember
push r:1, 'getSaveGroupById'
function2 (r:2='id') ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveGroups'
getMember
enumerateValue
label102:
setRegister r:0
push NULL
equals
branchIfTrue label105
push r:0
setRegister r:3
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_saveGroups'
getMember
push r:3
getMember
setRegister r:1
pop
push 0.0, r:1, '__get__id'
callMethod
push r:id
equals
not
branchIfTrue label104
label103:
push NULL
equals
not
branchIfTrue label103
push r:1
return
label104:
branch label102
label105:
push NULL
return
end // of function
setMember
push r:1, 'createSaveFile'
function2 (r:2='groupName') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'assertConnected'
callMethod
not
not
branchIfTrue label106
push NULL
return
label106:
push r:groupName, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'getSaveGroup'
callMethod
setRegister r:1
pop
push r:1
not
not
branchIfTrue label107
push 'The save group "', r:groupName
add
push '" w found.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push NULL
return
label107:
push r:1, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
newMethod
return
end // of function
setMember
push r:1, 'loadSaveFile'
function2 (r:4='saveId', r:1='loadContents') ()
push r:loadContents, UNDEF
equals
not
branchIfTrue label108
push TRUE
setRegister r:loadContents
pop
label108:
push 'save_id', r:saveId, 'get_contents', r:loadContents, 2
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onFileLoaded'
getMember
push 'loadSaveFile', 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
end // of function
setMember
push r:1, 'onFileLoaded'
function2 (r:1='event') ()
push UNDEF
setRegister r:2
pop
push 0.0, r:event, '__get__success'
callMethod
not
branchIfTrue label111
push 0.0, r:event, '__get__data'
callMethod
push 'file'
getMember
push 0.0, r:event, '__get__data'
callMethod
push 'group_id'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'getSaveGroupById'
callMethod
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'fromObject'
callMethod
setRegister r:2
pop
push 0.0, r:event, '__get__data'
callMethod
push 'get_contents'
getMember
not
branchIfTrue label109
push 0.0, r:2, 'load'
callMethod
pop
branch label110
label109:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_LOADED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
label110:
branch label112
label111:
push 0.0, r:event, '__get__error'
callMethod
push 'Unable to load file:', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 0.0, r:event, '__get__error'
callMethod
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_LOADED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
label112:
end // of function
setMember
push r:1, 'createSaveQuery'
function2 (r:3='groupName') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'assertConnected'
callMethod
not
not
branchIfTrue label113
push NULL
return
label113:
push r:groupName, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'getSaveGroup'
callMethod
setRegister r:1
pop
push r:1
not
not
branchIfTrue label114
push 'The save group "', r:groupName
add
push '" w found.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push NULL
return
label114:
push r:1, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
newMethod
setRegister r:2
pop
push r:2
return
end // of function
setMember
push r:1, 'createSaveQueryByDate'
function2 (r:3='groupName', r:2='sortDescending') ()
push r:sortDescending, UNDEF
equals
not
branchIfTrue label115
push TRUE
setRegister r:sortDescending
pop
label115:
push r:groupName, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'createSaveQuery'
callMethod
setRegister r:1
pop
push r:1
not
not
branchIfTrue label116
push NULL
return
label116:
push r:sortDescending, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'CREATED_ON'
getMember
push 2, r:1, 'sortOn'
callMethod
pop
push r:1
return
end // of function
setMember
push r:1, 'createSaveQueryByName'
function2 (r:5='groupName', r:4='filename', r:2='exactMatch', r:3='sortDescending') ()
push r:exactMatch, UNDEF
equals
not
branchIfTrue label117
push FALSE
setRegister r:exactMatch
pop
label117:
push r:sortDescending, UNDEF
equals
not
branchIfTrue label118
push FALSE
setRegister r:sortDescending
pop
label118:
push r:groupName, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'createSaveQuery'
callMethod
setRegister r:1
pop
push r:filename, r:exactMatch
branchIfTrue label119
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'OPERATOR_CONTAINS'
getMember
branch label120
label119:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'OPERATOR_EQUAL'
getMember
label120:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_NAME'
getMember
push 3, r:1, 'addCondition'
callMethod
pop
push r:1
return
end // of function
setMember
push r:1, 'createSaveQueryByRating'
function2 (r:3='groupName', r:4='ratingName', r:2='sortDescending') ()
push r:sortDescending, UNDEF
equals
not
branchIfTrue label121
push TRUE
setRegister r:sortDescending
pop
label121:
push r:groupName, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'createSaveQuery'
callMethod
setRegister r:1
pop
push r:sortDescending, r:ratingName, 2, r:1, 'sortOn'
callMethod
pop
push r:1
return
end // of function
setMember
push r:1, 'onRequestedFileLoaded'
function2 (r:2='event') ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'onRequestedFileLoaded'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_LOADED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'removeEventListener'
callMethod
pop
push 0.0, r:event, '__get__success'
callMethod
not
branchIfTrue label122
push 0.0, r:event, '__get__data'
callMethod
setRegister r:1
pop
push r:1
not
branchIfTrue label122
push r:1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_REQUESTED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'dispatchEvent'
callMethod
pop
label122:
end // of function
setMember
push r:1, 'addEventListener'
function2 (r:3='eventType', r:4='listener', r:1='priority', r:2='useWeakReference') ()
push r:priority, UNDEF
equals
not
branchIfTrue label123
push 0.0
setRegister r:priority
pop
label123:
push r:useWeakReference, UNDEF
equals
not
branchIfTrue label124
push TRUE
setRegister r:useWeakReference
pop
label124:
push r:useWeakReference, r:priority, FALSE, r:listener, r:eventType, 5, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_dispatcher'
getMember
push 'addEventListener'
callMethod
pop
end // of function
setMember
push r:1, 'removeEventListener'
function2 (r:1='eventType', r:2='listener') ()
push r:listener, r:eventType, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_dispatcher'
getMember
push 'removeEventListener'
callMethod
pop
end // of function
setMember
push r:1, 'dispatchEvent'
function2 (r:3='event', r:1='data', r:2='error') ()
push r:'data', UNDEF
equals
not
branchIfTrue label125
push NULL
setRegister r:'data'
pop
label125:
push r:error, UNDEF
equals
not
branchIfTrue label126
push NULL
setRegister r:error
pop
label126:
push r:error, r:'data', r:event, 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_dispatcher'
getMember
push 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:1, 'saveLocal'
function2 (r:1='saveId', r:4='saveData') ()
try r:0
push UNDEF
setRegister r:3
pop
push 'ng_ap_secure_', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'trackerId'
getMember
add
push '_'
add
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'encryptionKey'
getMember
push r:saveId, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'encrypt'
callMethod
add
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_sharedObjects'
getMember
push r:saveId
getMember
not
not
branchIfTrue label127
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_sharedObjects'
getMember
push r:saveId, r:2, 1, 'SharedObject'
getVariable
push 'getLocal'
callMethod
setMember
label127:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_sharedObjects'
getMember
push r:saveId
getMember
setRegister r:3
pop
push r:3, 'data'
getMember
push 'data', r:saveData, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'encodeData'
callMethod
setMember
branch label129
catch
push 'Error'
getVariable
push r:0
cast
dup
push NULL
equals
branchIfTrue label128
push 'error'
swap
varEquals
push 'error'
getVariable
push 'Unable to save local data.', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push FALSE
return
branch label129
label128:
pop
push r:0
throw
label129:
end // of try
push TRUE
return
end // of function
setMember
push r:1, 'loadLocal'
function2 (r:2='saveId') ()
try r:0
push UNDEF
setRegister r:1
pop
push 'ng_ap_secure_', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'trackerId'
getMember
add
push '_'
add
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'encryptionKey'
getMember
push r:saveId, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'encrypt'
callMethod
add
setRegister r:3
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_sharedObjects'
getMember
push r:saveId
getMember
not
not
branchIfTrue label130
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_sharedObjects'
getMember
push r:saveId, r:3, 1, 'SharedObject'
getVariable
push 'getLocal'
callMethod
setMember
label130:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_sharedObjects'
getMember
push r:saveId
getMember
setRegister r:1
pop
push r:1
dup
not
branchIfTrue label131
pop
push r:1, 'data'
getMember
label131:
dup
not
branchIfTrue label132
pop
push r:1, 'data'
getMember
push 'data'
getMember
label132:
not
branchIfTrue label133
push r:1, 'data'
getMember
push 'data'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'decodeData'
callMethod
return
label133:
push NULL
return
branch label135
catch
push 'Error'
getVariable
push r:0
cast
dup
push NULL
equals
branchIfTrue label134
push 'error'
swap
varEquals
push 'error'
getVariable
push 'Unable to load local data.', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
branch label135
label134:
pop
push r:0
throw
label135:
end // of try
push NULL
return
end // of function
setMember
push r:1, 'logCustomEvent'
function2 (r:2='eventName') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'assertConnected'
callMethod
not
branchIfTrue label136
push 'Logged event: ', r:eventName
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 'event', r:eventName, 1
initObject
push NULL, 'logCustomEvent', 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
label136:
end // of function
setMember
push r:1, 'encodeData'
function2 (r:1='data') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
not
not
branchIfTrue label137
push NULL
return
label137:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'encryptionKey'
getMember
push r:'data', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode'
callMethod
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'encrypt'
callMethod
return
end // of function
setMember
push r:1, 'decodeData'
function2 (r:1='data') ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'assertInitialized'
callMethod
not
not
branchIfTrue label138
push NULL
return
label138:
try r:0
push 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '_connection'
getMember
push 'encryptionKey'
getMember
push r:'data', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'decrypt'
callMethod
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'decode'
callMethod
return
branch label140
catch
push 'Error'
getVariable
push r:0
cast
dup
push NULL
equals
branchIfTrue label139
push 'error'
swap
varEquals
branch label140
label139:
pop
push r:0
throw
label140:
end // of try
push NULL
return
end // of function
setMember
push r:1, 'stopPendingCommands'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
getMember
push 'stopPendingCommands'
callMethod
pop
push 'Pending commands stopped.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
end // of function
setMember
push r:1, 'setFont'
function2 (r:1='textField', r:5='font') ()
push r:textField
dup
not
branchIfTrue label141
pop
push r:font
label141:
not
branchIfTrue label143
push 0.0, r:textField, 'getTextFormat'
callMethod
setRegister r:2
pop
push r:textField, 'embedFonts'
getMember
setRegister r:4
pop
push r:font, 1, 'TextFormat'
new
setRegister r:3
pop
push r:3, 1, r:textField, 'setNewTextFormat'
callMethod
pop
push r:3, 1, r:textField, 'setTextFormat'
callMethod
pop
push r:textField, 'embedFonts', TRUE
setMember
push r:textField, 'textWidth'
getMember
push 0.0
equals
not
branchIfTrue label142
push r:textField, 'embedFonts', r:4
setMember
push r:2, 1, r:textField, 'setTextFormat'
callMethod
pop
push r:2, 1, r:textField, 'setNewTextFormat'
callMethod
pop
branch label143
label142:
push r:textField, 'antiAliasType', 'advanced'
setMember
push r:textField, 'sharpness', 120
setMember
label143:
end // of function
setMember
push r:1, 'trimWhitespace'
function2 (r:2='string') ()
push r:string
not
not
branchIfTrue label144
push NULL
return
label144:
push 0.0
setRegister r:1
pop
label145:
push r:1, 1, r:string, 'charAt'
callMethod
push ' '
equals
not
branchIfTrue label146
push r:1
increment
setRegister r:1
pop
branch label145
label146:
push r:string, 'length'
getMember
push 1
subtract
setRegister r:3
pop
label147:
push r:1, 1, r:string, 'charAt'
callMethod
push ' '
equals
dup
not
branchIfTrue label148
pop
push r:3, 0.0
lessThan
not
label148:
not
branchIfTrue label149
push r:3
decrement
setRegister r:3
pop
branch label147
label149:
push r:3, 1
add
push r:1, 2, r:string, 'slice'
callMethod
return
end // of function
setMember
push r:1, 'VERSION', '3.0.5.3 beta AS2'
setMember
push r:1, 'RELEASE_MODE', 'releaseMode'
setMember
push r:1, 'DEBUG_MODE_LOGGED_IN', 'debugModeLoggedIn'
setMember
push r:1, 'DEBUG_MODE_LOGGED_OUT', 'debugModeLoggedOut'
setMember
push r:1, 'DEBUG_MODE_NEW_VERSION', 'debugModeNewVersion'
setMember
push r:1, 'DEBUG_MODE_HOST_BLOCKED', 'debugModeHostBlocked'
setMember
push r:1, 'TEST_AD_FEED_URL', 'http://www.ngads.com/adtest.php'
setMember
push r:1, '_dispatcher', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
newMethod
setMember
push r:1, '_connection', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIConnection'
newMethod
setMember
push r:1, '_debugMode', 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'DEBUG_MODE_LOGGED_IN'
getMember
setMember
push r:1, '_adsApproved', FALSE
setMember
push r:1, '_medals', 0.0, 'Object'
new
setMember
push r:1, '_medalsArray', 0.0
initArray
setMember
push r:1, '_scoreBoards', 0.0, 'Object'
new
setMember
push r:1, '_scoreBoardsArray', 0.0
initArray
setMember
push r:1, '_saveGroups', 0.0, 'Object'
new
setMember
push r:1, '_saveGroupsArray', 0.0
initArray
setMember
push r:1, '_sharedObjects', 0.0, 'Object'
new
setMember
function ()
end // of function
push r:1, '__get__adFeedURL'
getMember
push 'adFeedURL', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__adsApproved'
getMember
push 'adsApproved', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__apiId'
getMember
push 'apiId', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__connected'
getMember
push 'connected', 3, r:1, 'addProperty'
callMethod
push r:1, '__set__debugMode'
getMember
push r:1, '__get__debugMode'
getMember
push 'debugMode', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__hasUserSession'
getMember
push 'hasUserSession', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__hostDomain'
getMember
push 'hostDomain', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__hostURL'
getMember
push 'hostURL', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__isNetworkHost'
getMember
push 'isNetworkHost', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__isNewgrounds'
getMember
push 'isNewgrounds', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__medals'
getMember
push 'medals', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__publisherId'
getMember
push 'publisherId', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__saveGroups'
getMember
push 'saveGroups', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__scoreBoards'
getMember
push 'scoreBoards', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__sessionId'
getMember
push 'sessionId', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__userId'
getMember
push 'userId', 3, r:1, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__username'
getMember
push 'username', 3, r:1, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label150:
pop
end // of initMovieClip 44
defineMovieClip 41 // total frames: 0
end // of defineMovieClip 41
exportAssets
41 as '__Packages.com.newgrounds.encoders.ImageScanner'
end // of exportAssets
initMovieClip 41
constants '_global', 'com', 'Object', 'newgrounds', 'encoders', 'ImageScanner', '_hash', 'DEFAULT_HASH', 'substr', '_baseN', 'BaseN', '_charsPerPixel', '__set__encodeAlpha', 'prototype', '__get__encodeAlpha', '_encodeAlpha', '_maxPerChannel', 'length', 'Math', 'pow', 'encode', 'callbackFunction', 'callbackObject', 'source', 'x', 'y', 'output', 'width', 'toString', 'height', '0', 'WORK_INTERVAL', 'doEncode', 'setInterval', 'interval', 'decode', 'i', 'flash', 'display', 'BitmapData', 'doDecode', 'getPixel32', 'encodePixel', 'clearInterval', 'call', 'decodePixel', 'setPixel32', 'encodeUint', 'decodeUint', '0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ<>?:;-_=+()!&', 'encodeAlpha', 'addProperty', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders'
getMember
not
not
branchIfTrue label3
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders', 0.0, 'Object'
new
setMember
label3:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
getMember
not
not
branchIfTrue label24
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
function2 (r:2='hashLength', r:3='charsPerPixel') (r:1='this')
push r:hashLength
not
branchIfTrue label4
push r:this, '_hash', r:hashLength, 0.0, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
getMember
push 'DEFAULT_HASH'
getMember
push 'substr'
callMethod
setMember
label4:
push r:this, '_baseN', r:this, '_hash'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'BaseN'
newMethod
setMember
push r:charsPerPixel
not
branchIfTrue label5
push r:this, '_charsPerPixel', r:charsPerPixel
setMember
label5:
push FALSE, 1, r:this, '__set__encodeAlpha'
callMethod
pop
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__encodeAlpha'
function2 () (r:1='this')
push r:this, '_encodeAlpha'
getMember
return
end // of function
setMember
push r:2, '__set__encodeAlpha'
function2 (r:2='v') (r:1='this')
push r:this, '_encodeAlpha', r:v
setMember
push r:this, '_maxPerChannel', r:this, '_charsPerPixel'
getMember
push r:this, '_encodeAlpha'
getMember
branchIfTrue label6
push 3
branch label7
label6:
push 4
label7:
divide
push r:this, '_hash'
getMember
push 'length'
getMember
push 2, 'Math'
getVariable
push 'pow'
callMethod
int
setMember
push r:this, '_maxPerChannel'
getMember
push 256
greaterThan
not
branchIfTrue label8
push r:this, '_maxPerChannel', 256
setMember
label8:
push 0.0, r:this, '__get__encodeAlpha'
callMethod
return
pop
end // of function
setMember
push r:2, 'encode'
function2 (r:5='source', r:8='callbackFunction', r:11='callbackObject') (r:1='this')
push 'callbackFunction', r:callbackFunction, 'callbackObject', r:callbackObject, 'source', r:source, 'x', 0.0, 'y', 0.0, 'output', NULL, 6
initObject
setRegister r:4
pop
push 0.0, r:source, 'width'
getMember
push 'toString'
callMethod
setRegister r:2
pop
push 0.0, r:source, 'height'
getMember
push 'toString'
callMethod
setRegister r:3
pop
label9:
push r:2, 'length'
getMember
push 3
lessThan
not
branchIfTrue label10
push '0', r:2
add
setRegister r:2
pop
branch label9
label10:
push r:3, 'length'
getMember
push 3
lessThan
not
branchIfTrue label11
push '0', r:3
add
setRegister r:3
pop
branch label10
label11:
push r:4, 'output', r:2, r:3
add
setMember
push r:4, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
getMember
push 'WORK_INTERVAL'
getMember
push 'doEncode', r:this, 4, 'setInterval'
callFunction
setRegister r:6
pop
push r:4, 'interval', r:6
setMember
end // of function
setMember
push r:2, 'decode'
function2 (r:3='source', r:8='callbackFunction', r:12='callbackObject') (r:1='this')
push 'callbackFunction', r:callbackFunction, 'callbackObject', r:callbackObject, 'source', r:source, 'i', 6, 'x', 0.0, 'y', 0.0, 'output', NULL, 7
initObject
setRegister r:2
pop
push 3, 0.0, 2, r:source, 'substr'
callMethod
int
setRegister r:5
pop
push 3, 3, 2, r:source, 'substr'
callMethod
int
setRegister r:6
pop
push r:2, 'output', r:this, '_encodeAlpha'
getMember
push r:6, r:5, 3, 'flash'
getVariable
push 'display'
getMember
push 'BitmapData'
newMethod
setMember
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
getMember
push 'WORK_INTERVAL'
getMember
push 'doDecode', r:this, 4, 'setInterval'
callFunction
setRegister r:4
pop
push r:2, 'interval', r:4
setMember
end // of function
setMember
push r:2, 'doEncode'
function2 (r:2='state') (r:1='this')
getTimer
setRegister r:3
pop
label12:
push r:state, 'y'
getMember
push r:state, 'source'
getMember
push 'height'
getMember
lessThan
dup
not
branchIfTrue label13
pop
getTimer
push r:3
subtract
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
getMember
push 'WORK_INTERVAL'
getMember
lessThan
label13:
not
branchIfTrue label15
push r:state, 'output', r:state, 'output'
getMember
push r:state, 'y'
getMember
push r:state, 'x'
getMember
push 2, r:state, 'source'
getMember
push 'getPixel32'
callMethod
push 1, r:this, 'encodePixel'
callMethod
add
setMember
push r:state, 'x', r:state, 'x'
getMember
increment
setMember
push r:state, 'x'
getMember
push r:state, 'source'
getMember
push 'width'
getMember
equals
not
branchIfTrue label14
push r:state, 'x', 0.0
setMember
push r:state, 'y', r:state, 'y'
getMember
increment
setMember
label14:
branch label12
label15:
push r:state, 'y'
getMember
push r:state, 'source'
getMember
push 'height'
getMember
equals
not
branchIfTrue label16
push r:state, 'interval'
getMember
push 1, 'clearInterval'
callFunction
pop
push r:state, 'output'
getMember
push r:state, 'callbackObject'
getMember
push 2, r:state, 'callbackFunction'
getMember
push 'call'
callMethod
pop
label16:
end // of function
setMember
push r:2, 'doDecode'
function2 (r:2='state') (r:1='this')
getTimer
setRegister r:4
pop
label17:
push r:state, 'y'
getMember
push r:state, 'output'
getMember
push 'height'
getMember
lessThan
dup
not
branchIfTrue label18
pop
getTimer
push r:4
subtract
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
getMember
push 'WORK_INTERVAL'
getMember
lessThan
label18:
not
branchIfTrue label20
push r:this, '_charsPerPixel'
getMember
push r:state, 'i'
getMember
push 2, r:state, 'source'
getMember
push 'substr'
callMethod
push 1, r:this, 'decodePixel'
callMethod
setRegister r:3
pop
push r:3, r:state, 'y'
getMember
push r:state, 'x'
getMember
push 3, r:state, 'output'
getMember
push 'setPixel32'
callMethod
pop
push r:state, 'i', r:state, 'i'
getMember
push r:this, '_charsPerPixel'
getMember
add
setMember
push r:state, 'x', r:state, 'x'
getMember
increment
setMember
push r:state, 'x'
getMember
push r:state, 'output'
getMember
push 'width'
getMember
equals
not
branchIfTrue label19
push r:state, 'x', 0.0
setMember
push r:state, 'y', r:state, 'y'
getMember
increment
setMember
label19:
branch label17
label20:
push r:state, 'y'
getMember
push r:state, 'output'
getMember
push 'height'
getMember
equals
not
branchIfTrue label21
push r:state, 'interval'
getMember
push 1, 'clearInterval'
callFunction
pop
push r:state, 'output'
getMember
push r:state, 'callbackObject'
getMember
push 2, r:state, 'callbackFunction'
getMember
push 'call'
callMethod
pop
label21:
end // of function
setMember
push r:2, 'encodePixel'
function2 (r:6='pixel') (r:1='this')
push r:pixel, 24
shiftRight
push 255
bitwiseAnd
setRegister r:3
pop
push r:pixel, 16
shiftRight
push 255
bitwiseAnd
setRegister r:4
pop
push r:pixel, 8
shiftRight
push 255
bitwiseAnd
setRegister r:5
pop
push r:pixel, 255
bitwiseAnd
setRegister r:2
pop
push r:3, 256
divide
push r:this, '_maxPerChannel'
getMember
multiply
int
setRegister r:3
pop
push r:4, 256
divide
push r:this, '_maxPerChannel'
getMember
multiply
int
setRegister r:4
pop
push r:5, 256
divide
push r:this, '_maxPerChannel'
getMember
multiply
int
setRegister r:5
pop
push r:2, 256
divide
push r:this, '_maxPerChannel'
getMember
multiply
int
setRegister r:2
pop
push r:4, r:this, '_maxPerChannel'
getMember
multiply
push r:this, '_maxPerChannel'
getMember
multiply
push r:5, r:this, '_maxPerChannel'
getMember
multiply
add
push r:2
add
setRegister r:7
pop
push r:this, '_encodeAlpha'
getMember
not
branchIfTrue label22
push r:7, r:3, r:this, '_maxPerChannel'
getMember
multiply
push r:this, '_maxPerChannel'
getMember
multiply
push r:this, '_maxPerChannel'
getMember
multiply
add
setRegister r:7
pop
label22:
push r:this, '_charsPerPixel'
getMember
push r:7, 2, r:this, '_baseN'
getMember
push 'encodeUint'
callMethod
return
end // of function
setMember
push r:2, 'decodePixel'
function2 (r:8='encodedPixel') (r:1='this')
push 255
setRegister r:3
pop
push UNDEF
setRegister r:5
pop
push UNDEF
setRegister r:6
pop
push UNDEF
setRegister r:4
pop
push 0.0
setRegister r:7
pop
push r:encodedPixel, 1, r:this, '_baseN'
getMember
push 'decodeUint'
callMethod
setRegister r:2
pop
push r:2, r:this, '_maxPerChannel'
getMember
modulo
setRegister r:4
pop
push r:2, r:this, '_maxPerChannel'
getMember
int
divide
setRegister r:2
pop
push r:2, r:this, '_maxPerChannel'
getMember
modulo
setRegister r:6
pop
push r:2, r:this, '_maxPerChannel'
getMember
int
divide
setRegister r:2
pop
push r:2, r:this, '_maxPerChannel'
getMember
modulo
setRegister r:5
pop
push r:2, r:this, '_maxPerChannel'
getMember
int
divide
setRegister r:2
pop
push r:this, '_encodeAlpha'
getMember
not
branchIfTrue label23
push r:2, r:this, '_maxPerChannel'
getMember
modulo
setRegister r:3
pop
push r:2, r:this, '_maxPerChannel'
getMember
int
divide
setRegister r:2
pop
label23:
push r:3, 24
shiftLeft
push r:5, 16
shiftLeft
bitwiseOr
push r:6, 8
shiftLeft
bitwiseOr
push r:4
bitwiseOr
return
end // of function
setMember
push r:1, 'DEFAULT_HASH', '0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ<>?:;-_=+()!&'
setMember
push r:2, '_hash', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
getMember
push 'DEFAULT_HASH'
getMember
setMember
push r:2, '_charsPerPixel', 2
setMember
push r:1, 'WORK_INTERVAL', 33.33333333333334
setMember
push r:2, '__set__encodeAlpha'
getMember
push r:2, '__get__encodeAlpha'
getMember
push 'encodeAlpha', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label24:
pop
end // of initMovieClip 41
defineMovieClip 42 // total frames: 0
end // of defineMovieClip 42
exportAssets
42 as '__Packages.com.newgrounds.SaveFile'
end // of exportAssets
initMovieClip 42
constants '_global', 'com', 'Object', 'newgrounds', 'SaveFile', '_iconLoader', 'DEFAULT_ICON', 'BitmapLoader', '_group', 'APIEventDispatcher', 'prototype', '__get__currentFile', '_currentFile', 'fromObject', '_name', 'filename', '_description', 'description', '_id', 'save_id', '_authorId', 'user_id', '_authorName', 'user_name', '_createdDate', 'created', '_modifiedDate', 'last_update', '_views', 'views', 'thumb', '', '_imageFilePath', '__set__url', '_dataURL', '_saveFilePath', 'file', '_fileSize', 'file_size', '_approved', 'status', 'STATUS_UNAPPROVED', '_readOnly', '_public', 'STATUS_PRIVATE', 'keys', 'id', 'getKeyById', '_keys', '__get__name', 'value', 'validateValue', 'ratings', 'getRatingById', '_ratings', 'score', '__get__group', '__set__name', '__get__description', '__set__description', '__get__id', '__get__data', '_data', '__set__data', '__get__bytesLoaded', '__get__bytesTotal', '_dataLoader', 'getBytesLoaded', '__get__readOnly', '__get__draft', '_draft', '__set__draft', '__get__authorId', '__get__authorName', '__get__keys', '__get__ratings', '__get__views', '__get__createdDate', '__get__updatedDate', 'toString', 'Save File: ', '__get__icon', '__get__bitmapData', '__set__icon', 'createIcon', '__get__iconLoaded', '__get__loaded', 'ICON_HEIGHT', 'ICON_WIDTH', 'flash', 'display', 'BitmapData', 'width', 'height', 'MovieClip', '_width', '_height', 'getBounds', 'xMin', 'yMin', 'geom', 'Matrix', 'Math', 'min', 'translate', 'scale', 'draw', '__set__bitmapData', 'attachIcon', 'attachBitmap', 'No icon available for this sumbission.', 'Logger', 'logError', 'save', '__get__connection', '__get__hasUserSession', 'The user must be logged-in to save a file.', 'APIEvent', 'ERROR_NOT_LOGGED_IN', 'FILE_SAVED', 'dispatchEvent', '_cacheSeed', 'onIconEncoded', 'ICON_IMAGE_SCANNER', 'encode', 'encodeData', '_encodedIcon', 'doSave', 'saveFile', 'APICommand', '__get__secureParameters', 'group', 'username', 'draft', 'overwrite', 'getKey', 'push', 'No key named "', '" in save group "', '".', 'getRating', 'No rating named "', '_encodedData', 'string', 'addFile', 'encoders', 'json', 'JSON', 'thumbnail', 'target', 'func', 'onSaveComplete', 'COMMAND_COMPLETE', 'addEventListener', 'sendCommand', '_encoderQueue', '_encoding', 'preEncodeObject', 'encodeObject', 'type', '__bitmap', 'parent', 'property', 'object', 'Array', 'length', '_dataLoaded', 'checkLoadComplete', 'pop', 'transparent', '_encodingParent', '_encodingProperty', 'data', 'DATA_IMAGE_SCANNER', '__set__encodeAlpha', 'encodeBitmapComplete', 'decode', 'load', 'onIconLoaded', 'ICON_LOADED', 'LoadVars', 'onData', 'onDataLoaded', '__get__success', '__get__url', 'Unable to load the icon for this save file.', 'logWarning', 'removeEventListener', 'Data loaded.', 'logMessage', 'FILE_LOADED', 'charAt', '{', 'Error', 'error', 'Error while loading data:', 'ERROR_BAD_FILE', 'onDataError', 'Unable to load data:', 'File "', '" saved!', 'file_url', 'unescape', '__get__error', 'Error saving file "', '":', 'sendVote', 'No save rating named "', '" exists for this save group.', 'ERROR_INVALID_ARGUMENT', 'VOTE_COMPLETE', 'isNaN', 'Invalid vote (', '). ', ' allows a range of ', '__get__minimum', '-', '__get__maximum', '.', 'Voting ', ' for ', ' on ', '...', 'rating_id', 'vote', 'onVoteComplete', 'rateSaveFile', 'sendSimpleCommand', 'already_voted', 'Vote failed. You\'ve already voted on this rating today.', 'ERROR_ALREADY_VOTED', 'ERROR_NONE', 'clone', 'bitmapData', 'DefaultSaveIcon', 'loadBitmap', 'STATUS_SHARED', 'STATUS_APPROVED', 'ImageScanner', 'authorId', 'addProperty', 'authorName', 'bytesLoaded', 'bytesTotal', 'createdDate', 'currentFile', 'icon', 'iconLoaded', 'name', 'readOnly', 'updatedDate', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'SaveFile'
getMember
not
not
branchIfTrue label75
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
function2 (r:3='group') (r:1='this', r:2='super')
push 0.0, r:super, UNDEF
callMethod
pop
push r:this, '_iconLoader', NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'DEFAULT_ICON'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'BitmapLoader'
newMethod
setMember
push r:this, '_group', r:group
setMember
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:1, '__get__currentFile'
function ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push '_currentFile'
getMember
return
end // of function
setMember
push r:1, 'fromObject'
function2 (r:7='group', r:1='fileData') ()
push r:group, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
newMethod
setRegister r:4
pop
push r:4, '_name', r:fileData, 'filename'
getMember
setMember
push r:4, '_description', r:fileData, 'description'
getMember
setMember
push r:4, '_id', r:fileData, 'save_id'
getMember
setMember
push r:4, '_authorId', r:fileData, 'user_id'
getMember
setMember
push r:4, '_authorName', r:fileData, 'user_name'
getMember
setMember
push r:4, '_createdDate', r:fileData, 'created'
getMember
setMember
push r:4, '_modifiedDate', r:fileData, 'last_update'
getMember
setMember
push r:4, '_views', r:fileData, 'views'
getMember
setMember
push r:fileData, 'thumb'
getMember
dup
not
branchIfTrue label3
pop
push r:fileData, 'thumb'
getMember
push ''
equals
not
label3:
not
branchIfTrue label4
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push '_imageFilePath'
getMember
push r:fileData, 'thumb'
getMember
add
push 1, r:4, '_iconLoader'
getMember
push '__set__url'
callMethod
pop
label4:
push r:4, '_dataURL', 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push '_saveFilePath'
getMember
push r:fileData, 'file'
getMember
add
setMember
push r:4, '_fileSize', r:fileData, 'file_size'
getMember
setMember
push r:4, '_approved', r:fileData, 'status'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'STATUS_UNAPPROVED'
getMember
equals
not
setMember
push r:4, '_readOnly', FALSE
setMember
push r:4, '_public', r:fileData, 'status'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'STATUS_PRIVATE'
getMember
equals
not
dup
not
branchIfTrue label5
pop
push r:fileData, 'status'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'STATUS_UNAPPROVED'
getMember
equals
not
label5:
setMember
push r:fileData, 'keys'
getMember
enumerateValue
label6:
setRegister r:0
push NULL
equals
branchIfTrue label8
push r:0
setRegister r:8
pop
push r:fileData, 'keys'
getMember
push r:8
getMember
setRegister r:6
pop
push r:6, 'id'
getMember
push 1, r:group, 'getKeyById'
callMethod
setRegister r:2
pop
push r:2
not
branchIfTrue label7
push r:4, '_keys'
getMember
push 0.0, r:2, '__get__name'
callMethod
push r:6, 'value'
getMember
push 1, r:2, 'validateValue'
callMethod
setMember
label7:
branch label6
label8:
push r:fileData, 'ratings'
getMember
enumerateValue
label9:
setRegister r:0
push NULL
equals
branchIfTrue label11
push r:0
setRegister r:9
pop
push r:fileData, 'ratings'
getMember
push r:9
getMember
setRegister r:5
pop
push r:5, 'id'
getMember
push 1, r:group, 'getRatingById'
callMethod
setRegister r:3
pop
push r:3
not
branchIfTrue label10
push r:4, '_ratings'
getMember
push 0.0, r:3, '__get__name'
callMethod
push r:5, 'score'
getMember
push 1, r:3, 'validateValue'
callMethod
setMember
label10:
branch label9
label11:
push r:4
return
end // of function
setMember
push r:2, '__get__group'
function2 () (r:1='this')
push r:this, '_group'
getMember
return
end // of function
setMember
push r:2, '__get__name'
function2 () (r:1='this')
push r:this, '_name'
getMember
return
end // of function
setMember
push r:2, '__set__name'
function2 (r:2='val') (r:1='this')
push r:this, '_name', r:val
setMember
push 0.0, r:this, '__get__name'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__description'
function2 () (r:1='this')
push r:this, '_description'
getMember
return
end // of function
setMember
push r:2, '__set__description'
function2 (r:2='val') (r:1='this')
push r:this, '_description', r:val
setMember
push 0.0, r:this, '__get__description'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__id'
function2 () (r:1='this')
push r:this, '_id'
getMember
return
end // of function
setMember
push r:2, '__get__data'
function2 () (r:1='this')
push r:this, '_data'
getMember
return
end // of function
setMember
push r:2, '__set__data'
function2 (r:2='val') (r:1='this')
push r:this, '_data', r:val
setMember
push 0.0, r:this, '__get__data'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__bytesLoaded'
function2 () (r:1='this')
push r:this, '_data'
getMember
not
branchIfTrue label12
push 0.0, r:this, '__get__bytesTotal'
callMethod
return
branch label14
label12:
push r:this, '_dataLoader'
getMember
not
not
branchIfTrue label13
push 0.0
return
branch label14
label13:
push 0.0, r:this, '_dataLoader'
getMember
push 'getBytesLoaded'
callMethod
return
label14:
end // of function
setMember
push r:2, '__get__bytesTotal'
function2 () (r:1='this')
push r:this, '_fileSize'
getMember
return
end // of function
setMember
push r:2, '__get__readOnly'
function2 () (r:1='this')
push r:this, '_readOnly'
getMember
return
end // of function
setMember
push r:2, '__get__draft'
function2 () (r:1='this')
push r:this, '_draft'
getMember
return
end // of function
setMember
push r:2, '__set__draft'
function2 (r:2='v') (r:1='this')
push r:this, '_draft', r:v
setMember
push 0.0, r:this, '__get__draft'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__authorId'
function2 () (r:1='this')
push r:this, '_authorId'
getMember
return
end // of function
setMember
push r:2, '__get__authorName'
function2 () (r:1='this')
push r:this, '_authorName'
getMember
return
end // of function
setMember
push r:2, '__get__keys'
function2 () (r:1='this')
push r:this, '_keys'
getMember
return
end // of function
setMember
push r:2, '__get__ratings'
function2 () (r:1='this')
push r:this, '_ratings'
getMember
return
end // of function
setMember
push r:2, '__get__views'
function2 () (r:1='this')
push r:this, '_views'
getMember
return
end // of function
setMember
push r:2, '__get__createdDate'
function2 () (r:1='this')
push r:this, '_createdDate'
getMember
return
end // of function
setMember
push r:2, '__get__updatedDate'
function2 () (r:1='this')
push r:this, '_modifiedDate'
getMember
return
end // of function
setMember
push r:2, 'toString'
function2 () (r:1='this')
push 'Save File: ', r:this, '_name'
getMember
add
return
end // of function
setMember
push r:2, '__get__icon'
function2 () (r:1='this')
push 0.0, r:this, '_iconLoader'
getMember
push '__get__bitmapData'
callMethod
return
end // of function
setMember
push r:2, '__set__icon'
function2 (r:2='v') (r:1='this')
push r:v, 1, r:this, 'createIcon'
callMethod
pop
push 0.0, r:this, '__get__icon'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__iconLoaded'
function2 () (r:1='this')
push 0.0, r:this, '_iconLoader'
getMember
push '__get__loaded'
callMethod
return
end // of function
setMember
push r:2, 'createIcon'
function2 (r:2='source') (r:1='this')
push 0.0, FALSE, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'ICON_HEIGHT'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'ICON_WIDTH'
getMember
push 4, 'flash'
getVariable
push 'display'
getMember
push 'BitmapData'
newMethod
setRegister r:9
pop
push UNDEF
setRegister r:6
pop
push UNDEF
setRegister r:5
pop
push 0.0
setRegister r:10
pop
push 0.0
setRegister r:8
pop
push r:source, 'flash'
getVariable
push 'display'
getMember
push 'BitmapData'
getMember
instanceOf
not
branchIfTrue label15
push r:source, 'width'
getMember
setRegister r:6
pop
push r:source, 'height'
getMember
setRegister r:5
pop
branch label16
label15:
push r:source, 'MovieClip'
getVariable
instanceOf
not
branchIfTrue label16
push r:source, '_width'
getMember
setRegister r:6
pop
push r:source, '_height'
getMember
setRegister r:5
pop
push r:source, 1, 'MovieClip'
getVariable
push r:source
cast
push 'getBounds'
callMethod
setRegister r:7
pop
push r:7, 'xMin'
getMember
setRegister r:10
pop
push r:7, 'yMin'
getMember
setRegister r:8
pop
label16:
push 0.0, 'flash'
getVariable
push 'geom'
getMember
push 'Matrix'
newMethod
setRegister r:3
pop
push UNDEF
setRegister r:4
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'ICON_HEIGHT'
getMember
push r:5
divide
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'ICON_WIDTH'
getMember
push r:6
divide
push 2, 'Math'
getVariable
push 'min'
callMethod
setRegister r:4
pop
push 0.0, r:8
subtract
push 0.0, r:10
subtract
push 2, r:3, 'translate'
callMethod
pop
push r:4, r:4, 2, r:3, 'scale'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'ICON_HEIGHT'
getMember
push r:5, r:4
multiply
subtract
push 2
divide
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'ICON_WIDTH'
getMember
push r:6, r:4
multiply
subtract
push 2
divide
push 2, r:3, 'translate'
callMethod
pop
push r:3, r:source, 2, r:9, 'draw'
callMethod
pop
push r:9, 1, r:this, '_iconLoader'
getMember
push '__set__bitmapData'
callMethod
pop
end // of function
setMember
push r:2, 'attachIcon'
function2 (r:2='parent') (r:1='this')
push r:this, '_iconLoader'
getMember
not
branchIfTrue label17
push r:parent, 1, r:this, '_iconLoader'
getMember
push 'attachBitmap'
callMethod
return
label17:
push 'No icon available for this sumbission.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push NULL
return
end // of function
setMember
push r:2, 'save'
function2 () (r:1='this')
push 0.0, 0.0, r:this, '_group'
getMember
push '__get__connection'
callMethod
push '__get__hasUserSession'
callMethod
not
not
branchIfTrue label18
push 'The user must be logged-in to save a file.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_NOT_LOGGED_IN'
getMember
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_SAVED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
push UNDEF
return
label18:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'BitmapLoader'
getMember
push '_cacheSeed', 'com'
getVariable
push 'newgrounds'
getMember
push 'BitmapLoader'
getMember
push '_cacheSeed'
getMember
increment
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push '_currentFile', r:this
setMember
push 0.0, r:this, '__get__iconLoaded'
callMethod
not
branchIfTrue label19
push r:this, r:this, 'onIconEncoded'
getMember
push 0.0, r:this, '__get__icon'
callMethod
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'ICON_IMAGE_SCANNER'
getMember
push 'encode'
callMethod
pop
branch label20
label19:
push TRUE, 1, r:this, 'encodeData'
callMethod
pop
label20:
end // of function
setMember
push r:2, 'onIconEncoded'
function2 (r:2='encodedIcon') (r:1='this')
push r:this, '_encodedIcon', r:encodedIcon
setMember
push TRUE, 1, r:this, 'encodeData'
callMethod
pop
end // of function
setMember
push r:2, 'doSave'
function2 () (r:1='this')
push 'saveFile', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'APICommand'
newMethod
setRegister r:4
pop
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'group', r:this, '_group'
getMember
push 'id'
getMember
setMember
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'user_name', 0.0, r:this, '_group'
getMember
push '__get__connection'
callMethod
push 'username'
getMember
setMember
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'filename', r:this, '_name'
getMember
setMember
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'description', r:this, '_description'
getMember
setMember
push r:this, '_draft'
getMember
not
branchIfTrue label21
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'draft', TRUE
setMember
label21:
push r:this, '_id'
getMember
dup
not
branchIfTrue label22
pop
push r:this, '_readOnly'
getMember
not
label22:
not
branchIfTrue label23
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'overwrite', 1
setMember
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'save_id', r:this, '_id'
getMember
setMember
label23:
push 0.0
initArray
setRegister r:8
pop
push r:this, '_keys'
getMember
enumerateValue
label24:
setRegister r:0
push NULL
equals
branchIfTrue label27
push r:0
setRegister r:9
pop
push r:9, 1, r:this, '_group'
getMember
push 'getKey'
callMethod
setRegister r:2
pop
push r:2
not
branchIfTrue label25
push 'id', 0.0, r:2, '__get__id'
callMethod
push 'value', r:this, '_keys'
getMember
push r:9
getMember
push 1, r:2, 'validateValue'
callMethod
push 2
initObject
push 1, r:8, 'push'
callMethod
pop
branch label26
label25:
push 'No key named "', r:9
add
push '" in save group "'
add
push 0.0, r:this, '_group'
getMember
push '__get__name'
callMethod
add
push '".'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
label26:
branch label24
label27:
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'keys', r:8
setMember
push 0.0
initArray
setRegister r:7
pop
push r:this, '_ratings'
getMember
enumerateValue
label28:
setRegister r:0
push NULL
equals
branchIfTrue label31
push r:0
setRegister r:10
pop
push r:10, 1, r:this, '_group'
getMember
push 'getRating'
callMethod
setRegister r:3
pop
push r:3
not
branchIfTrue label29
push 'id', 0.0, r:3, '__get__id'
callMethod
push 'value', r:this, '_ratings'
getMember
push r:10
getMember
push 1, r:3, 'validateValue'
callMethod
push 2
initObject
push 1, r:7, 'push'
callMethod
pop
branch label30
label29:
push 'No rating named "', r:10
add
push '" in save group "'
add
push 0.0, r:this, '_group'
getMember
push '__get__name'
callMethod
add
push '".'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
label30:
branch label28
label31:
push 0.0, r:4, '__get__secureParameters'
callMethod
push 'ratings', r:7
setMember
push r:this, '_encodedData'
getMember
typeof
push 'string'
equals
not
branchIfTrue label32
push 'file', r:this, '_encodedData'
getMember
push 'file', 3, r:4, 'addFile'
callMethod
pop
branch label33
label32:
push 'file', r:this, '_encodedData'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode'
callMethod
push 'file', 3, r:4, 'addFile'
callMethod
pop
label33:
push 0.0, r:this, '__get__iconLoaded'
callMethod
not
branchIfTrue label34
push 'thumbnail', r:this, '_encodedIcon'
getMember
push 'thumbnail', 3, r:4, 'addFile'
callMethod
pop
label34:
push 'target', r:this, 'func', r:this, 'onSaveComplete'
getMember
push 2
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'COMMAND_COMPLETE'
getMember
push 2, r:4, 'addEventListener'
callMethod
pop
push r:4, 1, 0.0, r:this, '_group'
getMember
push '__get__connection'
callMethod
push 'sendCommand'
callMethod
pop
end // of function
setMember
push r:2, 'encodeData'
function2 (r:2='encode') (r:1='this')
push r:this, '_encoderQueue', 0.0
initArray
setMember
push r:this, '_encoding', r:encode
setMember
push r:encode
not
branchIfTrue label35
push r:this, '_encodedData', r:this, '_data'
getMember
setMember
push '_encodedData', r:this, 2, r:this, 'preEncodeObject'
callMethod
pop
branch label36
label35:
push '_data', r:this, 2, r:this, 'preEncodeObject'
callMethod
pop
label36:
push 0.0, r:this, 'encodeObject'
callMethod
pop
end // of function
setMember
push r:2, 'preEncodeObject'
function2 (r:7='parent', r:6='property') (r:1='this')
push r:parent, r:property
getMember
setRegister r:3
pop
push UNDEF
setRegister r:5
pop
try 'error'
push r:this, '_encoding'
getMember
not
branchIfTrue label37
push r:3, 'flash'
getVariable
push 'display'
getMember
push 'BitmapData'
getMember
instanceOf
setRegister r:5
pop
branch label38
label37:
push r:3, 'type'
getMember
push '__bitmap'
equals
setRegister r:5
pop
label38:
branch label39
label39:
end // of try
push r:3
setRegister r:2
pop
push UNDEF
setRegister r:8
pop
push r:5
not
branchIfTrue label40
push 'parent', r:parent, 'property', r:property, 2
initObject
push 1, r:this, '_encoderQueue'
getMember
push 'push'
callMethod
pop
branch label48
label40:
push r:3
typeof
push 'object'
equals
dup
not
branchIfTrue label41
pop
push r:8
not
label41:
not
branchIfTrue label48
push r:this, '_encoding'
getMember
not
branchIfTrue label46
push r:3, 'Array'
getVariable
instanceOf
not
branchIfTrue label42
push 0.0
initArray
setRegister r:2
pop
branch label43
label42:
push 0.0
initObject
setRegister r:2
pop
label43:
push r:3
enumerateValue
label44:
setRegister r:0
push NULL
equals
branchIfTrue label45
push r:0
setRegister r:4
pop
push r:2, r:4, r:3, r:4
getMember
setMember
branch label44
label45:
push r:parent, r:property, r:2
setMember
label46:
push r:2
enumerateValue
label47:
setRegister r:0
push NULL
equals
branchIfTrue label48
push r:0
setRegister r:4
pop
push r:4, r:2, 2, r:this, 'preEncodeObject'
callMethod
pop
branch label47
label48:
end // of function
setMember
push r:2, 'encodeObject'
function2 () (r:1='this')
push r:this, '_encoderQueue'
getMember
push 'length'
getMember
not
not
branchIfTrue label51
push r:this, '_encoding'
getMember
not
branchIfTrue label49
push 0.0, r:this, 'doSave'
callMethod
pop
branch label50
label49:
push r:this, '_dataLoaded', TRUE
setMember
push 0.0, r:this, 'checkLoadComplete'
callMethod
pop
label50:
push UNDEF
return
label51:
push 0.0, r:this, '_encoderQueue'
getMember
push 'pop'
callMethod
setRegister r:6
pop
push r:6, 'parent'
getMember
setRegister r:4
pop
push r:6, 'property'
getMember
setRegister r:3
pop
push r:4, r:3
getMember
setRegister r:2
pop
push UNDEF
setRegister r:5
pop
push r:this, '_encoding'
getMember
not
branchIfTrue label52
push 'type', '__bitmap', 'width', r:2, 'width'
getMember
push 'height', r:2, 'height'
getMember
push 'transparent', r:2, 'transparent'
getMember
push 4
initObject
setRegister r:5
pop
push r:4, r:3, r:5
setMember
push r:this, '_encodingParent', r:5
setMember
push r:this, '_encodingProperty', 'data'
setMember
push r:2, 'transparent'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'DATA_IMAGE_SCANNER'
getMember
push '__set__encodeAlpha'
callMethod
pop
push r:this, r:this, 'encodeBitmapComplete'
getMember
push 'flash'
getVariable
push 'display'
getMember
push 'BitmapData'
getMember
push r:2
cast
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'DATA_IMAGE_SCANNER'
getMember
push 'encode'
callMethod
pop
branch label53
label52:
push r:this, '_encodingParent', r:4
setMember
push r:this, '_encodingProperty', r:3
setMember
push r:2, 'transparent'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'DATA_IMAGE_SCANNER'
getMember
push '__set__encodeAlpha'
callMethod
pop
push r:this, r:this, 'encodeBitmapComplete'
getMember
push r:2, 'data'
getMember
toString
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'DATA_IMAGE_SCANNER'
getMember
push 'decode'
callMethod
pop
label53:
end // of function
setMember
push r:2, 'encodeBitmapComplete'
function2 (r:2='data') (r:1='this')
push r:this, '_encodingParent'
getMember
push r:this, '_encodingProperty'
getMember
push r:'data'
setMember
push 0.0, r:this, 'encodeObject'
callMethod
pop
end // of function
setMember
push r:2, 'load'
function2 () (r:1='this')
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push '_currentFile', r:this
setMember
push r:this, '_dataLoaded', FALSE
setMember
push r:this, '_data', NULL
setMember
push 0.0, r:this, '__get__iconLoaded'
callMethod
not
not
branchIfTrue label54
push 'target', r:this, 'func', r:this, 'onIconLoaded'
getMember
push 2
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ICON_LOADED'
getMember
push 2, r:this, '_iconLoader'
getMember
push 'addEventListener'
callMethod
pop
push 0.0, r:this, '_iconLoader'
getMember
push 'load'
callMethod
pop
label54:
push r:this, '_dataLoader', 0.0, 'LoadVars'
new
setMember
push 'file', r:this
varEquals
push r:this, '_dataLoader'
getMember
push 'onData'
function2 (r:1='data') ()
push r:'data', 1, 'file'
getVariable
push 'onDataLoaded'
callMethod
pop
end // of function
setMember
push r:this, '_dataURL'
getMember
push 1, r:this, '_dataLoader'
getMember
push 'load'
callMethod
pop
end // of function
setMember
push r:2, 'onIconLoaded'
function2 (r:2='event') (r:1='this')
push 0.0, r:event, '__get__success'
callMethod
not
dup
not
branchIfTrue label55
pop
push 0.0, r:this, '_iconLoader'
getMember
push '__get__url'
callMethod
label55:
not
branchIfTrue label56
push 'Unable to load the icon for this save file.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
label56:
push r:this, 'onIconLoaded'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ICON_LOADED'
getMember
push 2, r:this, '_iconLoader'
getMember
push 'removeEventListener'
callMethod
pop
push 0.0, r:this, 'checkLoadComplete'
callMethod
pop
end // of function
setMember
push r:2, 'checkLoadComplete'
function2 () (r:1='this')
push r:this, '_dataLoaded'
getMember
dup
not
branchIfTrue label57
pop
push 0.0, r:this, '__get__iconLoaded'
callMethod
label57:
not
branchIfTrue label58
push 'Data loaded.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_LOADED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
label58:
end // of function
setMember
push r:2, 'onDataLoaded'
function2 (r:2='data') (r:1='this')
try r:0
push r:'data'
not
branchIfTrue label61
push 0.0, 1, r:'data', 'charAt'
callMethod
push '{'
equals
not
branchIfTrue label59
push r:this, '_data', r:'data'
toString
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'decode'
callMethod
setMember
branch label60
label59:
push r:this, '_data', r:'data'
toString
setMember
label60:
push FALSE, 1, r:this, 'encodeData'
callMethod
pop
label61:
branch label63
catch
push 'Error'
getVariable
push r:0
cast
dup
push NULL
equals
branchIfTrue label62
push 'error'
swap
varEquals
push 'error'
getVariable
push 'Error while loading data:', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_BAD_FILE'
getMember
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_LOADED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
branch label63
label62:
pop
push r:0
throw
label63:
end // of try
end // of function
setMember
push r:2, 'onDataError'
function2 (r:2='error') (r:1='this')
push r:error, 'Unable to load data:', 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_BAD_FILE'
getMember
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_LOADED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:2, 'onSaveComplete'
function2 (r:2='event') (r:1='this')
push 0.0, r:event, '__get__success'
callMethod
not
branchIfTrue label65
push 'File "', r:this, '_name'
getMember
add
push '" saved!'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 0.0, r:event, '__get__data'
callMethod
not
branchIfTrue label64
push r:this, '_id', 0.0, r:event, '__get__data'
callMethod
push 'save_id'
getMember
setMember
push r:this, '_dataURL', 0.0, r:event, '__get__data'
callMethod
push 'file_url'
getMember
push 1, 'unescape'
callFunction
setMember
label64:
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_SAVED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
branch label66
label65:
push 0.0, r:event, '__get__error'
callMethod
push 'Error saving file "', r:this, '_name'
getMember
add
push '":'
add
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 0.0, r:event, '__get__error'
callMethod
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'FILE_SAVED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
label66:
end // of function
setMember
push r:2, 'sendVote'
function2 (r:3='ratingName', r:9='vote') (r:1='this')
push r:ratingName, 1, r:this, '_group'
getMember
push 'getRating'
callMethod
setRegister r:2
pop
push r:2
not
not
branchIfTrue label67
push 'No save rating named "', r:ratingName
add
push '" exists for this save group.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_INVALID_ARGUMENT'
getMember
push 0.0
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'VOTE_COMPLETE'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
push UNDEF
return
label67:
push r:vote, 1, r:2, 'validateValue'
callMethod
setRegister r:vote
pop
push r:vote, 1, 'isNaN'
callFunction
not
branchIfTrue label68
push 'Invalid vote (', r:vote
add
push '). '
add
push r:ratingName
add
push ' allows a range of '
add
push 0.0, r:2, '__get__minimum'
callMethod
add
push '-'
add
push 0.0, r:2, '__get__maximum'
callMethod
add
push '.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_INVALID_ARGUMENT'
getMember
push 0.0
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'VOTE_COMPLETE'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
push UNDEF
return
label68:
push 'Voting ', r:vote
add
push ' for '
add
push r:ratingName
add
push ' on '
add
push r:this, '_name'
getMember
add
push '...'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 'group', 0.0, r:this, '_group'
getMember
push '__get__id'
callMethod
push 'save_id', r:this, '_id'
getMember
push 'rating_id', 0.0, r:2, '__get__id'
callMethod
push 'vote', r:vote, 4
initObject
push NULL, 'target', r:this, 'func', r:this, 'onVoteComplete'
getMember
push 2
initObject
push 'rateSaveFile', 4, 0.0, r:this, '_group'
getMember
push '__get__connection'
callMethod
push 'sendSimpleCommand'
callMethod
pop
end // of function
setMember
push r:2, 'onVoteComplete'
function2 (r:4='event') (r:1='this')
push 0.0, r:event, '__get__error'
callMethod
setRegister r:2
pop
push 0.0, r:event, '__get__data'
callMethod
push 'already_voted'
getMember
not
branchIfTrue label69
push 'Vote failed. You\'ve already voted on this rating today.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_ALREADY_VOTED'
getMember
setRegister r:2
pop
label69:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_NONE'
getMember
equals
not
branchIfTrue label70
push 0.0, r:event, '__get__data'
callMethod
push 'rating_id'
getMember
push 1, r:this, '_group'
getMember
push 'getRatingById'
callMethod
setRegister r:3
pop
push r:3
not
branchIfTrue label70
push r:this, '_ratings'
getMember
push 0.0, r:3, '__get__name'
callMethod
push 0.0, r:event, '__get__data'
callMethod
push 'score'
getMember
push 1, r:3, 'validateValue'
callMethod
setMember
label70:
push r:2, r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'VOTE_COMPLETE'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:2, 'clone'
function2 () (r:1='this')
push r:this, '_group'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
newMethod
setRegister r:3
pop
push r:3, '_data', r:this, '_data'
getMember
setMember
push r:3, '_description', r:this, '_description'
getMember
setMember
push r:3, '_draft', r:this, '_draft'
getMember
setMember
push r:3, '_fileSize', r:this, '_fileSize'
getMember
setMember
push r:this, '_iconLoader'
getMember
push 'bitmapData'
getMember
push 1, r:3, '_iconLoader'
getMember
push '__set__bitmapData'
callMethod
pop
push UNDEF
setRegister r:2
pop
push r:this, '_keys'
getMember
enumerateValue
label71:
setRegister r:0
push NULL
equals
branchIfTrue label72
push r:0
setRegister r:2
pop
push r:3, '_keys'
getMember
push r:2, r:this, '_keys'
getMember
push r:2
getMember
setMember
branch label71
label72:
push r:this, '_ratings'
getMember
enumerateValue
label73:
setRegister r:0
push NULL
equals
branchIfTrue label74
push r:0
setRegister r:2
pop
push r:3, '_ratings'
getMember
push r:2, r:this, '_ratings'
getMember
push r:2
getMember
setMember
branch label73
label74:
push r:3, '_name', r:this, '_name'
getMember
setMember
push r:3
return
end // of function
setMember
push r:1, 'ICON_WIDTH', 90
setMember
push r:1, 'ICON_HEIGHT', 90
setMember
push r:1, 'DEFAULT_ICON', 'DefaultSaveIcon', 1, 'flash'
getVariable
push 'display'
getMember
push 'BitmapData'
getMember
push 'loadBitmap'
callMethod
setMember
push r:1, 'STATUS_PRIVATE', 0.0
setMember
push r:1, 'STATUS_SHARED', 1
setMember
push r:1, 'STATUS_UNAPPROVED', 2
setMember
push r:1, 'STATUS_APPROVED', 3
setMember
push r:1, '_imageFilePath', ''
setMember
push r:1, '_saveFilePath', ''
setMember
push r:1, 'ICON_IMAGE_SCANNER', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
newMethod
setMember
push r:1, 'DATA_IMAGE_SCANNER', 6, 64, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'ImageScanner'
newMethod
setMember
push r:2, '_keys', 0.0, 'Object'
new
setMember
push r:2, '_ratings', 0.0, 'Object'
new
setMember
function ()
end // of function
push r:2, '__get__authorId'
getMember
push 'authorId', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__authorName'
getMember
push 'authorName', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__bytesLoaded'
getMember
push 'bytesLoaded', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__bytesTotal'
getMember
push 'bytesTotal', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__createdDate'
getMember
push 'createdDate', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:1, '__get__currentFile'
getMember
push 'currentFile', 3, r:1, 'addProperty'
callMethod
push r:2, '__set__data'
getMember
push r:2, '__get__data'
getMember
push 'data', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__description'
getMember
push r:2, '__get__description'
getMember
push 'description', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__draft'
getMember
push r:2, '__get__draft'
getMember
push 'draft', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__group'
getMember
push 'group', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__icon'
getMember
push r:2, '__get__icon'
getMember
push 'icon', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__iconLoaded'
getMember
push 'iconLoaded', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__id'
getMember
push 'id', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__keys'
getMember
push 'keys', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__name'
getMember
push r:2, '__get__name'
getMember
push 'name', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__ratings'
getMember
push 'ratings', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__readOnly'
getMember
push 'readOnly', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__updatedDate'
getMember
push 'updatedDate', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__views'
getMember
push 'views', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label75:
pop
end // of initMovieClip 42
defineMovieClip 40 // total frames: 0
end // of defineMovieClip 40
exportAssets
40 as '__Packages.com.newgrounds.SaveGroup'
end // of exportAssets
initMovieClip 40
constants '_global', 'com', 'Object', 'newgrounds', 'SaveGroup', '_connection', '_id', '_name', '_type', '_keysArray', '_ratingsArray', '_keys', '_ratings', '__get__name', 'prototype', '__get__connection', '__get__type', '__get__id', '__get__keys', '__get__ratings', 'getKey', 'getRating', 'getKeyById', 'getRatingById', 'toString', 'SaveGroup: ', ' Keys: ', ' Ratings: ', 'TYPE_SYSTEM', 'TYPE_PRIVATE', 'TYPE_PUBLIC', 'TYPE_MODERATED', 'connection', 'addProperty', 'id', 'keys', 'name', 'ratings', 'type', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'SaveGroup'
getMember
not
not
branchIfTrue label15
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveGroup'
function2 (r:9='connection', r:8='name', r:10='id', r:12='type', r:5='keys', r:4='ratings') (r:1='this')
push r:this, '_connection', r:connection
setMember
push r:this, '_id', r:id
setMember
push r:this, '_name', r:name
setMember
push r:this, '_type', r:type
setMember
push r:this, '_keysArray', r:keys
setMember
push r:this, '_ratingsArray', r:ratings
setMember
push r:this, '_keys', 0.0, 'Object'
new
setMember
push r:this, '_ratings', 0.0, 'Object'
new
setMember
push UNDEF
setRegister r:11
pop
push r:keys
enumerateValue
label3:
setRegister r:0
push NULL
equals
branchIfTrue label4
push r:0
setRegister r:7
pop
push r:keys, r:7
getMember
setRegister r:2
pop
push r:this, '_keys'
getMember
push 0.0, r:2, '__get__name'
callMethod
push r:2
setMember
branch label3
label4:
push r:ratings
enumerateValue
label5:
setRegister r:0
push NULL
equals
branchIfTrue label6
push r:0
setRegister r:6
pop
push r:ratings, r:6
getMember
setRegister r:3
pop
push r:this, '_ratings'
getMember
push 0.0, r:3, '__get__name'
callMethod
push r:3
setMember
branch label5
label6:
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__connection'
function2 () (r:1='this')
push r:this, '_connection'
getMember
return
end // of function
setMember
push r:2, '__get__name'
function2 () (r:1='this')
push r:this, '_name'
getMember
return
end // of function
setMember
push r:2, '__get__type'
function2 () (r:1='this')
push r:this, '_type'
getMember
return
end // of function
setMember
push r:2, '__get__id'
function2 () (r:1='this')
push r:this, '_id'
getMember
return
end // of function
setMember
push r:2, '__get__keys'
function2 () (r:1='this')
push r:this, '_keysArray'
getMember
return
end // of function
setMember
push r:2, '__get__ratings'
function2 () (r:1='this')
push r:this, '_ratingsArray'
getMember
return
end // of function
setMember
push r:2, 'getKey'
function2 (r:2='name') (r:1='this')
push r:this, '_keys'
getMember
push r:name
getMember
return
end // of function
setMember
push r:2, 'getRating'
function2 (r:2='name') (r:1='this')
push r:this, '_ratings'
getMember
push r:name
getMember
return
end // of function
setMember
push r:2, 'getKeyById'
function2 (r:3='id') (r:1='this')
push r:this, '_keys'
getMember
enumerateValue
label7:
setRegister r:0
push NULL
equals
branchIfTrue label10
push r:0
setRegister r:4
pop
push r:this, '_keys'
getMember
push r:4
getMember
setRegister r:2
pop
push 0.0, r:2, '__get__id'
callMethod
push r:id
equals
not
branchIfTrue label9
label8:
push NULL
equals
not
branchIfTrue label8
push r:2
return
label9:
branch label7
label10:
push NULL
return
end // of function
setMember
push r:2, 'getRatingById'
function2 (r:3='id') (r:1='this')
push r:this, '_ratings'
getMember
enumerateValue
label11:
setRegister r:0
push NULL
equals
branchIfTrue label14
push r:0
setRegister r:4
pop
push r:this, '_ratings'
getMember
push r:4
getMember
setRegister r:2
pop
push 0.0, r:2, '__get__id'
callMethod
push r:id
equals
not
branchIfTrue label13
label12:
push NULL
equals
not
branchIfTrue label12
push r:2
return
label13:
branch label11
label14:
push NULL
return
end // of function
setMember
push r:2, 'toString'
function2 () (r:1='this')
push 'SaveGroup: ', 0.0, r:this, '__get__name'
callMethod
add
push ' Keys: '
add
push r:this, '_keysArray'
getMember
add
push ' Ratings: '
add
push r:this, '_ratingsArray'
getMember
add
return
end // of function
setMember
push r:1, 'TYPE_SYSTEM', 0.0
setMember
push r:1, 'TYPE_PRIVATE', 1
setMember
push r:1, 'TYPE_PUBLIC', 2
setMember
push r:1, 'TYPE_MODERATED', 3
setMember
function ()
end // of function
push r:2, '__get__connection'
getMember
push 'connection', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__id'
getMember
push 'id', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__keys'
getMember
push 'keys', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__name'
getMember
push 'name', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__ratings'
getMember
push 'ratings', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__type'
getMember
push 'type', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveGroup'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label15:
pop
end // of initMovieClip 40
defineMovieClip 38 // total frames: 0
end // of defineMovieClip 38
exportAssets
38 as '__Packages.com.newgrounds.SaveKey'
end // of exportAssets
initMovieClip 38
constants '_global', 'com', 'Object', 'newgrounds', 'SaveKey', '_name', '_id', '_type', 'prototype', '__get__name', '__get__id', '__get__type', 'validateValue', 'TYPE_INTEGER', 'TYPE_FLOAT', 'TYPE_BOOLEAN', 'TYPE_STRING', 'isNaN', 'Float value ', ' given for integer key "', '". Clamping to ', '.', 'Logger', 'logWarning', 'Boolean', '', 'toString', 'id', 'addProperty', 'name', 'type', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'SaveKey'
getMember
not
not
branchIfTrue label13
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveKey'
function2 (r:2='name', r:3='id', r:4='type') (r:1='this')
push r:this, '_name', r:name
setMember
push r:this, '_id', r:id
setMember
push r:this, '_type', r:type
setMember
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__name'
function2 () (r:1='this')
push r:this, '_name'
getMember
return
end // of function
setMember
push r:2, '__get__id'
function2 () (r:1='this')
push r:this, '_id'
getMember
return
end // of function
setMember
push r:2, '__get__type'
function2 () (r:1='this')
push r:this, '_type'
getMember
return
end // of function
setMember
push r:2, 'validateValue'
function2 (r:2='value') (r:1='this')
push r:this, '_type'
getMember
setRegister r:0
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveKey'
getMember
push 'TYPE_INTEGER'
getMember
strictEquals
branchIfTrue label3
push r:0, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveKey'
getMember
push 'TYPE_FLOAT'
getMember
strictEquals
branchIfTrue label6
push r:0, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveKey'
getMember
push 'TYPE_BOOLEAN'
getMember
strictEquals
branchIfTrue label8
push r:0, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveKey'
getMember
push 'TYPE_STRING'
getMember
strictEquals
branchIfTrue label9
branch label12
label3:
push r:value
toNumber
setRegister r:value
pop
push r:value, 1, 'isNaN'
callFunction
not
not
branchIfTrue label5
push r:value
int
setRegister r:3
pop
push r:3, r:value
equals
not
not
branchIfTrue label4
push 'Float value ', r:value
add
push ' given for integer key "'
add
push r:this, '_name'
getMember
add
push '". Clamping to '
add
push r:3
add
push '.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
label4:
push r:3
return
label5:
branch label12
label6:
push r:value
toNumber
setRegister r:value
pop
push r:value, 1, 'isNaN'
callFunction
not
not
branchIfTrue label7
push r:value
toNumber
push 1, 'isNaN'
callFunction
return
label7:
branch label12
label8:
push r:value, 1, 'Boolean'
callFunction
return
branch label12
label9:
push r:value
branchIfTrue label10
push ''
branch label11
label10:
push 0.0, r:value, 'toString'
callMethod
label11:
return
branch label12
label12:
push NULL
return
end // of function
setMember
push r:2, 'toString'
function2 () (r:1='this')
push r:this, '_name'
getMember
return
end // of function
setMember
push r:1, 'TYPE_FLOAT', 1
setMember
push r:1, 'TYPE_INTEGER', 2
setMember
push r:1, 'TYPE_STRING', 3
setMember
push r:1, 'TYPE_BOOLEAN', 4
setMember
function ()
end // of function
push r:2, '__get__id'
getMember
push 'id', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__name'
getMember
push 'name', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__type'
getMember
push 'type', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveKey'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label13:
pop
end // of initMovieClip 38
defineMovieClip 39 // total frames: 0
end // of defineMovieClip 39
exportAssets
39 as '__Packages.com.newgrounds.SaveRating'
end // of exportAssets
initMovieClip 39
constants '_global', 'com', 'Object', 'newgrounds', 'SaveRating', '_name', '_id', '_isFloat', '_minimum', '_maximum', 'prototype', '__get__name', '__get__id', '__get__isFloat', '__get__minimum', '__get__maximum', 'validateValue', 'isNaN', 'Invalid value for rating "', '".', 'Logger', 'logError', 'NaN', ' is out of acceptable range for rating "', '". Clamping to ', '.', 'logWarning', 'Float value ', ' given for integer rating "', 'toString', 'id', 'addProperty', 'isFloat', 'maximum', 'minimum', 'name', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'SaveRating'
getMember
not
not
branchIfTrue label8
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveRating'
function2 (r:2='name', r:4='id', r:3='isFloat', r:5='minimum', r:6='maximum') (r:1='this')
push r:this, '_name', r:name
setMember
push r:this, '_id', r:id
setMember
push r:this, '_isFloat', r:isFloat
setMember
push r:this, '_minimum', r:minimum
setMember
push r:this, '_maximum', r:maximum
setMember
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__name'
function2 () (r:1='this')
push r:this, '_name'
getMember
return
end // of function
setMember
push r:2, '__get__id'
function2 () (r:1='this')
push r:this, '_id'
getMember
return
end // of function
setMember
push r:2, '__get__isFloat'
function2 () (r:1='this')
push r:this, '_isFloat'
getMember
return
end // of function
setMember
push r:2, '__get__minimum'
function2 () (r:1='this')
push r:this, '_minimum'
getMember
return
end // of function
setMember
push r:2, '__get__maximum'
function2 () (r:1='this')
push r:this, '_maximum'
getMember
return
end // of function
setMember
push r:2, 'validateValue'
function2 (r:4='value') (r:1='this')
push r:value
toNumber
setRegister r:2
pop
push r:2, 1, 'isNaN'
callFunction
not
branchIfTrue label3
push 'Invalid value for rating "', r:this, '_name'
getMember
add
push '".'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'NaN'
getVariable
return
label3:
push r:2, r:this, '_minimum'
getMember
lessThan
not
branchIfTrue label4
push r:2, ' is out of acceptable range for rating "'
add
push r:this, '_name'
getMember
add
push '". Clamping to '
add
push r:this, '_minimum'
getMember
add
push '.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
push r:this, '_minimum'
getMember
return
label4:
push r:2, r:this, '_maximum'
getMember
greaterThan
not
branchIfTrue label5
push r:2, ' is out of acceptable range for rating "'
add
push r:this, '_name'
getMember
add
push '". Clamping to '
add
push r:this, '_maximum'
getMember
add
push '.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
push r:this, '_maximum'
getMember
return
label5:
push 0.0, r:this, '__get__isFloat'
callMethod
not
not
branchIfTrue label7
push r:2
int
setRegister r:3
pop
push r:3, r:2
equals
not
not
branchIfTrue label6
push 'Float value ', r:2
add
push ' given for integer rating "'
add
push r:this, '_name'
getMember
add
push '". Clamping to '
add
push r:3
add
push '.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
label6:
push r:3
return
label7:
push r:2
return
end // of function
setMember
push r:2, 'toString'
function2 () (r:1='this')
push r:this, '_name'
getMember
return
end // of function
setMember
function ()
end // of function
push r:2, '__get__id'
getMember
push 'id', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__isFloat'
getMember
push 'isFloat', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__maximum'
getMember
push 'maximum', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__minimum'
getMember
push 'minimum', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__name'
getMember
push 'name', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveRating'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label8:
pop
end // of initMovieClip 39
defineMovieClip 34 // total frames: 0
end // of defineMovieClip 34
exportAssets
34 as '__Packages.com.newgrounds.BitmapLoader'
end // of exportAssets
initMovieClip 34
constants '_global', 'com', 'Object', 'newgrounds', 'BitmapLoader', '_bitmapData', '_url', 'APIEventDispatcher', 'prototype', '__get__url', '__set__url', '_loaded', '__get__bitmapData', '__set__bitmapData', '__get__loaded', 'disposeLoader', '_loader', '_loaderClip', '_parent', 'bitmap', 'unloadClip', 'removeMovieClip', 'load', '', 'onLoadComplete', 'dispose', 'attachBitmap', 'getNextHighestDepth', '__bitmap', 'createEmptyMovieClip', 'MovieClipLoader', '_visible', 'thisObj', 'onEnterFrame', 'pollLoad', 'onLoadError', 'addListener', 'loadClip', '_width', '_height', 'flash', 'display', 'BitmapData', 'draw', 'APIEvent', 'ERROR_BAD_FILE', 'ICON_LOADED', 'dispatchEvent', '_cacheSeed', 'bitmapData', 'addProperty', 'loaded', 'url', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'BitmapLoader'
getMember
not
not
branchIfTrue label20
push 'com'
getVariable
push 'newgrounds'
getMember
push 'BitmapLoader'
function2 (r:3='defaultBitmap', r:4='url') (r:1='this', r:2='super')
push 0.0, r:super, UNDEF
callMethod
pop
push r:this, '_bitmapData', r:defaultBitmap
setMember
push r:this, '_url', r:url
setMember
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'BitmapLoader'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__url'
function2 () (r:1='this')
push r:this, '_url'
getMember
return
end // of function
setMember
push r:2, '__set__url'
function2 (r:2='v') (r:1='this')
push r:this, '_loaded', FALSE
setMember
push r:this, '_url', r:v
setMember
push 0.0, r:this, '__get__url'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__bitmapData'
function2 () (r:1='this')
push r:this, '_bitmapData'
getMember
return
end // of function
setMember
push r:2, '__set__bitmapData'
function2 (r:2='v') (r:1='this')
push r:this, '_bitmapData', r:v
setMember
push r:this, '_loaded', TRUE
setMember
push 0.0, r:this, '__get__bitmapData'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__loaded'
function2 () (r:1='this')
push r:this, '_loaded'
getMember
return
end // of function
setMember
push r:2, 'disposeLoader'
function2 () (r:1='this', r:2='_root')
push r:this, '_loader'
getMember
not
branchIfTrue label4
push r:this, '_loaderClip'
getMember
push '_parent'
getMember
push r:_root
equals
not
branchIfTrue label3
push r:this, '_loaderClip'
getMember
push 'bitmap'
getMember
push 1, r:this, '_loader'
getMember
push 'unloadClip'
callMethod
pop
push 0.0, r:this, '_loaderClip'
getMember
push 'removeMovieClip'
callMethod
pop
label3:
push r:this, '_loader', NULL
setMember
push r:this, '_loaderClip', NULL
setMember
label4:
end // of function
setMember
push r:2, 'load'
function2 () (r:1='this')
push r:this, '_url'
getMember
not
dup
branchIfTrue label5
pop
push r:this, '_url'
getMember
push ''
equals
label5:
not
branchIfTrue label6
push 0.0, r:this, 'onLoadComplete'
callMethod
pop
push UNDEF
return
label6:
push r:this, '_loaded', FALSE
setMember
push r:this, '_bitmapData'
getMember
not
branchIfTrue label7
push 0.0, r:this, '_bitmapData'
getMember
push 'dispose'
callMethod
pop
push r:this, '_bitmapData', NULL
setMember
label7:
push 0.0, r:this, 'disposeLoader'
callMethod
pop
push NULL, 1, r:this, 'attachBitmap'
callMethod
pop
end // of function
setMember
push r:2, 'attachBitmap'
function2 (r:4='parent') (r:1='this', r:2='_root')
push r:parent
not
not
branchIfTrue label8
push r:_root
setRegister r:parent
pop
label8:
push 0.0, r:parent, 'getNextHighestDepth'
callMethod
setRegister r:5
pop
push r:5, '__bitmap', r:5
add
push 2, r:parent, 'createEmptyMovieClip'
callMethod
setRegister r:3
pop
push r:this, '_loaded'
getMember
not
dup
not
branchIfTrue label9
pop
push r:this, '_url'
getMember
label9:
dup
not
branchIfTrue label10
pop
push r:this, '_url'
getMember
push ''
equals
not
label10:
not
branchIfTrue label12
push 0.0, 'bitmap', 2, r:3, 'createEmptyMovieClip'
callMethod
pop
push r:this, '_loader', 0.0, 'MovieClipLoader'
new
setMember
push r:this, '_loaderClip', r:3
setMember
push r:parent, r:_root
equals
not
branchIfTrue label11
push r:this, '_loaderClip'
getMember
push '_visible', FALSE
setMember
label11:
push 'thisObj', r:this
varEquals
push r:this, '_loaderClip'
getMember
push 'onEnterFrame'
function ()
push 0.0, 'thisObj'
getVariable
push 'pollLoad'
callMethod
pop
end // of function
setMember
push 'onLoadError'
function ()
push 0.0, 'thisObj'
getVariable
push 'onLoadComplete'
callMethod
pop
end // of function
push 1
initObject
push 1, r:this, '_loader'
getMember
push 'addListener'
callMethod
pop
push r:3, 'bitmap'
getMember
push r:this, '_url'
getMember
push 2, r:this, '_loader'
getMember
push 'loadClip'
callMethod
pop
branch label13
label12:
push 0.0, r:this, '_bitmapData'
getMember
push 2, r:3, 'attachBitmap'
callMethod
pop
label13:
push r:3
return
end // of function
setMember
push r:2, 'pollLoad'
function2 () (r:1='this')
push r:this, '_loaderClip'
getMember
push '_width'
getMember
not
branchIfTrue label14
push 0.0, r:this, 'onLoadComplete'
callMethod
pop
label14:
end // of function
setMember
push r:2, 'onLoadComplete'
function2 () (r:1='this')
push UNDEF
setRegister r:2
pop
push r:this, '_loader'
getMember
dup
not
branchIfTrue label15
pop
push r:this, '_loaderClip'
getMember
label15:
dup
not
branchIfTrue label16
pop
push r:this, '_loaderClip'
getMember
push '_width'
getMember
label16:
not
branchIfTrue label17
try 'error'
push r:this, '_loaderClip'
getMember
push 'onEnterFrame', NULL
setMember
push 0.0, TRUE, r:this, '_loaderClip'
getMember
push '_height'
getMember
push r:this, '_loaderClip'
getMember
push '_width'
getMember
push 4, 'flash'
getVariable
push 'display'
getMember
push 'BitmapData'
newMethod
setRegister r:2
pop
push r:this, '_loaderClip'
getMember
push 1, r:2, 'draw'
callMethod
pop
push r:this, '_bitmapData', r:2
setMember
push r:this, '_loaded', TRUE
setMember
branch label17
catch
push r:2
not
branchIfTrue label17
push 0.0, r:2, 'dispose'
callMethod
pop
label17:
end // of try
push 0.0, r:this, 'disposeLoader'
callMethod
pop
push r:this, '_loaded'
getMember
branchIfTrue label18
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_BAD_FILE'
getMember
branch label19
label18:
push NULL
label19:
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ICON_LOADED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:1, '_cacheSeed', 0.0
setMember
push r:2, '_loaded', TRUE
setMember
push r:2, '__set__bitmapData'
getMember
push r:2, '__get__bitmapData'
getMember
push 'bitmapData', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__loaded'
getMember
push 'loaded', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__url'
getMember
push r:2, '__get__url'
getMember
push 'url', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'BitmapLoader'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label20:
pop
end // of initMovieClip 34
defineMovieClip 43 // total frames: 0
end // of defineMovieClip 43
exportAssets
43 as '__Packages.com.newgrounds.SaveQuery'
end // of exportAssets
initMovieClip 43
constants '_global', 'com', 'Object', 'newgrounds', 'SaveQuery', '_group', '_connection', 'connection', 'includeAllFields', 'APIEventDispatcher', 'prototype', '__get__group', '__get__resultsPerPage', '_resultsPerPage', '__set__resultsPerPage', 'Math', 'max', 'min', '__get__page', '_page', '__set__page', 'prevPage', 'nextPage', '__get__isRandomized', '_isRandomized', '__set__isRandomized', '__get__files', '_files', 'reset', '_lookupKeys', '_lookupRatings', '_fileConditions', '_keyConditions', '_ratingConditions', 'clone', 'concat', '__get__keys', '__get__id', 'push', '__get__ratings', 'addCondition', 'FILE_FIELDS', 'length', 'field', 'operator', 'value', 'getKey', 'validateValue', 'key_id', '.', 'split', 'getRating', 'rating_id', 'column', 'score', 'The save group "', '__get__name', '" does not have a field named "', '".', 'Logger', 'logError', 'sortOn', 'table', 'TABLE_FILES', 'desc', '_sortFields', 'TABLE_KEYS', 'TABLE_RATINGS', 'extra', 'execute', 'page', 'num_results', 'randomize', 'lookup_keys', 'lookup_ratings', 'file_conditions', 'key_conditions', 'rating_conditions', 'sort_conditions', 'publisher_id', 'publisherId', 'group_id', 'query', 'target', 'func', 'onQueryComplete', 'lookupSaveFiles', 'sendSimpleCommand', '__get__success', '__get__data', 'files', 'SaveFile', 'fromObject', 'APIEvent', 'QUERY_COMPLETE', 'dispatchEvent', 'Query failed: ', '__get__error', 'FILE_ID', 'fileId', 'AUTHOR_ID', 'authorId', 'AUTHOR_NAME', 'authorName', 'FILE_NAME', 'fileName', 'CREATED_ON', 'createdOn', 'UPDATED_ON', 'updatedOn', 'FILE_VIEWS', 'fileViews', 'FILE_STATUS', 'fileStatus', 'OPERATOR_EQUAL', '=', 'OPERATOR_LESS_THAN', '<', 'OPERATOR_GREATER_THAN', '>', 'OPERATOR_NOT_EQUAL', '!=', 'OPERATOR_LESS_OR_EQUAL', '<=', 'OPERATOR_GREATER_OR_EQUAL', '>=', 'OPERATOR_CONTAINS', '*', 'OPERATOR_NOT_CONTAINS', '!*', 'OPERATOR_NOT_BEGINS_WITH', '!*=', 'OPERATOR_NOT_ENDS_WITH', '!=*', 'OPERATOR_BEGINS_WITH', '*=', 'OPERATOR_ENDS_WITH', '=*', 'addProperty', 'group', 'isRandomized', 'resultsPerPage', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
not
not
branchIfTrue label46
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
function2 (r:3='group') (r:1='this', r:2='super')
push 0.0, r:super, UNDEF
callMethod
pop
push r:this, '_group', r:group
setMember
push r:this, '_connection', r:group, 'connection'
getMember
setMember
push 0.0, r:this, 'includeAllFields'
callMethod
pop
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__group'
function2 () (r:1='this')
push r:this, '_group'
getMember
return
end // of function
setMember
push r:2, '__get__resultsPerPage'
function2 () (r:1='this')
push r:this, '_resultsPerPage'
getMember
return
end // of function
setMember
push r:2, '__set__resultsPerPage'
function2 (r:2='val') (r:1='this')
push r:this, '_resultsPerPage', 100, 1, r:val, 2, 'Math'
getVariable
push 'max'
callMethod
push 2, 'Math'
getVariable
push 'min'
callMethod
setMember
push 0.0, r:this, '__get__resultsPerPage'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__page'
function2 () (r:1='this')
push r:this, '_page'
getMember
return
end // of function
setMember
push r:2, '__set__page'
function2 (r:2='val') (r:1='this')
push r:this, '_page', 1, r:val, 2, 'Math'
getVariable
push 'max'
callMethod
setMember
push 0.0, r:this, '__get__page'
callMethod
return
pop
end // of function
setMember
push r:2, 'prevPage'
function2 () (r:1='this')
push 0.0, r:this, '__get__page'
callMethod
decrement
push 1, r:this, '__set__page'
callMethod
pop
end // of function
setMember
push r:2, 'nextPage'
function2 () (r:1='this')
push 0.0, r:this, '__get__page'
callMethod
increment
push 1, r:this, '__set__page'
callMethod
pop
end // of function
setMember
push r:2, '__get__isRandomized'
function2 () (r:1='this')
push r:this, '_isRandomized'
getMember
return
end // of function
setMember
push r:2, '__set__isRandomized'
function2 (r:2='val') (r:1='this')
push r:this, '_isRandomized', r:val
setMember
push 0.0, r:this, '__get__isRandomized'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__files'
function2 () (r:1='this')
push r:this, '_files'
getMember
return
end // of function
setMember
push r:2, 'reset'
function2 () (r:1='this')
push r:this, '_page', 1
setMember
push r:this, '_resultsPerPage', 10
setMember
push r:this, '_isRandomized', FALSE
setMember
push r:this, '_lookupKeys', 0.0
initArray
setMember
push r:this, '_lookupRatings', 0.0
initArray
setMember
push r:this, '_fileConditions', 0.0
initArray
setMember
push r:this, '_keyConditions', 0.0
initArray
setMember
push r:this, '_ratingConditions', 0.0
initArray
setMember
push r:this, '_files', 0.0
initArray
setMember
push 0.0, r:this, 'includeAllFields'
callMethod
pop
end // of function
setMember
push r:2, 'clone'
function2 () (r:1='this')
push r:this, '_group'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
newMethod
setRegister r:2
pop
push r:2, '_page', r:this, '_page'
getMember
setMember
push r:2, '_resultsPerPage', r:this, '_resultsPerPage'
getMember
setMember
push r:2, '_isRandomized', r:this, '_isRandomized'
getMember
setMember
push r:2, '_lookupKeys', 0.0, r:this, '_lookupKeys'
getMember
push 'concat'
callMethod
setMember
push r:2, '_lookupRatings', 0.0, r:this, '_lookupRatings'
getMember
push 'concat'
callMethod
setMember
push r:2, '_fileConditions', 0.0, r:this, '_fileConditions'
getMember
push 'concat'
callMethod
setMember
push r:2, '_keyConditions', 0.0, r:this, '_keyConditions'
getMember
push 'concat'
callMethod
setMember
push r:2, '_ratingConditions', 0.0, r:this, '_ratingConditions'
getMember
push 'concat'
callMethod
setMember
push r:2
return
end // of function
setMember
push r:2, 'includeAllFields'
function2 () (r:1='this')
push 0.0, r:this, '_group'
getMember
push '__get__keys'
callMethod
enumerateValue
label3:
setRegister r:0
push NULL
equals
branchIfTrue label4
push r:0
setRegister r:5
pop
push 0.0, r:this, '_group'
getMember
push '__get__keys'
callMethod
push r:5
getMember
setRegister r:2
pop
push 0.0, r:2, '__get__id'
callMethod
push 1, r:this, '_lookupKeys'
getMember
push 'push'
callMethod
pop
branch label3
label4:
push 0.0, r:this, '_group'
getMember
push '__get__ratings'
callMethod
enumerateValue
label5:
setRegister r:0
push NULL
equals
branchIfTrue label6
push r:0
setRegister r:4
pop
push 0.0, r:this, '_group'
getMember
push '__get__ratings'
callMethod
push r:4
getMember
setRegister r:3
pop
push 0.0, r:3, '__get__id'
callMethod
push 1, r:this, '_lookupRatings'
getMember
push 'push'
callMethod
pop
branch label5
label6:
end // of function
setMember
push r:2, 'addCondition'
function2 (r:5='field', r:9='operator', r:7='value') (r:1='this')
push UNDEF
setRegister r:2
pop
push 0.0
setRegister r:2
pop
label7:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_FIELDS'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label9
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_FIELDS'
getMember
push r:2
getMember
push r:field
equals
not
branchIfTrue label8
branch label9
label8:
push r:2
increment
setRegister r:2
pop
branch label7
label9:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_FIELDS'
getMember
push 'length'
getMember
equals
not
branchIfTrue label10
push -1
setRegister r:2
pop
label10:
push r:2, 0.0
lessThan
not
not
branchIfTrue label11
push 'field', r:2, 'operator', r:operator, 'value', r:value, 3
initObject
push 1, r:this, '_fileConditions'
getMember
push 'push'
callMethod
pop
branch label16
label11:
push r:field, 1, r:this, '_group'
getMember
push 'getKey'
callMethod
setRegister r:3
pop
push r:3
not
branchIfTrue label12
push r:value, 1, r:3, 'validateValue'
callMethod
setRegister r:value
pop
push 'key_id', 0.0, r:3, '__get__id'
callMethod
push 'operator', r:operator, 'value', r:value, 3
initObject
push 1, r:this, '_keyConditions'
getMember
push 'push'
callMethod
pop
push UNDEF
return
label12:
push '.', 1, r:field, 'split'
callMethod
setRegister r:4
pop
push r:4, 0.0
getMember
push 1, r:this, '_group'
getMember
push 'getRating'
callMethod
setRegister r:6
pop
push r:6
not
branchIfTrue label15
push r:value, 1, r:6, 'validateValue'
callMethod
setRegister r:value
pop
push 'rating_id', 0.0, r:6, '__get__id'
callMethod
push 'operator', r:operator, 'value', r:value, 'column', r:4, 1
getMember
branchIfTrue label13
push 'score'
branch label14
label13:
push r:4, 1
getMember
label14:
push 4
initObject
push 1, r:this, '_ratingConditions'
getMember
push 'push'
callMethod
pop
push UNDEF
return
label15:
push 'The save group "', 0.0, r:this, '_group'
getMember
push '__get__name'
callMethod
add
push '" does not have a field named "'
add
push r:field
add
push '".'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
label16:
end // of function
setMember
push r:2, 'sortOn'
function2 (r:7='field', r:4='sortDescending') (r:1='this')
push r:sortDescending, UNDEF
equals
not
branchIfTrue label17
push FALSE
setRegister r:sortDescending
pop
label17:
push UNDEF
setRegister r:2
pop
push 0.0
setRegister r:2
pop
label18:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_FIELDS'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label20
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_FIELDS'
getMember
push r:2
getMember
push r:field
equals
not
branchIfTrue label19
branch label20
label19:
push r:2
increment
setRegister r:2
pop
branch label18
label20:
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_FIELDS'
getMember
push 'length'
getMember
equals
not
branchIfTrue label21
push -1
setRegister r:2
pop
label21:
push r:2, 0.0
lessThan
not
not
branchIfTrue label22
push 'table', 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'TABLE_FILES'
getMember
push 'field', r:2, 'desc', r:sortDescending, 3
initObject
push 1, r:this, '_sortFields'
getMember
push 'push'
callMethod
pop
branch label27
label22:
push r:field, 1, r:this, '_group'
getMember
push 'getKey'
callMethod
setRegister r:5
pop
push r:5
not
branchIfTrue label23
push 'table', 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'TABLE_KEYS'
getMember
push 'field', 0.0, r:5, '__get__id'
callMethod
push 'desc', r:sortDescending, 3
initObject
push 1, r:this, '_sortFields'
getMember
push 'push'
callMethod
pop
push UNDEF
return
label23:
push '.', 1, r:field, 'split'
callMethod
setRegister r:3
pop
push r:3, 0.0
getMember
push 1, r:this, '_group'
getMember
push 'getRating'
callMethod
setRegister r:6
pop
push r:6
not
branchIfTrue label26
push 'table', 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'TABLE_RATINGS'
getMember
push 'field', 0.0, r:6, '__get__id'
callMethod
push 'desc', r:sortDescending, 'extra', r:3, 1
getMember
branchIfTrue label24
push 'score'
branch label25
label24:
push r:3, 1
getMember
label25:
push 4
initObject
push 1, r:this, '_sortFields'
getMember
push 'push'
callMethod
pop
push UNDEF
return
label26:
push 'The save group "', 0.0, r:this, '_group'
getMember
push '__get__name'
callMethod
add
push '" does not have a field named "'
add
push r:field
add
push '".'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
label27:
end // of function
setMember
push r:2, 'execute'
function2 () (r:1='this')
push 0.0
initObject
setRegister r:5
pop
push r:5, 'page', r:this, '_page'
getMember
setMember
push r:5, 'num_results', r:this, '_resultsPerPage'
getMember
setMember
push r:this, '_isRandomized'
getMember
not
branchIfTrue label28
push r:5, 'randomize', 1
setMember
label28:
push r:this, '_lookupKeys'
getMember
dup
not
branchIfTrue label29
pop
push r:this, '_lookupKeys'
getMember
push 'length'
getMember
label29:
not
branchIfTrue label30
push r:5, 'lookup_keys', r:this, '_lookupKeys'
getMember
setMember
label30:
push r:this, '_lookupRatings'
getMember
dup
not
branchIfTrue label31
pop
push r:this, '_lookupRatings'
getMember
push 'length'
getMember
label31:
not
branchIfTrue label32
push r:5, 'lookup_ratings', r:this, '_lookupRatings'
getMember
setMember
label32:
push r:this, '_fileConditions'
getMember
dup
not
branchIfTrue label33
pop
push r:this, '_fileConditions'
getMember
push 'length'
getMember
label33:
not
branchIfTrue label34
push r:5, 'file_conditions', r:this, '_fileConditions'
getMember
setMember
label34:
push r:this, '_keyConditions'
getMember
dup
not
branchIfTrue label35
pop
push r:this, '_keyConditions'
getMember
push 'length'
getMember
label35:
not
branchIfTrue label36
push r:5, 'key_conditions', r:this, '_keyConditions'
getMember
setMember
label36:
push r:this, '_ratingConditions'
getMember
dup
not
branchIfTrue label37
pop
push r:this, '_ratingConditions'
getMember
push 'length'
getMember
label37:
not
branchIfTrue label38
push r:5, 'rating_conditions', r:this, '_ratingConditions'
getMember
setMember
label38:
push r:this, '_sortFields'
getMember
dup
not
branchIfTrue label39
pop
push r:this, '_sortFields'
getMember
push 'length'
getMember
label39:
not
branchIfTrue label40
push r:5, 'sort_conditions', r:this, '_sortFields'
getMember
setMember
label40:
push 'publisher_id', r:this, '_connection'
getMember
push 'publisherId'
getMember
push 'group_id', 0.0, r:this, '_group'
getMember
push '__get__id'
callMethod
push 'query', r:5, 3
initObject
push 'target', r:this, 'func', r:this, 'onQueryComplete'
getMember
push 2
initObject
push 'lookupSaveFiles', 3, r:this, '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
end // of function
setMember
push r:2, 'onQueryComplete'
function2 (r:5='event') (r:1='this')
push 0.0, r:event, '__get__success'
callMethod
not
branchIfTrue label44
push 0.0, r:event, '__get__data'
callMethod
setRegister r:4
pop
push r:this, '_files', 0.0
initArray
setMember
push r:4, 'files'
getMember
not
branchIfTrue label43
push 0.0
setRegister r:2
pop
label41:
push r:2, r:4, 'files'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label43
push r:4, 'files'
getMember
push r:2
getMember
push r:this, '_group'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveFile'
getMember
push 'fromObject'
callMethod
setRegister r:3
pop
push r:3
not
branchIfTrue label42
push r:3, 1, r:this, '_files'
getMember
push 'push'
callMethod
pop
label42:
push r:2
increment
setRegister r:2
pop
branch label41
label43:
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'QUERY_COMPLETE'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
branch label45
label44:
push 'Query failed: ', 0.0, r:event, '__get__error'
callMethod
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 0.0, r:event, '__get__error'
callMethod
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'QUERY_COMPLETE'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
label45:
end // of function
setMember
push r:1, 'FILE_ID', 'fileId'
setMember
push r:1, 'AUTHOR_ID', 'authorId'
setMember
push r:1, 'AUTHOR_NAME', 'authorName'
setMember
push r:1, 'FILE_NAME', 'fileName'
setMember
push r:1, 'CREATED_ON', 'createdOn'
setMember
push r:1, 'UPDATED_ON', 'updatedOn'
setMember
push r:1, 'FILE_VIEWS', 'fileViews'
setMember
push r:1, 'FILE_STATUS', 'fileStatus'
setMember
push r:1, 'FILE_FIELDS', 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_STATUS'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_VIEWS'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'UPDATED_ON'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'CREATED_ON'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_NAME'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'AUTHOR_NAME'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'AUTHOR_ID'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'FILE_ID'
getMember
push 8
initArray
setMember
push r:1, 'OPERATOR_EQUAL', '='
setMember
push r:1, 'OPERATOR_LESS_THAN', '<'
setMember
push r:1, 'OPERATOR_GREATER_THAN', '>'
setMember
push r:1, 'OPERATOR_NOT_EQUAL', '!='
setMember
push r:1, 'OPERATOR_LESS_OR_EQUAL', '<='
setMember
push r:1, 'OPERATOR_GREATER_OR_EQUAL', '>='
setMember
push r:1, 'OPERATOR_CONTAINS', '*'
setMember
push r:1, 'OPERATOR_NOT_CONTAINS', '!*'
setMember
push r:1, 'OPERATOR_NOT_BEGINS_WITH', '!*='
setMember
push r:1, 'OPERATOR_NOT_ENDS_WITH', '!=*'
setMember
push r:1, 'OPERATOR_BEGINS_WITH', '*='
setMember
push r:1, 'OPERATOR_ENDS_WITH', '=*'
setMember
push r:1, 'TABLE_FILES', 1
setMember
push r:1, 'TABLE_KEYS', 2
setMember
push r:1, 'TABLE_RATINGS', 3
setMember
push r:2, '_page', 1
setMember
push r:2, '_resultsPerPage', 10
setMember
push r:2, '_isRandomized', FALSE
setMember
push r:2, '_files', 0.0
initArray
setMember
push r:2, '_lookupKeys', 0.0
initArray
setMember
push r:2, '_lookupRatings', 0.0
initArray
setMember
push r:2, '_fileConditions', 0.0
initArray
setMember
push r:2, '_keyConditions', 0.0
initArray
setMember
push r:2, '_ratingConditions', 0.0
initArray
setMember
push r:2, '_sortFields', 0.0
initArray
setMember
function ()
end // of function
push r:2, '__get__files'
getMember
push 'files', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__group'
getMember
push 'group', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__isRandomized'
getMember
push r:2, '__get__isRandomized'
getMember
push 'isRandomized', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__page'
getMember
push r:2, '__get__page'
getMember
push 'page', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__resultsPerPage'
getMember
push r:2, '__get__resultsPerPage'
getMember
push 'resultsPerPage', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'SaveQuery'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label46:
pop
end // of initMovieClip 43
defineMovieClip 35 // total frames: 0
end // of defineMovieClip 35
exportAssets
35 as '__Packages.com.newgrounds.Medal'
end // of exportAssets
initMovieClip 35
constants '_global', 'com', 'Object', 'newgrounds', 'Medal', '_connection', '_id', '_name', '_unlocked', '_value', '_difficulty', 'DIFFICULTIES', '_iconLoader', 'DEFAULT_ICON', 'BitmapLoader', 'load', 'APIEventDispatcher', 'prototype', '__get__difficulty', '__get__icon', '__get__bitmapData', '__get__id', '__get__name', '__get__unlocked', '__get__value', 'toString', 'Medal: ', '\t\t(', 'locked, ', 'unlocked, ', 'pts, ', ')', 'attachIcon', 'attachBitmap', 'unlock', 'debug', 'Medal "', '" is already unlocked.', 'Logger', 'logWarning', 'Unlocking medal "', '"...', 'logMessage', 'medal_id', 'target', 'func', 'onUnlockConfirmed', 'unlockMedal', 'sendSimpleCommand', 'APIEvent', 'MEDAL_UNLOCKED', 'dispatchEvent', '__get__success', '" unlocked.', 'Failed to unlock "', '"!', 'logError', '__get__error', 'MEDAL_UNLOCK_CONFIRMED', 'ICON_WIDTH', 'ICON_HEIGHT', 'DefaultMedalIcon', 'flash', 'display', 'BitmapData', 'loadBitmap', 'DIFFICULTY_EASY', 'Easy', 'DIFFICULTY_MODERATE', 'Moderate', 'DIFFICULTY_CHALLENGING', 'Challenging', 'DIFFICULTY_DIFFICULT', 'Difficult', 'DIFFICULTY_BRUTAL', 'Brutal', 'Unknown', 'difficulty', 'addProperty', 'icon', 'id', 'name', 'unlocked', 'value', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'Medal'
getMember
not
not
branchIfTrue label9
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
function2 (r:6='connection', r:7='id', r:3='name', r:8='unlocked', r:4='value', r:5='difficultyId', r:9='iconURL') (r:1='this', r:2='super')
push 0.0, r:super, UNDEF
callMethod
pop
push r:this, '_connection', r:connection
setMember
push r:this, '_id', r:id
setMember
push r:this, '_name', r:name
setMember
push r:this, '_unlocked', r:unlocked
setMember
push r:this, '_value', r:value
setMember
push r:this, '_difficulty', 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'DIFFICULTIES'
getMember
push r:difficultyId
getMember
setMember
push r:this, '_iconLoader', r:iconURL, 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'DEFAULT_ICON'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'BitmapLoader'
newMethod
setMember
push 0.0, r:this, '_iconLoader'
getMember
push 'load'
callMethod
pop
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__difficulty'
function2 () (r:1='this')
push r:this, '_difficulty'
getMember
return
end // of function
setMember
push r:2, '__get__icon'
function2 () (r:1='this')
push 0.0, r:this, '_iconLoader'
getMember
push '__get__bitmapData'
callMethod
return
end // of function
setMember
push r:2, '__get__id'
function2 () (r:1='this')
push r:this, '_id'
getMember
return
end // of function
setMember
push r:2, '__get__name'
function2 () (r:1='this')
push r:this, '_name'
getMember
return
end // of function
setMember
push r:2, '__get__unlocked'
function2 () (r:1='this')
push r:this, '_unlocked'
getMember
return
end // of function
setMember
push r:2, '__get__value'
function2 () (r:1='this')
push r:this, '_value'
getMember
return
end // of function
setMember
push r:2, 'toString'
function2 () (r:1='this')
push 'Medal: ', r:this, '_name'
getMember
add
push '\t\t('
add
push r:this, '_unlocked'
getMember
branchIfTrue label3
push 'locked, '
branch label4
label3:
push 'unlocked, '
label4:
add
push r:this, '_value'
getMember
add
push 'pts, '
add
push r:this, '_difficulty'
getMember
add
push ')'
add
return
end // of function
setMember
push r:2, 'attachIcon'
function2 (r:2='parent') (r:1='this')
push r:parent, 1, r:this, '_iconLoader'
getMember
push 'attachBitmap'
callMethod
return
end // of function
setMember
push r:2, 'unlock'
function2 () (r:1='this')
push r:this, '_connection'
getMember
push 'debug'
getMember
not
dup
not
branchIfTrue label5
pop
push r:this, '_unlocked'
getMember
label5:
not
branchIfTrue label6
push 'Medal "', r:this, '_name'
getMember
add
push '" is already unlocked.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logWarning'
callMethod
pop
push UNDEF
return
label6:
push 'Unlocking medal "', 0.0, r:this, '__get__name'
callMethod
add
push '"...'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push r:this, '_unlocked', TRUE
setMember
push 'medal_id', 0.0, r:this, '__get__id'
callMethod
push 1
initObject
push NULL, 'target', r:this, 'func', r:this, 'onUnlockConfirmed'
getMember
push 2
initObject
push 'unlockMedal', 4, r:this, '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'MEDAL_UNLOCKED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:2, 'onUnlockConfirmed'
function2 (r:2='event') (r:1='this')
push 0.0, r:event, '__get__success'
callMethod
not
branchIfTrue label7
push 'Medal "', 0.0, r:this, '__get__name'
callMethod
add
push '" unlocked.'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
branch label8
label7:
push 'Failed to unlock "', 0.0, r:this, '__get__name'
callMethod
add
push '"!'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
label8:
push 0.0, r:event, '__get__error'
callMethod
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'MEDAL_UNLOCK_CONFIRMED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:1, 'ICON_WIDTH', 50
setMember
push r:1, 'ICON_HEIGHT', 50
setMember
push r:1, 'DEFAULT_ICON', 'DefaultMedalIcon', 1, 'flash'
getVariable
push 'display'
getMember
push 'BitmapData'
getMember
push 'loadBitmap'
callMethod
setMember
push r:1, 'DIFFICULTY_EASY', 'Easy'
setMember
push r:1, 'DIFFICULTY_MODERATE', 'Moderate'
setMember
push r:1, 'DIFFICULTY_CHALLENGING', 'Challenging'
setMember
push r:1, 'DIFFICULTY_DIFFICULT', 'Difficult'
setMember
push r:1, 'DIFFICULTY_BRUTAL', 'Brutal'
setMember
push r:1, 'DIFFICULTIES', 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'DIFFICULTY_BRUTAL'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'DIFFICULTY_DIFFICULT'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'DIFFICULTY_CHALLENGING'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'DIFFICULTY_MODERATE'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'DIFFICULTY_EASY'
getMember
push 'Unknown', 6
initArray
setMember
function ()
end // of function
push r:2, '__get__difficulty'
getMember
push 'difficulty', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__icon'
getMember
push 'icon', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__id'
getMember
push 'id', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__name'
getMember
push 'name', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__unlocked'
getMember
push 'unlocked', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__value'
getMember
push 'value', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'Medal'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label9:
pop
end // of initMovieClip 35
defineMovieClip 37 // total frames: 0
end // of defineMovieClip 37
exportAssets
37 as '__Packages.com.newgrounds.ScoreBoard'
end // of exportAssets
initMovieClip 37
constants '_global', 'com', 'Object', 'newgrounds', 'ScoreBoard', '_connection', '_name', '_id', 'APIEventDispatcher', 'prototype', '__get__name', '__get__scores', '_scores', '__get__period', '_period', '__set__period', '__get__firstResult', '_firstResult', '__set__firstResult', 'Math', 'max', '__get__numResults', '_numResults', '__set__numResults', '__get__tag', '_tag', '__set__tag', '__get__page', 'ceil', 'prevPage', 'firstResult', 'nextPage', 'loadScores', 'publisher_id', 'publisherId', 'board', 'page', 'num_results', 'period', 'tag', 'target', 'func', 'onScoresLoaded', 'sendSimpleCommand', 'postScore', 'isNaN', 'Cannot post invalid score: ', 'Logger', 'logError', 'APIEvent', 'ERROR_INVALID_ARGUMENT', 'SCORE_POSTED', 'dispatchEvent', 'Posting a score of ', ' by ', 'username', ' to scoreboard "', '"...', 'logMessage', 'user_name', 'value', 'onScorePosted', '__get__data', 'first_result', 'scores', 'length', 'numeric_value', 'Score', 'SCORES_LOADED', '__get__success', 'Score posted!', 'score', 'scoreBoard', 'Error posting score: ', '__get__error', 'toString', 'Scoreboard: ', 'TODAY', 'Today', 'THIS_WEEK', 'This Week', 'THIS_MONTH', 'This Month', 'THIS_YEAR', 'This Year', 'ALL_TIME', 'All-Time', 'addProperty', 'name', 'numResults', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'ScoreBoard'
getMember
not
not
branchIfTrue label13
push 'com'
getVariable
push 'newgrounds'
getMember
push 'ScoreBoard'
function2 (r:4='connection', r:3='name', r:5='id') (r:1='this', r:2='super')
push 0.0, r:super, UNDEF
callMethod
pop
push r:this, '_connection', r:connection
setMember
push r:this, '_name', r:name
setMember
push r:this, '_id', r:id
setMember
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'ScoreBoard'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEventDispatcher'
getMember
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__name'
function2 () (r:1='this')
push r:this, '_name'
getMember
return
end // of function
setMember
push r:2, '__get__scores'
function2 () (r:1='this')
push r:this, '_scores'
getMember
return
end // of function
setMember
push r:2, '__get__period'
function2 () (r:1='this')
push r:this, '_period'
getMember
return
end // of function
setMember
push r:2, '__set__period'
function2 (r:2='val') (r:1='this')
push r:this, '_period', r:val
setMember
push 0.0, r:this, '__get__period'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__firstResult'
function2 () (r:1='this')
push r:this, '_firstResult'
getMember
return
end // of function
setMember
push r:2, '__set__firstResult'
function2 (r:2='val') (r:1='this')
push r:this, '_firstResult', r:val, 1, 2, 'Math'
getVariable
push 'max'
callMethod
setMember
push 0.0, r:this, '__get__firstResult'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__numResults'
function2 () (r:1='this')
push r:this, '_numResults'
getMember
return
end // of function
setMember
push r:2, '__set__numResults'
function2 (r:2='val') (r:1='this')
push r:this, '_numResults', r:val
setMember
push 0.0, r:this, '__get__numResults'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__tag'
function2 () (r:1='this')
push r:this, '_tag'
getMember
return
end // of function
setMember
push r:2, '__set__tag'
function2 (r:2='val') (r:1='this')
push r:this, '_tag', r:val
setMember
push 0.0, r:this, '__get__tag'
callMethod
return
pop
end // of function
setMember
push r:2, '__get__page'
function2 () (r:1='this')
push r:this, '_firstResult'
getMember
push 1
subtract
push r:this, '_numResults'
getMember
divide
push 1, 'Math'
getVariable
push 'ceil'
callMethod
push 1
add
return
end // of function
setMember
push r:2, 'prevPage'
function2 () (r:1='this')
push 0.0, r:this, '__get__firstResult'
callMethod
push r:this, '_numResults'
getMember
greaterThan
not
branchIfTrue label3
push r:this, 'firstResult', r:this, 'firstResult'
getMember
push r:this, '_numResults'
getMember
subtract
setMember
label3:
end // of function
setMember
push r:2, 'nextPage'
function2 () (r:1='this')
push r:this, 'firstResult', r:this, 'firstResult'
getMember
push r:this, '_numResults'
getMember
add
setMember
end // of function
setMember
push r:2, 'loadScores'
function2 () (r:1='this')
push 'publisher_id', r:this, '_connection'
getMember
push 'publisherId'
getMember
push 'board', r:this, '_id'
getMember
push 'page', r:this, '_firstResult'
getMember
push 1
subtract
push r:this, '_numResults'
getMember
divide
push 1
add
push 'num_results', r:this, '_numResults'
getMember
push 'period', r:this, '_period'
getMember
push 'tag', r:this, '_tag'
getMember
push 6
initObject
push 'target', r:this, 'func', r:this, 'onScoresLoaded'
getMember
push 2
initObject
push 'loadScores', 3, r:this, '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
end // of function
setMember
push r:2, 'postScore'
function2 (r:2='numericScore', r:4='tag') (r:1='this')
push r:tag, UNDEF
equals
not
branchIfTrue label4
push NULL
setRegister r:tag
pop
label4:
push r:numericScore, 1, 'isNaN'
callFunction
not
branchIfTrue label5
push 'Cannot post invalid score: ', r:numericScore
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'ERROR_INVALID_ARGUMENT'
getMember
push NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'SCORE_POSTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
push UNDEF
return
label5:
push 'Posting a score of ', r:numericScore
add
push ' by '
add
push r:this, '_connection'
getMember
push 'username'
getMember
add
push ' to scoreboard "'
add
push r:this, '_name'
getMember
add
push '"...'
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 'user_name', r:this, '_connection'
getMember
push 'username'
getMember
push 'board', r:this, '_id'
getMember
push 'value', r:numericScore, 'tag', r:tag, 4
initObject
push NULL, 'target', r:this, 'func', r:this, 'onScorePosted'
getMember
push 2
initObject
push 'postScore', 4, r:this, '_connection'
getMember
push 'sendSimpleCommand'
callMethod
pop
end // of function
setMember
push r:2, 'onScoresLoaded'
function2 (r:6='event') (r:1='this')
push 0.0, r:event, '__get__data'
callMethod
setRegister r:4
pop
push r:this, '_scores', 0.0
initArray
setMember
push UNDEF
setRegister r:5
pop
push r:4, 'first_result'
getMember
not
branchIfTrue label6
push r:4, 'first_result'
getMember
setRegister r:5
pop
branch label7
label6:
push r:this, '_firstResult'
getMember
setRegister r:5
pop
label7:
push r:4, 'scores'
getMember
not
branchIfTrue label10
push 0.0
setRegister r:3
pop
label8:
push r:3, r:4, 'scores'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label10
push r:4, 'scores'
getMember
push r:3
getMember
setRegister r:2
pop
push r:2
not
branchIfTrue label9
push r:this, '_scores'
getMember
push r:3, r:2, 'tag'
getMember
push r:2, 'numeric_value'
getMember
push r:2, 'value'
getMember
push r:2, 'username'
getMember
push r:5, 5, 'com'
getVariable
push 'newgrounds'
getMember
push 'Score'
newMethod
setMember
label9:
push r:3, r:3
increment
setRegister r:3
pop
pop
push r:5, r:5
increment
setRegister r:5
pop
pop
branch label8
label10:
push r:this, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'SCORES_LOADED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:2, 'onScorePosted'
function2 (r:3='event') (r:1='this')
push 0.0, r:event, '__get__success'
callMethod
not
branchIfTrue label11
push 'Score posted!', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logMessage'
callMethod
pop
push 0.0, r:event, '__get__data'
callMethod
setRegister r:4
pop
push 0.0
initObject
setRegister r:2
pop
push r:2, 'score', r:4, 'value'
getMember
setMember
push r:2, 'scoreBoard', r:this
setMember
branch label12
label11:
push 'Error posting score: ', 0.0, r:event, '__get__error'
callMethod
add
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
label12:
push 0.0, r:event, '__get__error'
callMethod
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'SCORE_POSTED'
getMember
push 3, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, r:this, 'dispatchEvent'
callMethod
pop
end // of function
setMember
push r:2, 'toString'
function2 () (r:1='this')
push 'Scoreboard: ', r:this, '_name'
getMember
add
return
end // of function
setMember
push r:1, 'TODAY', 'Today'
setMember
push r:1, 'THIS_WEEK', 'This Week'
setMember
push r:1, 'THIS_MONTH', 'This Month'
setMember
push r:1, 'THIS_YEAR', 'This Year'
setMember
push r:1, 'ALL_TIME', 'All-Time'
setMember
push r:2, '_period', 'com'
getVariable
push 'newgrounds'
getMember
push 'ScoreBoard'
getMember
push 'ALL_TIME'
getMember
setMember
push r:2, '_firstResult', 1
setMember
push r:2, '_numResults', 10
setMember
push r:2, '__set__firstResult'
getMember
push r:2, '__get__firstResult'
getMember
push 'firstResult', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__name'
getMember
push 'name', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__numResults'
getMember
push r:2, '__get__numResults'
getMember
push 'numResults', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__page'
getMember
push 'page', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__period'
getMember
push r:2, '__get__period'
getMember
push 'period', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__scores'
getMember
push 'scores', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__tag'
getMember
push r:2, '__get__tag'
getMember
push 'tag', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'ScoreBoard'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label13:
pop
end // of initMovieClip 37
defineMovieClip 26 // total frames: 0
end // of defineMovieClip 26
exportAssets
26 as '__Packages.com.newgrounds.Logger'
end // of exportAssets
initMovieClip 26
constants '_global', 'com', 'Object', 'newgrounds', 'Logger', 'prototype', 'logInternal', 'PRIORITY_INTERNAL', 'log', 'logMessage', 'PRIORITY_MESSAGE', 'logWarning', 'PRIORITY_WARNING', 'logError', 'PRIORITY_ERROR', '_messageLevel', 'length', 'HEADER', 'APIEvent', 'LOG', '_eventDispatcher', 'dispatchEvent', '_throwLevel', '\n', 'join', 'Error', 'addEventListener', 'PRIORITY_MAX', '[Newgrounds API] :: ', 'EventDispatcher', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'Logger'
getMember
not
not
branchIfTrue label8
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
function ()
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:1, 'logInternal'
function2 () (r:1='arguments')
push r:arguments
setRegister r:2
pop
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'PRIORITY_INTERNAL'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'log'
callMethod
pop
end // of function
setMember
push r:1, 'logMessage'
function2 () (r:1='arguments')
push r:arguments
setRegister r:2
pop
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'PRIORITY_MESSAGE'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'log'
callMethod
pop
end // of function
setMember
push r:1, 'logWarning'
function2 () (r:1='arguments')
push r:arguments
setRegister r:2
pop
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'PRIORITY_WARNING'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'log'
callMethod
pop
end // of function
setMember
push r:1, 'logError'
function2 () (r:1='arguments')
push r:arguments
setRegister r:2
pop
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'PRIORITY_ERROR'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'log'
callMethod
pop
end // of function
setMember
push r:1, 'log'
function2 (r:3='priority', r:2='messages') ()
push r:priority, UNDEF
equals
not
branchIfTrue label3
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'PRIORITY_MESSAGE'
getMember
setRegister r:priority
pop
label3:
push r:messages, UNDEF
equals
not
branchIfTrue label4
push NULL
setRegister r:messages
pop
label4:
push r:priority, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push '_messageLevel'
getMember
lessThan
not
not
branchIfTrue label6
push 0.0
setRegister r:1
pop
label5:
push r:1, r:messages, 'length'
getMember
lessThan
not
branchIfTrue label6
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'HEADER'
getMember
push r:messages, r:1
getMember
add
trace
push r:messages, r:1
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'LOG'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
newMethod
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push '_eventDispatcher'
getMember
push 'dispatchEvent'
callMethod
pop
push r:1
increment
setRegister r:1
pop
branch label5
label6:
push r:priority, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push '_throwLevel'
getMember
lessThan
not
not
branchIfTrue label7
push '\n', 1, r:messages, 'join'
callMethod
push 1, 'Error'
new
throw
label7:
end // of function
setMember
push r:1, 'addEventListener'
function2 (r:1='event', r:2='listener') ()
push FALSE, 0.0, FALSE, r:listener, r:event, 5, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push '_eventDispatcher'
getMember
push 'addEventListener'
callMethod
pop
end // of function
setMember
push r:1, 'PRIORITY_INTERNAL', 0.0
setMember
push r:1, 'PRIORITY_MESSAGE', 1
setMember
push r:1, 'PRIORITY_WARNING', 2
setMember
push r:1, 'PRIORITY_ERROR', 3
setMember
push r:1, 'PRIORITY_MAX', 4
setMember
push r:1, 'HEADER', '[Newgrounds API] :: '
setMember
push r:1, '_eventDispatcher', 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'EventDispatcher'
newMethod
setMember
push r:1, '_messageLevel', 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'PRIORITY_MESSAGE'
getMember
setMember
push r:1, '_throwLevel', 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'PRIORITY_MAX'
getMember
setMember
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label8:
pop
end // of initMovieClip 26
defineMovieClip 45 // total frames: 0
end // of defineMovieClip 45
exportAssets
45 as '__Packages.com.newgrounds.components.FlashAdBase'
end // of exportAssets
initMovieClip 45
constants '_global', 'com', 'Object', 'newgrounds', 'components', 'FlashAdBase', 'server.cpmstar.com', 'System', 'security', 'allowDomain', 'allowInsecureDomain', '_x', '_y', 'stop', '__get___newgroundsButton', 'onRelease', 'onNGClick', 'onUnload', 'removeAd', '_adListener', 'onLoadError', '_parent', 'onAdError', 'API', '__get__adFeedURL', 'loadAdFeed', 'target', 'func', 'APIEvent', 'API_CONNECTED', 'addEventListener', 'MovieClip', 'prototype', '__get___adContainer', 'adContainer', 'newgroundsButton', '__get__showBorder', '_showBorder', '__set__showBorder', '_ad', 'getProgress', 'bytesLoaded', 'bytesTotal', 'loaded', 'gotoAndStop', 'loading', 'idle', 'noBorder', '_adFeedLoader', 'LoadVars', 'onData', 'onAdFeedLoaded', 'load', '', 'loadAd', 'MovieClipLoader', 'addListener', '_lockroot', 'loadClip', 'removeListener', 'unloadClip', 'Unable to load ad.', 'Logger', 'logError', 'loadNewgrounds', '_adContainer', 'addProperty', '_newgroundsButton', 'showBorder', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'components'
getMember
not
not
branchIfTrue label3
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'components', 0.0, 'Object'
new
setMember
label3:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'components'
getMember
push 'FlashAdBase'
getMember
not
not
branchIfTrue label19
push 'com'
getVariable
push 'newgrounds'
getMember
push 'components'
getMember
push 'FlashAdBase'
function2 () (r:1='this', r:2='super')
push 0.0, r:super, UNDEF
callMethod
pop
try 'error'
push 'server.cpmstar.com', 1, 'System'
getVariable
push 'security'
getMember
push 'allowDomain'
callMethod
pop
push 'server.cpmstar.com', 1, 'System'
getVariable
push 'security'
getMember
push 'allowInsecureDomain'
callMethod
pop
branch label4
label4:
end // of try
push r:this, '_x', r:this, '_x'
getMember
int
setMember
push r:this, '_y', r:this, '_y'
getMember
int
setMember
push 0.0, r:this, 'stop'
callMethod
pop
push 0.0, r:this, '__get___newgroundsButton'
callMethod
not
branchIfTrue label5
push 0.0, r:this, '__get___newgroundsButton'
callMethod
push 'onRelease', r:this, 'onNGClick'
getMember
setMember
label5:
push r:this, 'onUnload', r:this, 'removeAd'
getMember
setMember
push r:this
setRegister r:4
pop
push r:this, '_adListener', 'onLoadError'
function2 (r:1='target', r:3='error', r:2='httpStatus') ()
push r:httpStatus, r:error, r:target, 3, r:target, '_parent'
getMember
push 'onAdError'
callMethod
pop
end // of function
push 1
initObject
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__adFeedURL'
callMethod
not
branchIfTrue label6
push 0.0, r:this, 'loadAdFeed'
callMethod
pop
branch label7
label6:
push 'target', r:this, 'func', r:this, 'loadAdFeed'
getMember
push 2
initObject
push 'com'
getVariable
push 'newgrounds'
getMember
push 'APIEvent'
getMember
push 'API_CONNECTED'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'addEventListener'
callMethod
pop
label7:
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'components'
getMember
push 'FlashAdBase'
getMember
push 'MovieClip'
getVariable
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get___adContainer'
function2 () (r:1='this')
push r:this, 'adContainer'
getMember
return
end // of function
setMember
push r:2, '__get___newgroundsButton'
function2 () (r:1='this')
push r:this, 'newgroundsButton'
getMember
return
end // of function
setMember
push r:2, '__get__showBorder'
function2 () (r:1='this')
push r:this, '_showBorder'
getMember
return
end // of function
setMember
push r:2, '__set__showBorder'
function2 (r:3='value') (r:1='this')
push r:this, '_showBorder', r:value
setMember
push r:this, '_showBorder'
getMember
not
branchIfTrue label12
push r:this, '_ad'
getMember
not
branchIfTrue label10
push 0.0, r:this, '__get___adContainer'
callMethod
push 1, r:this, '_ad'
getMember
push 'getProgress'
callMethod
setRegister r:2
pop
push r:2, 'bytesLoaded'
getMember
push r:2, 'bytesTotal'
getMember
lessThan
not
not
branchIfTrue label8
push 'loaded', 1, r:this, 'gotoAndStop'
callMethod
pop
branch label9
label8:
push 'loading', 1, r:this, 'gotoAndStop'
callMethod
pop
label9:
branch label11
label10:
push 'idle', 1, r:this, 'gotoAndStop'
callMethod
pop
label11:
branch label13
label12:
push 'noBorder', 1, r:this, 'gotoAndStop'
callMethod
pop
label13:
push 0.0, r:this, '__get__showBorder'
callMethod
return
pop
end // of function
setMember
push r:2, 'loadAdFeed'
function2 (r:2='event') (r:1='this')
push r:event, UNDEF
equals
not
branchIfTrue label14
push NULL
setRegister r:event
pop
label14:
push r:this, '_adFeedLoader', 0.0, 'LoadVars'
new
setMember
push 'target', r:this
varEquals
push r:this, '_adFeedLoader'
getMember
push 'onData'
function2 (r:1='data') ()
push r:'data', 1, 'target'
getVariable
push 'onAdFeedLoaded'
callMethod
pop
end // of function
setMember
push r:this, '_adFeedLoader'
getMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push '__get__adFeedURL'
callMethod
push 2, r:this, '_adFeedLoader'
getMember
push 'load'
callMethod
pop
end // of function
setMember
push r:2, 'onAdFeedLoaded'
function2 (r:2='data') (r:1='this')
push r:'data'
dup
not
branchIfTrue label15
pop
push r:'data', ''
equals
not
label15:
not
branchIfTrue label16
push r:'data', 1, r:this, 'loadAd'
callMethod
pop
branch label17
label16:
push 0.0, r:this, 'onAdError'
callMethod
pop
label17:
end // of function
setMember
push r:2, 'loadAd'
function2 (r:2='adURL') (r:1='this')
push r:this, '_ad', 0.0, 'MovieClipLoader'
new
setMember
push r:this, '_adListener'
getMember
push 1, r:this, '_ad'
getMember
push 'addListener'
callMethod
pop
push 0.0, r:this, '__get___adContainer'
callMethod
push '_lockroot', TRUE
setMember
push 0.0, r:this, '__get___adContainer'
callMethod
push r:adURL, 2, r:this, '_ad'
getMember
push 'loadClip'
callMethod
pop
end // of function
setMember
push r:2, 'removeAd'
function2 () (r:1='this')
push r:this, '_adFeedLoader'
getMember
push 'onData', NULL
setMember
push r:this, '_adFeedLoader', NULL
setMember
push r:this, '_adListener'
getMember
push 1, r:this, '_ad'
getMember
push 'removeListener'
callMethod
pop
push 0.0, r:this, '__get___adContainer'
callMethod
not
branchIfTrue label18
push 0.0, r:this, '__get___adContainer'
callMethod
push 1, r:this, '_ad'
getMember
push 'unloadClip'
callMethod
pop
label18:
push r:this, '_ad', NULL
setMember
end // of function
setMember
push r:2, 'onAdError'
function2 ('target', 'error', 'httpStatus') (r:1='this')
push 'Unable to load ad.', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'Logger'
getMember
push 'logError'
callMethod
pop
push 0.0, r:this, 'removeAd'
callMethod
pop
end // of function
setMember
push r:2, 'onNGClick'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'API'
getMember
push 'loadNewgrounds'
callMethod
pop
end // of function
setMember
function ()
end // of function
push r:2, '__get___adContainer'
getMember
push '_adContainer', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get___newgroundsButton'
getMember
push '_newgroundsButton', 3, r:2, 'addProperty'
callMethod
push r:2, '__set__showBorder'
getMember
push r:2, '__get__showBorder'
getMember
push 'showBorder', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'components'
getMember
push 'FlashAdBase'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label19:
pop
end // of initMovieClip 45
defineMovieClip 20 // total frames: 1
end // of defineMovieClip 20
exportAssets
20 as '__Packages.com.newgrounds.shims.APIShim'
end // of exportAssets
initMovieClip 20
constants '_global', 'com', 'Object', 'newgrounds', 'shims', 'APIShim', 'MovieClip', 'prototype', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'shims'
getMember
not
not
branchIfTrue label3
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'shims', 0.0, 'Object'
new
setMember
label3:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'shims'
getMember
push 'APIShim'
getMember
not
not
branchIfTrue label4
push 'com'
getVariable
push 'newgrounds'
getMember
push 'shims'
getMember
push 'APIShim'
function2 () (r:1='super')
push 0.0, r:super, UNDEF
callMethod
pop
end // of function
setRegister r:1
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'shims'
getMember
push 'APIShim'
getMember
push 'MovieClip'
getVariable
extends
push r:1, 'prototype'
getMember
setRegister r:2
pop
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'shims'
getMember
push 'APIShim'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label4:
pop
end // of initMovieClip 20
defineMovieClip 30 // total frames: 1
end // of defineMovieClip 30
exportAssets
30 as '__Packages.com.newgrounds.crypto.MD5'
end // of exportAssets
initMovieClip 30
constants '_global', 'com', 'Object', 'newgrounds', 'crypto', 'MD5', 'prototype', 'hash', 'hex_md5', 'length', 'str2binl', 'core_md5', 'binl2hex', 'md5_ff', 'md5_gg', 'md5_hh', 'md5_ii', 'safe_add', 'Array', 'md5_cmn', 'bit_rol', 'charCodeAt', '', 'String', '0123456789abcdef', 'charAt', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'crypto'
getMember
not
not
branchIfTrue label3
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'crypto', 0.0, 'Object'
new
setMember
label3:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
not
not
branchIfTrue label10
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
function ()
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:1, 'hash'
function2 (r:1='src') ()
push r:src, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'hex_md5'
callMethod
return
end // of function
setMember
push r:1, 'hex_md5'
function2 (r:1='src') ()
push r:src, 'length'
getMember
push 8
multiply
push r:src, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'str2binl'
callMethod
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'core_md5'
callMethod
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'binl2hex'
callMethod
return
end // of function
setMember
push r:1, 'core_md5'
function2 (r:6='x', r:11='len') ()
push r:x, r:len, 5
shiftRight
push r:x, r:len, 5
shiftRight
getMember
push 128, r:len, 32
modulo
shiftLeft
bitwiseOr
setMember
push r:x, r:len, 64
add
push 9
shiftRight2
push 4
shiftLeft
push 14
add
push r:len
setMember
push 1732584193
setRegister r:4
pop
push -271733879
setRegister r:3
pop
push -1732584194
setRegister r:2
pop
push 271733878
setRegister r:1
pop
push 0.0
setRegister r:5
pop
label4:
push r:5, r:x, 'length'
getMember
lessThan
not
branchIfTrue label5
push r:4
setRegister r:10
pop
push r:3
setRegister r:9
pop
push r:2
setRegister r:8
pop
push r:1
setRegister r:7
pop
push -680876936, 7, r:x, r:5, 0.0
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:4
pop
push -389564586, 12, r:x, r:5, 1
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:1
pop
push 606105819, 17, r:x, r:5, 2
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:2
pop
push -1044525330, 22, r:x, r:5, 3
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:3
pop
push -176418897, 7, r:x, r:5, 4
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:4
pop
push 1200080426, 12, r:x, r:5, 5
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:1
pop
push -1473231341, 17, r:x, r:5, 6
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:2
pop
push -45705983, 22, r:x, r:5, 7
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:3
pop
push 1770035416, 7, r:x, r:5, 8
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:4
pop
push -1958414417, 12, r:x, r:5, 9
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:1
pop
push -42063, 17, r:x, r:5, 10
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:2
pop
push -1990404162, 22, r:x, r:5, 11
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:3
pop
push 1804603682, 7, r:x, r:5, 12
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:4
pop
push -40341101, 12, r:x, r:5, 13
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:1
pop
push -1502002290, 17, r:x, r:5, 14
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:2
pop
push 1236535329, 22, r:x, r:5, 15
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ff'
callMethod
setRegister r:3
pop
push -165796510, 5, r:x, r:5, 1
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:4
pop
push -1069501632, 9, r:x, r:5, 6
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:1
pop
push 643717713, 14, r:x, r:5, 11
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:2
pop
push -373897302, 20, r:x, r:5, 0.0
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:3
pop
push -701558691, 5, r:x, r:5, 5
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:4
pop
push 38016083, 9, r:x, r:5, 10
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:1
pop
push -660478335, 14, r:x, r:5, 15
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:2
pop
push -405537848, 20, r:x, r:5, 4
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:3
pop
push 568446438, 5, r:x, r:5, 9
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:4
pop
push -1019803690, 9, r:x, r:5, 14
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:1
pop
push -187363961, 14, r:x, r:5, 3
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:2
pop
push 1163531501, 20, r:x, r:5, 8
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:3
pop
push -1444681467, 5, r:x, r:5, 13
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:4
pop
push -51403784, 9, r:x, r:5, 2
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:1
pop
push 1735328473, 14, r:x, r:5, 7
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:2
pop
push -1926607734, 20, r:x, r:5, 12
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_gg'
callMethod
setRegister r:3
pop
push -378558, 4, r:x, r:5, 5
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:4
pop
push -2022574463, 11, r:x, r:5, 8
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:1
pop
push 1839030562, 16, r:x, r:5, 11
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:2
pop
push -35309556, 23, r:x, r:5, 14
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:3
pop
push -1530992060, 4, r:x, r:5, 1
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:4
pop
push 1272893353, 11, r:x, r:5, 4
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:1
pop
push -155497632, 16, r:x, r:5, 7
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:2
pop
push -1094730640, 23, r:x, r:5, 10
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:3
pop
push 681279174, 4, r:x, r:5, 13
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:4
pop
push -358537222, 11, r:x, r:5, 0.0
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:1
pop
push -722521979, 16, r:x, r:5, 3
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:2
pop
push 76029189, 23, r:x, r:5, 6
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:3
pop
push -640364487, 4, r:x, r:5, 9
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:4
pop
push -421815835, 11, r:x, r:5, 12
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:1
pop
push 530742520, 16, r:x, r:5, 15
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:2
pop
push -995338651, 23, r:x, r:5, 2
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_hh'
callMethod
setRegister r:3
pop
push -198630844, 6, r:x, r:5, 0.0
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:4
pop
push 1126891415, 10, r:x, r:5, 7
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:1
pop
push -1416354905, 15, r:x, r:5, 14
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:2
pop
push -57434055, 21, r:x, r:5, 5
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:3
pop
push 1700485571, 6, r:x, r:5, 12
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:4
pop
push -1894986606, 10, r:x, r:5, 3
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:1
pop
push -1051523, 15, r:x, r:5, 10
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:2
pop
push -2054922799, 21, r:x, r:5, 1
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:3
pop
push 1873313359, 6, r:x, r:5, 8
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:4
pop
push -30611744, 10, r:x, r:5, 15
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:1
pop
push -1560198380, 15, r:x, r:5, 6
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:2
pop
push 1309151649, 21, r:x, r:5, 13
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:3
pop
push -145523070, 6, r:x, r:5, 4
add
getMember
push r:1, r:2, r:3, r:4, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:4
pop
push -1120210379, 10, r:x, r:5, 11
add
getMember
push r:2, r:3, r:4, r:1, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:1
pop
push 718787259, 15, r:x, r:5, 2
add
getMember
push r:3, r:4, r:1, r:2, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:2
pop
push -343485551, 21, r:x, r:5, 9
add
getMember
push r:4, r:1, r:2, r:3, 7, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_ii'
callMethod
setRegister r:3
pop
push r:10, r:4, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'safe_add'
callMethod
setRegister r:4
pop
push r:9, r:3, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'safe_add'
callMethod
setRegister r:3
pop
push r:8, r:2, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'safe_add'
callMethod
setRegister r:2
pop
push r:7, r:1, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'safe_add'
callMethod
setRegister r:1
pop
push r:5, 16
add
setRegister r:5
pop
branch label4
label5:
push r:1, r:2, r:3, r:4, 4, 'Array'
new
return
end // of function
setMember
push r:1, 'md5_cmn'
function2 (r:5='q', r:4='a', r:2='b', r:6='x', r:3='s', r:1='t') ()
push r:b, r:s, r:t, r:x, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'safe_add'
callMethod
push r:q, r:a, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'safe_add'
callMethod
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'safe_add'
callMethod
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'bit_rol'
callMethod
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'safe_add'
callMethod
return
end // of function
setMember
push r:1, 'md5_ff'
function2 (r:6='a', r:1='b', r:3='c', r:2='d', r:7='x', r:5='s', r:4='t') ()
push r:t, r:s, r:x, r:b, r:a, r:b, r:c
bitwiseAnd
push r:b, 4294967295.0
bitwiseXor
push r:d
bitwiseAnd
bitwiseOr
push 6, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_cmn'
callMethod
return
end // of function
setMember
push r:1, 'md5_gg'
function2 (r:6='a', r:2='b', r:3='c', r:1='d', r:7='x', r:5='s', r:4='t') ()
push r:t, r:s, r:x, r:b, r:a, r:b, r:d
bitwiseAnd
push r:c, r:d, 4294967295.0
bitwiseXor
bitwiseAnd
bitwiseOr
push 6, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_cmn'
callMethod
return
end // of function
setMember
push r:1, 'md5_hh'
function2 (r:6='a', r:1='b', r:3='c', r:2='d', r:7='x', r:5='s', r:4='t') ()
push r:t, r:s, r:x, r:b, r:a, r:b, r:c
bitwiseXor
push r:d
bitwiseXor
push 6, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_cmn'
callMethod
return
end // of function
setMember
push r:1, 'md5_ii'
function2 (r:6='a', r:1='b', r:3='c', r:2='d', r:7='x', r:5='s', r:4='t') ()
push r:t, r:s, r:x, r:b, r:a, r:c, r:b, r:d, 4294967295.0
bitwiseXor
bitwiseOr
bitwiseXor
push 6, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'md5_cmn'
callMethod
return
end // of function
setMember
push r:1, 'bit_rol'
function2 (r:1='num', r:2='cnt') ()
push r:num, r:cnt
shiftLeft
push r:num, 32, r:cnt
subtract
shiftRight2
bitwiseOr
return
end // of function
setMember
push r:1, 'safe_add'
function2 (r:4='x', r:3='y') ()
push r:x, 65535
bitwiseAnd
push r:y, 65535
bitwiseAnd
add
setRegister r:1
pop
push r:x, 16
shiftRight
push r:y, 16
shiftRight
add
push r:1, 16
shiftRight
add
setRegister r:2
pop
push r:2, 16
shiftLeft
push r:1, 65535
bitwiseAnd
bitwiseOr
return
end // of function
setMember
push r:1, 'str2binl'
function2 (r:2='str') ()
push 0.0, 'Array'
new
setRegister r:3
pop
push 255
setRegister r:4
pop
push 0.0
setRegister r:1
pop
label6:
push r:1, r:str, 'length'
getMember
push 8
multiply
lessThan
not
branchIfTrue label7
push r:3, r:1, 5
shiftRight
push r:3, r:1, 5
shiftRight
getMember
push r:1, 8
divide
push 1, r:str, 'charCodeAt'
callMethod
push r:4
bitwiseAnd
push r:1, 32
modulo
shiftLeft
bitwiseOr
setMember
push r:1, 8
add
setRegister r:1
pop
branch label6
label7:
push r:3
return
end // of function
setMember
push r:1, 'binl2hex'
function2 (r:2='binarray') ()
push '', 1, 'String'
new
setRegister r:4
pop
push '0123456789abcdef', 1, 'String'
new
setRegister r:3
pop
push 0.0
setRegister r:1
pop
label8:
push r:1, r:binarray, 'length'
getMember
push 4
multiply
lessThan
not
branchIfTrue label9
push r:4, r:binarray, r:1, 2
shiftRight
getMember
push r:1, 4
modulo
push 8
multiply
push 4
add
shiftRight
push 15
bitwiseAnd
push 1, r:3, 'charAt'
callMethod
push r:binarray, r:1, 2
shiftRight
getMember
push r:1, 4
modulo
push 8
multiply
shiftRight
push 15
bitwiseAnd
push 1, r:3, 'charAt'
callMethod
add
add
setRegister r:4
pop
push r:1
increment
setRegister r:1
pop
branch label8
label9:
push r:4
return
end // of function
setMember
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'MD5'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label10:
pop
end // of initMovieClip 30
defineMovieClip 31 // total frames: 1
end // of defineMovieClip 31
exportAssets
31 as '__Packages.com.newgrounds.crypto.RC4'
end // of exportAssets
initMovieClip 31
constants '_global', 'com', 'Object', 'newgrounds', 'crypto', 'RC4', 'prototype', 'encrypt', 'strToChars', 'calculate', 'charsToHex', 'encryptbin', 'decrypt', 'hexToChars', 'charsToStr', 'initialize', 'length', 'mykey', 'sbox', 'Array', 'push', '', 'String', 'f', 'e', 'd', 'c', 'b', 'a', '9', '8', '7', '6', '5', '4', '3', '2', '1', '0', 'substr', '0x', 'parseInt', 'fromCharCode', 'charCodeAt', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'crypto'
getMember
not
not
branchIfTrue label3
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'crypto', 0.0, 'Object'
new
setMember
label3:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
not
not
branchIfTrue label20
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
function ()
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:1, 'encrypt'
function2 (r:5='src', r:4='key') ()
push r:src, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'strToChars'
callMethod
setRegister r:3
pop
push r:key, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'strToChars'
callMethod
setRegister r:1
pop
push r:1, r:3, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'calculate'
callMethod
setRegister r:2
pop
push r:2, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'charsToHex'
callMethod
return
end // of function
setMember
push r:1, 'encryptbin'
function2 (r:5='src', r:4='key') ()
push r:src, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'strToChars'
callMethod
setRegister r:3
pop
push r:key, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'strToChars'
callMethod
setRegister r:1
pop
push r:1, r:3, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'calculate'
callMethod
setRegister r:2
pop
push r:2
return
end // of function
setMember
push r:1, 'decrypt'
function2 (r:5='src', r:4='key') ()
push r:src, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'hexToChars'
callMethod
setRegister r:3
pop
push r:key, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'strToChars'
callMethod
setRegister r:1
pop
push r:1, r:3, 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'calculate'
callMethod
setRegister r:2
pop
push r:2, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'charsToStr'
callMethod
return
end // of function
setMember
push r:1, 'initialize'
function2 (r:5='pwd') ()
push 0.0
setRegister r:2
pop
push UNDEF
setRegister r:3
pop
push r:pwd, 'length'
getMember
setRegister r:4
pop
push 0.0
setRegister r:1
pop
label4:
push r:1, 255
greaterThan
not
not
branchIfTrue label5
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'mykey'
getMember
push r:1, r:pwd, r:1, r:4
modulo
getMember
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:1, r:1
setMember
push r:1
increment
setRegister r:1
pop
branch label4
label5:
push 0.0
setRegister r:1
pop
label6:
push r:1, 255
greaterThan
not
not
branchIfTrue label7
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:1
getMember
add
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'mykey'
getMember
push r:1
getMember
add
push 256
modulo
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:1
getMember
setRegister r:3
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:2
getMember
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:2, r:3
setMember
push r:1
increment
setRegister r:1
pop
branch label6
label7:
end // of function
setMember
push r:1, 'calculate'
function2 (r:8='plaintxt', r:10='psw') ()
push r:psw, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'initialize'
callMethod
pop
push 0.0
setRegister r:1
pop
push 0.0
setRegister r:2
pop
push 0.0, 'Array'
new
setRegister r:9
pop
push UNDEF
setRegister r:7
pop
push UNDEF
setRegister r:5
pop
push UNDEF
setRegister r:6
pop
push 0.0
setRegister r:3
pop
label8:
push r:3, r:plaintxt, 'length'
getMember
lessThan
not
branchIfTrue label9
push r:1, 1
add
push 256
modulo
setRegister r:1
pop
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:1
getMember
add
push 256
modulo
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:1
getMember
setRegister r:5
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:1, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:2
getMember
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:2, r:5
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:1
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:2
getMember
add
push 256
modulo
setRegister r:4
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'sbox'
getMember
push r:4
getMember
setRegister r:7
pop
push r:plaintxt, r:3
getMember
push r:7
bitwiseXor
setRegister r:6
pop
push r:6, 1, r:9, 'push'
callMethod
pop
push r:3
increment
setRegister r:3
pop
branch label8
label9:
push r:9
return
end // of function
setMember
push r:1, 'charsToHex'
function2 (r:2='chars') ()
push '', 1, 'String'
new
setRegister r:4
pop
push 'f', 'e', 'd', 'c', 'b', 'a', '9', '8', '7', '6', '5', '4', '3', '2', '1', '0', 16, 'Array'
new
setRegister r:3
pop
push 0.0
setRegister r:1
pop
label10:
push r:1, r:chars, 'length'
getMember
lessThan
not
branchIfTrue label11
push r:4, r:3, r:chars, r:1
getMember
push 4
shiftRight
getMember
push r:3, r:chars, r:1
getMember
push 15
bitwiseAnd
getMember
add
add
setRegister r:4
pop
push r:1
increment
setRegister r:1
pop
branch label10
label11:
push r:4
return
end // of function
setMember
push r:1, 'hexToChars'
function2 (r:2='hex') ()
push 0.0, 'Array'
new
setRegister r:3
pop
push 2, 0.0, 2, r:hex, 'substr'
callMethod
push '0x'
equals
branchIfTrue label12
push 0.0
branch label13
label12:
push 2
label13:
setRegister r:1
pop
label14:
push r:1, r:hex, 'length'
getMember
lessThan
not
branchIfTrue label15
push 16, 2, r:1, 2, r:hex, 'substr'
callMethod
push 2, 'parseInt'
callFunction
push 1, r:3, 'push'
callMethod
pop
push r:1, 2
add
setRegister r:1
pop
branch label14
label15:
push r:3
return
end // of function
setMember
push r:1, 'charsToStr'
function2 (r:2='chars') ()
push '', 1, 'String'
new
setRegister r:3
pop
push 0.0
setRegister r:1
pop
label16:
push r:1, r:chars, 'length'
getMember
lessThan
not
branchIfTrue label17
push r:3, r:chars, r:1
getMember
push 1, 'String'
getVariable
push 'fromCharCode'
callMethod
add
setRegister r:3
pop
push r:1
increment
setRegister r:1
pop
branch label16
label17:
push r:3
return
end // of function
setMember
push r:1, 'strToChars'
function2 (r:2='str') ()
push 0.0, 'Array'
new
setRegister r:3
pop
push 0.0
setRegister r:1
pop
label18:
push r:1, r:str, 'length'
getMember
lessThan
not
branchIfTrue label19
push r:1, 1, r:str, 'charCodeAt'
callMethod
push 1, r:3, 'push'
callMethod
pop
push r:1
increment
setRegister r:1
pop
branch label18
label19:
push r:3
return
end // of function
setMember
push r:1, 'sbox', 255, 1, 'Array'
new
setMember
push r:1, 'mykey', 255, 1, 'Array'
new
setMember
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'crypto'
getMember
push 'RC4'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label20:
pop
end // of initMovieClip 31
defineMovieClip 32 // total frames: 1
end // of defineMovieClip 32
exportAssets
32 as '__Packages.com.newgrounds.encoders.json.JSON'
end // of exportAssets
initMovieClip 32
constants '_global', 'com', 'Object', 'newgrounds', 'encoders', 'json', 'JSON', 'prototype', 'encode', '', 'isSServerVar', 'sservervariable', 'object', 'number', 'string', 'boolean', '?', 'getEncodedValue', 'Array', 'length', ',', '[', ']', 'toString', 'undefined', 'function', ':', '{', '}', 'null', 'isFinite', '"', 'charAt', ' ', '\\', '\b', '\f', '\n', '\r', '\t', '\\b', '\\f', '\\n', '\\r', '\\t', 'charCodeAt', '\\u00', 'Math', 'floor', 'background_encode', 'busy', '[Newgrounds Encoder] :: Cannot encode a new file until the previous file is completed', '[Newgrounds Encoder] :: Missing a callback function, skipping encode', 'Date', 'start', 'getTime', 'cache', 'complete', 'arg', 'target', 'parents', 'encoded', 'callback', 'encode_chunk', 'getType', 'array', 'interval', 'setInterval', 'background_decode', '[Newgrounds Encoder] :: Cannot decode a new file until the previous file is completed', '[Newgrounds Encoder] :: Missing a callback function, skipping decode', 'pos', 'root', 'scratch', 'decode_chunk', 'decode', 'at', 'ch', '_value', '_error', 'name', 'JSONError', 'message', 'text', '_next', '_white', '/', '*', 'Unterminated comment', 'Syntax error', '_string', 'b', 'f', 'n', 'r', 't', 'u', 'parseInt', 'String', 'fromCharCode', 'Bad string', '_array', 'push', 'Bad array', '_object', 'Bad object', '_number', '-', '0', '9', '.', 'Bad number', '_word', 'e', 'a', 'l', 's', 'decode_chunks', 'chunk_decoder', 'round', '% decoded', 'clearInterval', 'encode_chunks', 'chunk_encoder', 'mode', 'Malformed object key in encoded string. Keys must be wrapped in quotes ("")', '_setTargetValue', '_useParent', 'Malformed object notation. Object keys and values must be separated by colons(:)', '_addParent', '_addArrayKey', 'Bool values must be true or false', 'Null values must be null', 'Strings must be wrapped in quotes ("")', '01234567890.-', 'indexOf', '_getParent', 'obj', 'pop', '_getCurrent', '_', 'char', '_null', '_boolean', 'getParent', '\\"', 'split', 'join', 'false', 'true', '":', 'shift', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders'
getMember
not
not
branchIfTrue label3
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders', 0.0, 'Object'
new
setMember
label3:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
not
not
branchIfTrue label4
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json', 0.0, 'Object'
new
setMember
label4:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
not
not
branchIfTrue label211
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
function ()
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:1, 'encode'
function2 (r:5='arg', r:9='noquotes') ()
push UNDEF
setRegister r:3
pop
push UNDEF
setRegister r:2
pop
push UNDEF
setRegister r:6
pop
push ''
setRegister r:1
pop
push UNDEF
setRegister r:4
pop
push 0.0, r:arg, 'isSServerVar'
callMethod
not
branchIfTrue label5
push 'sservervariable'
setRegister r:8
pop
branch label6
label5:
push r:arg
typeof
setRegister r:8
pop
label6:
push r:8
setRegister r:0
push 'sservervariable'
strictEquals
branchIfTrue label7
push r:0, 'object'
strictEquals
branchIfTrue label8
push r:0, 'number'
strictEquals
branchIfTrue label19
push r:0, 'string'
strictEquals
branchIfTrue label22
push r:0, 'boolean'
strictEquals
branchIfTrue label37
branch label38
label7:
push '?', 0.0, r:arg, 'getEncodedValue'
callMethod
add
return
branch label39
label8:
push r:arg
not
branchIfTrue label18
push r:arg, 'Array'
getVariable
instanceOf
not
branchIfTrue label12
push 0.0
setRegister r:2
pop
label9:
push r:2, r:arg, 'length'
getMember
lessThan
not
branchIfTrue label11
push r:arg, r:2
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode'
callMethod
setRegister r:4
pop
push r:1
not
branchIfTrue label10
push r:1, ','
add
setRegister r:1
pop
label10:
push r:1, r:4
add
setRegister r:1
pop
push r:2
increment
setRegister r:2
pop
branch label9
label11:
push '[', r:1
add
push ']'
add
return
branch label18
label12:
push r:arg, 'toString'
getMember
typeof
push 'undefined'
equals
not
not
branchIfTrue label18
push r:arg
enumerateValue
label13:
setRegister r:0
push NULL
equals
branchIfTrue label17
push r:0
setRegister r:2
pop
push r:arg, r:2
getMember
setRegister r:4
pop
push r:4
typeof
push 'undefined'
equals
not
dup
not
branchIfTrue label14
pop
push r:4
typeof
push 'function'
equals
not
label14:
not
branchIfTrue label16
push r:4, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode'
callMethod
setRegister r:4
pop
push r:1
not
branchIfTrue label15
push r:1, ','
add
setRegister r:1
pop
label15:
push r:1, r:2, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode'
callMethod
push ':'
add
push r:4
add
add
setRegister r:1
pop
label16:
branch label13
label17:
push '{', r:1
add
push '}'
add
return
label18:
push 'null'
return
label19:
push r:arg, 1, 'isFinite'
callFunction
branchIfTrue label20
push 'null'
branch label21
label20:
push r:arg
toString
label21:
return
label22:
push r:arg, 'length'
getMember
setRegister r:6
pop
push r:noquotes
not
branchIfTrue label23
push ''
setRegister r:7
pop
branch label24
label23:
push '"'
setRegister r:7
pop
label24:
push r:7
setRegister r:1
pop
push 0.0
setRegister r:2
pop
label25:
push r:2, r:6
lessThan
not
branchIfTrue label36
push r:2, 1, r:arg, 'charAt'
callMethod
setRegister r:3
pop
push r:3, ' '
lessThan
not
not
branchIfTrue label28
push r:3, '\\'
equals
dup
branchIfTrue label26
pop
push r:3, '"'
equals
label26:
not
branchIfTrue label27
push r:1, '\\'
add
setRegister r:1
pop
label27:
push r:1, r:3
add
setRegister r:1
pop
branch label35
label28:
push r:3
setRegister r:0
push '\b'
strictEquals
branchIfTrue label29
push r:0, '\f'
strictEquals
branchIfTrue label30
push r:0, '\n'
strictEquals
branchIfTrue label31
push r:0, '\r'
strictEquals
branchIfTrue label32
push r:0, '\t'
strictEquals
branchIfTrue label33
branch label34
label29:
push r:1, '\\b'
add
setRegister r:1
pop
branch label35
label30:
push r:1, '\\f'
add
setRegister r:1
pop
branch label35
label31:
push r:1, '\\n'
add
setRegister r:1
pop
branch label35
label32:
push r:1, '\\r'
add
setRegister r:1
pop
branch label35
label33:
push r:1, '\\t'
add
setRegister r:1
pop
branch label35
label34:
push 0.0, r:3, 'charCodeAt'
callMethod
setRegister r:3
pop
push r:1, '\\u00', 16, 1, r:3, 16
divide
push 1, 'Math'
getVariable
push 'floor'
callMethod
push 'toString'
callMethod
add
push 16, 1, r:3, 16
modulo
push 'toString'
callMethod
add
add
setRegister r:1
pop
label35:
push r:2, 1
add
setRegister r:2
pop
branch label25
label36:
push r:1, r:7
add
return
label37:
push r:arg
toString
return
label38:
push 'null'
return
label39:
end // of function
setMember
push r:1, 'background_encode'
function2 (r:1='arg', r:3='callback') ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'busy'
getMember
not
branchIfTrue label40
push '[Newgrounds Encoder] :: Cannot encode a new file until the previous file is completed'
trace
push FALSE
return
branch label41
label40:
push r:callback
not
not
branchIfTrue label41
push '[Newgrounds Encoder] :: Missing a callback function, skipping encode'
trace
push FALSE
return
label41:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'busy', TRUE
setMember
push 0.0, 'Date'
new
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'start', 0.0, r:2, 'getTime'
callMethod
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache', 'busy', FALSE, 'complete', FALSE, 'arg', r:arg, 'target', r:arg, 'parents', 0.0
initArray
push 'encoded', '', 'callback', r:callback, 'encode_chunk'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode_chunk'
callMethod
pop
end // of function
push 8
initObject
setMember
push r:arg, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'object'
equals
not
branchIfTrue label42
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', '{'
setMember
branch label43
label42:
push r:arg, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'array'
equals
not
branchIfTrue label43
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', '['
setMember
label43:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'interval', 25, 'encode_chunk', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 3, 'setInterval'
callFunction
setMember
push TRUE
return
end // of function
setMember
push r:1, 'background_decode'
function2 (r:9='arg', r:3='callback') ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'busy'
getMember
not
branchIfTrue label44
push '[Newgrounds Encoder] :: Cannot decode a new file until the previous file is completed'
trace
push FALSE
return
branch label45
label44:
push r:callback
not
not
branchIfTrue label45
push '[Newgrounds Encoder] :: Missing a callback function, skipping decode'
trace
push FALSE
return
label45:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'busy', TRUE
setMember
push 0.0, 'Date'
new
setRegister r:1
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'start', 0.0, r:1, 'getTime'
callMethod
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache', 'busy', FALSE, 'callback', r:callback, 'complete', FALSE, 'arg', r:arg, 'pos', 0.0, 'parents', 'root', 1
initArray
push 'target', NULL, 'scratch', '', 'decode_chunk'
function ()
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'decode_chunk'
callMethod
pop
end // of function
push 9
initObject
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'interval', 25, 'decode_chunk', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 3, 'setInterval'
callFunction
setMember
push TRUE
return
end // of function
setMember
push r:1, 'decode'
function2 ('text') ()
push 'at', 0.0
varEquals
push 'ch', ' '
varEquals
push '_value'
var
push '_error'
function2 (r:5='m') ()
push 'name', 'JSONError', 'message', r:m, 'at', 'at'
getVariable
push 1
subtract
push 'text', 'text'
getVariable
push 4
initObject
throw
end // of function
varEquals
push '_next'
function ()
push 'ch', 'at'
getVariable
push 1, 'text'
getVariable
push 'charAt'
callMethod
setVariable
push 'at', 'at'
getVariable
push 1
add
setVariable
push 'ch'
getVariable
return
end // of function
varEquals
push '_white'
function ()
label46:
push 'ch'
getVariable
not
branchIfTrue label64
push 'ch'
getVariable
push ' '
greaterThan
not
not
branchIfTrue label47
push 0.0, '_next'
callFunction
pop
branch label63
label47:
push 'ch'
getVariable
push '/'
equals
not
branchIfTrue label62
push 0.0, '_next'
callFunction
setRegister r:0
push '/'
strictEquals
branchIfTrue label48
push r:0, '*'
strictEquals
branchIfTrue label52
branch label60
label48:
push 0.0, '_next'
callFunction
dup
not
branchIfTrue label49
pop
push 'ch'
getVariable
push '\n'
equals
not
label49:
dup
not
branchIfTrue label50
pop
push 'ch'
getVariable
push '\r'
equals
not
label50:
not
branchIfTrue label51
branch label48
label51:
branch label61
label52:
push 0.0, '_next'
callFunction
pop
label53:
push 'ch'
getVariable
not
branchIfTrue label57
push 'ch'
getVariable
push '*'
equals
not
branchIfTrue label55
push 0.0, '_next'
callFunction
push '/'
equals
not
branchIfTrue label54
push 0.0, '_next'
callFunction
pop
branch label59
label54:
branch label56
label55:
push 0.0, '_next'
callFunction
pop
label56:
branch label58
label57:
push 'Unterminated comment', 1, '_error'
callFunction
pop
label58:
branch label53
label59:
branch label61
label60:
push 'Syntax error', 1, '_error'
callFunction
pop
label61:
branch label63
label62:
branch label64
label63:
branch label46
label64:
end // of function
varEquals
push '_string'
function2 () ()
push UNDEF
setRegister r:4
pop
push ''
setRegister r:1
pop
push UNDEF
setRegister r:3
pop
push UNDEF
setRegister r:2
pop
push FALSE
setRegister r:5
pop
push 'ch'
getVariable
push '"'
equals
not
branchIfTrue label81
label65:
push 0.0, '_next'
callFunction
not
branchIfTrue label81
push 'ch'
getVariable
push '"'
equals
not
branchIfTrue label66
push 0.0, '_next'
callFunction
pop
push r:1
return
branch label80
label66:
push 'ch'
getVariable
push '\\'
equals
not
branchIfTrue label79
push 0.0, '_next'
callFunction
setRegister r:0
push 'b'
strictEquals
branchIfTrue label67
push r:0, 'f'
strictEquals
branchIfTrue label68
push r:0, 'n'
strictEquals
branchIfTrue label69
push r:0, 'r'
strictEquals
branchIfTrue label70
push r:0, 't'
strictEquals
branchIfTrue label71
push r:0, 'u'
strictEquals
branchIfTrue label72
branch label77
label67:
push r:1, '\b'
add
setRegister r:1
pop
branch label78
label68:
push r:1, '\f'
add
setRegister r:1
pop
branch label78
label69:
push r:1, '\n'
add
setRegister r:1
pop
branch label78
label70:
push r:1, '\r'
add
setRegister r:1
pop
branch label78
label71:
push r:1, '\t'
add
setRegister r:1
pop
branch label78
label72:
push 0.0
setRegister r:2
pop
push 0.0
setRegister r:4
pop
label73:
push r:4, 4
lessThan
not
branchIfTrue label75
push 16, 0.0, '_next'
callFunction
push 2, 'parseInt'
callFunction
setRegister r:3
pop
push r:3, 1, 'isFinite'
callFunction
not
not
branchIfTrue label74
push TRUE
setRegister r:5
pop
branch label75
label74:
push r:2, 16
multiply
push r:3
add
setRegister r:2
pop
push r:4, 1
add
setRegister r:4
pop
branch label73
label75:
push r:5
not
branchIfTrue label76
push FALSE
setRegister r:5
pop
branch label78
label76:
push r:1, r:2, 1, 'String'
getVariable
push 'fromCharCode'
callMethod
add
setRegister r:1
pop
branch label78
label77:
push r:1, 'ch'
getVariable
add
setRegister r:1
pop
label78:
branch label80
label79:
push r:1, 'ch'
getVariable
add
setRegister r:1
pop
label80:
branch label65
label81:
push 'Bad string', 1, '_error'
callFunction
pop
end // of function
varEquals
push '_array'
function2 () ()
push 0.0
initArray
setRegister r:1
pop
push 'ch'
getVariable
push '['
equals
not
branchIfTrue label85
push 0.0, '_next'
callFunction
pop
push 0.0, '_white'
callFunction
pop
push 'ch'
getVariable
push ']'
equals
not
branchIfTrue label82
push 0.0, '_next'
callFunction
pop
push r:1
return
label82:
push 'ch'
getVariable
not
branchIfTrue label85
push 0.0, '_value'
callFunction
push 1, r:1, 'push'
callMethod
pop
push 0.0, '_white'
callFunction
pop
push 'ch'
getVariable
push ']'
equals
not
branchIfTrue label83
push 0.0, '_next'
callFunction
pop
push r:1
return
branch label84
label83:
push 'ch'
getVariable
push ','
equals
not
not
branchIfTrue label84
branch label85
label84:
push 0.0, '_next'
callFunction
pop
push 0.0, '_white'
callFunction
pop
branch label82
label85:
push 'Bad array', 1, '_error'
callFunction
pop
end // of function
varEquals
push '_object'
function2 () ()
push UNDEF
setRegister r:2
pop
push 0.0
initObject
setRegister r:1
pop
push 'ch'
getVariable
push '{'
equals
not
branchIfTrue label90
push 0.0, '_next'
callFunction
pop
push 0.0, '_white'
callFunction
pop
push 'ch'
getVariable
push '}'
equals
not
branchIfTrue label86
push 0.0, '_next'
callFunction
pop
push r:1
return
label86:
push 'ch'
getVariable
not
branchIfTrue label90
push 0.0, '_string'
callFunction
setRegister r:2
pop
push 0.0, '_white'
callFunction
pop
push 'ch'
getVariable
push ':'
equals
not
not
branchIfTrue label87
branch label90
label87:
push 0.0, '_next'
callFunction
pop
push r:1, r:2, 0.0, '_value'
callFunction
setMember
push 0.0, '_white'
callFunction
pop
push 'ch'
getVariable
push '}'
equals
not
branchIfTrue label88
push 0.0, '_next'
callFunction
pop
push r:1
return
branch label89
label88:
push 'ch'
getVariable
push ','
equals
not
not
branchIfTrue label89
branch label90
label89:
push 0.0, '_next'
callFunction
pop
push 0.0, '_white'
callFunction
pop
branch label86
label90:
push 'Bad object', 1, '_error'
callFunction
pop
end // of function
varEquals
push '_number'
function2 () ()
push ''
setRegister r:1
pop
push UNDEF
setRegister r:2
pop
push 'ch'
getVariable
push '-'
equals
not
branchIfTrue label91
push '-'
setRegister r:1
pop
push 0.0, '_next'
callFunction
pop
label91:
push 'ch'
getVariable
push '0'
lessThan
not
dup
not
branchIfTrue label92
pop
push 'ch'
getVariable
push '9'
greaterThan
not
label92:
not
branchIfTrue label93
push r:1, 'ch'
getVariable
add
setRegister r:1
pop
push 0.0, '_next'
callFunction
pop
branch label91
label93:
push 'ch'
getVariable
push '.'
equals
not
branchIfTrue label97
push r:1, '.'
add
setRegister r:1
pop
label94:
push 0.0, '_next'
callFunction
dup
not
branchIfTrue label95
pop
push 'ch'
getVariable
push '0'
lessThan
not
label95:
dup
not
branchIfTrue label96
pop
push 'ch'
getVariable
push '9'
greaterThan
not
label96:
not
branchIfTrue label97
push r:1, 'ch'
getVariable
add
setRegister r:1
pop
branch label94
label97:
push 1, r:1
multiply
setRegister r:2
pop
push r:2, 1, 'isFinite'
callFunction
not
not
branchIfTrue label98
push 'Bad number', 1, '_error'
callFunction
pop
branch label99
label98:
push r:2
return
label99:
end // of function
varEquals
push '_word'
function ()
push 'ch'
getVariable
setRegister r:0
push 't'
strictEquals
branchIfTrue label100
push r:0, 'f'
strictEquals
branchIfTrue label104
push r:0, 'n'
strictEquals
branchIfTrue label109
branch label113
label100:
push 0.0, '_next'
callFunction
push 'r'
equals
dup
not
branchIfTrue label101
pop
push 0.0, '_next'
callFunction
push 'u'
equals
label101:
dup
not
branchIfTrue label102
pop
push 0.0, '_next'
callFunction
push 'e'
equals
label102:
not
branchIfTrue label103
push 0.0, '_next'
callFunction
pop
push TRUE
return
label103:
branch label113
label104:
push 0.0, '_next'
callFunction
push 'a'
equals
dup
not
branchIfTrue label105
pop
push 0.0, '_next'
callFunction
push 'l'
equals
label105:
dup
not
branchIfTrue label106
pop
push 0.0, '_next'
callFunction
push 's'
equals
label106:
dup
not
branchIfTrue label107
pop
push 0.0, '_next'
callFunction
push 'e'
equals
label107:
not
branchIfTrue label108
push 0.0, '_next'
callFunction
pop
push FALSE
return
label108:
branch label113
label109:
push 0.0, '_next'
callFunction
push 'u'
equals
dup
not
branchIfTrue label110
pop
push 0.0, '_next'
callFunction
push 'l'
equals
label110:
dup
not
branchIfTrue label111
pop
push 0.0, '_next'
callFunction
push 'l'
equals
label111:
not
branchIfTrue label112
push 0.0, '_next'
callFunction
pop
push NULL
return
label112:
branch label113
label113:
push 'Syntax error', 1, '_error'
callFunction
pop
end // of function
varEquals
push '_value'
function ()
push 0.0, '_white'
callFunction
pop
push 'ch'
getVariable
setRegister r:0
push '{'
strictEquals
branchIfTrue label114
push r:0, '['
strictEquals
branchIfTrue label115
push r:0, '"'
strictEquals
branchIfTrue label116
push r:0, '-'
strictEquals
branchIfTrue label117
branch label118
label114:
push 0.0, '_object'
callFunction
return
label115:
push 0.0, '_array'
callFunction
return
label116:
push 0.0, '_string'
callFunction
return
label117:
push 0.0, '_number'
callFunction
return
label118:
push 'ch'
getVariable
push '0'
lessThan
not
dup
not
branchIfTrue label119
pop
push 'ch'
getVariable
push '9'
greaterThan
not
label119:
branchIfTrue label120
push 0.0, '_word'
callFunction
branch label121
label120:
push 0.0, '_number'
callFunction
label121:
return
end // of function
setVariable
push 0.0, '_value'
callFunction
return
end // of function
setMember
push r:1, 'getType'
function2 (r:1='v') ()
push r:v, 'Array'
getVariable
instanceOf
not
branchIfTrue label122
push 'array'
return
branch label123
label122:
push r:v
typeof
return
label123:
end // of function
setMember
push r:1, 'decode_chunk'
function2 () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'busy'
getMember
not
dup
not
branchIfTrue label124
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete'
getMember
not
label124:
not
branchIfTrue label128
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'busy', TRUE
setMember
push 0.0
setRegister r:1
pop
label125:
push r:1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'decode_chunks'
getMember
lessThan
not
branchIfTrue label127
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'chunk_decoder'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete'
getMember
not
branchIfTrue label126
branch label127
label126:
push r:1
increment
setRegister r:1
pop
branch label125
label127:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'length'
getMember
divide
push 100
multiply
push 1, 'Math'
getVariable
push 'round'
callMethod
push '% decoded'
add
trace
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'busy', FALSE
setMember
label128:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete'
getMember
not
branchIfTrue label129
push 0.0, 'Date'
new
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'busy', FALSE
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'interval'
getMember
push 1, 'clearInterval'
callFunction
pop
push 0.0, r:2, 'getTime'
callMethod
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'start'
getMember
subtract
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'root'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'callback'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg', ''
setMember
label129:
end // of function
setMember
push r:1, 'encode_chunk'
function2 () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'busy'
getMember
not
dup
not
branchIfTrue label130
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete'
getMember
not
label130:
not
branchIfTrue label134
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'busy', TRUE
setMember
push 0.0
setRegister r:1
pop
label131:
push r:1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'encode_chunks'
getMember
lessThan
not
branchIfTrue label133
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'chunk_encoder'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete'
getMember
not
branchIfTrue label132
branch label133
label132:
push r:1
increment
setRegister r:1
pop
branch label131
label133:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'busy', FALSE
setMember
label134:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete'
getMember
not
branchIfTrue label135
push 0.0, 'Date'
new
setRegister r:3
pop
push 0.0, r:3, 'getTime'
callMethod
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'busy', FALSE
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'interval'
getMember
push 1, 'clearInterval'
callFunction
pop
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'start'
getMember
subtract
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push 2, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'callback'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', ''
setMember
label135:
end // of function
setMember
push r:1, 'chunk_decoder'
function ()
function2 _object () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode'
getMember
not
not
branchIfTrue label137
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode', 'object'
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push r:1, '"'
equals
not
not
branchIfTrue label136
push 'Malformed object key in encoded string. Keys must be wrapped in quotes ("")'
throw
label136:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch', ''
setMember
push 0.0
initObject
push 1, '_setTargetValue'
callFunction
pop
branch label144
label137:
push r:1, ','
equals
not
branchIfTrue label139
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push r:1, '"'
equals
not
not
branchIfTrue label138
push 'Malformed object key in encoded string. Keys must be wrapped in quotes ("")'
throw
label138:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch', ''
setMember
branch label144
label139:
push r:1, '}'
equals
not
branchIfTrue label140
push 0.0, '_useParent'
callFunction
pop
branch label144
label140:
push r:1, '"'
equals
not
branchIfTrue label142
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push r:1, ':'
equals
not
not
branchIfTrue label141
push 'Malformed object notation. Object keys and values must be separated by colons(:)'
throw
label141:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch'
getMember
push 1, '_addParent'
callFunction
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode', NULL
setMember
branch label144
label142:
push r:1, '\\'
equals
not
branchIfTrue label143
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
label143:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch'
getMember
push r:1
add
setMember
label144:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
end // of function _object
function2 _array () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode'
getMember
not
not
branchIfTrue label147
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode', 'array'
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push 0.0
initArray
push 1, '_setTargetValue'
callFunction
pop
push r:1, ']'
equals
not
not
branchIfTrue label145
push 0.0, '_addArrayKey'
callFunction
pop
branch label146
label145:
push 0.0, '_useParent'
callFunction
pop
label146:
push UNDEF
return
branch label149
label147:
push r:1, ','
equals
not
branchIfTrue label148
push 0.0, '_addArrayKey'
callFunction
pop
branch label149
label148:
push r:1, ']'
equals
not
branchIfTrue label149
push 0.0, '_useParent'
callFunction
pop
label149:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
end // of function _array
function2 _boolean () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push r:1, 't'
equals
not
branchIfTrue label150
push TRUE, 1, '_setTargetValue'
callFunction
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 3
add
setMember
branch label152
label150:
push r:1, 'f'
equals
not
branchIfTrue label151
push FALSE, 1, '_setTargetValue'
callFunction
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 4
add
setMember
branch label152
label151:
push 'Bool values must be true or false'
throw
label152:
push 0.0, '_useParent'
callFunction
pop
end // of function _boolean
function2 _null () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push r:1, 'n'
equals
not
branchIfTrue label153
push NULL, 1, '_setTargetValue'
callFunction
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 2
add
setMember
branch label154
label153:
push 'Null values must be null'
throw
label154:
push 0.0, '_useParent'
callFunction
pop
end // of function _null
function2 _string () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode'
getMember
not
not
branchIfTrue label156
push r:1, '"'
equals
not
not
branchIfTrue label155
push 'Strings must be wrapped in quotes ("")'
throw
label155:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch', ''
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode', 'string'
setMember
branch label163
label156:
push r:1, '"'
equals
not
branchIfTrue label157
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch'
getMember
push 1, '_setTargetValue'
callFunction
pop
push 0.0, '_useParent'
callFunction
pop
branch label163
label157:
push r:1, '\\'
equals
not
branchIfTrue label162
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push r:1
setRegister r:0
push 'n'
strictEquals
branchIfTrue label158
push r:0, 'r'
strictEquals
branchIfTrue label159
push r:0, 't'
strictEquals
branchIfTrue label160
push r:0, 'u'
strictEquals
branchIfTrue label161
branch label162
label158:
push '\n'
setRegister r:1
pop
branch label162
label159:
push '\n'
setRegister r:1
pop
branch label162
label160:
push '\t'
setRegister r:1
pop
branch label162
label161:
push '\\', r:1
add
setRegister r:1
pop
branch label162
label162:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch'
getMember
push r:1
add
setMember
label163:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
end // of function _string
function2 _number () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
setRegister r:1
pop
push '01234567890.-'
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode'
getMember
not
not
branchIfTrue label164
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode', 'number'
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch', ''
setMember
label164:
push r:1, 1, r:2, 'indexOf'
callMethod
push 0.0
lessThan
not
branchIfTrue label165
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch'
getMember
toNumber
push 1, '_setTargetValue'
callFunction
pop
push 0.0, '_useParent'
callFunction
pop
branch label166
label165:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'scratch'
getMember
push r:1
add
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
increment
setMember
label166:
end // of function _number
function2 _setTargetValue (r:3='newval') ()
push 0.0, '_getParent'
callFunction
push 'obj'
getMember
setRegister r:2
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'length'
getMember
push 1
subtract
getMember
setRegister r:1
pop
push r:2, r:1, r:newval
setMember
end // of function _setTargetValue
function _useParent ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode', 0.0, '_getParent'
callFunction
push 'obj'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'pop'
callMethod
pop
end // of function _useParent
function2 _getParent () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
setRegister r:2
pop
push 0.0
setRegister r:1
pop
label167:
push r:1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'length'
getMember
push 1
subtract
lessThan
not
branchIfTrue label168
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push r:1
getMember
getMember
setRegister r:2
pop
push r:1
increment
setRegister r:1
pop
branch label167
label168:
push 'obj', r:2, 'name', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push r:1
getMember
push 2
initObject
return
end // of function _getParent
function2 _getCurrent () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
setRegister r:2
pop
push 0.0
setRegister r:1
pop
label169:
push r:1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'length'
getMember
lessThan
not
branchIfTrue label170
push r:2, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push r:1
getMember
getMember
setRegister r:2
pop
push r:1
increment
setRegister r:1
pop
branch label169
label170:
push 'obj', r:2, 'name', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push r:1
getMember
push 2
initObject
return
end // of function _getCurrent
function2 _addParent (r:1='child') ()
push r:child, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'push'
callMethod
pop
end // of function _addParent
function2 _addArrayKey () ()
push 0.0, '_getCurrent'
callFunction
push 'obj'
getMember
push 'length'
getMember
setRegister r:1
pop
push r:1, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'push'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode', NULL
setMember
end // of function _addArrayKey
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'length'
getMember
lessThan
not
not
branchIfTrue label171
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete', TRUE
setMember
push UNDEF
return
branch label180
label171:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode'
getMember
not
branchIfTrue label172
push 0.0, '_', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'mode'
getMember
add
callFunction
pop
branch label180
label172:
push 'char', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'pos'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'arg'
getMember
push 'charAt'
callMethod
varEquals
push 'char'
getVariable
setRegister r:0
push '{'
strictEquals
branchIfTrue label173
push r:0, '['
strictEquals
branchIfTrue label174
push r:0, '"'
strictEquals
branchIfTrue label175
push r:0, 'n'
strictEquals
branchIfTrue label176
push r:0, 't'
strictEquals
branchIfTrue label177
push r:0, 'f'
strictEquals
branchIfTrue label178
branch label179
label173:
push 0.0, '_object'
callFunction
pop
branch label180
label174:
push 0.0, '_array'
callFunction
pop
branch label180
label175:
push 0.0, '_string'
callFunction
pop
branch label180
label176:
push 0.0, '_null'
callFunction
pop
branch label180
label177:
push 0.0, '_boolean'
callFunction
pop
branch label180
label178:
push 0.0, '_boolean'
callFunction
pop
branch label180
label179:
push 0.0, '_number'
callFunction
pop
branch label180
label180:
end // of function
setMember
push r:1, 'chunk_encoder'
function2 () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete'
getMember
not
branchIfTrue label181
push UNDEF
return
label181:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
setRegister r:2
pop
push r:2
setRegister r:0
push 'number'
strictEquals
branchIfTrue label182
push r:0, 'string'
strictEquals
branchIfTrue label183
push r:0, 'boolean'
strictEquals
branchIfTrue label184
push r:0, 'null'
strictEquals
branchIfTrue label187
push r:0, 'array'
strictEquals
branchIfTrue label188
push r:0, 'object'
strictEquals
branchIfTrue label192
branch label199
label182:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
add
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getParent'
callMethod
pop
branch label200
label183:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push '"', '\\"', 1, '"', 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 'split'
callMethod
push 'join'
callMethod
add
push '"'
add
add
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getParent'
callMethod
pop
branch label200
label184:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push TRUE
equals
branchIfTrue label185
push 'false'
branch label186
label185:
push 'true'
label186:
add
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getParent'
callMethod
pop
branch label200
label187:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push 'null'
add
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getParent'
callMethod
pop
branch label200
label188:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 'length'
getMember
push 1
lessThan
not
branchIfTrue label189
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push ']'
add
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getParent'
callMethod
pop
branch label191
label189:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'push'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 0.0
getMember
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'array'
equals
not
branchIfTrue label190
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push '['
add
setMember
branch label191
label190:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'object'
equals
not
branchIfTrue label191
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push '{'
add
setMember
label191:
branch label200
label192:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
enumerateValue
label193:
setRegister r:0
push NULL
equals
branchIfTrue label195
push r:0
setRegister r:1
pop
branch label194
branch label193
label194:
push NULL
equals
not
branchIfTrue label194
label195:
push r:1, UNDEF
strictEquals
not
branchIfTrue label196
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push '}'
add
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getParent'
callMethod
pop
branch label198
label196:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'push'
callMethod
pop
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push r:1
getMember
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push '"', '\\"', 1, '"', 1, r:1, 'split'
callMethod
push 'join'
callMethod
add
push '":'
add
add
setMember
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'array'
equals
not
branchIfTrue label197
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push '['
add
setMember
branch label198
label197:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target'
getMember
push 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'object'
equals
not
branchIfTrue label198
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push '{'
add
setMember
label198:
branch label200
label199:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push 'null'
add
setMember
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getParent'
callMethod
pop
branch label200
label200:
end // of function
setMember
push r:1, 'getParent'
function2 () ()
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'length'
getMember
push 0.0
greaterThan
not
branchIfTrue label209
push 0.0, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'parents'
getMember
push 'pop'
callMethod
setRegister r:1
pop
push r:1, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'array'
equals
not
branchIfTrue label201
push 0.0, r:1, 'shift'
callMethod
pop
branch label204
label201:
push r:1
enumerateValue
label202:
setRegister r:0
push NULL
equals
branchIfTrue label204
push r:0
setRegister r:3
pop
push r:1, r:3
delete
pop
branch label203
branch label202
label203:
push NULL
equals
not
branchIfTrue label203
label204:
push r:1, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'object'
equals
push r:1, 1, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'getType'
callMethod
push 'array'
equals
or
not
branchIfTrue label208
push r:1
enumerateValue
label205:
setRegister r:0
push NULL
equals
branchIfTrue label207
push r:0
setRegister r:2
pop
branch label206
branch label205
label206:
push NULL
equals
not
branchIfTrue label206
label207:
push r:2, UNDEF
strictEquals
not
not
branchIfTrue label208
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded', 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'encoded'
getMember
push ','
add
setMember
label208:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'target', r:1
setMember
branch label210
label209:
push 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'cache'
getMember
push 'complete', TRUE
setMember
label210:
end // of function
setMember
push r:1, 'encode_chunks', 20000
setMember
push r:1, 'decode_chunks', 20000
setMember
push r:1, 'busy', FALSE
setMember
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'encoders'
getMember
push 'json'
getMember
push 'JSON'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label211:
pop
end // of initMovieClip 32
defineMovieClip 36 // total frames: 1
end // of defineMovieClip 36
exportAssets
36 as '__Packages.com.newgrounds.Score'
end // of exportAssets
initMovieClip 36
constants '_global', 'com', 'Object', 'newgrounds', 'Score', '_rank', '_username', '_score', '_numericValue', '_tag', 'prototype', '__get__numericValue', '__get__rank', '__get__score', '__get__tag', '__get__username', 'toString', '.\t', '\t', 'numericValue', 'addProperty', 'rank', 'score', 'tag', 'username', 'ASSetPropFlags'
push '_global'
getVariable
push 'com'
getMember
not
not
branchIfTrue label1
push '_global'
getVariable
push 'com', 0.0, 'Object'
new
setMember
label1:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
not
not
branchIfTrue label2
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds', 0.0, 'Object'
new
setMember
label2:
pop
push '_global'
getVariable
push 'com'
getMember
push 'newgrounds'
getMember
push 'Score'
getMember
not
not
branchIfTrue label3
push 'com'
getVariable
push 'newgrounds'
getMember
push 'Score'
function2 (r:2='rank', r:3='username', r:5='score', r:6='numericValue', r:4='tag') (r:1='this')
push r:this, '_rank', r:rank
setRegister r:0
setMember
push r:0
pop
push r:this, '_username', r:username
setRegister r:0
setMember
push r:0
pop
push r:this, '_score', r:score
setMember
push r:this, '_numericValue', r:numericValue
setMember
push r:this, '_tag', r:tag
setMember
end // of function
setRegister r:1
setMember
push r:1, 'prototype'
getMember
setRegister r:2
pop
push r:2, '__get__numericValue'
function2 () (r:1='this')
push r:this, '_numericValue'
getMember
return
end // of function
setMember
push r:2, '__get__rank'
function2 () (r:1='this')
push r:this, '_rank'
getMember
return
end // of function
setMember
push r:2, '__get__score'
function2 () (r:1='this')
push r:this, '_score'
getMember
return
end // of function
setMember
push r:2, '__get__tag'
function2 () (r:1='this')
push r:this, '_tag'
getMember
return
end // of function
setMember
push r:2, '__get__username'
function2 () (r:1='this')
push r:this, '_username'
getMember
return
end // of function
setMember
push r:2, 'toString'
function2 () (r:1='this')
push r:this, '_rank'
getMember
push '.\t'
add
push r:this, '_username'
getMember
add
push '\t'
add
push r:this, '_score'
getMember
add
return
end // of function
setMember
function ()
end // of function
push r:2, '__get__numericValue'
getMember
push 'numericValue', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__rank'
getMember
push 'rank', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__score'
getMember
push 'score', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__tag'
getMember
push 'tag', 3, r:2, 'addProperty'
callMethod
function ()
end // of function
push r:2, '__get__username'
getMember
push 'username', 3, r:2, 'addProperty'
callMethod
push 1, NULL, 'com'
getVariable
push 'newgrounds'
getMember
push 'Score'
getMember
push 'prototype'
getMember
push 3, 'ASSetPropFlags'
callFunction
label3:
pop
end // of initMovieClip 36
initMovieClip 21
push 'com.newgrounds.shims.APIShim'
getVariable
push 'Newgrounds API Classes', 2, 'Object'
getVariable
push 'registerClass'
callMethod
pop
end // of initMovieClip 21
initMovieClip 76
push 'com.newgrounds.components.FlashAdBase'
getVariable
push 'FlashAd', 2, 'Object'
getVariable
push 'registerClass'
callMethod
pop
end // of initMovieClip 76
frame 1
stop
end // of frame 1
defineButton 108
on overDownToOverUp
gotoFrame 3
play
end
end // of defineButton 108
defineButton 111
on overDownToOverUp
gotoFrame 4
play
end
end // of defineButton 111
defineButton 114
on overDownToOverUp
gotoFrame 5
play
end
end // of defineButton 114
defineButton 117
on overDownToOverUp
gotoFrame 6
play
end
end // of defineButton 117
defineButton 120
on overDownToOverUp
gotoFrame 7
play
end
end // of defineButton 120
defineButton 123
on overDownToOverUp
gotoFrame 8
play
end
end // of defineButton 123
defineButton 126
on overDownToOverUp
gotoFrame 9
play
end
end // of defineButton 126
defineButton 129
on overDownToOverUp
gotoFrame 10
play
end
end // of defineButton 129
defineButton 133
on overDownToOverUp
gotoFrame 2
play
end
end // of defineButton 133
frame 2
stop
end // of frame 2
defineMovieClip 134 // total frames: 1
end // of defineMovieClip 134
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 265
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
defineMovieClip 136 // total frames: 1
end // of defineMovieClip 136
defineMovieClip 140 // total frames: 266
end // of defineMovieClip 140
frame 3
stop
end // of frame 3
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 1790
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
// unknown tag 88 length 128
defineMovieClip 222 // total frames: 1
end // of defineMovieClip 222
defineMovieClip 228 // total frames: 1
end // of defineMovieClip 228
defineMovieClip 234 // total frames: 1
end // of defineMovieClip 234
defineMovieClip 236 // total frames: 1
end // of defineMovieClip 236
defineMovieClip 239 // total frames: 1
end // of defineMovieClip 239
// unknown tag 88 length 84
// unknown tag 88 length 72
defineMovieClip 414 // total frames: 1
end // of defineMovieClip 414
// unknown tag 88 length 61
// unknown tag 88 length 62
defineMovieClip 568 // total frames: 1796
end // of defineMovieClip 568
frame 4
stop
end // of frame 4
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 3970
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
defineMovieClip 1120 // total frames: 1
end // of defineMovieClip 1120
defineMovieClip 1126 // total frames: 1
end // of defineMovieClip 1126
defineMovieClip 1361 // total frames: 3973
end // of defineMovieClip 1361
frame 5
stop
end // of frame 5
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 4665
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
defineMovieClip 1391 // total frames: 1
end // of defineMovieClip 1391
defineMovieClip 1393 // total frames: 1
end // of defineMovieClip 1393
// unknown tag 88 length 40
// unknown tag 88 length 99
// unknown tag 88 length 71
// unknown tag 88 length 83
defineMovieClip 2034 // total frames: 1
end // of defineMovieClip 2034
defineMovieClip 2035 // total frames: 1
end // of defineMovieClip 2035
defineMovieClip 2059 // total frames: 1
end // of defineMovieClip 2059
defineMovieClip 2062 // total frames: 1
end // of defineMovieClip 2062
defineMovieClip 2507 // total frames: 4669
end // of defineMovieClip 2507
frame 6
stop
end // of frame 6
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 2375
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
defineMovieClip 2757 // total frames: 1
end // of defineMovieClip 2757
defineMovieClip 2793 // total frames: 2377
end // of defineMovieClip 2793
frame 7
stop
end // of frame 7
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 3885
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
// unknown tag 88 length 78
// unknown tag 88 length 124
defineMovieClip 3532 // total frames: 3889
end // of defineMovieClip 3532
frame 8
stop
end // of frame 8
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 3755
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
defineMovieClip 3534 // total frames: 1
end // of defineMovieClip 3534
defineMovieClip 3539 // total frames: 1
end // of defineMovieClip 3539
defineMovieClip 3540 // total frames: 1
end // of defineMovieClip 3540
defineMovieClip 3777 // total frames: 88
end // of defineMovieClip 3777
defineMovieClip 3999 // total frames: 3758
end // of defineMovieClip 3999
frame 9
stop
end // of frame 9
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 5075
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
// unknown tag 88 length 40
defineMovieClip 4943 // total frames: 5082
end // of defineMovieClip 4943
frame 10
stop
end // of frame 10
placeMovieClip 134
onClipEvent load
push 'counter', 0.0
varEquals
end
onClipEvent enterFrame
constants 'counter', '_root', 'nextFrame', 'gotoAndPlay'
push 'counter'
getVariable
push 2910
lessThan
not
not
branchIfTrue label1
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
branch label2
label1:
push 0.0
callFunction
push 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
push 'counter', 'counter'
getVariable
increment
setVariable
label2:
end
end // of placeMovieClip 134
defineMovieClip 4951 // total frames: 1
end // of defineMovieClip 4951
defineMovieClip 4987 // total frames: 1
end // of defineMovieClip 4987
defineMovieClip 4991 // total frames: 1
end // of defineMovieClip 4991
defineMovieClip 5111 // total frames: 1
end // of defineMovieClip 5111
defineButton 5116
on overDownToOverUp
getURL 'https://www.facebook.com/TOMEseries' '_blank'
end
end // of defineButton 5116
defineButton 5118
on overDownToOverUp
getURL 'http://tomeseries.bandcamp.com/track/battle-on' '_blank'
end
end // of defineButton 5118
defineButton 5123
on overDownToOverUp
gotoFrame 0
play
end
end // of defineButton 5123
defineButton 5124
on overDownToOverUp
getURL 'http://kirbopher.newgrounds.com/' '_blank'
end
end // of defineButton 5124
defineButton 5127
on overDownToOverUp
getURL 'http://www.chrisniosi.com/' '_blank'
end
end // of defineButton 5127
defineButton 5129
on overDownToOverUp
getURL 'http://www.youtube.com/kajetokun' '_blank'
end
end // of defineButton 5129
defineButton 5131
on overDownToOverUp
getURL 'http://www.youtube.com/shadyvox' '_blank'
end
end // of defineButton 5131
defineButton 5133
on overDownToOverUp
getURL 'http://supadave-3.deviantart.com/' '_blank'
end
end // of defineButton 5133
defineButton 5135
on overDownToOverUp
getURL 'http://foolishcreations.com/' '_blank'
end
end // of defineButton 5135
defineButton 5137
on overDownToOverUp
getURL 'http://heilos.deviantart.com/' '_blank'
end
end // of defineButton 5137
defineMovieClip 5138 // total frames: 2920
end // of defineMovieClip 5138
frame 11
stop
end // of frame 11
defineButton 5139
on overDownToOverUp
gotoFrame 0
play
end
end // of defineButton 5139
end