I guess I'm missing how to use the oncomplete part of the playsound commands as I can not get it to work and yes I'm using the latest beta soundinterface.swf (build 2010-1-05)
From the doc example:
playsound2D(id, mp3file, volume*, pan*, loops*, oncomplete*);
I coded this:
if(start == 1, playsound2D(bkgmsc,DanceWithMe.mp3,.3,0,1,lightsoff()); );
<action name="lightsoff">
...
...
</action>
This does NOT work, is the oncomplete a attribute, not part of a function or....? This code is accepted, but the oncomplete action "lightsoff" is NOT run.
And are looping and oncomplete incompatible or is the soundtrack considered complete at the end of a loop?
Regards,
Robert