Get the load state of an audio clip.
Useful when a clip was declared with preload: false, or to tell "still loading" apart from "loaded but silent".
preload: false
Audio clip name (case-sensitive).
"unloaded", "loading" or "loaded".
"unloaded"
"loading"
"loaded"
if (me.audio.state("theme") === "loaded") { ... } Copy
if (me.audio.state("theme") === "loaded") { ... }
Get the load state of an audio clip.
Useful when a clip was declared with
preload: false, or to tell "still loading" apart from "loaded but silent".