Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
payne199

Other plugins not working when MotionPathPlugin used

Recommended Posts

I have been working on a project that involves a timeline that simply goes from one scene to another (one function to another) using onComplete. In a couple scenes I am successfully using the DrawSVG and Text plugins. 

Recently I have gotten involved in MotionPath and have successfully put together a scene using it. However, when I include the MotionPath scene in my main project, those other scenes that involve DrawSVG and TextPlug do not render properly. I get the following errors

7BdpGe8d7uVHSXcBvVZ6KWN3lhvctDD5cyr3l-bRCr60lANOjrABoEvqzAnVjDf8GxVc5xIS0fOTHhGodfkeA5XTYYm6HSyq5kDSzpS23KpeSRsqR48luIHyp8TLrB-XfWsCl4LE

WRZvrXn9UxVS6VN4x0oQxqtP9wo_1RZHqBLxDqXdnQYQP84WbKSZBKdV60fW6csjmkwipBnhRMm1e8L0lMo75qEmMLnIFA31LochHD1bp6rDx-xqkerPOS4Z4tqT407bg6dvXpPs

 

Could anyone explain to me why these plugins suddenly appear to be missing when all I have done is add the MotionPath plugin?

 

I am including the MotionPath plugin like so:

7ExuUBVgzbvld3OR2YJeCq-7Be6E95gApRpQpqwi3nrd8aI86fy1OZFaLitznYAatLfqU81-kJMFprNqgQ9nIrstjBkaoYvVpUXoHICvLM0hFO8F54olRZtA4LAYLjnjrqdQrCdZ

 

And have been successfully using the TextPlugin:

HeUGcJ8jpCIyWECFt_x_uQ7MK0N09A7Vvrx-W99tGw1oVTDDCKBR8Q3wA_VD6d9nhYqt-FlofLyHLrTZH-N6OG9A384_RqSLImcXbeqE7TA-bJ3pNcRff4600xccdv0J7qq6x8io

 

And DrawSVG, locally

pYAChk2Z_r72fw9VsWrLLqRi5aJvQqwN_BMeq4SgtCiOMF9e63MeJqXtRtLfGiFooQJVNi2Lv4PsvIB-tNx6Hv7W2HoTt1_IPamtE1tcieDbmI5B3RLCcTtkxsNR-_iPS66n5ce1

 

Share this post


Link to post
Share on other sites

Make sure you're using v3 plugins. You're text plugin is v2. I can't tell what version drawSVG you're using from those images.

 

Also, it's a good idea to register your plugins.

gsap.registerPlugin(MotionPathPlugin, TextPlugin, DrawSVGPlugin);

 

  • Like 4

Share this post


Link to post
Share on other sites

That'll do it! Thanks OSUblake.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×