Forum Discussion
ZsoltOlah
10 years agoSuper Hero
Changing state directly from JavaScript?
Hello Heroes!
Maybe someone out there can help me out! I've been playing with JavaScript and Storyline, you can see an example here: http://bit.ly/1IjNEKs.
But, what I can't figure out is how t...
MathNotermans-9
5 years agoCommunity Member
In fact if you keep a close eye on your browser inspector when changing state on a SL-button you will see that the SVG gets edited. So in principle you should be able to call that change with Javascript. I already tried to access it with Gsap, managed to change basic shapes in Storyline with that...but didnot figure out ( yet ) why i cant call a state-change in the SVG...