Triggered Javascript not firing in one project

Jun 08, 2012

Hello, I imported a Presenter project into storyline. I added a button that triggered Javascript that worked for a while, but now it doesn't. Push the button nothing happens at all, even if the JS is one line of code, like "alert".

If I create a new project, a button triggering the same JS code works. Now, it even gets odder, if I cut and paste a scene from the old project to the new project, the button trigger stops working.

Any ideas how to fix this would be appreciated. Is there some project cache somewhere I can clear, etc? Thanks!

1 Reply
Brian Batt

HI C Jones & welcome to Heroes,

Can you try the following?

1.  Delete the trigger that contains the JavaScript

2.  Publish your file to the Web (don't preview it, actually publish it out)

3.  When it's done publishing, save the file & close SL

4.  Reopen your file & update it as needed

5.  Publish it

My guess is that your browser is actually caching the JavaScript from the file.  You might look into that side of it if you continue to have problems.

This discussion is closed. You can start a new discussion or contact Articulate Support.