I want to play sound when hover on text. I upload a music and make it hidden, and give it “posiEn” as ID, then I write this function:
export function clipArt1_mouseIn(event, $w) {
//Add your code for this event here:
var audio = $w("#posiEn");
audio.play();
}
but when I try it, it gives me “audio.play() is not a function”
What is the problem? and how I can play a sound?