code: public void queueResource (String bundle, String resource, boolean loop)
      {
          try {
              queueURL(new URL("resource://" + bundle + "/" + resource), loop);
          } catch (MalformedURLException e) {
              log.warning("Invalid resource url.", "resource", resource, e);
          }
      }
docs: Adds a resource to the queue of files to play.
  
  @param loop if true, play this file in a loop if there's nothing else
  on the queue