Jump to content
GreenSock

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

pMedia

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

1 Newbie

About pMedia

  • Rank
    Newbie

Recent Profile Visitors

1,196 profile views
  1. Thanks Shaun for the reply! Here is my version with slight changes from yours. https://codepen.io/GTStan/pen/zYYrRVd?editors=1111 As you can see in the console, there are two "Callback test". I found the problem, it is is line 14. It is solved with tl.pause(); without the "label1". Thanks, Stanley
  2. Hi, I just noticed a problem with the timeline's pause/resume functions with addCallback at the same location. For example, at "Label1" add a callback and pause at the same location. When the playhead stop at "Label1", the callback gets executed. The problem is when resume() is called to resume the playing, the same callback at "Label1" gets executed again. Is there a way to call resume without executing callback at the resume location? Thanks!
  3. Hi Jack, I just tested it on Windows Chrome, IE, and Edge, all have the same problem. Windows Firefox is okay. Stanley
  4. Hi, In Firefox, the Draggable hitTest() works for DOM elements but not SVG elements. Thanks, Stanley
  5. Is there a way to limit the scope of TweenMax.pauseAll() and TweenMax.resumeAll() to each loaded swf. I have a player main swf that loads and plays other sub swfs. Each sub swf uses pauseAll and resumeAll to control a bunch of TweenLite/TweenMax and TimelineMax tweens. The pauseAll/resumeAll work well and work as expected when the sub swfs play as stand alone. When they are loaded into the player and play within the player, the pauseAll/resumeAll functions would pause/resume all tweens in all loaded sub swfs at the same time. That's because pauseAll/resumeAll are static functions, that's why each call of these functions will globally apply to all loaded sub swfs. Is there a way to limit the affect of pauseAll/resumeAll to each local sub swf only? Thanks in advance for your help!
×