Remote audio file does not always play

Trevor DeVore lists at mangomultimedia.com
Tue May 20 14:10:44 EDT 2014


On Tue, May 20, 2014 at 2:06 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

>
> Stephen's comment about all the pre/opencard messages is a good one, and
> my script adds a couple dozen additional commands to the sequence. I'll
> move the audio playback to the very end of all that and see if that helps.
> There is a lot going on when a card opens in this stack.
>
> If you have any other ideas, please do tell.


What about moving the audio loading to a separate handler and then calling
it in time in openCard? That might let everything settle down even more.

on openCard
   -- do lots of stuff
   send "LoadAudio" to me in 50 milliseconds
end openCard


on LoadAudio
   -- do audio stuff here
end LoadAudio

-- 
Trevor DeVore
Blue Mango Learning Systems
www.screensteps.com    -    www.clarify-it.com



More information about the Use-livecode mailing list