classic12
(Steve Warby)
1
I am playing with a demo project Accordion v4c.hype downloaded from the forum.
In javascript I need to Strat a timeline:
hypeDocument.startTimelineNamed('CatA', 'forward');
I get the error
ERROR: timeline named 'CatA' not found
It does exist as I change the name from Cat A to CatA.
What am I missing here please.
h_classen
(Hans-Gerd Claßen)
2
direction would be
hypeDocument.kDirectionForward
hypeDocument.kDirectionReverse
classic12
(Steve Warby)
3
accordTest1.hype.zip (20.1 KB)
I have created a simple app with 2 buttons.
one to open the panel and one to close.
hypeDocument.startTimelineNamed('cat1', 'hypeDocument.kDirectionForward');
hypeDocument.continueTimelineNamed('cat1', 'hypeDocument.kDirectionReverse')
But the reverse does not work.
What am I doing wrong here please.
ktewes
(Kalle)
4
Don´t write hypeDocument.kDirectionForward and hypeDocument.kDirectionReverse in brackets...
2 Likes
h_classen
(Hans-Gerd Claßen)
5
directions are not a string, but resolve to 0,1 (false, true) ...
do you know the documentation of Hype¿ it's a good place to start learning
1 Like