stage.playReverse doesn't work with symbols


i'm creating website 1 of these large scroll page animations appearing while scrolling. there 5 edge animate composition on page , scroll stuff working. each composition has 50 100 layers.

 

the first attempt use stage "stop" method define animation time on scroll event. worked nicely on tests when colleague gave me final compositions there ~10 symbols (each justified). simple stage.stop(time) method symbols not playing added this:
https://gist.github.com/idflood/1d3400c8e732d1df497d

 

this script loops each symbols, , call stop method on them needed. works, showed 1 problem; the stop method slow.

with chrome i've found stop method caused frames calculated in ~230ms , play method below ~32ms (most less 16ms).

 

so i'm investigating way use play method. scrolling down it's simple calling stage.play(), scroll it's more problematic. stage.playreverse method doesn't update symbols. try listening stage update event, find if stage playing in reverse, see if symbol should start , call playreverse on symbol when appropriate.

 

 

 

if has better idea let me know. maybe there can make stop method more performant, or add in edge make symbols automatically playreverse when needed.

here workaround i've used. it's not perfect works use case.

 

the script automatically call playreverse on each symbols when needed:

https://gist.github.com/idflood/c6af09e05eaedd3e3dc5



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?