Jump to content
GreenSock

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

Search the Community

Showing results for tags 'multiple tweenmax'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. TommyD

    Multiple TweenMax

    Hi, I'm developing a Wordpress plugin which make use of your great library. As you can imagine other developers do the same and this could generate conflicts using multiple installations of TweenMax. I've followed what you suggested here: http://greensock.com/forums/topic/9881-avoid-multiple-loaded-tweenmax-and-tweenlite/ But I keep having problems. There's another plugin which includes TweenMax in this way: var oldgs = window.GreenSockGlobals; var oldgs_queue = window._gsQueue; var my_gs = window.GreenSockGlobals = {}; // your library here.. try{ window.GreenSockGobals = null; window._gsQueue = null; delete(window.GreenSockGlobals); delete(window._gsQueue); } catch(e) {} try{ window.GreenSockGlobals = oldgs; window._gsQueue = oldgs_queue; } catch(e) {} This code is executed before mine. I've tried to do the same without luck. Here is my code: var another_gs = window.GreenSockGlobals = {}; // your library here window.GreenSockGobals = window._gsQueue = null; I get this error: Uncaught TypeError: Cannot read property 'greensock' of undefined And when I try to use it in this way another_gs.TweenMax.to(.. another_gs is undefined. Could you please help me solving this issue? Many Thanks Thomas
×