Hi there,

How do I change the icon back to "play" after the played sound is ready in
my script below?
----
if the iconPath of widget "dummy" is the iconPath of widget "play"
then
set the iconPath of widget "dummy" to the iconPath of widget "pause"
play specialFolderPath("documents") & slash & "recording1.wav"
else
set the iconPath of widget "dummy" to the iconPath of widget "play"
play empty
end if
----

Any suggestions are welcome.


greetings,

William
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to