GSAP Draggable
March 7, 2015 12:00 AM
Has anyone had any luck getting images and shapes to work with Greensocks Draggable library, specifically rotation?
Thanks.
Discussion (6)
Of course. See here: http://greensock.com/forums/topic/7339-gsap-tweens-in-lectora/#entry46063
Did you have any problems?
Thanks for the reply Sergey but you misread my issue. I do not have a problem getting text objects to work with any of the GSAP libraries; it is Images and Shapes that do not work.
If you can figure that out, please let me know. Thanks.
I see it now. True, I couldn't get GSAP Draggable to work with images or shapes. It appears that the Draggable attaches itself to the shape/image fine but it doesn't pass the mouse click to GSAP functions so the drag never starts. My theory is that there is probably a "preventDefault" somewhere in Trivantis scripts but I cannot go digging for it at this time.
I think GSAP guys have a better chance of making it work if you share your files with them.
As predicted, GSAP guys were able to figure it out: http://greensock.com/forums/topic/7339-gsap-tweens-in-lectora/
Just leaving the link here in case anyone else stumbles into the same problem.
Because Lectora places some elements in tags you need to add the property "dragClickables:true" (no quotes).
See attachment.
undefined
Darrel
Hi There
undefined
Any help would be appreciated.
regards
Dan
Discussions have been disabled for this post