Skip to content

Problem with basePath of LoadQueue #193

Description

@caiocanalli

Hello developers!

I have a spritesheet loading problem. I'm generating a single file from the Animate CC. It contains two images that are mapped to one spritesheet. If I run my index.html file in the same location as the index.js file and folder images generated by Animate CC, everything works perfectly.

But if I move my index.js file and my images to another folder, the index.html file that performs charging, do not find the index.png file. The index.json file is normally found. In this case, my structure looks like this:

**http://localhost/web**/index.html

http: //localhost/files/index.js
http: //localhost/files/images/index.json
http: //localhost/files/images/index.png

In my index.html file in LoadQueue class, I pass the parameter basePath as http://localhost/files, as described in the Prelodjs documentation.

Is there any extra configuration in LoadQueue class?

Obs: Tested in Chrome, Firefox and Edge.

Thank you for your help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions