Link to home
Start Free TrialLog in
Avatar of ZTOT_Studio
ZTOT_Studio

asked on

Loop Sound

function playSound(sSound) {
mysound = new Sound(this);
mysound.attachSound(sSound);
mysound.start();
}
playSound("1");

when i call this function, the sound jus will loop once. How to make it loop forever? I had add in this line mysound.loop=true, but it doesn't work.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of elhy
elhy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial