Code Monkey home page Code Monkey logo

Comments (2)

joshtynjala avatar joshtynjala commented on June 11, 2024

ArgumentError: Error #3672: Buffer creation failed. Internal error.

This is an AIR bug. As I understand it, some people have found workarounds, but I personally don't know what they are. There may be threads in the Starling forums, or in the Gamua/Adobe-Runtime-Support tracker.

from feathersui-starling.

joshtynjala avatar joshtynjala commented on June 11, 2024

That said, one thing that might be worth trying is delaying your call to setAspectRatio() until a bit after switching to full screen. My thought is that switching to full screen will cause a context loss, and maybe it hasn't fully restored by the time that you switch the aspect ratio. It might work better after everything is restored.

You could probably listen for Event.CONTEXT3D_CREATE. Alternatively, you could start a timer and wait somewhere between 0.5 and 2.0 seconds (you probably need to play around with the exact time a bit, but a longer wait may be better for slower devices).

from feathersui-starling.

Related Issues (20)

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.