AW: AW: AW: AW: need help for decompress URL

Tiemo Hollmann TB toolbook at kestner.de
Fri Nov 28 07:49:30 EST 2008


Hello Dave,
yes I do it with the urlstatus()
Thanks
Tiemo

> 
> Tiemo
> 
> "load url" works in the background and you need to use a callback
> message to get the data. Something like this:
> 
> on myHandler
> -- whatever
>    load URL pUrl with message "loaded"
> end myHandler
> 
> on loaded pUrl, pStatus
>    if pStatus is "cached" then
>      put decompress(url pUrl) into url (whatever)
>    else
>      answer "download failed" -- or other error handling
>     end if
>    unload url pUrl -- assuming y0u no longer need it
> end loaded
> 
> 
> Cheers
> Dave
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list