Good example, I just wish people would create solutions that don't involve modifying the published output. It just leaves too much room for error for users inexperienced in modifying code.
Yes, I think that should work. Here's a sample from one of my web objects:
var storylinePlayer = parent.GetPlayer(); storylinePlayer.SetVar("text001",text001);
I use storylinePlayer instead of just "player" because that is already used in some of my projects. Is your code working? If not, can you post your project file here?
5 Replies
Nandhakumar, you will most likely need to use some Javascript code to get Storyline variables into and out of your web object.
Good example, I just wish people would create solutions that don't involve modifying the published output. It just leaves too much room for error for users inexperienced in modifying code.
Hi
How to set a storyline variable from a WebObjects?
var player = window.parent.GetPlayer();
player.SetVar("Storline_arible",Web_varible);
Yes, I think that should work. Here's a sample from one of my web objects:
I use storylinePlayer instead of just "player" because that is already used in some of my projects. Is your code working? If not, can you post your project file here?
Hi Michael Anderson,
I have much time trying, but not working my code.
below I'm posting my project can you check?
This discussion is closed. You can start a new discussion or contact Articulate Support.