p5js: calling loadXML outside of preload()

Hey

I am trying to make a sketch where I use loadXML outside of preload, because I want to be able to dynamically load the xml from different urls, determined by the user.

How would I best do that? Every time I call loadXML outside of preload in I get errors.

Answers

Sign In or Register to comment.