SVG powered images

Klaus major-k klaus at
Sat May 13 06:48:28 EDT 2017

Hola Al,

> Am 13.05.2017 um 07:37 schrieb Alejandro Tejada via use-livecode <use-livecode at>:
> Hi All,
> Jonathan Lynch wrote:
>> Hey guys - I figured out a solution for that bug I had previously
>> written a hack for. I use the image.onload handler in the JavaScript
>> for this. It works consistently now. I just had to get my order of events
>> correct in the JavaScript.
>> So please check out the new version
> This versions works really well with Animated SVG.
> Check a step by step recipe to play them in
> my answer to Klaus message:
> Klaus  Major wrote about running animated svg:
>> not when viewed in Safari on a Mac!
> Macs always store a surprise or two! :D
> Check if this step by step recipe works
> in a Mac:
> 1) Download most recent version of Jonathan Lynch's stack:
> 2) Download this animated svg:
> This mechanical gears animation is better for detecting
> any "jump" in the animation conversion.
> 3) Import mechanical gears animated svg
> into Jonathan's stack
> 4) edit the script of gears bitmap image and
> add this script after "resizecontrol" handler
> on mousedown
>  put the id of me into tID
>    repeat while the mouse is down
>       send "processSVG tID" to widget "SVGBrowser1"
>    end repeat
> end mousedown
> 5) Click and hold down the mouse button over
> one gear and see them move.
> Tell us if this works fine on a Mac (or other OS that
> you use on a PC or within a Virtual Machine)

well, nothing actually happens, except that LC almost freezes for a couple of seconds!?
Works fine in Safari though :-D


Klaus Major
klaus at

More information about the use-livecode mailing list