Hi!
I’m working with Hype 3.5 Pro and I want to embed an HTML animation (made with Hype) in a Magplus Designd project.
Everything works fine between Hype & Magplus, but I want to make some ‘changes’.
I have an animation in Main Timeline (always autoplay) and It’s fine for me, but I want that the HTML start when the HTML is displayed on screen, I mean: “on View”.
How can I fix this? I’m trying to implement the onViewEnteredInside() function but it’s not working… I don’t know what I’m doing wrong, but it doesn’t work. I don’t know if the function isn’t working anymore or if I’m doing something wrong in Hype document…
Could you please attach some “super simple” hype project (with the function, all right…) so I can confirm I’m doing well with my project?
I’m not familiar with Magplus but here’s something that might be helpful… Instead of putting your main animation in the Main Timeline, you can put it in a new timeline and have that timeline play when an element enters the viewport. This is done with the “On Enter Viewport” action, found in the Actions Inspector:
That element could be an invisible element on the main scene, or an element that’s outside the scene boundaries and therefore not seen.