Jump to content

Search the Community

Showing results for tags 'firefox texture.fromframe'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hello, I am trying to build an AnimatedSprite by loading a .json exported from Flash CS6 and using the following code: var t1frames = []; for (var i = 0; i < 120; i++) { var val = i; if (i < 100) val = '0' + i; if (i < 10) val = '00' + i; t1frames.push(PIXI.Texture.fromFrame('tracker10' + val)); } var tracker1 = new PIXI.extras.AnimatedSprite(t1frames); as you can understand the json frame ids are 'tracker10000' up to 'tracker10119' The above code works fine in Chrome, Edge, IE11 and Opera, but in Firefox throws 'Error: The frameId "tracker10000" does not exist in the texture cache' By checking the debugger I found the following: message : "Error trying to parse loaded json: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data" which drives me crazy. I am attaching the .json here in case someone has any ideas. Thank you! tracker1.json
×
×
  • Create New...