Callbacks on players on Windows

J. Landman Gay jacque at hyperactivesw.com
Wed Aug 11 12:47:48 EDT 2004


On 8/10/04 4:42 PM, cteno4 wrote:

> I have been setting callbacks on my players so that when the audio file 
> is done (wav files), i can hide the pause button. i found that i have had 
> to pull the end callback time to at least 10 ticks from the total 
> duration of the file when loaded into the player to get consisitant 
> callbacks sent. On the mac i can just set the callback to the duration of 
> the player and it works every time. even trimming 10 clicks off the 
> duration for the end callback on windows i get probably 1 in 25 that 
> never get called when the player plays to the end. the player is hidden.
> 
> any ideas of whats going on here?

I had various problems with messages from hidden players in one project. 
The solution was to set the visible of the player to true and move it 
offscreen. Does that help?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list