The title kind of says it all, we found some code showing how to do it in Storyline 1, but it doesn't work in Storyline 2. We couldn't find anything about Storyline 2 specifically, any ideas?
On a basic level, we want to be able to have a button in flash change the variable in Storyline which would trigger an action.
Updating or working with the code is not something we'll be able to offer assistance for, so I'll defer to the communitys expertise. In the meantime, you may want to begin by reviewing the Javascript elements here.
Thanks for that update and glad you got it working! You'll always want to take a look at elements like Javascript and web objects in publish vs. preview as certain things may not work as expected. You can review here other elements of previewing that may not be accessible.
4 Replies
Hi Jake,
Updating or working with the code is not something we'll be able to offer assistance for, so I'll defer to the communitys expertise. In the meantime, you may want to begin by reviewing the Javascript elements here.
Hi Jake,
A few years ago, James Kingsley wrote a blog article describing how to do this:
https://elearningenhanced.com/blog/2012/05/24/setget-articulate-storyline-variables-within-your-as3-flash-file
The code I developed based on James' article still works for me in Storyline 2 even though I originally wrote it using Storyline 1.
Thanks, we have it working now.
The code we were using was correct, but apparently it only works correctly when published and not in preview!
So for anyone else trying things like this, make sure you do a full publish to test it.
Thanks
Jake
Hi Jake,
Thanks for that update and glad you got it working! You'll always want to take a look at elements like Javascript and web objects in publish vs. preview as certain things may not work as expected. You can review here other elements of previewing that may not be accessible.
This discussion is closed. You can start a new discussion or contact Articulate Support.