Jump to content
Search Community

multivac

Business
  • Posts

    36
  • Joined

  • Last visited

Everything posted by multivac

  1. Great thank you OSUblake ! Maybe you can help me with this one ( I don't want to flood the forum with my newbie questions ) : I need to extract duration from timelines that I don't know if they were scaled or not. Is there a quick way to get the "real duration" ? Or should I always do : var realDuration = timeline.duration() * timeline.timeScale();
  2. How would you validate that an object is a timeline ? typeof timeline // returns "object" timeline.constructor.name // returns "d"
  3. Yes, what you suggest is totally possible. But my goal here is to decouple the timeline's logic from the logic that needs to observe it: https://en.wikipedia.org/wiki/Observer_pattern Or is there a "onSomethingAdded" event ?
  4. I just saw the following, I guess it's not possible.
  5. What method would you use to detect changes in the timeline duration ?
  6. @Sahil Wow. Nice. I didn't thought about this one !
  7. I know this is a very simple question ... with multiple solutions. I'm just curious to see what would be your best solution. My requirement states that the timeline duration must be at least 30 seconds. My actual animation lasts 27 seconds. I would like to "fill" the timeline with absolutely nothing happening for the last 3 seconds, without changing the time scale. The timeline doesn't repeat and the initial timeline duration is unknown. What would you do ?
  8. multivac

    Valid Labels

    Thank you Jonathan for the precious tips. Thank you Carl, that's exactly what I was looking for.
  9. multivac

    Valid Labels

    Is there a callback function triggered if trying to reach a label that doesn't exist ? Or maybe a way to get a list of valid labels ? This feature would have save me a lot of debugging time. Thank you
  10. Doubleclick 1.19.0 CDN: http://s0.2mdn.net/ads/studio/cached_libs/timelinemax_1.19.0_4cba7b163d6263b39d53727ed4c7bb6f_min.js Points to VERSION: 1.18.6 Is this normal ?
  11. Note that using : "rgba( 0, 0, 255, 0.2 )" instead of "rgba(0, 0, 255, 0.2)" Will not work.
×
×
  • Create New...