Search the Community
Showing results for tags 'documentation'.
-
In the docs (https://greensock.com/docs/#/HTML5/GSAP/Utils/Draggable/) I notice it says that to use Draggable, all you need is TweenMax. "REQUIREMENTS: TweenLite and CSSPlugin or just TweenMax which contains both." However, at the top of TweenMax.js (v 1.19.1) it says "Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin" and there is no mention of 'Draggable' anywhere within the file. The CSSplugin.js file also seems to contain no mention to 'Draggable'. I am having to include the Draggable utility separately in order to use it. Is this an error in the documentation, or am I missing something?
- 3 replies
-
- documentation
- draggable
-
(and 1 more)
Tagged with:
-
Greetings developers, do you guys have any PDF file or ebook for gsap. Its easier for me print and read. Thanks in advance.
-
Hey guys, I'm using TweenLite's ticker to provide my game with a loop I can use for updating the physics. To make my game framerate independent I need the delta time (DT). The docs suggest the callback receives event which I thought might include the DT, however the event is undefined. I can calculate the delta time myself however I was hoping it would be available. For now I can do this... var previous_time = 0, current_time, dt = 0; TweenLite.ticker.addEventListener("tick", function() { previous_time = current_time current_time = TweenLite.ticker.time dt = (current_time - previous_time) * 1000 game.tick(dt) });
-
Hi. I've been trying to replace the default way of loading video in my website by NetConnections and NetStreams with LoaderMax, and it works great, but I also want to use StageVideo if the user can run it. Could anyone write a quick tutorial on how to use LoaderMax just to load the data (becase now it also automatically creates a sprite and displays the video with the new Video(); class, which is CPU heavy), and attach it to my StageVideo object? I know that there is a myVideoLoader.netStream property, but when I attach it with myStageVideo.attachNetStream(myVideoLoader.netStream); it doesn't work. Thanks.