saroj
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by saroj
-
-
On 2/9/2016 at 10:45 PM, Friebel said:
Hi,
When using greensockglobals object, I can't get the morphSVGplugin to work (it throws errors).
The drawSVGplugin DOES work with greensockglobals, but if I use the morphSVGplugin the same way I use drawSVGplugin, it's not working. If I code without using greensockglobals, both plugins works perfectly fine. But obviously I want to use the globals object.
Could this be a bug in the morphSVGplugin? (Not respecting the greensockglobals object) Or am I doing something wrong here?
THIS IS MY CODE WITHOUT GREENSOCKGLOBALS (working fine)
[... greensock lib here...] var tl = new TimelineMax(); tl.to('#objectFrom', 0.2, { morphSVG: { shape: '#objectTo' }, ease: Linear.easeNone });
THIS IS THE SAME CODE WITH GREENSOCKGLOnnnnnnnnBALS (throwing errors):var gs = window.GreenSockGlobals = {}; [... greensock lib here...] var tl = new gs.TimelineMax(); tl.to('#objectFrom', 0.2, { morphSVG: { shape: '#objectTo' }, ease: gs.Linear.easeNone });
Thanks in advance!
TweenMax.min.js Download not working but cdnjs TweenMax.min.js does...
in GSAP
Posted
TweenMax.min.js
TweenMax.min.js