Hi Holernator,
I dont know what is going on. But I am a little surprised since I use the callbacks in one of my programs extensively to get a frame triggered response from short movie clips. This program works for years and we never had problems with it.
Those are short clips with about a thousand frames and a thousand callbacks. The callbacks trigger the recording of the mouse coordinates. The program checks the amount of recorded coordinates against the number of callbacks and throws an error if recorded coordinates and callbacks are not the same. Since this works without problem I was pretty confident that you would get this to work.
One thing that I noticed: you set the hilite of a button to true. If this is on a Mac and it is the standard blue pulsating button then this takes an great amount of processing time. The implementation of the
pulsatingdefault button in livecode is very inefficient. Depending on the hardware it uses 20 to 40 percent of the processor time. Just for pulsating. If you are not using the blue Mac default blue pulsating button this is not an issue. Setting the hilite of any other button is ok.
Final question before I bug y'all no more on this thread! :
I've found out (hopefully mistakenly) that you cannot load an AUDIO file into a player object? I've tried loading as .wav, renaming the .wav to .mov. No response either from message window or scripted cmds. Is that correct? Can we only load .mov files with a VIDEO track into a player object? That would make me a little sad Hopefully I'm missing something as I was counting on being able to use some of the player commands to control multitrack audio elsewhere.
You can very well play audio files in a player object. It plays all the files that your current quicktime supports. AVI and MOV are just containers that contain the media in different compression formats. These are determined by the codecs. That means if you have audio/movie files that Quickime does not support natively you can extend the playable formats by installing codecs. One way to play many WMV formats on a mac is to install flipforMac. Or the free Perian.
The same applies to Windows Media Player. If you want to extend the formats of WMP you have to install the codecs.
But changing the file extension from avi to mov does not help.
What might have gotten you is that Livecode defaults to mov files in the dialog to choose files to set the filename of a player. You have the option to set it to "all files". Then it lets you choose any file. You have to find out whether it plays in Quicktime or not. (see codecs above)
Sorry to be of little help here. If you want me to look into this any further you would have to upload your zipped example stack that shows the dropping of callbacks. And tell us what operating system, what livecode version and what hardware your are using.
Kind regards
Bernd