I've never called those libraries from within SL, nor would I. Inside SL, you have the ability to write your own (or paste) code to use the functions of the libraries.
When I want to use any external libraries in SL, I will call the js file(s) by inserting the tag in the header of the output story.html file, or in the header of the template player.html file.
i.e.
If I need to create external vars for SL to communicate, they too will go into the output story.html, or template player.html file.
i.e.var loadsomthing = function () {...
After that I would enter my script in teh SL Javascript dialogue to complete the js / SL integration. This is the js that you will see in the ser.js file.
4 Replies
Hi Maureen:
I've never called those libraries from within SL, nor would I. Inside SL, you have the ability to write your own (or paste) code to use the functions of the libraries.
When I want to use any external libraries in SL, I will call the js file(s) by inserting the tag in the header of the output story.html file, or in the header of the template player.html file.
i.e.
If I need to create external vars for SL to communicate, they too will go into the output story.html, or template player.html file.
i.e.var loadsomthing = function () {...
After that I would enter my script in teh SL Javascript dialogue to complete the js / SL integration. This is the js that you will see in the ser.js file.
Hope this helps,
Best Regards,
Dennis Hall
Hi Maureen! Looks like Dennis is addressing your question here, but I wanted to pop in and welcome you to E-Learning Heroes
Thanks Dennis - and Leslie,
I appreciate the tip about the JS. I will give it a try!
Thanks so much,
Maureen
Glad Dennis was able to help you out here Maureen, just let us know if you need anything further and thanks for the update.
This discussion is closed. You can start a new discussion or contact Articulate Support.