Play sound when hover #Rawabi

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");;

but when I try it, it gives me “ is not a function”

What is the problem? and how I can play a sound?

Check out the following post and it’s comments. There’s a solution there.

1 Like