I can do: player.onSoundComplete = myFunction;
but how do I do: player.onSoundComplete = myFunction(param1, param2)?
If I put the parens it executes it when it reaches that point in the code.
I can do: player.onSoundComplete = myFunction;
but how do I do: player.onSoundComplete = myFunction(param1, param2)?
If I put the parens it executes it when it reaches that point in the code.
:: Copyright KIRUPA 2024 //--