How to make "Symbol A" tell "Symbol B" to continue its (Symbol B's) Timeline?


#1

Hello,

I have 2 symbols… one for Navigation (Symbol A) and another Symbol for the Content (Symbol B)…

How can I tell Symbol A (on tap) to tell Symbol B to continue (Symbol B’s) timeline? When I try to do this, I only have the option of continuing the timeline of either the Main Timeline or Symbol A’s timeline?

Thanks


#2

you need custom behaviors (hype pro only). have a look at the documentation how to do this.

maybe this helps: custom behavior.zip (14.3 KB)


#3

Hi @Djon thanks so much. yes, Im using hype pro. i will try this out.


(Mark Hunte) #4

In addition to @Djon 's excellant answer which is the best way in most cases.
The Hype javascript API also allows for this.

var  symbolB = hypeDocument.getSymbolInstancesByName('SymbolB')[0]
symbolB.continueTimelineNamed('Main Timeline', hypeDocument.kDirectionForward, false) 

Continue_Symbol_Timeline_JS.hype.zip (17.1 KB)


#5

thank you!