On 3/22/11 1:10 AM, Gerry wrote:
So more messing about reveals that my problem wasn't with
libUrlDownloadToFile at all - but it's still weird.

I have a button that calls a command - upDateSongs - from its script.

If upDateSongs is in the stack script everything works fine. However
if it's in the card script the app goes mad - it starts processing the
card script from the top, running any code it encounters (my
urlProgress code was at the top of the card script, so it was
triggered by the sending of upDateSongs from the button - hence my
suspicions about libUrlDownloadToFile and urlProgress).

Crazy. And it makes me wonder if my stack is somehow corrupt. Anyone
seen that before?

Never. You may have some duplicate handlers somewhere, or handlers that call others you aren't expecting. The best thing would be to set a breakpoint near the beginning of the code sequence and step into every line until you see what's calling the wayward code.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
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