Jump to content


LoaderMax.getContent(): more than one asset with same name?

Recommended Posts

If you have more than one loaded asset with the same name, how does LoaderMax.getContent() resolve that?


I have a lot of assets to load -- maybe 70 mp3s, and while I can make sure no names ever duplicate, I'm wondering whether it's not easier to use the instance version of LoaderMax's getContent, rather than the static.  What is the best practice?



Link to comment
Share on other sites

You shouldn't use the same name for multiple assets because the whole point of names is to give a way to uniquely identify loaders :)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.