Alright guys, first off I don’t really do much web coding, I mostly work on actual gameplay. However right now I have my WebPlayer.html embedded in an index.html via some sort of Saba magic.
On the index.html a js file (scofunctions.js) is included. I need to call a method from that js file via an external call. As you may have guessed I’ve come to the realization that that only works if the js method is declared in the WebPlayer.html.
index.html: http://paste.ofcode.org/NTLgthkT57i2gQ7wUkJQVh
WebPlayer.html: http://paste.ofcode.org/ZVEzGsPz6VitfLjJ9vLF4A
Also, that .js file needs to be a .js file and not embedded in an html script tag because other functionalities depend on that .js .
Any help is much appreciated : ]