Javascript running in Chrome Preview, but not in Hype Timeline


(Alex Miller) #1

Hi There!
New hype user here. I want to create a series of animated SVG lines.

To do this, I’ve created a hype rectangle and given it a div #myLine. In the custom html a I’ve imported jquery and LazyLinePainter into my project’s head, and created a timeline action which runs a custom function:

The function simply draws a line.

When I click preview the line renders when the keyframe runs in chrome… however i can’t preview the animation inside Hype. Is this normal? is there any way to preview inside hype?


(Hans-Gerd Claßen) #2

in short … no


(Jonathan Deutsch) #3

Timeline actions do not fire within Hype’s scene editor; you need to preview. Note that you can preview the current scene you are on by holding down the option key, which can sometimes speed up getting to the part you are working on.