Coder Social home page Coder Social logo

awayfl-player's People

Contributors

80prozent avatar dranitski avatar exponenta avatar rob-bateman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awayfl-player's Issues

Some games say this

What does it mean when a game says this when I try to save a backup?
AwayJS: flash.net.FileReference::browse not implemented !

Catctus McCoy 1 crashes after the Flipline Logo Shows up

SWF: https://i.flipline.com/downloads/cactusmccoy_210.zip
Error:

Uncaught TypeError: t._setParent is not a function
    addChildAt DisplayObjectContainer.js:152
    addTimelineChildAtDepth Sprite.js:89
    add_childs_continous Timeline.js:330
    constructNextFrame Timeline.js:304
    reset MovieClip.js:454
    addTimelineChildAtDepth Sprite.js:68
    add_childs_continous Timeline.js:330
    constructNextFrame Timeline.js:304
    reset MovieClip.js:454
    XV axConstruct.js:128
    constructprop jit.js:1837
    compiled_m_setupScreen m_setupScreen.js:49
    compiled_constructor constructor.js:52
    XV axConstruct.js:154
    construct jit.js:1825
    compiled_m_getClassInstance m_getClassInstance.js:52
    compiled_m_setupScreen m_setupScreen.js:4665
    compiled_constructor constructor.js:47
    KV axConstruct.js:214
    constructFast jit.js:1810
    compiled_m_createScreen m_createScreen.js:46
    compiled_m_showScreen m_showScreen.js:97
    compiled_m_updateScreen m_updateScreen.js:96
    call ASMethodClosure.js:53
    dispatchEvent EventDispatcherBase.js:201
    dispatchEvent EventDispatcherBase.js:64
    dispatchEvent EventDispatcher.js:60
    dispatchEvent EventDispatcher.js:218
    dispatchStaticBroadCastEvent DisplayObject.js:204
    enterFrame Stage.js:272
    enterFrame PlayerGlobal.js:136
    enterFrame AVM2Handler.js:39
    showNextFrame AVMStage.js:545
    main_loop AVMStage.js:527
    _tick RequestAnimationFrame.js:72
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
DisplayObjectContainer.js:152:14
    addChildAt DisplayObjectContainer.js:152
    addTimelineChildAtDepth Sprite.js:89
    add_childs_continous Timeline.js:330
    constructNextFrame Timeline.js:304
    reset MovieClip.js:454
    addTimelineChildAtDepth Sprite.js:68
    add_childs_continous Timeline.js:330
    constructNextFrame Timeline.js:304
    reset MovieClip.js:454
    XV axConstruct.js:128
    constructprop jit.js:1837
    compiled_m_setupScreen m_setupScreen.js:49
    compiled_constructor constructor.js:52
    XV axConstruct.js:154
    construct jit.js:1825
    compiled_m_getClassInstance m_getClassInstance.js:52
    compiled_m_setupScreen m_setupScreen.js:4665
    compiled_constructor constructor.js:47
    apply self-hosted:2341
    KV axConstruct.js:214
    constructFast jit.js:1810
    compiled_m_createScreen m_createScreen.js:46
    compiled_m_showScreen m_showScreen.js:97
    compiled_m_updateScreen m_updateScreen.js:96
    call ASMethodClosure.js:53
    dispatchEvent EventDispatcherBase.js:201
    dispatchEvent EventDispatcherBase.js:64
    dispatchEvent EventDispatcher.js:60
    dispatchEvent EventDispatcher.js:218
    dispatchStaticBroadCastEvent DisplayObject.js:204
    enterFrame Stage.js:272
    enterFrame PlayerGlobal.js:136
    enterFrame AVM2Handler.js:39
    showNextFrame AVMStage.js:545
    main_loop AVMStage.js:527
    _tick RequestAnimationFrame.js:72
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    (Async: FrameRequestCallback)
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11

Bitmaps Beeing Improperly Disposed in the 2014 version of Fancy Pants World 1 Remix

Jump Once and it'll show the smoke normally, some more and it'll show black squares and at some point it will crash
Firefox Crash Message:

Uncaught TypeError: this._bitmapData.adaptee is null
    set Bitmap.js:144
    axSetProperty ASObject.js:145
    setproperty jit.js:1783
    compiled_m_InteractEnterFrame m_InteractEnterFrame.js:205
    compiled_InteractEnterFrames InteractEnterFrames.js:58
    compiled_m_MainEnterFrame60 m_MainEnterFrame60.js:210
    call ASMethodClosure.js:53
    dispatchEvent EventDispatcherBase.js:201
    dispatchEvent EventDispatcherBase.js:64
    dispatchEvent EventDispatcher.js:60
    dispatchEvent EventDispatcher.js:218
    dispatchStaticBroadCastEvent DisplayObject.js:204
    enterFrame Stage.js:272
    enterFrame PlayerGlobal.js:136
    enterFrame AVM2Handler.js:39
    showNextFrame AVMStage.js:545
    main_loop AVMStage.js:527
    _tick RequestAnimationFrame.js:72
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
    _tick RequestAnimationFrame.js:73
    _rafUpdateFunction RequestAnimationFrame.js:11
Bitmap.js:144:16

Chrome Error Message:

VM8279 runtime.js:36 Uncaught TypeError: Cannot read properties of null (reading 'transparent')
    at Object.set (VM8279 runtime.js:36:344553)
    at t.axSetProperty (VM8279 runtime.js:2:571437)
    at t.setproperty (VM8279 runtime.js:36:188039)
    at Object.compiled_m_InteractEnterFrame (VM10731 m_InteractEnterFrame.js:205:33)
    at Object.compiled_InteractEnterFrames (VM8576 InteractEnterFrames.js:58:35)
    at Object.compiled_m_MainEnterFrame60 (VM10660 m_MainEnterFrame60.js:210:35)
    at e.call (VM8279 runtime.js:2:589974)
    at t.dispatchEvent (VM8279 runtime.js:36:262079)
    at e.dispatchEvent (VM8279 runtime.js:36:259706)
    at e.dispatchEvent (VM8279 runtime.js:36:267419)

SWF: FPA 1 REMIX.zip

Bugfix:URLLoader can't send parameters data when using get method.

Fixed using code followed:
awayjs/core/lib/net/URLLoader.ts line 171

private getRequest(request:URLRequest):void
{
   try {
			if(request.data !=null){
				this._XHR.open(request.method, request.url + "?" + request.data, request.async);
			}else{
				this._XHR.open(request.method, request.url, request.async);
			}
			this.setResponseType(this._XHR, this._dataFormat);
			this._XHR.send(); // No data to send
		} catch (e /* <XMLHttpRequestException> */) {
			this.handleXmlHttpRequestException(e);
		}
}

Deploy

What branch do i deploy from for github pages

Unsupported ByteCodes

  • CALLSTATIC (Affects Strike Force Heroes 2)
  • CALLMETHOD (Affects Raze 2)
  • NOP (Affects Elephant Quest)

Button Conversion Crashes AwayFL

Commit Version:
036b1fd (I built the binaries)

SWF:
https://github.com/TeamNitrous/projectplatinum/blob/main/storage/swf/papasfreezeria.swf

Info:
Loading this SWF on the official SWF tester allows the buttons to work as intended, however on the latest build the entire canvas acts clickable and the user can not press buttons or progress further.

Error:
{ "$Bgmessage": "Error #1034: Type Coercion failed: cannot convert [object SimpleButton] to flash.display.DisplayObjectContainer.", "_errorID": 1034, "constructorHasRun": true }

Screenshot:
image

Cactus McCoy 2 fails to start

SWF: https://i.flipline.com/downloads/cactusmccoy2_210.zip
Error:

Uncaught Stack underrun while preprocess, stack:-1
 Method:null while/use package/constructor/0555_anonymous [int.js:160:56](https://awayfl.github.io/away-player-embed/node_modules/@awayfl/avm2/dist/lib/int.js)
    dj int.js:160
    createFunction AXSecurityDomain.js:315
    createFunction jit.js:1675
    compiled_constructor null:43
    executeConstructor MovieClip.js:145
    execute_as3_constructors_recursiv FrameScriptManager.js:170
    addAsset PlayerGlobal.js:182
    addAsset AVM2Handler.js:54
    _onAssetComplete AVMStage.js:337
    _onAssetCompleteDelegate AVMStage.js:72
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    _onAssetComplete AssetLibraryBundle.js:438
    _onAssetCompleteDelegate AssetLibraryBundle.js:40
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    _onAssetComplete Loader.js:391
    _onAssetCompleteDelegate Loader.js:78
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    _pFinalizeAsset ParserBase.js:201
    parseSymbolsToAwayJS SWFParser.js:344
    _iResolveDependency SWFParser.js:146
    resolve ResourceDependency.js:143
    _retrieveNext Loader.js:188
    _resolveParserDependencies Loader.js:332
    _onParseComplete Loader.js:431
    _onParseCompleteDelegate Loader.js:72
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    _pFinishParsing ParserBase.js:284
    _pOnInterval ParserBase.js:258
    _pOnIntervalDelegate ParserBase.js:48
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    tick Timer.js:80
    _iid Timer.js:66
    (Async: setInterval handler)
    start Timer.js:66
    _pStartParsing ParserBase.js:269
    parseAsync ParserBase.js:140
    _parseDependency Loader.js:496
    _retrieveDependency Loader.js:231
    _retrieveNext Loader.js:179
    _retrieveNext Loader.js:189
    _resolveParserDependencies Loader.js:332
    _onParseComplete Loader.js:431
    _onParseCompleteDelegate Loader.js:72
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    _pFinishParsing ParserBase.js:284
    _pOnInterval ParserBase.js:258
    _pOnIntervalDelegate ParserBase.js:48
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    tick Timer.js:80
    _iid Timer.js:66
    (Async: setInterval handler)
    start Timer.js:66
    _pStartParsing ParserBase.js:269
    parseAsync ParserBase.js:140
    _parseDependency Loader.js:496
    _retrieveDependency Loader.js:231
    _retrieveNext Loader.js:179
    _retrieveNext Loader.js:189
    _resolveParserDependencies Loader.js:332
    _onParseComplete Loader.js:431
    _onParseCompleteDelegate Loader.js:72
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    _pFinishParsing ParserBase.js:284
    _pOnInterval ParserBase.js:258
    _pOnIntervalDelegate ParserBase.js:48
    dispatchEvent EventDispatcher.js:99
    dispatchEvent EventDispatcher.js:50
    tick Timer.js:80
    _iid Timer.js:66
    (Async: setInterval handler)
    start Timer.js:66
    _pStartParsing ParserBase.js:269
    parseAsync ParserBase.js:140
    _parseDependency Loader.js:496
    _retrieveDependency Loader.js:231
    _retrieveNext Loader.js:179
    _retrieveNext Loader.js:189
    _resolveParserDependencies Loader.js:332
    _onParseComplete Loader.js:431
    _onParseCompleteDelegate Loader.js:72
    dispatchEvent EventDispatcher.js:99

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.