Movie Explorer for Hype

I was wondering if this was one of the things the community could build. Wouldn't it just be a matter of using JavaScript to scan the elements in the project, then displaying them nicely?

Unfortunately...

...while there are unique class names for scenes and elements, the IDs are not really helpful. There's no reference to the human friendly names used in Hype.

First, scene names should be unique. I never really liked the idea that two or more scenes could have the same name.

Then, perhaps Hype could use Data Attributes for Scene and Element names. How to target element by data attribute using Javascript - Stack Overflow

One could be... data-hype-scene="Untitled Scene"... and another could be... data-hype-element="Text"

Data Attributes have been mentioned before...

...and before that...

...I was thinking that Data Attributes should be something that the developer/desiger adds when working on a Hype project. But, if Hype standardized the naming for Scenes and Elements... it could be another way to control the project – even generating a list of project elements.

1 Like