Play a sound on Polygon hotspot mouse click action
Posted: Sun Feb 04, 2024 3:53 pm
Hi,
I am trying to play a sound when some poly hotspot is clicked.
so I added a sound element into the skin with an id of sound1(loop -1) and a invisible text element to attach it's actions to poly hotspot by proxy hotspot id.
I added mouse click action to this text element which plays a media of id sound1 and set the loop to 1.
But it doesn't seem to play on the hotspot click.
can you please guide me.
Thanks in Advance.
I am trying to play a sound when some poly hotspot is clicked.
so I added a sound element into the skin with an id of sound1(loop -1) and a invisible text element to attach it's actions to poly hotspot by proxy hotspot id.
I added mouse click action to this text element which plays a media of id sound1 and set the loop to 1.
But it doesn't seem to play on the hotspot click.
can you please guide me.
Thanks in Advance.