Distinguish Code |
When manipulating with a sound (playing, closing, changing volume), all played sounds are scanned and in case of finding identical sound the required operation is performed with this just played sound. The distinguish code element is used to additional distinguishing of the identical played sounds. It is integer with range of 0 to 65535 (its default value is 0). If the same sound is found when executing a sound operation, then additionaly its distinguish code is compared and in case of equality of it the operation is performed. If it is not equal, then in case of playing sound command new sound is starting to play and current used distinguish code is saved for this sound.
Full Html Context Help of The Peter - Gemtree Software & Children Programming