SVG powered images

jonathandlynch at gmail.com jonathandlynch at gmail.com
Fri May 12 08:40:15 EDT 2017


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.

J

Sent from my iPhone

> On May 11, 2017, at 10:15 PM, Alejandro Tejada via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> This mousedown script shows a rough preview
> of the SVG animation if you put it into the image:
> 
> 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
> 
> Al
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list