I’m working on a canvas on which the user can drag tiles back and forth (think dragreorderrow on listbox, but horizontally) and I’d like as well to allow the user to drag a tile out of the canvas and have it go “poof” as I delete it from the array.
The visual would be nice, but I think macOs no longer uses it, but how do I access the sound?
MBS plugins are fine to cite - but I can’t find it there…(tried, but not certain where to look)
Sounds are files, the are not methods, functions or declares… So any “plug-in” will reference that exact same file either directly or indirectly… but if you wish to complicate things, you are free to do so.
There is no api for that sound.
But here s some sample code:
dim p as string = "/System/Library/Components/CoreAudio.component/Contents/SharedSupport/SystemSounds/dock/poof item off dock.aif"
dim f as FolderItem = GetFolderItem(p, folderitem.PathTypeNative)
dim s as sound = f.OpenAsSound