Jump to content
Search Community

Is there a way to configure settings for subloaded types?

ggritmon test
Moderator Tag

Recommended Posts

I love how XMLLoader allows me to define additional assets to load within the XML file, but there is no way to override the default settings for each type, so I need to add the same properties over & over.

 

For example, I am loading 100's of sounds & videos for use on demand. If I don't set autoPlay=false on every single corresponding node, everything starts to play immediately, shattering my eardrums :-P

 

It would be good if we could set the default values for these properties on some global level. If the corresponding node is not found, the default for that type would be used.

 

SWFLoader.noCache = true;

ImageLoader.smoothing = true;

VideoLoader.autoPlay = false;

 

Having this capability would dramatically simplify the required content of the XML file.

 

Is there anything like this in the current system?

Link to comment
Share on other sites

  • 2 weeks later...

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.
×
×
  • Create New...