Jump to content
Search Community

Search the Community

Showing results for tags 'appendmultiple'.

  • 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
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 2 results

  1. Are TweenAlign and appendMultiple still supported in the latest GSAP? I came across this Javascript code snippet in a colleague's hand-coded HTML banner ad: window.TweenAlign = { NORMAL: "normal", SEQUENCE: "sequence", START: "start" }; var counter = 0; /* begin animation */ tl.appendMultiple([ TweenLite.to(steering, 1, {rotation:-20, ease: Sine.easeInOut}), TweenLite.to(steering, 1, {rotation:20, ease: Sine.easeInOut}), TweenLite.to(steering, 1, {rotation:0, ease: Sine.easeInOut}), ], 2, TweenAlign.START, 1); The ad works fine and he's using a Google CDN to load GSAP version 1.20. I assume this code is a holdover from the ActionScript days? I've been using GSAP for years, but haven't come across this before and it doesn't exit in the Docs as far as I can tell. Has tl.appendMultiple been replaced by tl.add and has TweenAlign has been replaced by the TimelineLite position parameter? The ad still works properly, but I want to make sure that my team is not using old code.
  2. Have tried to accomplish this many times but never succeeded and always too hurried to figure it out. Maybe someone can help. Basically, append multiple where one of the "multiples" was an array and the other was not (or even another array?) So something like this. The code below doesn't throw any errors, but it also doesn't do anything... timeline1.appendMultiple([new TweenMax([mc1, mc2, mc3, mc4], 1, {x:-100}), new TweenMax(mc5, 1, {alpha:1})]); SO basically while mc1 - mc4 are moving left, I want mc5 to fade in. Like having a TweenMax.allTo inside an appendMultiple. And if this is very doable and I just missed it somewhere, just blame it on th source code burned into my retinas... THANKS!
×
×
  • Create New...