Jump to content

atlasXML Texture Loading issue in Mozilla


Kishore
 Share

Recommended Posts

Hi,

 

This is my first project using Phaser i need help to solve atlasXML loading Sprite sheet.

 

I am getting these errors..

 

"Phaser.Loader - Fishes: invalid XML (text)" phaser.js:56694:12
"Phaser.Loader - textureatlas[Fishes]: invalid XML" phaser.js:55975:12
"Texture with key 'Fishes' not found." phaser.js:35781:16
not well-formed Phaser:1:1
 
game.load.atlasXML('Fishes', 'assets/Fishing.png', 'assets/Fishing.xml');
used this line in preload().
 
blor = game.add.sprite(1000,200,'Fishes','blu-orng0000');
used this line in create().
 
Images are being loaded in Chrome and IE11 but not in Mozilla.
 
post-14976-0-17192200-1434002004.png
 
post-14976-0-08624600-1434001636.png

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...